/*
Theme Name: Space Autonomy
Theme URI: https://spaceautonomy.ai
Author: Space Autonomy
Description: Dark editorial news theme for SpaceAutonomy.ai — featured story, latest intelligence feed, technology explorer, department and topic pages, mission watch and research desk. Built for automated publishing via the WordPress REST API.
Version: 1.0.0
Requires at least: 6.0
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: space-autonomy
*/

:root {
	--bg: #07090D;
	--surface: #0E131B;
	--surface-2: #121925;
	--line: #1E2633;
	--line-soft: #161D28;
	--chip-line: #2A3444;
	--text: #F2F4F7;
	--text-2: #C9D1DB;
	--text-3: #B4BDC9;
	--muted: #9AA4B2;
	--accent: #4C9EFF;
	--accent-2: #7FB6FF;
	--accent-deep: #14233A;
	--accent-line: #2B4D7A;
	--live: #3DDC97;
	--display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
	--sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
	--serif: 'IBM Plex Serif', Georgia, serif;
	--radius: 10px;
	--wrap: 1280px;
	--gutter: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--accent-2); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; }
ul, ol { margin: 0; padding: 0; }

.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:focus {
	position: fixed; top: 12px; left: 12px; z-index: 1000; width: auto; height: auto; clip: auto;
	background: var(--accent); color: #04101F; padding: 12px 18px; border-radius: 4px; font-weight: 600;
}

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

/* ---------- Type helpers ---------- */
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--accent-2); text-transform: uppercase; }
.kicker--sm { font-size: 11px; }
.meta { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.display { font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: 0.98; letter-spacing: 0.01em; }
.section-title { font-family: var(--display); font-weight: 700; font-size: 52px; line-height: 1; text-transform: uppercase; margin-top: 12px; }
.section-title--sm { font-size: 36px; margin: 0 0 8px; }
.lede { font-size: 18px; line-height: 1.6; color: var(--text-3); }

/* ---------- Buttons & chips ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--accent); color: #04101F; font-weight: 600; font-size: 14px;
	padding: 12px 20px; border-radius: 4px; border: 0; cursor: pointer; font-family: inherit; min-height: 44px;
}
.btn:hover { background: var(--accent-2); color: #04101F; }
.btn--outline { background: transparent; color: var(--text); border: 1px solid var(--accent); padding: 14px 22px; font-size: 15px; }
.btn--outline:hover { background: var(--accent-deep); color: var(--text); }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--chip-line); }
.btn--ghost:hover { background: var(--surface); color: var(--text); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
	font-size: 13px; color: var(--text-2); border: 1px solid var(--chip-line);
	border-radius: 99px; padding: 8px 14px; line-height: 1.2;
}
.chip:hover { border-color: var(--accent); color: var(--text); }
.chip--static:hover { border-color: var(--chip-line); color: var(--text-2); }

/* ---------- Header ---------- */
.site-topbar { border-bottom: 1px solid #131A24; }
.site-topbar .container {
	min-height: 36px; display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap;
	font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase;
}
.live { display: inline-flex; align-items: center; gap: 8px; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--live); }

.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: relative; z-index: 20; }
.site-header .container { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand__name { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: 0.06em; line-height: 1; }
.brand:hover { color: var(--text); }
.brand img.custom-logo { max-height: 40px; width: auto; }

.nav-primary ul { list-style: none; display: flex; gap: 28px; flex-wrap: wrap; }
.nav-primary a { font-size: 14px; font-weight: 500; }
.nav-primary .current-menu-item > a, .nav-primary .current-cat > a, .nav-primary a[aria-current="page"] { color: var(--accent-2); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
	display: none; width: 44px; height: 44px; background: transparent; border: 1px solid var(--chip-line);
	border-radius: 6px; align-items: center; justify-content: center; cursor: pointer; color: var(--text);
}

@media (max-width: 1080px) {
	.nav-toggle { display: inline-flex; }
	.nav-primary {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
	}
	.nav-primary.is-open { display: block; }
	.nav-primary ul { flex-direction: column; gap: 0; }
	.nav-primary li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 16px; }
}

.section-strip { border-bottom: 1px solid #131A24; display: none; }
.section-strip .container { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; white-space: nowrap; }
.section-strip a { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; border: 1px solid var(--chip-line); border-radius: 99px; padding: 10px 14px; }
.section-strip a.is-active { background: var(--accent); color: #04101F; border-color: var(--accent); }

/* ---------- Cinematic media (fallback art when no image) ---------- */
.art { position: relative; overflow: hidden; background-color: #04060A; }
.art::before {
	content: ""; position: absolute; inset: 0;
	background-image:
		radial-gradient(1px 1px at 24px 36px, rgba(255,255,255,.85), transparent 60%),
		radial-gradient(1px 1px at 140px 88px, rgba(255,255,255,.55), transparent 60%),
		radial-gradient(1.5px 1.5px at 210px 170px, rgba(255,255,255,.75), transparent 60%),
		radial-gradient(1px 1px at 64px 200px, rgba(255,255,255,.45), transparent 60%),
		radial-gradient(1px 1px at 180px 20px, rgba(255,255,255,.5), transparent 60%),
		radial-gradient(1px 1px at 100px 140px, rgba(170,200,255,.6), transparent 60%);
	background-size: 240px 240px;
}
.art--earth::after {
	content: ""; position: absolute; left: -25%; right: -25%; bottom: -138%; height: 200%; border-radius: 50%;
	background: radial-gradient(circle at 50% 18%, #2a6fbd 0%, #0f3561 30%, #06182d 60%);
	box-shadow: 0 -10px 60px rgba(76,158,255,.55), inset 0 10px 30px rgba(170,215,255,.55);
}
.art--mars::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 44%;
	background: linear-gradient(180deg, #7a3a22 0%, #3a1b0e 60%, #1c0c06 100%);
	clip-path: polygon(0 32%,10% 20%,22% 27%,36% 9%,50% 23%,63% 13%,78% 26%,90% 15%,100% 22%,100% 100%,0 100%);
}
.art--moon::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
	background: linear-gradient(180deg, #7d8089 0%, #3b3e45 55%, #17181c 100%);
	clip-path: polygon(0 26%,14% 18%,30% 24%,46% 12%,60% 20%,76% 10%,90% 19%,100% 14%,100% 100%,0 100%);
}
.art--grid::after {
	content: ""; position: absolute; inset: 0;
	background-image:
		radial-gradient(circle at 64% 52%, transparent 0 16%, rgba(76,158,255,.75) 16.3%, transparent 16.9%, transparent 30%, rgba(76,158,255,.4) 30.2%, transparent 30.7%, transparent 46%, rgba(76,158,255,.22) 46.2%, transparent 46.6%),
		linear-gradient(rgba(76,158,255,.10) 1px, transparent 1px),
		linear-gradient(90deg, rgba(76,158,255,.10) 1px, transparent 1px);
	background-size: 100% 100%, 40px 40px, 40px 40px;
}
.art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.art > .art__chip, .art > .container { position: relative; z-index: 3; }
.art__chip {
	position: absolute !important; left: 16px; bottom: 16px; font-family: var(--mono); font-size: 11px; color: var(--text-2);
	background: rgba(4,6,10,.75); border: 1px solid var(--chip-line); padding: 6px 10px; border-radius: 99px; letter-spacing: .04em;
}
.ratio-hero { height: 460px; }
.ratio-card { height: 220px; }
.ratio-mission { height: 150px; }
.ratio-wide { aspect-ratio: 16 / 9; }

/* ---------- Cards ---------- */
.card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; }
.card:hover { border-color: var(--accent-line); color: var(--text); }
.card__body { padding: 20px 22px 24px; }
.card__title { margin-top: 8px; font-size: 21px; line-height: 1.3; font-weight: 600; }
.card__title--sm { font-size: 18px; line-height: 1.35; }
.card__excerpt { margin: 10px 0 0; font-size: 14px; line-height: 1.55; color: var(--text-3); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 20px; }

/* ---------- Front page ---------- */
.main { padding-top: 40px; }
.top-stories { display: flex; flex-wrap: wrap; gap: 32px; }
.hero-story { flex: 999 1 640px; min-width: 0; }
.hero-story .card__body { padding: 28px 32px 32px; }
.hero-story__title { margin: 12px 0; font-size: 60px; }
.hero-story__dek { margin: 0; font-size: 18px; line-height: 1.55; color: var(--text-3); max-width: 720px; }
.hero-story .meta { margin-top: 20px; }

.feed { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; }
.feed__head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.feed__title { font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.feed__more { font-size: 13px; color: var(--accent-2); }
.feed ol { list-style: none; }
.feed li { padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.feed li:last-child { border-bottom: 0; }
.feed li a { display: block; }
.feed__headline { margin-top: 6px; font-size: 17px; font-weight: 600; line-height: 1.35; }

.more-stories { margin-top: 32px; }
.block { margin-top: 96px; }
.block--rule { border-top: 1px solid var(--line); padding-top: 64px; }
.block__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.block__intro { margin: 0; max-width: 420px; font-size: 16px; line-height: 1.6; color: var(--muted); }

.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.split > * { flex: 1 1 460px; min-width: 0; }
.prose-lg p { margin: 0 0 16px; font-size: 18px; line-height: 1.65; color: var(--text-2); }
.prose-lg p:last-of-type { margin-bottom: 28px; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.levels { list-style: none; margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.levels li { display: flex; gap: 16px; align-items: center; background: var(--surface-2); border-radius: 6px; padding: 14px 16px; font-size: 15px; line-height: 1.4; }
.levels li:last-child { background: var(--accent-deep); border: 1px solid var(--accent-line); }
.levels b { font-family: var(--display); font-size: 28px; font-weight: 700; width: 40px; flex: 0 0 40px; }
.levels li:nth-child(1) b { color: #5B6878; }
.levels li:nth-child(2) b { color: #7E8EA2; }
.levels li:nth-child(3) b { color: var(--accent-2); }
.levels li:nth-child(4) b { color: var(--accent); }

.explorer { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(520px, 100%), 1fr)); gap: 24px; }
.dept-card__head { display: flex; align-items: center; gap: 14px; }
.dept-card__head h3 { font-size: 22px; font-weight: 600; }
.dept-card__head a:hover { color: var(--accent-2); }
.dept-card .chips { margin-top: 20px; }
.dept-card__count { margin-left: auto; }

.mission__agency { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.mission__name { margin-top: 6px; font-size: 19px; font-weight: 600; }

.numbered { list-style: none; }
.numbered li { border-top: 1px solid var(--line); }
.numbered li:last-child { border-bottom: 1px solid var(--line); }
.numbered a { display: flex; gap: 20px; padding: 22px 0; align-items: baseline; }
.numbered__n { font-family: var(--mono); font-size: 14px; color: var(--accent); flex: 0 0 auto; }
.numbered__t { font-size: 19px; font-weight: 600; line-height: 1.35; }
.research li { list-style: none; border-top: 1px solid var(--line); padding: 20px 0; }
.research li:last-child { border-bottom: 1px solid var(--line); }
.research a { display: block; margin-top: 6px; font-size: 17px; font-weight: 500; line-height: 1.4; }
.empty-note { color: var(--muted); font-size: 15px; padding: 20px 0; border-top: 1px solid var(--line); }

.newsletter { border: 1px solid var(--line); border-radius: 12px; padding: 56px 48px; }
.newsletter__inner { position: relative; z-index: 3; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.newsletter h2 { font-family: var(--display); font-weight: 700; font-size: 48px; line-height: 1; text-transform: uppercase; }
.newsletter p { margin: 14px 0 0; font-size: 17px; line-height: 1.6; color: var(--text-2); max-width: 520px; }
.newsletter form { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; color: var(--text-2); }
.field input {
	background: var(--bg); border: 1px solid var(--chip-line); color: var(--text); font-size: 15px;
	padding: 13px 16px; border-radius: 4px; width: 280px; max-width: 100%; font-family: inherit; min-height: 44px;
}
.newsletter .btn { padding: 14px 24px; font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 96px; border-top: 1px solid var(--line); }
.site-footer__cols { padding-top: 56px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.site-footer__about { max-width: 320px; }
.site-footer__about p { margin: 12px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.footer-nav { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nav__label { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.1em; }
.site-footer__base { border-top: 1px solid #131A24; }
.site-footer__base .container { padding-top: 20px; padding-bottom: 32px; font-family: var(--mono); font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- Single article ---------- */
.breadcrumb { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover, .breadcrumb .is-current { color: var(--accent-2); }
.article-head { max-width: 920px; margin-top: 28px; }
.article-head h1 { margin: 14px 0 18px; font-size: 72px; line-height: 0.96; }
.article-head .standfirst { margin: 0; font-size: 22px; line-height: 1.5; color: var(--text-3); }
.byline { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.byline__avatar {
	width: 32px; height: 32px; border-radius: 50%; background: var(--accent-deep); border: 1px solid var(--accent-line);
	display: inline-flex; align-items: center; justify-content: center; color: var(--accent-2); font-size: 11px;
}
.byline__who { display: inline-flex; align-items: center; gap: 10px; }
.article-figure { margin: 36px 0 0; }
.article-figure .art { border-radius: var(--radius); border: 1px solid var(--line); }
.article-figure figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.label-ai { font-family: var(--mono); font-size: 11px; border: 1px solid var(--chip-line); border-radius: 99px; padding: 3px 10px; color: var(--text-2); }

.article-layout { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.article-body { flex: 999 1 560px; min-width: 0; max-width: 760px; }
.article-aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.aside-title { margin: 0 0 16px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }
.aside-list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 16px; font-weight: 600; line-height: 1.4; }
.aside-list a:last-child { border-bottom: 0; padding-bottom: 0; }
.share { display: flex; gap: 10px; flex-wrap: wrap; }
.share a, .share button { border: 1px solid var(--chip-line); border-radius: 4px; padding: 12px 16px; font-size: 14px; background: transparent; color: var(--text); font-family: inherit; cursor: pointer; min-height: 44px; }

.entry-content { font-family: var(--serif); font-size: 19px; line-height: 1.75; color: #D5DBE3; }
.entry-content > * { margin: 0 0 24px; }
.entry-content h2, .entry-content h3 { font-family: var(--sans); color: var(--text); line-height: 1.3; font-weight: 600; margin: 44px 0 16px; }
.entry-content h2 { font-size: 28px; }
.entry-content h3 { font-size: 22px; }
.entry-content a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 24px; }
.entry-content li { margin-bottom: 8px; }
.entry-content blockquote { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); color: var(--text-2); font-style: italic; }
.entry-content figure { margin: 32px 0; }
.entry-content figcaption, .entry-content .wp-element-caption { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-top: 10px; }
.entry-content img { border-radius: 8px; }
.entry-content code { font-family: var(--mono); font-size: 0.85em; background: var(--surface-2); padding: 2px 6px; border-radius: 4px; }
.entry-content pre { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 20px; overflow-x: auto; font-size: 14px; }
.entry-content table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 15px; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }

.why-box { margin: 40px 0; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 8px; padding: 24px 28px; }
.why-box p { margin: 10px 0 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: #D5DBE3; }
.sources { margin-top: 48px; border-top: 1px solid var(--line); padding-top: 28px; font-family: var(--sans); }
.sources__list { font-size: 15px; line-height: 1.7; color: var(--text-2); }
.sources__list ol, .sources__list ul { padding-left: 20px; }
.sources__list a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.corrections-note { margin: 20px 0 0; font-size: 14px; color: var(--muted); }
.corrections-note a { color: var(--accent-2); text-decoration: underline; }

/* ---------- Department & topic pages ---------- */
.page-hero { border-bottom: 1px solid var(--line); }
.page-hero .container { padding-top: 64px; padding-bottom: 72px; }
.page-hero h1 { margin: 14px 0 20px; font-size: 84px; line-height: 0.95; max-width: 820px; }
.page-hero p { margin: 0; font-size: 20px; line-height: 1.6; color: var(--text-2); max-width: 640px; }
.page-hero .breadcrumb + .kicker { margin-top: 28px; }
.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 20px; }
.tech-card { display: flex; flex-direction: column; gap: 12px; padding: 26px; }
.tech-card__abbr { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.tech-card__name { font-size: 21px; font-weight: 600; }
.tech-card__def { font-size: 15px; line-height: 1.6; color: var(--text-3); }
.tech-card__more { margin-top: auto; font-size: 14px; color: var(--accent-2); }
.lead-row { display: flex; flex-wrap: wrap; gap: 24px; }
.lead-row__main { flex: 2 1 560px; min-width: 0; }
.lead-row__side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.lead-title { margin-top: 10px; font-size: 38px; line-height: 1; }
.dept-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.dept-links a { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 20px 22px; font-size: 17px; font-weight: 600; }
.dept-links a:hover { border-color: var(--accent-line); }

.pagination { margin-top: 48px; display: flex; gap: 8px; flex-wrap: wrap; font-family: var(--mono); font-size: 14px; }
.pagination .page-numbers { border: 1px solid var(--chip-line); border-radius: 4px; padding: 10px 14px; min-width: 44px; text-align: center; }
.pagination .page-numbers.current { background: var(--accent); border-color: var(--accent); color: #04101F; }

.page-prose { max-width: 760px; }
.page-prose h1 { font-size: 64px; margin: 14px 0 32px; }
.search-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	:root { --gutter: 20px; }
	.section-title { font-size: 40px; }
	.hero-story__title { font-size: 42px; }
	.article-head h1 { font-size: 48px; }
	.page-hero h1 { font-size: 56px; }
	.page-prose h1 { font-size: 44px; }
	.ratio-hero { height: 300px; }
	.block { margin-top: 64px; }
	.block--rule { padding-top: 48px; }
	.newsletter { padding: 36px 24px; }
	.newsletter h2 { font-size: 36px; }
	.site-topbar .container > span:first-child { display: none; }
	.section-strip { display: block; }
}
@media (max-width: 560px) {
	.brand__name { font-size: 21px; }
	.site-header .container { min-height: 64px; }
	.header-actions .btn { display: none; }
	.hero-story .card__body { padding: 18px 18px 22px; }
	.hero-story__title { font-size: 34px; }
	.ratio-hero { height: 240px; }
	.ratio-card { height: 180px; }
	.article-head h1 { font-size: 38px; }
	.article-head .standfirst { font-size: 18px; }
	.entry-content { font-size: 18px; }
	.page-hero h1 { font-size: 44px; }
	.lead-title { font-size: 30px; }
	.grid-3, .grid-4 { grid-template-columns: 1fr; }
	.field input { width: 100%; }
	.newsletter form { width: 100%; flex-direction: column; align-items: stretch; }
}

/* WordPress core alignment helpers */
.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-text { font-size: 13px; color: var(--muted); }
.sticky, .bypostauthor, .gallery-caption { }
