/* ============================================================
   WIKIWALLS — design tokens & component styles
   Layered on top of Tailwind utilities.
   ============================================================ */

/* Variable fonts (self-hosted; no external requests). One file per
   family per style covers the full weight range thanks to the wght axis. */
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter.woff2") format("woff2-variations"),
	     url("../fonts/inter.woff2") format("woff2");
}
@font-face {
	font-family: "Inter";
	font-style: italic;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-italic.woff2") format("woff2-variations"),
	     url("../fonts/inter-italic.woff2") format("woff2");
}
@font-face {
	font-family: "Source Serif 4";
	font-style: normal;
	font-weight: 200 900;
	font-display: swap;
	src: url("../fonts/source-serif-4.woff2") format("woff2-variations"),
	     url("../fonts/source-serif-4.woff2") format("woff2");
}
@font-face {
	font-family: "Source Serif 4";
	font-style: italic;
	font-weight: 200 900;
	font-display: swap;
	src: url("../fonts/source-serif-4-italic.woff2") format("woff2-variations"),
	     url("../fonts/source-serif-4-italic.woff2") format("woff2");
}

:root {
	--ww-base:        #ffffff;
	--ww-base-2:      #f7f6f2;
	--ww-base-3:      #ecebe4;
	--ww-ink:         #0f0f0f;
	--ww-ink-2:       #000000;
	--ww-muted:       #6b6b6b;
	--ww-muted-2:     #9a9a96;
	--ww-rule:        #e7e6e0;
	--ww-accent:      #3740b9;
	--ww-accent-soft: #eef0fb;

	--ww-serif:  "Source Serif 4", "Iowan Old Style", "Apple Garamond", Georgia, serif;
	--ww-sans:   "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--ww-mono:   ui-monospace, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", monospace;

	--ww-h1: clamp(40px, 5.6vw, 72px);
	--ww-h2: clamp(28px, 3.4vw, 44px);
	--ww-h3: clamp(22px, 2.2vw, 28px);
	--ww-lead: 22px;
	--ww-body: 19px;

	--ww-read: 680px;
	--ww-wide: 1240px;
	--ww-gut: clamp(20px, 4vw, 48px);

	--ww-r-md: 10px;
	--ww-r-lg: 18px;
	--ww-shadow-2: 0 1px 0 rgba(15,15,15,.04), 0 18px 50px -20px rgba(15,15,15,.18);
}

/* Base typography */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
	font-family: var(--ww-sans);
	font-size: var(--ww-body);
	line-height: 1.6;
	letter-spacing: -.005em;
	font-feature-settings: "ss01","ss02","cv11";
}
a { color: inherit; text-decoration: none; }

/* ============================================================
   ATOMS
   ============================================================ */

.font-serif { font-family: var(--ww-serif); }
.font-sans  { font-family: var(--ww-sans); }
.font-mono  { font-family: var(--ww-mono); }

/* Eyebrow label with hairline lead-in rule */
.ww-eyebrow {
	font-family: var(--ww-sans);
	font-size: 11px;
	letter-spacing: .22em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--ww-muted);
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.ww-eyebrow::before {
	content: "";
	width: 22px; height: 1px;
	background: currentColor;
	opacity: .55;
}
.ww-eyebrow.no-rule::before { display: none; }

/* Pill tag */
.ww-tag {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 5px 10px; border-radius: 999px;
	font-size: 12px; font-weight: 600; letter-spacing: .02em;
	background: #f3f2ec; color: #2a2a2a;
}
.ww-tag.is-accent { background: var(--ww-accent-soft); color: var(--ww-accent); }

.ww-divider-dot {
	width: 3px; height: 3px; border-radius: 50%;
	background: currentColor; opacity: .45;
	display: inline-block; vertical-align: middle;
}

/* Initials avatar */
.ww-avatar {
	width: 36px; height: 36px; border-radius: 50%;
	background: linear-gradient(135deg, #c9c5b8, #807b6f);
	display: inline-grid; place-items: center;
	color: #fff; font-weight: 600; font-size: 13px;
	letter-spacing: .04em;
	flex: none;
}
.ww-avatar.sm { width: 28px; height: 28px; font-size: 11px; }
.ww-avatar.lg { width: 44px; height: 44px; font-size: 15px; }
.ww-avatar.xl { width: 72px; height: 72px; font-size: 22px; }
.ww-avatar img {
	width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}

/* Button */
button { font-family: inherit; cursor: pointer; }
.ww-btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 18px; border-radius: 999px;
	font-size: 14px; font-weight: 600;
	border: 1px solid var(--ww-ink); background: var(--ww-ink); color: #fff !important;
	transition: opacity .15s, background .15s, color .15s;
	text-decoration: none;
	cursor: pointer;
}
.ww-btn:hover { opacity: .85; }
.ww-btn.ghost { background: transparent; color: var(--ww-ink) !important; border-color: var(--ww-rule); }
.ww-btn.ghost:hover { background: var(--ww-base-2); border-color: var(--ww-ink); opacity: 1; }
.ww-btn.accent { background: var(--ww-accent); border-color: var(--ww-accent); color: #fff !important; }
.ww-btn.is-on { color: var(--ww-accent) !important; }

/* ============================================================
   IMAGE PLACEHOLDER — vignette + grain (used when no thumbnail)
   ============================================================ */
.ww-img {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}
.ww-img > img,
.ww-img > picture,
.ww-img > picture img {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	z-index: 0;
}
.ww-img::before {
	content: "";
	position: absolute; inset: 0;
	background:
		radial-gradient(120% 70% at 25% 15%, rgba(255,255,255,.18), transparent 55%),
		radial-gradient(80% 60% at 80% 90%, rgba(0,0,0,.35), transparent 60%);
	pointer-events: none;
	z-index: 1;
}
.ww-img.has-photo::before { display: none; }
.ww-img::after {
	content: "";
	position: absolute; inset: 0;
	background-image:
		radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
		radial-gradient(rgba(0,0,0,.05) 1px, transparent 1px);
	background-size: 3px 3px, 4px 4px;
	background-position: 0 0, 1px 2px;
	mix-blend-mode: overlay;
	opacity: .6;
	pointer-events: none;
	z-index: 2;
}
.ww-img.has-photo::after { opacity: .25; }
.ww-img-label {
	position: absolute; left: 16px; bottom: 14px; z-index: 3;
	font-family: var(--ww-mono); font-size: 10px; letter-spacing: .18em;
	text-transform: uppercase; color: rgba(255,255,255,.78);
	background: rgba(0,0,0,.32); backdrop-filter: blur(6px);
	padding: 4px 8px; border-radius: 999px;
}

/* ============================================================
   HOME — masthead
   ============================================================ */
.home-masthead {
	border-bottom: 1px solid var(--ww-rule);
	background: var(--ww-base-2);
	position: relative; overflow: hidden;
}
.home-masthead__grid {
	position: absolute; inset: 0; opacity: .35; pointer-events: none;
	background-image: linear-gradient(var(--ww-rule) 1px, transparent 1px);
	background-size: 100% 96px;
	-webkit-mask-image: linear-gradient(180deg, transparent, black 30%, black 70%, transparent);
	mask-image: linear-gradient(180deg, transparent, black 30%, black 70%, transparent);
}
.home-masthead h1 {
	margin: 0; font-family: var(--ww-serif);
	font-size: clamp(40px, 6.4vw, 96px);
	line-height: .96;
	letter-spacing: -.04em;
	font-weight: 500;
	text-wrap: balance;
}
.home-masthead h1 em {
	font-style: italic; font-weight: 500; color: var(--ww-accent);
}

/* WordPress nav menu — active item is fully opaque + slightly bolder */
.ww-header nav ul,
.ww-footer nav ul,
.ww-footer ul {
	list-style: none; margin: 0; padding: 0;
}
.ww-header nav ul li.current-menu-item > a span,
.ww-header nav ul li.current-menu-ancestor > a span,
.ww-header nav ul li.current-menu-item > a,
.ww-header nav ul li.current-menu-ancestor > a {
	opacity: 1 !important;
	font-weight: 600;
	color: var(--ww-ink);
}

/* Featured story headline */
.home-feature h2 {
	margin: 0; font-family: var(--ww-serif);
	font-size: clamp(32px, 4vw, 56px);
	line-height: 1.05;
	letter-spacing: -.025em;
	font-weight: 600;
	text-wrap: balance;
}

/* Editor's picks */
.home-card h3 {
	margin: 0; font-family: var(--ww-serif);
	font-size: 24px; font-weight: 600; line-height: 1.22;
	letter-spacing: -.01em; text-wrap: balance;
}
.home-card { transition: transform .25s ease; display: block; }
.home-card:hover { transform: translateY(-2px); }

/* Newsletter block */
.home-newsletter h2 {
	margin: 0; font-family: var(--ww-serif);
	font-size: clamp(32px, 4.4vw, 60px);
	line-height: 1.05; letter-spacing: -.025em;
	font-weight: 600; text-wrap: balance;
}
.home-newsletter input::placeholder { color: rgba(255,255,255,.5); }

/* Latest list */
.home-latest h2 {
	margin: 0; font-family: var(--ww-serif);
	font-size: clamp(28px, 3.4vw, 40px);
	font-weight: 600; letter-spacing: -.025em;
}
.home-latest__title {
	font-family: var(--ww-serif); font-size: 21px; font-weight: 600;
	letter-spacing: -.01em; line-height: 1.3;
}
.home-latest__rank {
	font-family: var(--ww-serif); font-size: 28px; font-weight: 600;
	color: var(--ww-muted-2); line-height: 1; padding-top: 2px;
}
.home-latest__most a {
	font-family: var(--ww-serif); font-size: 17px; font-weight: 600;
	line-height: 1.35; letter-spacing: -.005em;
}

/* ============================================================
   SINGLE ARTICLE
   ============================================================ */

/* Reading progress */
.single-progress {
	position: sticky; top: 0; height: 2px; z-index: 60;
	background: transparent;
}
.single-progress__bar {
	width: 0; height: 100%;
	background: var(--ww-accent);
	transition: width .15s linear;
}

/* Cinematic hero */
.single-hero__img {
	width: 100%; height: min(78vh, 720px);
	background:
		radial-gradient(70% 60% at 30% 30%, rgba(86,235,178,.32), transparent 60%),
		radial-gradient(60% 50% at 78% 80%, rgba(55,64,185,.45), transparent 65%),
		linear-gradient(135deg, #1d1f2b 0%, #0a0d18 60%, #050306 100%);
	position: relative;
	overflow: hidden;
	isolation: isolate;
}
.single-hero__rig {
	position: absolute; inset: 0;
	display: flex; align-items: flex-end; justify-content: center;
	gap: 56px; padding-bottom: 90px; opacity: .55; z-index: 2;
}
.single-hero__rig div {
	width: 170px; height: 100px;
	background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01));
	border: 1px solid rgba(255,255,255,.07);
	border-radius: 8px;
	box-shadow: 0 0 60px rgba(86,235,178,.18), inset 0 1px 0 rgba(255,255,255,.04);
}
@media (max-width: 700px) {
	.single-hero__rig { gap: 14px; padding-bottom: 56px; }
	.single-hero__rig div { width: 70px; height: 44px; }
}

/* Title block */
.single-title h1 {
	margin: 0; font-family: var(--ww-serif);
	font-size: var(--ww-h1); line-height: 1.02;
	letter-spacing: -.03em; font-weight: 600;
	text-wrap: balance;
}
.single-title__lede {
	font-family: var(--ww-serif);
	font-size: var(--ww-lead); line-height: 1.5;
	color: #3a3a3a; max-width: 720px; font-weight: 400; font-style: italic;
}

/* Reading column — apply to wp content */
.single-prose {
	max-width: var(--ww-read); margin: 0 auto;
	font-size: var(--ww-body); line-height: 1.75; color: #1a1a1a;
}
.single-prose > p,
.single-prose .wp-block-post-content > p {
	font-family: var(--ww-serif); font-size: 20px; line-height: 1.7;
}
.single-prose > p:first-of-type::first-letter,
.single-prose .has-drop-cap::first-letter {
	float: left; font-family: var(--ww-serif);
	font-size: 78px; line-height: .85; font-weight: 600;
	padding: 6px 10px 0 0; color: var(--ww-ink);
}
.single-prose h2 {
	font-family: var(--ww-serif); font-size: var(--ww-h2);
	letter-spacing: -.02em; line-height: 1.15;
	margin: 56px 0 16px; font-weight: 600;
}
.single-prose h3 {
	font-family: var(--ww-serif); font-size: var(--ww-h3);
	letter-spacing: -.015em; line-height: 1.2;
	margin: 40px 0 14px; font-weight: 600;
}
.single-prose ul, .single-prose ol {
	font-family: var(--ww-serif); font-size: 19px;
	margin-top: 16px; padding-left: 22px; line-height: 1.8;
}
.single-prose ul li + li,
.single-prose ol li + li { margin-top: 6px; }
.single-prose a {
	color: var(--ww-accent);
	text-decoration: underline; text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}
.single-prose kbd {
	font-family: var(--ww-mono); font-size: 13px; padding: 2px 6px;
	background: var(--ww-base-2); border: 1px solid var(--ww-rule); border-radius: 4px;
}
.single-prose img,
.single-prose figure {
	max-width: 100%; height: auto;
}
.single-prose figure { margin: 44px 0; }
.single-prose figcaption {
	margin-top: 14px; font-size: 13px; color: var(--ww-muted); text-align: center;
}

/* Pull quote (Gutenberg or manual) */
.single-prose blockquote,
.single-prose .wp-block-quote,
.single-pq {
	margin: 64px -40px;
	padding: 24px 0 24px 36px;
	border-left: 2px solid var(--ww-accent);
	font-family: var(--ww-serif); font-size: clamp(24px, 2.4vw, 32px);
	line-height: 1.25;
	font-weight: 500; letter-spacing: -.018em;
	color: var(--ww-ink);
	position: relative;
	background: transparent;
	font-style: normal;
}
.single-prose blockquote::before,
.single-prose .wp-block-quote::before,
.single-pq::before {
	content: "\201C";
	position: absolute; left: 36px; top: -18px;
	font-family: var(--ww-serif); font-size: 80px; line-height: 1;
	color: var(--ww-accent); opacity: .25; font-weight: 700;
}
.single-prose blockquote cite,
.single-prose .wp-block-quote cite,
.single-pq footer {
	display: block;
	margin-top: 20px; font-family: var(--ww-sans); font-size: 13px;
	font-weight: 600; color: var(--ww-muted);
	letter-spacing: .12em; text-transform: uppercase;
	font-style: normal;
}
@media (max-width: 700px) {
	.single-prose blockquote,
	.single-prose .wp-block-quote,
	.single-pq { margin: 48px 0; }
}

/* Code block */
.single-prose pre,
.single-prose .wp-block-code,
.single-code__shell {
	border-radius: var(--ww-r-md);
	background: #0e0f12;
	color: #e9e9ec;
	font-family: var(--ww-mono); font-size: 14px; line-height: 1.7;
	overflow: hidden;
	border: 1px solid #1c1d22;
	margin: 28px 0;
}
.single-prose pre,
.single-prose .wp-block-code {
	padding: 18px;
	overflow-x: auto;
}
.single-code__head {
	display: flex; align-items: center; justify-content: space-between;
	padding: 10px 14px; border-bottom: 1px solid #1c1d22;
	font-size: 12px; color: #9a9aa3; letter-spacing: .06em;
}
.single-code__copy {
	background: transparent; border: 0; color: #9a9aa3; cursor: pointer;
	display: inline-flex; gap: 6px; align-items: center;
	font-size: 12px; font-family: inherit;
}
.single-code__copy.is-copied { color: #56ebb2; }
.single-code__shell pre { margin: 0; padding: 18px; overflow-x: auto; }

/* Table */
.single-prose table,
.single-prose .wp-block-table table {
	width: 100%; border-collapse: collapse;
	font-family: var(--ww-sans); font-size: 15px;
	margin: 32px 0;
}
.single-prose thead tr { border-bottom: 2px solid var(--ww-ink); }
.single-prose th { text-align: left; padding: 10px 0; font-weight: 600; }
.single-prose tbody tr { border-bottom: 1px solid var(--ww-rule); }
.single-prose td { padding: 14px 12px 14px 0; color: var(--ww-muted); }
.single-prose td:first-child { color: var(--ww-ink); }

/* Callout */
.single-callout {
	margin: 32px 0; padding: 18px 22px;
	background: var(--ww-accent-soft);
	border: 1px solid #d8dcf5;
	border-radius: var(--ww-r-md);
	display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
	font-family: var(--ww-sans); font-size: 15px; line-height: 1.6; color: #1a1a2e;
}
.single-callout__icon {
	width: 24px; height: 24px; border-radius: 999px;
	background: var(--ww-accent); color: #fff;
	display: grid; place-items: center;
	font-weight: 700; font-size: 13px; margin-top: 2px;
	font-family: var(--ww-serif);
}

/* Step list */
.single-steps {
	counter-reset: step;
	list-style: none; padding: 0; margin: 32px 0;
	display: grid; gap: 14px;
}
.single-steps li {
	display: grid; grid-template-columns: 44px 1fr; gap: 16px;
	padding: 18px 20px;
	border: 1px solid var(--ww-rule);
	border-radius: var(--ww-r-md);
	background: #fff;
}
.single-steps__num {
	width: 28px; height: 28px; border-radius: 999px;
	background: var(--ww-ink); color: #fff;
	display: grid; place-items: center;
	font-family: var(--ww-mono); font-size: 12px; font-weight: 600;
	margin-top: 2px;
}
.single-steps__head { font-family: var(--ww-sans); font-weight: 600; font-size: 17px; line-height: 1.4; }
.single-steps__body { font-family: var(--ww-sans); font-size: 15px; color: var(--ww-muted); margin-top: 4px; line-height: 1.55; }

/* Table of contents */
.single-toc {
	margin: 44px 0; padding: 20px 24px;
	border: 1px solid var(--ww-rule);
	border-radius: var(--ww-r-md);
	background: var(--ww-base-2);
}
.single-toc ol {
	margin: 0; padding: 0; list-style: none;
	display: grid; gap: 8px; font-family: var(--ww-sans); font-size: 15px;
}
.single-toc li { display: flex; gap: 14px; align-items: baseline; }
.single-toc__num { font-family: var(--ww-mono); font-size: 12px; color: var(--ww-muted); width: 24px; flex: none; }
.single-toc a {
	color: var(--ww-ink);
	border-bottom: 1px solid transparent;
	transition: border-color .15s;
	text-decoration: none;
}
.single-toc a:hover { border-bottom-color: var(--ww-ink); }

/* Author card */
.single-author h3 {
	margin: 0; font-family: var(--ww-serif);
	font-size: 26px; font-weight: 600; letter-spacing: -.01em;
}

/* Related */
.single-related h3 {
	margin: 0; font-family: var(--ww-serif);
	font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; letter-spacing: -.02em;
}
.single-related__card h4 {
	margin: 0; font-family: var(--ww-serif);
	font-size: 22px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em;
}

/* ============================================================
   ARCHIVE
   ============================================================ */
.archive-masthead {
	border-bottom: 1px solid var(--ww-rule);
	background: var(--ww-base-2);
	position: relative; overflow: hidden;
}
.archive-masthead__grid {
	position: absolute; inset: 0; opacity: .25; pointer-events: none;
	background-image: linear-gradient(var(--ww-rule) 1px, transparent 1px);
	background-size: 100% 88px;
	-webkit-mask-image: linear-gradient(180deg, transparent, black 30%, black 70%, transparent);
	mask-image: linear-gradient(180deg, transparent, black 30%, black 70%, transparent);
}
.archive-masthead h1 {
	margin: 0; font-family: var(--ww-serif);
	font-size: clamp(56px, 8vw, 128px);
	line-height: .92;
	letter-spacing: -.045em;
	font-weight: 600;
}
.archive-masthead h1 .accent-dot { color: var(--ww-accent); }
.archive-masthead__lede {
	font-family: var(--ww-serif);
	font-size: clamp(18px, 2vw, 22px); line-height: 1.5;
	color: #2a2a2a; max-width: 580px; font-style: italic;
}
.archive-stat__num {
	color: var(--ww-ink); font-family: var(--ww-serif);
	font-size: 36px; font-weight: 600; letter-spacing: -.02em; line-height: 1;
}
.archive-stat__label {
	margin-top: 6px;
	font-family: var(--ww-mono); letter-spacing: .12em; text-transform: uppercase; font-size: 11px;
}

/* Sticky filter rail */
.archive-controls {
	position: sticky; top: 60px; z-index: 40;
	background: rgba(255,255,255,.92);
	backdrop-filter: blur(14px) saturate(140%);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	border-bottom: 1px solid var(--ww-rule);
}
.archive-chips a {
	padding: 8px 14px; border-radius: 999px;
	color: var(--ww-ink);
	transition: background .15s, color .15s;
}
.archive-chips a.is-active { background: var(--ww-ink); color: #fff; }
.archive-chips a:hover:not(.is-active) { background: var(--ww-base-2); }

.archive-tags a {
	padding: 6px 12px; border: 1px solid var(--ww-rule);
	border-radius: 999px; font-weight: 500;
	transition: border-color .15s, background .15s;
}
.archive-tags a:hover { border-color: var(--ww-ink); }

.archive-view button {
	padding: 6px 14px; border: 0; background: transparent;
	color: var(--ww-ink); font-size: 12px; font-weight: 600;
	letter-spacing: .06em; text-transform: uppercase;
	cursor: pointer;
}
.archive-view button.is-active { background: var(--ww-ink); color: #fff; }

/* Archive cards */
.archive-lead h2 {
	margin: 0; font-family: var(--ww-serif);
	font-size: clamp(28px, 3.2vw, 36px); font-weight: 600; line-height: 1.1;
	letter-spacing: -.02em; text-wrap: balance;
}
.archive-tall h3 {
	margin: 12px 0 0; font-family: var(--ww-serif);
	font-size: 26px; font-weight: 600; line-height: 1.2; letter-spacing: -.01em;
}
.archive-card h3 {
	margin: 0; font-family: var(--ww-serif);
	font-size: 22px; font-weight: 600; line-height: 1.25;
	letter-spacing: -.005em; text-wrap: balance;
}
.archive-list a.title {
	display: block; font-family: var(--ww-serif);
	font-size: clamp(22px, 2.4vw, 28px); font-weight: 600;
	line-height: 1.2; letter-spacing: -.015em;
}

/* Pagination */
.archive-pagi__nums a {
	padding: 8px 14px; border-radius: 999px;
	font-size: 14px; font-weight: 500;
	color: var(--ww-ink);
	display: inline-flex; align-items: center;
}
.archive-pagi__nums .current,
.archive-pagi__nums a.is-active { background: var(--ww-ink); color: #fff; }

/* WP-PageNavi / paginate_links output normalization */
.archive-pagi__nums .page-numbers {
	padding: 8px 14px; border-radius: 999px;
	font-size: 14px; font-weight: 500;
	color: var(--ww-ink);
	display: inline-flex; align-items: center;
}
.archive-pagi__nums .page-numbers.current { background: var(--ww-ink); color: #fff; }
.archive-pagi__nums .page-numbers.dots { padding: 8px 6px; }

/* ============================================================
   SCREEN-READER ONLY (Tailwind sr-only fallback if CDN strips it)
   ============================================================ */
.sr-only {
	position: absolute !important;
	width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* WP comments — minimal styling that fits */
.comment-list {
	list-style: none; padding: 0; margin: 0;
	display: grid; gap: 32px;
}
.comment-list .children { list-style: none; padding-left: 32px; margin-top: 32px; display: grid; gap: 32px; }
.comment-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 14px; color: var(--ww-muted); }
.comment-meta .fn { color: var(--ww-ink); font-weight: 600; }
.comment-body { padding: 24px; border: 1px solid var(--ww-rule); border-radius: var(--ww-r-md); background: #fff; }
#commentform p { display: grid; gap: 6px; margin: 0 0 16px; }
#commentform input[type="text"],
#commentform input[type="email"],
#commentform input[type="url"],
#commentform textarea {
	font-family: inherit;
	padding: 10px 14px; border: 1px solid var(--ww-rule); border-radius: 8px;
	background: #fff; font-size: 15px;
}
#commentform input:focus,
#commentform textarea:focus { border-color: var(--ww-ink); outline: 0; }

/* WP search form */
.search-form {
	display: flex; gap: 8px;
	border: 1px solid var(--ww-rule); border-radius: 999px;
	padding: 4px 4px 4px 18px;
	max-width: 480px;
}
.search-form input[type="search"] {
	flex: 1; border: 0; background: transparent; outline: 0;
	font-family: inherit; font-size: 15px;
}
.search-form button {
	border: 0; background: var(--ww-ink); color: #fff;
	border-radius: 999px; padding: 8px 18px;
	font-size: 14px; font-weight: 600;
}

/* ============================================================
   HEADER · SEARCH PANEL (expands beneath the header)
   ============================================================ */
.ww-search-panel { background: #fff; }
.ww-search-panel input[type="search"]::-webkit-search-cancel-button { display: none; }

/* ============================================================
   SINGLE · SHARE POPOVER
   ============================================================ */
.ww-share { position: relative; }
.ww-share__menu {
	position: absolute; right: 0; top: calc(100% + 8px);
	min-width: 220px;
	background: #fff;
	border: 1px solid var(--ww-rule);
	border-radius: var(--ww-r-md);
	box-shadow: var(--ww-shadow-2);
	padding: 6px;
	z-index: 50;
	display: grid; gap: 2px;
}
.ww-share__menu[hidden] { display: none; }
.ww-share__item {
	display: flex; align-items: center; gap: 12px;
	padding: 9px 12px; border-radius: 8px;
	font-size: 14px; font-weight: 500; color: var(--ww-ink);
	background: transparent; border: 0; cursor: pointer;
	text-align: left; width: 100%;
	font-family: inherit;
	transition: background .12s;
}
.ww-share__item:hover { background: var(--ww-base-2); }
.ww-share__item.is-copied { color: var(--ww-accent); }
.ww-share__item svg { flex: none; opacity: .8; }

@media (max-width: 540px) {
	/* On phones, anchor the menu to the right edge of the actions row */
	.ww-share__menu { right: 0; left: auto; }
}
