.breadcrumbs {
	display: none;
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.4;
	color: #5e6a7a;
	margin: 12px 0 16px;
}

.breadcrumbs.is-visible {
	display: block;
}

.breadcrumbs nav {
	display: block;
}

.breadcrumbs ol {
	list-style: none;
	margin: 0;
	padding: 10px 14px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	background: #0e3a66;
	border: 0;
	border-radius: var(--theme-rounded-section);
}

.breadcrumbs li {
	display: inline-flex;
	align-items: center;
	max-width: 240px;
}

.breadcrumbs a,
.breadcrumbs li>span[itemprop="name"] {
	color: #ffffff;
	text-decoration: none;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.breadcrumbs a:hover {
	text-decoration: underline;
}

.breadcrumbs .sep {
	color: #f12c4c;
	margin: 0 4px;
}

/* chevron separator */
.breadcrumbs .sep.chevron {
	position: relative;
	width: 6px;
	margin: 0 6px;
}

.breadcrumbs .sep.chevron::before {
	content: '';
	display: inline-block;
	width: 6px;
	height: 6px;
	border-right: 1.8px solid #f12c4c;
	border-top: 1.8px solid #f12c4c;
	transform: rotate(45deg);
	margin: 0 2px;
}

/* highlight last crumb */
.breadcrumbs li:last-of-type>span[itemprop="name"] {
	color: #f12c4c;
	font-weight: 600;
}

.breadcrumbs-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 16px;
}

.section-tabs {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	border-bottom: 1px solid #e5e7eb;
	overflow: hidden;
}

.section-tabs__list {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	-ms-overflow-style: none;
	white-space: nowrap;
	scroll-behavior: smooth;
}

.section-tabs__list::-webkit-scrollbar {
	display: none;
}

.section-tabs__item {
	flex-shrink: 0;
	margin: 0;
}

.section-tabs__item--sub {
	margin-left: 20px;
}

.section-tabs__link {
	display: block;
	padding: 12px 16px;
	color: #374151;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
	transition: all 0.2s ease;
	border-bottom: 2px solid transparent;
}

.section-tabs__link:hover {
	color: #1f2937;
	background-color: #f9fafb;
}

.section-tabs__link:active {
	background-color: #f3f4f6;
}

.section-tabs__link.active {
	color: #1f59e6;
	border-bottom-color: #1f59e6;
	background-color: #eff6ff;
}

.section-tabs::before,
.section-tabs::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: 40px;
	pointer-events: none;
	z-index: 1;
}

.section-tabs::before {
	left: 0;
	background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.section-tabs::after {
	right: 0;
	background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

@media (prefers-color-scheme: dark) {
	.breadcrumbs {
		color: #aab4c0;
	}

	.breadcrumbs ol {
		background: var(--theme-section-bg);
	}

	.breadcrumbs a,
	.breadcrumbs li>span[itemprop="name"] {
		color: #ffffff;
	}

	.breadcrumbs .sep {
		color: #f12c4c;
	}

	.breadcrumbs .sep.chevron::before {
		border-color: #ffd34d;
	}

	.section-tabs {
		background: #1f2937;
		border-bottom-color: #374151;
	}

	.section-tabs__link {
		color: #d1d5db;
	}

	.section-tabs__link:hover {
		color: #f9fafb;
		background-color: #374151;
	}

	.section-tabs__link:active {
		background-color: #4b5563;
	}

	.section-tabs__link.active {
		color: #60a5fa;
		border-bottom-color: #60a5fa;
		background-color: #1e3a8a;
	}

	.section-tabs::before {
		background: linear-gradient(to right, rgba(31, 41, 55, 1) 0%, rgba(31, 41, 55, 0) 100%);
	}

	.section-tabs::after {
		background: linear-gradient(to left, rgba(31, 41, 55, 1) 0%, rgba(31, 41, 55, 0) 100%);
	}
}