@charset "UTF-8";
/**
 * GenieBuilder — Breadcrumbs (GB_Breadcrumbs), for the Breadcrumbs element
 * and the [mlsg_breadcrumbs] shortcode.
 *
 * Every colour starts on currentColor, the text colour around the trail, so
 * it reads on a dark band or a white page with nothing set; the element's
 * style controls override each part.
 */

.mlsg-gb-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: var(--mlsg-gb-crumbs-justify, flex-start);
	gap: var(--mlsg-gb-space-xs, 0.25rem) var(--mlsg-gb-crumbs-back-gap, 1.5rem);
	font-size: 0.9375rem;
	line-height: 1.5;
	color: inherit;
}

.mlsg-gb-breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--mlsg-gb-space-xs, 0.25rem) var(--mlsg-gb-crumbs-gap, 0.75rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.mlsg-gb-breadcrumbs__item {
	display: inline-flex;
	align-items: center;
	gap: var(--mlsg-gb-crumbs-gap, 0.75rem);
	margin: 0;
	padding: 0;
}

/* Themes number or bullet list items, or draw their own separators. */
.mlsg-gb-breadcrumbs .mlsg-gb-breadcrumbs__item::before,
.mlsg-gb-breadcrumbs .mlsg-gb-breadcrumbs__item::after {
	content: none;
}

.mlsg-gb-breadcrumbs__sep {
	display: inline-flex;
	align-items: center;
	font-size: var(--mlsg-gb-crumbs-sep-size, 0.75em);
	color: var(--mlsg-gb-crumbs-sep-color, currentColor);
	opacity: 0.7;
}

/* Links keep the trail's colour: themes and the Elementor kit colour every
   link on the page, so these are scoped under the breadcrumbs. Each link is
   at least 24px tall, a comfortable target. */
.mlsg-gb-breadcrumbs a.mlsg-gb-breadcrumbs__link,
.mlsg-gb-breadcrumbs a.mlsg-gb-breadcrumbs__back {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	min-height: 1.5rem;
	color: inherit;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.mlsg-gb-breadcrumbs a.mlsg-gb-breadcrumbs__link:hover,
.mlsg-gb-breadcrumbs a.mlsg-gb-breadcrumbs__back:hover {
	text-decoration: underline;
}

.mlsg-gb-breadcrumbs a.mlsg-gb-breadcrumbs__link:focus-visible,
.mlsg-gb-breadcrumbs a.mlsg-gb-breadcrumbs__back:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
	border-radius: 2px;
}

.mlsg-gb-breadcrumbs__text,
.mlsg-gb-breadcrumbs__current {
	display: inline-flex;
	align-items: center;
	min-height: 1.5rem;
	color: inherit;
}

.mlsg-gb-breadcrumbs__back[hidden] {
	display: none;
}

.mlsg-gb-breadcrumbs__back-icon,
.mlsg-gb-breadcrumbs__home-icon {
	font-size: var(--mlsg-gb-crumbs-icon-size, 0.875em);
}

/* Icons carry only what the element sets. Broad theme or site rules such as
   "nav li a i { background: white; padding: … }" would otherwise box them;
   this is more specific, and the element's own Home Icon controls are more
   specific again. */
.mlsg-gb-breadcrumbs i {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
}

.mlsg-gb-breadcrumbs .mlsg-gb-breadcrumbs__home-icon {
	line-height: 1;
	transition: color 0.15s ease, background-color 0.15s ease;
}

/* Read out, not shown: Home's name beside its icon alone, and the whole
   name of a shortened page. */
.mlsg-gb-breadcrumbs .mlsg-gb-breadcrumbs__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* Back to Search at the far end of the row instead of the start. */
.mlsg-gb-breadcrumbs--back-end .mlsg-gb-breadcrumbs__back {
	order: 2;
	margin-inline-start: auto;
}

/* "…" stands in for the middle steps on phones only. */
.mlsg-gb-breadcrumbs__item--more {
	display: none;
}

@media (max-width: 767px) {
	.mlsg-gb-breadcrumbs--collapse .mlsg-gb-breadcrumbs__item--more {
		display: inline-flex;
	}

	/* Out of sight, still in the trail for screen readers. */
	.mlsg-gb-breadcrumbs--collapse .mlsg-gb-breadcrumbs__item--middle {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		padding: 0;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
		border: 0;
	}
}

/* In the editor, on a page with no trail of its own. */
.mlsg-gb-breadcrumbs__empty {
	padding: 0.75rem 1rem;
	border: 1px dashed currentColor;
	border-radius: 6px;
	font-size: 0.9375rem;
	opacity: 0.75;
}

@media (prefers-reduced-motion: reduce) {
	.mlsg-gb-breadcrumbs a.mlsg-gb-breadcrumbs__link,
	.mlsg-gb-breadcrumbs a.mlsg-gb-breadcrumbs__back,
	.mlsg-gb-breadcrumbs .mlsg-gb-breadcrumbs__home-icon {
		transition: none;
	}
}
