/*
Theme Name: Sakarya Gündem
Author: Sakarya Gündem
Description: Sakarya yerel haberleri için hızlı, erişilebilir ve otomatik haber akışıyla uyumlu bağımsız WordPress teması.
Version: 1.5.2
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sakarya-gundem
Tags: news, blog, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
	--sg-navy-950: #050806;
	--sg-navy-900: #0b0f0c;
	--sg-navy-800: #14231a;
	--sg-navy-700: #087335;
	--sg-blue-100: #edf5f0;
	--sg-red-700: #065c2b;
	--sg-red-600: #087335;
	--sg-red-500: #12a052;
	--sg-ink: #0b110d;
	--sg-muted: #59625c;
	--sg-line: #d8dfda;
	--sg-soft: #f1f5f2;
	--sg-white: #ffffff;
	--sg-success: #087335;
	--sg-shadow: 0 16px 40px rgba(0, 0, 0, 0.09);
	--sg-radius-sm: 8px;
	--sg-radius: 14px;
	--sg-radius-lg: 22px;
	--sg-shell: 1240px;
	--sg-copy: 760px;
	--sg-font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--sg-serif: Georgia, "Times New Roman", serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--sg-white);
	color: var(--sg-ink);
	font-family: var(--sg-font);
	font-size: 16px;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
}

body.admin-bar {
	--sg-admin-offset: 32px;
}

img,
svg {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

button,
input,
textarea,
select {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

a {
	color: var(--sg-navy-700);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--sg-red-600);
}

:focus-visible {
	outline: 3px solid #f0a500;
	outline-offset: 3px;
}

p,
h1,
h2,
h3,
h4,
ul,
ol,
figure,
blockquote {
	margin-top: 0;
}

h1,
h2,
h3,
h4 {
	color: var(--sg-navy-950);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.12;
	overflow-wrap: anywhere;
}

.site-shell {
	width: min(calc(100% - 40px), var(--sg-shell));
	margin-inline: auto;
}

.site-main {
	min-height: 55vh;
}

.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;
}

.screen-reader-text:focus,
.skip-link:focus {
	z-index: 100000;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	clip: auto;
	margin: 0;
	padding: 12px 18px;
	background: var(--sg-white);
	color: var(--sg-navy-950);
	font-weight: 800;
	white-space: normal;
	border-radius: var(--sg-radius-sm);
	box-shadow: var(--sg-shadow);
}

.page-top-anchor {
	position: absolute;
	top: 0;
}

/* Breaking strip */
.breaking-bar {
	background: var(--sg-red-600);
	color: var(--sg-white);
	font-size: 0.875rem;
}

.breaking-inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: stretch;
	min-height: 42px;
}

.breaking-label {
	display: flex;
	align-items: center;
	padding-inline: 0 20px;
	background: var(--sg-navy-950);
	font-size: 0.75rem;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.breaking-scroll {
	overflow-x: auto;
	scrollbar-width: none;
	overscroll-behavior-inline: contain;
}

.breaking-scroll::-webkit-scrollbar {
	display: none;
}

.breaking-scroll ul {
	display: flex;
	align-items: center;
	width: max-content;
	min-width: 100%;
	min-height: 42px;
	margin: 0;
	padding: 0 4px;
	list-style: none;
}

.breaking-scroll li {
	display: flex;
	align-items: center;
	gap: 8px;
	padding-inline: 16px;
	white-space: nowrap;
	border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.breaking-scroll time {
	font-size: 0.72rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	opacity: 0.8;
}

.breaking-scroll a {
	color: var(--sg-white);
	font-weight: 700;
	text-decoration: none;
}

.breaking-scroll a:hover {
	text-decoration: underline;
}

/* Masthead */
.site-header {
	position: relative;
	z-index: 30;
	background: var(--sg-white);
	box-shadow: 0 1px 0 var(--sg-line);
}

.brand-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	min-height: 112px;
	padding-block: 20px;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.custom-logo-link {
	display: block;
	flex: 0 0 auto;
}

.custom-logo {
	width: auto;
	max-width: 260px;
	max-height: 72px;
}

.brand-mark {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 62px;
	aspect-ratio: 1;
	background: linear-gradient(145deg, var(--sg-navy-950), var(--sg-navy-700));
	color: var(--sg-white);
	font-size: 1.35rem;
	font-weight: 900;
	letter-spacing: -0.06em;
	text-decoration: none;
	border-radius: 18px 6px 18px 6px;
	box-shadow: inset -8px -8px 18px rgba(255, 255, 255, 0.05);
}

.brand-mark:hover {
	background: var(--sg-red-600);
	color: var(--sg-white);
}

.brand-copy {
	min-width: 0;
}

.site-title {
	margin: 0;
	font-size: clamp(1.4rem, 3vw, 2.15rem);
	font-weight: 900;
	letter-spacing: -0.045em;
	line-height: 1;
}

.site-title a {
	color: var(--sg-navy-950);
	text-decoration: none;
}

.site-description {
	margin: 8px 0 0;
	color: var(--sg-muted);
	font-size: 0.82rem;
}

.header-search {
	width: min(100%, 330px);
}

.search-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 46px;
	width: 100%;
	background: var(--sg-soft);
	border: 1px solid var(--sg-line);
	border-radius: 999px;
	overflow: hidden;
}

.search-form:focus-within {
	border-color: var(--sg-navy-700);
	box-shadow: 0 0 0 3px rgba(8, 115, 53, 0.14);
}

.search-form label {
	display: block;
}

.search-field {
	width: 100%;
	height: 46px;
	padding: 0 4px 0 18px;
	background: transparent;
	color: var(--sg-ink);
	border: 0;
	outline: 0;
}

.search-field::placeholder {
	color: #667069;
}

.search-submit {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	background: transparent;
	color: var(--sg-navy-900);
	border: 0;
	cursor: pointer;
}

.search-submit:hover {
	background: var(--sg-navy-900);
	color: var(--sg-white);
}

.navigation-wrap {
	background: var(--sg-navy-950);
	color: var(--sg-white);
}

.navigation-inner {
	position: relative;
}

.menu-toggle {
	display: none;
	align-items: center;
	gap: 10px;
	padding: 12px 0;
	background: transparent;
	color: var(--sg-white);
	font-weight: 800;
	border: 0;
	cursor: pointer;
}

.menu-toggle-icon,
.menu-toggle-icon::before,
.menu-toggle-icon::after {
	display: block;
	width: 22px;
	height: 2px;
	background: currentColor;
	content: "";
	transition: transform 160ms ease;
}

.menu-toggle-icon {
	position: relative;
}

.menu-toggle-icon::before {
	position: absolute;
	top: -7px;
}

.menu-toggle-icon::after {
	position: absolute;
	top: 7px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon {
	background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon::before {
	top: 0;
	transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon::after {
	top: 0;
	transform: rotate(-45deg);
}

.site-menu,
.site-menu .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-menu {
	display: flex;
	align-items: stretch;
	min-height: 52px;
}

.site-menu > li {
	position: relative;
	display: flex;
	align-items: stretch;
}

.site-menu a {
	display: flex;
	align-items: center;
	padding: 14px 18px;
	color: var(--sg-white);
	font-size: 0.9rem;
	font-weight: 750;
	text-decoration: none;
}

.site-menu > li > a:hover,
.site-menu > .current-menu-item > a,
.site-menu > .current-menu-parent > a,
.site-menu > .current-cat > a {
	background: var(--sg-red-600);
	color: var(--sg-white);
}

.site-menu .sub-menu {
	position: absolute;
	z-index: 10;
	top: 100%;
	left: 0;
	display: none;
	width: 230px;
	padding-block: 7px;
	background: var(--sg-white);
	border: 1px solid var(--sg-line);
	box-shadow: var(--sg-shadow);
}

.site-menu .sub-menu a {
	padding: 10px 16px;
	color: var(--sg-navy-950);
}

.site-menu .sub-menu a:hover {
	background: var(--sg-soft);
	color: var(--sg-red-600);
}

.site-menu li:hover > .sub-menu,
.site-menu li:focus-within > .sub-menu {
	display: block;
}

/* Shared headings */
.home-layout,
.listing-layout,
.article-shell,
.page-shell {
	padding-block: clamp(34px, 6vw, 74px);
}

.eyebrow {
	margin-bottom: 8px;
	color: var(--sg-red-600);
	font-size: 0.73rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	line-height: 1.2;
	text-transform: uppercase;
}

.eyebrow--light {
	color: #8fe2ae;
}

.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 24px;
	padding-bottom: 13px;
	border-bottom: 3px solid var(--sg-navy-950);
}

.section-heading h1,
.section-heading h2 {
	margin: 0;
	font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.section-heading--primary {
	align-items: center;
	margin-bottom: 28px;
	padding-bottom: 0;
	border-bottom: 0;
}

.section-heading--primary h1 {
	font-size: clamp(2rem, 5vw, 3.65rem);
}

.section-intro {
	max-width: 430px;
	margin: 0;
	color: var(--sg-muted);
	font-size: 0.98rem;
}

.section-link {
	flex: 0 0 auto;
	color: var(--sg-red-600);
	font-size: 0.84rem;
	font-weight: 800;
	text-decoration: none;
}

.section-link:hover {
	text-decoration: underline;
}

/* Lead story */
.lead-section {
	margin-bottom: 54px;
}

.lead-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.75fr) minmax(320px, 0.9fr);
	gap: 28px;
}

.lead-side {
	display: grid;
	align-content: start;
	gap: 14px;
}

.post-card {
	min-width: 0;
	background: var(--sg-white);
}

.post-card-media {
	position: relative;
	display: block;
	background: linear-gradient(135deg, #eef4f0, #d8e8dd);
	border-radius: var(--sg-radius);
	overflow: hidden;
}

.post-card-media-note {
	position: absolute;
	top: 9px;
	right: 9px;
	z-index: 2;
	padding: 4px 7px;
	background: rgba(5, 8, 6, 0.76);
	color: #fff;
	font-size: 0.56rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 1;
	text-transform: uppercase;
}

.post-image {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform 240ms ease;
}

.post-card:hover .post-image:not(.is-placeholder) {
	transform: scale(1.025);
}

.post-card-body {
	padding-top: 15px;
}

.category-kicker {
	display: inline-flex;
	margin-bottom: 9px;
	color: var(--sg-red-600);
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	line-height: 1.25;
	text-decoration: none;
	text-transform: uppercase;
}

.category-kicker:hover {
	text-decoration: underline;
}

.post-card-title {
	margin-bottom: 10px;
	font-size: clamp(1.08rem, 2vw, 1.35rem);
	overflow-wrap: anywhere;
}

.post-card-title a {
	color: inherit;
	text-decoration: none;
}

.post-card:not(.post-card--hero):not(.post-card--compact) .post-card-title a,
.post-card--compact .post-card-title a,
.post-card--hero .post-card-title a {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
}

.post-card:not(.post-card--hero):not(.post-card--compact) .post-card-title a {
	-webkit-line-clamp: 3;
}

.post-card--compact .post-card-title a,
.post-card--hero .post-card-title a {
	-webkit-line-clamp: 4;
}

.post-card-title a:hover {
	color: var(--sg-red-600);
}

.post-card-excerpt {
	margin-bottom: 13px;
	color: var(--sg-muted);
	font-size: 0.92rem;
}

.post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px 12px;
	color: var(--sg-muted);
	font-size: 0.76rem;
	font-variant-numeric: tabular-nums;
}

.post-meta > * + *::before {
	margin-right: 10px;
	color: #aab1bb;
	content: "•";
}

.post-card--hero {
	position: relative;
	border-radius: var(--sg-radius-lg);
}

.post-card--hero .post-card-media {
	border-radius: var(--sg-radius-lg);
	box-shadow: var(--sg-shadow);
}

.post-card--hero.post-card--no-media {
	display: flex;
	align-items: flex-end;
	background: radial-gradient(circle at 82% 16%, rgba(39, 153, 83, 0.34), transparent 42%), linear-gradient(135deg, #102b1d, #08170f);
}

.post-card--hero.post-card--no-media .post-card-body {
	position: relative;
	width: 100%;
	padding: 34px 27px;
	background: none;
}

.post-card--hero .post-card-body {
	padding-top: 20px;
}

.post-card--hero .post-card-title {
	max-width: 860px;
	margin-bottom: 12px;
	font-size: clamp(1.65rem, 4vw, 2.7rem);
}

.post-card--hero .post-card-excerpt {
	max-width: 780px;
	font-size: 1rem;
}

.post-card--compact {
	display: grid;
	grid-template-columns: 128px minmax(0, 1fr);
	gap: 15px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--sg-line);
}

.post-card--compact:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.post-card--compact .post-card-media {
	align-self: start;
	border-radius: var(--sg-radius-sm);
}

.post-card--compact .post-card-body {
	padding-top: 0;
}

.post-card--compact .category-kicker {
	margin-bottom: 5px;
	font-size: 0.65rem;
}

.post-card--compact .post-card-title {
	margin-bottom: 8px;
	font-size: 1rem;
	line-height: 1.22;
}

.post-card--compact .post-meta > *::before {
	display: none;
}

/* Live feed */
.live-section {
	position: relative;
	margin-block: 64px;
	padding: clamp(24px, 5vw, 46px);
	background:
		radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.1), transparent 26%),
		linear-gradient(135deg, var(--sg-navy-950), var(--sg-navy-800));
	color: var(--sg-white);
	border-radius: var(--sg-radius-lg);
	overflow: hidden;
}

.live-section::after {
	position: absolute;
	right: -80px;
	bottom: -100px;
	width: 280px;
	height: 280px;
	border: 48px solid rgba(255, 255, 255, 0.025);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

.live-section-head {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 16px;
}

.live-section h2 {
	margin: 0;
	color: var(--sg-white);
	font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.live-indicator {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 11px;
	background: rgba(255, 255, 255, 0.1);
	font-size: 0.73rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 999px;
}

.live-indicator span {
	width: 8px;
	height: 8px;
	background: #36df91;
	border-radius: 50%;
	box-shadow: 0 0 0 5px rgba(54, 223, 145, 0.14);
}

.theme-live-feed,
.live-fallback {
	position: relative;
	z-index: 1;
}

.live-section .theme-live-feed .san-live-feed {
	margin: 0;
}

.theme-live-feed .san-live-feed > h2 {
	display: none;
}

.live-section .theme-live-feed .san-live-status {
	margin: 0;
	color: #8fe2ae;
	font-size: 0.78rem;
}

.live-section .theme-live-feed .san-live-items,
.live-fallback ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.live-section .theme-live-feed .san-live-items li,
.live-fallback li {
	display: grid;
	grid-template-columns: 60px minmax(0, 1fr);
	gap: 15px;
	padding-block: 13px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.live-section .theme-live-feed .san-live-items li:last-child,
.live-fallback li:last-child {
	border-bottom: 0;
}

.live-section .theme-live-feed time,
.live-fallback time {
	color: #8fe2ae;
	font-size: 0.78rem;
	font-weight: 900;
	font-variant-numeric: tabular-nums;
}

.live-section .theme-live-feed a,
.live-fallback a {
	color: var(--sg-white);
	font-weight: 700;
	text-decoration: none;
}

.live-section .theme-live-feed a:hover,
.live-fallback a:hover {
	text-decoration: underline;
}

.live-fallback-note {
	margin-bottom: 12px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.8rem;
}

/* Category and archive grids */
.category-section {
	margin-block: 58px;
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px 22px;
}

.listing-layout {
	min-height: 60vh;
}

.archive-header {
	max-width: 820px;
	margin-bottom: 40px;
	padding-left: 20px;
	border-left: 6px solid var(--sg-red-600);
}

.archive-header h1 {
	margin-bottom: 10px;
	font-size: clamp(2rem, 5vw, 3.4rem);
}

.archive-description {
	color: var(--sg-muted);
}

.archive-description > :last-child {
	margin-bottom: 0;
}

.post-grid--listing {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.navigation.pagination {
	margin-top: 50px;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding-inline: 13px;
	background: var(--sg-soft);
	color: var(--sg-navy-900);
	font-size: 0.85rem;
	font-weight: 800;
	text-decoration: none;
	border-radius: var(--sg-radius-sm);
}

.page-numbers.current,
.page-numbers:hover {
	background: var(--sg-navy-900);
	color: var(--sg-white);
}

.search-header-form,
.error-search,
.search-empty .search-form {
	max-width: 520px;
	margin-top: 24px;
}

.content-none,
.search-empty {
	padding: clamp(24px, 5vw, 48px);
	background: var(--sg-soft);
	border: 1px solid var(--sg-line);
	border-radius: var(--sg-radius-lg);
}

.content-none h2 {
	margin-bottom: 8px;
}

.content-none p:last-child {
	margin-bottom: 0;
}

/* Article */
.article-shell {
	max-width: 1100px;
}

.news-article {
	max-width: 960px;
	margin-inline: auto;
}

.article-header {
	max-width: 900px;
	margin-inline: auto;
	margin-bottom: 30px;
}

.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-bottom: 25px;
	color: var(--sg-muted);
	font-size: 0.76rem;
}

.breadcrumbs a {
	color: inherit;
	text-decoration: none;
}

.breadcrumbs a:hover {
	color: var(--sg-red-600);
	text-decoration: underline;
}

.article-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
}

.article-header h1 {
	max-width: 900px;
	margin: 4px 0 18px;
	font-family: var(--sg-serif);
	font-size: clamp(2.1rem, 6vw, 4.5rem);
	font-weight: 700;
	letter-spacing: -0.045em;
	line-height: 1.03;
}

.article-deck {
	max-width: 820px;
	margin-bottom: 20px;
	color: #4e5952;
	font-size: clamp(1.05rem, 2.2vw, 1.35rem);
	line-height: 1.55;
}

.article-header .post-meta {
	font-size: 0.82rem;
}

.modified-time {
	margin: 8px 0 0;
	color: var(--sg-muted);
	font-size: 0.76rem;
}

.article-featured-media {
	margin: 0 auto 38px;
}

.article-featured-media .post-image {
	border-radius: var(--sg-radius-lg);
	box-shadow: var(--sg-shadow);
}

.article-featured-media figcaption {
	margin-top: 9px;
	color: var(--sg-muted);
	font-size: 0.74rem;
}

.entry-content {
	max-width: var(--sg-copy);
	margin-inline: auto;
	font-family: var(--sg-serif);
	font-size: clamp(1.05rem, 1.4vw, 1.18rem);
	line-height: 1.83;
}

.entry-content > * {
	max-width: 100%;
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote {
	margin-bottom: 1.45em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 1.7em;
	margin-bottom: 0.7em;
	font-family: var(--sg-font);
}

.entry-content h2 {
	font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.entry-content h3 {
	font-size: clamp(1.25rem, 2.5vw, 1.65rem);
}

.entry-content a {
	color: var(--sg-navy-700);
	font-weight: 650;
}

.entry-content blockquote {
	padding: 8px 0 8px 24px;
	color: var(--sg-navy-800);
	font-size: 1.18em;
	font-style: italic;
	border-left: 5px solid var(--sg-red-600);
}

.entry-content figure,
.entry-content img,
.entry-content video,
.entry-content iframe {
	max-width: 100%;
}

.article-gallery {
	max-width: var(--sg-copy);
	margin: 38px auto 0;
}

.article-gallery h2 {
	margin: 0 0 16px;
	font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.article-gallery-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.article-gallery-grid figure {
	margin: 0;
}

.article-gallery-grid img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--sg-radius-lg);
}

@media (max-width: 640px) {
	.article-gallery-grid {
		grid-template-columns: 1fr;
	}
}

.entry-content table {
	display: block;
	width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
}

.entry-content th,
.entry-content td {
	padding: 10px 12px;
	text-align: left;
	border: 1px solid var(--sg-line);
}

.entry-content .alignwide {
	width: min(960px, calc(100vw - 40px));
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.entry-content .alignfull {
	width: 100vw;
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.san-source-credit,
.entry-content .san-source-credit {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35em;
	margin-top: 32px;
	padding-top: 12px;
	border-top: 1px solid var(--sg-line);
	color: var(--sg-muted);
	font-family: var(--sg-font);
	font-size: 0.8rem;
	line-height: 1.5;
}

.san-source-credit a {
	color: var(--sg-navy-700);
	font-weight: 700;
}

.page-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin-block: 28px;
	font-family: var(--sg-font);
	font-size: 0.85rem;
	font-weight: 800;
}

.article-footer {
	display: flex;
	max-width: var(--sg-copy);
	margin: 36px auto 0;
	padding-top: 22px;
	gap: 16px;
	border-top: 1px solid var(--sg-line);
}

.tag-label {
	color: var(--sg-muted);
	font-size: 0.75rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.tag-list a {
	padding: 5px 9px;
	background: var(--sg-soft);
	color: var(--sg-navy-700);
	font-size: 0.75rem;
	font-weight: 750;
	text-decoration: none;
	border-radius: 999px;
}

.post-navigation {
	max-width: 960px;
	margin: 50px auto;
	padding-block: 26px;
	border-block: 1px solid var(--sg-line);
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
}

.post-navigation .nav-next {
	text-align: right;
}

.post-navigation a {
	display: block;
	color: var(--sg-navy-950);
	text-decoration: none;
}

.post-navigation a:hover .nav-title {
	color: var(--sg-red-600);
}

.nav-label {
	display: block;
	margin-bottom: 5px;
	color: var(--sg-muted);
	font-size: 0.68rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.nav-title {
	font-size: 0.94rem;
	font-weight: 800;
	line-height: 1.35;
}

.related-news,
.comments-area {
	max-width: 960px;
	margin: 54px auto 0;
}

.post-grid--related {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Pages, comments and 404 */
.page-shell {
	max-width: 1000px;
}

.page-article {
	max-width: var(--sg-copy);
	margin-inline: auto;
}

.page-header h1 {
	font-size: clamp(2rem, 5vw, 3.7rem);
}

.comments-area {
	max-width: var(--sg-copy);
	padding-top: 36px;
	border-top: 1px solid var(--sg-line);
}

.comments-title,
.comment-reply-title {
	font-size: 1.5rem;
}

.comment-list {
	padding: 0;
	list-style: none;
}

.comment-list .children {
	padding-left: 28px;
	list-style: none;
}

.comment-body {
	margin-bottom: 18px;
	padding: 18px;
	background: var(--sg-soft);
	border-radius: var(--sg-radius);
}

.comment-meta {
	font-size: 0.78rem;
}

.comment-form label {
	display: block;
	margin-bottom: 5px;
	font-size: 0.8rem;
	font-weight: 800;
}

.comment-form input:not([type="checkbox"]):not([type="submit"]),
.comment-form textarea {
	width: 100%;
	padding: 12px;
	background: var(--sg-white);
	color: var(--sg-ink);
	border: 1px solid var(--sg-line);
	border-radius: var(--sg-radius-sm);
}

.submit,
.button-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 10px 18px;
	background: var(--sg-red-600);
	color: var(--sg-white);
	font-weight: 800;
	text-decoration: none;
	border: 0;
	border-radius: var(--sg-radius-sm);
	cursor: pointer;
}

.submit:hover,
.button-link:hover {
	background: var(--sg-navy-900);
	color: var(--sg-white);
}

.error-page {
	min-height: 62vh;
	padding-block: clamp(70px, 12vw, 150px);
	text-align: center;
}

.error-code {
	margin: 0;
	color: var(--sg-blue-100);
	font-size: clamp(7rem, 22vw, 15rem);
	font-weight: 900;
	letter-spacing: -0.09em;
	line-height: 0.65;
}

.error-page .eyebrow {
	margin-top: 35px;
}

.error-page h1 {
	margin-bottom: 12px;
	font-size: clamp(2rem, 5vw, 3.5rem);
}

.error-page > p:not(.error-code):not(.eyebrow) {
	max-width: 620px;
	margin-inline: auto;
	color: var(--sg-muted);
}

.error-search {
	margin-inline: auto;
	margin-bottom: 20px;
}

/* Footer */
.site-footer {
	margin-top: 44px;
	padding-top: 52px;
	background: var(--sg-navy-950);
	color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 40px;
	align-items: start;
}

.footer-title {
	margin-bottom: 10px;
	color: var(--sg-white);
	font-size: 1.45rem;
	font-weight: 900;
	letter-spacing: -0.03em;
}

.footer-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px 24px;
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
}

.footer-menu a,
.back-to-top {
	color: var(--sg-white);
	font-size: 0.82rem;
	font-weight: 750;
	text-decoration: none;
}

.footer-menu a:hover,
.back-to-top:hover {
	color: #85d9a4;
	text-decoration: underline;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-top: 38px;
	padding-block: 20px;
	font-size: 0.74rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
	margin: 0;
}

/* Responsive */
@media (max-width: 1080px) {
	.lead-grid {
		grid-template-columns: minmax(0, 1.4fr) minmax(290px, 0.9fr);
	}

	.post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.post-grid--listing {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 800px) {
	body.admin-bar {
		--sg-admin-offset: 46px;
	}

	.site-shell {
		width: min(calc(100% - 28px), var(--sg-shell));
	}

	.brand-row {
		align-items: flex-start;
		min-height: auto;
		padding-block: 16px;
	}

	.header-search {
		width: min(44%, 300px);
	}

	.navigation-enhanced .menu-toggle {
		display: flex;
	}

	.site-menu {
		flex-direction: column;
		padding-block: 6px 12px;
	}

	.navigation-enhanced .primary-navigation {
		display: none;
	}

	.navigation-enhanced .primary-navigation.is-open {
		display: block;
	}

	.site-menu > li,
	.site-menu a {
		display: block;
		width: 100%;
	}

	.site-menu a {
		padding: 10px 4px;
	}

	.site-menu .sub-menu {
		position: static;
		display: block;
		width: auto;
		padding: 0 0 3px 18px;
		background: transparent;
		border: 0;
		box-shadow: none;
	}

	.site-menu .sub-menu a {
		color: rgba(255, 255, 255, 0.82);
	}

	.site-menu .sub-menu a:hover {
		background: transparent;
		color: var(--sg-white);
	}

	.section-heading--primary {
		align-items: flex-start;
		flex-direction: column;
	}

	.lead-grid {
		grid-template-columns: 1fr;
	}

	.lead-side {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.post-card--compact {
		grid-template-columns: 112px minmax(0, 1fr);
	}

	.post-grid--listing {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.article-header h1 {
		font-family: var(--sg-font);
	}

	.footer-grid {
		grid-template-columns: 1fr;
	}

	.footer-menu {
		justify-content: flex-start;
	}
}

@media (max-width: 620px) {
	.breaking-inner {
		width: 100%;
		grid-template-columns: auto minmax(0, 1fr);
	}

	.breaking-label {
		padding-inline: 12px;
		font-size: 0.64rem;
	}

	.brand-row {
		flex-direction: column;
		gap: 14px;
	}

	.brand-mark {
		width: 52px;
	}

	.site-description {
		display: none;
	}

	.header-search {
		width: 100%;
	}

	.home-layout,
	.listing-layout,
	.article-shell,
	.page-shell {
		padding-block: 34px;
	}

	.lead-section,
	.live-section,
	.category-section {
		margin-block: 38px;
	}

	.lead-section {
		margin-top: 0;
	}

	.lead-side,
	.post-grid,
	.post-grid--listing,
	.post-grid--related {
		grid-template-columns: 1fr;
	}

	.post-card--compact {
		grid-template-columns: 108px minmax(0, 1fr);
	}

	.post-card--compact .post-meta {
		display: none;
	}

	.live-section {
		padding: 24px 18px;
		border-radius: var(--sg-radius);
	}

	.live-section-head {
		align-items: flex-start;
	}

	.live-section .theme-live-feed .san-live-items li,
	.live-fallback li {
		grid-template-columns: 48px minmax(0, 1fr);
		gap: 10px;
	}

	.section-heading {
		align-items: center;
	}

	.archive-header {
		padding-left: 14px;
		border-left-width: 4px;
	}

	.article-featured-media {
		margin-bottom: 26px;
	}

	.entry-content {
		font-size: 1.04rem;
	}

	.entry-content .alignwide {
		width: calc(100vw - 28px);
	}

	.article-footer {
		align-items: flex-start;
		flex-direction: column;
	}

	.post-navigation .nav-links {
		grid-template-columns: 1fr;
	}

	.post-navigation .nav-next {
		text-align: left;
	}

	.footer-bottom {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

@media print {
	.breaking-bar,
	.navigation-wrap,
	.header-search,
	.site-footer,
	.related-news,
	.comments-area,
	.post-navigation {
		display: none !important;
	}

	.site-shell,
	.news-article,
	.entry-content {
		width: 100%;
		max-width: none;
	}

	a {
		color: inherit;
		text-decoration: none;
	}
}

/* Editorial portal redesign — compact hierarchy inspired by established newsrooms. */
:root {
	--sg-green: #087335;
	--sg-green-dark: #055a2a;
	--sg-green-bright: #0a9344;
	--sg-green-soft: #f0f6f2;
	--sg-alert: #c52233;
	--sg-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	--sg-radius-sm: 2px;
	--sg-radius: 4px;
	--sg-radius-lg: 6px;
	--sg-shell: 1280px;
}

body {
	background: #fff;
	line-height: 1.55;
}

.utility-bar {
	min-height: 31px;
	background: var(--sg-green-soft);
	color: #626b65;
	font-size: 0.72rem;
	border-bottom: 1px solid #e1e5e9;
}

.utility-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 31px;
}

.utility-inner p {
	margin: 0;
}

.utility-inner strong {
	margin-right: 8px;
	color: var(--sg-navy-950);
	letter-spacing: 0.08em;
}

.site-header {
	border-top: 4px solid var(--sg-green);
	box-shadow: none;
}

.brand-row {
	min-height: 78px;
	padding-block: 11px;
}

.brand-mark {
	width: 52px;
	background: linear-gradient(135deg, var(--sg-green) 0 50%, #000 50% 100%);
	font-size: 1.2rem;
	border-radius: 2px;
	box-shadow: none;
}

.brand-mark:hover {
	background: linear-gradient(135deg, #000 0 50%, var(--sg-green) 50% 100%);
}

.brand-mark img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.site-title {
	font-size: clamp(1.55rem, 3vw, 2.05rem);
	letter-spacing: -0.05em;
	text-transform: uppercase;
}

.site-title-accent {
	color: var(--sg-green);
}

.site-description {
	margin-top: 5px;
	font-size: 0.72rem;
	letter-spacing: 0.02em;
}

.navigation-wrap {
	background: #000;
	border-bottom: 3px solid var(--sg-red-600);
}

.site-menu {
	min-height: 43px;
}

.site-menu a {
	padding: 11px 16px;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.015em;
	text-transform: uppercase;
}

.breaking-bar {
	background: var(--sg-white);
	color: var(--sg-navy-950);
	border-bottom: 1px solid var(--sg-line);
}

.breaking-inner,
.breaking-scroll ul {
	min-height: 43px;
}

.breaking-label {
	position: relative;
	padding-inline: 16px 22px;
	background: var(--sg-alert);
	color: var(--sg-white);
}

.breaking-label::after {
	position: absolute;
	top: 0;
	right: -13px;
	width: 14px;
	height: 100%;
	background: var(--sg-alert);
	clip-path: polygon(0 0, 100% 50%, 0 100%);
	content: "";
}

.breaking-scroll {
	margin-left: 13px;
}

.breaking-scroll li {
	border-right-color: var(--sg-line);
}

.breaking-scroll time {
	color: var(--sg-alert);
	opacity: 1;
}

.breaking-scroll a {
	color: var(--sg-navy-950);
	font-size: 0.82rem;
}

.home-layout {
	padding-block: 23px 62px;
}

.portal-section-label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 4px;
}

.portal-section-label p {
	margin: 0;
}

.edition-date {
	color: var(--sg-muted);
	font-size: 0.72rem;
}

.section-heading--primary {
	align-items: end;
	margin-bottom: 16px;
	padding-top: 10px;
	border-top: 4px solid var(--sg-green);
}

.section-heading--primary h1 {
	font-size: clamp(1.75rem, 3vw, 2.15rem);
	text-transform: uppercase;
}

.section-intro {
	font-size: 0.86rem;
	text-align: right;
}

.lead-section {
	margin-bottom: 0;
}

.post-card-title {
	overflow-wrap: break-word;
	word-break: normal;
}

.portal-lead-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.72fr) minmax(230px, 0.72fr) minmax(265px, 0.8fr);
	gap: 18px;
	align-items: stretch;
}

.portal-main-story,
.portal-main-story .post-card--hero {
	min-height: 430px;
}

.post-card--hero {
	position: relative;
	height: 100%;
	background: var(--sg-navy-950);
	border-radius: var(--sg-radius);
	overflow: hidden;
}

.post-card--hero .post-card-media {
	position: absolute;
	inset: 0;
	height: 100%;
	border-radius: 0;
	background: var(--sg-navy-950);
	box-shadow: none;
}

.post-card--hero .post-image {
	height: 100%;
	aspect-ratio: auto;
	object-fit: cover;
}

.post-card--hero .post-card-body {
	position: absolute;
	z-index: 2;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 112px 25px 23px;
	background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.94) 62%);
}

.post-card--hero .category-kicker {
	margin-bottom: 10px;
	padding: 5px 8px;
	background: var(--sg-red-600);
	color: var(--sg-white);
	font-size: 0.66rem;
}

.post-card--hero .post-card-title {
	max-width: 760px;
	margin-bottom: 9px;
	color: var(--sg-white);
	font-size: clamp(1.75rem, 3vw, 2.42rem);
	line-height: 1.08;
}

.post-card--hero .post-card-title a:hover {
	color: #fff;
	text-decoration: underline;
}

.post-card--hero .post-card-excerpt {
	display: -webkit-box;
	max-width: 690px;
	margin-bottom: 10px;
	overflow: hidden;
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.88rem;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.post-card--hero .post-meta {
	color: rgba(255, 255, 255, 0.78);
}

.portal-secondary {
	display: grid;
	grid-template-rows: repeat(2, minmax(0, 1fr));
	border-top: 4px solid var(--sg-green);
}

.post-card--tile {
	padding-block: 15px;
	border-bottom: 1px solid var(--sg-line);
}

.post-card--tile.post-card--no-media {
	display: flex;
	align-items: flex-end;
	padding-inline: 16px;
	background: var(--sg-green-soft);
}

.post-card--tile:last-child {
	border-bottom: 0;
}

.post-card--tile .post-card-media {
	margin-bottom: 11px;
	border-radius: 2px;
}

.post-card--tile .post-card-body {
	padding: 0;
}

.post-card--tile .category-kicker {
	margin-bottom: 6px;
	font-size: 0.64rem;
}

.post-card--tile .post-card-title {
	margin-bottom: 9px;
	font-size: clamp(1.05rem, 1.6vw, 1.28rem);
	line-height: 1.2;
	overflow-wrap: break-word;
	word-break: normal;
}

.post-card--tile .post-card-title a {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}

.latest-panel {
	min-width: 0;
	padding: 0 16px 8px;
	background: var(--sg-green-soft);
	border-top: 4px solid var(--sg-red-600);
}

.latest-panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-block: 12px 9px;
	border-bottom: 2px solid var(--sg-navy-950);
}

.latest-panel-head h2 {
	margin: 0;
	font-size: 1.05rem;
	text-transform: uppercase;
}

.latest-panel-head > span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--sg-red-600);
	font-size: 0.64rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.latest-panel-head i {
	width: 7px;
	height: 7px;
	background: var(--sg-red-600);
	border-radius: 50%;
	box-shadow: 0 0 0 4px rgba(8, 115, 53, 0.12);
}

.latest-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.latest-list li {
	padding-block: 10px;
	border-bottom: 1px solid #d8e4dc;
}

.latest-list li:last-child {
	border-bottom: 0;
}

.latest-list a {
	display: -webkit-box;
	overflow: hidden;
	color: var(--sg-navy-950);
	font-size: 0.84rem;
	font-weight: 800;
	line-height: 1.3;
	text-decoration: none;
	overflow-wrap: break-word;
	word-break: normal;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.latest-list a:hover {
	color: var(--sg-red-600);
}

.latest-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 3px;
	color: var(--sg-muted);
	font-size: 0.61rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.latest-meta time {
	color: var(--sg-red-600);
	font-variant-numeric: tabular-nums;
}

.source-streams {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-top: 26px;
}

.source-stream {
	min-width: 0;
	background: var(--sg-white);
	border: 1px solid var(--sg-line);
	border-top: 4px solid var(--sg-green);
}

.source-stream:last-child {
	border-top-color: var(--sg-navy-950);
}

.source-stream-heading {
	padding: 17px 20px 15px;
	border-bottom: 2px solid var(--sg-line);
}

.source-stream-heading .eyebrow {
	margin: 0 0 4px;
}

.source-stream-heading h2 {
	margin: 0;
	font-size: clamp(1.2rem, 2vw, 1.55rem);
	line-height: 1.2;
}

.source-stream-heading > p:last-child {
	margin: 5px 0 0;
	color: var(--sg-muted);
	font-size: 0.79rem;
}

.source-stream-empty {
	margin: 0;
	padding: 20px;
	color: var(--sg-muted);
	font-size: 0.85rem;
}

.source-link-card {
	padding: 14px 20px 15px;
	border-bottom: 1px solid var(--sg-line);
	transition: background-color 140ms ease;
}

.source-link-card:last-child {
	border-bottom: 0;
}

.source-link-card:hover {
	background: var(--sg-green-soft);
}

.source-link-card-top,
.source-link-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.source-link-card-top {
	margin-bottom: 6px;
	color: var(--sg-muted);
	font-size: 0.67rem;
	font-weight: 750;
}

.source-link-card-region {
	color: var(--sg-green);
	font-weight: 900;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.source-link-card-story--image {
	display: grid;
	grid-template-columns: 100px minmax(0, 1fr);
	align-items: start;
	gap: 12px;
}

.source-link-card-media {
	display: block;
	overflow: hidden;
	border-radius: 3px;
	aspect-ratio: 4 / 3;
	background: var(--sg-blue-100);
}

.source-link-card-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.source-link-card h3 {
	margin: 0;
	font-size: 0.99rem;
	line-height: 1.3;
}

.source-link-card h3 a {
	color: var(--sg-navy-950);
	text-decoration: none;
}

.source-link-card h3 a:hover,
.source-link-card-footer a:hover {
	color: var(--sg-green);
	text-decoration: underline;
}

.source-link-card-excerpt {
	display: -webkit-box;
	margin: 5px 0 0;
	overflow: hidden;
	color: var(--sg-muted);
	font-size: 0.76rem;
	line-height: 1.45;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.source-link-card-footer {
	margin-top: 9px;
	color: var(--sg-muted);
	font-size: 0.68rem;
	font-weight: 700;
}

.source-link-card-footer a {
	flex: 0 0 auto;
	color: var(--sg-green);
	text-decoration: none;
}

.district-strip {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: stretch;
	margin-top: 20px;
	background: var(--sg-white);
	border-block: 1px solid var(--sg-line);
}

.district-strip strong {
	display: flex;
	align-items: center;
	padding-inline: 17px;
	background: var(--sg-navy-950);
	color: var(--sg-white);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.district-strip > div {
	display: flex;
	overflow-x: auto;
	scrollbar-width: thin;
	scroll-snap-type: x proximity;
}

.district-strip > div::-webkit-scrollbar {
	height: 5px;
}

.district-strip a {
	flex: 0 0 auto;
	padding: 11px 14px;
	color: var(--sg-navy-950);
	font-size: 0.75rem;
	font-weight: 750;
	text-decoration: none;
	border-right: 1px solid var(--sg-line);
	scroll-snap-align: start;
}

.district-strip a:hover,
.district-strip a:focus-visible {
	background: var(--sg-green-soft);
	color: var(--sg-green);
}

.district-archive-nav {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
	margin-bottom: 32px;
}

.district-archive-nav a {
	padding: 12px 14px;
	border: 1px solid var(--sg-line);
	border-radius: 4px;
	background: var(--sg-white);
	color: var(--sg-navy-950);
	font-size: 0.85rem;
	font-weight: 750;
	text-decoration: none;
}

.district-archive-nav a:hover,
.district-archive-nav a:focus-visible,
.district-archive-nav a[aria-current="page"] {
	border-color: var(--sg-green);
	background: var(--sg-green-soft);
	color: var(--sg-green);
}

.district-empty {
	padding: 24px;
	border: 1px solid var(--sg-line);
	background: var(--sg-white);
}

.live-section {
	margin-block: 28px 38px;
	padding: 20px 22px 14px;
	background: var(--sg-white);
	color: var(--sg-ink);
	border: 1px solid var(--sg-line);
	border-top: 4px solid var(--sg-red-600);
	border-radius: 2px;
}

.live-section::after {
	display: none;
}

.live-section-head {
	margin-bottom: 8px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--sg-navy-950);
}

.live-section h2 {
	color: var(--sg-navy-950);
	font-size: 1.35rem;
}

.live-indicator {
	background: var(--sg-green-soft);
	color: var(--sg-green);
	border-color: #c8e7d9;
	border-radius: 2px;
}

.live-indicator span {
	background: var(--sg-green);
	box-shadow: 0 0 0 4px rgba(8, 122, 83, 0.1);
}

.live-section .theme-live-feed .san-live-status {
	color: var(--sg-red-600);
}

.live-section .theme-live-feed .san-live-items,
.live-fallback ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 26px;
}

.live-section .theme-live-feed .san-live-items li,
.live-fallback li {
	grid-template-columns: 48px minmax(0, 1fr);
	gap: 10px;
	padding-block: 10px;
	border-bottom-color: var(--sg-line);
}

.live-section .theme-live-feed time,
.live-fallback time {
	color: var(--sg-red-600);
}

.live-section .theme-live-feed a,
.live-fallback a {
	display: -webkit-box;
	overflow: hidden;
	color: var(--sg-navy-950);
	font-size: 0.84rem;
	line-height: 1.35;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.category-section {
	margin-block: 38px;
}

.category-section .section-heading {
	margin-bottom: 18px;
	padding-bottom: 9px;
	border-bottom-width: 3px;
}

.category-section .section-heading h2 {
	font-size: clamp(1.45rem, 2.5vw, 1.85rem);
	text-transform: uppercase;
}

.category-editorial {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.65fr);
	gap: 28px;
}

.category-feature {
	padding-right: 28px;
	border-right: 1px solid var(--sg-line);
}

.post-card--section.post-card--no-media {
	display: flex;
	min-height: 260px;
	background: var(--sg-green-soft);
	border-top: 5px solid var(--sg-green);
}

.post-card--section.post-card--no-media .post-card-body {
	align-self: end;
	padding: 24px;
}

.post-card--section .post-card-media {
	border-radius: 2px;
}

.post-card--section .post-card-title {
	font-size: clamp(1.42rem, 2.5vw, 1.9rem);
	line-height: 1.12;
}

.post-card--section .post-card-excerpt {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.category-news-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 24px;
}

.post-card--list {
	min-height: 116px;
	padding-block: 13px;
	border-top: 1px solid var(--sg-line);
}

.post-card--list:nth-child(-n+2) {
	padding-top: 0;
	border-top: 0;
}

.post-card--list.post-card--has-media {
	display: grid;
	grid-template-columns: 108px minmax(0, 1fr);
	gap: 13px;
}

.post-card--list .post-card-media {
	align-self: start;
	border-radius: 2px;
}

.post-card--list .post-card-media-note {
	display: none;
}

.post-card--list .post-card-body {
	padding-top: 0;
}

.post-card--list .category-kicker {
	margin-bottom: 5px;
	font-size: 0.62rem;
}

.post-card--list .post-card-title {
	margin-bottom: 8px;
	font-size: 1rem;
	line-height: 1.25;
}

.post-card--list .post-card-title a {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.post-card--list .post-meta {
	font-size: 0.66rem;
}

.post-card--list .post-meta > *::before {
	display: none;
}

.post-card--standard.post-card--no-media,
.post-card--compact.post-card--no-media {
	padding-top: 12px;
	border-top: 3px solid var(--sg-green);
}

.post-card--compact.post-card--no-media {
	display: block;
}

.post-card:hover .post-image:not(.is-placeholder) {
	transform: none;
}

@media (max-width: 1080px) {
	.portal-lead-grid {
		grid-template-columns: minmax(0, 1.45fr) minmax(245px, 0.75fr);
	}

	.latest-panel {
		grid-column: 1 / -1;
	}

	.latest-list {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0 20px;
	}

	.latest-list li:nth-child(-n+3) {
		border-top: 0;
	}
}

@media (max-width: 800px) {
	.district-archive-nav {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.source-streams {
		grid-template-columns: 1fr;
	}

	.portal-lead-grid {
		grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.8fr);
	}

	.latest-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.category-editorial {
		grid-template-columns: 1fr;
	}

	.category-feature {
		padding-right: 0;
		padding-bottom: 22px;
		border-right: 0;
		border-bottom: 1px solid var(--sg-line);
	}
}

@media (max-width: 620px) {
	.district-archive-nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.source-streams {
		gap: 14px;
	}

	.source-stream-heading,
	.source-link-card,
	.source-stream-empty {
		padding-inline: 14px;
	}

	.utility-inner p:last-child {
		display: none;
	}

	.brand-row {
		align-items: center;
		flex-direction: row;
		gap: 10px;
		min-height: 62px;
		padding-block: 8px;
	}

	.brand-mark {
		width: 44px;
	}

	.site-title {
		font-size: 1.28rem;
	}

	.header-search {
		display: none;
	}

	.breaking-label {
		padding-inline: 10px 16px;
		font-size: 0.6rem;
	}

	.breaking-scroll li {
		padding-inline: 12px;
	}

	.home-layout {
		padding-block: 18px 38px;
	}

	.portal-section-label {
		align-items: flex-start;
	}

	.edition-date {
		text-align: right;
	}

	.section-heading--primary {
		align-items: flex-start;
		gap: 5px;
		margin-bottom: 12px;
	}

	.section-heading--primary h1 {
		font-size: 1.55rem;
	}

	.section-intro {
		font-size: 0.78rem;
		text-align: left;
	}

	.portal-lead-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.portal-main-story,
	.portal-main-story .post-card--hero {
		min-height: 350px;
	}

	.post-card--hero .post-card-body {
		padding: 86px 17px 17px;
	}

	.post-card--hero .post-card-title {
		font-size: 1.55rem;
	}

	.post-card--hero .post-card-excerpt {
		display: none;
	}

	.portal-secondary {
		grid-template-rows: auto;
		grid-template-columns: 1fr;
	}

	.post-card--tile {
		padding-block: 12px;
	}

	.latest-panel {
		padding-inline: 13px;
	}

	.latest-list {
		grid-template-columns: 1fr;
	}

	.district-strip {
		width: 100%;
		margin-left: 0;
	}

	.district-strip strong {
		padding-inline: 12px;
	}

	.live-section {
		padding: 16px 14px 10px;
	}

	.live-section .theme-live-feed .san-live-items,
	.live-fallback ul {
		grid-template-columns: 1fr;
	}

	.category-section {
		margin-block: 32px;
	}

	.category-news-list {
		grid-template-columns: 1fr;
	}

	.post-card--list:nth-child(2) {
		padding-top: 13px;
		border-top: 1px solid var(--sg-line);
	}

	.post-card--section.post-card--no-media {
		min-height: auto;
	}

	.post-card--section.post-card--no-media .post-card-body {
		padding: 20px;
	}
}
