/* ==========================================================================
   BSE Premium — header, mega menu, search, mobile menu
   ========================================================================== */

:root {
	--bse-accent: #F5AD06;
	--bse-logo-h: 64px;
	--bse-h: 92px;
	--bse-h-scrolled: 70px;
	--bse-bg: #0a0909;
	--bse-panel-bg: #0d0b0b;
	--bse-ink: #ffffff;
	--bse-muted: rgba(255, 255, 255, 0.62);
	--bse-faint: rgba(255, 255, 255, 0.1);
	--bse-red: #ce1126;
	--bse-gold: #fcd116;
	--bse-green: #006b3f;
	--bse-ease: cubic-bezier(0.22, 0.75, 0.2, 1);
	--bse-font-display: "Erstoria Regular", "BSE Erstoria", erstoria, "Playfair Display", Georgia, serif;
	--bse-font-body: "Axiforma-Regular", Axiforma, Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--bse-admin-bar: 0px;
}

body.admin-bar { --bse-admin-bar: 32px; }
@media (max-width: 782px) { body.admin-bar { --bse-admin-bar: 46px; } }

/* Hide the Sydney header while the premium header is active */
body.bse-premium-header header.shfb,
body.bse-premium-header .shfb-mobile_offcanvas,
body.bse-premium-header .header-clone,
body.bse-premium-header #masthead,
body.bse-premium-header #masthead-mobile {
	display: none !important;
}

.bse-mobile[hidden],
.bse-search[hidden] { display: none !important; }

/* Lock page scroll while an overlay is open */
html.bse-lock,
html.bse-lock body { overflow: hidden !important; }

.bse-skip {
	position: fixed;
	top: -100px;
	left: 16px;
	z-index: 100001;
	padding: 10px 16px;
	background: var(--bse-accent);
	color: #111;
	font: 600 14px/1 var(--bse-font-body);
	border-radius: 6px;
}
.bse-skip:focus { top: calc(12px + var(--bse-admin-bar)); }

.bse-header,
.bse-header *,
.bse-mobile,
.bse-mobile *,
.bse-search,
.bse-search * { box-sizing: border-box; }

.bse-header ul,
.bse-mobile ul { list-style: none; margin: 0; padding: 0; }

.bse-header svg,
.bse-mobile svg,
.bse-search svg { display: block; width: 1em; height: 1em; flex: none; }

/* ---------- Bar ---------- */

.bse-header {
	position: fixed;
	top: var(--bse-admin-bar);
	left: 0;
	right: 0;
	z-index: 9990;
	color: var(--bse-ink);
	font-family: var(--bse-font-body);
	transition: transform 0.5s var(--bse-ease), background-color 0.4s ease, box-shadow 0.4s ease;
	-webkit-font-smoothing: antialiased;
}

.bse-header::before {
	/* Glass layer, faded in when scrolled */
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(10, 9, 9, 0.74);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	backdrop-filter: blur(18px) saturate(140%);
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	opacity: 0;
	transition: opacity 0.4s ease;
	pointer-events: none;
}

.bse-header::after {
	/* Soft top shade so white links stay legible over bright hero video */
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 150%;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
	pointer-events: none;
	transition: opacity 0.4s ease;
	z-index: -1;
}

.bse-header.is-scrolled::before,
.bse-header.is-open::before,
body.bse-header-solid .bse-header::before { opacity: 1; }

.bse-header.is-scrolled::after,
.bse-header.is-open::after,
body.bse-header-solid .bse-header::after { opacity: 0; }

body.bse-header-solid .bse-header::before { background: rgba(10, 9, 9, 0.94); }
.bse-header.is-open::before { background: var(--bse-panel-bg); }

.bse-header.is-hidden { transform: translateY(calc(-100% - var(--bse-admin-bar))); }

.bse-header__bar {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
	height: var(--bse-h);
	padding: 0 clamp(20px, 3.2vw, 48px);
	transition: height 0.45s var(--bse-ease);
}

.bse-header.is-scrolled .bse-header__bar { height: var(--bse-h-scrolled); }

.bse-header-spacer { display: none; height: var(--bse-h); }
body.bse-header-solid .bse-header-spacer { display: block; }

/* ---------- Logo ---------- */

.bse-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
}

.bse-logo img {
	height: var(--bse-logo-h);
	width: auto;
	max-width: 240px;
	object-fit: contain;
	transition: height 0.45s var(--bse-ease), transform 0.45s var(--bse-ease);
}

.bse-header.is-scrolled .bse-logo img { height: calc(var(--bse-logo-h) * 0.74); }
.bse-logo:hover img { transform: scale(1.03); }

/* ---------- Nav ---------- */

.bse-nav--left { justify-self: start; }

.bse-header__right {
	justify-self: end;
	display: flex;
	align-items: center;
	gap: clamp(10px, 1.4vw, 22px);
}

.bse-nav__list {
	display: flex;
	align-items: center;
	gap: clamp(14px, 2vw, 34px);
}

.bse-nav__item { position: static; }

.bse-nav__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 0;
	color: var(--bse-ink) !important;
	font: 500 13px/1 var(--bse-font-body);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none !important;
	white-space: nowrap;
	transition: color 0.3s ease;
}

.bse-nav__link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 2px;
	height: 1.5px;
	background: var(--bse-accent);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.45s var(--bse-ease);
}

.bse-nav__link:hover::after,
.bse-nav__link:focus-visible::after,
.bse-nav__item.is-open > .bse-nav__link::after,
.bse-nav__item.is-current > .bse-nav__link::after {
	transform: scaleX(1);
	transform-origin: left;
}

.bse-nav__link svg {
	width: 10px;
	height: 10px;
	opacity: 0.7;
	transition: transform 0.4s var(--bse-ease);
}

.bse-nav__item.is-open > .bse-nav__link svg { transform: rotate(180deg); }

.bse-nav__link:focus-visible,
.bse-icon-btn:focus-visible,
.bse-cta:focus-visible,
.bse-burger:focus-visible,
.bse-panel a:focus-visible,
.bse-mobile a:focus-visible,
.bse-mobile button:focus-visible {
	outline: 2px solid var(--bse-accent);
	outline-offset: 4px;
	border-radius: 4px;
}

/* ---------- Buttons ---------- */

.bse-icon-btn {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	background: transparent;
	color: var(--bse-ink);
	font-size: 18px;
	cursor: pointer;
	transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.bse-icon-btn:hover {
	border-color: var(--bse-accent);
	color: var(--bse-accent);
	background: rgba(255, 255, 255, 0.04);
}

.bse-cta {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 20px 12px 22px;
	overflow: hidden;
	isolation: isolate;
	border-radius: 999px;
	background: var(--bse-accent);
	color: #111 !important;
	font: 600 12px/1 var(--bse-font-body);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none !important;
	white-space: nowrap;
	box-shadow: 0 8px 30px -10px rgba(245, 173, 6, 0.55);
	transition: box-shadow 0.4s ease, transform 0.4s var(--bse-ease);
}

.bse-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: #fff;
	transform: translateX(-101%);
	transition: transform 0.55s var(--bse-ease);
}

.bse-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 34px -10px rgba(245, 173, 6, 0.75); }
.bse-cta:hover::before { transform: translateX(0); }
.bse-cta svg { width: 14px; height: 14px; transition: transform 0.4s var(--bse-ease); }
.bse-cta:hover svg { transform: translateX(3px); }

.bse-burger {
	display: none;
	position: relative;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

.bse-burger span {
	position: absolute;
	left: 13px;
	right: 13px;
	height: 1.5px;
	background: #fff;
	border-radius: 2px;
	transition: transform 0.4s var(--bse-ease), width 0.4s var(--bse-ease);
}

.bse-burger span:first-child { top: 17px; }
.bse-burger span:last-child { top: 25px; right: 18px; }
.bse-burger:hover span:last-child { right: 13px; }

/* ---------- Mega panel ---------- */

.bse-header__backdrop {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	height: 100vh;
	background: rgba(0, 0, 0, 0.5);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease, visibility 0.4s;
	pointer-events: none;
	z-index: -2;
}

.bse-header.is-open .bse-header__backdrop { opacity: 1; visibility: visible; }

.bse-panel {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	max-height: calc(100vh - var(--bse-h) - var(--bse-admin-bar));
	overflow-y: auto;
	padding: 52px clamp(20px, 3.2vw, 48px) 56px;
	background:
		radial-gradient(1200px 380px at 85% -10%, rgba(206, 17, 38, 0.18), transparent 60%),
		radial-gradient(800px 300px at 0% 120%, rgba(0, 107, 63, 0.12), transparent 60%),
		var(--bse-panel-bg);
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-12px);
	clip-path: inset(0 0 100% 0);
	transition: opacity 0.35s ease, transform 0.55s var(--bse-ease), clip-path 0.55s var(--bse-ease), visibility 0.55s;
	cursor: default;
	text-align: left;
}

.bse-panel::before {
	/* Ghana tri-colour hairline */
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -1px;
	height: 2px;
	background: linear-gradient(90deg, var(--bse-red) 0 33.33%, var(--bse-gold) 33.33% 66.66%, var(--bse-green) 66.66% 100%);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.9s var(--bse-ease) 0.1s;
}

.bse-nav__item.is-open > .bse-panel {
	opacity: 1;
	visibility: visible;
	transform: none;
	clip-path: inset(0 0 0 0);
}

.bse-nav__item.is-open > .bse-panel::before { transform: scaleX(1); }

.bse-panel__inner {
	display: grid;
	grid-template-columns: minmax(200px, 270px) 1fr;
	gap: clamp(28px, 4vw, 64px);
	max-width: 1320px;
	margin: 0 auto;
}

.bse-panel__inner.has-aside { grid-template-columns: minmax(200px, 270px) 1fr minmax(280px, 380px); }

/* Staggered entrance of the three columns */
.bse-panel__inner > * {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.5s ease, transform 0.7s var(--bse-ease);
}

.bse-nav__item.is-open .bse-panel__inner > * { opacity: 1; transform: none; }
.bse-nav__item.is-open .bse-panel__inner > :nth-child(1) { transition-delay: 0.08s; }
.bse-nav__item.is-open .bse-panel__inner > :nth-child(2) { transition-delay: 0.16s; }
.bse-nav__item.is-open .bse-panel__inner > :nth-child(3) { transition-delay: 0.24s; }

.bse-eyebrow {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	color: var(--bse-accent);
	font: 500 11px/1 var(--bse-font-body);
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.bse-eyebrow svg { width: 12px; height: 12px; }

.bse-panel__title {
	margin: 0 0 14px;
	color: #fff;
	font: 400 clamp(34px, 3.2vw, 48px)/1.02 var(--bse-font-display);
	letter-spacing: -0.01em;
}

.bse-panel__desc {
	margin: 0 0 22px;
	color: var(--bse-muted);
	font: 400 14px/1.65 var(--bse-font-body);
}

.bse-panel__all {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--bse-accent) !important;
	font: 500 12px/1 var(--bse-font-body);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none !important;
}

.bse-panel__all svg { width: 14px; height: 14px; transition: transform 0.4s var(--bse-ease); }
.bse-panel__all:hover svg { transform: translateX(4px); }

.bse-panel__main { display: grid; gap: 28px; align-content: start; }

/* Image cards */
.bse-cards { display: grid; gap: 16px; }
.bse-cards--1 { grid-template-columns: 1fr; }
.bse-cards--2 { grid-template-columns: repeat(2, 1fr); }
.bse-cards--3 { grid-template-columns: repeat(3, 1fr); }
.bse-cards--4 { grid-template-columns: repeat(4, 1fr); }

.bse-card a {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	max-height: 340px;
	width: 100%;
	border-radius: 14px;
	background: linear-gradient(135deg, #2a0b10, #120707);
	color: #fff !important;
	text-decoration: none !important;
	isolation: isolate;
}

.bse-card__media,
.bse-card__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.bse-card__media img {
	object-fit: cover;
	transform: scale(1.06);
	transition: transform 1.4s var(--bse-ease), filter 0.8s ease;
	filter: saturate(0.92);
}

.bse-card a::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0) 100%);
	z-index: 1;
	transition: opacity 0.6s ease;
}

.bse-card a:hover .bse-card__media img { transform: scale(1.14); filter: saturate(1.08); }

.bse-card__body {
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 18px;
	z-index: 2;
	display: grid;
	gap: 6px;
}

.bse-card__title { font: 400 26px/1.05 var(--bse-font-display); }

.bse-card__desc {
	color: rgba(255, 255, 255, 0.78);
	font: 400 12.5px/1.45 var(--bse-font-body);
	transform: translateY(6px);
	opacity: 0.85;
	transition: transform 0.6s var(--bse-ease), opacity 0.6s ease;
}

.bse-card a:hover .bse-card__desc { transform: none; opacity: 1; }

/* Text links */
.bse-links {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 6px 28px;
}

.bse-link {
	display: grid;
	gap: 6px;
	padding: 16px 0 16px;
	border-bottom: 1px solid var(--bse-faint);
	color: #fff !important;
	text-decoration: none !important;
}

.bse-link__title {
	display: flex;
	align-items: center;
	gap: 10px;
	font: 400 22px/1.15 var(--bse-font-display);
	transition: color 0.3s ease, transform 0.5s var(--bse-ease);
}

.bse-link__title svg {
	width: 16px;
	height: 16px;
	color: var(--bse-accent);
	opacity: 0;
	transform: translateX(-8px);
	transition: opacity 0.4s ease, transform 0.5s var(--bse-ease);
}

.bse-link__desc { color: var(--bse-muted); font: 400 13px/1.5 var(--bse-font-body); }

.bse-link:hover .bse-link__title,
.bse-link.is-current .bse-link__title { color: var(--bse-accent); }
.bse-link:hover .bse-link__title svg { opacity: 1; transform: none; }

/* Featured card */
.bse-feature {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 330px;
	overflow: hidden;
	padding: 26px;
	border-radius: 16px;
	background: linear-gradient(135deg, #ff1a1a 0%, #b00020 45%, #4a0414 100%);
	color: #fff !important;
	text-decoration: none !important;
	isolation: isolate;
}

.bse-feature img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
	transform: scale(1.05);
	transition: transform 1.6s var(--bse-ease);
}

.bse-feature.has-image::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.1) 70%);
}

.bse-feature:hover img { transform: scale(1.12); }

.bse-feature__star {
	position: absolute;
	right: -40px;
	top: -40px;
	z-index: -1;
	font-size: 260px;
	color: rgba(255, 255, 255, 0.09);
	transform: rotate(-12deg);
	transition: transform 1.6s var(--bse-ease);
}

.bse-feature__star svg { width: 1em; height: 1em; }
.bse-feature:hover .bse-feature__star { transform: rotate(0deg) scale(1.05); }

.bse-feature__body { display: grid; gap: 10px; }

.bse-feature__kicker {
	justify-self: start;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.22);
	font: 500 10px/1 var(--bse-font-body);
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.bse-feature__title { font: 400 36px/1.02 var(--bse-font-display); }
.bse-feature__desc { color: rgba(255, 255, 255, 0.85); font: 400 13.5px/1.55 var(--bse-font-body); }

.bse-feature__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 6px;
	color: var(--bse-accent);
	font: 600 12px/1 var(--bse-font-body);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.bse-feature:not(.has-image) .bse-feature__cta { color: #fff; }
.bse-feature__cta svg { width: 14px; height: 14px; transition: transform 0.4s var(--bse-ease); }
.bse-feature:hover .bse-feature__cta svg { transform: translateX(4px); }

/* Latest posts */
.bse-posts { display: grid; gap: 14px; align-content: start; }

.bse-posts__label {
	margin: 0 0 4px;
	color: var(--bse-muted);
	font: 500 11px/1 var(--bse-font-body);
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.bse-post {
	margin-left: -10px;
	display: grid;
	grid-template-columns: 104px 1fr;
	gap: 16px;
	align-items: center;
	padding: 10px;
	border-radius: 12px;
	color: #fff !important;
	text-decoration: none !important;
	transition: background-color 0.3s ease;
}

.bse-post:hover { background: rgba(255, 255, 255, 0.05); }

.bse-post__media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: 8px;
	background: linear-gradient(135deg, #3a0c12, #140808);
}

.bse-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--bse-ease); }
.bse-post:hover .bse-post__media img { transform: scale(1.08); }
.bse-post__body { display: grid; gap: 6px; }
.bse-post__date { color: var(--bse-accent); font: 500 11px/1 var(--bse-font-body); letter-spacing: 0.1em; text-transform: uppercase; }
.bse-post__title { font: 400 16px/1.3 var(--bse-font-body); }

/* ---------- Search overlay ---------- */

.bse-search {
	position: fixed;
	top: var(--bse-admin-bar);
	left: 0;
	right: 0;
	z-index: 9995;
	padding: 0 clamp(20px, 3.2vw, 48px);
	background: rgba(10, 9, 9, 0.96);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	transform: translateY(-100%);
	transition: transform 0.55s var(--bse-ease);
}

.bse-search.is-open { transform: none; }

.bse-search__form {
	display: flex;
	align-items: center;
	gap: 18px;
	max-width: 1100px;
	height: var(--bse-h);
	margin: 0 auto;
	color: #fff;
	font-size: 24px;
}

.bse-search__form > svg { color: var(--bse-accent); }

.bse-search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: auto;
	margin: 0;
	padding: 8px 0;
	border: 0 !important;
	border-radius: 0;
	background: transparent !important;
	box-shadow: none !important;
	color: #fff !important;
	font: 400 clamp(22px, 3vw, 34px)/1.2 var(--bse-font-display);
	outline: none;
}

.bse-search input[type="search"]::placeholder { color: rgba(255, 255, 255, 0.4); }

/* ---------- Mobile menu ---------- */

.bse-mobile {
	position: fixed;
	inset: 0;
	top: var(--bse-admin-bar);
	z-index: 100000;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	padding: 0 24px 32px;
	background:
		radial-gradient(600px 400px at 100% 0%, rgba(206, 17, 38, 0.32), transparent 60%),
		radial-gradient(500px 300px at 0% 100%, rgba(0, 107, 63, 0.22), transparent 60%),
		#070606;
	color: #fff;
	font-family: var(--bse-font-body);
	clip-path: circle(0% at calc(100% - 46px) 46px);
	transition: clip-path 0.75s var(--bse-ease);
	-webkit-font-smoothing: antialiased;
}

.bse-mobile.is-open { clip-path: circle(150% at calc(100% - 46px) 46px); }

.bse-mobile__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 80px;
}

.bse-mobile__top .bse-logo img { height: 52px; }

.bse-mobile__nav { flex: 1; padding: 18px 0 28px; }

.bse-m-item {
	border-bottom: 1px solid rgba(255, 255, 255, 0.09);
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.5s ease, transform 0.7s var(--bse-ease);
}

.bse-mobile.is-open .bse-m-item {
	opacity: 1;
	transform: none;
	transition-delay: calc(0.18s + var(--i) * 0.06s);
}

.bse-m-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 18px 0;
	border: 0;
	background: none;
	color: #fff !important;
	font: 400 clamp(30px, 8vw, 40px)/1.05 var(--bse-font-display);
	letter-spacing: -0.01em;
	text-transform: none;
	text-align: left;
	box-shadow: none;
	border-radius: 0;
	text-decoration: none !important;
	cursor: pointer;
}

.bse-m-plus {
	position: relative;
	width: 18px;
	height: 18px;
	flex: none;
}

.bse-m-plus::before,
.bse-m-plus::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 1.5px;
	background: var(--bse-accent);
	transition: transform 0.45s var(--bse-ease);
}

.bse-m-plus::after { transform: rotate(90deg); }
.bse-m-toggle[aria-expanded="true"] .bse-m-plus::after { transform: rotate(0deg); }

.bse-m-sub {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.5s var(--bse-ease);
}

.bse-m-sub > ul { overflow: hidden; }
.bse-m-toggle[aria-expanded="true"] + .bse-m-sub { grid-template-rows: 1fr; }

.bse-m-sub a {
	display: block;
	padding: 9px 0 9px 2px;
	color: var(--bse-muted) !important;
	font: 400 15px/1.4 var(--bse-font-body);
	letter-spacing: 0.04em;
	text-decoration: none !important;
}

.bse-m-sub li:last-child a { padding-bottom: 20px; }
.bse-m-sub a:hover { color: var(--bse-accent) !important; }

.bse-mobile__foot {
	display: grid;
	gap: 22px;
	opacity: 0;
	transition: opacity 0.6s ease 0.5s;
}

.bse-mobile.is-open .bse-mobile__foot { opacity: 1; }

.bse-cta--block { justify-content: center; padding: 18px 22px; font-size: 13px; }

.bse-socials { display: flex; gap: 12px; }

.bse-socials a {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	color: #fff !important;
	font-size: 18px;
	transition: border-color 0.3s ease, color 0.3s ease;
}

.bse-socials a:hover { border-color: var(--bse-accent); color: var(--bse-accent) !important; }

.bse-mobile__tag {
	margin: 0;
	color: rgba(255, 255, 255, 0.4);
	font: 400 13px/1 var(--bse-font-body);
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

/* ---------- Responsive ---------- */

@media (max-width: 1280px) {
	.bse-nav__list { gap: 20px; }
	.bse-nav__link { font-size: 12px; letter-spacing: 0.1em; }
	.bse-panel__inner.has-aside { grid-template-columns: minmax(180px, 220px) 1fr minmax(240px, 320px); }
}

@media (max-width: 1140px) {
	:root { --bse-h: 78px; --bse-h-scrolled: 66px; }
	.bse-nav { display: none; }
	.bse-burger { display: inline-block; }
	.bse-header__bar { grid-template-columns: auto 1fr; }
	.bse-logo { justify-self: start; }
	.bse-logo img { height: calc(var(--bse-logo-h) * 0.82); }
}

@media (max-width: 600px) {
	.bse-header__right .bse-cta { display: none; }
	.bse-header__bar { padding: 0 16px; }
	.bse-logo img { max-width: 170px; }
}

@media (prefers-reduced-motion: reduce) {
	.bse-header *,
	.bse-header::before,
	.bse-header::after,
	.bse-mobile,
	.bse-mobile *,
	.bse-search {
		transition-duration: 0.01ms !important;
		transition-delay: 0s !important;
	}
}

/* Neutralise theme button styles on our controls */
.bse-header button,
.bse-mobile button,
.bse-search button {
	min-height: 0;
	line-height: 1;
	text-shadow: none;
	box-shadow: none;
}

.bse-m-link:hover,
.bse-m-link:focus,
.bse-burger:hover,
.bse-burger:focus,
.bse-icon-btn:focus { background: transparent !important; color: #fff; }

.bse-icon-btn:hover { background: rgba(255, 255, 255, 0.04) !important; }

/* Erstoria for pages that don't load it themselves (e.g. Elementor Canvas pages) */
@font-face {
	font-family: "BSE Erstoria";
	src: url("/wp-content/uploads/2026/09/Erstoria-Regular.woff2") format("woff2"),
		url("/wp-content/uploads/2026/09/Erstoria-Regular.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* ==========================================================================
   [bse_hero] — premium animated hero (replaces the Slider Revolution hero)
   Motion mirrors the old slider: gradient fade, model rising in, logo zooming
   down, masked text slide-ins, button zoom — played in sequence.
   ========================================================================== */

.bse-hero {
	--bse-hero-gold: #d9a73a;
	--bse-hero-tag: #e9a400;
	--e-p3-out: cubic-bezier(0.215, 0.61, 0.355, 1);
	--e-p3-io: cubic-bezier(0.645, 0.045, 0.355, 1);
	--e-p2-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
	position: relative;
	display: flex;
	align-items: center;
	min-height: 100vh;
	min-height: 100svh;
	overflow: hidden;
	isolation: isolate;
	color: #fff;
	font-family: var(--bse-font-body);
	-webkit-font-smoothing: antialiased;
}

.bse-hero *,
.bse-hero *::before,
.bse-hero *::after { box-sizing: border-box; }

.bse-hero--auto { min-height: 0; }

/* Background: brand red gradient, warm glow behind the model, fine grain, soft fade into the next section */
.bse-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -3;
	background:
		radial-gradient(60% 75% at 24% 62%, rgba(255, 96, 64, 0.38), rgba(255, 96, 64, 0) 70%),
		linear-gradient(90deg, #f71313 0%, #c70d13 40%, #7a0303 100%);
}

.bse-hero__bg::before {
	content: "";
	position: absolute;
	inset: 0;
	opacity: 0.09;
	mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.bse-hero__bg::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 28%;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.32));
}

.bse-hero__media {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}

/* Deep-red shade behind the text column so the copy stays crisp over the ribbon */
.bse-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgba(110, 4, 6, 0) 33%, rgba(110, 4, 6, 0.66) 54%, rgba(84, 2, 4, 0.8) 100%);
}

.bse-hero__img {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	object-position: left bottom;
}

.bse-hero__inner {
	display: grid;
	grid-template-columns: 41% minmax(0, 1fr);
	width: 100%;
	max-width: 1360px;
	margin: 0 auto;
	padding: calc(var(--bse-h, 92px) + 40px) clamp(20px, 4vw, 64px) clamp(64px, 9vh, 110px);
}

.bse-hero__content {
	grid-column: 2;
	max-width: 680px;
	text-shadow: 0 2px 18px rgba(60, 0, 0, 0.35);
}

.bse-hero__logo {
	display: block;
	width: clamp(170px, 19vw, 290px);
	height: auto;
	margin: 0 0 clamp(18px, 2.4vh, 28px);
	transform-origin: left center;
}

.bse-hero__title {
	margin: 0 0 clamp(14px, 2vh, 22px);
	padding: 0;
	color: #fff;
	font: 400 clamp(38px, 4.7vw, 76px)/1.04 var(--bse-font-display);
	letter-spacing: -0.005em;
	text-transform: none;
}

.bse-hero__gold { color: var(--bse-hero-gold); }

/* Each line sits in a mask so it can slide in from the right */
.bse-hero__line,
.bse-hero__text,
.bse-hero__tagline {
	display: block;
	overflow: hidden;
	padding-bottom: 0.1em;
	margin-bottom: -0.1em;
}

.bse-hero__slide { display: inline-block; }

.bse-hero__text {
	max-width: 36em;
	margin-top: 0;
	margin-bottom: clamp(16px, 2.2vh, 24px);
	color: rgba(255, 255, 255, 0.9);
	font: 400 clamp(15px, 1.2vw, 18.5px)/1.7 Poppins, var(--bse-font-body);
}

.bse-hero__tagline {
	margin-top: 0;
	margin-bottom: clamp(22px, 3.4vh, 36px);
	color: var(--bse-hero-tag);
	font: 500 clamp(18px, 1.9vw, 30px)/1.3 Poppins, var(--bse-font-body);
}

.bse-hero__tagline .bse-hero__gold {
	color: inherit;
	font-weight: 700;
}

.bse-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	transform-origin: left center;
}

.bse-hero__btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 19px 30px 18px 32px;
	overflow: hidden;
	isolation: isolate;
	border-radius: 999px;
	background: linear-gradient(180deg, #efc300 0%, #f78138 100%);
	color: #0c0c0c !important;
	font: 600 13.5px/1 Poppins, var(--bse-font-body);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none !important;
	box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
	transition: transform 0.5s var(--e-p3-out), box-shadow 0.5s ease;
}

.bse-hero__btn::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: #fff;
	transform: translateX(-101%);
	transition: transform 0.6s var(--e-p3-out);
}

.bse-hero__btn:hover { transform: translateY(-2px); box-shadow: 0 22px 46px -16px rgba(0, 0, 0, 0.6); }
.bse-hero__btn:hover::before { transform: none; }
.bse-hero__btn svg { width: 15px; height: 15px; transition: transform 0.45s var(--e-p3-out); }
.bse-hero__btn:hover svg { transform: translateX(4px); }

.bse-hero__btn--ghost {
	background: rgba(0, 0, 0, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.55);
	color: #fff !important;
	box-shadow: none;
}

.bse-hero__btn--ghost:hover { color: #0c0c0c !important; }

.bse-hero__btn:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

/* Scroll cue */
.bse-hero__cue {
	position: absolute;
	left: 50%;
	bottom: 26px;
	display: grid;
	justify-items: center;
	gap: 10px;
	transform: translateX(-50%);
	color: rgba(255, 255, 255, 0.75);
	font: 500 10px/1 var(--bse-font-body);
	letter-spacing: 0.32em;
	text-transform: uppercase;
}

.bse-hero__cue i {
	position: relative;
	display: block;
	width: 1px;
	height: 44px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.22);
}

.bse-hero__cue i::after {
	content: "";
	position: absolute;
	left: 0;
	top: -50%;
	width: 1px;
	height: 50%;
	background: #fff;
	animation: bse-hero-cue 2.2s var(--e-p3-io) infinite;
}

@keyframes bse-hero-cue {
	from { top: -50%; }
	to { top: 100%; }
}

/* ---------- Entrance animation (identical on every device) ---------- */

.bse-hero.is-ready .bse-hero__bg { opacity: 0; }
.bse-hero.is-ready .bse-hero__img { opacity: 0; transform: translate3d(0, 50px, 0); }
.bse-hero.is-ready .bse-hero__slide { transform: translate3d(105%, 0, 0); }
.bse-hero.is-ready .bse-hero__logo,
.bse-hero.is-ready .bse-hero__zoom { opacity: 0; transform: scale(1.7); }
.bse-hero.is-ready .bse-hero__cue { opacity: 0; }

.bse-hero.is-in .bse-hero__bg { opacity: 1; transition: opacity 1s ease; }

.bse-hero.is-in .bse-hero__img {
	opacity: 1;
	transform: none;
	transition: opacity 1.1s ease 0.05s, transform 1.3s var(--e-p3-io) 0.05s;
}

.bse-hero.is-in .bse-hero__slide {
	transform: none;
	transition: transform 1.1s var(--e-p3-out) var(--d, 0s);
}

.bse-hero.is-in .bse-hero__logo,
.bse-hero.is-in .bse-hero__zoom {
	opacity: 1;
	transform: none;
	transition: opacity 0.9s ease var(--d, 0s), transform 1.1s var(--e-p2-out) var(--d, 0s);
}

.bse-hero.is-in .bse-hero__cue { opacity: 1; transition: opacity 1s ease 1.8s; }

/* ---------- Tablet & phone: text on top, model below — one consistent layout ---------- */

@media (max-width: 900px) {
	/* Tablets & phones keep the original composition: model on the left, text on the right,
	   with the photo fading into red behind the text */
	.bse-hero__img { object-position: 12% bottom; }

	.bse-hero__media::after {
		background: linear-gradient(90deg, rgba(150, 6, 10, 0) 16%, rgba(140, 5, 9, 0.7) 44%, rgba(112, 4, 7, 0.88) 100%);
	}

	.bse-hero__inner {
		grid-template-columns: 38% minmax(0, 1fr);
		padding: calc(var(--bse-h, 78px) + 28px) 20px 48px 0;
	}

	.bse-hero__logo { width: clamp(130px, 28vw, 220px); }
	.bse-hero__title { font-size: clamp(26px, 6vw, 48px); }
	.bse-hero__text { font-size: clamp(13px, 2.1vw, 16px); line-height: 1.6; }
	.bse-hero__tagline { font-size: clamp(15px, 2.8vw, 22px); }
	.bse-hero__cue { display: none; }
}

@media (max-width: 600px) {
	.bse-hero__inner {
		grid-template-columns: 33% minmax(0, 1fr);
		padding-right: 16px;
	}

	.bse-hero__media::after {
		background: linear-gradient(90deg, rgba(150, 6, 10, 0) 10%, rgba(140, 5, 9, 0.74) 36%, rgba(112, 4, 7, 0.9) 100%);
	}
}

@media (max-width: 480px) {
	.bse-hero__btn { padding: 15px 20px 14px 22px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
	.bse-hero__cue i::after { animation: none; }
}
