/**
 * WG Breadcrumbs — Frontend CSS Baseline
 *
 * Optional (Opt-in im Admin). Sinn: minimales, neutrales Grund-Styling
 * das in nahezu jedem Theme funktioniert und leicht \u00fcbersteuerbar ist.
 * KEIN aggressives Layout, keine Fonts, keine Farben-Overrides —
 * Theme-Farben und -Typo bleiben f\u00fchrend.
 *
 * @package WG_SEO_GEO
 * @since   1.6.0-rc1
 */

.wg-breadcrumbs {
	display: block;
	margin: 0 0 1em 0;
	padding: 0;
	font-size: 0.875em;
	line-height: 1.5;
}

.wg-breadcrumbs ol,
.wg-breadcrumbs ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0;
}

.wg-breadcrumbs li {
	display: inline;
	margin: 0;
	padding: 0;
}

.wg-breadcrumbs a {
	text-decoration: none;
	color: inherit;
	opacity: 0.85;
	transition: opacity 0.15s ease-in-out;
}

.wg-breadcrumbs a:hover,
.wg-breadcrumbs a:focus {
	opacity: 1;
	text-decoration: underline;
}

.wg-breadcrumbs .wg-breadcrumb-current,
.wg-breadcrumbs [aria-current="page"] {
	font-weight: 600;
	opacity: 1;
}

.wg-breadcrumbs .wg-breadcrumb-separator {
	display: inline-block;
	margin: 0 0.35em;
	color: currentColor;
	opacity: 0.5;
	user-select: none;
}

.wg-breadcrumbs .wg-breadcrumb-prefix {
	margin-right: 0.5em;
	opacity: 0.7;
}

/* FSE-freundlich: nutze theme.json-Tokens wenn verf\u00fcgbar */
@supports (color: var(--wp--preset--color--foreground)) {
	.wg-breadcrumbs a {
		color: var(--wp--preset--color--foreground, inherit);
	}
}

/* Kompakt auf Mobile */
@media (max-width: 480px) {
	.wg-breadcrumbs {
		font-size: 0.8125em;
	}

	.wg-breadcrumbs .wg-breadcrumb-separator {
		margin: 0 0.25em;
	}
}
