/*
Theme Name: Campaign Lens
Theme URI: https://campaign-lens.com
Author: Advia
Description: Paper-ground theme for Campaign Lens. The home page opens on a live drawing of the field (cars, phones, airplanes, stores) seen through a glass lens.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
License: Proprietary
Text Domain: campaign-lens
*/

/* ── tokens ─────────────────────────────────────────────────────────── */
:root {
	--bg: #efece5;
	--panel: #e7e3da;
	--mass: #ddd8cc;
	--ink: #15140f;
	--dim: #55534a;
	--faint: #6f6b59;
	--line: #e2ded4;
	--line2: #cbc5b6;
	--grid: #e4e0d6;
	--spot: #6c38ef;
	--spot-ink: #fff;
	--spot-wash: color-mix(in srgb, var(--spot) 6%, transparent);

	--disp: "Funnel Display", "Helvetica Neue", Arial, sans-serif;
	--body: "Funnel Sans", "Helvetica Neue", Arial, sans-serif;
	--mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

	--gut: 36px;
	--frame: 1440px;
	--nav-h: 64px;
	--measure: 66ch;
}

@media (max-width: 1000px) { :root { --gut: 24px; } }
@media (max-width: 600px) { :root { --gut: 16px; --nav-h: 56px; } }

/* ── base ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background-color: var(--bg);
	background-image:
		linear-gradient(var(--grid) 1px, transparent 1px),
		linear-gradient(90deg, var(--grid) 1px, transparent 1px);
	background-size: 72px 72px;
	color: var(--ink);
	font-family: var(--body);
	font-size: 16px;
	line-height: 1.6;
	overflow-x: clip;
}

::selection { background: var(--spot); color: var(--spot-ink); }

a { color: inherit; }

img, svg, video, canvas, iframe { max-width: 100%; }
img { height: auto; }

:focus-visible { outline: 2px solid var(--spot); outline-offset: 3px; }

.sr, .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip {
	position: absolute; left: 12px; top: -100px; z-index: 100;
	padding: 10px 16px; background: var(--ink); color: var(--bg); text-decoration: none;
}
.skip:focus { top: 12px; }

/* ── frame ─────────────────────────────────────────────────────────── */
.frame {
	max-width: var(--frame);
	margin: 0 auto;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--bg);
	border-left: 1px solid var(--line2);
	border-right: 1px solid var(--line2);
}
#main { flex: 1; }

/* ── nav ───────────────────────────────────────────────────────────── */
.nav {
	position: relative; z-index: 5;
	display: flex; align-items: center; gap: 28px;
	height: var(--nav-h); padding: 0 var(--gut);
	border-bottom: 1px solid var(--line2);
	background: var(--bg);
}

.lock { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: 0 0 auto; }
.lock .mark { width: 30px; height: 30px; color: var(--ink); }
.lock b {
	font-family: var(--disp); font-weight: 700; font-size: 19px;
	letter-spacing: -0.03em; line-height: 1;
}

.mark-focus { fill: var(--spot); }

.nav-links { flex: 1; display: flex; justify-content: flex-end; }
.menu { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.menu a {
	display: block; padding: 8px 12px;
	color: var(--dim); text-decoration: none; font-size: 14.5px;
}
.menu a:hover { color: var(--ink); }
.menu .current-menu-item > a,
.menu .current_page_item > a { color: var(--ink); box-shadow: inset 0 -2px 0 var(--spot); }

.menu-toggle {
	display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
	width: 38px; height: 38px; padding: 0; flex: 0 0 auto;
	border: 1px solid var(--line2); background: none; color: var(--ink); cursor: pointer;
}
.menu-toggle span[aria-hidden] { display: block; width: 15px; height: 1.5px; background: currentColor; transition: transform .2s ease; }
.menu-toggle[aria-expanded="true"] { border-color: var(--spot); color: var(--spot); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

.sheet { border-bottom: 1px solid var(--line2); background: var(--bg); }
.sheet .menu { flex-direction: column; gap: 0; }
.sheet .menu a { padding: 15px var(--gut); font-size: 16px; color: var(--ink); border-bottom: 1px solid var(--line); }
.sheet .menu li:last-child a { border-bottom: 0; }

@media (max-width: 760px) {
	.nav { gap: 12px; }
	.nav-links { display: none; }
	.menu-toggle { display: inline-flex; margin-left: auto; }
}
@media (min-width: 761px) { .sheet { display: none; } }
@media (max-width: 420px) {
	.lock b { font-size: 17px; }
}

/* ── hero: Fig. 1 ──────────────────────────────────────────────────── */
.hero {
	position: relative;
	height: clamp(480px, 68svh, 700px);
	container-type: size;
	overflow: hidden;
	border-bottom: 1px solid var(--line2);
	background: var(--bg);
	isolation: isolate;
	touch-action: pan-y;
}

.hero-canvas {
	position: absolute; inset: 0; width: 100%; height: 100%; display: block;
	z-index: 0;
}

/* Shown only when WebGL isn't available: the mark stands in for the lens. */
.hero-static {
	position: absolute; left: 50%; top: 40%; z-index: 1;
	width: min(36%, 60vw); aspect-ratio: 1; transform: translate(-50%, -50%);
	display: none; place-items: center;
}
.hero-static .hero-mark { width: 70%; height: 70%; color: var(--ink); }
/* If the scene never starts (old browser, blocked script), fade the mark in;
   without WebGL, show it straight away on plain graph paper. */
.hero:not(.is-live) .hero-static { display: grid; animation: appear .5s ease 2.5s both; }
@keyframes appear { from { opacity: 0 } to { opacity: 1 } }
.hero.is-static .hero-static { animation: none; }
.hero.is-static .hero-canvas, .hero.is-static .hero-title::before { display: none; }
.hero.is-static {
	background-image:
		linear-gradient(var(--grid) 1px, transparent 1px),
		linear-gradient(90deg, var(--grid) 1px, transparent 1px);
	background-size: 24px 24px;
	background-position: center;
}
/* The readout only means something while the drawing runs. */
.hero:not(.is-live) .hero-foot { visibility: hidden; }

.hero-title {
	position: absolute; left: 0; right: 0; top: 60%; z-index: 2;
	padding: 0 var(--gut);
	text-align: center;
	pointer-events: none;
}
/* A soft paper wash so the type stays legible over passing drawings. */
.hero-title::before {
	content: ""; position: absolute; z-index: -1;
	left: 50%; top: 45%; width: min(980px, 110%); height: 260%;
	transform: translate(-50%, -50%);
	background: radial-gradient(closest-side, color-mix(in srgb, var(--bg) 88%, transparent) 40%, transparent);
}
.hero-title h1 {
	margin: 0;
	font-family: var(--disp); font-weight: 800;
	font-size: clamp(44px, min(8.4cqw, 15.5cqh), 120px);
	line-height: .9; letter-spacing: -0.045em;
	color: var(--ink);
}
.hero-title p {
	margin: 18px auto 0; max-width: 46ch;
	color: var(--dim); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.5;
}

/* Rack focus on load, timed with the lens. */
@media (prefers-reduced-motion: no-preference) {
	.hero-title h1, .hero-title p { animation: rack 1.6s cubic-bezier(.2, .7, .2, 1) both; }
	.hero-title h1 { animation-delay: .45s; }
	.hero-title p { animation-delay: .75s; }
	@keyframes rack {
		from { opacity: 0; filter: blur(14px); letter-spacing: -0.01em; }
		to { opacity: 1; filter: blur(0); }
	}
}

.hero-foot {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
	display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
	padding: 0 var(--gut) 22px;
}

.readout {
	display: flex; align-items: center; margin: 0;
	border: 1px solid var(--line2);
	background: color-mix(in srgb, var(--bg) 85%, transparent);
	backdrop-filter: blur(6px);
	font-size: 14px; color: var(--dim);
}
.readout > span { padding: 10px 14px; }
.readout .fig {
	align-self: stretch; display: flex; align-items: center;
	border-right: 1px solid var(--line2);
	font-family: var(--mono); font-size: 12.5px; color: var(--spot);
}
.readout [data-focus] { color: var(--ink); min-width: 19ch; }

@media (max-width: 600px) {
	.hero-title { top: 57%; }
	.readout { font-size: 13px; }
	.readout > span { padding: 8px 12px; }
}

/* ── shared section head ───────────────────────────────────────────── */
.board-head {
	display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
	padding: 40px var(--gut) 14px;
	border-bottom: 1px solid var(--line2);
}
.board-head h2 {
	margin: 0; font-family: var(--disp); font-weight: 700;
	font-size: 24px; letter-spacing: -0.025em; line-height: 1.1;
}
.board-head span { color: var(--faint); font-size: 14px; }

/* ── page head ─────────────────────────────────────────────────────── */
.ph { padding: 72px var(--gut) 44px; border-bottom: 1px solid var(--line2); }
.ph h1 {
	margin: 0; max-width: 20ch;
	font-family: var(--disp); font-weight: 800;
	font-size: clamp(38px, 5.6vw, 76px); line-height: .95; letter-spacing: -0.045em;
	text-wrap: balance;
}
.ph-lede { margin: 22px 0 0; max-width: 56ch; color: var(--dim); font-size: 18px; line-height: 1.6; }
.ph-lede p { margin: 0; }
.ph-split { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.ph-count { margin: 0; text-align: right; }
.ph-count b {
	display: block; font-family: var(--disp); font-weight: 800;
	font-size: clamp(40px, 4.6vw, 64px); letter-spacing: -0.05em; line-height: 1;
	font-variant-numeric: tabular-nums;
}
.ph-count span { display: block; margin-top: 6px; color: var(--faint); font-size: 14px; }
@media (max-width: 600px) {
	.ph { padding: 48px var(--gut) 32px; }
	.ph-split { grid-template-columns: 1fr; gap: 20px; }
	.ph-count { text-align: left; display: flex; align-items: baseline; gap: 10px; }
	.ph-count span { margin: 0; }
}

/* ── post rows ─────────────────────────────────────────────────────── */
.row { border-bottom: 1px solid var(--line); }
.row-link {
	display: grid; grid-template-columns: 120px minmax(0, 1fr) clamp(200px, 24%, 340px);
	gap: 0 40px; align-items: start;
	padding: 28px var(--gut);
	text-decoration: none;
	transition: background-color .15s ease;
}
.row-link:hover { background: var(--spot-wash); }
.row-link:focus-visible { outline-offset: -2px; }
.row-date { display: flex; flex-direction: column; gap: 8px; line-height: 1; }
.row-date b {
	font-family: var(--disp); font-weight: 800; font-size: 46px;
	letter-spacing: -0.05em; color: var(--mass);
	font-variant-numeric: tabular-nums; transition: color .15s ease;
}
.row-link:hover .row-date b { color: var(--line2); }
.row-date span { color: var(--faint); font-size: 13.5px; }
.row-body { max-width: 62ch; }
.row-body h3 {
	margin: 2px 0 0; font-family: var(--disp); font-weight: 700;
	font-size: 25px; line-height: 1.18; letter-spacing: -0.025em;
	transition: color .15s ease; text-wrap: balance;
}
.row-link:hover h3 { color: var(--spot); }
.row-body p { margin: 10px 0 0; color: var(--dim); font-size: 15.5px; line-height: 1.65; }
.row-tag {
	display: inline-block; margin-top: 16px;
	padding: 4px 10px; border: 1px solid var(--line2);
	color: var(--dim); font-size: 13px; white-space: nowrap;
}
.row-thumb {
	margin: 0; aspect-ratio: 3 / 2; overflow: hidden;
	border: 1px solid var(--line2); background: var(--panel);
}
.row-thumb img {
	display: block; width: 100%; height: 100%; object-fit: cover;
	transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.row-link:hover .row-thumb img { transform: scale(1.03); }
/* No featured image: the mark on graph paper keeps the column even. */
.row-thumb--empty {
	display: grid; place-items: center;
	background-color: var(--bg);
	background-image:
		linear-gradient(var(--grid) 1px, transparent 1px),
		linear-gradient(90deg, var(--grid) 1px, transparent 1px);
	background-size: 24px 24px; background-position: center;
}
.row-mark { width: 26%; height: auto; color: var(--line2); }
.row-mark .mark-focus { fill: color-mix(in srgb, var(--spot) 45%, var(--line2)); }
@media (max-width: 900px) {
	.row-link {
		grid-template-columns: 88px minmax(0, 1fr);
		grid-template-areas: "date thumb" "date body";
		gap: 0 20px;
	}
	.row-date { grid-area: date; }
	.row-body { grid-area: body; }
	.row-thumb { grid-area: thumb; margin-bottom: 18px; }
	.row-date b { font-size: 36px; }
}
@media (max-width: 600px) {
	.row-link { grid-template-columns: 1fr; grid-template-areas: "thumb" "date" "body"; }
	.row-date { flex-direction: row; align-items: baseline; gap: 10px; margin-bottom: 10px; }
	.row-date b { font-size: 15px; letter-spacing: 0; font-family: var(--body); font-weight: 600; color: var(--faint); }
	.row-thumb--empty { display: none; }
}

.pagination { padding: 24px var(--gut); border-bottom: 1px solid var(--line2); }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-start; }
.pagination .page-numbers {
	display: inline-block; min-width: 40px; padding: 8px 12px; text-align: center;
	border: 1px solid var(--line2); text-decoration: none; font-size: 14px; color: var(--dim);
}
.pagination a.page-numbers:hover { border-color: var(--spot); color: var(--spot); }
.pagination .current { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.empty { padding: 48px var(--gut) 64px; }
.empty p { margin: 0 0 20px; color: var(--dim); font-size: 18px; max-width: 50ch; }

/* ── entries ───────────────────────────────────────────────────────── */
/* Featured image: the width of the reading column, not the page. */
.prose .entry-thumb { width: 100%; margin: 0 0 2em; aspect-ratio: 2 / 1; max-height: 440px; overflow: hidden; border: 1px solid var(--line2); background: var(--panel); }
.prose .entry-thumb img { width: 100%; height: 100%; object-fit: cover; }

.entry-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: 0 64px;
	padding: 48px var(--gut) 72px;
}
.entry-grid--page .prose { grid-column: 1 / -1; max-width: 880px; }
.entry-side { min-width: 0; }

/* Post details: one strip across the top of the article. */
.entry-meta { border-bottom: 1px solid var(--line2); font-size: 14px; }
.entry-meta dl { display: flex; flex-wrap: wrap; margin: 0; }
.entry-meta dl > div { padding: 14px 28px; border-right: 1px solid var(--line); }
.entry-meta dl > div:first-child { padding-left: var(--gut); }
.entry-meta dt { color: var(--faint); font-size: 13px; }
.entry-meta dd { margin: 2px 0 0; color: var(--ink); }
.entry-meta a { color: var(--ink); text-decoration-color: var(--line2); text-underline-offset: 3px; }
.entry-meta a:hover { color: var(--spot); text-decoration-color: currentColor; }

@media (max-width: 1000px) {
	.entry-grid { grid-template-columns: minmax(0, 1fr); }
	.entry-side { margin-top: 48px; }
}
@media (max-width: 600px) {
	.entry-grid { padding-top: 32px; }
	.entry-meta dl > div { flex: 1 1 50%; padding: 12px var(--gut); border-bottom: 1px solid var(--line); }
	.entry-meta dl > div:nth-child(even) { border-right: 0; }
}

/* ── prose ─────────────────────────────────────────────────────────── */
.prose { font-size: 18px; line-height: 1.7; min-width: 0; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol, .prose dl, .prose blockquote, .prose pre, .prose table, .prose figure { margin: 0 0 1.3em; }
.prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
	font-family: var(--disp); font-weight: 700; letter-spacing: -0.025em;
	line-height: 1.15; margin: 1.9em 0 .6em; text-wrap: balance;
}
.prose h2 { font-size: 32px; letter-spacing: -0.035em; }
.prose h3 { font-size: 24px; }
.prose h4 { font-size: 20px; }
.prose h5, .prose h6 { font-size: 17.5px; }
.prose a { color: var(--spot); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong { font-weight: 650; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--faint); }
.prose blockquote {
	padding: 4px 0 4px 22px; border-left: 2px solid var(--spot);
	font-family: var(--disp); font-size: 23px; line-height: 1.4; letter-spacing: -0.015em;
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose blockquote cite { display: block; margin-top: 10px; font-family: var(--body); font-size: 15px; font-style: normal; color: var(--faint); }
.prose code, .prose kbd {
	font-family: var(--mono); font-size: .86em; box-decoration-break: clone; -webkit-box-decoration-break: clone;
	padding: 1px 6px; background: var(--panel); border: 1px solid var(--line2);
}
.prose pre {
	padding: 18px 20px; overflow-x: auto;
	background: var(--panel); border: 1px solid var(--line2);
	font-family: var(--mono); font-size: 14px; line-height: 1.6;
}
.prose pre code { padding: 0; border: 0; background: none; font-size: inherit; }
.prose hr, .prose .wp-block-separator { border: 0; border-top: 1px solid var(--line2); margin: 2.4em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line2); text-align: left; vertical-align: top; }
.prose th { background: var(--panel); font-weight: 600; }
.prose .wp-block-table thead { border-bottom: 0; }
.prose .wp-block-table tfoot { border-top: 0; }
.prose img { display: block; }
.prose figcaption, .prose .wp-element-caption {
	margin-top: 10px; color: var(--faint); font-size: 14px; line-height: 1.55;
}
.prose iframe, .prose video { display: block; border: 0; }
.prose .wp-block-image img, .prose .wp-block-video video, .prose .wp-block-embed__wrapper { border: 1px solid var(--line2); }

/* Wide and full blocks reach out of the reading column. */
.prose .alignwide { margin-left: 0; margin-right: 0; width: 100%; max-width: none; }
.prose .alignfull { width: 100%; max-width: none; }
.prose .alignleft { float: left; margin: .3em 1.6em 1em 0; max-width: 50%; }
.prose .alignright { float: right; margin: .3em 0 1em 1.6em; max-width: 50%; }
.prose .aligncenter { margin-left: auto; margin-right: auto; }
.prose::after { content: ""; display: table; clear: both; }
.prose .wp-block-columns { gap: 36px; margin: 0 0 1.4em; }
.prose .wp-block-column > h3:first-child { margin-top: 0; }

/* ── buttons, forms ────────────────────────────────────────────────── */
.btn,
.prose .wp-block-button__link,
.wp-block-search__button,
.site-search button,
.comment-form .submit {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 12px 20px; border: 1px solid var(--spot); border-radius: 0;
	background: var(--spot); color: var(--spot-ink);
	font: inherit; font-size: 15px; font-weight: 500; line-height: 1.2;
	text-decoration: none; cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease;
}
.btn:hover,
.prose .wp-block-button__link:hover,
.site-search button:hover,
.comment-form .submit:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.prose .is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); border-color: var(--line2); }
.prose .is-style-outline .wp-block-button__link:hover { border-color: var(--spot); color: var(--spot); background: transparent; }

input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="password"], textarea, select {
	width: 100%; padding: 11px 13px;
	border: 1px solid var(--line2); border-radius: 0; background: var(--bg); color: var(--ink);
	font: inherit; font-size: 16px;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--spot); outline-offset: -1px; border-color: var(--spot); }
::placeholder { color: var(--faint); opacity: 1; }

.site-search { display: flex; max-width: 480px; }
.site-search input { border-right: 0; }

/* ── 404 ───────────────────────────────────────────────────────────── */
.lost { padding-top: 88px; padding-bottom: 96px; }
.lost-mark { display: block; width: 72px; height: 72px; margin-bottom: 32px; color: var(--ink); }
.lost-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.lost-actions .site-search { flex: 1 1 320px; }

/* ── pager, comments, widgets ──────────────────────────────────────── */
.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line2); }
.pager a { display: block; padding: 28px var(--gut); text-decoration: none; transition: background-color .15s ease; }
.pager a:hover { background: var(--spot-wash); }
.pager a:hover b { color: var(--spot); }
.pager span { display: block; color: var(--faint); font-size: 14px; }
.pager b { display: block; margin-top: 6px; font-family: var(--disp); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; line-height: 1.25; }
.pager-next { grid-column: 2; text-align: right; border-left: 1px solid var(--line); }
@media (max-width: 600px) {
	.pager { grid-template-columns: 1fr; }
	.pager-next { grid-column: 1; text-align: left; border-left: 0; border-top: 1px solid var(--line); }
}

.comments { padding: 48px var(--gut) 72px; border-top: 1px solid var(--line2); }
.comments > * { max-width: calc(var(--measure) + 248px); }
.comments-title, .comment-reply-title { font-family: var(--disp); font-weight: 700; font-size: 24px; letter-spacing: -0.025em; margin: 0 0 20px; }
.comment-list { list-style: none; margin: 0 0 40px; padding: 0; }
.comment-list .comment { padding: 20px 0; border-bottom: 1px solid var(--line); }
.comment-list .children { list-style: none; padding-left: 28px; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.comment-author .avatar { border-radius: 50%; }
.comment-metadata { font-size: 13.5px; color: var(--faint); }
.comment-metadata a { text-decoration: none; }
.comment-content { margin-top: 8px; }
.comment-form p { margin: 0 0 16px; }
.comment-form label { display: block; margin-bottom: 6px; font-size: 14px; color: var(--dim); }
.comment-form .comment-form-cookies-consent label { display: inline; }

.widget { margin-bottom: 32px; font-size: 15px; }
.widget-title, .widget h2, .widget h3 { margin: 0 0 12px; font-family: var(--disp); font-weight: 700; font-size: 17px; letter-spacing: -0.015em; line-height: 1.25; }
.widget a { color: var(--ink); text-decoration: none; }
.widget a:hover { color: var(--spot); }
.widget .wp-block-search__label { display: block; margin-bottom: 8px; font-family: var(--disp); font-weight: 700; font-size: 17px; }
.widget .wp-block-search__input { border-right: 0; }
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.widget img { display: block; }

/* ── footer ────────────────────────────────────────────────────────── */
.foot {
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px 40px;
	padding: 28px var(--gut);
	border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2);
	font-size: 14px; color: var(--dim);
}
#main + .foot { margin-top: -1px; }
.foot .lock .mark { width: 24px; height: 24px; }
.foot .lock b { font-size: 16px; color: var(--ink); }
.foot-note { margin: 0; max-width: 60ch; }
.foot-meta { margin: 0; color: var(--faint); white-space: nowrap; }
.foot-menu { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; list-style: none; grid-column: 1 / -1; }
.foot-menu a { color: var(--dim); text-decoration: none; }
.foot-menu a:hover { color: var(--spot); }
@media (max-width: 900px) {
	.foot { grid-template-columns: 1fr; }
}

/* ── WordPress bits ────────────────────────────────────────────────── */
.wp-caption { max-width: 100%; }
.sticky .row-body h3::before {
	content: ""; display: inline-block; width: 8px; height: 8px; margin: 0 10px 3px 0;
	background: var(--spot); vertical-align: middle;
}
.page-links { margin-top: 24px; display: flex; gap: 8px; }
.bypostauthor > .comment-body .fn::after { content: " (author)"; color: var(--faint); font-weight: 400; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
