/* wp-content/plugins/ceca-widgets/widgets/ceca-header/ceca-header.css */

/* Geometry mirrors Figma node 152:1008: 50px #411024 top bar, 55px white main
   bar, content locked to the site width (1440px canvas, 72px gutters via the
   child theme's --ceca-site-width / --ceca-gutter). Bar backgrounds break out
   to the full viewport with 50vw margins so the widget works inside a boxed
   Elementor container. */

.ceca-header {
	--ceca-h-top-bg: #411024;
	--ceca-h-top-color: #ffffff;
	--ceca-h-top-h: 50px;
	--ceca-h-main-bg: #ffffff;
	--ceca-h-main-color: #411024;
	--ceca-h-main-h: 55px;
	--ceca-h-menu-gap: 20px;
	--ceca-h-drop-bg: #ffffff;
	--ceca-h-drop-color: #411024;
	--ceca-h-mega-label: #ffffff;
	--ceca-h-mega-overlay: rgba(0, 0, 0, 0.2);
	--ceca-h-mega-overlay-hover: rgba(0, 0, 0, 0.35);
	--ceca-h-search-bg: #e8e8e8;
	--ceca-h-search-w: 276px;
	/* Focus/hover cue colour. Was the pink #c65a93 — user: no pink focus
	   states anywhere, so the cue is the brand plum instead. */
	--ceca-h-accent: #411024;
}

/* Mega panels must float above page content. */
.ceca-header {
	position: relative;
	z-index: 100;
}

.ceca-header__bar {
	position: relative;
	z-index: 0;
}

/* Full-bleed background layer; the bar's own box stays inside the container. */
.ceca-header__bar::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: calc(50% - 50vw);
	right: calc(50% - 50vw);
	z-index: -1;
}

.ceca-header__bar--top::before {
	background: var(--ceca-h-top-bg);
}

.ceca-header__bar--main::before {
	background: var(--ceca-h-main-bg);
}

/* The child theme caps + pads every top-level container to the site grid, so
   the inner rows just fill the container's content box — adding our own
   max-width/padding here would double-inset the header content. */
.ceca-header__inner {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.ceca-header__inner--top {
	min-height: var(--ceca-h-top-h);
}

.ceca-header__inner--main {
	min-height: var(--ceca-h-main-h);
}

/* --- Menus (shared) ------------------------------------------------------ */

.ceca-header .ceca-header__menu {
	display: flex;
	align-items: center;
	gap: var(--ceca-h-menu-gap);
	list-style: none;
	margin: 0;
	padding: 0;
}

.ceca-header .ceca-header__menu a {
	display: block;
	text-decoration: none;
	transition: opacity 0.2s ease, color 0.2s ease;
}

/* --- Top bar ------------------------------------------------------------- */

.ceca-header .ceca-header__menu--utility a {
	color: var(--ceca-h-top-color);
	font-size: 18px;
	font-weight: 400;
}

.ceca-header__account {
	display: flex;
	align-items: center;
	gap: 20px;
}

.ceca-header .ceca-header__account a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ceca-h-top-color);
	font-size: 14px;
	font-weight: 400;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.ceca-header__account svg {
	width: 18px;
	height: 18px;
}

/* Logged in, Profile / Members Area / Logout match the top-bar menu
   (Shop, About, News, Contact) rather than the 14px join/login pair
   (user, 2026-09-30). Extra class so the account typography control
   can't pull them back down. */
.ceca-header .ceca-header__account.ceca-header__account--in > a,
.ceca-header .ceca-header__account.ceca-header__account--in > .ceca-header__ma > a {
	font-size: 18px;
}

/* Hover colours restated explicitly so Elementor kit `a:hover` rules can
   never recolour them (that global was the stray pink hover). */
.ceca-header .ceca-header__menu--utility a:hover,
.ceca-header .ceca-header__account a:hover {
	color: var(--ceca-h-top-color);
	opacity: 0.75;
}

/* --- Main bar ------------------------------------------------------------ */

.ceca-header .ceca-header__logo {
	display: inline-flex;
	align-items: center;
	flex: none;
	text-decoration: none;
}

.ceca-header__logo img {
	display: block;
	max-height: calc(var(--ceca-h-main-h) - 16px);
	width: auto;
}

.ceca-header .ceca-header__logo-text {
	color: var(--ceca-h-main-color);
	font-size: 24px;
	font-weight: 700;
}

.ceca-header__primary {
	margin-left: auto;
}

/* Menu items span the full bar height so the hover chain from link to mega
   panel is unbroken. */
.ceca-header__utility,
.ceca-header__primary {
	align-self: stretch;
	display: flex;
}

.ceca-header .ceca-header__menu--primary > li,
.ceca-header .ceca-header__menu--utility > li {
	display: flex;
	align-items: center;
}

/* Design 257:3573: main nav is BLACK 20/24 bold (the plum stays on the
   logo, top bar and megas). */
.ceca-header .ceca-header__menu--primary > li > a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 0;
	color: #000000;
	font-size: 20px;
	font-weight: 700;
}

.ceca-header .ceca-header__menu--primary > li > a:hover {
	color: #000000;
	opacity: 0.75;
}

/* Chevron from the Figma frame (stroke path), tinted via currentColor. */
.ceca-header .ceca-header__menu--primary > .menu-item-has-children > a::after {
	content: '';
	width: 11px;
	height: 7px;
	flex: none;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11.5 6.5' fill='none'%3E%3Cpath d='M0.35 0.35L5.77 5.77L11.18 0.35' stroke='black'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11.5 6.5' fill='none'%3E%3Cpath d='M0.35 0.35L5.77 5.77L11.18 0.35' stroke='black'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 0.25s ease;
}

.ceca-header .ceca-header__menu--primary > .menu-item-has-children:hover > a::after,
.ceca-header .ceca-header__menu--primary > .menu-item-has-children:focus-within > a::after {
	transform: rotate(180deg);
}

/* --- Mega menus ----------------------------------------------------------
   Figma nodes 128:103 / 152:950 / 225:2418: full-site-width white panel,
   22px plum title, 306×200 image cards in a 4-up 24px-gap grid, labels 25/30
   bold white inset 20px, overlay rgba(0,0,0,.2). */

.ceca-header .ceca-mega {
	position: absolute;
	/* 1px into the bar so no subpixel seam shows between bar and panel. */
	top: calc(100% - 1px);
	left: 50%;
	width: min(100vw, var(--ceca-site-width, 1440px));
	background: var(--ceca-h-drop-bg);
	/* Offset ≥ blur + |spread| so the shadow casts only downward — an
	   all-round shadow bleeds up onto the white bar and tints it grey. */
	box-shadow: 0 30px 40px -10px rgba(65, 16, 36, 0.2);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 10px);
	transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.3s;
	z-index: 50;
}

/* Top-bar megas (e.g. About) open directly beneath the top bar, overlaying
   the main bar — the bar needs raised stacking so its panel paints on top. */
.ceca-header__bar--top {
	z-index: 1;
}

/* No 1px overlap here: under the plum top bar it covered the bar's bottom
   edge, so the panel read as sitting too high. The seam it hides only
   exists white-on-white under the main bar. */
.ceca-header .ceca-header__bar--top .ceca-mega {
	top: 100%;
}

/* The drawer's logo/search/close row exists only for the mobile drawer. */
@media (min-width: 1025px) {
	.ceca-header__drawer-top {
		display: none;
	}
}

/* Hover/focus opening is desktop-only — on touch layouts the megas are
   slide-in drawers driven by ceca-header.js. */
@media (min-width: 1025px) {
	.ceca-header .menu-item:hover > .ceca-mega,
	.ceca-header .menu-item:focus-within > .ceca-mega {
		opacity: 1;
		visibility: visible;
		transform: translate(-50%, 0);
	}
}

.ceca-mega__inner {
	padding: 20px var(--ceca-gutter, 72px) 80px;
}

.ceca-header .ceca-mega__title {
	margin: 0 0 20px;
	color: var(--ceca-h-drop-color);
	font-size: 22px;
	font-weight: 700;
	line-height: 32px;
}

.ceca-header .ceca-mega__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ceca-header .ceca-mega__card {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 306 / 200;
	text-decoration: none;
	background: var(--ceca-h-top-bg);
}

.ceca-header .ceca-mega__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.ceca-mega__overlay {
	position: absolute;
	inset: 0;
	background: var(--ceca-h-mega-overlay);
	transition: background-color 0.3s ease;
}

.ceca-header .ceca-mega__label {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1;
	padding: 20px;
	color: var(--ceca-h-mega-label);
	font-size: 25px;
	font-weight: 700;
	line-height: 30px;
}

.ceca-header .ceca-mega__card:hover .ceca-mega__image,
.ceca-header .ceca-mega__card:focus-visible .ceca-mega__image {
	transform: scale(1.06);
}

.ceca-header .ceca-mega__card:hover .ceca-mega__overlay,
.ceca-header .ceca-mega__card:focus-visible .ceca-mega__overlay {
	background: var(--ceca-h-mega-overlay-hover);
}

/* --- Search -------------------------------------------------------------- */

/* The wrap reserves a fixed slot in the flex row; the form expands over it as
   an overlay on focus, so the menu never reflows or wraps. */
.ceca-header__search-wrap {
	position: relative;
	flex: none;
	width: var(--ceca-h-search-w);
	height: 40px;
	margin: 0 auto 0 10px;
	align-self: center;
	z-index: 10;
}

.ceca-header__search {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	display: flex;
	align-items: center;
	background: var(--ceca-h-search-bg);
	border-radius: 5px;
	transition:
		background-color 0.35s ease,
		box-shadow 0.35s ease;
}

.ceca-header__search input {
	flex: 1;
	min-width: 0;
	height: 100%;
	padding: 0 0 0 15px;
	border: 0;
	background: transparent;
	color: #411024;
	font-size: 16px;
	outline: none;
	caret-color: var(--ceca-h-accent);
}

.ceca-header__search input::placeholder {
	color: #7e7e7e;
	opacity: 1;
	transition: opacity 0.3s ease;
}

.ceca-header__search input::-webkit-search-decoration,
.ceca-header__search input::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

/* High-specificity + explicit hover/focus states so Elementor kit rules for
   bare `button` elements (the pink hover) can never restyle this. */
.ceca-header .ceca-header__search button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 100%;
	padding: 0;
	border: 0;
	border-radius: 0 5px 5px 0;
	background: transparent;
	color: var(--ceca-h-main-color);
	cursor: pointer;
	transition: color 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ceca-header .ceca-header__search button:hover,
.ceca-header .ceca-header__search button:focus {
	background: transparent;
	color: var(--ceca-h-accent);
}

.ceca-header__search button svg {
	width: 20px;
	height: 20px;
}

/* Focus animation: the pill lifts to white with an accent outline, the caret
   and magnifier take the accent, the placeholder fades back. No resize. */
.ceca-header__search:focus-within {
	background: #ffffff;
	box-shadow:
		0 0 0 2px var(--ceca-h-accent),
		0 10px 28px rgba(65, 16, 36, 0.14);
}

.ceca-header__search:focus-within input::placeholder {
	opacity: 0.35;
}

.ceca-header__search:focus-within button {
	color: var(--ceca-h-accent);
	transform: scale(1.12);
}

/* Live results: white panel dropped under the pill, shadow cast down like the
   megas. Wider than the pill so long company names read on one line. */
.ceca-header__search-results {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: min(400px, calc(100vw - 2 * var(--ceca-gutter, 20px)));
	max-height: 430px;
	overflow-y: auto;
	background: #ffffff;
	border-radius: 5px;
	box-shadow: 0 14px 32px rgba(65, 16, 36, 0.18);
	z-index: 30;
}

.ceca-header .ceca-header__result {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 9px 16px;
	font-size: 16px;
	line-height: 20px;
	font-weight: 700;
	color: #1a1a1a;
	text-decoration: none;
	transition: background-color 0.15s ease;
}

.ceca-header .ceca-header__result:hover,
.ceca-header .ceca-header__result.is-active {
	background: rgba(227, 227, 227, 0.5);
	color: #1a1a1a;
}

.ceca-header__result-logo {
	flex: none;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #ffffff;
	border: 1px solid #e8e8e8;
	border-radius: 4px;
	overflow: hidden;
}

.ceca-header__result-logo img {
	max-width: 38px;
	max-height: 38px;
	width: auto;
	height: auto;
	object-fit: contain;
}

/* Image-less results (pages, documents, most events) get a line icon tile. */
.ceca-header__result-logo--icon {
	background: #f5f5f5;
	border-color: #f0f0f0;
	color: #8a8a8a;
}

.ceca-header__result-logo--icon svg {
	width: 22px;
	height: 22px;
}

.ceca-header__result-label {
	margin: 0;
	padding: 12px 16px 5px;
	font-size: 12px;
	line-height: 16px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #545454;
	border-top: 1px solid #f0f0f0;
}

.ceca-header__result-label:first-child {
	border-top: 0;
}

.ceca-header__result-name {
	min-width: 0;
}

.ceca-header__result-empty {
	margin: 0;
	padding: 14px 16px 6px;
	font-size: 14px;
	line-height: 20px;
	color: #545454;
}

.ceca-header .ceca-header__result-all {
	display: block;
	padding: 12px 16px;
	border-top: 1px solid #e8e8e8;
	font-size: 14px;
	line-height: 20px;
	font-weight: 700;
	color: var(--ceca-h-accent);
	text-decoration: none;
}

.ceca-header .ceca-header__result-all:hover,
.ceca-header .ceca-header__result-all.is-active {
	background: rgba(227, 227, 227, 0.5);
	color: var(--ceca-h-accent);
}

/* --- Squeeze range (1025–1440): keep the nav on one line ------------------ */

.ceca-header .ceca-header__menu--primary > li > a,
.ceca-header .ceca-header__menu--utility a,
.ceca-header .ceca-header__account a {
	white-space: nowrap;
}

/* Desktop-only fallback shrink so items never wrap; explicit responsive
   typography set in the widget's controls still wins. */
@media (max-width: 1440px) and (min-width: 1025px) {
	.ceca-header {
		--ceca-h-menu-gap: 14px;
		--ceca-h-search-w: 230px;
	}

	.ceca-header .ceca-header__menu--primary > li > a {
		font-size: 20px;
	}
}

@media (max-width: 1300px) and (min-width: 1025px) {
	.ceca-header {
		--ceca-h-menu-gap: 10px;
		--ceca-h-search-w: 190px;
	}

	.ceca-header .ceca-header__menu--primary > li > a {
		font-size: 17px;
		gap: 6px;
	}

	.ceca-header .ceca-header__menu--utility a,
	.ceca-header .ceca-header__account.ceca-header__account--in > a,
	.ceca-header .ceca-header__account.ceca-header__account--in > .ceca-header__ma > a {
		font-size: 16px;
	}
}

/* --- Mobile -------------------------------------------------------------- */

/* Utility/account links are cloned into the burger panel by ceca-header.js;
   the clone container only exists on mobile. Same for the drawer Back
   button and the quick-login icon — mobile-only controls. */
.ceca-header__mobile-extra,
.ceca-header .ceca-mega__back,
.ceca-header .ceca-header__login-quick {
	display: none;
}

.ceca-header__toggle-box {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.ceca-header__toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 28px;
	height: 24px;
	flex: none;
	cursor: pointer;
}

.ceca-header__toggle span {
	display: block;
	height: 2px;
	background: var(--ceca-h-main-color);
	border-radius: 2px;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 1024px) {
	/* The top bar collapses — its links live inside the burger panel
	   (cloned there by ceca-header.js). */
	.ceca-header__bar--top {
		display: none;
	}

	.ceca-header__bar--main {
		position: relative;
	}

	.ceca-header__toggle {
		display: flex;
	}

	/* Search / person / burger sit tight together on small screens (user:
	   the 20px desktop gap read too spread out) — the logo keeps its
	   distance via the search wrap's auto margin. */
	.ceca-header__inner--main {
		gap: 8px;
	}

	/* Full-screen drawer. Fixed to the viewport rather than hung off the bar,
	   so it can never sit awkwardly inside the header's borders, and it
	   carries its own logo / search / close row. Kept in the DOM and revealed
	   with a circular clip growing out of the burger — display:none cannot be
	   transitioned. */
	.ceca-header__primary {
		display: flex;
		flex-direction: column;
		position: fixed;
		inset: 0;
		width: 100vw;
		height: 100dvh;
		min-height: 0;
		max-height: none;
		background: var(--ceca-h-main-bg);
		box-shadow: none;
		z-index: 200;
		overflow-y: auto;
		/* The mega drawers sit at translateX(100%); without this they can be
		   swiped into view horizontally. */
		overflow-x: hidden;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
		visibility: hidden;
		opacity: 0;
		clip-path: circle(0% at calc(100% - 42px) 42px);
		transition:
			clip-path 0.5s cubic-bezier(0.4, 0, 0.2, 1),
			opacity 0.2s ease,
			visibility 0s linear 0.5s;
	}

	.ceca-header__toggle-box:checked ~ .ceca-header__primary {
		visibility: visible;
		opacity: 1;
		clip-path: circle(150% at calc(100% - 42px) 42px);
		transition:
			clip-path 0.55s cubic-bezier(0.4, 0, 0.2, 1),
			opacity 0.2s ease,
			visibility 0s;
	}

	/* Logo / search / close, pinned so they stay reachable while scrolling. */
	.ceca-header__drawer-top {
		display: flex;
		position: sticky;
		top: 0;
		z-index: 3;
		display: flex;
		align-items: center;
		gap: 18px;
		padding: 12px var(--ceca-gutter, 32px);
		background: var(--ceca-h-main-bg);
		/* Hairline as a shadow, not a border: a border took 1px out of the
		   60px row and centred the logo 0.5px higher than in the closed
		   bar, so it jumped on open (user, 2026-10-05). */
		box-shadow: 0 1px 0 rgba(65, 16, 36, 0.1);
	}

	.ceca-header__drawer-top .ceca-header__logo {
		margin-right: auto;
	}

	.ceca-header__drawer-top img {
		max-height: 30px;
		width: auto;
	}

	.ceca-header .ceca-header__drawer-search,
	.ceca-header .ceca-header__drawer-close {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		padding: 0;
		background: transparent;
		border: 0;
		color: var(--ceca-h-main-color);
		cursor: pointer;
	}

	.ceca-header__drawer-top svg {
		width: 24px;
		height: 24px;
	}

	/* Rows slide in from the right, one after another. */
	.ceca-header__primary .ceca-header__menu--primary > li,
	.ceca-header__primary .ceca-region-nav__drawer-list > li,
	.ceca-header__primary .ceca-header__mobile-extra > * {
		opacity: 0;
		transform: translateX(50px);
		transition:
			opacity 0.35s ease,
			transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
	}

	.ceca-header__toggle-box:checked ~ .ceca-header__primary .ceca-header__menu--primary > li,
	.ceca-header__toggle-box:checked ~ .ceca-header__primary .ceca-region-nav__drawer-list > li,
	.ceca-header__toggle-box:checked ~ .ceca-header__primary .ceca-header__mobile-extra > * {
		opacity: 1;
		transform: none;
		transition-delay: calc(var(--ceca-i, 0) * 45ms + 120ms);
	}

	.ceca-header__toggle-box:checked ~ .ceca-header__primary .ceca-region-nav__drawer-title {
		transition-delay: 100ms;
	}

	@media (prefers-reduced-motion: reduce) {
		.ceca-header__primary,
		.ceca-header__primary .ceca-header__menu--primary > li,
		.ceca-header__primary .ceca-region-nav__drawer-list > li,
		.ceca-header__primary .ceca-header__mobile-extra > * {
			transition: none;
		}

		.ceca-header__primary {
			clip-path: none;
		}
	}

	/* The WP admin bar sits above everything, so the drawer starts where the
	   bar ends — otherwise it covers the drawer's own logo and close button.
	   At 600px and below WordPress lets the bar scroll away with the page, so
	   ceca-header.js measures where it ends at the moment the menu opens
	   (--ceca-drawer-top: 0 once scrolled off). The fallbacks are WP's fixed
	   heights: 46px on phones, 32px from 783px up. */
	body.admin-bar .ceca-header__primary {
		top: var(--ceca-drawer-top, 46px);
		height: calc(100dvh - var(--ceca-drawer-top, 46px));
	}

	@media (min-width: 783px) {
		body.admin-bar .ceca-header__primary {
			top: var(--ceca-drawer-top, 32px);
			height: calc(100dvh - var(--ceca-drawer-top, 32px));
		}
	}

	/* Page behind the full-screen drawer must not scroll (class set in JS). */
	body.ceca-drawer-open {
		overflow: hidden;
	}

	/* A mega drawer covers the panel; stop the panel scrolling behind it. */
	.ceca-header__primary.is-mega-open {
		overflow: hidden;
	}

	.ceca-header__toggle-box:checked ~ .ceca-header__primary {
		display: block;
	}

	.ceca-header__toggle-box:checked ~ .ceca-header__toggle span:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	.ceca-header__toggle-box:checked ~ .ceca-header__toggle span:nth-child(2) {
		opacity: 0;
	}

	.ceca-header__toggle-box:checked ~ .ceca-header__toggle span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	.ceca-header .ceca-header__menu--primary {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px 0;
	}

	.ceca-header .ceca-header__menu--primary > li {
		display: block;
		position: static;
	}

	.ceca-header .ceca-header__menu--primary > li > a,
	.ceca-header__mobile-extra a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		padding: 14px var(--ceca-gutter, 32px);
		color: var(--ceca-h-mob-color, var(--ceca-h-main-color));
		font-size: 20px;
		font-weight: 700;
	}

	/* Cloned top-bar links keep their white desktop colour at higher
	   specificity — restate them for the panel, hover included. */
	.ceca-header .ceca-header__mobile-extra .ceca-header__menu--utility a,
	.ceca-header .ceca-header__mobile-extra .ceca-header__menu--utility a:hover,
	.ceca-header .ceca-header__mobile-extra .ceca-header__login,
	.ceca-header .ceca-header__mobile-extra .ceca-header__login:hover {
		color: var(--ceca-h-mob-color, var(--ceca-h-main-color));
		font-size: 18px;
		font-weight: 400;
		opacity: 1;
	}

	/* Parent chevrons point into the drawer. */
	.ceca-header .ceca-header__menu--primary > .menu-item-has-children > a::after,
	.ceca-header__mobile-extra .menu-item-has-children > a::after {
		content: '';
		width: 11px;
		height: 7px;
		flex: none;
		background: currentColor;
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11.5 6.5' fill='none'%3E%3Cpath d='M0.35 0.35L5.77 5.77L11.18 0.35' stroke='black'/%3E%3C/svg%3E") center / contain no-repeat;
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11.5 6.5' fill='none'%3E%3Cpath d='M0.35 0.35L5.77 5.77L11.18 0.35' stroke='black'/%3E%3C/svg%3E") center / contain no-repeat;
		transform: none;
	}

	/* Accordion chevrons: down when closed, up when open — in EVERY state.
	   Hover/:focus-within must never restyle them (a tapped link keeps
	   focus, which is what bent chevrons sideways before). */
	.ceca-header .ceca-header__menu--primary > .menu-item-has-children:hover > a::after,
	.ceca-header .ceca-header__menu--primary > .menu-item-has-children:focus-within > a::after,
	.ceca-header__mobile-extra .menu-item-has-children:hover > a::after,
	.ceca-header__mobile-extra .menu-item-has-children:focus-within > a::after {
		transform: none;
	}

	.ceca-header .ceca-header__menu--primary > .menu-item-has-children.is-open > a::after,
	.ceca-header .ceca-header__menu--primary > .menu-item-has-children.is-open:hover > a::after,
	.ceca-header .ceca-header__menu--primary > .menu-item-has-children.is-open:focus-within > a::after,
	.ceca-header__mobile-extra .menu-item-has-children.is-open > a::after,
	.ceca-header__mobile-extra .menu-item-has-children.is-open:hover > a::after,
	.ceca-header__mobile-extra .menu-item-has-children.is-open:focus-within > a::after {
		transform: rotate(180deg);
	}

	/* Megas become slide-in drawers covering the panel. */
	.ceca-header .ceca-mega {
		position: absolute;
		inset: 0;
		top: 0;
		left: 0;
		width: 100%;
		/* The panel is now the full viewport, so the drawer matches it. */
		max-height: 100dvh;
		transform: translateX(100%);
		opacity: 1;
		visibility: visible;
		box-shadow: none;
		transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
		overflow-y: auto;
		z-index: 5;
	}

	.ceca-header .menu-item.is-open > .ceca-mega {
		transform: translateX(0);
	}

	/* Explicit hover/focus states so no global button styling can restyle it. */
	.ceca-header .ceca-mega__back,
	.ceca-header .ceca-mega__back:hover,
	.ceca-header .ceca-mega__back:focus {
		display: flex;
		align-items: center;
		gap: 10px;
		width: 100%;
		padding: 14px var(--ceca-gutter, 32px);
		border: 0;
		border-radius: 0;
		background: transparent;
		color: var(--ceca-h-main-color);
		font-size: 18px;
		font-weight: 700;
		cursor: pointer;
		text-align: left;
	}

	.ceca-header .ceca-mega__back svg {
		width: 11px;
		height: 11px;
		transform: rotate(90deg);
	}

	.ceca-mega__inner {
		padding: 0 var(--ceca-gutter, 32px) 24px;
	}

	.ceca-header .ceca-mega__title {
		margin: 6px 0 14px;
		font-size: 20px;
	}

	.ceca-header .ceca-mega__grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	/* Cloned utility + account links at the bottom of the panel. */
	.ceca-header__mobile-extra {
		display: block;
		border-top: 1px solid #ececec;
		margin-top: 8px;
		padding: 8px 0;
	}

	.ceca-header__mobile-extra .ceca-header__menu--utility,
	.ceca-header__mobile-extra .ceca-header__account {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.ceca-header__mobile-extra a {
		font-weight: 400;
		font-size: 18px;
	}

	/* Quick login icon beside the burger. */
	.ceca-header .ceca-header__login-quick,
	.ceca-header .ceca-header__login-quick:hover,
	.ceca-header .ceca-header__login-quick:focus {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		flex: none;
		width: 34px;
		height: 34px;
		color: var(--ceca-h-main-color);
		background: transparent;
	}

	.ceca-header__login-quick svg {
		width: 22px;
		height: 22px;
	}

	/* Search collapses to just the magnifier beside the login icon; tapping
	   it expands the pill leftwards (ceca-header.js toggles .is-open). */
	.ceca-header__search-wrap {
		margin: 0 2px 0 auto;
		width: 40px;
		flex: none;
	}

	.ceca-header__search {
		left: auto;
		right: 0;
		width: 40px;
		background: transparent;
		transition:
			width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
			background-color 0.3s ease,
			box-shadow 0.3s ease;
	}

	.ceca-header__search input {
		opacity: 0;
		pointer-events: none;
		padding-left: 14px;
		transition: opacity 0.2s ease;
	}

	/* Expansion stops short of the logo (~230px reserved for logo + icons). */
	/* Expanded search takes the whole bar rather than squeezing between the
	   logo and the icons. Dropping the wrap out of the positioning context
	   lets the form resolve against .ceca-header__bar--main, so it can span
	   gutter-to-gutter and sit over the logo and icons. */
	.ceca-header__search-wrap.is-open {
		position: static;
	}

	/* Open: the whole header row, edge to edge — the bar's box sits inside
	   the gutter, so it bleeds out the same way the bar's background does
	   (user, 2026-10-05). Placeholder and magnifier sit one gutter in, in
	   line with the logo and the icons it covers. */
	.ceca-header__search-wrap.is-open .ceca-header__search {
		position: absolute;
		top: 0;
		bottom: 0;
		left: calc(50% - 50vw);
		right: calc(50% - 50vw);
		width: auto;
		height: auto;
		border-radius: 0;
		background: var(--ceca-h-search-bg);
		box-shadow: 0 8px 24px rgba(65, 16, 36, 0.16);
		z-index: 30;
	}

	.ceca-header__search-wrap.is-open .ceca-header__search:focus-within {
		background: #ffffff;
		box-shadow:
			inset 0 -2px 0 var(--ceca-h-accent),
			0 10px 28px rgba(65, 16, 36, 0.14);
	}

	.ceca-header__search-wrap.is-open .ceca-header__search input {
		padding-left: var(--ceca-gutter, 20px);
	}

	/* The magnifier sits as far in from the right edge as the placeholder
	   does from the left: button hugs the glyph, a gutter's margin, and the
	   focus scale grows inward so the gap holds. */
	.ceca-header .ceca-header__search-wrap.is-open .ceca-header__search button {
		width: auto;
		margin-right: var(--ceca-gutter, 20px);
		transform-origin: right center;
	}

	/* Open / close motion (ceca-header.js sets the vars): the bar is revealed
	   as a circle growing out of the magnifier's old spot, the magnifier
	   glides to its new one, then the input slides in. Closing runs the
	   circle back into the icon. */
	.ceca-header__search-wrap.is-open .ceca-header__search {
		animation: ceca-h-search-reveal 0.6s cubic-bezier(0.65, 0, 0.35, 1) both;
	}

	.ceca-header__search-wrap.is-open .ceca-header__search button svg {
		animation: ceca-h-search-glide 0.6s cubic-bezier(0.65, 0, 0.35, 1) both;
	}

	.ceca-header__search-wrap.is-open .ceca-header__search input {
		animation: ceca-h-search-input 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
	}

	.ceca-header__search-wrap.is-closing .ceca-header__search {
		animation: ceca-h-search-hide 0.38s cubic-bezier(0.65, 0, 0.35, 1) both;
	}

	.ceca-header__search-wrap.is-closing .ceca-header__search input {
		animation: none;
		opacity: 0;
		transition: opacity 0.12s ease;
	}

	.ceca-header__search-wrap.is-closing .ceca-header__search button svg {
		animation: ceca-h-search-glide-back 0.38s cubic-bezier(0.65, 0, 0.35, 1) both;
	}

	@keyframes ceca-h-search-reveal {
		from { clip-path: circle(20px at var(--ceca-h-sx, 90%) 50%); }
		to { clip-path: circle(150vmax at var(--ceca-h-sx, 90%) 50%); }
	}

	@keyframes ceca-h-search-hide {
		from { clip-path: circle(150vmax at var(--ceca-h-sx, 90%) 50%); }
		to { clip-path: circle(20px at var(--ceca-h-sx, 90%) 50%); }
	}

	@keyframes ceca-h-search-glide {
		from { transform: translateX(var(--ceca-h-sdx, 0px)) rotate(-90deg); }
		to { transform: none; }
	}

	@keyframes ceca-h-search-glide-back {
		from { transform: none; }
		to { transform: translateX(var(--ceca-h-sdx, 0px)) rotate(-90deg); }
	}

	@keyframes ceca-h-search-input {
		from { opacity: 0; transform: translateX(24px); filter: blur(4px); }
		to { opacity: 1; transform: none; filter: none; }
	}

	@media (prefers-reduced-motion: reduce) {
		.ceca-header__search-wrap.is-open .ceca-header__search,
		.ceca-header__search-wrap.is-open .ceca-header__search button svg,
		.ceca-header__search-wrap.is-open .ceca-header__search input,
		.ceca-header__search-wrap.is-closing .ceca-header__search,
		.ceca-header__search-wrap.is-closing .ceca-header__search button svg {
			animation: none;
		}
	}

	.ceca-header__search-wrap.is-open .ceca-header__search input {
		opacity: 1;
		pointer-events: auto;
		transition: opacity 0.25s ease 0.15s;
	}

	.ceca-header__search-wrap.is-open .ceca-header__search-results {
		left: calc(50% - 50vw);
		right: calc(50% - 50vw);
		min-width: 0;
		width: auto;
	}

	/* The wrap is only the 40px icon slot here and the pill grows leftwards,
	   so the results panel hangs from the right edge to match. */
	.ceca-header__search-results {
		left: auto;
		right: 0;
		min-width: max(240px, calc(100vw - 2 * var(--ceca-gutter, 20px) - 230px));
		max-height: min(430px, calc(100vh - 140px));
	}

	/* Member login row inherits the list styling; How to join becomes the
	   panel-footer CTA. Explicit hover/focus so nothing global restyles it. */
	.ceca-header__mobile-extra .ceca-header__login svg {
		width: 18px;
		height: 18px;
	}

	.ceca-header .ceca-header__mobile-extra a.ceca-header__join-cta,
	.ceca-header .ceca-header__mobile-extra a.ceca-header__join-cta:hover,
	.ceca-header .ceca-header__mobile-extra a.ceca-header__join-cta:focus {
		display: flex;
		align-items: center;
		justify-content: center;
		margin: 12px var(--ceca-gutter, 32px) 18px;
		padding: 13px 20px;
		width: auto;
		background: var(--ceca-h-join-bg, var(--ceca-h-top-bg));
		color: var(--ceca-h-join-color, var(--ceca-h-top-color));
		border-radius: 6px;
		font-size: 18px;
		font-weight: 700;
		opacity: 1;
	}
}


/* --- drawer-top search (mobile, menu open) -------------------------------- */
/* The bar's search wrap relocates here while searching from the open menu:
   the pill expands across the drawer top but stops before the close button,
   which stays tappable. Same visual language as the closed-menu expansion. */
@media (max-width: 1024px) {
	.ceca-header__drawer-top .ceca-header__search-wrap {
		margin: 0;
		width: 40px;
		flex: none;
	}

	.ceca-header__drawer-top.is-search .ceca-header__drawer-search {
		display: none;
	}

	.ceca-header__drawer-top .ceca-header__search-wrap.is-open {
		position: static;
	}

	.ceca-header__drawer-top .ceca-header__search-wrap.is-open .ceca-header__search {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		left: var(--ceca-gutter, 32px);
		right: calc(var(--ceca-gutter, 32px) + 58px);
		width: auto;
		background: var(--ceca-h-search-bg);
		box-shadow: 0 8px 24px rgba(65, 16, 36, 0.16);
		z-index: 30;
	}

	.ceca-header__drawer-top .ceca-header__search-wrap.is-open .ceca-header__search-results {
		left: var(--ceca-gutter, 32px);
		right: var(--ceca-gutter, 32px);
		top: 100%;
		min-width: 0;
		width: auto;
	}
}

/* --- Members Area hover mega (logged in, Figma 2685:1642) ----------------- */
/* The account row must stretch so the item reaches the bar's bottom edge —
   otherwise the hover chain from link to panel breaks over the gap. */
.ceca-header__account {
	align-self: stretch;
}

.ceca-header .ceca-header__ma {
	position: static;
	display: flex;
	align-items: center;
	align-self: stretch;
}

/* The account-row link styling (inline-flex, white 14px, hover dim) must not
   reach the mega cards nested inside it — inline-flex collapses a card whose
   content is all absolutely positioned. */
.ceca-header .ceca-header__account .ceca-mega__card,
.ceca-header .ceca-header__account .ceca-mega__card:hover {
	display: block;
	opacity: 1;
}

/* --- closed bar / open drawer parity (2369:5781 vs 2384:14340) ------------ */
/* Both rows share one geometry — 60px row, 29px logo, the same icon boxes
   and gaps, and the close X in exactly the burger's slot (a ghost span
   holds the person icon's place in the drawer) — so opening the menu never
   makes the header jump. */
@media (max-width: 1024px) {
	/* The bar's own 10px block padding made it 80px tall while the drawer
	   row is 60 — the whole header shifted on open. */
	.ceca-header__bar--main {
		padding-block: 0;
	}

	.ceca-header__inner--main {
		min-height: 60px;
		gap: 15px;
	}

	.ceca-header__logo img,
	.ceca-header__drawer-top img {
		max-height: 29px;
	}

	/* Collapsed search slot: 28px box, 22px glyph. */
	.ceca-header__search-wrap {
		width: 28px;
		margin: 0 0 0 auto;
	}

	.ceca-header__search {
		width: 28px;
	}

	.ceca-header .ceca-header__search button {
		width: 28px;
	}

	.ceca-header__search button svg {
		width: 22px;
		height: 22px;
	}

	/* Person icon: 28px box, 24px glyph — in every state. Only the resting
	   state was sized here, so a tap (:hover/:focus) fell back to the 34px
	   box and shoved the search icon 6px left (user, 2026-10-05). */
	.ceca-header .ceca-header__login-quick,
	.ceca-header .ceca-header__login-quick:hover,
	.ceca-header .ceca-header__login-quick:focus,
	.ceca-header .ceca-header__login-quick:active {
		width: 28px;
		height: 28px;
	}

	.ceca-header__login-quick svg {
		width: 24px;
		height: 24px;
	}

	/* Burger per 2396:16352: 12px wide, three 1px BLACK lines on a 4px
	   pitch (9px tall) — padding+negative margin keep a real tap target
	   without moving the visual. The drawer's X shares the right edge. */
	.ceca-header__toggle {
		box-sizing: border-box;
		width: 40px;
		height: 40px;
		align-items: center;
		justify-content: center;
		/* 2px lines (user, 2026-10-05 — matching the drawer X's weight) on
		   the same 8px pitch, so the X morph lands in the same place. */
		gap: 6px;
		padding: 0;
		margin: 0;
	}

	.ceca-header__toggle span {
		width: 100%;
	}

	.ceca-header__toggle span {
		height: 2px;
		/* Rounded ends, matching the drawer X's round line caps (user,
		   2026-10-05). */
		border-radius: 1px;
		background: #000;
	}

	.ceca-header__toggle-box:checked ~ .ceca-header__toggle span:nth-child(1) {
		/* Ends as a 22x22 X — the same size and spot as the drawer's X, so
		   the morph and the drawer icon read as one. */
		transform: translateY(8px) rotate(45deg) scaleX(0.78);
	}

	.ceca-header__toggle-box:checked ~ .ceca-header__toggle span:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg) scaleX(0.78);
	}

	/* All header icons are black on mobile (design 2396:16349). */
	.ceca-header .ceca-header__search button,
	.ceca-header .ceca-header__search button:hover,
	.ceca-header .ceca-header__search button:focus,
	.ceca-header .ceca-header__login-quick,
	.ceca-header .ceca-header__login-quick:hover,
	.ceca-header .ceca-header__login-quick:focus,
	.ceca-header .ceca-header__drawer-close {
		color: #000;
	}

	.ceca-header__drawer-top {
		gap: 8px;
		min-height: 60px;
		padding-top: 0;
		padding-bottom: 0;
	}

	.ceca-header .ceca-header__drawer-search {
		width: 28px;
		height: 28px;
	}

	.ceca-header .ceca-header__drawer-search svg {
		width: 22px;
		height: 22px;
	}

	.ceca-header__drawer-ghost {
		flex: none;
		width: 28px;
		height: 28px;
	}

	.ceca-header .ceca-header__drawer-close {
		width: 40px;
		height: 40px;
	}

	.ceca-header .ceca-header__drawer-close svg {
		/* 38px svg -> its 14/24 stroke span = 22px, matching the morph. */
		width: 38px;
		height: 38px;
	}
}

/* --- mobile drawer: flat accordion (2384:14340 / 2384:14461) -------------- */
/* Redesigned drawer: no slide-in mega panels, no staggered fly-in — a plain
   white list. Primary rows 20/24 bold black on a 44px pitch with a chevron
   that flips when its sub-links expand inline (17/24 regular, 34px pitch);
   the cloned top-bar links sit anchored at the drawer's foot. */
@media (max-width: 1024px) {
	.ceca-header__primary .ceca-header__menu--primary > li,
	.ceca-header__primary .ceca-region-nav__drawer-list > li,
	.ceca-header__primary .ceca-header__mobile-extra > * {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.ceca-header__toggle-box:checked ~ .ceca-header__primary .ceca-header__menu--primary > li,
	.ceca-header__toggle-box:checked ~ .ceca-header__primary .ceca-region-nav__drawer-list > li,
	.ceca-header__toggle-box:checked ~ .ceca-header__primary .ceca-header__mobile-extra > * {
		transition-delay: 0s;
	}

	/* Primary rows. */
	.ceca-header .ceca-header__menu--primary > li > a {
		padding: 10px 0;
		color: #000;
		font-size: 20px;
		line-height: 24px;
		font-weight: 700;
	}

	/* Chevron points down; flips up while the accordion is open. */
	.ceca-header .ceca-header__menu--primary > .menu-item-has-children > a::after,
	.ceca-header__mobile-extra .menu-item-has-children > a::after {
		margin-left: auto;
		transform: none;
	}

	.ceca-header .ceca-header__menu--primary > .menu-item-has-children.is-open > a::after,
	.ceca-header__mobile-extra .menu-item-has-children.is-open > a::after {
		transform: rotate(180deg);
	}

	/* Megas collapse to inline sub-link lists. The open/close animates via
	   the grid-rows trick (0fr -> 1fr): height tweens smoothly whatever the
	   content, which display:none can never do. */
	.ceca-header .menu-item .ceca-mega {
		position: static;
		display: grid;
		grid-template-rows: 0fr;
		width: auto;
		background: transparent;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	}

	.ceca-header .menu-item.is-open > .ceca-mega {
		display: grid;
		grid-template-rows: 1fr;
		position: static;
		width: auto;
		transform: none;
	}

	.ceca-header .menu-item .ceca-mega > .ceca-mega__inner {
		min-height: 0;
		overflow: hidden;
		opacity: 0;
		/* Sub links sit flush with their parent (no indent), and padding
		   must collapse with the row or the closed state holds a 14px
		   sliver open. */
		padding-inline: 0;
		padding-block: 0;
		transition: opacity 0.25s ease, padding 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	}

	.ceca-header .menu-item.is-open > .ceca-mega > .ceca-mega__inner {
		opacity: 1;
		padding-block: 2px 12px;
		transition: opacity 0.3s ease 0.1s, padding 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	}

	@media (prefers-reduced-motion: reduce) {
		.ceca-header .menu-item .ceca-mega,
		.ceca-header .menu-item .ceca-mega > .ceca-mega__inner {
			transition: none;
		}
	}

	.ceca-header .ceca-mega__back,
	.ceca-header .ceca-mega__title {
		display: none;
	}

	.ceca-header .menu-item .ceca-mega .ceca-mega__grid {
		display: block;
	}

	.ceca-header .ceca-mega__item {
		margin: 0;
	}

	.ceca-header .menu-item .ceca-mega .ceca-mega__card,
	.ceca-header .menu-item .ceca-mega .ceca-mega__card:hover,
	.ceca-header .menu-item .ceca-mega .ceca-mega__card:focus {
		position: static;
		display: block;
		aspect-ratio: auto;
		overflow: visible;
		padding: 5px 0;
		background: transparent;
	}

	.ceca-header .menu-item .ceca-mega .ceca-mega__image,
	.ceca-header .menu-item .ceca-mega .ceca-mega__overlay {
		display: none;
	}

	.ceca-header .menu-item .ceca-mega .ceca-mega__label {
		position: static;
		padding: 0;
		color: #1a1a1a;
		font-size: 17px;
		line-height: 24px;
		font-weight: 400;
	}

	/* Bottom block: plain 17/24 rows on a 34px pitch, anchored low. */
	.ceca-header__toggle-box:checked ~ .ceca-header__primary {
		display: flex;
		flex-direction: column;
	}

	/* Design gutter: the list sits 20px in, matching the closed bar. */
	.ceca-header__primary .ceca-header__menu--primary,
	.ceca-header .ceca-header__mobile-extra {
		padding-inline: var(--ceca-gutter, 20px);
	}

	/* The bottom links follow the primary list at a fixed 40px — the same
	   gap region pages show (their region menu fills the drawer) — rather
	   than being pushed to the foot of the screen, which left a big empty
	   band on every other page (user, 2026-10-06). */
	.ceca-header .ceca-header__mobile-extra {
		margin-top: 0;
		border-top: 0;
		padding-top: 40px;
		padding-bottom: 24px;
	}

	/* Every bottom row identical: 18/24 regular on a 34px pitch (design
	   2384:14340) — including the cloned account links, whatever state. */
	.ceca-header .ceca-header__mobile-extra .ceca-header__menu--utility a,
	.ceca-header .ceca-header__mobile-extra a.ceca-header__login,
	.ceca-header .ceca-header__mobile-extra a.ceca-header__login:hover,
	.ceca-header .ceca-header__mobile-extra a.ceca-header__login:focus,
	.ceca-header .ceca-header__mobile-extra a.ceca-header__join,
	.ceca-header .ceca-header__mobile-extra a.ceca-header__join:hover,
	.ceca-header .ceca-header__mobile-extra a.ceca-header__join:focus {
		display: block;
		padding: 5px 0;
		margin: 0;
		min-height: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		color: #1a1a1a;
		/* !important: a rule in the CDN-combined sheet (unreadable cross-
		   origin) was still forcing 22px on the cloned utility rows. */
		font-size: 18px !important;
		line-height: 24px !important;
		font-weight: 400 !important;
		text-align: left;
	}

	/* Top-bar parents (About) behave like the main menu's: the row stacks
	   (the desktop bar's flex row put the opened links BESIDE "About") and
	   the link is a flex row so its chevron shows (user, 2026-10-02). */
	.ceca-header .ceca-header__mobile-extra .ceca-header__menu--utility > li {
		display: block;
	}

	.ceca-header .ceca-header__mobile-extra .ceca-header__menu--utility > .menu-item-has-children > a {
		display: flex;
		align-items: center;
	}

	.ceca-header .ceca-header__mobile-extra a.ceca-header__login svg {
		width: 18px;
		height: 18px;
		vertical-align: -3px;
		margin-left: 6px;
	}

	/* Logged out, Member login is the drawer's one button — left-aligned
	   with the links above it (user, 2026-10-06). */
	.ceca-header .ceca-header__mobile-extra a.ceca-header__login-cta,
	.ceca-header .ceca-header__mobile-extra a.ceca-header__login-cta:hover,
	.ceca-header .ceca-header__mobile-extra a.ceca-header__login-cta:focus {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		width: fit-content;
		min-height: 40px;
		margin: 14px 0 0;
		padding: 5px 28px;
		border-radius: 300px;
		background: #411024;
		color: #ffffff;
		font-size: 15px !important;
		line-height: 20px !important;
		font-weight: 400 !important;
	}

	.ceca-header .ceca-header__mobile-extra a.ceca-header__login-cta svg {
		margin-left: 0;
		vertical-align: 0;
	}
}

/* --- Menu item options (Appearance → Menus, user 2026-10-06) --------------
   "Repeat as first mobile item": the parent's own page as the first link in
   its accordion — mobile only, since on desktop the parent itself links.
   "Not clickable": a parent with no page of its own just opens its panel. */
@media (min-width: 1025px) {
	.ceca-header .ceca-mega__item--mobile-first {
		display: none;
	}
}

.ceca-header .ceca-menu-nolink > a {
	cursor: default;
}

@media (max-width: 1024px) {
	.ceca-header .ceca-menu-nolink > a {
		cursor: pointer;
	}
}

/* --- Drawer edge alignment (user, 2026-10-06) ------------------------------
   The X's strokes fill only 14/24 of its 38px svg, so its visible right
   edge sat ~29px in while the logo sits 20px from the left. Pull the button
   out so the strokes end exactly one gutter (20px) from the edge, and set
   the accordion chevrons so their centres line up under the X's centre
   (gutter + half the 22px X = 31px from the edge). */
@media (max-width: 1024px) {
	.ceca-header .ceca-header__drawer-close {
		margin-right: calc(-1px - 38px * 5 / 24);
	}

	.ceca-header .ceca-header__menu--primary > .menu-item-has-children > a::after,
	.ceca-header__mobile-extra .menu-item-has-children > a::after {
		margin-right: calc(38px * 7 / 24 - 5.5px);
	}
}

/* --- Drawer must not shift anything on open (user, 2026-10-06) -------------
   width:100vw + inset:0 + margin-left:auto over-constrained the fixed panel:
   with a classic scrollbar its box is the viewport MINUS the scrollbar, so
   the 100vw panel was pushed left by the scrollbar's width and the logo
   jumped 15px. Fill exactly the box beside the page scrollbar instead —
   the same box the closed bar's logo and burger sit in. The drawer's own
   scrollbar is hidden (it still scrolls by touch, wheel and keys) so a long
   menu can't nudge the close button left either. */
@media (max-width: 1024px) {
	.ceca-header .ceca-header__primary {
		width: auto;
		margin: 0;
		scrollbar-width: none;
	}

	.ceca-header .ceca-header__primary::-webkit-scrollbar {
		display: none;
	}
}
