/*
Theme Name: The King's Monarch
Description: A fast, lightweight newspaper theme for The King's Monarch. The homepage fills itself from published articles; editors only write, tick a box and publish.
Version: 1.5.0
Requires at least: 6.3
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: kings-chronicle
*/

:root {
	--blue: #122b55;
	--navy: #0b1d3a;
	--deep: #07172e;
	--red: #b71c32;
	--rose: #e3485d;
	--pink: #f3a7b4;
	--ink: #19212c;
	--slate: #394456;
	--muted: #586272;
	--soft: #667080;
	--grey: #7b8491;
	--line: #dde2ea;
	--field: #cbd2de;
	--paper: #f8f9fc;
	--sand: #f2ede7;
	--editorial: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--serif: Manrope, Arial, Helvetica, sans-serif; /* display face: the design uses the sans for headlines */
	--sans: Manrope, Arial, Helvetica, sans-serif;
}

/* ---------- Base ---------- */

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

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

body {
	margin: 0;
	min-height: 100vh;
	background: #fff;
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, figure, blockquote { margin: 0; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }
main:focus { outline: none; }
[hidden] { display: none !important; }

.sr-only {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
	position: fixed; top: 8px; left: 8px; z-index: 100; transform: translateY(-200%);
	border-radius: 6px; background: #111827; color: #fff; padding: 8px 12px;
	font-size: 14px; font-weight: 700;
}
.skip-link:focus { transform: none; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.section { padding-top: 80px; padding-bottom: 80px; }
.section--list { padding-top: 64px; padding-bottom: 64px; }

.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }

.eyebrow, .label {
	display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase;
	letter-spacing: .2em; color: var(--red);
}
.label { font-size: 11px; letter-spacing: .18em; }
.label--pink { color: var(--pink); font-size: 12px; }
.label--soft { color: rgba(255, 255, 255, .6); font-size: 12px; }

.num { font-family: var(--serif); font-weight: 700; color: var(--red); }

.meta {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px;
	font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--grey);
}
.meta--center { justify-content: center; gap: 12px; margin-top: 32px; font-size: 12px; letter-spacing: .1em; }

.btn {
	display: inline-block; flex-shrink: 0; border: 0; border-radius: 999px; padding: 14px 28px;
	font-size: 14px; font-weight: 700; line-height: 1.4; text-align: center;
	transition: background-color .2s, color .2s;
}
.btn--small { padding: 10px 20px; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: #fff; color: var(--blue); }
.btn--red.btn--on-light:hover { background: var(--blue); color: #fff; }
.btn--white { background: #fff; color: var(--red); padding: 16px 32px; }
.btn--white:hover { background: var(--blue); color: #fff; }
.btn:disabled { opacity: .5; cursor: default; }

/* ---------- Header ---------- */

.site-header {
	position: sticky; top: 0; z-index: 50; background: var(--blue); color: #fff;
	border-bottom: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 10px 35px rgba(18, 43, 85, .18);
}
.admin-bar .site-header { top: 32px; }
.site-header__top { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 12px; padding-bottom: 12px; }

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand__mark {
	display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1);
	font-family: var(--serif); font-size: 20px; font-weight: 700; transition: background-color .2s;
}
.brand:hover .brand__mark { background: var(--red); }
.brand__logo { width: auto; height: 40px; flex-shrink: 0; }
.brand__name { display: block; font-family: var(--serif); font-size: 20px; font-weight: 700; line-height: 1; letter-spacing: -.025em; }
.brand__tag { display: block; margin-top: 4px; font-size: 10px; text-transform: uppercase; letter-spacing: .24em; color: rgba(255, 255, 255, .6); }

.site-header__tools { display: none; align-items: center; gap: 12px; }

.search-pill {
	display: flex; overflow: hidden; border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .1);
}
.search-pill:focus-within { background: rgba(255, 255, 255, .15); }
.search-pill input { width: 160px; border: 0; background: transparent; padding: 8px 16px; font-size: 14px; color: #fff; outline: none; }
.search-pill input::placeholder { color: rgba(255, 255, 255, .55); }
.search-pill button { border: 0; background: transparent; padding: 0 16px; font-size: 14px; font-weight: 700; color: #fff; }

.nav-toggle {
	display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; font-size: 20px; line-height: 1;
}

.site-nav { display: none; }
.site-nav.is-open { display: block; }
.site-nav__list { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; }
.site-nav__list a {
	padding: 8px 0; white-space: nowrap; font-size: 12px; font-weight: 700; text-transform: uppercase;
	letter-spacing: .12em; color: rgba(255, 255, 255, .75); transition: color .2s;
}
.site-nav__list a:hover { color: #fff; }

/* ---------- Homepage: trending ---------- */

.trending { border-bottom: 1px solid #e3e7ee; background: var(--paper); }
.trending__bar { display: flex; align-items: center; gap: 20px; overflow: hidden; padding-top: 12px; padding-bottom: 12px; }
.trending__tag {
	flex-shrink: 0; border-radius: 999px; background: var(--red); padding: 4px 12px;
	font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .18em; color: #fff;
}
.trending__list { display: flex; align-items: center; gap: 32px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.trending__list::-webkit-scrollbar { display: none; }
.trending__list a { display: flex; flex-shrink: 0; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; color: var(--slate); }
.trending__list a:hover span:last-child { color: var(--red); }
.trending__list .num { font-size: 20px; font-weight: 500; }

/* ---------- Homepage: lead story ---------- */

.lead { background: var(--blue); color: #fff; }
.lead__grid { display: grid; max-width: 1440px; margin: 0 auto; }
.lead__text { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 56px 20px; }
.lead__kicker {
	display: flex; align-items: center; gap: 16px; margin-bottom: 32px;
	font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .22em; color: var(--pink);
}
.lead__kicker span { width: 48px; height: 1px; background: var(--rose); }
.lead__title {
	margin-top: 20px; max-width: 672px; font-family: var(--serif); font-size: clamp(48px, 5.4vw, 78px);
	font-weight: 700; line-height: .92; letter-spacing: -.035em; text-wrap: balance;
}
.lead__dek { margin-top: 28px; max-width: 576px; font-size: 16px; line-height: 1.75; color: rgba(255, 255, 255, .7); }
.lead__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 36px; }
.lead__meta { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .55); }
.lead__media { position: relative; display: block; min-height: 440px; overflow: hidden; background: var(--navy); }
.lead__media::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(to top, rgba(18, 43, 85, .45), transparent 60%);
}
.lead__media:hover .cover { transform: scale(1.02); }

/* ---------- Section headings & cards ---------- */

.heading {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
	padding-bottom: 20px; border-bottom: 1px solid rgba(25, 33, 44, .15);
}
.heading__title { margin-top: 8px; font-family: var(--serif); font-size: clamp(38px, 6vw, 48px); font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.heading__link { display: none; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.heading__link:hover { color: var(--red); }

.cards { display: grid; gap: 48px 28px; margin-top: 40px; }
.cards--wide { gap: 56px 32px; margin-top: 0; }

.card__media { position: relative; display: block; overflow: hidden; border-radius: 2px; background: #e8ecf4; aspect-ratio: 4 / 3; }
.card--large .card__media { aspect-ratio: 16 / 10; }
.card:hover .cover { transform: scale(1.035); }
.card__body { padding-top: 16px; }
.card__title {
	margin-top: 8px; font-family: var(--serif); font-size: 24px; font-weight: 700; line-height: 1.04;
	letter-spacing: -.025em; text-wrap: balance; transition: color .2s;
}
.card--large .card__title { font-size: clamp(30px, 3vw, 36px); }
.card:hover .card__title { color: var(--red); }
.card__dek {
	margin-top: 12px; font-size: 14px; line-height: 1.7; color: var(--muted);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.empty { max-width: 1440px; margin: 0 auto; padding: 96px 20px; text-align: center; }
.empty h2 { font-family: var(--serif); font-size: 36px; font-weight: 700; line-height: 1.1; }
.empty p { margin-top: 12px; color: var(--soft); }
.empty .btn { margin-top: 16px; }

/* ---------- Homepage: spotlight ---------- */

.spotlight { overflow: hidden; background: var(--sand); }
.spotlight__grid { display: grid; gap: 24px; margin-top: 40px; }
.tile { position: relative; display: block; min-height: 390px; overflow: hidden; border-radius: 3px; background: var(--navy); color: #fff; }
.tile--tall { min-height: 540px; }
.tile:hover .cover { transform: scale(1.035); }
.tile__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(7, 23, 46, .95), rgba(7, 23, 46, .2) 55%, transparent); }
.tile__text { position: absolute; left: 0; right: 0; bottom: 0; display: block; padding: 28px; }
.tile__title { display: block; margin-top: 12px; max-width: 576px; font-family: var(--serif); font-size: 36px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.tile__dek { display: block; margin-top: 16px; max-width: 576px; font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, .7); }

/* ---------- Homepage: sport & culture panels ---------- */

.panels { display: grid; gap: 32px; margin-top: 40px; }
.panel { display: grid; grid-template-rows: 1fr auto; min-height: 500px; overflow: hidden; border-radius: 3px; color: #fff; }
.panel__media { position: relative; display: block; min-height: 330px; overflow: hidden; background: #e8ecf4; }
.panel:hover .cover { transform: scale(1.04); }
.panel__text { display: block; padding: 28px; }
.panel--blue .panel__text { background: var(--blue); }
.panel--red .panel__text { background: var(--red); }
.panel__title { display: block; margin-top: 12px; font-family: var(--serif); font-size: 36px; font-weight: 700; line-height: .98; letter-spacing: -.02em; }
.panel__dek { display: block; margin-top: 16px; font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, .7); }

/* ---------- Homepage: quick reads & poll ---------- */

.quick, .related { background: var(--paper); }
.quick__grid { display: grid; gap: 48px; align-items: start; }
.quick__list { margin-top: 32px; border-top: 1px solid var(--line); }
.quick__list a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.quick__list .num { font-size: 24px; font-weight: 500; }
.quick__cat { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--grey); }
.quick__title { display: block; margin-top: 4px; font-family: var(--serif); font-size: 20px; font-weight: 700; line-height: 1.25; transition: color .2s; }
.quick__list a:hover .quick__title { color: var(--red); }
.quick__time { font-size: 12px; font-weight: 700; color: var(--grey); }

.poll { border-radius: 3px; background: var(--blue); padding: 24px; color: #fff; }
.poll__question { margin-top: 16px; max-width: 576px; font-family: var(--serif); font-size: 30px; font-weight: 700; line-height: 1.25; }
.poll__form { margin-top: 28px; }
.poll__option {
	display: flex; align-items: center; gap: 12px; margin-bottom: 12px; border-radius: 2px;
	border: 1px solid rgba(255, 255, 255, .15); padding: 14px; font-size: 14px; cursor: pointer;
	transition: border-color .2s, background-color .2s;
}
.poll__option:hover { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .05); }
.poll__option input { width: 16px; height: 16px; margin: 0; accent-color: var(--rose); }
.poll__form .btn { margin-top: 8px; padding: 12px 24px; }
.poll__message { margin-top: 12px; font-size: 14px; color: #ffd4da; }
.poll__message:empty { display: none; }
.poll__note { margin-top: 12px; font-size: 12px; line-height: 1.65; color: rgba(255, 255, 255, .45); }
.poll__results { margin-top: 28px; }
.poll__row { margin-bottom: 16px; }
.poll__row > div:first-child { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 8px; font-size: 14px; }
.poll__track { height: 8px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, .15); }
.poll__track span { display: block; height: 100%; border-radius: 999px; background: var(--rose); transition: width .4s ease; }
.poll__results .poll__note { color: rgba(255, 255, 255, .6); }

/* ---------- Homepage: gallery ---------- */

.gallery { background: var(--navy); padding: 80px 0; color: #fff; }
.gallery .heading { border-bottom-color: rgba(255, 255, 255, .15); }
.gallery__intro { margin-top: 16px; max-width: 672px; font-size: 14px; line-height: 2; color: rgba(255, 255, 255, .6); }
.gallery__grid { display: grid; grid-auto-rows: 240px; gap: 12px; margin-top: 40px; }
.gallery__grid figure { position: relative; overflow: hidden; background: var(--deep); }
.gallery__grid figure:hover .cover { transform: scale(1.04); }
.gallery__grid figcaption {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 20px 20px; font-size: 12px;
	color: rgba(255, 255, 255, .8); background: linear-gradient(to top, rgba(0, 0, 0, .8), transparent);
}

/* ---------- Homepage: call to action ---------- */

.cta { position: relative; overflow: hidden; background: var(--red); color: #fff; }
.cta__ring { position: absolute; top: -144px; right: -80px; width: 460px; height: 460px; border-radius: 50%; border: 90px solid rgba(255, 255, 255, .05); }
.cta__inner { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 32px; padding-top: 64px; padding-bottom: 64px; }
.cta__kicker { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .22em; color: rgba(255, 255, 255, .65); }
.cta__title { margin-top: 12px; max-width: 768px; font-family: var(--serif); font-size: clamp(38px, 6vw, 48px); font-weight: 700; line-height: 1; letter-spacing: -.025em; }
.cta__text { margin-top: 20px; max-width: 672px; line-height: 1.75; color: rgba(255, 255, 255, .75); }

/* ---------- Section, search and submit headers ---------- */

.section-hero { position: relative; overflow: hidden; background: var(--blue); color: #fff; }
.section-hero__art {
	position: absolute; top: 0; bottom: 0; right: 0; width: min(72vw, 620px); opacity: .9;
	background-repeat: no-repeat; background-position: calc(100% + 90px) center; background-size: auto 115%;
}
.section-hero__inner { position: relative; padding-top: 80px; padding-bottom: 80px; }
.section-hero__title { margin-top: 20px; font-family: var(--serif); font-size: clamp(56px, 8vw, 96px); font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.section-hero__text { margin-top: 24px; max-width: 672px; line-height: 2; color: rgba(255, 255, 255, .65); }

.search-hero { background: var(--paper); }
.search-hero__inner { max-width: 896px; margin: 0 auto; padding: 64px 20px; text-align: center; }
.search-hero__title { margin-top: 12px; font-family: var(--serif); font-size: clamp(44px, 7vw, 60px); font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.search-box { display: flex; max-width: 672px; margin: 32px auto 0; overflow: hidden; border-radius: 999px; border: 1px solid var(--field); background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.search-box input { flex: 1; min-width: 0; border: 0; padding: 16px 24px; outline: none; background: transparent; }
.search-box button { border: 0; background: var(--blue); padding: 0 28px; font-size: 14px; font-weight: 700; color: #fff; transition: background-color .2s; }
.search-box button:hover { background: var(--red); }
.search-count { margin-bottom: 32px; font-size: 14px; color: var(--soft); }
.search-count strong { color: var(--ink); }

.pagination { margin-top: 64px; text-align: center; }
.pagination .page-numbers {
	display: inline-block; min-width: 40px; margin: 0 2px; border-radius: 999px; border: 1px solid var(--field);
	padding: 8px 12px; font-size: 13px; font-weight: 700;
}
.pagination .page-numbers.current, .pagination a.page-numbers:hover { border-color: var(--blue); background: var(--blue); color: #fff; }

.submit { background: var(--paper); }
.submit-hero { background: var(--blue); color: #fff; }
.submit-hero__inner { max-width: 1024px; margin: 0 auto; padding: 80px 20px; text-align: center; }
.submit-hero__title { margin-top: 20px; font-family: var(--serif); font-size: clamp(52px, 8vw, 96px); font-weight: 700; line-height: .94; letter-spacing: -.04em; text-wrap: balance; }
.submit-hero__text { max-width: 672px; margin: 28px auto 0; line-height: 2; color: rgba(255, 255, 255, .65); }
.submit-body { max-width: 896px; margin: 0 auto; padding: 64px 20px; }

.tips { display: grid; gap: 20px; margin-bottom: 32px; }
.tips > div { border-top: 2px solid var(--red); padding-top: 16px; }
.tips .num { font-size: 30px; line-height: 1.2; }
.tips p { margin-top: 8px; font-size: 14px; line-height: 1.7; color: var(--muted); }

.story-form {
	display: grid; gap: 20px; border-radius: 3px; border: 1px solid var(--line); background: #fff;
	padding: 24px; box-shadow: 0 20px 60px rgba(18, 43, 85, .08);
}
.field-label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--slate); }
.story-form input[type="text"], .story-form input[type="email"], .story-form textarea {
	display: block; width: 100%; border-radius: 2px; border: 1px solid var(--field); background: var(--paper);
	padding: 12px 16px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.story-form input:focus, .story-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(18, 43, 85, .1); }
.story-form textarea { resize: vertical; }
.hp { display: none; }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.consent input { flex-shrink: 0; width: 16px; height: 16px; margin: 5px 0 0; accent-color: var(--red); }
.story-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.story-form__actions .btn { padding: 12px 28px; }
.story-form__message { font-size: 14px; }
.story-form__message.is-ok { color: #047857; }
.story-form__message.is-error { color: var(--red); }

/* ---------- Article ---------- */

.progress { position: fixed; top: 0; left: 0; right: 0; z-index: 70; height: 4px; pointer-events: none; }
.progress span { display: block; width: 0; height: 100%; background: var(--red); }
.admin-bar .progress { top: 32px; }

.article-head { max-width: 1024px; margin: 0 auto; padding: 64px 20px 48px; text-align: center; }
.article-head__title {
	margin: 24px auto 0; font-family: var(--serif); font-size: clamp(44px, 7.4vw, 88px); font-weight: 700;
	line-height: .95; letter-spacing: -.04em; text-wrap: balance;
}
.article-head--page .article-head__title { margin-top: 0; font-size: clamp(44px, 6vw, 72px); }
.article-head__dek { max-width: 768px; margin: 28px auto 0; font-size: 18px; line-height: 1.75; color: var(--soft); text-wrap: balance; }
.article-head__share { margin-top: 32px; }

.share {
	border-radius: 999px; border: 1px solid var(--field); background: transparent; padding: 10px 20px;
	font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
	transition: border-color .2s, background-color .2s, color .2s;
}
.share:hover { border-color: var(--blue); background: var(--blue); color: #fff; }

.article-cover { max-width: 1440px; margin: 0 auto; }
.article-cover__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #e8ecf4; }
.article-cover figcaption { padding: 12px 20px 0; font-size: 12px; line-height: 1.65; color: var(--grey); }

.article-body { display: grid; gap: 40px; max-width: 1024px; margin: 0 auto; padding: 56px 20px; }
.article-body > div { min-width: 0; }

.byline { border-top: 1px solid var(--line); padding-top: 20px; font-size: 14px; line-height: 1.7; color: var(--soft); }
.byline__label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; color: var(--blue); }
.byline__name { margin-top: 12px; font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--ink); }
.byline__role { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--red); }
.byline p { margin-top: 12px; }

.pull-quote {
	margin-bottom: 40px; border-left: 4px solid var(--red); padding-left: 24px;
	font-family: var(--serif); font-size: 30px; font-weight: 700; line-height: 1.25; color: var(--blue);
}

.article-prose { color: #29313d; font-family: var(--serif); font-size: clamp(1.25rem, 1.8vw, 1.42rem); line-height: 1.75; }
.article-prose > * { margin-top: 0; margin-bottom: 1.6em; }
.article-prose > *:last-child { margin-bottom: 0; }
.article-prose > p:first-of-type::first-letter {
	float: left; margin: .08em .12em 0 0; color: var(--red); font-size: 4.6em; font-weight: 700; line-height: .72;
}
.article-prose--plain > p:first-of-type::first-letter { float: none; margin: 0; color: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; }
.article-prose h2 { margin: 1.7em 0 .6em; color: var(--blue); font-size: 2em; font-weight: 700; line-height: 1; }
.article-prose h3 { margin: 1.6em 0 .5em; color: var(--blue); font-size: 1.5em; font-weight: 700; line-height: 1.1; }
.article-prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.article-prose blockquote, .article-prose .wp-block-quote, .article-prose .wp-block-pullquote {
	margin: 2em 0; border: 0; border-left: 3px solid var(--red); padding: 0 0 0 1.4em; text-align: left;
	color: var(--blue); font-size: 1.35em; font-weight: 700; line-height: 1.3;
}
.article-prose blockquote p { margin: 0 0 .6em; }
.article-prose blockquote cite { font-family: var(--sans); font-size: 12px; font-style: normal; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--grey); }
.article-prose ul, .article-prose ol { padding-left: 1.2em; }
.article-prose li { margin-bottom: .4em; }
.article-prose figure { margin-left: 0; margin-right: 0; }
.article-prose img { display: block; border-radius: 3px; }
.article-prose figcaption, .article-prose .wp-element-caption {
	margin: 0; padding-top: 12px; font-family: var(--sans); font-size: 12px; line-height: 1.65; text-align: left; color: var(--grey);
}
.article-prose iframe, .article-prose video { max-width: 100%; }

.article-share {
	display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px;
	border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0;
}
.article-share > span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; color: var(--grey); }

.page-body { max-width: 760px; margin: 0 auto; padding: 0 20px 80px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy); color: #fff; }
.site-footer__grid { display: grid; gap: 48px; padding-top: 64px; padding-bottom: 64px; }
.site-footer__name { font-family: var(--serif); font-size: 30px; font-weight: 700; line-height: 1.2; }
.site-footer__about { margin-top: 16px; max-width: 448px; font-size: 14px; line-height: 2; color: rgba(255, 255, 255, .65); }
.site-footer__motto { margin-top: 24px; font-size: 12px; text-transform: uppercase; letter-spacing: .16em; color: rgba(255, 255, 255, .45); }
.site-footer__heading { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: var(--pink); }
.site-footer__sections { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.site-footer__links { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.site-footer__sections a, .site-footer__links { font-size: 14px; color: rgba(255, 255, 255, .7); }
.site-footer a:hover { color: #fff; }
.site-footer__legal { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px; text-align: center; font-size: 12px; color: rgba(255, 255, 255, .45); }

/* ---------- Breakpoints ---------- */

@media (min-width: 640px) {
	.heading__link { display: block; }
	.cards { grid-template-columns: repeat(2, 1fr); }
	.gallery__grid { grid-template-columns: repeat(2, 1fr); }
	.gallery__grid .is-big { grid-column: span 2; }
	.tips { grid-template-columns: repeat(3, 1fr); }
	.article-cover { padding: 0 20px; }
	.article-cover__frame { border-radius: 3px; }
	.article-cover figcaption { padding-left: 0; padding-right: 0; }
}

@media (min-width: 768px) {
	.site-header__tools { display: flex; }
	.nav-toggle, .only-mobile { display: none; }
	.site-nav { display: block; }
	.site-nav__list { flex-direction: row; align-items: center; gap: 28px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
	.site-nav__list::-webkit-scrollbar { display: none; }
	.lead__dek { font-size: 18px; }
	.tile__text { padding: 40px; }
	.panel__text { padding: 36px; }
	.poll { padding: 36px; }
	.cta__inner { flex-direction: row; align-items: center; }
	.story-form { grid-template-columns: 1fr 1fr; padding: 40px; }
	.span-2 { grid-column: span 2; }
	.article-head__dek { font-size: 20px; }
	.site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr; }
}

@media (min-width: 1024px) {
	.wrap { padding-left: 40px; padding-right: 40px; }
	.section { padding-top: 112px; padding-bottom: 112px; }
	.section--tight { padding-top: 96px; padding-bottom: 96px; }
	.section--list { padding-top: 96px; padding-bottom: 96px; }
	.search-pill input { width: 208px; }
	.lead__grid { grid-template-columns: .82fr 1.18fr; min-height: 690px; }
	.lead__text { padding: 96px 40px; }
	.lead__media { min-height: 100%; }
	.lead__media::after { background: linear-gradient(to right, rgba(18, 43, 85, .35), transparent 60%); }
	.cards { grid-template-columns: repeat(3, 1fr); }
	.spotlight__grid, .panels { grid-template-columns: repeat(2, 1fr); }
	.quick__grid { grid-template-columns: 1.1fr .9fr; }
	.gallery { padding: 96px 0; }
	.gallery__grid { grid-template-columns: repeat(4, 1fr); }
	.gallery__grid .is-big { grid-row: span 2; }
	.cta__inner { padding-top: 80px; padding-bottom: 80px; }
	.section-hero__inner { padding-top: 112px; padding-bottom: 112px; }
	.search-hero__inner { padding-top: 96px; padding-bottom: 96px; }
	.submit-hero__inner { padding-top: 112px; padding-bottom: 112px; }
	.submit-body { padding-top: 96px; padding-bottom: 96px; }
	.article-head { padding-top: 96px; padding-bottom: 64px; }
	.article-cover { padding: 0 40px; }
	.article-body { grid-template-columns: 180px minmax(0, 680px); padding-top: 80px; padding-bottom: 80px; }
}

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

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Article formatting (1.1) ---------- */

.article-prose { color: #232b37; font-weight: 500; }
.article-prose > p:first-of-type { font-size: 1.16em; line-height: 1.6; color: var(--ink); }
.article-prose > p:first-of-type::first-letter {
	float: left; margin: .05em .08em 0 0; padding: 0; color: var(--red);
	font-size: 3.7em; font-weight: 700; line-height: .78;
}
.article-prose--plain > p:first-of-type { font-size: inherit; line-height: inherit; color: inherit; }
.article-prose p.is-style-kc-lead { font-family: var(--sans); font-size: .9em; font-weight: 500; line-height: 1.7; color: var(--muted); }

.article-prose h2 { position: relative; margin: 2em 0 .7em; padding-top: .55em; font-size: 1.9em; line-height: 1.02; letter-spacing: -.02em; }
.article-prose h2::before { content: ""; position: absolute; top: 0; left: 0; width: 48px; height: 3px; background: var(--red); }
.article-prose h3 { font-size: 1.4em; letter-spacing: -.01em; }
.article-prose h4 { margin: 1.6em 0 .5em; font-family: var(--sans); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; color: var(--red); }
.article-prose strong { font-weight: 700; color: var(--ink); }

.article-prose ul, .article-prose ol { padding-left: 1.3em; }
.article-prose li { margin-bottom: .5em; padding-left: .2em; }
.article-prose li::marker { color: var(--red); font-weight: 700; }

.article-prose blockquote, .article-prose .wp-block-quote {
	position: relative; margin: 2.2em 0; border: 0; padding: 0 0 0 1.5em; border-left: 3px solid var(--red);
	font-size: 1.3em; font-weight: 700; line-height: 1.28; color: var(--blue);
}
.article-prose blockquote p { margin: 0 0 .5em; }
.article-prose blockquote cite, .article-prose .wp-block-pullquote cite {
	display: block; margin-top: .9em; font-family: var(--sans); font-size: 12px; font-style: normal;
	font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--grey);
}
.article-prose blockquote cite::before, .article-prose .wp-block-pullquote cite::before { content: "— "; }

.article-prose .wp-block-pullquote {
	margin: 2.6em 0; padding: 1.4em 0; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
	text-align: center; font-size: 1em; color: var(--blue);
}
.article-prose .wp-block-pullquote blockquote { margin: 0; padding: 0; border: 0; font-size: 1.7em; line-height: 1.15; letter-spacing: -.01em; }
.article-prose .wp-block-pullquote blockquote::before { content: "“"; display: block; height: .5em; font-size: 2.4em; line-height: 1; color: var(--red); }

.article-prose .wp-block-group.is-style-kc-box {
	margin: 2.4em 0; border-top: 3px solid var(--red); background: var(--paper); padding: 28px 28px 24px;
	font-family: var(--sans); font-size: 15px; font-weight: 400; line-height: 1.7; color: var(--slate);
}
.article-prose .is-style-kc-box > *, .article-prose .is-style-kc-box .wp-block-group__inner-container > * { margin-top: 0; margin-bottom: 14px; }
.article-prose .is-style-kc-box .wp-block-group__inner-container > *:last-child, .article-prose .is-style-kc-box > *:last-child { margin-bottom: 0; }
.article-prose .is-style-kc-box h2, .article-prose .is-style-kc-box h3, .article-prose .is-style-kc-box h4 {
	padding: 0; font-family: var(--sans); font-size: 12px; font-weight: 800; line-height: 1.4; text-transform: uppercase; letter-spacing: .18em; color: var(--red);
}
.article-prose .is-style-kc-box h2::before { display: none; }

.article-prose figure, .article-prose .wp-block-image { margin: 2.4em 0; }
.article-prose .wp-block-image img { width: 100%; }
.article-prose figcaption, .article-prose .wp-element-caption { border-left: 2px solid var(--red); margin-top: 12px; padding: 0 0 0 12px; }
.article-prose .wp-block-separator, .article-prose hr {
	margin: 2.6em auto; border: 0; height: auto; background: none; text-align: center; overflow: visible;
}
.article-prose .wp-block-separator::before, .article-prose hr::before { content: "· · ·"; font-family: var(--sans); font-size: 20px; font-weight: 800; letter-spacing: .4em; color: var(--red); }
.article-prose table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 14px; line-height: 1.5; }
.article-prose th, .article-prose td { border: 0; border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; text-align: left; }
.article-prose th { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--grey); }

.pull-quote { position: relative; margin-bottom: 44px; border: 0; padding: 0 0 0 28px; border-left: 4px solid var(--red); font-size: clamp(28px, 3vw, 36px); line-height: 1.15; letter-spacing: -.01em; }

.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.article-tags a { border-radius: 999px; background: var(--paper); border: 1px solid var(--line); padding: 6px 14px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.article-tags a:hover { border-color: var(--red); color: var(--red); }
.article-share { margin-top: 32px; }

.byline__avatar { display: grid; place-items: center; width: 44px; height: 44px; margin-top: 14px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--serif); font-size: 22px; font-weight: 700; }

@media (min-width: 1024px) {
	.article-body { justify-content: center; gap: 48px; max-width: none; }
}
@media (min-width: 1200px) {
	.article-body { grid-template-columns: minmax(0, 1fr) minmax(0, 700px) minmax(0, 1fr); gap: 56px; padding-left: 40px; padding-right: 40px; }
	.byline { justify-self: end; align-self: start; width: 190px; position: sticky; top: 170px; }
	.article-prose .alignwide { margin-left: -48px; margin-right: -48px; max-width: none; width: auto; }
}

/* ---------- Same size for every in-article image (1.2) ---------- */

.article-prose .wp-block-image:not(.alignleft):not(.alignright) img,
.article-prose > figure:not(.wp-block-gallery) img,
.article-prose p > img {
	display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; height: auto;
}
.article-prose .wp-block-image.alignleft img, .article-prose .wp-block-image.alignright img { width: 280px; aspect-ratio: 1; object-fit: cover; }
.article-prose .wp-block-image.alignleft { float: left; margin: .3em 1.6em 1em 0; }
.article-prose .wp-block-image.alignright { float: right; margin: .3em 0 1em 1.6em; }
.article-prose .wp-block-gallery .wp-block-image img { aspect-ratio: 1; object-fit: cover; }
.article-prose .wp-block-image.size-kc-wide img { aspect-ratio: 16 / 9; }
.article-prose .wp-block-image.size-kc-square img { aspect-ratio: 1; }

/* ---------- Article column (1.2.2): one centred column, drop cap only on real openings ---------- */

.article-prose > p:first-of-type::first-letter { float: none; margin: 0; padding: 0; color: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; }
.article-prose.has-dropcap > p:first-of-type::first-letter {
	float: left; margin: .06em .1em 0 0; color: var(--red); font-size: 3.3em; font-weight: 700; line-height: .8;
}
.article-prose > p:first-of-type { font-size: 1.12em; }

.article-body { gap: 32px; }
.byline { position: static; width: auto; justify-self: stretch; }

@media (min-width: 1024px) {
	.article-body { grid-template-columns: 180px minmax(0, 720px); justify-content: center; gap: 56px; max-width: 1100px; padding-left: 40px; padding-right: 40px; }
	.byline { position: sticky; top: 170px; align-self: start; }
	.article-prose .alignwide { margin-left: 0; margin-right: 0; }
}
@media (min-width: 1200px) {
	.article-body { grid-template-columns: 180px minmax(0, 720px); gap: 64px; }
	.article-prose .alignwide { margin-left: 0; margin-right: 0; }
}

/* ---------- Cards (1.3.4): every card photo has the same proportions ---------- */
.card__media, .card--large .card__media { aspect-ratio: 16 / 10; }
.card--large .card__title { font-size: 24px; }

/* ---------- 1.4: headlines in Manrope (as in the design); article body stays serif ---------- */
.article-prose { font-family: var(--editorial); }
.article-prose h2, .article-prose h3 { font-family: var(--serif); letter-spacing: -.02em; }
.article-prose blockquote, .article-prose .wp-block-quote, .article-prose .wp-block-pullquote blockquote { font-family: var(--serif); font-weight: 800; letter-spacing: -.01em; }
.article-prose > p:first-of-type::first-letter, .article-prose.has-dropcap > p:first-of-type::first-letter { font-family: var(--editorial); }
.pull-quote { font-weight: 800; }
.num, .trending__list .num, .quick__list .num, .tips .num { font-family: var(--serif); font-weight: 800; }
.brand__mark { font-size: 18px; }
.lead__title, .heading__title, .section-hero__title, .search-hero__title, .submit-hero__title, .article-head__title, .cta__title, .tile__title, .panel__title, .card__title, .site-footer__name, .poll__question, .byline__name, .quick__title, .empty h2 { font-weight: 800; }
.lead__title { letter-spacing: -.04em; line-height: .95; }
.article-head__title { letter-spacing: -.045em; }

/* ---------- 1.5: newsletter sign-up (footer) ---------- */
.newsletter { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.newsletter__inner { display: grid; gap: 28px; padding-top: 56px; padding-bottom: 56px; }
.newsletter__kicker { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .22em; color: var(--pink); }
.newsletter__title { margin-top: 10px; font-family: var(--serif); font-size: clamp(30px, 4vw, 40px); font-weight: 800; line-height: 1.05; letter-spacing: -.025em; }
.newsletter__lead { margin-top: 12px; max-width: 520px; font-size: 14px; line-height: 1.8; color: rgba(255, 255, 255, .65); }
.newsletter__form { align-self: center; }
.newsletter__row { display: flex; overflow: hidden; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); }
.newsletter__row:focus-within { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); }
.newsletter__row input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 14px 22px; font-size: 15px; color: #fff; outline: none; }
.newsletter__row input::placeholder { color: rgba(255, 255, 255, .5); }
.newsletter__row .btn { margin: 4px; padding: 12px 24px; }
.newsletter__consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; font-size: 12px; line-height: 1.6; color: rgba(255, 255, 255, .55); cursor: pointer; }
.newsletter__consent input { flex-shrink: 0; width: 15px; height: 15px; margin: 2px 0 0; accent-color: var(--rose); }
.newsletter__message { margin-top: 10px; font-size: 13px; }
.newsletter__message:empty { display: none; }
.newsletter__message.is-ok { color: #9ee6c0; }
.newsletter__message.is-error { color: #ffd4da; }
@media (min-width: 900px) {
	.newsletter__inner { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
}
@media (max-width: 480px) {
	.newsletter__row { flex-direction: column; border-radius: 18px; }
	.newsletter__row .btn { margin: 0 6px 6px; }
}
