/*
Theme Name: Newport Beach Daily News
Theme URI: https://newportbeachdailynews.com/
Author: Best Net Placement
Description: Editorial theme for Newport Beach Daily News. Section-based homepage (Newport Beach, Lifestyle, Real Estate, Politics, Business, Food & Dining, Community), article and section templates, subscription and local business directory call-outs. Works with Yoast SEO, Paid Memberships Pro and GeoDirectory. Settings: Appearance > Customize > Newport Beach Daily News.
Version: 1.0.0
Requires at least: 6.2
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: nbdn
*/

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face { font-family: "Newsreader"; font-style: normal; font-display: swap; font-weight: 200 800; src: url("assets/fonts/newsreader-latin-opsz-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-display: swap; font-weight: 200 800; src: url("assets/fonts/newsreader-latin-opsz-italic.woff2") format("woff2"); }
@font-face { font-family: "Libre Franklin"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("assets/fonts/libre-franklin-latin-wght-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
	--paper: #fbf9f4;
	--paper-2: #f2eee4;
	--ink: #15202a;
	--ink-2: #4b5661;
	--ink-3: #6e7780;
	--rule: #e1dbcf;
	--accent: #0c5b6e;
	--accent-ink: #083f4d;
	--accent-tint: #e3eff1;
	--sun: #c97b1c;
	--band: #0e2c37;
	--band-ink: #e9f1f2;

	--serif: "Newsreader", Georgia, "Times New Roman", serif;
	--sans: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;

	--wrap: 1200px;
	--gutter: clamp(16px, 3vw, 32px);
	--gap: clamp(20px, 2.4vw, 32px);
	--radius: 2px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.5;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

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

.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: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; }
.skip-link:focus { left: 8px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: var(--sans); font-weight: 600; font-size: 14px; letter-spacing: 0.01em;
	padding: 10px 18px; border-radius: var(--radius); border: 1px solid transparent;
	cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
	white-space: nowrap;
}
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-ink); color: #fff; }
.btn--light { background: #fff; color: var(--band); }
.btn--light:hover { background: var(--accent-tint); color: var(--band); }
.btn--ghost-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn--block { width: 100%; }
.btn--lg { padding: 14px 26px; font-size: 15px; }

/* ---------- Header ---------- */
.topbar { border-bottom: 1px solid var(--rule); font-size: 12.5px; color: var(--ink-2); }
.topbar__inner { display: flex; align-items: center; gap: 18px; min-height: 36px; }
.topbar__place { display: none; }
.topbar__links { margin-left: auto; display: flex; gap: 18px; }
.topbar__links a { font-weight: 500; }
@media (min-width: 700px) { .topbar__place { display: inline; } .topbar__place::before { content: "·"; margin-right: 18px; color: var(--rule); } }

.masthead {
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
	padding-top: clamp(18px, 3vw, 30px); padding-bottom: clamp(14px, 2.4vw, 24px);
}
.nameplate { grid-column: 2; text-align: center; }
.nameplate__title { font-family: var(--serif); font-weight: 700; font-size: clamp(28px, 5.4vw, 60px); line-height: 1; letter-spacing: -0.025em; margin: 0; }
.nameplate__title a:hover { color: var(--ink); }
.nameplate__tagline { margin: 8px 0 0; font-family: var(--serif); font-style: italic; color: var(--ink-2); font-size: 15px; }
.nameplate .custom-logo { max-height: 72px; width: auto; margin: 0 auto; }
.masthead__actions { grid-column: 3; justify-self: end; }

.nav-toggle {
	grid-column: 1; justify-self: start; display: none;
	width: 40px; height: 40px; border: 0; background: none; padding: 8px; cursor: pointer; color: var(--ink);
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
	display: block; width: 22px; height: 2px; background: currentColor; position: relative; transition: transform .2s;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

.nav { border-top: 1px solid var(--ink); border-bottom: 3px double var(--ink); }
.nav__inner { display: flex; align-items: center; gap: 16px; min-height: 48px; }
.nav__list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 26px; flex: 1; }
.nav__list a {
	display: block; padding: 13px 0 12px; font-weight: 600; font-size: 13px;
	text-transform: uppercase; letter-spacing: 0.07em; border-bottom: 2px solid transparent;
}
.nav__list .is-current > a, .nav__list .current-menu-item > a, .nav__list .current-post-ancestor > a, .nav__list .current-menu-parent > a,
.nav__list a:hover { border-bottom-color: var(--accent); color: var(--ink); }
.nav__search input {
	width: 150px; font: inherit; font-size: 14px; padding: 7px 10px; border: 1px solid var(--rule);
	background: #fff; border-radius: var(--radius); color: var(--ink); transition: width .2s;
}
.nav__search input:focus { width: 200px; outline: none; border-color: var(--accent); }

@media (max-width: 800px) {
	.nav-toggle { display: inline-flex; align-items: center; }
	.masthead { padding-top: 14px; padding-bottom: 12px; }
	.masthead__actions .btn { padding: 8px 12px; font-size: 13px; }
	.nav { display: none; border-bottom: 1px solid var(--ink); }
	.nav.is-open { display: block; }
	.nav__inner { flex-direction: column; align-items: stretch; padding-top: 10px; padding-bottom: 14px; }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list li { border-bottom: 1px solid var(--rule); }
	.nav__list a { padding: 12px 0; border-bottom: 0; }
	.nav__search input, .nav__search input:focus { width: 100%; }
	.site-header { border-bottom: 3px double var(--ink); }
}
@media (max-width: 800px) {
	.masthead { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 8px; }
	.nameplate__title { font-size: clamp(20px, 5.4vw, 34px); }
}
@media (max-width: 420px) {
	.nameplate__title { font-size: 20px; letter-spacing: -0.02em; }
	.nameplate__tagline { display: none; }
}

/* ---------- Story cards ---------- */
.story { min-width: 0; }
.story__media { display: block; background: var(--paper-2); overflow: hidden; }
.story__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .4s ease; }
.story:hover .story__media img { transform: scale(1.015); }
.story__meta-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.kicker {
	font-family: var(--sans); font-weight: 700; font-size: 11.5px; letter-spacing: 0.09em;
	text-transform: uppercase; color: var(--accent);
}
.kicker:hover { color: var(--accent-ink); }
.label {
	font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
	padding: 2px 6px; border-radius: var(--radius); line-height: 1.4;
}
.label--news { border: 1px solid var(--ink-3); color: var(--ink-2); }
.label--opinion { background: var(--sun); color: #fff; }
.story__title { font-size: 21px; line-height: 1.2; }
.story__title a:hover { color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.story__dek { font-family: var(--serif); font-size: 17px; line-height: 1.45; color: var(--ink-2); margin: 8px 0 0; }
.story__meta { font-size: 12.5px; color: var(--ink-3); margin: 8px 0 0; }

.story--lead .story__media img { aspect-ratio: 16 / 9.5; }
.story--lead .story__body { padding-top: 16px; }
.story--lead .story__title { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.08; letter-spacing: -0.02em; font-weight: 600; }
.story--lead .story__dek { font-size: 19px; margin-top: 12px; max-width: 62ch; }

.story--card .story__body { padding-top: 12px; }

.story--row { display: grid; grid-template-columns: 1fr 120px; gap: 16px; align-items: start; }
.story--row .story__media { order: 2; }
.story--row .story__media img { aspect-ratio: 3 / 2; }
.story--row:not(.has-post-thumbnail) { grid-template-columns: 1fr; }
.story--row .story__title { font-size: 19px; }
.story--row .story__dek { font-size: 15.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.story--list .story__title { font-size: 17.5px; line-height: 1.25; font-weight: 500; }
.story--list .story__meta { margin-top: 4px; }

/* ---------- Homepage: top ---------- */
.front-top {
	display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--gap);
	padding-top: var(--gap); padding-bottom: calc(var(--gap) * 1.25);
}
.front-top__under { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: var(--gap); padding-top: var(--gap); border-top: 1px solid var(--rule); }
.front-top__latest { border-left: 1px solid var(--rule); padding-left: var(--gap); }
.rail-heading {
	font-family: var(--sans); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
	padding-bottom: 10px; border-bottom: 3px solid var(--ink); margin-bottom: 4px;
}
.latest-list { list-style: none; counter-reset: latest; }
.latest-list li { padding: 14px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 26px 1fr; counter-increment: latest; }
.latest-list li::before { content: counter(latest); font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--accent); line-height: 1; padding-top: 2px; }

.promo { margin-top: var(--gap); padding: 20px; background: var(--accent-tint); border-top: 3px solid var(--accent); }
.promo__eyebrow { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 6px; }
.promo__title { font-family: var(--serif); font-size: 22px; line-height: 1.2; font-weight: 600; margin-bottom: 14px; }

@media (max-width: 960px) {
	.front-top { grid-template-columns: 1fr; }
	.front-top__latest { border-left: 0; padding-left: 0; }
}
@media (max-width: 600px) {
	.front-top__under { grid-template-columns: 1fr; }
}

/* ---------- Section blocks ---------- */
.section-block { padding-top: var(--gap); padding-bottom: calc(var(--gap) * 1.25); }
.section-head {
	display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
	border-top: 3px solid var(--ink); padding-top: 10px; margin-bottom: var(--gap);
}
.section-head__title { font-size: clamp(24px, 2.6vw, 30px); font-weight: 600; }
.section-head__title a:hover { color: var(--accent); }
.section-head__more { font-size: 13px; font-weight: 600; color: var(--accent); white-space: nowrap; }

.section-block--feature .section-block__body { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 0 var(--gap); }
.section-block--feature .section-block__body > :first-child { grid-row: span 3; }
.section-block--feature .section-block__body > :first-child .story__title { font-size: clamp(22px, 2.4vw, 28px); }
.section-block--feature .story--row { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.section-block--feature .story--row:nth-child(2) { padding-top: 0; }
.section-block--feature .story--row:last-child { border-bottom: 0; }

.section-block--grid .section-block__body, .grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.section-block--grid .story__title, .grid-4 .story__title { font-size: 19px; }

@media (max-width: 960px) {
	.section-block--grid .section-block__body, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
	.section-block--feature .section-block__body { grid-template-columns: 1fr; }
	.section-block--feature .section-block__body > :first-child { grid-row: auto; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
	.section-block--feature .story--row:nth-child(2) { padding-top: 16px; }
}
@media (max-width: 480px) {
	.section-block--grid .section-block__body, .grid-4 { grid-template-columns: 1fr; }
	.section-block--grid .story--card, .grid-4 .story--card { display: grid; grid-template-columns: 1fr 110px; gap: 14px; }
	.section-block--grid .story--card .story__media, .grid-4 .story--card .story__media { order: 2; }
	.section-block--grid .story--card .story__body, .grid-4 .story--card .story__body { padding-top: 0; }
	.section-block--grid .story--card .story__media img, .grid-4 .story--card .story__media img { aspect-ratio: 3 / 2; }
}

/* ---------- Directory band ---------- */
.band--directory { background: var(--band); color: var(--band-ink); margin: calc(var(--gap) * 0.5) 0 var(--gap); }
.band__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: calc(var(--gap) * 1.5); padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(32px, 5vw, 56px); align-items: center; }
.band__eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: #8fc3cf; margin-bottom: 10px; }
.band__title { font-size: clamp(28px, 3.4vw, 40px); color: #fff; font-weight: 600; margin-bottom: 12px; }
.band__text { font-family: var(--serif); font-size: 18px; line-height: 1.5; color: #c9dadd; max-width: 46ch; }
.band__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.place-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); }
.place a { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; background: var(--band); height: 100%; }
.place a:hover { background: #133a47; color: #fff; }
.place__name { font-family: var(--serif); font-size: 19px; font-weight: 600; color: #fff; line-height: 1.2; }
.place__cat { font-size: 12.5px; color: #8fc3cf; }
.band--directory .band__inner:not(:has(.place-list)) { grid-template-columns: 1fr; }
@media (max-width: 800px) { .band__inner { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .place-list { grid-template-columns: 1fr; } }

/* ---------- Subscribe band ---------- */
.subscribe-band { padding-top: var(--gap); padding-bottom: calc(var(--gap) * 1.5); }
.subscribe-band__inner {
	display: flex; align-items: center; justify-content: space-between; gap: var(--gap); flex-wrap: wrap;
	background: var(--paper-2); border-left: 4px solid var(--accent); padding: clamp(24px, 4vw, 40px);
}
.subscribe-band .band__eyebrow { color: var(--accent); }
.subscribe-band__title { font-size: clamp(26px, 3vw, 36px); margin-bottom: 8px; }
.subscribe-band__text { font-family: var(--serif); font-size: 18px; color: var(--ink-2); margin: 0; max-width: 56ch; }

/* ---------- Article ---------- */
.article__header { max-width: calc(780px + 2 * var(--gutter)); padding-top: clamp(28px, 5vw, 56px); text-align: center; }
.article__kicker { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 14px; }
.article__title { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.06; letter-spacing: -0.022em; font-weight: 600; }
.article__dek { font-family: var(--serif); font-size: clamp(19px, 2vw, 23px); line-height: 1.4; color: var(--ink-2); margin: 16px auto 0; max-width: 40em; }
.article__byline { font-size: 14px; color: var(--ink-2); margin: 20px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; }
.article__author { color: var(--ink); font-weight: 600; }
.dot { color: var(--ink-3); }

.article__figure { max-width: calc(1080px + 2 * var(--gutter)); margin-top: clamp(24px, 4vw, 40px); margin-bottom: 0; }
.article__figure img { width: 100%; }
.article__figure figcaption { font-size: 13.5px; color: var(--ink-3); padding-top: 8px; border-bottom: 1px solid var(--rule); padding-bottom: 10px; }

.article__layout { max-width: calc(680px + 2 * var(--gutter)); padding-top: clamp(24px, 4vw, 40px); padding-bottom: var(--gap); }
.has-article-sidebar .article__layout { max-width: calc(1040px + 2 * var(--gutter)); display: grid; grid-template-columns: minmax(0, 680px) 300px; gap: 60px; justify-content: center; }
@media (max-width: 1000px) { .has-article-sidebar .article__layout { grid-template-columns: 1fr; max-width: calc(680px + 2 * var(--gutter)); } }

.entry-content { font-family: var(--serif); font-size: 20px; line-height: 1.62; }
.entry-content > * { margin-top: 0; margin-bottom: 1.1em; }
.entry-content h2 { font-size: 28px; margin-top: 1.6em; margin-bottom: .5em; }
.entry-content h3 { font-size: 23px; margin-top: 1.4em; margin-bottom: .4em; }
.entry-content h4 { font-family: var(--sans); font-size: 15px; text-transform: uppercase; letter-spacing: .06em; margin-top: 1.4em; }
.entry-content a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--accent-ink); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content blockquote { margin: 1.5em 0; padding: 0 0 0 22px; border-left: 3px solid var(--accent); font-style: italic; color: var(--ink-2); }
.entry-content .wp-block-pullquote, .entry-content .pullquote { border-top: 3px solid var(--ink); border-bottom: 1px solid var(--rule); padding: 20px 0; text-align: left; font-size: 26px; line-height: 1.3; }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption, .entry-content .wp-caption-text { font-family: var(--sans); font-size: 13.5px; color: var(--ink-3); margin-top: 8px; }
.entry-content hr { border: 0; border-top: 1px solid var(--rule); margin: 2em 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 15px; }
.entry-content th, .entry-content td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--rule); }
.entry-content .alignleft { float: left; margin: .3em 1.5em 1em 0; max-width: 50%; }
.entry-content .alignright { float: right; margin: .3em 0 1em 1.5em; max-width: 50%; }
.entry-content .aligncenter { margin-left: auto; margin-right: auto; }
@media (min-width: 1100px) {
	.entry-content .alignwide { margin-left: -120px; margin-right: -120px; max-width: none; }
}
.entry-content .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.entry-content .wp-caption { max-width: 100%; }

.article__footer { clear: both; font-family: var(--sans); margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 16px; }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list a { display: inline-block; font-size: 13px; padding: 4px 10px; border: 1px solid var(--rule); border-radius: 99px; color: var(--ink-2); text-decoration: none; }
.tag-list a:hover { border-color: var(--accent); color: var(--accent); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 14px; }
.share__label { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.share a { font-weight: 600; color: var(--accent); text-decoration: none; }

.inline-subscribe { font-family: var(--sans); font-size: 16px; margin-top: 32px; padding: 24px; background: var(--accent-tint); border-top: 3px solid var(--accent); }
.inline-subscribe__title { font-family: var(--serif); font-size: 24px; font-weight: 600; margin-bottom: 6px; }
.inline-subscribe .btn { text-decoration: none; color: #fff; }

.article__sidebar .widget { margin-bottom: 32px; font-size: 15px; }
.article__sidebar .widget ul { list-style: none; }
.article__sidebar .widget li { padding: 8px 0; border-bottom: 1px solid var(--rule); }
.article__sidebar .widget input[type="search"], .article__sidebar .widget input[type="text"] { font: inherit; padding: 8px 10px; border: 1px solid var(--rule); background: #fff; border-radius: var(--radius); width: 100%; }
.article__sidebar .widget button, .article__sidebar .widget input[type="submit"], .wp-block-search__button { font: inherit; font-weight: 600; padding: 8px 14px; background: var(--accent); color: #fff; border: 0; border-radius: var(--radius); cursor: pointer; }
.wp-block-search__inside-wrapper { display: flex; gap: 6px; }
.article__sidebar h2:not(.widget-title) { font-family: var(--sans); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; border-bottom: 3px solid var(--ink); padding-bottom: 8px; margin-bottom: 8px; }
.widget-title { font-family: var(--sans); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; border-bottom: 3px solid var(--ink); padding-bottom: 8px; margin-bottom: 12px; }

.related { padding-top: var(--gap); padding-bottom: calc(var(--gap) * 1.5); }

/* ---------- Pages ---------- */
.page-article__header { max-width: calc(1080px + 2 * var(--gutter)); padding-top: clamp(28px, 5vw, 56px); padding-bottom: 20px; border-bottom: 1px solid var(--rule); margin-bottom: 32px; }
.page-article__content { max-width: calc(1080px + 2 * var(--gutter)); padding-bottom: 56px; font-size: 18px; }

/* ---------- Archives ---------- */
.archive-head { padding-top: clamp(28px, 5vw, 52px); padding-bottom: 24px; border-bottom: 3px solid var(--ink); margin-bottom: var(--gap); }
.archive-head__eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: 8px; }
.archive-head__title { font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.025em; }
.archive-head__desc { font-family: var(--serif); font-size: 19px; line-height: 1.5; color: var(--ink-2); max-width: 62ch; margin-top: 12px; }
.archive-head__desc p:last-child { margin-bottom: 0; }

.archive-list__lead { padding-bottom: var(--gap); margin-bottom: var(--gap); border-bottom: 1px solid var(--rule); }
.archive-list__lead .story--lead { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--gap); align-items: center; }
.archive-list__lead .story--lead .story__body { padding-top: 0; }
.archive-list__lead .story--lead:not(.has-post-thumbnail) { grid-template-columns: 1fr; }
.archive-list__rest { display: grid; grid-template-columns: 1fr 1fr; gap: 0 calc(var(--gap) * 1.5); }
.archive-list__rest .story--row { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.archive-list__rest--full { grid-template-columns: 1fr; max-width: 820px; }
@media (max-width: 800px) {
	.archive-list__lead .story--lead { grid-template-columns: 1fr; }
	.archive-list__lead .story--lead .story__body { padding-top: 4px; }
	.archive-list__rest { grid-template-columns: 1fr; }
}

.pagination-wrap { padding-top: var(--gap); padding-bottom: 56px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pagination .page-numbers { display: inline-block; min-width: 40px; text-align: center; padding: 9px 12px; font-size: 14px; font-weight: 600; border: 1px solid var(--rule); border-radius: var(--radius); background: #fff; }
.pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination a.page-numbers:hover { border-color: var(--accent); color: var(--accent); }

.empty, .not-found { padding-top: 40px; padding-bottom: 80px; font-family: var(--serif); font-size: 20px; }
.not-found__sections { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 28px; font-family: var(--sans); font-size: 15px; font-weight: 600; }
.not-found__sections a { color: var(--accent); }

.search-form { display: flex; gap: 8px; margin-top: 20px; max-width: 520px; }
.search-form label { flex: 1; }
.search-form .search-field { width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid var(--rule); background: #fff; border-radius: var(--radius); }
.search-form .search-submit { font: inherit; font-size: 14px; font-weight: 600; padding: 10px 18px; background: var(--accent); color: #fff; border: 0; border-radius: var(--radius); cursor: pointer; }

/* ---------- Comments ---------- */
.comments { font-family: var(--sans); font-size: 16px; margin-top: 48px; padding-top: 24px; border-top: 3px solid var(--ink); }
.comments__title { font-size: 24px; margin-bottom: 20px; }
.comment-list { list-style: none; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; font: inherit; padding: 10px; border: 1px solid var(--rule); background: #fff; border-radius: var(--radius);
}
.comment-form .submit { font: inherit; font-weight: 600; padding: 10px 18px; background: var(--accent); color: #fff; border: 0; border-radius: var(--radius); cursor: pointer; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c8ced3; margin-top: var(--gap); font-size: 14.5px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: var(--gap); padding-top: 48px; padding-bottom: 32px; }
.footer__name { font-family: var(--serif); font-size: 26px; font-weight: 700; color: #fff; letter-spacing: -0.02em; margin-bottom: 10px; }
.footer__about p:not(.footer__name) { max-width: 40ch; line-height: 1.6; }
.footer__heading { font-family: var(--sans); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #8fa0aa; margin: 0 0 12px; }
.footer__col ul { list-style: none; margin-bottom: 22px; }
.footer__col li { margin-bottom: 8px; }
.footer__col a, .social a { color: #e8ecef; }
.footer__col a:hover, .social a:hover { color: #9fd3de; }
.social { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; font-weight: 600; }
.footer__legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; padding-bottom: 24px; font-size: 13px; color: #8fa0aa; }
.footer__legal p { margin: 0; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- WordPress core ---------- */
.alignnone { margin: 0; }
.page-links { font-family: var(--sans); font-size: 15px; display: flex; gap: 8px; }
