/*
Theme Name: Investigation Post
Theme URI: https://investigationpost.com
Author: Investigation Post
Description: News theme for Investigation Post: lead story, latest, beats, and story pages with numbered sources, right of reply and AI-assisted labels. Pair it with the Investigation Post Newsroom plugin.
Version: 1.0.1
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: investigation-post
*/

/* Fonts are bundled (SIL Open Font License, see assets/fonts) so the site never depends on a third-party font host. */
@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
	src: url("assets/fonts/archivo-latin.woff2") format("woff2-variations"), url("assets/fonts/archivo-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: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
	src: url("assets/fonts/archivo-latin-ext.woff2") format("woff2-variations"), url("assets/fonts/archivo-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Source Serif 4";
	font-style: normal;
	font-weight: 200 900;
	font-display: swap;
	src: url("assets/fonts/source-serif-4-latin.woff2") format("woff2-variations"), url("assets/fonts/source-serif-4-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: "Source Serif 4";
	font-style: italic;
	font-weight: 200 900;
	font-display: swap;
	src: url("assets/fonts/source-serif-4-latin-italic.woff2") format("woff2-variations"), url("assets/fonts/source-serif-4-latin-italic.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: "Source Serif 4";
	font-style: normal;
	font-weight: 200 900;
	font-display: swap;
	src: url("assets/fonts/source-serif-4-latin-ext.woff2") format("woff2-variations"), url("assets/fonts/source-serif-4-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--ink: #111111;
	--red: #b80106;
	--red-dark: #8e0005;
	--paper: #ffffff;
	--mist: #f4f3f1;
	--rule: #dcdad6;
	--rule-soft: #d5d2cc;
	--muted: #555555;
	--body: #333333;
	--text: #1a1a1a;
	--field: #bdbab4;
	--sans: "Archivo", "Arial Narrow", Arial, sans-serif;
	--serif: "Source Serif 4", Georgia, serif;
	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
/* Hindi (Devanagari) text uses the bundled Noto Sans Devanagari under each font family. */
@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/noto-sans-devanagari-400.ttf") format("truetype");
	unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF;
}
@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("assets/fonts/noto-sans-devanagari-700.ttf") format("truetype");
	unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF;
}
@font-face {
	font-family: "Source Serif 4";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/noto-sans-devanagari-400.ttf") format("truetype");
	unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF;
}
@font-face {
	font-family: "Source Serif 4";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("assets/fonts/noto-sans-devanagari-700.ttf") format("truetype");
	unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF;
}

body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--red); text-decoration: underline; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
button { font-family: inherit; }
[hidden] { display: none !important; }

.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; margin: 0; padding: 12px 16px; left: 8px; top: 8px; z-index: 100; background: var(--paper); color: var(--ink); font-weight: 700; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.kicker .beat { color: var(--red); }
.kicker .label { color: var(--muted); }
.kicker time.label { font-weight: 500; }

.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 14px; color: var(--muted); }

.ai-badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--sans); line-height: 1.4; border: 1px solid var(--ink); padding: 3px 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.ai-badge--small { align-self: flex-start; padding: 1px 6px; font-size: 10px; }
.ai-badge--solid { background: var(--ink); color: #fff; padding: 5px 10px; font-size: 12px; }
a.ai-badge:hover { text-decoration: none; color: var(--red); border-color: var(--red); }

.button-red { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 16px; background: var(--red); border: 0; color: #fff; font-family: var(--sans); font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.button-red:hover { background: var(--red-dark); color: #fff; text-decoration: none; }
.button-red--large { padding: 15px 24px; font-size: 15px; }

.more-link { padding-top: 16px; font-size: 14px; font-weight: 700; color: var(--red); }

.rule-heading { margin: 0; padding: 10px 0 4px; border-top: 4px solid var(--ink); font-size: 15px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }

/* Utility bar */
.utility { background: var(--ink); color: #fff; font-size: 13px; }
.utility .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 24px; }
.utility span, .utility a { display: inline-block; padding: 9px 0; color: #fff; }
.utility a:hover { color: #fff; }

/* Masthead */
.masthead { display: flex; justify-content: center; padding: 28px var(--gutter) 24px; }
.masthead__logo { display: block; width: 320px; max-width: 100%; }
.masthead__logo img { width: 100%; }
.is-inner .masthead { padding: 24px var(--gutter) 20px; }
.is-inner .masthead__logo { width: 220px; }

/* Section navigation */
.site-nav { border-top: 4px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--paper); }
.site-nav__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 24px; }
.site-nav__menu { display: flex; flex-wrap: wrap; gap: 0 22px; margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 700; font-stretch: 88%; letter-spacing: 0.06em; text-transform: uppercase; }
.site-nav__menu a { display: block; padding: 15px 0; }
.site-nav__menu .current-menu-item > a, .site-nav__menu .current-menu-parent > a, .site-nav__menu a[aria-current] { color: var(--red); }
.nav-more { position: relative; }
.nav-more summary { padding: 15px 0; cursor: pointer; list-style: none; }
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more summary::after { content: " ▾"; }
.nav-more ul { position: absolute; z-index: 20; top: 100%; right: 0; min-width: 190px; margin: 0; padding: 4px 16px; list-style: none; background: var(--paper); border: 1px solid var(--ink); border-top: 3px solid var(--red); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12); }
.nav-states ul { right: auto; left: 0; min-width: 240px; max-height: 70vh; overflow-y: auto; }
.nav-more ul a { padding: 11px 0; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.nav-more ul li:last-child a { border-bottom: 0; }
.nav-more .current-menu-item > a { color: var(--red); }
.site-nav__tools { display: flex; align-items: center; gap: 8px; }
.lang-switch { display: inline-flex; border: 1px solid var(--ink); }
.lang-switch a { padding: 8px 10px; font-size: 12px; font-weight: 700; line-height: 1; letter-spacing: 0.04em; color: var(--ink); text-decoration: none; }
.lang-switch a.is-current { background: var(--ink); color: #fff; }
.lang-switch a:focus-visible { outline: 2px solid var(--red, #B80106); outline-offset: 2px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; background: transparent; border: 0; color: var(--ink); cursor: pointer; }
.icon-button:hover { color: var(--red); }
.menu-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0; background: transparent; border: 0; color: var(--ink); font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.search-panel { border-top: 1px solid var(--rule); background: var(--mist); }
.search-form { display: flex; gap: 8px; padding: 12px 0; }
.search-form__input { flex: 1 1 auto; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid var(--field); background: #fff; font: inherit; font-size: 16px; color: var(--ink); }
.search-form__submit { height: 44px; padding: 0 18px; background: var(--ink); border: 1px solid var(--ink); color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; }
.search-form__submit:hover { background: #333; }

@media (max-width: 980px) {
	.menu-toggle { display: inline-flex; }
	.site-nav__menu { display: none; order: 3; flex-direction: column; width: 100%; gap: 0; border-top: 1px solid var(--rule); }
	.site-nav.is-open .site-nav__menu { display: flex; }
	.site-nav__menu a { padding: 13px 0; border-bottom: 1px solid var(--rule); }
	.site-nav__menu li:last-child a { border-bottom: 0; }
	.nav-more ul { position: static; min-width: 0; padding: 0 0 0 16px; border: 0; box-shadow: none; }
	.nav-more summary { padding: 13px 0; border-bottom: 1px solid var(--rule); }
}
@media (max-width: 420px) {
	.site-nav__tools .button-red { padding: 10px 12px; font-size: 12px; }
}

/* Homepage: lead + latest */
.lead-grid { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 40px; padding-bottom: 64px; }
.lead { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.lead__image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.lead__title { margin: 0; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.02; font-weight: 800; font-stretch: 72%; letter-spacing: -0.005em; text-wrap: balance; }
.dek { margin: 0; max-width: 720px; font-family: var(--serif); font-size: 21px; line-height: 1.5; color: var(--body); }
.latest { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; }
.latest__list { list-style: none; margin: 0; padding: 0; }
.latest__item { display: flex; flex-direction: column; gap: 6px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.latest__meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.latest__meta .beat { color: var(--red); }
.latest__meta time { color: var(--muted); font-weight: 500; }
.latest__title { font-size: 20px; line-height: 1.2; font-weight: 700; font-stretch: 82%; }
.latest__empty { color: var(--muted); }

/* Investigations */
.section { padding-bottom: 72px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; padding-top: 12px; border-top: 4px solid var(--ink); }
.section-title { margin: 0; font-size: 40px; line-height: 1; font-weight: 900; font-stretch: 68%; letter-spacing: 0.01em; text-transform: uppercase; }
.section-head__link { font-size: 14px; font-weight: 700; }
.sec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 40px 36px; }
.sec { display: flex; flex-direction: column; gap: 14px; padding-top: 10px; border-top: 1px solid var(--ink); }
.sec__title { margin: 0; font-size: 15px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.sec__title a { color: var(--red); }
.sec__lead { display: flex; flex-direction: column; gap: 8px; }
.sec__image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.sec__lead-title { margin: 0; font-size: 24px; line-height: 1.12; font-weight: 800; font-stretch: 75%; text-wrap: balance; }
.sec__time { font-size: 12px; color: var(--muted, #555); }
.sec__list { margin: 0; padding: 0; list-style: none; }
.sec__list li { padding: 10px 0; border-top: 1px solid var(--rule); font-family: var(--serif); font-size: 17px; line-height: 1.3; }
.sec .more-link { margin-top: auto; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 40px 32px; }
.card { display: flex; flex-direction: column; gap: 12px; }
.card__image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card__title { margin: 0; font-size: 28px; line-height: 1.08; font-weight: 800; font-stretch: 75%; text-wrap: balance; }
.card__dek { margin: 0; font-family: var(--serif); font-size: 17px; line-height: 1.5; color: var(--body); }
.card .byline { font-size: 13px; }

/* Beats */
.beats { background: var(--mist); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.beats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 40px 32px; padding-top: 56px; padding-bottom: 64px; }
.beat-col { display: flex; flex-direction: column; }
.beat-col__title { margin: 0; padding: 10px 0 12px; border-top: 4px solid var(--ink); font-size: 15px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.beat-col ul { list-style: none; margin: 0; padding: 0; }
.beat-col li { padding: 14px 0; border-top: 1px solid var(--rule-soft); }
.beat-col li a { display: block; font-size: 18px; line-height: 1.22; font-weight: 700; font-stretch: 85%; }
.beat-col li:first-child a { font-size: 23px; line-height: 1.12; font-weight: 800; font-stretch: 76%; }
.beat-col .more-link { padding-top: 10px; font-size: 13px; }
.beat-col__empty { margin: 0; padding: 14px 0; border-top: 1px solid var(--rule-soft); color: var(--muted); }

/* How we report */
.standards { background: var(--ink); color: #fff; }
.standards__inner { display: flex; flex-wrap: wrap; gap: 40px 64px; padding-top: 72px; padding-bottom: 72px; }
.standards__intro { flex: 1 1 300px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.standards__title { margin: 0; font-size: clamp(44px, 5vw, 68px); line-height: 0.92; font-weight: 900; font-stretch: 66%; text-transform: uppercase; }
.red-dash { width: 72px; height: 6px; background: var(--red); }
.standards a { color: #fff; font-size: 15px; font-weight: 700; text-decoration: underline; }
.standards a:hover { color: #fff; }
.standards__list { flex: 2 1 480px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 32px 40px; margin: 0; padding: 0; list-style: none; }
.standards__list li { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid #4a4a4a; }
.standards__list strong { font-size: 21px; font-weight: 800; font-stretch: 85%; }
.standards__list span { font-family: var(--serif); font-size: 17px; line-height: 1.55; color: #d9d9d9; }

/* Tip band */
.tip-band { background: var(--mist); }
.tip-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-top: 56px; padding-bottom: 56px; }
.tip-band__text { flex: 1 1 520px; display: flex; flex-direction: column; gap: 10px; }
.tip-band h2 { margin: 0; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.02; font-weight: 900; font-stretch: 72%; }
.tip-band p { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.5; color: var(--body); }
.tip-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; font-size: 15px; color: #444; }
.tip-band__email { text-decoration: underline; overflow-wrap: anywhere; }

/* Footer */
.site-footer { border-top: 4px solid var(--ink); }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 16px; font-size: 14px; }
.site-footer__brand img { width: 200px; }
.site-footer__brand a[href^="mailto"] { overflow-wrap: anywhere; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav h2 { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.footer-nav ul { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.site-footer__bottom { padding-bottom: 32px; }
.site-footer__legal { padding-top: 16px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--muted); }

/* Story page */
.article-header { display: flex; flex-direction: column; gap: 18px; max-width: 880px; margin: 0 auto; padding: 48px var(--gutter) 32px; }
.article-title { margin: 0; font-size: clamp(38px, 5vw, 68px); line-height: 1; font-weight: 800; font-stretch: 70%; letter-spacing: -0.005em; text-wrap: balance; }
.article-dek { margin: 0; font-family: var(--serif); font-size: 23px; line-height: 1.5; color: var(--body); }
.article-byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-top: 18px; border-top: 1px solid var(--rule); }
.article-byline__names { display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.article-byline__date { color: var(--muted); }
.article-byline .ai-badge { padding: 6px 10px; font-size: 12px; }
.share { display: flex; flex-wrap: wrap; gap: 8px; }
.share__button { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; background: #fff; border: 1px solid var(--ink); color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.share__button:hover { color: var(--red); border-color: var(--red); text-decoration: none; }
.article-figure { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.article-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-figure figcaption { padding-top: 10px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.article-body { max-width: 760px; margin: 0 auto; padding: 48px var(--gutter) 0; }
.article-header + .article-body { padding-top: 16px; }

.entry-content { font-family: var(--serif); font-size: 20px; line-height: 1.65; color: var(--text); }
.entry-content > * { margin-top: 0; margin-bottom: 24px; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content h2 { margin: 40px 0 16px; font-family: var(--sans); font-size: 30px; line-height: 1.1; font-weight: 800; font-stretch: 78%; color: var(--ink); }
.entry-content h3 { margin: 32px 0 12px; font-family: var(--sans); font-size: 23px; line-height: 1.15; font-weight: 800; font-stretch: 82%; color: var(--ink); }
.entry-content a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: 8px; }
.entry-content blockquote { margin: 32px 0; padding: 24px 0; border-top: 4px solid var(--ink); border-bottom: 1px solid var(--ink); }
.entry-content blockquote p { margin: 0; font-family: var(--sans); font-size: 30px; line-height: 1.15; font-weight: 800; font-stretch: 75%; color: var(--ink); }
.entry-content blockquote cite, .entry-content blockquote footer { display: block; margin-top: 12px; font-family: var(--sans); font-size: 14px; font-style: normal; color: var(--muted); }
.entry-content figure { margin: 32px 0; }
.entry-content figcaption, .entry-content .wp-element-caption { padding-top: 8px; font-family: var(--sans); font-size: 13px; color: var(--muted); }
.entry-content img { height: auto; }
.entry-content table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 15px; }
.entry-content th, .entry-content td { padding: 8px 10px; border-bottom: 1px solid var(--rule); text-align: left; }
sup.ip-cite { line-height: 0; }
.ip-cite a { font-family: var(--sans); font-size: 13px; font-weight: 700; color: var(--red); text-decoration: none; }
.ip-cite a:hover { text-decoration: underline; }

.ror-box { margin-top: 32px; padding: 24px 28px; background: var(--mist); }
.box-label.box-label { margin: 0 0 8px; font-family: var(--sans); font-size: 13px; font-weight: 800; font-stretch: 100%; letter-spacing: 0.1em; text-transform: uppercase; }
.ror-box p { margin: 0; font-size: 17px; line-height: 1.6; }
.how-made { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 24px; padding: 24px 28px; border: 1px solid var(--ink); }
.how-made h2 { margin: 0; font-family: var(--sans); font-size: 24px; line-height: 1.15; font-weight: 800; font-stretch: 85%; }
.how-made p { margin: 0; font-size: 17px; line-height: 1.6; }
.how-made a { font-family: var(--sans); font-size: 15px; font-weight: 700; }

.sources { max-width: 760px; margin: 0 auto; padding: 56px var(--gutter) 0; }
.sources__title { margin: 0 0 4px; padding-top: 12px; border-top: 4px solid var(--ink); font-size: 28px; line-height: 1; font-weight: 900; font-stretch: 70%; text-transform: uppercase; }
.sources ol { margin: 0; padding: 0; list-style: none; }
.source { display: grid; grid-template-columns: 36px minmax(0, 1fr) 44px; align-items: start; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.source:target { background: #fff6dc; }
.source__num { padding-top: 2px; font-size: 15px; font-weight: 800; color: var(--red); }
.source__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.source__title { font-size: 16px; line-height: 1.35; font-weight: 700; overflow-wrap: anywhere; }
.source__detail { font-size: 14px; color: var(--muted); }
.source__link { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--rule); }
.source__link:hover { border-color: var(--red); }
.article-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 24px; font-size: 15px; line-height: 1.5; color: var(--body); }
.article-foot a[href^="mailto"] { text-decoration: underline; overflow-wrap: anywhere; }
.tag-chip { padding: 6px 12px; border: 1px solid var(--ink); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.tag-chip:hover { text-decoration: none; border-color: var(--red); }

.related { padding-top: 72px; padding-bottom: 72px; }
.related .rule-heading { margin-bottom: 24px; padding-top: 12px; }
.related__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px 32px; }
.related__item { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid var(--rule); }
.related__item time { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.related__title { font-size: 24px; line-height: 1.12; font-weight: 800; font-stretch: 78%; }
.related__item:hover { text-decoration: none; }
.related__item:hover .related__title { text-decoration: underline; }

/* Lists: archives, search, Latest */
.archive-header { padding-top: 48px; padding-bottom: 24px; }
.archive-title { margin: 8px 0 0; font-size: clamp(40px, 5vw, 64px); line-height: 1; font-weight: 900; font-stretch: 68%; text-transform: uppercase; overflow-wrap: anywhere; }
.archive-title--search { text-transform: none; font-stretch: 72%; }
.archive-desc { max-width: 720px; margin: 12px 0 0; font-family: var(--serif); font-size: 19px; line-height: 1.5; color: var(--body); }
.archive-desc p { margin: 0; }
.archive-search { max-width: 640px; margin-top: 16px; }
.archive-list { padding-bottom: 72px; }
.story-row { display: flex; flex-wrap: wrap; gap: 16px 32px; padding: 24px 0; border-top: 1px solid var(--rule); }
.story-row:first-child { border-top: 4px solid var(--ink); }
.story-row__image { flex: 0 1 300px; }
.story-row__image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.story-row__body { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.story-row__title { margin: 0; font-size: 28px; line-height: 1.08; font-weight: 800; font-stretch: 75%; text-wrap: balance; }
.story-row__dek { margin: 0; font-family: var(--serif); font-size: 17px; line-height: 1.5; color: var(--body); }
.story-row .byline { font-size: 13px; }

.pagination { padding-top: 24px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; margin: 0 4px 8px 0; padding: 0 12px; border: 1px solid var(--ink); font-weight: 700; }
.pagination .page-numbers.current { background: var(--ink); color: #fff; }
.pagination .page-numbers.dots { border-color: transparent; }
.pagination a.page-numbers:hover { border-color: var(--red); text-decoration: none; }

.empty-state { padding: 64px 0; margin: 0; font-family: var(--serif); font-size: 19px; color: var(--body); text-align: center; }

/* Pages */
.page-header { max-width: 760px; margin: 0 auto; padding: 48px var(--gutter) 8px; }
.page-title { margin: 0; padding-top: 12px; border-top: 4px solid var(--ink); font-size: clamp(38px, 5vw, 60px); line-height: 1; font-weight: 900; font-stretch: 68%; text-transform: uppercase; }
.page-body { max-width: 760px; margin: 0 auto; padding: 24px var(--gutter) 72px; }

/* Tip form ([ip_tip_form]) */
.ip-tip { font-family: var(--sans); font-size: 16px; }
.ip-tip__form { display: flex; flex-direction: column; gap: 4px; }
.ip-tip .ip-field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; }
.ip-tip label { font-size: 14px; font-weight: 700; }
.ip-tip input[type="text"], .ip-tip input[type="url"], .ip-tip textarea { width: 100%; padding: 12px; border: 1px solid var(--field); background: #fff; font: inherit; font-size: 16px; color: var(--ink); }
.ip-tip textarea { resize: vertical; min-height: 180px; }
.ip-field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 0 16px; }
.ip-tip__note { margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.ip-tip__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ip-tip__message { margin-bottom: 20px; padding: 14px 16px; border: 1px solid; font-weight: 700; }
.ip-tip__message--ok { border-color: #1e6b3a; color: #1e6b3a; background: #eef6f0; }
.ip-tip__message--error { border-color: var(--red); color: #9b0a0f; background: #fbeaea; }
.ip-button.ip-button--red { display: inline-flex; align-items: center; min-height: 48px; padding: 14px 24px; background: var(--red); border: 0; color: #fff; font-family: var(--sans); font-size: 15px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.ip-button.ip-button--red:hover { background: var(--red-dark); }

/* Core classes */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.sticky, .bypostauthor, .gallery-caption { outline: 0; }

@media (max-width: 600px) {
	.article-dek { font-size: 20px; }
	.entry-content { font-size: 18px; }
	.dek { font-size: 19px; }
	.ror-box, .how-made { padding: 20px; }
	.entry-content blockquote p { font-size: 24px; }
}

@media print {
	.utility, .site-nav, .share, .tip-band, .related, .site-footer { display: none; }
	.masthead__logo { width: 180px; }
}
