/* Hallmark · genre: atmospheric · design-system: design-123bet.md
 * theme: custom · vibe: "late-night neon, boxed, smooth, electric"
 * source of truth: 123bet Brand Guidelines v1.0 (Northgate Nine, 28 Jul 2026)
 * paper: Deep Ink oklch(19.6% 0.025 214) #06181c · accent: Volt Purple oklch(62.2% 0.221 302) #a259f2
 * second signal: Electric Cyan oklch(76% 0.130 205) #00c8d8 · spark: Neon Lime #b1e70a
 * display: Sora · body: Inter · axes: dark / geometric-sans / cool (purple on teal-black)
 * nav: floating pill · footer: Ft5 statement
 *
 * NIGHT CHROME — the shared dark presentation layer for this platform.
 *
 * Registered by the parent as `highstakes-chrome-night` but never enqueued by it:
 * a dark child theme opts in early (priority < 10) so its own theme.css lands on
 * top and can override anything here.
 *
 *   add_action( 'wp_enqueue_scripts', fn() => wp_enqueue_style( 'highstakes-chrome-night' ), 5 );
 *
 * It lives with the parent because the parent owns the component vocabulary
 * (hs-facts, hs-op-summary, hs-single__*, …) and more than one dark child needs
 * the same treatment — 123bet and 123bet-magazine differ in their *layouts*, not
 * in what an operator summary or a state hero looks like at night.
 *
 * WHAT'S HERE  design tokens · the floating pill navbar · the statement footer ·
 *              article meta · state hero + intro + facts + FAQ · operator summary
 *              and review sections · archive heads · search empty state ·
 *              pagination · the sidebar rail · reduced motion.
 * WHAT'S NOT   anything layout-specific. A child theme's own theme.css owns its
 *              cards, grids and page composition.
 *
 * Pairs with the plugin's blocks-night.css (`highstakes-blocks-night`), which
 * carries the same treatment for the Highstakes Core blocks and depends on the
 * tokens declared below.
 *
 * Every colour references a theme.json preset — no inline OKLCH below the token
 * block. The portable export is tokens-123bet.css at the repo root.
 */

:root {
	--hs-paper:          var(--wp--preset--color--base);
	--hs-paper-2:        var(--wp--preset--color--surface-2);
	--hs-surface:        var(--wp--preset--color--surface);
	--hs-ink:            var(--wp--preset--color--contrast);
	--hs-ink-2:          var(--wp--preset--color--ink-2);
	--hs-muted:          var(--wp--preset--color--muted);
	--hs-rule:           var(--wp--preset--color--line);
	--hs-band:           var(--wp--preset--color--accent-2);
	--hs-band-2:         var(--wp--preset--color--band-2);
	--hs-on-band:        var(--wp--preset--color--on-band);
	--hs-on-band-muted:  var(--wp--preset--color--on-band-muted);
	--hs-accent:         var(--wp--preset--color--accent);
	--hs-accent-strong:  var(--wp--preset--color--accent-strong);
	--hs-accent-ink:     var(--wp--preset--color--accent-ink);
	--hs-accent-on-band: var(--wp--preset--color--accent-on-band);
	--hs-cyan:           var(--wp--preset--color--accent-cyan);
	/* Electric Cyan splits the same way Neon Lime does, and for the same reason.
	 * --hs-cyan is the *line* step and steps down by day so it can carry text on
	 * paper; --hs-cyan-fill is the brand value, fixed in both modes, for the times
	 * cyan is a plate with ink on top rather than type on a page. Fill and line are
	 * the same colour at night and diverge by day. Without the split, a teal button
	 * in light mode ends up as the darkened teal carrying the deep-band label it
	 * was given for the bright one — near-black on dark. */
	--hs-cyan-fill:      oklch(76% 0.130 205);   /* #00c8d8 */
	--hs-focus:          var(--wp--preset--color--accent-strong);

	/* The signature gradient. Brand guidelines v1.0 §03: purple to cyan, left to
	 * right — "the gradient is the hero, used for headers, key art and the ring".
	 * --hs-grad is the canonical 90° run and the only one to use on a component;
	 * --hs-grad-diag is the 120° variant the guidelines use for key art and large
	 * washes. Neither may be re-angled per instance: change it here or not at all.
	 *
	 * The mark's own ring carries the gradient as flat artwork inside the SVG, so
	 * these tokens never paint the logo — §01 forbids re-angling or extending it.
	 *
	 * The stops are literals rather than --hs-accent / --hs-cyan on purpose. Those
	 * two step down in the day palette so they can hold contrast as *text*; the
	 * gradient never carries text, and §03 fixes its ends at Volt Purple and
	 * Electric Cyan. Because a custom property's var() references resolve where the
	 * property is *used*, inheriting the accents here would have quietly muted the
	 * signature run to a violet-to-teal wash in light mode. */
	--hs-grad-from:      oklch(62.2% 0.221 302); /* #a259f2 */
	--hs-grad-to:        var(--hs-cyan-fill);    /* #00c8d8 */
	--hs-grad:           linear-gradient(90deg, var(--hs-grad-from) 0%, var(--hs-grad-to) 100%);
	--hs-grad-diag:      linear-gradient(120deg, var(--hs-grad-from) 0%, var(--hs-grad-to) 100%);

	/* Neon Lime — the tertiary accent. Guidelines §03: "a spark, not a wash: a
	 * single live indicator or highlight per view, never a fill."
	 *
	 *   --hs-lime         the brand value. A *fill* colour: at 1.5:1 on white it
	 *                     can never carry a label, so whatever sits on it is ink.
	 *   --hs-lime-ink     that ink, fixed to the deep band — which the day palette
	 *                     leaves at its night value, so a lime chip is identical
	 *                     in both modes.
	 *   --hs-lime-signal  the same hue stepped down far enough to work as *text*:
	 *                     a rule, an eyebrow, a ghost button's label. At night the
	 *                     brand value already does that job (13.2:1 on the band),
	 *                     so the two are the same; palette-day.css darkens this
	 *                     one alone. Keeping the fill and the line apart is what
	 *                     lets the lime banner theme stay legible on paper without
	 *                     muddying the fill the guidelines actually specify. */
	--hs-lime:           var(--wp--preset--color--accent-lime);
	--hs-lime-ink:       var(--wp--preset--color--accent-2);
	--hs-lime-signal:    var(--wp--preset--color--accent-lime);
	--hs-display:        var(--wp--preset--font-family--display);
	--hs-body:           var(--wp--preset--font-family--body);
	--hs-mono:           var(--wp--preset--font-family--mono);
	--hs-ease:           cubic-bezier(0.16, 1, 0.3, 1);
	--dur-short:         200ms;
	--dur-mid:           380ms;
	--rule-hair:         1px;
	--hs-shell:          1920px;

	/* Call-to-action fill. Separate from --hs-accent-strong: on a dark canvas the
	 * accent has to be bright to work as link text, which is too light to carry
	 * white button text. The CTA is the deeper step of the same hue. */
	--hs-cta:            var(--wp--custom--cta);
	--hs-cta-ink:        var(--wp--custom--cta-ink);
	--hs-cta-hover:      var(--wp--custom--cta-hover);

	/* Surface language — the six levers the plugin's blocks.css reads. */
	--hs-radius-card:    18px;
	--hs-radius-media:   14px;
	--hs-radius-chip:    999px;
	--hs-card-bg:        var(--wp--preset--color--surface);
	--hs-card-rule:      transparent; /* boxes are filled, not ink-ruled */
	--hs-tint-base:      var(--wp--preset--color--base);

	--radius-card:       18px;
	--radius-media:      14px;
	--radius-field:      12px;
	--radius-cta:        999px;

	/* ------------------------------------------------------------ Mode levers */
	/* The handful of places the night treatment can't just follow the palette,
	 * because the value itself is what makes it dark. palette-day.css re-points
	 * these under :root[data-theme="light"]; everything else in this file repaints
	 * from the theme.json presets on its own.
	 *
	 *   --hs-recess     a strip set *into* a card — the review disclaimer, the
	 *                   payments table head, the mobile menu's foot. At night the
	 *                   deep band reads as recessed; on paper it reads as a slab.
	 *   --hs-field-bg   an input or hover plate inside a card.
	 *   --hs-badge-ink  a label over a solid status fill. The status colours are
	 *                   light steps at night and mid steps by day, so the label
	 *                   has to flip with them.
	 *   --hs-logo-plate operator logos are drawn for light backgrounds and need a
	 *                   plate at night; by day the card already is one.
	 *   --hs-shade      which end of the scale a hover mixes toward.
	 *
	 * The plugin's blocks-night.css reads the first, second and last of these and
	 * declares its own fallbacks, so it still stands up without this file. */
	--hs-recess:         var(--hs-band);
	--hs-field-bg:       var(--hs-band-2);
	--hs-badge-ink:      var(--hs-band);
	--hs-logo-plate:     var(--hs-ink);
	--hs-shade:          white;

	/* One shadow colour, tinted to the canvas hue rather than pure black — the
	 * brand's teal-black family, a step below the deep band. */
	--hs-shadow:         oklch(9% 0.014 216 / 0.85);
	--hs-lift:           0 18px 40px -22px var(--hs-shadow);
	--hs-lift-deep:      0 30px 60px -24px var(--hs-shadow);
	--hs-glow:           0 10px 28px -14px var(--hs-accent);

	/* Floating navbar geometry — also drives the body offset and sticky rails.
	 *
	 * The height comes from the brand floor, not from whatever a child renders its
	 * mark at. Brand guidelines §02 put a floor of 140px wide on the lockup; the
	 * artwork is 372.96 × 166.86, so 140px wide is 62.6px tall, and the pill's
	 * 0.4rem block padding puts the minimum at 75.4px. 4.75rem is the smallest step
	 * that clears it.
	 *
	 * 123Bet now paints its lockup at 124px, under that floor and by request, and
	 * the pill deliberately did *not* come down with it — a shorter pill was not
	 * what was asked for, and 4.75rem still clears the search field and the toggle
	 * comfortably. So this is the one line to change if the pill itself has to come
	 * down, and it no longer has to move in step with the mark. */
	--hs-nav-top:        1rem;
	--hs-nav-h:          4.75rem;
	--hs-nav-w:          min(var(--hs-hub-w), calc(100vw - 3rem));

	/* The content column. Mirrors the contentSize the templates set on their own
	 * body groups (taxonomy-us_state.html, single.html), which is what makes the
	 * pill above line up with the text under it. Anything this file has to align to
	 * that column — the state hero, which sits outside the group that carries it —
	 * measures from here.
	 *
	 * It is 20px narrower than theme.json's global 1200px contentSize, so a plain
	 * page.html page still runs 10px wider each side than the pill. Harmless, but
	 * that is the number to reconcile if the two are ever made to agree. */
	--hs-hub-w:          1180px;

	/* Brand minimum for the lockup, guidelines §02 (digital). Declared here rather
	 * than in a child's theme.css because it is what sizes the pill above.
	 *
	 * 123Bet renders its own mark under this floor by request — see the note in
	 * that child's theme.css — so this is now only the pill's height derivation and
	 * the record of what the guidelines ask for, not a width any theme reads. */
	--hs-logo-min-w:     140px;
}

.hs-footer > * {
	max-width: var(--hs-shell);
	margin-inline: auto;
}

html, body { overflow-x: clip; }
body {
	background: var(--hs-paper);
	color: var(--hs-ink);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
::selection { background: var(--hs-accent); color: var(--hs-accent-ink); }

/* The floating pill overlays the page, so the document opens below it.
 *
 * `body` prefix on purpose: theme.json's useRootPaddingAwareAlignments makes
 * WordPress emit its own `.wp-site-blocks { padding-top: … }` in global styles.
 * This file is enqueued ahead of global styles (so the child's theme.css can win
 * over it), which would otherwise let that 0 padding override the offset and
 * leave the first heading underneath the navbar. */
body .wp-site-blocks { padding-top: calc(var(--hs-nav-top) + var(--hs-nav-h) + 1rem); }

:where(a):focus-visible,
:where(button):focus-visible,
:where(summary):focus-visible,
:where(input):focus-visible {
	outline: 2px solid var(--hs-focus);
	outline-offset: 2px;
	border-radius: 3px;
}

/* Label register — where the parent used a mono "dataline" voice, the night
 * chrome uses tracked uppercase Inter. Same job, no typewriter.
 *
 * Sized to the guidelines' Label / UI step (§04): 12px, uppercase, heavily
 * tracked. The spec's 0.18em is drawn for the standalone specimen; at the sizes
 * these labels actually run — chips, card eyebrows, section heads — 0.14em holds
 * the same voice without the words coming apart. */
.hs-kicker,
.hs-card__cat,
.hs-single__cat,
.hs-dateline__tag,
.hs-section-label {
	font-family: var(--hs-body);
	font-weight: 700;
	font-size: 0.75rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

/* ============================================ Navbar — floating pill (N5 shell) */
.hs-navbar--pill {
	position: fixed;
	top: var(--hs-nav-top);
	left: 0;
	right: 0;
	z-index: 60;
	width: var(--hs-nav-w);
	margin-inline: auto;
	padding: 0 !important;
	background: none !important;
	color: var(--hs-on-band);
}
body.admin-bar .hs-navbar--pill { top: calc(var(--hs-nav-top) + 32px); }

.hs-pill {
	position: relative; /* containing block for the mega-menu panels */
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--hs-nav-h);
	padding: 0.4rem 0.55rem 0.4rem 1.35rem;
	background: color-mix(in oklch, var(--hs-band) 86%, transparent);
	backdrop-filter: blur(16px) saturate(140%);
	border: 1px solid var(--hs-rule);
	border-radius: 999px;
	box-shadow: var(--hs-lift);
}
/* The gap between the pill's own columns — brand · nav · search · mode toggle.
 *
 * `body` prefix, and the same on every tier below, for the reason at the top of
 * this file: .hs-pill is a flex group, so WordPress emits its own
 * `.wp-container-core-group-is-layout-… { gap: 24px }` for it in global styles,
 * from theme.json's 1.5rem blockGap. That lands after this sheet and ties on
 * specificity, so an unprefixed `.hs-pill { gap }` here is dead on arrival — as
 * the 1.1rem this replaces was, along with every tier override under it.
 *
 * At ≥1366px the pill is packed to its 1180px cap, so this is not cosmetic
 * spacing: the search field is the flex item that yields, and every pixel taken
 * out of these three gaps goes back to it. */
body .hs-pill { gap: 1.2rem; }

.hs-pill > .hs-masthead__dateline { display: none; }

.hs-pill .wp-block-site-title { margin: 0; }
.hs-pill .wp-block-site-title a {
	color: var(--hs-on-band);
	text-decoration: none;
	transition: color var(--dur-short) var(--hs-ease);
}
.hs-pill .wp-block-site-title a:hover { color: var(--hs-accent-strong); }
/* `body` prefix per the note at the top of this file: the brand is a flex group,
 * so WordPress emits its own align-items and gap for it in global styles, which
 * land after this sheet. A bare class ties on specificity and loses. */
body .hs-masthead__brand {
	display: flex;
	/* Baseline, not centre: an inline SVG's baseline is its bottom edge, so the
	 * mark's bars stand on the wordmark's baseline like the letters do — and stay
	 * there at any title size, with no per-tier nudge. Mobile switches back to
	 * centre, where view.js adds the burger to this row. */
	align-items: baseline;
	gap: 0.5rem;
	flex: 0 0 auto;
}

/* The three-bar brand mark that used to sit here — and the --hs-mark-1 token
 * behind it — went out when 123Bet moved to a supplied logo lockup, which is a
 * flat two-file asset painted on the site-title link by the child's own
 * theme.css. It was the only consumer. Recover from git if a future dark child
 * wants a tintable inline mark again. */

/* Compact round search at the pill's trailing edge */
.hs-pill .hs-search.wp-block-search { max-width: none; margin: 0; flex: 0 0 auto; }
/* Mixed from --hs-on-band, not --hs-ink: the wash sits *on the pill*, which stays
 * night in both modes, so it has to track the band's ink rather than the page's.
 * The two are the same colour at night, which is what hid the distinction. */
.hs-pill .hs-search .wp-block-search__inside-wrapper {
	border: 0;
	background: color-mix(in oklch, var(--hs-on-band) 10%, transparent);
	border-radius: 999px;
	padding: 0.1rem 0.35rem 0.1rem 0.9rem;
	transition: background var(--dur-short) var(--hs-ease);
}
.hs-pill .hs-search .wp-block-search__inside-wrapper:focus-within {
	background: color-mix(in oklch, var(--hs-on-band) 16%, transparent);
}
.hs-pill .hs-search .wp-block-search__input {
	background: transparent;
	border: 0;
	color: var(--hs-on-band);
	font-family: var(--hs-body);
	font-size: 0.85rem;
	padding: 0.42rem 0;
	/* The field's ideal width, not a floor — at ≥1366px the search is shrinkable
	 * so the nav labels never have to collide with it. Only that tier renders the
	 * field at all, so this is the one place the number is set. */
	width: 7.5rem;
	min-width: 0;
}
.hs-pill .hs-search .wp-block-search__input:focus { outline: none; }
.hs-pill .hs-search .wp-block-search__input::placeholder { color: var(--hs-on-band-muted); }
.hs-pill .hs-search .wp-block-search__button {
	background: transparent;
	color: var(--hs-on-band-muted);
	border: 0;
	padding: 0.3rem 0.25rem;
	transition: color var(--dur-short) var(--hs-ease);
}
.hs-pill .hs-search .wp-block-search__button:hover { color: var(--hs-accent-strong); background: transparent; }
.hs-pill .hs-search .wp-block-search__button svg { fill: currentColor; }

/* ================================================== Light / dark mode toggle */
/* The trailing control in the pill. It paints in on-band colours because the
 * pill is night in both modes — only the icon swaps, showing the mode the button
 * would switch *to*.
 *
 * Hidden until the boot script puts .hs-js on the root: the button is inert
 * without JavaScript, and a dead control is worse than no control. That class
 * is set inline in the head, so this never flashes. */
.hs-theme-toggle { display: none; }
.hs-js .hs-theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 2.15rem;
	height: 2.15rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: color-mix(in oklch, var(--hs-on-band) 10%, transparent);
	color: var(--hs-on-band-muted);
	cursor: pointer;
	transition: background var(--dur-short) var(--hs-ease), color var(--dur-short) var(--hs-ease);
}
.hs-js .hs-theme-toggle:hover {
	background: color-mix(in oklch, var(--hs-on-band) 16%, transparent);
	color: var(--hs-accent-strong);
}
.hs-theme-toggle svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }

/* Dark is the default, so the sun — "go light" — is the resting icon. Both
 * selectors carry the button class: a lone icon class ties with the `svg` rule
 * above on specificity and, coming first, would lose. */
.hs-theme-toggle .hs-theme-toggle__sun { display: block; }
.hs-theme-toggle .hs-theme-toggle__moon { display: none; }
[data-theme="light"] .hs-theme-toggle .hs-theme-toggle__sun { display: none; }
[data-theme="light"] .hs-theme-toggle .hs-theme-toggle__moon { display: block; }

/* The nav carries seven top-level sections, so the pill has to stay one row at
 * every desktop width. Below 1366px the in-pill search steps out first (search is
 * still reachable from the mobile menu and the search page), then the labels
 * tighten. The bar itself never wraps. */
.hs-megamenu__bar { flex-wrap: nowrap; }

.hs-megamenu { min-width: 0; }

/* Wide desktop (≥1366px) — the only tier that shows the in-pill search, and the
 * tightest one, because --hs-nav-w caps the pill at 1180px: it stops growing at a
 * ~1228px viewport, so every width above that has exactly this much room and no
 * more. Seven labels, the search and the mode toggle together ask for slightly
 * more than the cap allows.
 *
 * Two things happen here. The budget: the bar's gap gives back a few pixels, on
 * top of the pill's own 1.2rem column gap and the logo width the child sets. The
 * bar gap is overridden here rather than in the plugin because it is this pill's
 * geometry that is tight, not the night skin's — and it carries the .hs-pill
 * prefix for the reason noted at the top of this file: blocks-night.css sets
 * `.hs-megamenu__bar { gap: 0 1.1rem }` and loads after this sheet, so a bare
 * class ties on specificity and loses. The pill's own gap needs no override at
 * this tier — it takes the base 1.2rem, and the narrower tiers below tighten it
 * further from there.
 *
 * Then the part that actually matters. The bar is nowrap and .hs-megamenu carries
 * min-width: 0 for the scrolling tier below, so under the flex defaults the bar
 * simply overflowed its own container and ran underneath the search — no wrap, no
 * scrollbar, no signal, just collided text. Pinning the nav to max-content and
 * letting the search shrink makes the contention resolve by *shrinking* instead,
 * with the search yielding first — the same policy every tier below follows. An
 * eighth section or a longer label now narrows the field toward its magnifier
 * rather than colliding with the labels. */
@media (min-width: 1366px) {
	.hs-megamenu { flex: 0 0 auto; min-width: max-content; }
	.hs-pill .hs-megamenu__bar { gap: 0 0.95rem; }
	.hs-pill .hs-search.wp-block-search { flex: 0 1 auto; min-width: 0; }
}

@media (min-width: 783px) and (max-width: 1365px) {
	body .hs-pill { gap: 0.9rem; padding-left: 1.1rem; padding-right: 1.1rem; }
	.hs-pill .hs-megamenu__bar { gap: 0 0.85rem; }
	.hs-megamenu__top > a,
	.hs-megamenu__trigger { font-size: 0.7rem; letter-spacing: 0.03em; }
	.hs-pill > .hs-search { display: none; }
}
/* Narrow desktop (783–1023px). The pill is only ~750px wide here and the seven
 * labels need ~780px, so they would spill past its rounded edge — invisibly,
 * since the root clips overflow. Shrinking the type enough to fit would put it
 * under 9px, so the bar scrolls instead: labels stay legible, nothing is lost,
 * and a fade on the trailing edge shows there's more. The burger can't be brought
 * forward to cover this band — the mega-menu's overlay breakpoint is 782px in the
 * plugin's own CSS and script, and moving it would change the parent theme too. */
@media (min-width: 783px) and (max-width: 1023px) {
	body .hs-pill { gap: 0.6rem; padding-left: 0.9rem; padding-right: 0.6rem; }
	.hs-megamenu { flex: 1 1 auto; min-width: 0; }
	/* .hs-pill prefix on the gap for the specificity reason noted above; the
	 * scroll properties need no help, the plugin sets none of them. */
	.hs-pill .hs-megamenu__bar {
		gap: 0 0.9rem;
		flex: 1 1 auto;
		min-width: 0;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
		-ms-overflow-style: none;
		-webkit-mask-image: linear-gradient(to right, #000 calc(100% - 1.75rem), transparent 100%);
		mask-image: linear-gradient(to right, #000 calc(100% - 1.75rem), transparent 100%);
	}
	.hs-megamenu__bar::-webkit-scrollbar { display: none; }
	.hs-megamenu__top > a,
	.hs-megamenu__trigger { font-size: 0.68rem; letter-spacing: 0.02em; }
	.hs-pill .wp-block-site-title { font-size: 1.2rem; }
	/* A child that sets its brand as one asset steps it down here itself; this only
	 * tightens the row it sits in. */
	body .hs-masthead__brand { gap: 0.4rem; }
}

/* ====================================================== Responsive tiers */
/* Three steps, not two:
 *
 *   > 1023px   content + sidebar side by side · cards 2-up
 *   ≤ 1023px   the sidebar drops below the content · cards stay 2-up
 *   ≤ 640px    single column throughout
 *
 * The middle tier is the point of it: the 34% rail carries the trending module
 * and the operator table, which need more than ~250px to set — below that,
 * titles break mid-word. Dropping the rail early buys the cards the full width,
 * so they can stay two-up much further down.
 *
 * Both !importants are load-bearing. Core ships `flex-wrap: nowrap !important`
 * on .wp-block-columns above 782px, and the column widths are inline styles from
 * the block markup — neither can be overridden without matching them. */
@media (max-width: 1023px) {
	.hs-home-split,
	.hs-article-split,
	.hs-hub-split { flex-wrap: wrap !important; }
	.hs-home-split > .wp-block-column,
	.hs-article-split > .wp-block-column,
	.hs-hub-split > .wp-block-column { flex-basis: 100% !important; }
}

/* Core's Query Loop grid takes a fixed column count with no responsive
 * collapse, so the parent's 3-up post grids would still be 3-up at 375px. */
.hs-post-grid .wp-block-post-template.is-layout-grid,
.hs-operator-archive .wp-block-post-template.is-layout-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 1023px) {
	.hs-post-grid .wp-block-post-template.is-layout-grid,
	.hs-operator-archive .wp-block-post-template.is-layout-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 640px) {
	.hs-post-grid .wp-block-post-template.is-layout-grid,
	.hs-operator-archive .wp-block-post-template.is-layout-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ============================================================= Single article */
.single-post .wp-block-post-title,
.hs-main .wp-block-post-title { letter-spacing: -0.03em; }
.hs-single__cat a { color: var(--hs-accent-strong); text-decoration: none; }
.hs-single__meta {
	color: var(--hs-muted);
	gap: 0.5rem;
	align-items: center;
	margin-bottom: 1.5rem;
	font-family: var(--hs-body);
	font-size: 0.85rem;
	letter-spacing: normal;
}
.hs-single__meta p { margin: 0; }

.hs-single__meta .wp-block-post-date::before,
.hs-single__meta .wp-block-post-terms::before,
.hs-single__meta .hs-meta__updated::before {
	content: "\2022";
	margin-right: 0.5rem;
	opacity: 0.5;
}

.hs-single__meta .hs-meta__readtime {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	margin-left: 0.35rem;
}
.hs-single__meta .hs-meta__icon { flex-shrink: 0; opacity: 0.7; }
.hs-single__meta a { color: var(--hs-ink-2); font-weight: 700; }
.hs-single__meta a:hover { color: var(--hs-accent-strong); }
.hs-single__img img { border-radius: var(--radius-media); }

.hs-single__meta .wp-block-post-author {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	flex-wrap: nowrap;
	flex-shrink: 0;
}
.hs-single__meta .wp-block-post-author__avatar { margin-right: 0.25rem; }
.hs-single__meta .wp-block-post-author__avatar img { border-radius: 50%; }
.hs-single__meta .wp-block-post-author__content {
	display: flex;
	align-items: baseline;
	gap: 0.3em;
	flex-wrap: nowrap;
}
.hs-single__meta .wp-block-post-author__byline {
	font-size: inherit;
	line-height: inherit;
	margin: 0;
}
.hs-single__meta .wp-block-post-author__name { margin: 0; white-space: nowrap; }

/* Standfirst / deck — the grey sentence under the headline (ACF subtitle) */
.hs-single__deck {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.5;
	font-weight: 400;
	color: var(--hs-ink-2);
	max-width: 60ch;
	margin: 0.25rem 0 1.25rem;
}
.hs-single__deck:empty { display: none; }

/* No drop cap: this system opens an article with a lead paragraph instead. */
.single-post .wp-block-post-content { font-size: var(--wp--preset--font-size--medium); }
.single-post .wp-block-post-content > p:first-of-type {
	font-size: 1.1rem;
	line-height: 1.6;
	color: var(--hs-ink);
}

/* ================================================================= State hero */
.hs-hero {
	background: var(--hs-band-2);
	color: var(--hs-on-band);
	padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.4rem, 5vw, 3rem);
	position: relative;
	border: 1px solid var(--hs-rule);
	border-radius: var(--radius-card);
	overflow: hidden;

	/* The same column as everything below it. The hub template puts the rest of the
	 * page in a constrained group (contentSize --hs-hub-w) but the hero outside it —
	 * it's a shortcode dropped straight into <main>, which carries no layout — so it
	 * has to be given that box by hand or it runs the full window width.
	 *
	 * The root-padding term is the one WordPress applies to that group through
	 * `.has-global-padding`, read off the custom property it sets on <body>, so the
	 * two edges stay flush below the cap as well as above it.
	 *
	 * A full-bleed band is the other answer, and the parent's editorial theme takes
	 * it — its hero is an ink band ruled off with an accent line, which wants the
	 * window. This one is a filled, rounded card, and a card that runs into the
	 * window edge reads as a bug.
	 *
	 * box-sizing is set explicitly because this element is not a block: WordPress
	 * scopes its border-box reset to .wp-block-* and :where() selectors, and the
	 * hero comes out of a shortcode. Without it the padding would be added to the
	 * width below and the box would overhang the column it is meant to match. */
	box-sizing: border-box;
	width: min(var(--hs-hub-w), calc(100% - 2 * var(--wp--style--root--padding-right, 1.5rem)));
	margin-inline: auto;
}
.hs-hero--image { background-size: cover; background-position: center; }
.hs-hero--image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, color-mix(in oklch, var(--hs-band) 55%, transparent), color-mix(in oklch, var(--hs-band) 94%, transparent));
}
/* No max-width here any more: the hero box itself is now capped at the content
 * column, so an inner cap could only ever be looser than the box holding it. */
.hs-hero__inner {
	position: relative;
	z-index: 1;
	animation: hs-rise var(--dur-mid) var(--hs-ease) both;
}
.hs-hero__eyebrow {
	font-family: var(--hs-body);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.74rem;
	font-weight: 700;
	color: var(--hs-accent-strong);
	margin: 0 0 0.6rem;
}
.hs-hero__title {
	font-family: var(--hs-display);
	font-weight: 800;
	font-size: clamp(2.3rem, 1.5rem + 3.2vw, 4rem);
	line-height: 1.06;
	letter-spacing: -0.035em;
	margin: 0;
	overflow-wrap: anywhere;
	min-width: 0;
}
.hs-hero__badge {
	display: inline-block;
	margin-top: 1.1rem;
	padding: 0.36rem 0.9rem;
	border-radius: 999px;
	font-family: var(--hs-body);
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	background: var(--wp--preset--color--status-legal);
	color: var(--hs-badge-ink);
}
.hs-hero__badge--pending { background: var(--wp--preset--color--status-pending); color: var(--hs-badge-ink); }
.hs-hero__badge--partial { background: var(--wp--preset--color--status-partial); color: var(--hs-badge-ink); }
.hs-hero__badge--illegal { background: var(--wp--preset--color--status-illegal); color: var(--hs-badge-ink); }

@keyframes hs-rise {
	from { opacity: 0; transform: translateY(6px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================== State intro */
.hs-state-intro {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.55;
	color: var(--hs-ink);
	max-width: 68ch;
	border-left: 3px solid var(--hs-accent);
	padding-left: var(--wp--preset--spacing--40);
}
.hs-state-intro > *:first-child { margin-top: 0; }
.hs-state-intro strong { font-weight: 700; }

/* ================================================================= Quick facts */
.hs-facts {
	background: var(--hs-surface);
	border: 1px solid var(--hs-rule);
	border-radius: var(--radius-card);
	padding: var(--wp--preset--spacing--40);
}
.hs-facts__title { margin: 0 0 1rem; font-size: var(--wp--preset--font-size--large); }
.hs-facts__list { margin: 0; display: grid; gap: 0; }
.hs-facts__row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.7rem 0;
	border-bottom: 1px solid var(--hs-rule);
}
.hs-facts__row:last-child { border-bottom: 0; padding-bottom: 0; }
.hs-facts__row dt { color: var(--hs-muted); margin: 0; font-size: 0.95rem; }
.hs-facts__row dd {
	margin: 0;
	font-weight: 700;
	text-align: right;
	font-variant-numeric: tabular-nums;
}

/* ======================================================================= FAQ */
.hs-faq__title { margin-bottom: 0.75rem; }
.hs-faq__item {
	background: var(--hs-surface);
	border: 1px solid var(--hs-rule);
	border-radius: var(--radius-card);
	margin-bottom: 0.6rem;
	padding: 0 1.15rem;
	transition: border-color var(--dur-short) var(--hs-ease);
}
.hs-faq__item[open] { border-color: color-mix(in oklch, var(--hs-accent) 45%, var(--hs-rule)); }
.hs-faq__q {
	cursor: pointer;
	font-family: var(--hs-display);
	font-weight: 700;
	font-size: 1.05rem;
	letter-spacing: -0.02em;
	padding: 1rem 0;
	list-style: none;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	align-items: center;
}
.hs-faq__q::-webkit-details-marker { display: none; }
.hs-faq__q::after {
	content: "+";
	color: var(--hs-accent-strong);
	font-family: var(--hs-body);
	font-weight: 700;
	font-size: 1.2rem;
	line-height: 1;
	transition: transform var(--dur-short) var(--hs-ease);
}
.hs-faq__item[open] .hs-faq__q::after { content: "\2013"; }
.hs-faq__a { padding: 0 0 1.1rem; color: var(--hs-ink-2); max-width: 68ch; }
.hs-faq__a p { margin: 0; }

/* ===================================================== Operator summary (single) */
.hs-op-summary {
	background: var(--hs-surface);
	border: 1px solid var(--hs-rule);
	border-radius: var(--radius-card);
	overflow: hidden;
	margin: 1.5rem 0;
}
.hs-op-summary__head {
	display: grid;
	grid-template-columns: minmax(200px, 0.9fr) 1.5fr auto;
	gap: var(--wp--preset--spacing--50);
	align-items: start;
	padding: var(--wp--preset--spacing--40);
}
.hs-op-summary__brand { display: flex; flex-direction: column; gap: 0.6rem; align-items: flex-start; }
/* Operator logos are drawn for light backgrounds, so they get a plate at night. */
.hs-op-summary__logo {
	max-width: 170px;
	max-height: 56px;
	width: auto;
	object-fit: contain;
	background: var(--hs-logo-plate);
	border-radius: 10px;
	padding: 0.4rem 0.6rem;
	box-sizing: border-box;
}
.hs-op-summary__name { font-family: var(--hs-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; }
.hs-op-summary__rating { display: flex; align-items: baseline; gap: 0.4rem; }
.hs-op-summary__count { color: var(--hs-muted); font-size: 0.85rem; }
/* The editorial highlight — an ACF string, "Editor's Pick" and the like. This is
 * Neon Lime's one call-site in the system, and it earns it on the guidelines'
 * own terms (§03): the badge renders at most once per operator review, which is
 * the "single highlight per view" the spec allows, and it is a chip rather than a
 * wash. It is not a status signal — legality and payout speed have their own
 * semantic colours — so the accent is free to be brand rather than functional.
 *
 * Ink-on-lime, not lime-on-ink: at 12.4:1 the guidelines call the reversed
 * pairing the stronger one, and it holds in both modes because --hs-lime-ink is
 * pinned to the deep band, which the day palette leaves at its night value. */
.hs-op-summary__badge {
	display: inline-block;
	padding: 0.3rem 0.8rem;
	border-radius: 999px;
	background: var(--hs-lime);
	color: var(--hs-lime-ink);
	font-family: var(--hs-body);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.hs-op-summary__facts { width: 100%; margin: 0.3rem 0 0; display: flex; flex-direction: column; gap: 0; }
.hs-op-summary__fact {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.45rem 0;
	border-top: 1px solid var(--hs-rule);
	font-size: 0.85rem;
}
.hs-op-summary__fact dt { color: var(--hs-muted); margin: 0; }
.hs-op-summary__fact dd { margin: 0; font-weight: 700; text-align: right; }

.hs-op-summary__offer { display: flex; flex-direction: column; gap: 0.5rem; }
.hs-op-summary__eyebrow {
	align-self: flex-start;
	padding: 0.28rem 0.7rem;
	border-radius: 999px;
	background: color-mix(in oklch, var(--hs-accent) 18%, transparent);
	color: var(--hs-accent-strong);
	font-size: 0.75rem;
	font-weight: 700;
}
.hs-op-summary__bonus { display: block; font-family: var(--hs-display); font-weight: 800; font-size: 1.4rem; line-height: 1.2; letter-spacing: -0.03em; }
.hs-op-summary__subtext { display: block; color: var(--hs-muted); font-size: 0.9rem; }
.hs-op-summary__ticks {
	list-style: none;
	margin: 0.4rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.45rem 1.2rem;
}
.hs-op-summary__ticks li { position: relative; padding-left: 1.7rem; font-size: 0.9rem; }
.hs-op-summary__ticks li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 0.05em;
	width: 1.2rem;
	height: 1.2rem;
	border-radius: 999px;
	background: color-mix(in oklch, var(--wp--preset--color--status-legal) 22%, transparent);
	color: var(--wp--preset--color--status-legal);
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.2rem;
	text-align: center;
}

.hs-op-summary__action { display: flex; flex-direction: column; align-items: stretch; gap: 0.7rem; text-align: center; }
.hs-op-summary__cta {
	display: inline-block;
	padding: 0.9rem 1.7rem;
	border-radius: var(--radius-cta);
	background: var(--hs-cta);
	color: var(--hs-cta-ink);
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	transition: background var(--dur-short) var(--hs-ease), box-shadow var(--dur-short) var(--hs-ease);
}
.hs-op-summary__cta:hover { background: var(--hs-cta-hover); box-shadow: var(--hs-glow); }
.hs-op-summary__review-link {
	color: var(--hs-accent-strong);
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
}
.hs-op-summary__review-link:hover { text-decoration: underline; }

.hs-op-summary__disclaimer {
	margin: 0;
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
	background: var(--hs-recess);
	border-top: 1px solid var(--hs-rule);
	color: var(--hs-muted);
	font-size: 0.78rem;
	line-height: 1.55;
}

@media (max-width: 782px) {
	.hs-op-summary__head { grid-template-columns: 1fr; }
	.hs-op-summary__ticks { grid-template-columns: 1fr; }
	.hs-op-summary__action { align-items: stretch; text-align: center; }
}

/* ===================================================== Operator review sections */
.hs-section-title {
	font-family: var(--hs-display);
	font-size: 1.45rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	margin: var(--wp--preset--spacing--60) 0 var(--wp--preset--spacing--30);
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--hs-rule);
}

.hs-proscons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--wp--preset--spacing--40);
}
.hs-proscons > div {
	background: var(--hs-surface);
	border: 1px solid var(--hs-rule);
	border-radius: var(--radius-card);
	padding: var(--wp--preset--spacing--40);
}
.hs-proscons h3 {
	margin: 0 0 0.6rem;
	font-family: var(--hs-body);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.hs-proscons ul { margin: 0; padding-left: 1.1rem; }
.hs-proscons li { color: var(--hs-ink-2); }
.hs-proscons__pros h3 { color: var(--wp--preset--color--status-legal); }
.hs-proscons__cons h3 { color: var(--wp--preset--color--status-illegal); }
.hs-proscons__pros li::marker { color: var(--wp--preset--color--status-legal); }
.hs-proscons__cons li::marker { color: var(--wp--preset--color--status-illegal); }

.hs-scores { display: flex; flex-direction: column; gap: 0.7rem; }
.hs-scores__row { display: grid; grid-template-columns: minmax(120px, 1fr) 3fr auto; gap: 0.8rem; align-items: center; }
.hs-scores__label { font-size: 0.9rem; color: var(--hs-ink-2); }
.hs-scores__bar { height: 0.5rem; background: var(--hs-paper-2); border-radius: 999px; overflow: hidden; }
.hs-scores__fill {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: var(--hs-grad);
}
.hs-scores__num { font-family: var(--hs-body); font-weight: 700; font-size: 0.9rem; font-variant-numeric: tabular-nums; }

.hs-payments {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 0.9rem;
	background: var(--hs-surface);
	border: 1px solid var(--hs-rule);
	border-radius: var(--radius-card);
	overflow: hidden;
}
.hs-payments th, .hs-payments td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--hs-rule); }
.hs-payments tr:last-child th, .hs-payments tr:last-child td { border-bottom: 0; }
.hs-payments thead th {
	font-family: var(--hs-body);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hs-muted);
	background: var(--hs-recess);
}
.hs-payments tbody th { font-weight: 700; }

@media (max-width: 600px) {
	.hs-proscons { grid-template-columns: 1fr; }
	.hs-scores__row { grid-template-columns: 1fr auto; }
	.hs-scores__bar { display: none; }
}

/* ============================================================= Archive heads */
.hs-archive-head {
	padding-bottom: var(--wp--preset--spacing--30);
	margin-bottom: var(--wp--preset--spacing--40);
	border-bottom: 1px solid var(--hs-rule);
}
.hs-archive-head .wp-block-query-title { letter-spacing: -0.035em; }
.hs-archive-head__desc { color: var(--hs-ink-2); max-width: 68ch; }

/* ---------------------------------------------------- Search: empty state */
.hs-search-empty { display: none; }
body.search-results .hs-search-empty { display: none; }
body.search-no-results .hs-search-empty { display: block; }

.hs-search-empty__box {
	padding: clamp(1.5rem, 3vw, 2.5rem);
	background: var(--hs-surface);
	border: 1px solid var(--hs-rule);
	border-radius: var(--radius-card);
}
.hs-search-empty__prompt {
	margin: 0 0 var(--wp--preset--spacing--20, 1rem);
	color: var(--hs-ink-2);
	font-size: 1.05rem;
}

.hs-search-box.wp-block-search { max-width: none; }
.hs-search-box.wp-block-search .wp-block-search__inside-wrapper {
	border: 0;
	gap: 0.75rem;
	flex-wrap: wrap;
}
.hs-search-box .wp-block-search__input {
	flex: 1 1 60%;
	min-width: 0;
	padding: 0.85rem 1.1rem;
	font-size: 1rem;
	color: var(--hs-ink);
	background: var(--hs-paper-2);
	border: 1px solid var(--hs-rule);
	border-radius: var(--radius-field);
}
.hs-search-box .wp-block-search__input:focus {
	outline: 2px solid var(--hs-focus);
	outline-offset: 1px;
	border-color: transparent;
}
.hs-search-box .wp-block-search__button {
	margin: 0;
	padding: 0.85rem 1.6rem;
	border: 0;
	border-radius: var(--radius-cta);
	background: var(--hs-cta);
	color: var(--hs-cta-ink);
	font-family: var(--hs-body);
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	transition: background var(--dur-short) var(--hs-ease);
}
.hs-search-box .wp-block-search__button:hover { background: var(--hs-cta-hover); }

/* ============================================================== Sidebar rail */
.hs-sidebar {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--50);
	position: sticky;
	top: calc(var(--hs-nav-top) + var(--hs-nav-h) + 1rem);
	align-self: start;
}
.hs-side-newsletter .wp-block-heading { margin-top: 0; }
.hs-side-newsletter p { color: var(--hs-ink-2); }

/* Sidebar modules read as their own boxes */
.hs-sidebar > .hs-mag-feed,
.hs-sidebar > .hs-operator-table,
.hs-side-box {
	background: var(--hs-surface);
	border: 1px solid var(--hs-rule);
	border-radius: var(--radius-card);
	padding: var(--wp--preset--spacing--40);
}
.hs-side-box__title {
	margin: 0 0 1rem;
	font-family: var(--hs-display);
	font-weight: 700;
	font-size: 1.1rem;
	letter-spacing: -0.03em;
}

.hs-operator-table__heading { font-family: var(--hs-display); }
.hs-sidebar .hs-mag-heading,
.hs-sidebar .hs-operator-table__heading { font-size: 1.1rem; }

/* The review-tile variant brings its own cards (one per operator, same tile as the
 * category pages), so the rail must not also box the block — a surface inside an
 * identical surface reads as a mistake. Each tile is the box instead. */
.hs-sidebar > .hs-operator-table--cards {
	background: none;
	border: 0;
	border-radius: 0;
	padding: 0;
}
.hs-sidebar > .hs-operator-table--cards .hs-operator-table__heading { margin-bottom: 0.9rem; }

/* Sidebar operator table always stacks (narrow container, any viewport) */
.hs-sidebar .hs-operator-table__row {
	grid-template-columns: 2rem 1fr;
	grid-template-areas:
		"rank brand"
		"offer offer"
		"action action";
	gap: 0.55rem 0.8rem;
}
.hs-sidebar .hs-operator-table__rank { grid-area: rank; text-align: left; }
.hs-sidebar .hs-operator-table__brand { grid-area: brand; }
.hs-sidebar .hs-operator-table__offer { grid-area: offer; }
.hs-sidebar .hs-operator-table__action { grid-area: action; }
.hs-sidebar .hs-operator-table__cta { display: block; text-align: center; }
.hs-sidebar .hs-operator-table__logo { max-width: 120px; }

/* ============================================================= Pagination */
.wp-block-query-pagination {
	margin-top: var(--wp--preset--spacing--60, 3rem);
	padding-top: 1.25rem;
	border-top: 1px solid var(--hs-rule);
	gap: 0.4rem;
	font-family: var(--hs-body);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0;
}
.wp-block-query-pagination.is-layout-flex { flex-wrap: wrap; align-items: stretch; }

.wp-block-query-pagination .page-numbers,
.wp-block-query-pagination-previous,
.wp-block-query-pagination-next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.6rem;
	padding: 0.55rem 0.9rem;
	color: var(--hs-ink);
	text-decoration: none;
	border: 1px solid var(--hs-rule);
	border-radius: 999px;
	background: var(--hs-surface);
	transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.wp-block-query-pagination a.page-numbers:hover,
.wp-block-query-pagination-previous:hover,
.wp-block-query-pagination-next:hover {
	color: var(--hs-accent-strong);
	border-color: var(--hs-accent);
}
.wp-block-query-pagination .page-numbers.current {
	color: var(--hs-cta-ink);
	background: var(--hs-cta);
	border-color: transparent;
	font-weight: 700;
}
.wp-block-query-pagination .page-numbers.dots {
	border-color: transparent;
	background: transparent;
	min-width: 0;
	padding: 0.55rem 0.2rem;
	color: var(--hs-muted);
}

/* ==================================================================== Footer */
/* Ft5 Statement — a closing line, then the dense responsible-gambling colophon */
.hs-footer {
	background: var(--hs-band);
	color: var(--hs-on-band);
	border-top: 1px solid var(--hs-rule);
	margin-top: var(--wp--preset--spacing--60);
}
.hs-footer a { color: var(--hs-on-band-muted); text-decoration: none; }
.hs-footer a:hover { color: var(--hs-accent-strong); }
.hs-footer__statement {
	margin: 0 0 var(--wp--preset--spacing--50);
	max-width: 26ch;
	font-family: var(--hs-display);
	font-weight: 800;
	font-size: clamp(1.8rem, 1.1rem + 2.4vw, 3rem);
	line-height: 1.06;
	letter-spacing: -0.04em;
	color: var(--hs-on-band);
	overflow-wrap: anywhere;
	min-width: 0;
}
.hs-footer__statement strong { font-weight: inherit; color: var(--hs-accent-strong); }
/* Mark beside the footer wordmark. A sibling of the site-title block rather than
 * inside its link, so the title stays the dynamic core block. */
body .hs-footer__lockup {
	display: flex;
	align-items: baseline; /* bars on the wordmark's baseline, as in the masthead */
	gap: 0.5rem;
}
.hs-footer__brand .wp-block-site-title a,
.hs-footer__wordmark {
	font-family: var(--hs-display);
	font-weight: 800;
	font-size: 1.35rem;
	color: var(--hs-on-band);
	text-decoration: none;
	letter-spacing: -0.03em;
}
.hs-footer__tagline { color: var(--hs-on-band-muted); font-size: 0.9rem; }
.hs-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	font-family: var(--hs-body);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
}
.hs-footer__colophon {
	margin-top: var(--wp--preset--spacing--40);
	padding-top: var(--wp--preset--spacing--30);
	border-top: 1px solid color-mix(in oklch, var(--hs-on-band) 14%, transparent);
	color: var(--hs-on-band-muted);
	font-family: var(--hs-body);
	font-size: 0.78rem;
	line-height: 1.7;
	letter-spacing: 0;
}
.hs-footer__colophon strong { color: var(--hs-on-band); }

/* ============================================================ Reduced motion */
@media (prefers-reduced-motion: reduce) {
	.hs-hero__inner { animation-duration: 120ms; }
	*, *::before, *::after { transition-duration: 120ms !important; }
}

/* ================================================================== Mobile */
@media (max-width: 782px) {
	:root { --hs-nav-top: 0rem; --hs-nav-h: 3.1rem; }

	/* The pill becomes a solid full-width bar. Dropping the backdrop-filter here
	 * matters: it would otherwise make the pill the containing block for the
	 * mega-menu's position:fixed mobile overlay, trapping the overlay inside it.
	 * (For the same reason the desktop pill is centred with auto margins rather
	 * than a translate.) */
	.hs-navbar--pill { top: 0; width: auto; margin-inline: 0; }
	body.admin-bar .hs-navbar--pill { top: 46px; }
	body .hs-pill {
		gap: 0.75rem;
		padding: 0.5rem 1.15rem;
		border-radius: 0;
		border-width: 0 0 1px;
		background: var(--hs-band);
		backdrop-filter: none;
		box-shadow: none;
	}
	.hs-pill > .hs-search { display: none; }
	/* Logo left, burger right — view.js moves the burger into .hs-masthead__brand
	 * here, so the row holds the brand and the burger. The `margin-right: auto`
	 * below is what drives them apart; a child styling the site title must not
	 * flatten it with a blanket `margin`. */
	body .hs-masthead__brand { flex: 1 1 auto; justify-content: flex-start; align-items: center; }
	.hs-masthead__brand > .wp-block-site-title { margin-right: auto; }
	.hs-pill .wp-block-site-title { font-size: 1.3rem; }

	.hs-single__meta { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
	.hs-sidebar { position: static; }
	.hs-footer__statement { max-width: none; }
}
