/*
Theme Name: ShinyStream
Theme URI: https://www.shinysportswear.com/
Author: Shiny Sportswear
Description: Modern, lightweight, media-first theme for Shiny Sportswear. Masonry galleries, an infinite-scroll image wall with lightbox quick view and inline video, SEO-first markup and dedicated ad slots. No jQuery, no bloat.
Version: 0.3.22
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shinystream
Tags: full-width-template, masonry, infinite-scroll, featured-images, translation-ready, dark-mode, block-styles, wide-blocks
*/

/*
 * SHINYSTREAM — "vinyl" material pass (0.3.0)
 *
 * The archive is glossy nylon and vinyl sportswear, so the chrome speaks the same
 * language: satin-type wordmark, smoked glass, specular hairlines along the top edge
 * of every raised surface, and a light sweep that crosses a card when you hover it.
 * Everything here is CSS: no images, no JS, no dependencies. The one binary is a
 * self-hosted subset of Archivo (OFL) in fonts/ — see "type" below.
 *
 * Layout rules from the v1/v2 mobile audit are load-bearing and are marked "KEEP".
 */

/* ---------- type ---------- */
/*
 * Archivo variable, subset to latin + our two axes (wght 300..800, wdth 100..125).
 * Self-hosted, not Google's CDN: no third-party request on the live site, and it
 * works offline in dev. The width axis is the brand move — display text is set
 * expanded (112-120%) and poster-tight, body text stays at 100%.
 * Subset provenance: fonttools instancer wght=300:800 wdth=100:125 + pyftsubset
 * latin ranges, 56 KB woff2 (from 176 KB). License: fonts/OFL.txt.
 */
@font-face {
	font-family: "Archivo";
	src: url("fonts/archivo-var-latin.woff2") format("woff2");
	font-weight: 300 800;
	font-stretch: 100% 125%;
	font-style: normal;
	font-display: swap;
}
:root {
	--font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	/* display role = Archivo expanded; body stays on the plain width.
	   Every rule that sets font-variation-settings also sets a plain font-weight,
	   so the layout still reads correctly while the webfont is swapping in (or if
	   it fails entirely) — the variable axes just no-op on a fallback. */
	--f-display: "Archivo", system-ui, sans-serif;
	--w-body: 400;
	--w-title: 650;
	--w-display: 800;
}

/* ---------- tokens ---------- */
:root {
	--bg: #f6f6f4;
	--surface: #ffffff;
	--text: #16161b;
	--muted: #6a6a76;
	--accent: #e0245e;
	--accent-hi: #ff4d7d;
	--accent-lo: #b60f47;
	--accent-soft: rgba(224, 36, 94, 0.08);
	--line: rgba(22, 22, 27, 0.10);
	--shadow: 0 1px 2px rgba(16, 16, 20, 0.06), 0 8px 24px rgba(16, 16, 20, 0.08);
	--radius: 16px;
	--radius-sm: 10px;
	--gap: 14px;
	--maxw: 1420px;
	--content: 720px;
	--row: 8px;
	--header-h: 60px;

	/* material primitives — light scheme reads as patent white / mother-of-pearl */
	--plate: linear-gradient(180deg, #ffffff, #fbfbfc);
	--sheen: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 55%);
	--spec: inset 0 1px 0 rgba(255, 255, 255, 0.95);           /* specular hairline at a top edge */
	--rim: inset 0 0 0 1px rgba(22, 22, 27, 0.07);              /* 1px inner edge on every surface */
	--lift: 0 1px 2px rgba(16, 16, 20, 0.05), 0 16px 34px -16px rgba(16, 16, 20, 0.18);
	--accent-grad: linear-gradient(135deg, var(--accent-hi), var(--accent) 52%, var(--accent-lo));
	--accent-glow: 0 10px 24px -10px rgba(224, 36, 94, 0.5);
	--sweep: rgba(255, 255, 255, 0.55);                        /* the hover light band */
	--hatch: rgba(22, 22, 27, 0.045);                          /* empty-ad-slot texture */
	--glass: rgba(255, 255, 255, 0.72);
	--media-bg: #ececed;                                        /* letterbox behind a loading image */
	--chrome: linear-gradient(100deg, #45454f, #0f0f14 18%, #61646f 34%, #14141a 52%, #4e505b 68%, #101016 86%, #45454f);
	--seam: linear-gradient(90deg, transparent, rgba(22, 22, 27, 0.14) 12%, rgba(22, 22, 27, 0.14) 88%, transparent);
}
@media (prefers-color-scheme: dark) {
	:root {
		--bg: #0c0c10;
		--surface: #1a1a20;
		--text: #ececf1;
		--muted: #9b9baa;
		--line: rgba(236, 236, 241, 0.11);
		--shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.45);
		--accent-soft: rgba(224, 36, 94, 0.16);

		/* dark scheme is where vinyl lives: black lacquer with a cool blue cast */
		--plate: linear-gradient(180deg, #212129, #191920);
		--sheen: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0) 55%);
		--spec: inset 0 1px 0 rgba(255, 255, 255, 0.10);
		--rim: inset 0 0 0 1px rgba(255, 255, 255, 0.055);
		--lift: 0 2px 4px rgba(0, 0, 0, 0.45), 0 18px 40px -18px rgba(0, 0, 0, 0.7);
		--sweep: rgba(255, 255, 255, 0.13);
		--hatch: rgba(255, 255, 255, 0.035);
		--glass: rgba(24, 24, 30, 0.74);
		--media-bg: #0b0b0f;
		--chrome: linear-gradient(100deg, #8b8e9c, #ffffff 16%, #b9bcc9 33%, #ffffff 50%, #a3a6b4 67%, #f4f5f9 84%, #8b8e9c);
		--seam: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16) 12%, rgba(255, 255, 255, 0.16) 88%, transparent);
	}
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 16px/1.6 var(--font);
	font-weight: var(--w-body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
/* the whole page sits on a faint vignette so the black isn't flat */
body::before {
	content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
	background: radial-gradient(120% 60% at 50% -10%, rgba(255, 255, 255, 0.05), transparent 60%);
}
::selection { background: var(--accent); color: #fff; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img, video { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 999;
	background: var(--accent-grad); color: #fff; padding: 10px 16px; border-radius: 0 0 12px 0;
	box-shadow: var(--accent-glow); font-weight: 700;
}
.skip-link:focus { left: 0; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
/* brand micro-label: every bit of chrome metadata speaks this voice */
.ssw-lb__sponsored, .ssw-card__badge {
	font-variation-settings: "wght" 700, "wdth" 116;
	font-size: 0.68rem; font-weight: 700;
	letter-spacing: 0.13em; text-transform: uppercase;
}
@media (prefers-color-scheme: dark) {
	/* thin, accent-aware scrollbar — Chromium only, harmless elsewhere */
	::-webkit-scrollbar { width: 11px; height: 11px; }
	::-webkit-scrollbar-track { background: var(--bg); }
	::-webkit-scrollbar-thumb {
		background: #33333d; border-radius: 999px; border: 3px solid var(--bg);
	}
	::-webkit-scrollbar-thumb:hover { background: var(--accent); }
}

/* ---------- header ---------- */
.ssw-site-header {
	position: sticky; top: 0; z-index: 100;
	background: var(--glass);
	backdrop-filter: blur(14px) saturate(1.5);
	-webkit-backdrop-filter: blur(14px) saturate(1.5);
	border-bottom: 1px solid var(--line);
}
/* the sticky header's bottom edge is a lit seam, not a grey rule */
.ssw-site-header::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
	background: var(--seam); opacity: 0.8; pointer-events: none;
}
.ssw-header-inside {
	max-width: var(--maxw); margin: 0 auto; padding: 10px 16px;
	display: flex; align-items: center; gap: 18px; min-height: var(--header-h);   /* KEEP: min-height only, the real header is ~64px on mobile */
}
.ssw-brand { display: flex; flex-direction: column; line-height: 1.15; margin-right: auto; }
.ssw-brand-name {
	font-family: var(--f-display); font-size: 1.3rem; font-weight: var(--w-display);
	font-variation-settings: "wght" 800, "wdth" 120;
	letter-spacing: -0.015em; white-space: nowrap;
}
/* satin wordmark: the gradient's highlight travels slowly across the letters.
   Guarded — without background-clip:text the wordmark stays solid --text. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.ssw-brand-name {
		background: var(--chrome);
		background-size: 300% 100%;
		background-position: 0% 0;
		-webkit-background-clip: text; background-clip: text;
		-webkit-text-fill-color: transparent; color: transparent;
		animation: ssw-satin 14s linear infinite;
	}
	.ssw-brand-name:hover { -webkit-text-fill-color: transparent; color: transparent; }
}
@keyframes ssw-satin { to { background-position: -300% 0; } }
.ssw-brand-tagline {
	font-size: 0.62rem; color: var(--muted); font-weight: 600;
	font-variation-settings: "wght" 600, "wdth" 116;
	letter-spacing: 0.2em; text-transform: uppercase; margin-top: 2px;
}
/* No .custom-logo rule: the theme does not declare custom-logo support (owner call, 0.3.11 - the
 * brand is the wordmark). If that is ever reversed, header.php prints the logo as a SIBLING of
 * .ssw-brand, not inside it, which is what the previous rule wrongly assumed. */
.ssw-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.ssw-nav a {
	display: block; padding: 8px 15px; border-radius: 999px;
	font-size: 0.92rem; font-weight: 600; color: var(--muted);
	transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.ssw-nav a:hover {
	color: var(--text); background: var(--plate);
	box-shadow: var(--rim), var(--spec);
}
.ssw-nav .current-menu-item > a, .ssw-nav .current_page_item > a {
	color: #fff; background: var(--accent-grad);
	box-shadow: var(--spec), var(--accent-glow);
}
.ssw-nav-toggle, .ssw-search-toggle {
	display: none; background: none; border: 0; cursor: pointer; color: var(--text);
	width: 44px; height: 44px; padding: 0; border-radius: 12px;   /* KEEP: 44px tap targets */
	transition: box-shadow 0.18s ease;
}
.ssw-nav-toggle:hover, .ssw-search-toggle:hover { background: var(--accent-soft); box-shadow: var(--spec); }
.ssw-nav-toggle svg, .ssw-search-toggle svg { width: 26px; height: 26px; display: block; margin: auto; }
.ssw-search form { display: flex; align-items: center; }
/* wet-glass field: inset shadow instead of a drawn border */
.ssw-search input[type="search"] {
	border: 1px solid transparent; background: var(--bg); color: var(--text);
	border-radius: 999px; padding: 8px 16px; font-size: 0.92rem; font-family: inherit; width: 190px;
	box-shadow: inset 0 1px 3px rgba(16, 16, 20, 0.09), var(--rim);
	transition: width 0.25s ease, box-shadow 0.2s ease, background 0.2s;
}
.ssw-search input[type="search"]:focus {
	width: 250px; outline: none; background: var(--surface);
	box-shadow: inset 0 1px 2px rgba(16, 16, 20, 0.06), 0 0 0 3px var(--accent-soft), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
@media (max-width: 860px) {
	.ssw-nav-toggle { display: block; order: 3; }
	/* Anchored to the header's own bottom edge: no dependence on --header-h, so the
	   panel lines up whether the header is 60px or wrapped taller. */
	.ssw-nav {
		position: absolute; top: 100%; left: 0; right: 0; background: var(--surface);   /* KEEP: top: 100% */
		border-bottom: 1px solid var(--line); display: none; padding: 10px 16px 18px;
	}
	.ssw-nav.is-open { display: block; }
	.ssw-nav ul { flex-direction: column; gap: 2px; }
	.ssw-nav a { padding: 12px 14px; font-size: 1.05rem; }
	.ssw-search input[type="search"] { width: 130px; }
	.ssw-search input[type="search"]:focus { width: 160px; }
}

/* ---------- masonry grid ---------- */
.ssw-main { max-width: var(--maxw); margin: 0 auto; padding: calc(var(--gap) + 8px) 16px 60px; }
.ssw-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(clamp(150px, 24vw, 280px), 1fr));
	grid-auto-rows: var(--row);
	gap: var(--gap);
	margin: 0;
}
@media (max-width: 560px) {
	.ssw-grid { grid-template-columns: 1fr; --gap: 18px; }   /* KEEP whole block */
	/* One column: rows must size to content. With grid-auto-rows left at the 8px masonry
	   unit, "grid-row-end: auto" makes each card exactly one 8px track tall and
	   overflow:hidden clips the image to a band. */
	body:not(.ssw-wall) .ssw-grid { grid-auto-rows: auto; }
	body:not(.ssw-wall) .ssw-card[data-ssw-card] { grid-row-end: auto !important; }
	body.ssw-wall .ssw-grid { --gap: 6px; }
	/* header: keep it to one 60px row so the fixed nav/search panels line up */
	.ssw-header-inside { gap: 6px; }
	.ssw-brand { min-width: 0; }
	.ssw-brand-name { font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.ssw-brand-tagline { display: none; }
	.ssw-search-toggle { display: block; order: 2; }
	.ssw-nav-toggle { order: 3; }
	.ssw-search {
		position: absolute; top: 100%; left: 0; right: 0; z-index: 99; display: none;   /* KEEP: top: 100% */
		background: var(--surface); border-bottom: 1px solid var(--line); padding: 10px 14px;
	}
	.ssw-search.is-open { display: block; }
	.ssw-search input[type="search"], .ssw-search input[type="search"]:focus { width: 100%; }
}
.ssw-card {
	position: relative;                            /* anchor for the light sweep */
	background: var(--plate);
	border-radius: var(--radius);
	overflow: hidden;                              /* KEEP: clips the sweep + media */
	grid-row-end: span var(--span, 34);
	break-inside: avoid;
	box-shadow: var(--rim);
	transition: transform 0.18s ease, box-shadow 0.22s ease;
}
.ssw-card:hover { transform: translateY(-2px); box-shadow: var(--rim), var(--spec), var(--lift); }
/* vinyl: a band of light crosses the whole card on hover, then is gone */
.ssw-card::after {
	content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
	background: linear-gradient(115deg, transparent 32%, var(--sweep) 47%, rgba(255, 255, 255, 0) 64%);
	transform: translateX(-101%); opacity: 0;
	transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
	.ssw-card:hover::after { transform: translateX(101%); opacity: 1; }
}
/* Never sweep or lift an ad unit: overlaying motion on an AdSense iframe is exactly
   the pattern their policy on obscuring/interference flags, and repositioning the
   unit mid-scroll is pointless. The card keeps its plate, just no theatrics. */
.ssw-ad-card::after { content: none; }
.ssw-ad-card:hover { transform: none; }
.ssw-card__media { position: relative; display: block; background: var(--media-bg); }
.ssw-card__media img, .ssw-card__media video { border-radius: 0; width: 100%; }
.ssw-card__media img { aspect-ratio: var(--iar, auto); object-fit: cover; }
.ssw-card__media.has-video { position: relative; }
.ssw-card__media.has-video video {
	position: absolute; inset: 0; width: 100%; height: 100%;
	object-fit: cover; opacity: 0; transition: opacity 0.3s ease; border-radius: 0;
}
/*
 * Revealed only once a real frame exists. Since 0.3.11 nothing autoplays, so this is no longer
 * "playing": app.js adds .has-frame on `loadeddata`. If that never fires (offline, unsupported
 * codec, dead file) the video stays transparent and the reader sees the poster, or the placeholder
 * below. An always-visible <video> would paint a black box over both of those - which is the exact
 * blank-tile bug this release fixes.
 */
.ssw-card__media.has-video video.has-frame { opacity: 1; }
/*
 * Video tile with no poster. The archive has clips whose parent post has no image anywhere, so
 * this used to be an empty box with a badge — read as a broken card. Drawn in the same language as
 * the empty-ad-slot hatch so it says "clip, no thumbnail". Everything is a token: the first
 * version of this rule hard-coded #0b0b0f, which turns a light-scheme wall into black holes.
 */
.ssw-card__media.no-poster {
	aspect-ratio: var(--iar, 1.5);
	background:
		repeating-linear-gradient(-45deg, transparent 0 10px, var(--hatch) 10px 20px),
		var(--media-bg);
}
.ssw-card__media.no-poster::after {          /* ghost play glyph: what the tile is standing in for */
	content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 27px;
	transform: translate(-50%, -50%); background: var(--muted); opacity: 0.45;
	clip-path: polygon(3% 0, 100% 50%, 3% 100%); border-radius: 3px;
}
.ssw-card__badge {
	position: absolute; top: 10px; right: 10px; z-index: 2;
	background: rgba(10, 10, 14, 0.58); color: #fff;
	border-radius: 999px; padding: 4px 9px 4px 7px;
	display: inline-flex; align-items: center; gap: 4px;
	pointer-events: none;
	backdrop-filter: blur(6px) saturate(1.3); -webkit-backdrop-filter: blur(6px) saturate(1.3);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 2px 8px rgba(0, 0, 0, 0.3);
}
.ssw-card__badge svg { width: 14px; height: 14px; }
.ssw-card__text { padding: 13px 15px 15px; }
.ssw-card__title {
	margin: 0; font-size: 1rem; line-height: 1.32;
	font-family: var(--f-display); font-weight: var(--w-title);
	font-variation-settings: "wght" 650, "wdth" 104;
	letter-spacing: -0.008em; text-wrap: balance;
}
.ssw-card__title a {
	display: block;
	background-image: linear-gradient(var(--accent), var(--accent));
	background-repeat: no-repeat; background-size: 0% 2px; background-position: 0 100%;
	transition: background-size 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.ssw-card__title a:hover { background-size: 100% 2px; }
.ssw-card__excerpt { margin: 6px 0 0; color: var(--muted); font-size: 0.86rem; }

/* ---------- wall (infinite feed) ---------- */
body.ssw-wall .ssw-main { max-width: none; padding-inline: 0; }
body.ssw-wall .ssw-grid { --gap: 8px; grid-template-columns: repeat(auto-fill, minmax(clamp(170px, 22vw, 320px), 1fr)); }
@media (max-width: 560px) {
	body.ssw-wall .ssw-grid { grid-template-columns: repeat(2, 1fr); --gap: 6px; }   /* KEEP: 2 cols + JS spans */
}
/*
 * Wall load status. It used to live INSIDE the masonry, where `grid-row-end: auto` squeezed a
 * 52px label into one 8px row: it overflowed its cell and the pagination nav painted over it, and
 * the always-on "LOADING MORE" read as stray text under the tiles. It is a sibling of the grid now,
 * and quiet by default — visible only while a batch is in flight, or as the tap-to-retry message.
 * Still in the DOM as role=status/aria-live, so screen readers keep announcing it.
 */
.ssw-load-sentinel {
	text-align: center; color: var(--muted); font-size: 0.9rem; font-weight: 600;
	font-variation-settings: "wght" 600, "wdth" 112; letter-spacing: 0.08em; text-transform: uppercase;
}
.ssw-load-sentinel:not(.is-loading):not(.is-error) {
	/* Collapsed but IN FLOW, and not position:absolute: the observer and wall.js both measure this
	   element's distance from the viewport, so its box has to say where the end of the wall really
	   is. A 0-height in-flow box does that; an absolute 1px one reports a position that depends on
	   the containing block instead. Clipping (not display:none) keeps aria-live announcing. */
	height: 0; padding: 0; overflow: hidden;
}
.ssw-load-sentinel.is-loading { padding: 20px 0 2px; }
.ssw-load-sentinel.is-loading::after {
	content: ""; display: inline-block; width: 18px; height: 18px; margin-left: 10px;
	vertical-align: -4px; border: 2px solid var(--muted); border-top-color: transparent;
	border-radius: 50%; animation: ssw-spin 0.7s linear infinite;
}
.ssw-load-sentinel.is-error { padding: 20px 0 2px; color: var(--accent); cursor: pointer; }
.ssw-load-sentinel.is-done::after { display: none; }
/* real links to every wall batch: the crawl path for images infinite scroll hides */
body.ssw-wall .ssw-wall-nav { padding: 0 16px; margin-top: 22px; }
@keyframes ssw-spin { to { transform: rotate(360deg); } }

/* ---------- lightbox quick view (wall) ---------- */
.ssw-lb {
	position: fixed; inset: 0; z-index: 200;
	display: flex; align-items: center; justify-content: center;
	padding: 20px 16px; padding: max(20px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}
.ssw-lb[hidden] { display: none; }
html.ssw-lb-open, html.ssw-lb-open body { overflow: hidden; }
.ssw-lb__backdrop {
	position: absolute; inset: 0; background: rgba(6, 6, 9, 0.94);
	backdrop-filter: blur(8px) saturate(1.2); -webkit-backdrop-filter: blur(8px) saturate(1.2);
}
.ssw-lb__figure {
	position: relative; margin: 0; max-width: min(1140px, 100%);
	display: flex; flex-direction: column; gap: 10px;
	opacity: 0; transform: scale(0.985); transition: opacity 0.2s ease, transform 0.2s ease;
}
.ssw-lb.is-open .ssw-lb__figure { opacity: 1; transform: none; }
.ssw-lb__stage {
	position: relative; display: flex; align-items: center; justify-content: center;
	min-height: 140px; min-width: 140px;
}
.ssw-lb__stage.is-loading::after {
	content: ""; position: absolute; width: 26px; height: 26px;
	border: 2px solid rgba(255, 255, 255, 0.55); border-top-color: transparent;
	border-radius: 50%; animation: ssw-spin 0.7s linear infinite;
}
.ssw-lb__media {
	max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px);
	width: auto; height: auto; border-radius: 12px; background: #0b0b0f;
	/* lit rim + a soft accent bleed under the plate: the photo looks lacquered */
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.16),
		0 18px 50px rgba(0, 0, 0, 0.55), 0 40px 90px -50px rgba(224, 36, 94, 0.4);
	opacity: 0; transition: opacity 0.22s ease;
	object-fit: contain;
}
.ssw-lb__media.is-loaded { opacity: 1; }
/* ad step: the media stays rendered behind, the ad node is revealed in its place */
.ssw-lb__ad { display: none; }
.ssw-lb.is-ad .ssw-lb__stage { display: none; }
.ssw-lb.is-ad .ssw-lb__ad {
	display: flex; align-items: center; justify-content: center;
	width: 100%; max-width: min(640px, 100% - 108px); min-height: 280px; margin: 0 auto;
	background: var(--plate); border-radius: 14px; padding: 12px;
	box-shadow: var(--spec), inset 0 0 0 1px rgba(255, 255, 255, 0.09), 0 18px 50px rgba(0, 0, 0, 0.5);
}
.ssw-lb__ad .ssw-ad { width: 100%; text-align: center; }
.ssw-lb__ad .ssw-ad-placeholder { border-color: rgba(140, 140, 158, 0.55); min-height: 256px; }
/* The figure shrink-wraps to its content, but the ad step hides the stage (the only child with
   an intrinsic width), so .ssw-lb__ad's max-width "calc(100% - 108px)" resolved against a collapsed
   figure (~140px bar) → 32px, and AdSense refused ("No slot size for availableWidth=32"). Pin the
   figure's width while in the ad state so the unit resolves to a real box before it is pushed. */
.ssw-lb.is-ad .ssw-lb__figure { width: min(688px, 100%); }
.ssw-lb.is-ad .ssw-lb__title { display: none; }
.ssw-lb.is-ad .ssw-lb__sponsored { display: block; }
.ssw-lb__sponsored { display: none; flex: none; color: var(--muted); }
.ssw-lb__bar {
	display: flex; align-items: baseline; gap: 14px; justify-content: space-between; color: #fff;
	padding-top: 9px; border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.ssw-lb__title { min-width: 0; font-size: 0.95rem; line-height: 1.35; font-weight: 650; font-variation-settings: "wght" 650, "wdth" 104; }
.ssw-lb__title a {
	color: #fff; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ssw-lb__title a:hover { color: var(--accent-hi); text-decoration: underline; }
.ssw-lb__count { flex: none; color: rgba(255, 255, 255, 0.62); font-size: 0.8rem; font-variant-numeric: tabular-nums; }
/* polished glass controls */
.ssw-lb__btn {
	position: absolute; z-index: 2; display: grid; place-items: center;
	width: 44px; height: 44px; padding: 0; border-radius: 50%; cursor: pointer;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: linear-gradient(180deg, rgba(58, 58, 70, 0.72), rgba(20, 20, 26, 0.72)); color: #fff;
	backdrop-filter: blur(8px) saturate(1.3); -webkit-backdrop-filter: blur(8px) saturate(1.3);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 4px 14px rgba(0, 0, 0, 0.35);
	transition: background 0.18s ease, box-shadow 0.18s ease, opacity 0.18s;
}
.ssw-lb__btn:hover:not([disabled]) {
	background: var(--accent-grad); border-color: transparent;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), var(--accent-glow);
}
.ssw-lb__btn svg { width: 22px; height: 22px; }
.ssw-lb__btn[disabled] { opacity: 0.3; cursor: default; }
.ssw-lb__close { top: 10px; right: 10px; }
.ssw-lb__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.ssw-lb__next { right: 10px; top: 50%; transform: translateY(-50%); }
.ssw-lb__btn:focus-visible { outline: 3px solid #fff; }
@media (max-width: 700px) {
	.ssw-lb { padding: 10px; }
	.ssw-lb__btn { width: 38px; height: 38px; }
	.ssw-lb__prev { left: 6px; }
	.ssw-lb__next { right: 6px; }
	.ssw-lb__close { top: 6px; right: 6px; }
	.ssw-lb__media { max-height: calc(100vh - 130px); max-height: calc(100dvh - 130px); }
	.ssw-lb__bar { padding: 9px 4px 0; }
}

/* ---------- single ---------- */
.ssw-single { max-width: var(--content); margin: 0 auto; padding-top: 4px; }
/* No hero on most posts now, so the headline needs its own air under the sticky header.
   (The old `.ssw-single .ssw-main` rule here could never match: main WRAPS the article.) */
.ssw-single > .ssw-entry-header:first-child { padding-top: 8px; }
.ssw-entry-media { margin: 0 0 20px; }
.ssw-entry-media img, .ssw-entry-media video {
	border-radius: var(--radius);
	/* Cap the hero by HEIGHT, not just width. These are mostly 2:3 product shots, so
	   "fill the 720px column" made the hero 1080px tall — the title and every word of
	   the article lived below the fold on a laptop. With both auto, max-height shrinks
	   width proportionally, so the ratio is preserved (no crop, no letterbox) and the
	   portrait heroes centre in the column instead of filling it. */
	max-height: min(78vh, 820px);
	width: auto; max-width: 100%; margin-inline: auto;
	box-shadow: inset 0 0 0 1px var(--line), var(--lift);
}
.ssw-hero-video { background: #000; }
.ssw-entry-title {
	font-family: var(--f-display); font-size: clamp(1.55rem, 4.2vw, 2.25rem); line-height: 1.14;
	margin: 0 0 10px; font-weight: var(--w-display);
	font-variation-settings: "wght" 800, "wdth" 112;
	letter-spacing: -0.025em; text-wrap: balance;
}
.ssw-entry-meta {
	color: var(--muted); font-size: 0.75rem; margin-bottom: 20px; padding-bottom: 16px;
	border-bottom: 1px solid var(--line); font-weight: 600;
	font-variation-settings: "wght" 600, "wdth" 116;
	letter-spacing: 0.11em; text-transform: uppercase;
}
.ssw-entry-content { font-size: 1.02rem; }
.ssw-entry-content p { margin: 0 0 1.15em; }
.ssw-entry-content img { margin: 1.2em auto; }
.ssw-entry-content .wp-block-video { margin: 1.2em 0; }
/*
 * Legacy content that the theme must render even though it didn't author it.
 * 52 of 84 posts contain a Jetpack tiled gallery (292 tiles), and the corpus also
 * carries 2013-era Photon-floated images and captions.
 *
 * Why the theme takes this over instead of deferring to Jetpack:
 *  - Every gallery in the corpus is `type-rectangular`, and 280 of 286 groups hold ONE
 *    image — Jetpack's "mosaic" here is a stack of ~227px fixed-width images, which is
 *    exactly what reads as scrambled. There is no layout worth preserving.
 *  - The images carry inline style="width:162px;height:243px", so a plain `width:100%`
 *    loses to it — hence !important, scoped to the gallery.
 *  - `tiled-gallery-unresized` is emitted server-side and REMOVED by Jetpack's JS once it
 *    has resized the tiles (verified on the live page after load: 0 elements carry the class
 *    and the imgs have inline `width:150px`). So scoping on it would fix the replica and be
 *    inert on production. We target the base `.tiled-gallery` on purpose: one look in both
 *    states, and it survives the client switching the Jetpack gallery module off.
 *  - 0 caption markup exists across all 52 galleries, so the class-less <p> children are
 *    pure spacer nodes — but as grid cells they wreck the arrangement. Hidden via
 *    `:not([class])`, which still keeps any real `.tiled-gallery-item-caption`.
 */
.ssw-entry-content .tiled-gallery {
	display: grid; gap: 10px; align-items: start; margin: 1.5em 0;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
}
.ssw-entry-content .tiled-gallery .gallery-row,
.ssw-entry-content .tiled-gallery .gallery-group,
.ssw-entry-content .tiled-gallery .tiled-gallery-item { display: contents; }
.ssw-entry-content .tiled-gallery p:not([class]) { display: none; }
.ssw-entry-content .tiled-gallery a { display: block; overflow: hidden; border-radius: var(--radius-sm); }
.ssw-entry-content .tiled-gallery img {
	width: 100% !important; height: auto !important; max-width: 100% !important;
	margin: 0; display: block; border-radius: 0;
}
/* 2013-era alignment (aligncenter appears in the corpus; left/right floats are cheap
   insurance for classic-editor content the replica may not hold) */
.ssw-entry-content .alignleft { float: left; margin: 0.35em 1.2em 0.8em 0; }
.ssw-entry-content .alignright { float: right; margin: 0.35em 0 0.8em 1.2em; }
.ssw-entry-content .aligncenter { display: block; }
.ssw-entry-content .wp-block-image figcaption {
	color: var(--muted); font-size: 0.82rem; text-align: center; font-weight: 500;
	font-variation-settings: "wght" 500, "wdth" 105;
}
.ssw-entry-content blockquote {
	margin: 1.5em 0; padding: 2px 0 2px 20px; border-left: 3px solid var(--accent);
	color: var(--muted); font-size: 1.06rem;
}
.ssw-entry-tags { margin: 26px 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.ssw-chip {
	background: var(--plate); border: 0; color: var(--muted);
	font-size: 0.8rem; font-weight: 600; padding: 6px 13px; border-radius: 999px;
	box-shadow: var(--rim), var(--spec);
	transition: color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.ssw-chip:hover { color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent), var(--spec); transform: translateY(-1px); }
/*
 * Prev/next: two-up blocks, eyebrow label + title, hairline on top.
 * Not pills — a pill around a two-line title is what looked broken.
 *
 * Always 2 columns, deliberately. The first version used auto-fit with a 240px floor,
 * which silently collapsed to ONE column below ~510px of content width — so on a phone the
 * pair stacked and the right-aligned "next" read like a stray heading. A pair belongs side
 * by side. `:only-child` covers the oldest/newest post, where core emits no link at all for
 * the missing side; it takes the full row instead of sitting in half of it.
 */
.ssw-prevnext { display: grid; gap: 10px 18px; margin: 30px 0 0; grid-template-columns: 1fr 1fr; }
.ssw-prevnext__item:only-child { grid-column: 1 / -1; }
.ssw-prevnext__item { border-top: 1px solid var(--line); padding-top: 11px; }
.ssw-prevnext__item--next { text-align: right; }
.ssw-prevnext__item a { display: block; color: var(--muted); transition: color 0.18s ease; }
.ssw-prevnext__item a:hover { color: var(--accent); }
.ssw-prevnext__label {
	display: block; color: var(--muted);
	font-size: 0.68rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
	font-variation-settings: "wght" 700, "wdth" 116;
}
.ssw-prevnext__item--prev .ssw-prevnext__label::before { content: "\2190\00a0"; }
.ssw-prevnext__item--next .ssw-prevnext__label::after { content: "\00a0\2192"; }
.ssw-prevnext__title {
	display: block; margin-top: 5px; color: var(--text);
	font-family: var(--f-display); font-size: 1.02rem; line-height: 1.3;
	font-weight: var(--w-title); font-variation-settings: "wght" 650, "wdth" 104;
	text-wrap: balance;
}
.ssw-prevnext__item a:hover .ssw-prevnext__title { color: var(--accent); }
.ssw-related { margin-top: 50px; }
/*
 * "More to look at" is a reference row, not a feed: uniform tiles read as a set,
 * whereas inheriting the feed's masonry gave 2 giant 353px tiles up to 786px tall
 * inside a 720px column. app.js writes gridRowEnd INLINE, so beating it needs
 * !important (same trick as the single-column mobile rule).
 */
.ssw-related .ssw-grid {
	grid-auto-rows: auto;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr));
}
.ssw-related [data-ssw-card] { grid-row-end: auto !important; }
.ssw-related .ssw-card__media { aspect-ratio: 1 / 1; }
.ssw-related .ssw-card__media img { aspect-ratio: 1 / 1; height: 100%; }
.ssw-related .ssw-card__title { font-size: 0.9rem; line-height: 1.3; }
.ssw-related .ssw-card__text { padding: 10px 12px 12px; }
/* section headings read as eyebrows: small, expanded, tracked */
.ssw-related h2, .ssw-comments-title {
	font-family: var(--f-display); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
	font-weight: 700; font-variation-settings: "wght" 700, "wdth" 118; color: var(--muted);
	display: flex; align-items: center; gap: 12px;
}
.ssw-related h2::after, .ssw-comments-title::after {
	content: ""; flex: 1; height: 1px; background: var(--seam);
}
.ssw-archive-head { max-width: var(--maxw); margin: 0 auto; padding: 30px 16px 6px; }
.ssw-archive-head h1 {
	font-family: var(--f-display); font-size: clamp(1.5rem, 3.4vw, 2rem); line-height: 1.15;
	margin: 0 0 6px; font-weight: 800; font-variation-settings: "wght" 800, "wdth" 114; letter-spacing: -0.02em;
}
.ssw-archive-head h2 { font-size: 1.35rem; letter-spacing: -0.01em; }
.ssw-archive-head p { color: var(--muted); max-width: 60ch; }

/* ---------- comments ---------- */
/* Compaction pass (0.3.3): the form was ~710px tall for a 3-field reply box. */
.ssw-comments { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.ssw-comments-title { margin: 0 0 16px; }
/*
 * Nested replies. Core emits them as <ol class="children"> (the walker runs with style => 'ol'),
 * and this rule said `ul.children`, so it matched ZERO elements and nested comments inherited the
 * browser's decimal markers — the thread rendered with a stray "1." above each reply. That is the
 * third selector in this theme aimed at markup that was never emitted (submit button, no-poster,
 * this): count DOM matches, don't read the source.
 * Scoped to the list classes on purpose — a reader's own comment may contain a real <ol>/<ul>,
 * and those must keep their markers.
 */
.ssw-comments ol.comment-list,
.ssw-comments ol.children,
.ssw-comments ul.children { list-style: none; }
.ssw-comments ol.comment-list { margin: 0 0 22px; padding: 0; }
.ssw-comments li.comment { margin: 0 0 14px; }
.ssw-comments .children {
	margin: 10px 0 0; padding-left: clamp(12px, 4vw, 32px);
	border-left: 1px solid var(--line);
}
.ssw-comment-body {
	background: var(--plate); border-radius: var(--radius-sm); padding: 11px 13px;
	box-shadow: var(--rim), var(--spec);
}
.ssw-comment-author { font-weight: 700; font-size: 0.92rem; font-variation-settings: "wght" 700, "wdth" 106; }
.ssw-comment-author a:hover { color: var(--accent); }
.ssw-comment-meta {
	color: var(--muted); font-size: 0.7rem; font-weight: 600;
	font-variation-settings: "wght" 600, "wdth" 114; letter-spacing: 0.09em; text-transform: uppercase;
}
.ssw-comment-content { margin-top: 6px; font-size: 0.95rem; }
.ssw-comment-content p { margin: 0 0 0.8em; }
.ssw-comment-reply-link { font-size: 0.72rem; font-weight: 700; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; }
/* The field rule must NOT be a bare `input`: it used to catch the submit button (a full
   width button) and the cookies checkbox (a 100%-wide square), which is what mangled the
   form. Submit keeps its .ssw-submit pill; checkbox/radio get their own rule below. */
.ssw-comments .comment-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.ssw-comments .comment-form textarea, .ssw-comments .comment-form select {
	width: 100%; max-width: 100%; border: 1px solid transparent; border-radius: 10px;
	background: var(--bg); color: var(--text); padding: 9px 12px; font: inherit; font-size: 0.95rem; margin-top: 5px;
	box-shadow: inset 0 1px 3px rgba(16, 16, 20, 0.08), var(--rim);
	transition: box-shadow 0.18s ease, background 0.18s ease;
}
.ssw-comments .comment-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,
.ssw-comments .comment-form textarea:focus, .ssw-comments .comment-form select:focus {
	outline: none; background: var(--surface);
	box-shadow: inset 0 1px 2px rgba(16, 16, 20, 0.05), 0 0 0 3px var(--accent-soft);
}
/* rows="8" in core's markup makes the textarea ~228px tall and beats min-height,
   so the compact height has to be `height`. resize: vertical keeps it growable. */
.ssw-comments .comment-form textarea { height: 92px; min-height: 76px; resize: vertical; }
.ssw-comments .comment-form input[type="checkbox"], .ssw-comments .comment-form input[type="radio"] {
	width: 16px; height: 16px; flex: none; margin: 0; padding: 0; border: 0; border-radius: 4px;
	background: var(--surface); accent-color: var(--accent); box-shadow: var(--rim);
}
/*
 * The real compaction: core emits one <p> per field, and name/email/website were three
 * stacked full-width rows. Grid the form and let those three share a row (3 up wide,
 * 2 up mid, 1 up narrow); everything conversational spans the full width.
 * gap replaces the old `p { margin: 0 0 14px }`.
 */
.ssw-comments .comment-form {
	display: grid; gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
}
.ssw-comments .comment-form > p { margin: 0; }
.ssw-comments .comment-form > .comment-form-comment,
.ssw-comments .comment-form > .comment-form-cookies-consent,
.ssw-comments .comment-form > .form-submit,
.ssw-comments .comment-form > .comment-notes,
.ssw-comments .comment-form > .required-field-message,
.ssw-comments .comment-form > .logged-in-as,
.ssw-comments .comment-form > p:not([class]) { grid-column: 1 / -1; }
/* Core wraps the checkbox in the label, but third-party form plugins don't always —
   flex both the p and the label so the box and its sentence align either way. */
/* Core emits the checkbox as a SIBLING of the label. Do not let this row wrap: the
   label is a long sentence and its max-content width is what pushed it onto its own
   line (row was 69px: 16 + 9 gap + 44 for two wrapped lines). min-width:0 lets it
   shrink beside the box instead. */
.ssw-comments .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 8px; }
.ssw-comments .comment-form-cookies-consent label {
	display: block; flex: 0 1 auto; min-width: 0; margin: 0;
	font-size: 0.8rem; font-weight: 500; line-height: 1.35; color: var(--muted);
	text-transform: none; letter-spacing: 0; font-variation-settings: normal;
}
.ssw-comments .comment-form input[type="checkbox"] { margin-top: 2px; }
.ssw-comments label {
	font-size: 0.72rem; font-weight: 600; color: var(--muted);
	font-variation-settings: "wght" 600, "wdth" 114; letter-spacing: 0.09em; text-transform: uppercase;
}
.ssw-submit, .wp-element-button, .wp-block-search__button {
	background: var(--accent-grad); border: 0; color: #fff; font: inherit; font-weight: 700;
	padding: 11px 24px; border-radius: 999px; cursor: pointer;
	box-shadow: var(--spec), var(--accent-glow);
	transition: filter 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.ssw-submit:hover, .wp-element-button:hover, .wp-block-search__button:hover {
	filter: brightness(1.08); transform: translateY(-1px);
	box-shadow: var(--spec), 0 14px 30px -10px rgba(224, 36, 94, 0.6);
}
.comment-notes, .required-field-message { color: var(--muted); font-size: 0.85rem; }

/* ---------- ads ---------- */
.ssw-ad { clear: both; margin: 0 auto; }
.ssw-ad--leaderboard { max-width: var(--maxw); padding: 10px 16px 0; }
.ssw-ad--inpost { margin: 28px 0; }
.ssw-ad--infeed { display: flex; align-items: center; justify-content: center; min-height: 100%; }
/* AdSense refused ("No slot size for availableWidth=0"): the flex centering above turns the empty
   <ins class="adsbygoogle"> into a content-sized flex item, so its width collapsed to 0. A block
   ad unit needs a definite width to pick a responsive slot, so give it the column width. */
.ssw-ad--infeed .adsbygoogle { width: 100%; }
.ssw-ad--footer { max-width: var(--maxw); padding: 0 16px 10px; }
/* Inside a content column the slot must shed its full-bleed chrome: .ssw-single (a post, 0.3.5)
   and .ssw-main (home + wall, 0.3.8) already supply width and side padding, so double-padding
   here would visibly inset the ad away from the grid it sits between. */
.ssw-single > .ssw-ad--footer,
.ssw-main > .ssw-ad--footer { max-width: none; padding: 0; margin: 30px 0 0; text-align: center; }
/* Workbench look for empty slots: a neutral hatch, not an accent wash. This CAN be
   what real visitors see (if "Show placeholders" is left on), so it must stay quiet. */
.ssw-ad-placeholder {
	border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted);
	font-size: 0.8rem; text-align: center; padding: 18px 10px;
	display: flex; align-items: center; justify-content: center; min-height: 90px;
	background: repeating-linear-gradient(-45deg, transparent 0 12px, var(--hatch) 12px 24px);
}

/* ---------- footer ---------- */
.ssw-site-footer {
	border-top: 1px solid var(--line); padding: 34px 16px 44px; color: var(--muted); font-size: 0.86rem;
	background: linear-gradient(180deg, var(--surface), transparent 140px);
}
.ssw-footer-inside { max-width: var(--maxw); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; justify-content: space-between; }
.ssw-footer-inside nav ul { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; }
.ssw-footer-inside nav a {
	font-size: 0.72rem; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase;
	font-variation-settings: "wght" 600, "wdth" 114;
}
/*
 * The copyright block, which is now two items: the site name and, when a policy page is chosen in
 * Settings -> Privacy, the privacy link. Flex rather than inline text so the separator keeps an even
 * gap at every width, and the row stays the same two-child shape .ssw-footer-inside distributes.
 * Colour and size deliberately inherited: this is legal text next to legal text, so it must not pick up
 * the uppercase letterspaced nav treatment above it.
 */
.ssw-footer-brand { display: flex; align-items: center; gap: 9px; min-width: 0; }
.ssw-footer-sep { opacity: 0.45; }
.ssw-footer-brand .privacy-policy-link {
	color: inherit; text-decoration: none;
	border-bottom: 1px solid var(--line); padding-bottom: 1px;
}
.ssw-footer-brand .privacy-policy-link:hover,
.ssw-footer-brand .privacy-policy-link:focus-visible { color: var(--accent); border-bottom-color: var(--accent); }

/* ---------- misc ---------- */
/*
 * Pagination landing targets. Each wall batch's first card carries id="ssw-batch-N" so
 * ?sswpage=N#ssw-batch-N has somewhere to land; without this margin the sticky header sits on top
 * of the row the reader asked for. Attribute selector, not a class, because the id is the contract.
 */
.ssw-card[id^="ssw-batch-"] { scroll-margin-top: calc(var(--header-h) + 16px); }
.ssw-paginate { display: flex; gap: 6px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.ssw-paginate a, .ssw-paginate .page-numbers.current {
	padding: 8px 15px; border-radius: 999px; font-weight: 600; font-size: 0.9rem;
	background: var(--plate); color: var(--muted);
	box-shadow: var(--rim), var(--spec);
	transition: color 0.18s ease, box-shadow 0.18s ease;
}
.ssw-paginate a:hover { color: var(--accent); box-shadow: var(--rim), var(--spec), var(--accent-glow); }
.ssw-paginate .current { color: #fff; background: var(--accent-grad); box-shadow: var(--spec), var(--accent-glow); }
.ssw-empty { text-align: center; color: var(--muted); padding: 70px 20px; }
.alignwide, .wp-block-image.alignwide img { max-width: min(100%, 1080px); }
.alignfull img { width: 100vw; max-width: 100vw; margin-left: 50%; transform: translateX(-50%); border-radius: 0; }
.aligncenter { margin-inline: auto; }

/* admin bar offset (the mobile nav/search panels hang off the header, so they follow) */
.admin-bar .ssw-site-header { top: 32px; }   /* KEEP */
@media (max-width: 782px) { .admin-bar .ssw-site-header { top: 46px; } }   /* KEEP */
