:root {
	--navy: #0a2463;
	--navy-deep: #081c4f;
	--red: #c8102e;
	--red-dark: #a00d25;
	--white: #ffffff;
	--ink: #1b2437;
	--muted: #5b6477;
	--tint: #f3f6fc;
	--line: #dfe5f1;
	--serif: Charter, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--sans: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--sans);
	line-height: 1.55;
	color: var(--ink);
	background: var(--tint);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; color: var(--white); background: var(--navy); }
.skip-link:focus { left: 8px; }
.muted { color: var(--muted); }
main { padding: 28px 0 56px; min-height: 60vh; }

/* Top bar */
.topbar { color: rgba(255, 255, 255, 0.85); font-size: 0.85rem; background: var(--navy-deep); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.top-links { display: flex; align-items: center; gap: 18px; margin: 0; padding: 0; list-style: none; }
.top-links a, .link-button { color: inherit; text-decoration: none; }
.top-links a:hover, .link-button:hover { color: var(--white); text-decoration: underline; }
.top-cta { padding: 3px 12px; font-weight: 600; color: var(--white) !important; background: var(--red); border-radius: 4px; text-decoration: none !important; }
.top-cta:hover { background: var(--red-dark); }
.link-button { padding: 0; font: inherit; background: none; border: 0; cursor: pointer; }
form.inline { display: inline; margin: 0; }

/* Masthead */
.masthead { background: var(--white); border-bottom: 1px solid var(--line); }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: 22px; }
.brand { display: flex; flex-direction: column; text-decoration: none; }
.brand-name { font-family: var(--serif); font-size: 2.3rem; font-weight: 700; line-height: 1; letter-spacing: -0.5px; color: var(--navy); }
.brand-tag { margin-top: 6px; font-size: 0.88rem; color: var(--muted); }
.search-form { display: flex; width: 100%; max-width: 340px; }
.search-form input {
	flex: 1; min-width: 0; padding: 10px 14px; font: inherit;
	border: 1px solid #c9d2e6; border-right: 0; border-radius: 6px 0 0 6px;
}
.search-form button {
	padding: 0 14px; color: var(--white); background: var(--navy);
	border: 0; border-radius: 0 6px 6px 0; cursor: pointer;
}
.search-form button:hover { background: var(--red); }
.search-form svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nav-toggle {
	display: none; padding: 9px 16px; font: inherit; font-weight: 600;
	color: var(--white); background: var(--navy); border: 0; border-radius: 6px; cursor: pointer;
}

/* Main navigation */
.main-nav { position: sticky; top: 0; z-index: 20; background: var(--navy); border-bottom: 4px solid var(--red); }
.main-nav ul { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.main-nav a {
	display: block; padding: 14px 20px; font-weight: 600; color: rgba(255, 255, 255, 0.88);
	text-decoration: none; border-bottom: 4px solid transparent; margin-bottom: -4px;
}
.main-nav a:hover { color: var(--white); background: rgba(255, 255, 255, 0.08); }
.main-nav a.active { color: var(--white); border-bottom-color: var(--white); }

/* Messages and adverts */
.flash { margin-top: 20px; padding: 12px 16px; border-left: 4px solid; border-radius: 6px; }
.flash-success { color: var(--navy); background: #e3ebfa; border-color: var(--navy); }
.flash-error { color: var(--red-dark); background: #fbe3e7; border-color: var(--red); }
.flash-info { color: var(--ink); background: var(--white); border-color: var(--muted); }
.ad { margin: 22px auto; text-align: center; }
.ad-label { display: block; margin-bottom: 4px; font-size: 0.75rem; color: var(--muted); }
.ad img { margin: 0 auto; max-width: 100%; border-radius: 4px; }

/* Section headings */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 40px 0 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.section-head h2 { margin: 0; font-family: var(--serif); font-size: 1.5rem; color: var(--navy); padding-left: 12px; border-left: 5px solid var(--red); }
.section-head a { font-weight: 600; text-decoration: none; }
.section-head a:hover { text-decoration: underline; }
.section-head.first { margin-top: 0; }

/* Layout grids */
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 28px; }
.stack { display: flex; flex-direction: column; gap: 20px; }

/* Story cards */
.card-article { display: flex; flex-direction: column; overflow: hidden; background: var(--white); border-radius: 10px; box-shadow: 0 4px 16px rgba(10, 36, 99, 0.08); }
.card-article .thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); }
.card-article .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-article .ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: linear-gradient(135deg, var(--navy), var(--navy-deep)); border-bottom: 4px solid var(--red); }
.card-article .ph span { font-family: var(--serif); font-size: 3rem; font-weight: 700; color: rgba(255, 255, 255, 0.35); }
.card-article .body { padding: 16px 18px 18px; }
.kicker { margin: 0 0 6px; font-size: 0.85rem; font-weight: 700; }
.kicker a { color: var(--red); text-decoration: none; }
.kicker a:hover { text-decoration: underline; }
.tag-premium { display: inline-block; margin-left: 6px; padding: 1px 8px; font-size: 0.75rem; font-weight: 700; color: var(--white); background: var(--navy); border-radius: 999px; }
.card-article .title { margin: 0 0 8px; font-family: var(--serif); font-size: 1.2rem; line-height: 1.25; }
.card-article .title a { color: var(--ink); text-decoration: none; }
.card-article .title a:hover { color: var(--red); }
.summary { margin: 0 0 10px; color: var(--muted); font-size: 0.95rem; }
.meta { margin: 0; font-size: 0.85rem; color: var(--muted); }
.card-article.lead .title { font-size: 2rem; line-height: 1.15; }
.card-article.lead .body { padding: 22px 26px 26px; }
.card-article.lead .summary { font-size: 1.05rem; }
.card-article.row { flex-direction: row; }
.card-article.row .thumb { flex: 0 0 38%; aspect-ratio: auto; min-height: 120px; }
.card-article.row .title { font-size: 1.1rem; }
.card-article.small { box-shadow: none; border: 1px solid var(--line); }
.card-article.small .title { font-size: 1.05rem; margin-bottom: 4px; }
.card-article.small .body { padding: 14px 16px; }
.card-article.small .thumb { display: none; }

/* Sidebar */
.widget { margin-bottom: 24px; padding: 22px; background: var(--white); border-radius: 10px; box-shadow: 0 4px 16px rgba(10, 36, 99, 0.08); }
.widget h2 { margin: 0 0 12px; font-family: var(--serif); font-size: 1.2rem; color: var(--navy); }
.widget p { margin: 0 0 14px; }
.widget-newsletter { color: var(--white); background: var(--navy); border-top: 4px solid var(--red); }
.widget-newsletter h2 { color: var(--white); }
.widget-newsletter p { color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; }
.widget-newsletter input { width: 100%; margin-bottom: 10px; padding: 10px 12px; font: inherit; border: 0; border-radius: 6px; }
.widget-newsletter .btn { width: 100%; }
.widget-cta { background: var(--navy-deep); color: var(--white); border-left: 5px solid var(--red); }
.widget-cta h2 { color: var(--white); }
.most-read { margin: 0; padding: 0; list-style: none; counter-reset: rank; }
.most-read li { position: relative; padding: 12px 0 12px 38px; border-top: 1px solid var(--line); counter-increment: rank; }
.most-read li:first-child { border-top: 0; padding-top: 0; }
.most-read li::before { content: counter(rank); position: absolute; left: 0; top: 12px; font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--red); line-height: 1; }
.most-read li:first-child::before { top: 0; }
.most-read a { display: block; font-weight: 600; text-decoration: none; color: var(--ink); line-height: 1.3; }
.most-read a:hover { color: var(--red); }
.most-read .meta { display: block; margin-top: 3px; }

/* Buttons and forms */
.btn {
	display: inline-block; padding: 11px 22px; font: inherit; font-weight: 600; color: var(--white);
	text-align: center; text-decoration: none; background: var(--red); border: 0; border-radius: 6px; cursor: pointer;
}
.btn:hover { color: var(--white); background: var(--red-dark); }
.btn-navy { background: var(--navy); }
.btn-navy:hover { background: var(--navy-deep); }
.btn-light { color: var(--navy); background: var(--white); }
.btn-light:hover { color: var(--red); background: var(--white); }
.btn-ghost { color: var(--navy); background: transparent; border: 1px solid #c9d2e6; }
.btn-ghost:hover { color: var(--navy); background: var(--tint); }
.btn-block { display: block; width: 100%; }
.form-card { max-width: 560px; margin: 0 auto; padding: 32px; background: var(--white); border-radius: 10px; box-shadow: 0 4px 16px rgba(10, 36, 99, 0.08); border-top: 4px solid var(--red); }
.form-card.wide { max-width: 760px; }
.form-card h1 { margin: 0 0 6px; font-family: var(--serif); font-size: 1.8rem; color: var(--navy); }
.form-card > p { margin: 0 0 22px; color: var(--muted); }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--navy); }
.field input[type="text"], .field input[type="email"], .field input[type="password"], .field input[type="tel"],
.field select, .field textarea {
	width: 100%; padding: 11px 13px; font: inherit; color: var(--ink);
	background: var(--white); border: 1px solid #c9d2e6; border-radius: 6px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--navy); border-color: var(--navy); }
.field small { display: block; margin-top: 4px; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.checks label { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 500; color: var(--ink); }
.checks input { width: 18px; height: 18px; accent-color: var(--navy); }
.hp { position: absolute; left: -9999px; }
.form-foot { margin-top: 20px; text-align: center; color: var(--muted); }
.errors { margin-bottom: 20px; padding: 12px 16px 12px 32px; color: var(--red-dark); background: #fbe3e7; border-left: 4px solid var(--red); border-radius: 6px; }
.errors li + li { margin-top: 4px; }

/* Page intro bands (about, contact, membership) */
.page-hero { margin: -28px 0 36px; padding: 52px 0; color: var(--white); background: var(--navy); border-bottom: 4px solid var(--red); }
.page-hero h1 { margin: 0 0 10px; font-family: var(--serif); font-size: 2.6rem; line-height: 1.1; }
.page-hero p { max-width: 640px; margin: 0; font-size: 1.1rem; color: rgba(255, 255, 255, 0.85); }
.breadcrumb { margin: 0 0 18px; font-size: 0.9rem; color: var(--muted); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-title { margin: 0 0 8px; font-family: var(--serif); font-size: 2.2rem; color: var(--navy); }
.page-lead { margin: 0 0 28px; color: var(--muted); font-size: 1.05rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.chips a { display: block; padding: 6px 16px; font-weight: 600; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: 999px; }
.chips a:hover { color: var(--white); background: var(--navy); }

/* Article page */
.article-wrap { max-width: 760px; }
.article-title { margin: 0 0 14px; font-family: var(--serif); font-size: 2.6rem; line-height: 1.12; color: var(--ink); }
.article-summary { margin: 0 0 18px; font-size: 1.25rem; line-height: 1.45; color: var(--muted); }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 24px; padding: 12px 0; font-size: 0.92rem; color: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-figure { margin: 0 0 28px; overflow: hidden; border-radius: 10px; }
.article-figure img { width: 100%; max-height: 460px; object-fit: cover; }
.prose { font-family: var(--serif); font-size: 1.18rem; line-height: 1.75; }
.prose p { margin: 0 0 1.3em; }
.prose h2 { margin: 1.8em 0 0.6em; font-size: 1.6rem; color: var(--navy); line-height: 1.2; }
.paywall { position: relative; margin-top: -90px; padding-top: 90px; text-align: center; background: linear-gradient(to bottom, rgba(243, 246, 252, 0), var(--tint) 85px); }
.paywall-box { padding: 30px; background: var(--white); border-radius: 10px; border-top: 4px solid var(--red); box-shadow: 0 4px 16px rgba(10, 36, 99, 0.12); font-family: var(--sans); }
.paywall-box h2 { margin: 0 0 8px; font-family: var(--serif); color: var(--navy); }
.paywall-box p { margin: 0 0 18px; color: var(--muted); }
.paywall-box .btn + .btn { margin-left: 8px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 36px 0; padding-top: 20px; border-top: 1px solid var(--line); }
.share strong { margin-right: 4px; color: var(--navy); }
.share a { padding: 7px 16px; font-size: 0.9rem; font-weight: 600; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
.share a:hover { color: var(--white); background: var(--navy); }

/* Pagination */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 36px; }
.pager a, .pager .gap { min-width: 38px; padding: 8px 14px; text-align: center; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
.pager .gap { border: 0; background: none; }
.pager a:hover { color: var(--white); background: var(--navy); }
.pager a.active { color: var(--white); background: var(--navy); border-color: var(--navy); }

/* Membership plans */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 30px 26px; background: var(--white); border-radius: 10px; border-top: 4px solid var(--navy); box-shadow: 0 4px 16px rgba(10, 36, 99, 0.08); }
.plan.current { border-top-color: var(--red); }
.plan h2 { margin: 0 0 4px; font-family: var(--serif); color: var(--navy); }
.plan .desc { min-height: 2.8em; margin: 0 0 14px; color: var(--muted); font-size: 0.95rem; }
.plan .price { font-family: var(--serif); font-size: 2.2rem; font-weight: 700; color: var(--navy); line-height: 1.1; }
.plan .period { margin: 2px 0 18px; color: var(--muted); }
.plan ul { flex: 1; margin: 0 0 22px; padding: 0; list-style: none; }
.plan li { position: relative; padding: 7px 0 7px 26px; border-top: 1px solid var(--line); }
.plan li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 6px; height: 11px; border: solid var(--red); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.plan li.off { color: var(--muted); }
.plan li.off::before { width: 10px; height: 0; top: 19px; border-width: 2px 0 0 0; border-color: #c9d2e6; transform: none; }
.faq { max-width: 760px; margin: 48px auto 0; }
.faq details { padding: 16px 20px; margin-bottom: 10px; background: var(--white); border-radius: 8px; border: 1px solid var(--line); }
.faq summary { font-weight: 600; color: var(--navy); cursor: pointer; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* About */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 0 0 40px; }
.stat { padding: 20px; background: var(--white); border-left: 4px solid var(--red); border-radius: 10px; box-shadow: 0 4px 16px rgba(10, 36, 99, 0.08); }
.stat .num { display: block; font-family: var(--serif); font-size: 2.2rem; font-weight: 700; color: var(--navy); line-height: 1.1; }
.stat .lbl { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.info-card { padding: 26px; background: var(--white); border-radius: 10px; box-shadow: 0 4px 16px rgba(10, 36, 99, 0.08); }
.info-card h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 1.25rem; color: var(--navy); }
.info-card p { margin: 0; color: var(--muted); }
.info-card a.more { display: inline-block; margin-top: 12px; font-weight: 600; text-decoration: none; }
.info-card a.more:hover { text-decoration: underline; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.legal { max-width: 780px; padding: 36px; background: var(--white); border-radius: 10px; box-shadow: 0 4px 16px rgba(10, 36, 99, 0.08); }
.legal h2 { margin: 1.6em 0 0.5em; font-family: var(--serif); font-size: 1.35rem; color: var(--navy); }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: #2b3550; }

/* Tables (account) */
.panel { margin-bottom: 28px; padding: 24px; background: var(--white); border-radius: 10px; box-shadow: 0 4px 16px rgba(10, 36, 99, 0.08); }
.panel h2 { margin: 0 0 14px; font-family: var(--serif); font-size: 1.3rem; color: var(--navy); }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.table th, .table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.table th { color: var(--navy); background: var(--tint); white-space: nowrap; }
.badge { display: inline-block; padding: 2px 10px; font-size: 0.82rem; font-weight: 600; border-radius: 999px; }
.badge-good { color: var(--navy); background: #dfe8fb; }
.badge-bad { color: var(--red-dark); background: #fbe3e7; }
.badge-neutral { color: var(--muted); background: #eceff5; }
.empty-state { padding: 48px 24px; text-align: center; background: var(--white); border-radius: 10px; box-shadow: 0 4px 16px rgba(10, 36, 99, 0.08); }
.empty-state h2 { margin: 0 0 8px; font-family: var(--serif); color: var(--navy); }
.empty-state p { margin: 0 0 18px; color: var(--muted); }

/* Footer */
.site-footer { color: rgba(255, 255, 255, 0.8); background: var(--navy-deep); border-top: 4px solid var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-top: 44px; padding-bottom: 36px; }
.footer-brand { margin: 0 0 10px; font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: var(--white); }
.site-footer h2 { margin: 0 0 12px; font-size: 1rem; color: var(--white); }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 8px; }
.site-footer a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer p { margin: 0 0 12px; font-size: 0.95rem; }
.social { display: flex; gap: 16px; }
.social li + li { margin-top: 0; }
.footer-bottom { padding: 16px 0; font-size: 0.88rem; border-top: 1px solid rgba(255, 255, 255, 0.14); }

/* Responsive */
@media (max-width: 960px) {
	.home-grid, .two-col { grid-template-columns: 1fr; }
	.hero { grid-template-columns: 1fr; }
	.grid-3 { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
	.container { padding: 0 16px; }
	.topbar .today { display: none; }
	.topbar-inner { justify-content: flex-end; }
	.masthead-inner { flex-wrap: wrap; gap: 14px; }
	.brand-name { font-size: 1.9rem; }
	.search-form { order: 3; max-width: none; }
	.nav-toggle { display: block; }
	.main-nav { position: static; display: none; }
	.main-nav.open { display: block; }
	.main-nav ul { flex-direction: column; gap: 0; }
	.main-nav a { margin-bottom: 0; border-bottom: 0; border-left: 4px solid transparent; }
	.main-nav a.active { border-left-color: var(--red); }
	.grid-3, .grid-2, .field-row { grid-template-columns: 1fr; }
	.card-article.row { flex-direction: column; }
	.card-article.row .thumb { flex: none; aspect-ratio: 16 / 9; }
	.card-article.lead .title { font-size: 1.6rem; }
	.article-title { font-size: 2rem; }
	.page-hero { padding: 36px 0; }
	.page-hero h1 { font-size: 2rem; }
	.form-card { padding: 24px 20px; }
	.footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}
