:root {
	--bg: #ffffff;
	--surface: #f7f8fa;
	--text: #15171a;
	--muted: #626a73;
	--line: #dfe3e8;
	--brand: #b42318;
	--brand-dark: #8f1d15;
	--link: #174ea6;
	--max: 1180px;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.6;
}

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

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

a:hover {
	color: var(--brand);
}

.container {
	width: min(100% - 32px, var(--max));
	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;
}

.topbar {
	background: var(--surface);
	border-bottom: 1px solid var(--line);
	color: var(--muted);
	font-size: 14px;
}

.topbar-inner,
.masthead,
.nav-inner,
.footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.topbar-inner {
	min-height: 42px;
}

.masthead {
	padding: 20px 0;
}

.site-title {
	color: var(--brand);
	font-size: 32px;
	font-weight: 800;
	line-height: 1.1;
}

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

.site-nav {
	background: var(--brand);
	color: #fff;
}

.site-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav a {
	display: block;
	padding: 13px 14px;
	font-weight: 700;
}

.site-nav a:hover {
	background: var(--brand-dark);
	color: #fff;
}

.menu-toggle {
	display: none;
	border: 0;
	background: var(--brand-dark);
	color: #fff;
	padding: 10px 14px;
	font-weight: 700;
}

.search-form {
	display: flex;
	gap: 8px;
}

.search-field {
	width: min(42vw, 260px);
	border: 1px solid var(--line);
	padding: 9px 10px;
}

.search-form button {
	border: 0;
	background: var(--brand);
	color: #fff;
	padding: 9px 12px;
	font-weight: 700;
}

.site-main {
	padding: 24px 0 42px;
}

.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 30px;
	align-items: start;
}

.narrow {
	max-width: 860px;
}

.editorial-row {
	padding: 24px 0 34px;
	margin-bottom: 28px;
	border-bottom: 1px solid var(--line);
}

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

.lead-media,
.post-card-media,
.compact-media {
	background: var(--surface);
	overflow: hidden;
}

.lead-media {
	height: 260px;
}

.post-card-media {
	height: 142px;
}

.compact-media {
	height: 82px;
}

.lead-media img,
.post-card-media img,
.compact-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.compact-story {
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr);
	gap: 12px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--line);
}

.compact-story:last-child {
	border-bottom: 0;
}

.compact-story h2 {
	margin: 4px 0 6px;
	font-size: 18px;
	line-height: 1.28;
}

.lead-body h1 {
	margin: 6px 0 8px;
	font-size: 28px;
	line-height: 1.12;
}

.entry-title {
	margin: 6px 0 10px;
	font-size: clamp(30px, 4vw, 46px);
	line-height: 1.12;
}

.lead-body p {
	color: var(--muted);
	margin: 10px 0 0;
}

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

.post-card {
	border-bottom: 1px solid var(--line);
	padding-bottom: 16px;
}

.post-card h2 {
	margin: 9px 0 8px;
	font-size: 20px;
	line-height: 1.24;
	font-weight: 800;
}

.entry-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 8px 0 4px;
}

.entry-cats a {
	color: var(--brand);
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	color: var(--muted);
	font-size: 13px;
}

.article-main {
	max-width: 820px;
}

.featured-media {
	margin: 20px 0;
}

.featured-media img {
	width: 100%;
	height: 360px;
	object-fit: cover;
}

.entry-content {
	font-size: 19px;
	line-height: 1.8;
}

.entry-content a {
	color: var(--link);
	text-decoration: underline;
}

.tag-links {
	margin-top: 28px;
}

.tag-links a {
	display: inline-block;
	border: 1px solid var(--line);
	margin: 0 8px 8px 0;
	padding: 5px 9px;
	color: var(--muted);
}

.sidebar {
	position: sticky;
	top: 12px;
}

.widget {
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
}

.widget-title,
.section-title h2,
.archive-header h1 {
	margin: 0 0 14px;
	font-size: 26px;
	line-height: 1.2;
}

.section-title h2 {
	color: var(--brand);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 30px;
}

.ad-slot {
	min-height: 80px;
	display: grid;
	place-items: center;
	background: var(--surface);
	border: 1px dashed #c4c9d0;
	color: var(--muted);
	overflow: hidden;
}

.ad-header {
	width: min(728px, 100%);
	min-height: 90px;
}

.ad-after-title,
.ad-inline {
	margin: 18px 0;
}

.site-footer {
	border-top: 1px solid var(--line);
	background: var(--surface);
	color: var(--muted);
	padding: 22px 0;
}

.site-footer ul {
	display: flex;
	gap: 14px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-links {
	display: flex;
	gap: 10px;
	margin-top: 24px;
}

.nav-links a,
.nav-links span {
	border: 1px solid var(--line);
	padding: 8px 12px;
}

@media (max-width: 900px) {
	.layout {
		grid-template-columns: 1fr;
	}

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

	.sidebar {
		position: static;
	}

	.masthead,
	.topbar-inner {
		align-items: stretch;
		flex-direction: column;
	}

	.ad-header {
		width: 100%;
	}

	.lead-media {
		height: 240px;
	}

	.post-card-media {
		height: 160px;
	}

	.featured-media img {
		height: 300px;
	}
}

@media (max-width: 680px) {
	.container {
		width: min(100% - 24px, var(--max));
	}

	.menu-toggle {
		display: block;
	}

	.nav-inner {
		align-items: stretch;
		flex-direction: column;
		gap: 0;
	}

	.site-nav ul {
		display: none;
		flex-direction: column;
		width: 100%;
	}

	.site-nav ul.is-open {
		display: flex;
	}

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

	.editorial-grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.compact-story {
		grid-template-columns: 116px minmax(0, 1fr);
	}

	.lead-media {
		height: 220px;
	}

	.post-card-media {
		height: 168px;
	}

	.compact-media {
		height: 74px;
	}

	.featured-media img {
		height: 240px;
	}

	.entry-content {
		font-size: 18px;
	}

	.search-form,
	.footer-inner {
		align-items: stretch;
		flex-direction: column;
	}

	.search-field {
		width: 100%;
	}
}
@media (min-width: 769px) {
.post-card-media img {
    max-width: 100% !important;
    max-height: 100%;
    text-align: center;
}
}

@media (max-width: 680px) {
    .post-card-media {
        height: 168px !important;
        overflow: hidden;
        display: block !important;
    }
}