/*
Theme Name: Konumara
Theme URI: https://konumara.com/
Author: Konumara
Description: A bold, poster-style recipe theme for konumara.com. Night-black frame, lime accents, condensed headlines and a square editorial grid, with a random "Popular Topics" block under every post and a Header widget area for analytics and ad code.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: konumara
Tags: blog, food-and-drink, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks
*/

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face {
	font-family: "Archivo";
	font-style: italic;
	font-weight: 400 900;
	font-stretch: 62% 125%;
	font-display: swap;
	src: url(assets/fonts/archivo-italic-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Archivo";
	font-style: italic;
	font-weight: 400 900;
	font-stretch: 62% 125%;
	font-display: swap;
	src: url(assets/fonts/archivo-italic-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-weight: 400 900;
	font-stretch: 62% 125%;
	font-display: swap;
	src: url(assets/fonts/archivo-normal-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-weight: 400 900;
	font-stretch: 62% 125%;
	font-display: swap;
	src: url(assets/fonts/archivo-normal-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "IBM Plex Mono";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url(assets/fonts/ibm-plex-mono-normal-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "IBM Plex Mono";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url(assets/fonts/ibm-plex-mono-normal-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
	--night: #141310;
	--night-2: #1f1d19;
	--night-line: #3a3730;
	--paper: #f3f0e7;
	--paper-2: #e7e2d3;
	--ink: #141310;
	--ink-soft: #4f4b42;
	--on-night: #f3f0e7;
	--on-night-soft: #b9b4a6;
	--lime: #c8f03c;
	--line: #141310;

	--display: "Archivo", "Arial Narrow", system-ui, sans-serif;
	--body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
	--mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

	--wrap: 1280px;
	--gutter: clamp(16px, 4vw, 44px);
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 90px;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--body);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

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

img {
	display: block;
}

a {
	color: inherit;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--display);
	font-stretch: 75%;
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -0.01em;
	margin: 0 0 0.5em;
	text-wrap: balance;
}

p {
	margin: 0 0 1.1em;
}

:focus-visible {
	outline: 3px solid var(--lime);
	outline-offset: 2px;
	box-shadow: 0 0 0 6px var(--ink);
}

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

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

.skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 100;
	padding: 10px 18px;
	background: var(--lime);
	color: var(--ink);
	font-weight: 800;
	text-decoration: none;
}

.skip-link:focus {
	top: 12px;
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.wrap-narrow {
	width: 100%;
	max-width: calc(760px + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.eyebrow,
.kicker,
.hero-label {
	margin: 0 0 14px;
	font-family: var(--mono);
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.eyebrow::before {
	content: "/// ";
}

/* ---------- Chips (category links) ---------- */
.pill {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 3px 10px;
	background: var(--lime);
	color: var(--ink);
	font-family: var(--mono);
	font-size: 0.74rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1.2;
	transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.pill:hover {
	background: var(--ink);
	color: var(--lime);
}

.pill-sm {
	min-height: 24px;
	padding: 2px 8px;
	font-size: 0.68rem;
	background: transparent;
	color: var(--lime);
	box-shadow: inset 0 0 0 1px var(--lime);
}

.pill-sm:hover {
	background: var(--lime);
	color: var(--ink);
}

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--night);
	color: var(--on-night);
	border-bottom: 4px solid var(--lime);
}

.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .site-header {
		top: 0;
	}
}

.header-row {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 72px;
}

.brand {
	flex: 0 0 auto;
	line-height: 0;
}

.brand-link {
	display: inline-block;
	text-decoration: none;
}

.brand-logo,
.custom-logo {
	width: auto;
	height: 36px;
}

.primary-nav {
	margin-left: auto;
}

.primary-nav .menu,
.footer-nav .menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
}

.primary-nav a {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 72px;
	padding: 0 16px;
	font-family: var(--display);
	font-stretch: 75%;
	font-weight: 700;
	font-size: 1.05rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--on-night);
}

.primary-nav a::after {
	content: "";
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 0;
	height: 4px;
	background: var(--lime);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.2s var(--ease);
}

.primary-nav a:hover::after,
.primary-nav .is-current::after,
.primary-nav .current-menu-item > a::after {
	transform: scaleX(1);
}

.primary-nav li {
	position: relative;
}

.primary-nav .sub-menu {
	list-style: none;
	margin: 0;
	padding: 6px 0;
	position: absolute;
	min-width: 240px;
	background: var(--night-2);
	border-top: 4px solid var(--lime);
	display: none;
}

.primary-nav .sub-menu a {
	min-height: 44px;
}

.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
	display: block;
}

.header-actions {
	display: flex;
	gap: 6px;
}

.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	color: var(--on-night);
	cursor: pointer;
	transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.icon-btn:hover,
.icon-btn[aria-expanded="true"] {
	background: var(--lime);
	color: var(--ink);
}

.menu-toggle {
	display: none;
}

.search-panel {
	background: var(--night-2);
	padding: 18px 0 22px;
}

@media (max-width: 899px) {
	.header-row {
		min-height: 62px;
		gap: 10px;
	}

	.brand-logo,
	.custom-logo {
		height: 30px;
	}

	.header-actions {
		margin-left: auto;
	}

	.menu-toggle {
		display: inline-grid;
	}

	.primary-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		margin: 0;
		background: var(--night);
		border-bottom: 4px solid var(--lime);
		padding: 6px var(--gutter) 16px;
	}

	.menu-open .primary-nav {
		display: block;
	}

	.primary-nav .menu {
		flex-direction: column;
	}

	.primary-nav a {
		width: 100%;
		min-height: 52px;
		padding: 0;
		font-size: 1.5rem;
		border-bottom: 1px solid var(--night-line);
	}

	.primary-nav a::after {
		left: 0;
		right: auto;
		width: 40px;
	}

	.primary-nav .sub-menu {
		position: static;
		display: block;
		border: 0;
		background: transparent;
		padding: 0 0 0 16px;
	}
}

/* ---------- Search form ---------- */
.search-form {
	display: flex;
	max-width: 640px;
	border: 2px solid currentColor;
	background: transparent;
}

.search-field {
	flex: 1;
	min-width: 0;
	min-height: 52px;
	border: 0;
	background: transparent;
	padding: 10px 16px;
	font: inherit;
	color: inherit;
}

.search-field::placeholder {
	color: inherit;
	opacity: 0.6;
}

.search-field:focus {
	outline: none;
}

.search-form:focus-within {
	outline: 3px solid var(--lime);
	outline-offset: 2px;
}

.search-submit,
.btn,
.comment-form .submit {
	min-height: 52px;
	padding: 8px 24px;
	border: 0;
	background: var(--lime);
	color: var(--ink);
	font-family: var(--display);
	font-stretch: 75%;
	font-weight: 800;
	font-size: 1.05rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.search-submit:hover,
.btn:hover,
.comment-form .submit:hover {
	background: var(--ink);
	color: var(--lime);
}

.site-header .search-submit:hover,
.hero .search-submit:hover {
	background: var(--on-night);
	color: var(--ink);
}

/* ---------- Hero (home) ---------- */
.hero {
	background: var(--night);
	color: var(--on-night);
	padding: clamp(32px, 6vw, 72px) 0 clamp(36px, 5vw, 64px);
}

.hero-top {
	display: grid;
	gap: 18px 40px;
	grid-template-columns: minmax(0, 1fr);
	margin-bottom: clamp(28px, 4vw, 48px);
}

@media (min-width: 1000px) {
	.hero-top {
		grid-template-columns: minmax(0, 1fr) 380px;
		align-items: end;
	}

	.hero-top .kicker {
		grid-column: 1 / -1;
	}
}

.kicker {
	color: var(--lime);
}

.hero-title {
	margin: 0;
	font-size: clamp(3rem, 10vw, 8.6rem);
	font-stretch: 62%;
	font-weight: 900;
	line-height: 0.86;
	letter-spacing: -0.005em;
	text-transform: uppercase;
}

.hl {
	color: var(--lime);
}

.hero-search .search-form {
	max-width: none;
	color: var(--on-night);
}

.hero-feature {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	border: 1px solid var(--night-line);
}

@media (min-width: 900px) {
	.hero-feature {
		grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	}
}

.hero-media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--night-2);
}

.hero-media img,
.hero-media .media-fallback {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-feature-body {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 14px;
	padding: clamp(20px, 3vw, 36px);
	background: var(--night-2);
}

.hero-label {
	margin: 0 0 auto;
	color: var(--on-night-soft);
}

.hero-label::before {
	content: "";
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-right: 8px;
	background: var(--lime);
	vertical-align: 0;
}

.hero-feature-title {
	margin: 0;
	font-size: clamp(1.9rem, 3.4vw, 3rem);
	font-stretch: 70%;
	font-weight: 850;
	line-height: 0.98;
	text-transform: uppercase;
}

.hero-feature-title a {
	text-decoration: none;
}

.hero-feature-title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.hero-feature-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.hero-feature-meta .pill {
	position: relative;
	z-index: 2;
}

.hero-feature .meta {
	color: var(--on-night-soft);
}

.hero-feature:hover .hero-feature-title a {
	color: var(--lime);
}

/* ---------- Strip ---------- */
.strip {
	overflow: hidden;
	background: var(--lime);
	color: var(--ink);
	border-block: 2px solid var(--ink);
}

.strip p {
	width: max-content;
	margin: 0;
	padding: 10px 0;
	white-space: nowrap;
	font-family: var(--display);
	font-stretch: 62%;
	font-weight: 900;
	font-size: clamp(1.2rem, 2.4vw, 1.7rem);
	letter-spacing: 0.02em;
	text-transform: uppercase;
	animation: konumara-strip 60s linear infinite;
}

@keyframes konumara-strip {
	to {
		transform: translateX(-50%);
	}
}

/* ---------- Meta ---------- */
.meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-family: var(--mono);
	font-size: 0.78rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--ink-soft);
}

.meta .dot {
	width: 6px;
	height: 6px;
	background: currentColor;
}

/* ---------- Media fallback (never an empty card) ---------- */
.media-fallback {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background-color: var(--night-2);
	background-image: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(200, 240, 60, 0.12) 14px 15px);
}

.media-fallback span {
	font-family: var(--display);
	font-stretch: 62%;
	font-weight: 900;
	font-size: clamp(4rem, 10vw, 8rem);
	line-height: 1;
	text-transform: uppercase;
	color: var(--lime);
}

.media-fallback.tone-2 {
	background-color: var(--lime);
	background-image: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(20, 19, 16, 0.12) 14px 15px);
}

.media-fallback.tone-2 span { color: var(--ink); }
.media-fallback.tone-3 { background-color: var(--paper-2); }
.media-fallback.tone-3 span { color: var(--ink); }
.media-fallback.tone-4 { background-color: var(--ink); }
.media-fallback.tone-4 span { color: var(--paper); }

/* ---------- Sections ---------- */
.band {
	padding-top: clamp(28px, 4vw, 56px);
	padding-bottom: clamp(16px, 3vw, 32px);
}

.list-section {
	padding-top: clamp(32px, 5vw, 64px);
	padding-bottom: clamp(16px, 3vw, 32px);
}

.section-head,
.archive-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px 20px;
	margin-bottom: clamp(22px, 3vw, 36px);
	padding-bottom: 14px;
	border-bottom: 4px solid var(--ink);
}

.section-head .eyebrow,
.archive-head .eyebrow {
	flex-basis: 100%;
	margin: 0;
	color: var(--ink-soft);
}

.archive-head > * {
	flex-basis: 100%;
}

.section-title,
.archive-title {
	margin: 0;
	font-size: clamp(2.4rem, 6vw, 4.8rem);
	font-stretch: 62%;
	font-weight: 900;
	line-height: 0.9;
	text-transform: uppercase;
}

.archive-desc {
	max-width: 62ch;
	color: var(--ink-soft);
}

.archive-desc p:last-child {
	margin-bottom: 0;
}

.archive-search {
	margin-top: 6px;
}

.empty-note {
	padding: 28px;
	border: 2px dashed var(--ink);
	color: var(--ink-soft);
}

/* ---------- Card grid ---------- */
.card-grid {
	display: grid;
	gap: clamp(28px, 3vw, 44px) clamp(18px, 2.4vw, 32px);
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 640px) {
	.card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.card-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.card {
	position: relative;
	display: flex;
	flex-direction: column;
}

.card-media {
	position: relative;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--paper-2);
}

.card-media img,
.pt-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--ease), filter 0.3s var(--ease);
}

.card:hover .card-media img,
.pt-card:hover .pt-media img {
	transform: scale(1.04);
}

.pill-on-media {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 2;
}

.card-body {
	padding: 14px 0 0;
	border-top: 4px solid var(--ink);
	margin-top: 0;
}

.card-title {
	font-size: clamp(1.45rem, 2.2vw, 1.8rem);
	font-stretch: 72%;
	line-height: 1;
	text-transform: uppercase;
	margin: 0 0 10px;
}

.card-title a,
.pt-card-title a {
	text-decoration: none;
}

.card-title a::after,
.pt-card-title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.card:hover .card-title a {
	background: var(--lime);
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}

.card-excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0 0 12px;
	color: var(--ink-soft);
	font-size: 0.98rem;
}

/* ---------- Popular Topics ---------- */
.popular-topics {
	position: relative;
	padding: clamp(24px, 4vw, 52px) clamp(18px, 3.4vw, 48px) clamp(28px, 4vw, 52px);
	background: var(--night);
	color: var(--on-night);
}

.pt-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px 20px;
	margin-bottom: clamp(22px, 3vw, 34px);
	padding-bottom: 16px;
	border-bottom: 1px solid var(--night-line);
}

.pt-head .eyebrow {
	flex-basis: 100%;
	margin-bottom: 0;
	color: var(--lime);
}

.pt-title {
	margin: 0;
	font-size: clamp(2.4rem, 6vw, 4.6rem);
	font-stretch: 62%;
	font-weight: 900;
	line-height: 0.9;
	text-transform: uppercase;
}

.pt-all {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 6px 16px;
	border: 2px solid var(--lime);
	color: var(--lime);
	font-family: var(--mono);
	font-size: 0.82rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.pt-all:hover {
	background: var(--lime);
	color: var(--ink);
}

.pt-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(24px, 3vw, 36px) clamp(14px, 2vw, 24px);
	counter-reset: none;
}

@media (min-width: 900px) {
	.pt-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.pt-card {
	position: relative;
	display: flex;
	flex-direction: column;
}

.pt-media {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--night-2);
}

.pt-media .media-fallback span {
	font-size: clamp(3.4rem, 7vw, 5.6rem);
}

.pt-num {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 2;
	padding: 6px 10px;
	background: var(--lime);
	color: var(--ink);
	font-family: var(--mono);
	font-size: 0.8rem;
	font-weight: 500;
	line-height: 1;
	pointer-events: none;
}

.pt-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding-top: 12px;
	flex: 1;
	border-top: 2px solid var(--lime);
}

.pt-card-title {
	margin: 0;
	font-size: clamp(1.1rem, 1.7vw, 1.4rem);
	font-stretch: 75%;
	font-weight: 800;
	line-height: 1.04;
	text-transform: uppercase;
}

.pt-card:hover .pt-card-title a {
	color: var(--lime);
}

.pt-body .pill {
	position: relative;
	z-index: 2;
	margin-top: auto;
}

@media (max-width: 380px) {
	.pt-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.pt-media {
		aspect-ratio: 3 / 2;
	}
}

/* ---------- Single ---------- */
.entry-head {
	padding-top: clamp(32px, 5vw, 64px);
	padding-bottom: clamp(20px, 3vw, 32px);
}

.entry-title {
	max-width: 18ch;
	margin: 18px 0 18px;
	font-size: clamp(2.6rem, 7.4vw, 6.2rem);
	font-stretch: 62%;
	font-weight: 900;
	line-height: 0.9;
	text-transform: uppercase;
}

.entry-page .entry-title {
	margin-top: 0;
}

.entry-dek {
	max-width: 60ch;
	font-size: 1.25rem;
	color: var(--ink-soft);
}

.entry-head .meta {
	padding-top: 14px;
	border-top: 4px solid var(--ink);
}

.entry-hero {
	margin: 0 auto clamp(28px, 4vw, 48px);
}

.entry-hero img {
	width: 100%;
	max-height: 720px;
	object-fit: cover;
}

.entry-content {
	max-width: calc(760px + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
	font-size: 1.125rem;
	line-height: 1.75;
}

.entry-content > * {
	margin-top: 0;
	margin-bottom: 1.25em;
}

.entry-content h2 {
	margin-top: 1.8em;
	padding-top: 12px;
	border-top: 4px solid var(--ink);
	font-size: clamp(1.9rem, 3.6vw, 2.6rem);
	font-stretch: 68%;
	text-transform: uppercase;
}

.entry-content h3 {
	margin-top: 1.5em;
	font-size: clamp(1.4rem, 2.6vw, 1.8rem);
}

.entry-content h4 {
	margin-top: 1.4em;
	font-size: 1.25rem;
}

.entry-content a {
	text-decoration: none;
	background: linear-gradient(var(--lime), var(--lime)) 0 100% / 100% 0.36em no-repeat;
	transition: background-size 0.2s var(--ease);
}

.entry-content a:hover {
	background-size: 100% 100%;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.4em;
}

.entry-content li {
	margin-bottom: 0.45em;
}

.entry-content ul li::marker {
	content: "■  ";
	color: var(--ink);
	font-size: 0.8em;
}

.entry-content ol li::marker {
	font-family: var(--mono);
	font-weight: 500;
}

.entry-content blockquote {
	margin-inline: 0;
	padding: 20px 24px;
	background: var(--night);
	color: var(--on-night);
	border-left: 8px solid var(--lime);
	font-family: var(--display);
	font-stretch: 85%;
	font-weight: 600;
	font-size: 1.3rem;
	line-height: 1.4;
}

.entry-content blockquote p:last-child {
	margin-bottom: 0;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 1rem;
}

.entry-content th,
.entry-content td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--ink);
	text-align: left;
}

.entry-content th {
	font-family: var(--mono);
	font-size: 0.82rem;
	text-transform: uppercase;
}

.entry-content pre {
	overflow: auto;
	padding: 16px;
	background: var(--night);
	color: var(--on-night);
	font-family: var(--mono);
}

.entry-content hr {
	border: 0;
	border-top: 4px solid var(--ink);
	margin: 2.4em 0;
}

.entry-content figcaption,
.wp-caption-text {
	margin-top: 8px;
	font-family: var(--mono);
	font-size: 0.8rem;
	color: var(--ink-soft);
}

.entry-content .alignwide {
	width: min(1180px, 100vw - 2 * var(--gutter));
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.entry-content .alignfull {
	width: 100vw;
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.entry-content .alignleft {
	float: left;
	margin: 0.3em 1.4em 1em 0;
}

.entry-content .alignright {
	float: right;
	margin: 0.3em 0 1em 1.4em;
}

.entry-content .aligncenter {
	margin-inline: auto;
}

.entry-content .wp-block-button__link {
	border-radius: 0;
	background: var(--lime);
	color: var(--ink);
	font-weight: 800;
	text-transform: uppercase;
}

.entry-foot {
	max-width: calc(760px + 2 * var(--gutter));
	margin: clamp(28px, 4vw, 44px) auto 0;
	padding-inline: var(--gutter);
}

.tag-list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0;
	margin: 0 0 28px;
}

.tag-list a {
	display: inline-flex;
	min-height: 36px;
	align-items: center;
	padding: 4px 12px;
	border: 1.5px solid var(--ink);
	font-family: var(--mono);
	font-size: 0.82rem;
	text-transform: lowercase;
	text-decoration: none;
}

.tag-list a::before {
	content: "#";
	margin-right: 2px;
}

.tag-list a:hover {
	background: var(--ink);
	color: var(--lime);
}

.post-navigation .nav-links {
	display: grid;
	gap: 14px;
	grid-template-columns: minmax(0, 1fr);
	padding-top: 18px;
	border-top: 4px solid var(--ink);
}

@media (min-width: 640px) {
	.post-navigation .nav-links {
		grid-template-columns: 1fr 1fr;
	}

	.post-navigation .nav-next {
		text-align: right;
		grid-column: 2;
	}
}

.post-navigation a {
	display: block;
	text-decoration: none;
}

.nav-label {
	display: block;
	font-family: var(--mono);
	font-size: 0.76rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-soft);
}

.nav-title {
	display: block;
	font-family: var(--display);
	font-stretch: 75%;
	font-size: 1.3rem;
	font-weight: 800;
	line-height: 1.1;
	text-transform: uppercase;
}

.post-navigation a:hover .nav-title {
	background: var(--lime);
}

.page-links {
	clear: both;
	margin-top: 24px;
}

/* ---------- Pagination ---------- */
.pagination {
	margin-top: clamp(32px, 4vw, 52px);
}

.pagination ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 0;
	margin: 0;
}

.pagination a.page-numbers,
.pagination span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 48px;
	height: 48px;
	padding: 0 14px;
	border: 2px solid var(--ink);
	font-family: var(--mono);
	font-weight: 500;
	white-space: nowrap;
	text-decoration: none;
	transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.pagination a.page-numbers:hover {
	background: var(--lime);
}

.pagination .current {
	background: var(--ink);
	color: var(--lime);
}

.pagination .dots {
	border-color: transparent;
}

/* ---------- Comments ---------- */
.comments {
	padding-top: clamp(28px, 4vw, 48px);
	padding-bottom: clamp(32px, 5vw, 64px);
}

.comments-title,
.comment-reply-title {
	padding-top: 12px;
	border-top: 4px solid var(--ink);
	font-size: clamp(1.8rem, 3.6vw, 2.6rem);
	font-stretch: 62%;
	font-weight: 900;
	text-transform: uppercase;
}

.comment-list,
.comment-list .children {
	list-style: none;
	margin: 0;
	padding: 0;
}

.comment-list .children {
	padding-left: clamp(14px, 4vw, 36px);
}

.comment-card {
	margin-bottom: 16px;
	padding: 18px 0;
	border-bottom: 1px solid var(--ink);
}

.comment-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
}

.comment-head time {
	display: block;
	font-family: var(--mono);
	font-size: 0.76rem;
	text-transform: uppercase;
	color: var(--ink-soft);
}

.comment-author {
	font-weight: 800;
}

.comment-reply a {
	font-family: var(--mono);
	font-size: 0.8rem;
	text-transform: uppercase;
	background: var(--lime);
	padding: 2px 8px;
	text-decoration: none;
}

.comment-form {
	display: grid;
	gap: 14px;
}

.comment-form p {
	margin: 0;
}

.comment-form label {
	display: block;
	font-family: var(--mono);
	font-size: 0.8rem;
	text-transform: uppercase;
	margin-bottom: 4px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 2px solid var(--ink);
	border-radius: 0;
	background: #fff;
	font: inherit;
	color: var(--ink);
}

.comment-form-cookies-consent {
	display: flex;
	gap: 8px;
	align-items: flex-start;
}

.comment-form-cookies-consent label {
	font-family: var(--body);
	font-size: 0.95rem;
	text-transform: none;
}

/* ---------- 404 ---------- */
.notfound {
	padding-top: clamp(40px, 7vw, 96px);
	padding-bottom: clamp(20px, 4vw, 40px);
}

.notfound-code {
	margin: 0;
	font-family: var(--display);
	font-stretch: 62%;
	font-weight: 900;
	font-size: clamp(6rem, 22vw, 15rem);
	line-height: 0.8;
	-webkit-text-stroke: 3px var(--ink);
	color: var(--lime);
}

.notfound .hero-lede {
	max-width: 52ch;
	margin-top: 16px;
	color: var(--ink-soft);
}

/* ---------- Footer ---------- */
.site-footer {
	margin-top: clamp(32px, 5vw, 64px);
	background: var(--night);
	color: var(--on-night);
	border-top: 4px solid var(--lime);
}

.footer-grid {
	display: grid;
	gap: 28px;
	padding-top: clamp(40px, 6vw, 72px);
	padding-bottom: 28px;
}

@media (min-width: 800px) {
	.footer-grid {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: end;
	}
}

.footer-brand .brand-logo {
	height: 40px;
}

.footer-tagline {
	margin: 18px 0 0;
	max-width: 22ch;
	font-family: var(--display);
	font-stretch: 62%;
	font-size: clamp(2rem, 4.6vw, 3.4rem);
	font-weight: 900;
	line-height: 0.92;
	text-transform: uppercase;
	color: var(--on-night);
}

.footer-nav .menu {
	gap: 0 22px;
}

.footer-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-family: var(--mono);
	font-size: 0.82rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--on-night-soft);
}

.footer-nav a:hover {
	color: var(--lime);
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	padding-top: 18px;
	padding-bottom: 26px;
	border-top: 1px solid var(--night-line);
	font-family: var(--mono);
	font-size: 0.78rem;
	text-transform: uppercase;
	color: var(--on-night-soft);
}

.footer-bottom p {
	margin: 0;
}

.to-top {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	color: var(--lime);
	text-decoration: none;
}

/* ---------- WordPress core ---------- */
.wp-caption {
	max-width: 100%;
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation: none !important;
	}
}

/* ---------- Print ---------- */
@media print {
	.site-header,
	.site-footer,
	.popular-topics,
	.strip,
	.comments,
	.post-navigation {
		display: none !important;
	}

	body {
		background: #fff;
	}
}
