/*
Theme Name: Sekhukhune Times Modern
Theme URI: https://sekhukhunetimes.co.za/
Author: Sekhukhune Times
Description: A fast, accessible, mobile-first news theme built for Sekhukhune Times.
Version: 1.2.0
Requires at least: 7.0
Requires PHP: 8.0
Text Domain: sekhukhune-times
*/

:root {
	--st-ink: #12201f;
	--st-ink-soft: #405451;
	--st-teal: #008c84;
	--st-teal-dark: #006a64;
	--st-teal-pale: #e8f5f3;
	--st-gold: #e8a72e;
	--st-red: #bd3d36;
	--st-paper: #fffdf8;
	--st-white: #ffffff;
	--st-line: #d9e3e1;
	--st-wash: #f2f7f6;
	--st-shadow: 0 18px 48px rgba(18, 32, 31, 0.1);
	--st-radius: 14px;
	--st-container: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--st-paper);
	color: var(--st-ink);
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--st-teal-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--st-teal); }

:focus-visible {
	outline: 3px solid var(--st-gold);
	outline-offset: 3px;
}

button, input, textarea { font: inherit; }

.st-container { width: min(calc(100% - 36px), var(--st-container)); margin-inline: auto; }

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

.screen-reader-text:focus,
.skip-link:focus {
	clip: auto;
	width: auto;
	height: auto;
	padding: 10px 14px;
	margin: 10px;
	background: var(--st-white);
	color: var(--st-ink);
	z-index: 9999;
}

.site-header { position: relative; z-index: 30; background: var(--st-white); border-bottom: 1px solid var(--st-line); }

.topline { background: var(--st-ink); color: rgba(255, 255, 255, 0.86); font-size: 0.78rem; letter-spacing: 0.02em; }
.topline__inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topline a { color: var(--st-white); text-decoration: none; }
.topline__latest { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.topline__label { margin-right: 8px; color: var(--st-gold); font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.topline__label span { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--st-red); box-shadow: 0 0 0 4px rgba(189,61,54,.22); }
.topline__links { display: flex; gap: 18px; flex: 0 0 auto; }
.topline__links a { display: inline-flex; align-items: center; min-height: 30px; }

.masthead { min-height: 124px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: flex; align-items: center; min-width: 0; text-decoration: none; }
.brand .custom-logo { width: min(470px, 58vw); max-height: 92px; object-fit: contain; object-position: left center; }
.brand__fallback { display: grid; gap: 2px; color: var(--st-ink); text-decoration: none; }
.brand__name { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 800; line-height: 1; }
.brand__tagline { color: var(--st-teal); font-size: 0.84rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.masthead__actions { display: flex; align-items: center; gap: 12px; }

.st-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid var(--st-teal);
	border-radius: 999px;
	background: var(--st-teal);
	color: var(--st-white);
	font-size: 0.84rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-decoration: none;
	text-transform: uppercase;
}
.st-button:hover { background: var(--st-teal-dark); border-color: var(--st-teal-dark); color: var(--st-white); }
.st-button--ghost { background: transparent; color: var(--st-teal-dark); }
.st-button--ghost:hover { color: var(--st-white); }

.nav-shell { background: var(--st-teal); box-shadow: 0 5px 20px rgba(18,32,31,.08); }
.main-nav { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.main-nav ul { display: flex; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.main-nav li { margin: 0; }
.main-nav a { display: flex; align-items: center; min-height: 52px; padding: 0 13px; color: var(--st-white); font-size: 0.78rem; font-weight: 850; letter-spacing: 0.045em; text-decoration: none; text-transform: uppercase; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current-cat > a { background: rgba(0, 0, 0, 0.16); color: var(--st-white); }
.nav-toggle { display: none; min-height: 44px; padding: 0 14px; border: 0; background: transparent; color: var(--st-white); font-weight: 800; }
.nav-toggle__icon { width: 22px; height: 2px; margin-right: 9px; background: currentColor; box-shadow: 0 -7px currentColor, 0 7px currentColor; }
.main-nav__search { min-width: 230px; }
.search-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: transparent; color: var(--st-white); font-size: 1.3rem; cursor: pointer; }
.search-form { display: flex; align-items: stretch; min-width: 230px; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 38px; padding: 0 12px; border: 1px solid rgba(255,255,255,.35); border-right: 0; border-radius: 8px 0 0 8px; background: rgba(255,255,255,.1); color: var(--st-white); }
.search-field::placeholder { color: rgba(255,255,255,.72); }
.search-submit { min-width: 44px; border: 1px solid rgba(255,255,255,.35); border-radius: 0 8px 8px 0; background: var(--st-white); color: var(--st-teal-dark); font-weight: 900; cursor: pointer; }

.topic-strip { overflow-x: auto; border-bottom: 1px solid var(--st-line); background: var(--st-white); scrollbar-width: none; }
.topic-strip::-webkit-scrollbar { display: none; }
.topic-strip__inner { min-height: 42px; display: flex; align-items: center; gap: 22px; white-space: nowrap; }
.topic-strip strong { color: var(--st-teal-dark); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.topic-strip a { color: var(--st-ink-soft); font-size: .76rem; font-weight: 750; text-decoration: none; }
.topic-strip a:hover { color: var(--st-teal-dark); }

.site-main { min-height: 50vh; }
.home-main { padding: 34px 0 70px; }

.home-intro { display: grid; grid-template-columns: 1fr minmax(280px, 450px); gap: 40px; align-items: end; margin-bottom: 26px; }
.home-intro h1 { margin: 2px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 5vw, 4.8rem); letter-spacing: -.04em; line-height: .96; }
.home-intro > p { margin: 0 0 4px; color: var(--st-ink-soft); font-family: Georgia, "Times New Roman", serif; font-size: 1.12rem; line-height: 1.45; }
.section-eyebrow { margin: 0 0 5px; color: var(--st-teal-dark); font-size: .68rem; font-weight: 900; letter-spacing: .11em; line-height: 1.3; text-transform: uppercase; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 0 0 20px; padding-bottom: 10px; border-bottom: 2px solid var(--st-ink); }
.section-heading h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.55rem, 2.5vw, 2.2rem); line-height: 1.12; }
.section-heading a { font-size: 0.78rem; font-weight: 850; letter-spacing: 0.08em; text-decoration: none; text-transform: uppercase; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, .8fr); gap: 24px; }
.hero-rail { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-content: start; }

.story-card { position: relative; min-width: 0; }
.story-card__media { position: relative; display: block; overflow: hidden; border-radius: var(--st-radius); background: var(--st-wash); aspect-ratio: 16 / 10; }
.story-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.story-card__fallback { display: block; width: 100%; height: 100%; background: linear-gradient(145deg, var(--st-teal-pale), #dbeae7 60%, #badbd6); }
.story-card:hover .story-card__media img { transform: scale(1.025); }
.story-card__body { padding-top: 12px; }
.story-card__title { margin: 7px 0 6px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.15rem, 1.7vw, 1.55rem); line-height: 1.18; }
.story-card__title a { color: var(--st-ink); text-decoration: none; }
.story-card__title a:hover { color: var(--st-teal-dark); }
.story-card__excerpt { margin: 8px 0 0; color: var(--st-ink-soft); font-size: .95rem; line-height: 1.55; }
.story-card--lead { min-height: 560px; overflow: hidden; border-radius: 20px; background: var(--st-ink); box-shadow: var(--st-shadow); }
.story-card--lead .story-card__media { height: 100%; border-radius: 0; aspect-ratio: auto; }
.story-card--lead .story-card__media::after { content: ""; position: absolute; inset: 24% 0 0; background: linear-gradient(to bottom, transparent, rgba(7,22,21,.92)); }
.story-card--lead .story-card__body { position: absolute; inset: auto 0 0; z-index: 2; padding: 38px; color: var(--st-white); }
.story-card--lead .story-card__title { max-width: 820px; margin-top: 10px; font-size: clamp(2rem, 4vw, 3.55rem); line-height: 1.03; }
.story-card--lead .story-card__title a { color: var(--st-white); }
.story-card--lead .story-meta { color: rgba(255,255,255,.78); }
.story-card--compact .story-card__media { aspect-ratio: 4 / 3; }
.story-card--compact .story-card__title { font-size: 1.05rem; }
.story-card--row { display: grid; grid-template-columns: 180px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--st-line); }
.story-card--row .story-card__media { aspect-ratio: 4 / 3; }
.story-card--row .story-card__body { padding: 0; }

.story-kicker { display: inline-flex; align-items: center; gap: 6px; color: var(--st-teal-dark); font-size: 0.72rem; font-weight: 900; letter-spacing: .09em; text-decoration: none; text-transform: uppercase; }
.story-card--lead .story-kicker { color: #9de3dd; }
.story-meta { display: flex; flex-wrap: wrap; gap: 7px 14px; color: #6e7f7c; font-size: 0.76rem; font-weight: 700; }
.story-meta a { color: inherit; text-decoration: none; }
.story-meta a:hover { color: var(--st-teal-dark); }

.latest-briefs { display: grid; grid-template-columns: auto repeat(3, 1fr); gap: 0; align-items: stretch; margin-top: 24px; border-block: 1px solid var(--st-line); background: var(--st-white); }
.latest-briefs > strong { display: flex; align-items: center; padding: 16px 20px 16px 0; color: var(--st-teal-dark); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.latest-briefs article { display: grid; grid-template-columns: 28px 1fr; gap: 9px; align-items: center; padding: 16px 18px; border-left: 1px solid var(--st-line); }
.latest-briefs article span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: var(--st-teal-pale); color: var(--st-teal-dark); font-size: .68rem; font-weight: 900; }
.latest-briefs article a { color: var(--st-ink); font-family: Georgia, "Times New Roman", serif; font-size: .9rem; font-weight: 700; line-height: 1.25; text-decoration: none; }

.news-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.news-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-section { margin-top: 54px; }
.home-columns { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr); gap: 42px; }
.list-stack { display: grid; gap: 0; }
.aside-panel { padding: 26px; border-radius: var(--st-radius); background: var(--st-ink); color: var(--st-white); }
.aside-panel .section-heading { border-color: rgba(255,255,255,.3); }
.aside-panel .section-heading h2 { color: var(--st-white); }
.aside-panel .story-card--row { grid-template-columns: 100px 1fr; border-color: rgba(255,255,255,.14); }
.aside-panel .story-card__title { font-size: .98rem; }
.aside-panel .story-card__title a { color: var(--st-white); }
.aside-panel .story-meta { color: rgba(255,255,255,.65); }
.aside-panel .section-eyebrow { color: #8ce0d9; }

.feature-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.feature-pair__section { padding: 28px; border: 1px solid var(--st-line); border-radius: 18px; background: var(--st-white); }
.feature-pair__section--wash { background: var(--st-wash); }
.pair-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pair-grid .story-card__title { font-size: 1.15rem; }
.pair-grid .story-card__excerpt { font-size: .88rem; }

.sports-section { padding-top: 46px; border-top: 1px solid var(--st-line); }

.newsroom-cta { display: flex; align-items: center; justify-content: space-between; gap: 36px; margin-top: 62px; padding: 38px 42px; border-radius: 20px; background: linear-gradient(125deg, var(--st-teal-pale), #f6fbfa); border: 1px solid #c7e0dc; }
.newsroom-cta h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.05; }
.newsroom-cta p:not(.section-eyebrow) { max-width: 720px; margin: 10px 0 0; color: var(--st-ink-soft); }
.newsroom-cta .st-button { flex: 0 0 auto; align-self: center; white-space: nowrap; }
.newsroom-cta__actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.newsroom-cta__actions .st-button { min-width: 168px; }

.site-header__ad-rail { border-bottom: 1px solid var(--st-line); background: #f6faf9; }
.site-header__ad-rail .st-container { padding-block: 16px; }
.ad-slot { display: grid; place-items: center; width: min(970px, 100%); min-height: 100px; margin: 46px auto; padding: 14px; overflow: hidden; border: 1px dashed #aebfbc; border-radius: 10px; background: var(--st-white); text-align: center; }
.ad-slot__label { color: #71807e; font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ad-slot__stage { display: block; margin-top: 4px; color: #82908e; font-size: .8rem; }
.ad-slot .adsbygoogle { width: 100%; }
.site-header__ad-rail .ad-slot { min-height: 90px; margin: 0 auto; }
.ad-slot--article_inline, .ad-slot--article_after { width: min(728px, 100%); }

.archive-hero { padding: 54px 0 32px; background: var(--st-wash); border-bottom: 1px solid var(--st-line); }
.archive-hero__eyebrow { margin: 0 0 8px; color: var(--st-teal-dark); font-size: .75rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.archive-hero h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.4rem, 6vw, 5rem); line-height: .98; }
.archive-hero p { max-width: 720px; margin: 16px 0 0; color: var(--st-ink-soft); }
.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; padding: 42px 0 70px; }

.single-main { padding: 42px 0 80px; }
.reading-progress { position: fixed; inset: 0 0 auto; z-index: 100; height: 4px; pointer-events: none; }
.reading-progress span { display: block; width: 0; height: 100%; background: var(--st-gold); transition: width .08s linear; }
.article-shell { display: grid; grid-template-columns: minmax(0, 820px) minmax(260px, 1fr); gap: 58px; align-items: start; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 24px; color: #667975; font-size: .8rem; font-weight: 700; }
.breadcrumbs a { text-decoration: none; }
.entry-header h1 { margin: 10px 0 18px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.35rem, 5vw, 4.8rem); letter-spacing: -.035em; line-height: 1.02; }
.entry-standfirst { margin: 0 0 18px; color: var(--st-ink-soft); font-family: Georgia, "Times New Roman", serif; font-size: 1.22rem; line-height: 1.5; }
.entry-header .story-meta { padding-top: 3px; font-size: .82rem; }
.article-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 25px; padding-block: 13px; border-block: 1px solid var(--st-line); }
.article-tools strong { display: inline-flex; align-items: center; min-height: 34px; margin-right: 4px; font-size: .72rem; letter-spacing: .08em; line-height: 1; text-transform: uppercase; }
.article-tools a, .article-tools button { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; height: 34px; min-height: 34px; padding: 0 11px; appearance: none; -webkit-appearance: none; border: 1px solid var(--st-line); border-radius: 999px; background: var(--st-white); color: var(--st-ink); font-family: inherit; font-size: .72rem; font-weight: 800; line-height: 1; text-align: center; text-decoration: none; cursor: pointer; }
.article-tools a:hover, .article-tools button:hover { border-color: var(--st-teal); background: var(--st-teal-pale); color: var(--st-teal-dark); }
.entry-hero { margin: 30px 0; overflow: hidden; border-radius: 18px; background: var(--st-wash); }
.entry-hero img { width: 100%; max-height: 660px; object-fit: cover; }
.entry-hero figcaption { padding: 9px 13px; color: #687875; font-size: .73rem; line-height: 1.45; }
.entry-content { font-family: Georgia, "Times New Roman", serif; font-size: 1.16rem; line-height: 1.8; }
.entry-content > * { max-width: 760px; }
.entry-content p { margin: 0 0 1.45em; }
.entry-content h2, .entry-content h3 { margin: 1.7em 0 .65em; font-family: Inter, ui-sans-serif, sans-serif; line-height: 1.2; }
.entry-content a { overflow-wrap: anywhere; }
.entry-content blockquote { margin: 2em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--st-gold); color: var(--st-ink-soft); font-size: 1.24rem; font-style: italic; }
.entry-content figure { max-width: 100%; margin: 2em 0; }
.entry-content > p:first-child::first-letter { float: left; margin: .08em .12em 0 0; color: var(--st-teal-dark); font-size: 3.7em; font-weight: 700; line-height: .78; }
.entry-footer { margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--st-line); }
.share-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.share-row a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--st-line); border-radius: 999px; color: var(--st-ink); font-size: .78rem; font-weight: 800; text-decoration: none; }
.share-row a:hover { background: var(--st-teal-pale); border-color: var(--st-teal); color: var(--st-teal-dark); }
.article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.article-tags strong { margin-right: 4px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.article-tags a { padding: 5px 10px; border-radius: 999px; background: var(--st-wash); color: var(--st-ink-soft); font-size: .72rem; font-weight: 750; text-decoration: none; }
.author-box { display: grid; grid-template-columns: 80px 1fr; gap: 20px; margin-top: 32px; padding: 26px; border-radius: var(--st-radius); background: var(--st-wash); }
.author-box__initial { display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: var(--st-teal); color: var(--st-white); font-family: Georgia, "Times New Roman", serif; font-size: 2.25rem; font-weight: 800; }
.author-box h2 { margin: 0 0 5px; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; }
.author-box h2 a { color: var(--st-ink); text-decoration: none; }
.author-box p:last-child { margin: 0; color: var(--st-ink-soft); font-size: .9rem; }
.corrections-box { margin-top: 22px; padding: 18px 20px; border-left: 4px solid var(--st-gold); background: #fff9ed; }
.corrections-box strong { font-family: Georgia, "Times New Roman", serif; }
.corrections-box p { margin: 3px 0 0; color: var(--st-ink-soft); font-size: .86rem; }
.post-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 34px; }
.post-navigation a { display: grid; gap: 5px; padding: 18px; border: 1px solid var(--st-line); border-radius: 12px; color: var(--st-ink); text-decoration: none; }
.post-navigation a:last-child { text-align: right; }
.post-navigation span { color: var(--st-teal-dark); font-size: .67rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.post-navigation strong { font-family: Georgia, "Times New Roman", serif; line-height: 1.25; }

.article-aside { position: sticky; top: 24px; }
.aside-card { margin-bottom: 24px; padding: 24px; border: 1px solid var(--st-line); border-radius: var(--st-radius); background: var(--st-white); }
.aside-card h2 { margin: 0 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; }
.aside-card p { margin: 0; color: var(--st-ink-soft); font-size: .9rem; }
.aside-card--accent { border: 0; background: var(--st-teal-pale); }
.aside-card--accent .st-button { margin-top: 18px; }
.aside-card--stories .story-card--row { grid-template-columns: 90px 1fr; gap: 12px; padding: 14px 0; }
.aside-card--stories .story-card__title { font-size: .9rem; }
.aside-card--stories .story-kicker { font-size: .6rem; }
.aside-card--stories .story-meta { display: none; }
.article-aside .ad-slot { width: 100%; min-height: 280px; margin: 24px 0; }

.page-main { padding: 50px 0 80px; }
.page-shell { max-width: 920px; }
.page-shell h1 { margin: 0 0 28px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr); gap: 48px; }
.contact-form-card { padding: 30px; border: 1px solid var(--st-line); border-radius: 18px; background: var(--st-white); box-shadow: 0 16px 46px rgba(18,32,31,.07); }
.contact-card { padding: 28px; border-radius: var(--st-radius); background: var(--st-wash); }
.contact-card h2 { margin-top: 0; font-family: Georgia, "Times New Roman", serif; }
.st-field { display: grid; gap: 6px; margin-bottom: 18px; }
.st-field label { font-size: .78rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.st-field input, .st-field select, .st-field textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #b8c7c4; border-radius: 8px; background: var(--st-white); color: var(--st-ink); }
.st-field textarea { min-height: 160px; resize: vertical; }
.st-field input:focus, .st-field select:focus, .st-field textarea:focus { outline: 3px solid rgba(0,140,132,.2); border-color: var(--st-teal); }
.st-honeypot { position: absolute; left: -9999px; }
.form-note { margin-top: 14px; color: #6c7b78; font-size: .75rem; }
.form-assurance { display: flex; align-items: flex-start; gap: 9px; margin-top: 18px; padding: 13px 14px; border-radius: 9px; background: var(--st-teal-pale); color: var(--st-teal-dark); font-size: .78rem; font-weight: 700; line-height: 1.45; }
.form-assurance::before { content: "✓"; display: grid; flex: 0 0 auto; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--st-teal); color: var(--st-white); font-size: .7rem; }
.contact-process { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: contact-step; }
.contact-process li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; color: var(--st-ink-soft); font-size: .86rem; }
.contact-process li::before { counter-increment: contact-step; content: counter(contact-step); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--st-teal); color: var(--st-white); font-size: .72rem; font-weight: 900; }
.notice { margin-bottom: 24px; padding: 15px 18px; border-radius: 8px; background: var(--st-teal-pale); color: var(--st-teal-dark); font-weight: 700; }
.notice--error { background: #fff0ee; color: #9d302a; }

.pagination { display: flex; justify-content: center; gap: 7px; padding-bottom: 70px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 42px; min-height: 42px; padding: 0 12px; border: 1px solid var(--st-line); border-radius: 8px; background: var(--st-white); color: var(--st-ink); text-decoration: none; }
.pagination .current { background: var(--st-teal); border-color: var(--st-teal); color: var(--st-white); }

.site-footer { background: #0d1b1a; color: rgba(255,255,255,.78); }
.footer-grid { display: grid; grid-template-columns: 1.55fr repeat(3, 1fr); gap: 48px; padding: 58px 0 46px; }
.site-footer h2 { margin: 0 0 14px; color: var(--st-white); font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; }
.footer-about h2 { max-width: 420px; font-size: clamp(1.45rem, 2.6vw, 2.15rem); line-height: 1.08; }
.footer-mark { margin-bottom: 12px !important; color: #79d9d2; font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.site-footer p { margin: 0; }
.site-footer a { color: rgba(255,255,255,.86); text-decoration: none; }
.site-footer a:hover { color: #7bd8d1; }
.footer-nav { margin: 0; padding: 0; list-style: none; }
.footer-nav li { margin: 7px 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; }

@media (max-width: 1020px) {
	.hero-grid { grid-template-columns: 1fr; }
	.story-card--lead { min-height: 500px; }
	.news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.home-columns, .article-shell { grid-template-columns: 1fr; }
	.feature-pair { grid-template-columns: 1fr; }
	.article-aside { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
	.archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
	.footer-grid > :last-child { grid-column: 2 / -1; }
}

@media (max-width: 780px) {
	body { font-size: 16px; }
	.topline__date, .topline__links { display: none; }
	.masthead { min-height: 96px; }
	.masthead__actions { display: none; }
	.brand .custom-logo { width: min(370px, 80vw); max-height: 74px; }
	.main-nav { align-items: stretch; flex-wrap: wrap; }
	.nav-toggle { display: inline-flex; align-items: center; }
	.main-nav .main-nav__menu { display: none; flex: 1 0 100%; }
	.main-nav.is-open .main-nav__menu { display: block; }
	.main-nav ul { display: block; padding-bottom: 10px; }
	.main-nav a { min-height: 44px; padding-inline: 8px; border-top: 1px solid rgba(255,255,255,.14); }
	.search-toggle { display: block; margin: 4px 0 4px auto; }
	.main-nav__search { display: none; flex: 1 0 100%; padding-bottom: 12px; }
	.main-nav.search-is-open .main-nav__search { display: block; }
	.search-form { min-width: 190px; width: 100%; margin-left: auto; }
	.home-intro { grid-template-columns: 1fr; gap: 12px; }
	.latest-briefs { grid-template-columns: 1fr; }
	.latest-briefs > strong { padding: 13px 0; }
	.latest-briefs article { border-top: 1px solid var(--st-line); border-left: 0; padding-inline: 0; }
	.home-main { padding-top: 20px; }
	.hero-rail { grid-template-columns: 1fr 1fr; }
	.story-card--lead { min-height: 470px; }
	.story-card--lead .story-card__body { padding: 26px; }
	.entry-header h1 { font-size: clamp(2.1rem, 10vw, 3.5rem); }
	.entry-content { font-size: 1.08rem; }
	.contact-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-grid > :first-child { grid-column: 1 / -1; }
	.footer-grid > :last-child { grid-column: auto; }
	.newsroom-cta { align-items: flex-start; flex-direction: column; padding: 30px; }
	.newsroom-cta__actions { justify-content: flex-start; width: 100%; }
	.site-header__ad-rail .st-container { width: 100%; padding: 10px 12px; }
	.ad-slot { min-height: 90px; margin-block: 28px; border-radius: 8px; }
}

@media (max-width: 560px) {
	.st-container { width: min(calc(100% - 24px), var(--st-container)); }
	.hero-rail, .news-grid, .news-grid--three, .archive-grid { grid-template-columns: 1fr; }
	.story-card--lead { min-height: 430px; }
	.story-card--lead .story-card__title { font-size: 2rem; }
	.story-card--compact { display: grid; grid-template-columns: 118px 1fr; gap: 13px; }
	.story-card--compact .story-card__body { padding: 0; }
	.story-card--compact .story-card__title { margin-top: 2px; }
	.story-card--row { grid-template-columns: 112px 1fr; gap: 13px; }
	.pair-grid { grid-template-columns: 1fr; }
	.feature-pair__section { padding: 20px; }
	.article-tools strong { flex-basis: 100%; }
	.author-box { grid-template-columns: 1fr; }
	.post-navigation { grid-template-columns: 1fr; }
	.post-navigation a:last-child { text-align: left; }
	.article-aside, .footer-grid { grid-template-columns: 1fr; }
	.contact-form-card { padding: 20px; }
	.newsroom-cta__actions .st-button { width: 100%; }
	.footer-grid > :first-child { grid-column: auto; }
	.footer-bottom { display: block; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

@media print {
	.site-header, .site-footer, .article-tools, .article-aside, .ad-slot, .reading-progress, .post-navigation, .corrections-box { display: none !important; }
	body { background: #fff; color: #000; font-size: 12pt; }
	.single-main { padding: 0; }
	.article-shell { display: block; width: 100%; }
	.entry-header h1 { font-size: 30pt; }
	.entry-content { font-size: 12pt; line-height: 1.55; }
	a { color: #000; text-decoration: none; }
}
