/**
 * AGD Style Kit — remove the breadcrumb trail.
 *
 * Its own file, and deliberately not scoped under .agd-sk.
 *
 * Every other visual rule in this plugin is scoped to that body class, which is
 * only present when the restyle is being shown — during preview that means
 * staff only. The breadcrumb trail was asked for as a removal rather than as a
 * look to try out, so hiding it from the owner while leaving it on the public
 * site would be exactly backwards.
 *
 * WHY THIS COSTS NOTHING IN SEARCH
 *
 * Checked on the live site rather than assumed. The theme's trail is plain
 * markup with no structured data on it at all:
 *
 *     <nav class="breadcrumbs" aria-label="Breadcrumb">
 *       <div class="container"><ol>
 *         <li><a href="https://albanygarages.co.nz/">Home</a></li>
 *         <li aria-current="page">Contact Us</li>
 *       </ol></div>
 *     </nav>
 *
 * No itemscope, no itemprop, no itemtype. Meanwhile the page carries three
 * JSON-LD blocks and one of them is a complete BreadcrumbList. That JSON-LD is
 * what Google reads for breadcrumb rich results — the visible trail is a
 * navigation convenience for humans and nothing more. Removing it therefore
 * removes a visual element and no search signal whatsoever.
 *
 * If the theme is ever changed to put microdata on this markup, this file has
 * to be revisited, because hiding marked-up breadcrumbs would then be hiding
 * structured data from users while showing it to crawlers.
 *
 * WHY display:none RATHER THAN A TEMPLATE EDIT
 *
 * The trail can come back by switching one checkbox off, nothing in the theme
 * is touched, and a theme update cannot undo it. The markup does stay in the
 * HTML — a few dozen bytes, and a screen reader will skip it because a
 * display:none element is removed from the accessibility tree along with
 * everything else.
 */

.breadcrumbs,
.breadcrumb,
.breadcrumbs-wrap,
.woocommerce-breadcrumb,
.yoast-breadcrumb,
.rank-math-breadcrumb,
.elementor-widget-breadcrumbs,
nav[aria-label="Breadcrumb" i],
nav[aria-label="Breadcrumbs" i] {
	display: none !important;
}

/* The trail sat in a strip of its own between the header and the hero, with
   padding above and below. With the trail gone that strip would otherwise
   survive as an unexplained band of background colour. */
.site-content > .breadcrumbs + *,
.breadcrumbs + * {
	margin-top: 0;
}
