:root {
	--bestogel-white: #ffffff;
	--bestogel-paper: #f8f5f0;
	--bestogel-paper-deep: #f0eae1;
	--bestogel-ink: #111218;
	--bestogel-ink-soft: #292b32;
	--bestogel-muted: #666a73;
	--bestogel-red: #a20d1d;
	--bestogel-red-dark: #720713;
	--bestogel-gold: #b88918;
	--bestogel-gold-light: #f5e8bf;
	--bestogel-line: #e5ded3;
	--bestogel-line-strong: #cfc4b3;
	--bestogel-radius-sm: 10px;
	--bestogel-radius-md: 18px;
	--bestogel-radius-lg: 28px;
	--bestogel-shadow-sm: 0 8px 24px rgba(17, 18, 24, 0.07);
	--bestogel-shadow: 0 22px 70px rgba(17, 18, 24, 0.11);
	--bestogel-header-height: 76px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	max-width: 100%;
	overflow-x: hidden;
	overflow-x: clip;
	scroll-behavior: smooth;
}

body {
	max-width: 100%;
	overflow-x: hidden;
	overflow-x: clip;
	background: var(--bestogel-white);
	color: var(--bestogel-ink-soft);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	text-underline-offset: 0.2em;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 3px solid var(--bestogel-white);
	outline-offset: 2px;
	box-shadow: 0 0 0 6px var(--bestogel-red-dark) !important;
}

::selection {
	background: var(--bestogel-red);
	color: var(--bestogel-white);
}

.wp-site-blocks {
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
	overflow-x: clip;
	padding: 0;
}

.wp-site-blocks > * {
	margin-block-start: 0;
}

.bestogel-site-main {
	overflow: clip;
}

.bestogel-section,
.bestogel-page-section,
.bestogel-article-body {
	padding-block: clamp(3.75rem, 7vw, 7.25rem);
}

.bestogel-section--compact {
	padding-block: clamp(2rem, 4vw, 3.5rem);
}

.bestogel-section--surface {
	background: var(--bestogel-paper);
	border-block: 1px solid var(--bestogel-line);
}

[id] {
	scroll-margin-top: calc(var(--bestogel-header-height) + 28px);
}

.bestogel-display,
.bestogel-display a {
	color: var(--bestogel-ink);
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-weight: 850;
	letter-spacing: -0.055em;
	line-height: 0.98;
}

.bestogel-lead {
	max-width: 720px;
	color: var(--bestogel-muted);
	font-size: clamp(1.05rem, 1.6vw, 1.3rem);
	line-height: 1.7;
}

.bestogel-overline,
.bestogel-section-number,
.bestogel-card-kicker {
	color: var(--bestogel-red);
	font-size: 0.76rem;
	font-weight: 850;
	letter-spacing: 0.16em;
	line-height: 1.35;
	text-transform: uppercase;
}

.bestogel-section-number {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
}

.bestogel-section-number::before {
	width: 34px;
	height: 2px;
	background: linear-gradient(90deg, var(--bestogel-red), var(--bestogel-gold));
	content: "";
}

/* Header */
.bestogel-skip-link {
	position: fixed;
	z-index: 1000;
	top: -100px;
	left: 1rem;
	padding: 0.8rem 1rem;
	background: var(--bestogel-ink);
	border-radius: 0 0 10px 10px;
	color: var(--bestogel-white);
	font-size: 0.85rem;
	font-weight: 800;
}

.bestogel-skip-link:focus {
	top: 0;
	color: var(--bestogel-white);
}

.admin-bar .bestogel-skip-link:focus {
	top: 32px;
}

.bestogel-header-shell {
	position: sticky;
	z-index: 100;
	top: 0;
	min-height: var(--bestogel-header-height);
	background: rgba(255, 255, 255, 0.94);
	border-bottom: 1px solid var(--bestogel-line);
	box-shadow: 0 8px 28px rgba(17, 18, 24, 0.05);
	backdrop-filter: blur(18px);
}

.admin-bar .bestogel-header-shell {
	top: 32px;
}

.bestogel-header-shell::after {
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent 3%, var(--bestogel-red) 34%, var(--bestogel-gold) 68%, transparent 97%);
	content: "";
	opacity: 0.7;
}

.bestogel-header-inner {
	min-height: var(--bestogel-header-height);
	gap: clamp(0.85rem, 2vw, 1.6rem);
	padding-block: 0.65rem;
}

.bestogel-header-inner > .wp-block-shortcode {
	flex: 0 0 auto;
	margin: 0;
	line-height: 0;
}

.bestogel-brand-lockup {
	flex: 0 0 auto;
	gap: 0.72rem;
}

.bestogel-long-logo {
	display: block;
	flex: 0 0 auto;
	width: clamp(168px, 15vw, 212px);
	line-height: 0;
}

.bestogel-long-logo img {
	display: block;
	width: 100%;
	height: 52px;
	max-height: 52px;
	object-fit: contain;
	object-position: left center;
}

.bestogel-brand-mark {
	display: grid;
	width: 42px;
	height: 42px;
	margin: 0;
	place-items: center;
	background: var(--bestogel-ink);
	border: 2px solid var(--bestogel-gold);
	border-radius: 12px;
	box-shadow: inset 0 0 0 3px rgba(162, 13, 29, 0.5);
	color: var(--bestogel-white);
	font-size: 1.25rem;
	font-weight: 900;
	line-height: 1;
}

.bestogel-header-shell .wp-block-site-title {
	margin: 0;
	font-size: clamp(1.05rem, 1.6vw, 1.35rem);
	font-weight: 900;
	letter-spacing: 0.11em;
	line-height: 1;
	text-transform: uppercase;
}

.bestogel-header-shell .wp-block-site-title a {
	color: var(--bestogel-ink);
}

.bestogel-primary-nav {
	flex: 1 1 auto;
	justify-content: center;
}

.bestogel-primary-nav .wp-block-navigation__container {
	gap: clamp(0.55rem, 1vw, 0.95rem);
}

.bestogel-mobile-access {
	display: none !important;
}

.bestogel-header-shell .wp-block-navigation-item__content {
	position: relative;
	padding-block: 0.75rem;
	color: var(--bestogel-ink-soft);
	font-size: 0.7rem;
	font-weight: 780;
	letter-spacing: 0.055em;
	white-space: nowrap;
}

.bestogel-header-shell .wp-block-navigation-item__content::after {
	position: absolute;
	right: 0;
	bottom: 0.35rem;
	left: 0;
	height: 2px;
	background: var(--bestogel-red);
	content: "";
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 180ms ease;
}

.bestogel-header-shell .wp-block-navigation-item__content:hover::after,
.bestogel-header-shell .current-menu-item > .wp-block-navigation-item__content::after {
	transform: scaleX(1);
	transform-origin: left;
}

.bestogel-header-actions {
	flex: 0 0 auto;
	gap: 0.55rem;
}

.bestogel-header-actions .wp-block-button__link {
	min-height: 42px;
	padding: 0.7rem 0.9rem;
	font-size: 0.64rem;
	letter-spacing: 0.045em;
}

.wp-block-button__link,
.wp-element-button {
	min-height: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--bestogel-red);
	border: 1px solid var(--bestogel-red);
	border-radius: 999px;
	box-shadow: 0 10px 24px rgba(162, 13, 29, 0.17);
	color: var(--bestogel-white);
	font-size: 0.78rem;
	font-weight: 850;
	letter-spacing: 0.07em;
	line-height: 1.2;
	text-transform: uppercase;
	transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.wp-block-button__link:hover,
.wp-element-button:hover {
	background: var(--bestogel-red-dark);
	border-color: var(--bestogel-red-dark);
	box-shadow: 0 14px 30px rgba(114, 7, 19, 0.2);
	color: var(--bestogel-white);
	transform: translateY(-1px);
}

.is-style-outline > .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link,
.is-style-bestogel-outline > .wp-block-button__link,
.wp-block-button.is-style-bestogel-outline .wp-block-button__link {
	background: transparent;
	border-color: var(--bestogel-ink);
	box-shadow: none;
	color: var(--bestogel-ink);
}

.is-style-outline > .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover,
.is-style-bestogel-outline > .wp-block-button__link:hover,
.wp-block-button.is-style-bestogel-outline .wp-block-button__link:hover {
	background: var(--bestogel-ink);
	border-color: var(--bestogel-ink);
	color: var(--bestogel-white);
}

/* Homepage campaign */
.bestogel-hero {
	position: relative;
	padding: clamp(1.25rem, 3.3vw, 3.25rem) var(--wp--style--root--padding-right) clamp(3.8rem, 7vw, 7rem);
	background: linear-gradient(135deg, rgba(162, 13, 29, 0.045), transparent 36%), var(--bestogel-white);
	border-bottom: 1px solid var(--bestogel-line);
}

.bestogel-hero::before {
	position: absolute;
	top: 10%;
	left: -120px;
	width: 240px;
	height: 240px;
	background: radial-gradient(circle, rgba(184, 137, 24, 0.12), transparent 68%);
	content: "";
	pointer-events: none;
}

.bestogel-campaign-frame {
	position: relative;
	width: min(100%, 1080px);
	margin: 0 auto;
	padding: clamp(5px, 0.8vw, 9px);
	background: var(--bestogel-white);
	border: 1px solid var(--bestogel-line-strong);
	border-radius: clamp(16px, 2.5vw, 28px);
	box-shadow: var(--bestogel-shadow);
}

.bestogel-campaign-frame::before,
.bestogel-campaign-frame::after {
	position: absolute;
	z-index: 1;
	width: 62px;
	height: 62px;
	content: "";
	pointer-events: none;
}

.bestogel-campaign-frame::before {
	top: -1px;
	left: -1px;
	border-top: 3px solid var(--bestogel-red);
	border-left: 3px solid var(--bestogel-red);
	border-radius: 18px 0 0;
}

.bestogel-campaign-frame::after {
	right: -1px;
	bottom: -1px;
	border-right: 3px solid var(--bestogel-gold);
	border-bottom: 3px solid var(--bestogel-gold);
	border-radius: 0 0 18px;
}

.bestogel-campaign-frame img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: clamp(11px, 2vw, 21px);
}

.bestogel-hero-content {
	padding-top: clamp(2.5rem, 5vw, 4.75rem);
	text-align: center;
}

.bestogel-hero-copy {
	max-width: 880px;
	margin-inline: auto;
}

.bestogel-hero-copy h1 {
	margin-block: 0.55rem 1.15rem;
	font-size: clamp(3.3rem, 9vw, 7.8rem);
}

.bestogel-hero-copy h1 strong {
	background: linear-gradient(120deg, var(--bestogel-ink) 14%, var(--bestogel-red) 55%, var(--bestogel-gold) 96%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.bestogel-hero-description {
	max-width: 760px;
	margin-inline: auto;
	color: var(--bestogel-muted);
	font-size: clamp(1.05rem, 1.65vw, 1.3rem);
	line-height: 1.75;
}

.bestogel-hero-actions {
	justify-content: center;
	margin-top: 1.65rem;
}

.bestogel-hero-proof {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.6rem;
	margin-top: 1.65rem;
}

.bestogel-hero-proof span {
	padding: 0.6rem 0.9rem;
	background: var(--bestogel-paper);
	border: 1px solid var(--bestogel-line);
	border-radius: 999px;
	color: var(--bestogel-ink-soft);
	font-size: 0.78rem;
	font-weight: 720;
}

/* Quick navigation */
.bestogel-quick-rail {
	position: relative;
	z-index: 2;
	background: var(--bestogel-ink);
	border-bottom: 3px solid var(--bestogel-red);
}

.bestogel-quick-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0;
	margin: 0 auto;
}

.bestogel-quick-grid > .wp-block-column {
	width: auto;
	min-width: 0;
}

.bestogel-quick-card {
	min-height: 168px;
	padding: clamp(1.4rem, 2.3vw, 2rem);
	border-right: 1px solid rgba(255, 255, 255, 0.12);
	transition: background-color 180ms ease;
}

.bestogel-quick-grid > .wp-block-column:last-child .bestogel-quick-card {
	border-right: 0;
}

.bestogel-quick-card:hover {
	background: rgba(162, 13, 29, 0.2);
}

.bestogel-quick-index {
	margin: 0;
	color: #d7b85c;
	font-size: 0.7rem;
	font-weight: 850;
	letter-spacing: 0.14em;
}

.bestogel-quick-card h2 {
	margin-block: 0.65rem 0.4rem;
	font-size: 1.12rem;
	letter-spacing: -0.02em;
}

.bestogel-quick-card h2 a {
	color: var(--bestogel-white);
}

.bestogel-quick-card h2 a:focus-visible {
	border-radius: 4px;
}

.bestogel-quick-card p:last-child {
	margin-bottom: 0;
	color: #c7c8cc;
	font-size: 0.88rem;
	line-height: 1.55;
}

/* Cards and feature rows */
.bestogel-seo-panel,
.bestogel-card,
.bestogel-post-card,
.bestogel-empty-state {
	background: var(--bestogel-white);
	border: 1px solid var(--bestogel-line);
	border-radius: var(--bestogel-radius-md);
	box-shadow: var(--bestogel-shadow-sm);
}

.bestogel-seo-panel {
	position: relative;
	padding: clamp(1.65rem, 3vw, 2.75rem);
	overflow: hidden;
}

.bestogel-seo-panel::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 5px;
	height: 100%;
	background: linear-gradient(var(--bestogel-red), var(--bestogel-gold));
	content: "";
}

.bestogel-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: 1rem;
}

.bestogel-card-grid > .wp-block-column {
	width: auto;
}

.bestogel-card {
	position: relative;
	min-height: 100%;
	padding: clamp(1.35rem, 2.3vw, 2rem);
	overflow: hidden;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.bestogel-card::after {
	position: absolute;
	top: 0;
	right: 0;
	width: 44px;
	height: 44px;
	border-top: 3px solid var(--bestogel-gold);
	border-right: 3px solid var(--bestogel-gold);
	content: "";
}

.bestogel-card:hover {
	border-color: rgba(162, 13, 29, 0.38);
	box-shadow: 0 22px 50px rgba(17, 18, 24, 0.1);
	transform: translateY(-3px);
}

.bestogel-card h3 {
	font-size: clamp(1.35rem, 2.1vw, 1.75rem);
}

.bestogel-card h3 a {
	color: var(--bestogel-ink);
}

.bestogel-card h3 a:hover {
	color: var(--bestogel-red);
}

.bestogel-actions {
	gap: 0.7rem;
	margin-top: 1.6rem;
}

.bestogel-card-link {
	margin-top: auto;
	font-size: 0.82rem;
	font-weight: 820;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.bestogel-card-link a::after {
	display: inline-block;
	margin-left: 0.45rem;
	content: "→";
	transition: transform 180ms ease;
}

.bestogel-card-link a:hover::after {
	transform: translateX(4px);
}

.bestogel-feature-row {
	padding: 1.35rem 0;
	border-bottom: 1px solid var(--bestogel-line);
}

.bestogel-feature-row:first-child {
	border-top: 1px solid var(--bestogel-line);
}

.bestogel-feature-index {
	display: grid;
	width: 42px;
	height: 42px;
	margin: 0;
	place-items: center;
	background: var(--bestogel-red);
	border-radius: 50%;
	color: var(--bestogel-white);
	font-size: 0.78rem;
	font-weight: 850;
}

/* Article hub and cards */
.bestogel-post-grid .wp-block-post-template {
	gap: 1.2rem;
}

.bestogel-post-card {
	height: 100%;
	overflow: hidden;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.bestogel-post-card:hover {
	border-color: rgba(162, 13, 29, 0.35);
	box-shadow: 0 18px 44px rgba(17, 18, 24, 0.1);
	transform: translateY(-3px);
}

.bestogel-post-card .wp-block-post-featured-image {
	margin: 0;
	background: var(--bestogel-paper);
}

.bestogel-post-card .wp-block-post-featured-image img {
	transition: transform 350ms ease;
}

.bestogel-post-card:hover .wp-block-post-featured-image img {
	transform: scale(1.025);
}

.bestogel-post-card-content {
	padding: 1.45rem;
}

.bestogel-post-card-content .wp-block-post-date,
.bestogel-post-card-content .wp-block-post-terms {
	color: var(--bestogel-muted);
	font-size: 0.75rem;
}

.bestogel-post-card-content .wp-block-post-title {
	font-size: 1.28rem;
	line-height: 1.28;
}

.bestogel-post-card-content .wp-block-post-title a {
	color: var(--bestogel-ink);
}

.bestogel-post-card-content .wp-block-post-excerpt {
	color: var(--bestogel-muted);
	font-size: 0.93rem;
}

.bestogel-card-meta {
	gap: 0.55rem;
	margin-top: 1rem;
	padding-top: 0.9rem;
	border-top: 1px solid var(--bestogel-line);
	color: var(--bestogel-muted);
	font-size: 0.76rem;
}

.bestogel-card-meta > * {
	margin: 0;
}

.bestogel-card-meta > * + *::before {
	margin-right: 0.55rem;
	color: var(--bestogel-gold);
	content: "•";
}

.bestogel-blog-tools {
	padding-block: clamp(1.75rem, 3vw, 2.5rem);
	background: var(--bestogel-ink);
	border-bottom: 3px solid var(--bestogel-red);
	color: var(--bestogel-white);
}

.bestogel-blog-tools h2 {
	margin-bottom: 1rem;
	color: var(--bestogel-white);
}

.bestogel-blog-search {
	max-width: 760px;
}

.bestogel-blog-search .wp-block-search__inside-wrapper {
	padding: 5px;
	background: var(--bestogel-white);
	border: 1px solid rgba(184, 137, 24, 0.6);
	border-radius: 999px;
}

.bestogel-blog-search .wp-block-search__input {
	min-height: 44px;
	padding-inline: 1rem;
	background: transparent;
	border: 0;
	color: var(--bestogel-ink);
}

.bestogel-blog-search .wp-block-search__button {
	min-height: 44px;
	margin: 0;
	padding: 0.65rem 1.35rem;
	background: var(--bestogel-red);
	border: 0;
	border-radius: 999px;
	color: var(--bestogel-white);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.bestogel-category-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
}

.bestogel-category-list li {
	margin: 0;
}

.bestogel-category-list a {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 0.5rem 0.8rem;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	color: var(--bestogel-white);
	font-size: 0.78rem;
	font-weight: 700;
}

.bestogel-category-list a:hover {
	background: var(--bestogel-red);
	border-color: var(--bestogel-red);
	color: var(--bestogel-white);
}

.bestogel-category-list .cat-count {
	margin-left: 0.35rem;
	color: #e4c666;
}

.bestogel-blog-listing .bestogel-section-heading {
	margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

@media (min-width: 782px) {
	.bestogel-blog-grid .wp-block-post:first-child {
		grid-column: 1 / -1;
	}

	.bestogel-blog-grid .wp-block-post:first-child > .bestogel-post-card:has(.wp-block-post-featured-image img) {
		display: grid;
		grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
		align-items: stretch;
	}

	.bestogel-blog-grid .wp-block-post:first-child .wp-block-post-featured-image,
	.bestogel-blog-grid .wp-block-post:first-child .wp-block-post-featured-image img {
		height: 100%;
	}

	.bestogel-blog-grid .wp-block-post:first-child .wp-block-post-featured-image img {
		object-fit: cover;
	}

	.bestogel-blog-grid .wp-block-post:first-child .bestogel-post-card-content {
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: clamp(2rem, 4vw, 3.5rem);
	}

	.bestogel-blog-grid .wp-block-post:first-child .wp-block-post-title {
		font-size: clamp(1.75rem, 3.2vw, 2.7rem);
	}
}

.bestogel-pagination {
	margin-top: 2.25rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--bestogel-line);
}

.bestogel-empty-state {
	padding: 2rem;
	text-align: center;
}

/* FAQ */
.bestogel-faq-list {
	border-top: 1px solid var(--bestogel-line-strong);
}

.bestogel-faq-list .wp-block-details {
	margin: 0;
	padding: 1.35rem 0;
	border-bottom: 1px solid var(--bestogel-line);
}

.bestogel-faq-list summary {
	position: relative;
	padding-right: 3rem;
	color: var(--bestogel-ink);
	cursor: pointer;
	font-weight: 780;
	line-height: 1.45;
	list-style: none;
}

.bestogel-faq-list summary::-webkit-details-marker {
	display: none;
}

.bestogel-faq-list summary::after {
	position: absolute;
	top: -0.15rem;
	right: 0;
	display: grid;
	width: 30px;
	height: 30px;
	place-items: center;
	background: var(--bestogel-paper);
	border: 1px solid var(--bestogel-line);
	border-radius: 50%;
	color: var(--bestogel-red);
	content: "+";
	font-size: 1.2rem;
}

.bestogel-faq-list details[open] summary::after {
	content: "–";
}

.bestogel-faq-list details p {
	max-width: 680px;
	margin: 1rem 0 0;
	color: var(--bestogel-muted);
}

/* Secondary campaign */
.bestogel-editorial-banner {
	position: relative;
	min-height: 480px;
	background: linear-gradient(110deg, rgba(17, 18, 24, 0.98) 0%, rgba(17, 18, 24, 0.91) 48%, rgba(114, 7, 19, 0.84) 100%), var(--bestogel-ink);
	border: 1px solid rgba(184, 137, 24, 0.55);
	border-radius: var(--bestogel-radius-lg);
	box-shadow: var(--bestogel-shadow);
	overflow: hidden;
}

.bestogel-editorial-banner::before {
	position: absolute;
	top: -35%;
	right: -5%;
	width: 480px;
	height: 480px;
	background: radial-gradient(circle, rgba(184, 137, 24, 0.25), transparent 68%);
	content: "";
}

.bestogel-editorial-copy {
	position: relative;
	z-index: 1;
	max-width: 650px;
	padding: clamp(2rem, 5vw, 4.75rem);
}

.bestogel-editorial-copy h2,
.bestogel-editorial-copy .bestogel-lead {
	color: var(--bestogel-white);
}

.bestogel-editorial-copy .bestogel-overline {
	color: #e4c666;
}

.bestogel-editorial-copy .is-style-outline .wp-block-button__link {
	border-color: var(--bestogel-white);
	color: var(--bestogel-white);
}

/* Page and post templates */
.bestogel-breadcrumb-wrap {
	padding-block: 1rem;
	background: var(--bestogel-paper);
	border-bottom: 1px solid var(--bestogel-line);
}

.bestogel-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bestogel-breadcrumbs li {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	color: var(--bestogel-muted);
	font-size: 0.78rem;
}

.bestogel-breadcrumbs a {
	color: var(--bestogel-ink-soft);
}

.bestogel-breadcrumb-separator {
	color: var(--bestogel-gold);
}

.bestogel-article-hero {
	position: relative;
	padding-block: clamp(3.25rem, 7vw, 6.5rem);
	background: linear-gradient(115deg, rgba(162, 13, 29, 0.06), transparent 44%), var(--bestogel-white);
	border-bottom: 1px solid var(--bestogel-line);
	text-align: center;
}

.bestogel-article-hero::after {
	display: block;
	width: 76px;
	height: 3px;
	margin: 1.5rem auto 0;
	background: linear-gradient(90deg, var(--bestogel-red), var(--bestogel-gold));
	content: "";
}

.bestogel-article-hero .wp-block-post-title,
.bestogel-article-hero h1 {
	max-width: 980px;
	margin-inline: auto;
	color: var(--bestogel-ink);
	font-size: clamp(2.2rem, 4.7vw, 4.35rem);
	font-weight: 850;
	letter-spacing: -0.055em;
}

.bestogel-featured-frame {
	max-width: 1120px;
	margin-top: clamp(2rem, 5vw, 4rem);
	overflow: hidden;
	border: 1px solid var(--bestogel-line);
	border-radius: var(--bestogel-radius-md);
	box-shadow: var(--bestogel-shadow-sm);
}

.bestogel-article-body,
.bestogel-page-section {
	max-width: 860px;
	margin-inline: auto;
}

.bestogel-article-body .bestogel-page-section {
	padding-block: 0;
}

.bestogel-article-body .wp-block-post-content,
.bestogel-page-section {
	font-size: clamp(1rem, 1.3vw, 1.08rem);
	line-height: 1.82;
}

.bestogel-article-body h2,
.bestogel-page-section h2 {
	margin-top: 2.7em;
	color: var(--bestogel-ink);
	font-size: clamp(1.7rem, 3.4vw, 2.55rem);
	letter-spacing: -0.04em;
}

.bestogel-article-body h3,
.bestogel-page-section h3 {
	margin-top: 2.1em;
	color: var(--bestogel-ink);
	font-size: clamp(1.25rem, 2vw, 1.6rem);
	letter-spacing: -0.025em;
}

.bestogel-article-body a,
.bestogel-page-section a {
	text-decoration: underline;
	text-decoration-color: rgba(162, 13, 29, 0.28);
	text-decoration-thickness: 2px;
}

.bestogel-article-body ul,
.bestogel-article-body ol,
.bestogel-page-section ul,
.bestogel-page-section ol {
	padding-left: 1.25rem;
}

.bestogel-article-body li,
.bestogel-page-section li {
	margin-bottom: 0.65rem;
}

.bestogel-article-body blockquote,
.bestogel-page-section blockquote {
	margin: 2rem 0;
	padding: 1.4rem 1.6rem;
	background: var(--bestogel-paper);
	border-left: 4px solid var(--bestogel-red);
	border-radius: 0 var(--bestogel-radius-sm) var(--bestogel-radius-sm) 0;
}

.bestogel-page-section .wp-block-columns {
	gap: 1.1rem;
}

.bestogel-page-section .wp-block-column > .wp-block-group {
	height: 100%;
}

.bestogel-responsible-inline,
.bestogel-responsible-note {
	background: #fff9e9;
	border: 1px solid #dfc77c;
	border-radius: var(--bestogel-radius-md);
	color: #4a3b13;
}

.bestogel-responsible-inline {
	margin-top: 2.25rem;
	padding: 1.2rem 1.35rem;
}

.bestogel-responsible-note {
	gap: 1rem;
	padding: 1.25rem 1.5rem;
}

.bestogel-age-badge {
	display: grid;
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	margin: 0;
	place-items: center;
	background: var(--bestogel-red);
	border: 2px solid var(--bestogel-gold);
	border-radius: 50%;
	color: var(--bestogel-white);
	font-size: 0.82rem;
	font-weight: 900;
}

.bestogel-post-meta,
.bestogel-post-taxonomy,
.bestogel-post-navigation {
	color: var(--bestogel-muted);
	font-size: 0.88rem;
}

.bestogel-post-navigation {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--bestogel-line);
}

/* Footer */
.bestogel-footer {
	position: relative;
	padding-block: clamp(3.5rem, 7vw, 6.5rem) 1.6rem;
	background: var(--bestogel-ink);
	border-top: 4px solid var(--bestogel-red);
	color: #d7d8db;
	overflow: hidden;
}

.bestogel-footer::before {
	position: absolute;
	top: -160px;
	right: -90px;
	width: 420px;
	height: 420px;
	background: radial-gradient(circle, rgba(162, 13, 29, 0.34), transparent 68%);
	content: "";
	pointer-events: none;
}

.bestogel-footer .wp-block-columns,
.bestogel-footer-bottom {
	position: relative;
	z-index: 1;
}

.bestogel-footer h2,
.bestogel-footer h3,
.bestogel-footer a {
	color: var(--bestogel-white);
}

.bestogel-footer .bestogel-overline {
	color: #e4c666;
}

.bestogel-footer-title {
	font-size: clamp(2rem, 4.2vw, 4rem);
	font-weight: 820;
	letter-spacing: -0.05em;
}

.bestogel-footer-copy {
	max-width: 620px;
	color: #b9bbc1;
}

.bestogel-footer-nav .wp-block-navigation-item__content {
	padding-block: 0.28rem;
	color: #d7d8db;
	font-size: 0.86rem;
	letter-spacing: 0;
	text-transform: none;
}

.bestogel-footer-bottom {
	margin-top: 3rem;
	padding-top: 1.35rem;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	color: #9da0a8;
	font-size: 0.78rem;
}

.bestogel-footer-bottom > .wp-block-shortcode {
	margin: 0;
}

.bestogel-footer-responsible {
	max-width: 560px;
	gap: 0.8rem;
}

.bestogel-footer-responsible p {
	margin: 0;
}

.bestogel-footer-responsible .bestogel-age-badge {
	width: 42px;
	height: 42px;
	color: var(--bestogel-white);
}

.bestogel-managed-front-content,
.bestogel-managed-front-content > .wp-block-shortcode {
	margin: 0;
}

.bestogel-managed-front-content .bestogel-page-section {
	width: min(100%, var(--wp--style--global--wide-size));
	max-width: var(--wp--style--global--wide-size);
	padding-inline: var(--wp--style--root--padding-left) var(--wp--style--root--padding-right);
}

.bestogel-managed-front-content .bestogel-page-section > :where(p, h2, ul, ol, .wp-block-buttons) {
	width: min(100%, 860px);
	margin-right: auto;
	margin-left: auto;
}

.bestogel-managed-front-content .bestogel-page-section > .bestogel-card-grid {
	width: 100%;
	max-width: none;
}

/* WordPress navigation overlay */
.wp-block-navigation__responsive-container.is-menu-open {
	width: 100%;
	max-width: 100vw;
	height: 100dvh;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 1.5rem;
	background: var(--bestogel-white) !important;
	color: var(--bestogel-ink) !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 4.5rem;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	color: var(--bestogel-ink) !important;
	font-size: 1.05rem;
}

.wp-block-navigation__responsive-container.is-menu-open .bestogel-mobile-access {
	display: flex !important;
}

.wp-block-navigation__responsive-container-close,
.wp-block-navigation__responsive-container-open {
	min-width: 44px;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
}

@media (max-width: 1100px) {
	.bestogel-header-inner {
		flex-wrap: nowrap;
	}

	.bestogel-primary-nav {
		flex: 0 0 auto;
		order: initial;
		width: auto;
		margin-left: auto;
	}

	.bestogel-primary-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none !important;
	}

	.bestogel-primary-nav .wp-block-navigation__responsive-container-open {
		display: flex !important;
	}

	.bestogel-quick-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.bestogel-quick-grid > .wp-block-column:nth-child(3n) .bestogel-quick-card {
		border-right: 0;
	}

	.bestogel-quick-card {
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	}
}

@media (max-width: 781px) {
	:root {
		--bestogel-header-height: 70px;
	}

	.admin-bar .bestogel-header-shell {
		top: 46px;
	}

	.admin-bar .bestogel-skip-link:focus {
		top: 46px;
	}

	.bestogel-header-inner {
		flex-wrap: nowrap;
		min-height: var(--bestogel-header-height);
	}

	.bestogel-header-inner > .wp-block-shortcode {
		order: 3;
		max-width: calc(100% - 60px);
		margin-left: auto;
	}

	.bestogel-primary-nav {
		order: 1;
		width: auto;
		margin-right: auto;
		margin-left: 0;
	}

	.bestogel-header-actions {
		display: none;
	}

	.bestogel-primary-nav .wp-block-navigation__responsive-container.is-menu-open {
		padding: 1rem;
	}

	.bestogel-primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
		align-items: stretch;
		padding-top: 3.35rem;
	}

	.bestogel-primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
		width: 100%;
		align-items: stretch;
		gap: 0.15rem;
	}

	.bestogel-primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item,
	.bestogel-primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
		width: 100%;
	}

	.bestogel-primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
		padding: 0.62rem 0.5rem;
		font-size: 0.95rem;
		line-height: 1.2;
	}

	.bestogel-hero {
		padding-top: 0.8rem;
	}

	.bestogel-hero-copy h1 {
		font-size: clamp(3rem, 17vw, 5.5rem);
	}

	.bestogel-quick-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bestogel-quick-grid > .wp-block-column:nth-child(3n) .bestogel-quick-card {
		border-right: 1px solid rgba(255, 255, 255, 0.12);
	}

	.bestogel-quick-grid > .wp-block-column:nth-child(2n) .bestogel-quick-card {
		border-right: 0;
	}

	.bestogel-quick-card {
		min-height: 145px;
		border-right: 1px solid rgba(255, 255, 255, 0.12);
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	}

	.bestogel-card-grid {
		grid-template-columns: 1fr;
	}

	.bestogel-feature-row .wp-block-columns {
		gap: 0.75rem;
	}

	.bestogel-editorial-banner {
		min-height: 420px;
	}

	.bestogel-footer .wp-block-columns {
		gap: 2.2rem;
	}

	.bestogel-footer-bottom {
		align-items: flex-start;
	}
}

@media (max-width: 520px) {
	.bestogel-long-logo {
		width: min(52vw, 184px);
	}

	.bestogel-long-logo img {
		height: 46px;
		max-height: 46px;
		object-position: right center;
	}

	.bestogel-brand-mark {
		width: 38px;
		height: 38px;
	}

	.bestogel-header-shell .wp-block-site-title {
		font-size: 0.95rem;
		letter-spacing: 0.08em;
	}

	.bestogel-campaign-frame {
		border-radius: 14px;
	}

	.bestogel-campaign-frame img {
		border-radius: 10px;
	}

	.bestogel-hero-actions .wp-block-button,
	.bestogel-hero-actions .wp-block-button__link {
		width: 100%;
	}

	.bestogel-quick-grid {
		grid-template-columns: 1fr;
	}

	.bestogel-quick-card {
		min-height: 0;
		border-right: 0;
	}

	.bestogel-blog-search .wp-block-search__inside-wrapper {
		border-radius: var(--bestogel-radius-sm);
	}

	.bestogel-blog-search .wp-block-search__button {
		padding-inline: 1rem;
	}

	.bestogel-responsible-note {
		align-items: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

@media print {
	.bestogel-header-shell,
	.bestogel-footer,
	.bestogel-hero-actions,
	.bestogel-editorial-banner {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
	}
}
