/**
 * Clever Debates — monochrome, content-first.
 * System fonts only for TTFB and CLS.
 */
:root {
	--cd-bg: #ffffff;
	--cd-fg: #0a0a0a;
	--cd-muted: #5c5c5c;
	--cd-line: #e8e8e8;
	--cd-line-strong: #0a0a0a;
	--cd-max: 1120px;
	--cd-space: 1.25rem;
	--cd-font: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", Arial, sans-serif;
	--cd-header-bg: #0a0a0a;
	--cd-header-fg: #f5f5f5;
	--cd-header-muted: rgba(245, 245, 245, 0.72);
	--cd-live: #ff5a1f;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	overflow-x: clip;
	max-width: 100%;
}

body {
	margin: 0;
	overflow-x: clip;
	max-width: 100%;
	font-family: var(--cd-font);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--cd-fg);
	background: var(--cd-bg);
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: rgba(10, 10, 10, 0.12);
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

#page.site {
	overflow-x: clip;
	max-width: 100%;
}

/* Long words, embeds, and block media should never widen the document */
.entry-content,
.cd-article__body {
	overflow-wrap: anywhere;
	word-break: break-word;
}

.entry-content img,
.entry-content video,
.entry-content svg,
.cd-article__body img,
.cd-article__body video,
.cd-article__body svg {
	max-width: 100%;
	height: auto;
}

.entry-content iframe,
.cd-article__body iframe {
	max-width: 100%;
}

.wp-block-embed .wp-block-embed__wrapper,
.entry-content .wp-block-embed {
	max-width: 100%;
}

.entry-content .wp-block-emoji img,
.cd-article__body .wp-block-emoji img {
	width: 1.1em !important;
	height: 1.1em !important;
	max-width: 1.75rem !important;
	max-height: 1.75rem !important;
	display: inline;
	vertical-align: -0.15em;
}

.entry-content pre,
.cd-article__body pre {
	overflow-x: auto;
	max-width: 100%;
	-webkit-overflow-scrolling: touch;
}

.entry-content .wp-block-table,
.cd-article__body .wp-block-table {
	overflow-x: auto;
	max-width: 100%;
	-webkit-overflow-scrolling: touch;
}

/* Static pages: keep accidental hero-sized headings readable */
.cd-page-article .entry-content h1 {
	font-size: clamp(1.5rem, 5vw, 2.25rem);
	line-height: 1.2;
}

.cd-page-article .entry-content h2 {
	font-size: clamp(1.25rem, 3.5vw, 1.65rem);
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover {
	text-decoration: underline;
}

.cd-container {
	width: min(100% - 2rem, var(--cd-max));
	margin-inline: auto;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	word-wrap: normal !important;
}

/* Skip */
.cd-skip {
	position: absolute;
	left: 0.5rem;
	top: -100px;
	z-index: 100000;
	padding: 0.5rem 1rem;
	background: var(--cd-fg);
	color: var(--cd-bg);
	font-weight: 600;
}

.cd-skip:focus {
	top: 0.5rem;
}

/* Ads — reserved space reduces CLS; layout containment limits reflow from third-party iframes (CWV). */
.cd-ad-slot,
.cd-ad-adsense {
	contain: layout;
}

.cd-ad-slot {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 90px;
	margin: 0 auto;
	padding: 0.5rem 0;
	border: 1px dashed var(--cd-line);
	background: #fafafa;
	color: var(--cd-muted);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.cd-ad-slot--leader {
	min-height: 100px;
	max-width: 728px;
}

.cd-ad-slot--mobile {
	min-height: 280px;
	max-width: 336px;
}

.cd-ad-slot--inarticle {
	min-height: 280px;
	margin: 2rem 0;
}

.cd-ad-slot--sidebar {
	min-height: 280px;
	margin-bottom: 1.5rem;
}

@media (min-width: 769px) {
	.cd-ad-slot--mobile {
		display: none;
	}
}

@media (max-width: 768px) {
	.cd-ad-slot--leader {
		display: none;
	}
}

/* Do not hide slots once Google AdSense (or other ad iframes) has rendered inside */
.cd-ad-slot:has(ins.adsbygoogle),
.cd-ad-slot:has(iframe[src*="googlesyndication"]),
.cd-ad-slot:has(iframe[src*="doubleclick.net"]),
.cd-ad-adsense:has(ins.adsbygoogle) {
	display: flex !important;
	visibility: visible !important;
	opacity: 1 !important;
	pointer-events: auto !important;
}

/* Header — dark, not sticky */
.cd-site-header {
	position: relative;
	z-index: 50;
	background: var(--cd-header-bg);
	color: var(--cd-header-fg);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* Header row: logo + nav inline (desktop); hamburger + stacked nav (mobile) */
.cd-header-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem 1.25rem;
	padding: 0.75rem 0;
}

.cd-header-brand {
	order: 1;
	display: flex;
	align-items: center;
	min-width: 0;
}

.cd-header-inner .cd-hamburger {
	order: 2;
	margin-left: auto;
}

.cd-nav.cd-nav--inline {
	order: 3;
	flex: 1 1 100%;
	width: 100%;
	display: none;
	margin: 0;
	padding: 0.35rem 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cd-nav.cd-nav--inline.is-open {
	display: block;
}

@media (min-width: 900px) {
	.cd-header-inner {
		flex-wrap: nowrap;
		padding: 0.85rem 0;
		gap: 1.5rem;
	}

	.cd-header-inner .cd-hamburger {
		display: none;
	}

	.cd-nav.cd-nav--inline {
		order: 2;
		flex: 1 1 auto;
		width: auto;
		min-width: 0;
		display: block !important;
		padding: 0;
		border: 0;
		margin: 0;
	}
}

.cd-logo {
	display: block;
	line-height: 0;
}

.cd-logo img,
.cd-logo .custom-logo {
	width: auto;
	max-height: 56px;
	max-width: min(280px, 78vw);
	object-fit: contain;
}

.cd-logo--footer img,
.cd-logo--footer .custom-logo {
	max-height: 44px;
	max-width: 220px;
}

.cd-logo--custom a {
	display: inline-block;
	line-height: 0;
}

.cd-header-brand .cd-logo--custom {
	display: flex;
	align-items: center;
}

.cd-logo__text {
	font-weight: 800;
	font-size: 1.35rem;
	letter-spacing: -0.02em;
}

.cd-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid rgba(255, 255, 255, 0.45);
	background: transparent;
	color: var(--cd-header-fg);
	cursor: pointer;
	touch-action: manipulation;
	transition: background 0.22s ease, border-color 0.22s ease, transform 0.18s ease, color 0.18s ease;
}

.cd-icon-btn:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: #fff;
	transform: scale(1.05);
}

/* Primary nav (header) */
.cd-nav {
	display: none;
}

.cd-nav.is-open {
	display: block;
}

.cd-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cd-nav > ul > li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cd-nav a {
	display: block;
	padding: 0.65rem 0;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	color: var(--cd-header-fg);
	transition: color 0.2s ease, opacity 0.2s ease;
}

.cd-nav a:hover {
	color: #fff;
	text-decoration: underline;
}

.cd-nav .sub-menu {
	padding-left: 1rem;
	margin-bottom: 0.5rem;
}

.cd-nav .sub-menu a {
	font-weight: 500;
	padding: 0.4rem 0;
	font-size: 0.9rem;
}

@media (min-width: 900px) {
	.cd-hamburger {
		display: none;
	}

	.cd-nav {
		display: block !important;
	}

	.cd-nav > ul {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 0 1.25rem;
	}

	.cd-nav > ul > li {
		border: 0;
		position: relative;
	}

	.cd-nav > ul > li > a {
		padding: 0.75rem 0;
	}

	.cd-nav .menu-item-has-children:hover > .sub-menu,
	.cd-nav .menu-item-has-children:focus-within > .sub-menu {
		display: block;
	}

	.cd-nav .sub-menu {
		display: none;
		position: absolute;
		left: 0;
		top: 100%;
		min-width: 220px;
		padding: 0.5rem 0.75rem;
		background: #141414;
		border: 1px solid rgba(255, 255, 255, 0.18);
		box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
		z-index: 40;
	}

	.cd-nav .sub-menu a {
		padding: 0.35rem 0;
	}
}

/* Live — last item, prominent pill + pulse */
.cd-nav > ul > li.menu-item-live {
	margin-top: 0;
}

@media (min-width: 900px) {
	.cd-nav > ul > li.menu-item-live {
		margin-left: auto;
	}
}

@media (max-width: 899px) {
	.cd-nav > ul > li.menu-item-live {
		margin-top: 0.5rem;
		padding-top: 0.65rem;
		border-top: 1px solid rgba(255, 255, 255, 0.14);
	}
}

.cd-nav-live {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.48rem 1.05rem 0.48rem 0.78rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 170, 120, 0.98);
	background: linear-gradient(165deg, rgba(255, 130, 70, 0.55) 0%, rgba(255, 75, 25, 0.32) 48%, rgba(28, 28, 28, 0.65) 100%);
	box-shadow:
		0 0 0 1px rgba(0, 0, 0, 0.45),
		0 0 0 1px rgba(255, 140, 90, 0.35) inset,
		0 4px 20px rgba(255, 90, 31, 0.42),
		0 0 28px rgba(255, 100, 40, 0.35);
	font-weight: 800;
	font-size: 0.8rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #fff;
	text-decoration: none;
	line-height: 1.2;
	animation: cd-live-pill-glow 2.8s ease-in-out infinite;
}

.cd-nav a.cd-nav-live:hover {
	color: #fff;
	text-decoration: none;
	border-color: #fff;
	background: linear-gradient(165deg, rgba(255, 155, 95, 0.62) 0%, rgba(255, 95, 45, 0.42) 100%);
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.28),
		0 0 0 1px rgba(255, 200, 160, 0.25) inset,
		0 8px 28px rgba(255, 90, 31, 0.55),
		0 0 36px rgba(255, 120, 60, 0.45);
	animation: none;
}

@keyframes cd-live-pill-glow {
	0%,
	100% {
		box-shadow:
			0 0 0 1px rgba(0, 0, 0, 0.45),
			0 0 0 1px rgba(255, 140, 90, 0.35) inset,
			0 4px 20px rgba(255, 90, 31, 0.42),
			0 0 28px rgba(255, 100, 40, 0.35);
	}

	50% {
		box-shadow:
			0 0 0 1px rgba(0, 0, 0, 0.45),
			0 0 0 1px rgba(255, 180, 120, 0.5) inset,
			0 6px 26px rgba(255, 90, 31, 0.55),
			0 0 40px rgba(255, 130, 70, 0.5);
	}
}

.cd-nav > ul > li.menu-item-live > a {
	padding: 0;
}

.cd-live-dot {
	display: inline-block;
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	background: var(--cd-live);
	box-shadow:
		0 0 0 2px rgba(255, 90, 31, 0.45),
		0 0 12px rgba(255, 120, 60, 0.75);
	animation: cd-live-pulse 1.6s ease-in-out infinite;
}

@keyframes cd-live-pulse {
	0%,
	100% {
		opacity: 1;
		transform: scale(1);
	}

	50% {
		opacity: 0.82;
		transform: scale(0.9);
	}
}

/* Search form (404, etc.) — light surface */
.cd-search-form {
	margin: 1rem 0 0;
	max-width: 28rem;
}

.cd-search-form input[type="search"] {
	width: 100%;
	padding: 0.6rem 0.75rem;
	border: 1px solid var(--cd-line);
	font: inherit;
	background: var(--cd-bg);
	color: var(--cd-fg);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cd-search-form input[type="search"]::placeholder {
	color: var(--cd-muted);
}

.cd-search-form input[type="search"]:focus {
	outline: none;
	border-color: var(--cd-fg);
	box-shadow: 0 0 0 2px rgba(10, 10, 10, 0.12);
}

.cd-search-form button {
	margin-top: 0.5rem;
	padding: 0.5rem 1.15rem;
	border: 1px solid var(--cd-fg);
	background: var(--cd-fg);
	color: var(--cd-bg);
	font-weight: 600;
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.15s ease;
}

.cd-search-form button:hover {
	opacity: 0.88;
	transform: translateY(-1px);
}

/* Mobile menu overlay */
.cd-nav-overlay {
	position: fixed;
	inset: 0;
	z-index: 40;
	background: rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(3px);
}

body.cd-nav-open {
	overflow: hidden;
}

/* Layout */
.cd-layout {
	display: grid;
	gap: 2rem;
	padding: 2rem 0 3rem;
}

@media (min-width: 960px) {
	.cd-layout--with-sidebar {
		grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
		align-items: start;
	}
}

/* Home: full-width main, no sidebar */
.cd-layout.cd-layout--home {
	grid-template-columns: 1fr;
}

.cd-container.cd-layout.cd-layout--home {
	max-width: 1220px;
	width: min(100% - 2rem, 1220px);
}

@media (min-width: 1040px) {
	.cd-grid.cd-grid--3.cd-grid--home-cats {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.cd-main {
	min-width: 0;
}

.cd-main--home .cd-hero-lead__thumb {
	border-radius: 10px;
	overflow: hidden;
}

/* Front page — CWV: paint only what is needed early; LCP (lead hero) stays in normal flow */
.cd-home-aj__rail {
	content-visibility: auto;
	contain-intrinsic-size: 600px;
}
.cd-main--home .cd-section.cd-home-feed,
.cd-main--home .cd-section[aria-labelledby="cdEditorsLabel"],
.cd-main--home .cd-cat-section,
.cd-main--home .cd-nl-band {
	content-visibility: auto;
	contain-intrinsic-size: 500px;
}

/* Front page */
.cd-hero-tagline {
	font-size: clamp(1.15rem, 2.5vw, 1.35rem);
	font-weight: 600;
	max-width: 42rem;
	margin: 0 0 2rem;
	line-height: 1.4;
	letter-spacing: -0.01em;
}

.cd-section {
	margin-bottom: 2.75rem;
}

.cd-section__grid {
	margin-top: 2rem;
}

.cd-section__title {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-weight: 800;
	margin: 0 0 1rem;
	border-bottom: 2px solid var(--cd-fg);
	padding-bottom: 0.35rem;
	display: inline-block;
}

/* Home — one block per category */
.cd-cat-section {
	padding-top: 0.5rem;
	border-top: 1px solid var(--cd-line);
}

.cd-cat-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	margin-bottom: 1.25rem;
}

.cd-cat-section__title {
	margin-bottom: 0;
}

.cd-cat-section__more {
	font-weight: 800;
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	text-decoration: none;
	color: var(--cd-fg);
	border-bottom: 2px solid var(--cd-fg);
	padding-bottom: 0.35rem;
	transition: opacity 0.2s ease, letter-spacing 0.25s ease;
}

.cd-cat-section__more:hover {
	opacity: 0.75;
	letter-spacing: 0.12em;
}

.cd-cat-section__empty {
	margin: 0;
	color: var(--cd-muted);
	font-size: 0.95rem;
}

.cd-grid {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 640px) {
	.cd-grid--2 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 900px) {
	.cd-grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Cards */
.cd-card {
	border: 1px solid var(--cd-line);
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--cd-bg);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
	transition:
		border-color 0.22s ease,
		transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.3s ease;
}

.cd-card:hover {
	border-color: rgba(10, 10, 10, 0.35);
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.cd-grid--stagger .cd-card:nth-child(1) {
	transition-delay: 0.02s;
}

.cd-grid--stagger .cd-card:nth-child(2) {
	transition-delay: 0.06s;
}

.cd-grid--stagger .cd-card:nth-child(3) {
	transition-delay: 0.1s;
}

.cd-grid--stagger .cd-card:nth-child(4) {
	transition-delay: 0.14s;
}

.cd-card__link {
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.cd-card__thumb {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: linear-gradient(145deg, #f4f4f4 0%, #e4e4e4 45%, #dadada 100%);
}

.cd-card__thumb--placeholder {
	position: relative;
	background: linear-gradient(125deg, #ececec 0%, #dedede 40%, #d0d0d0 100%);
}

.cd-card__thumb--placeholder::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 30% 35%, rgba(255, 255, 255, 0.55) 0%, transparent 55%);
	opacity: 0.9;
	pointer-events: none;
}

.cd-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.cd-card:hover .cd-card__thumb img {
	transform: scale(1.04);
}

.cd-card__body {
	padding: 1rem 1rem 1.15rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.cd-card__cat {
	font-size: 0.68rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 800;
	color: #1d4ed8;
	margin-bottom: 0.35rem;
}

.cd-main--archive .cd-card__cat {
	color: #1e40af;
}

.cd-card__title {
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0;
	line-height: 1.35;
}

.cd-card__dek {
	margin: 0.35rem 0 0;
	font-size: 0.95rem;
	color: var(--cd-muted);
	line-height: 1.45;
	flex: 1;
}

.cd-card__meta {
	margin-top: auto;
	padding-top: 0.65rem;
	font-size: 0.8rem;
	color: var(--cd-muted);
}

.cd-main--archive .cd-archive-load-more__grid {
	gap: 1.35rem;
}

@media (min-width: 900px) {
	.cd-main--archive .cd-archive-load-more__grid {
		gap: 1.85rem;
	}
}

/* Contact page */
.cd-contact-page__intro {
	margin-bottom: 1.25rem;
}

.cd-contact-page__form-section {
	margin-top: 0.25rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--cd-line);
}

.cd-contact-page__form-title {
	font-size: 1.2rem;
	margin: 0 0 1rem;
	font-weight: 800;
}

.cd-contact-form__hp {
	position: absolute;
	left: -999em;
	width: 1px;
	height: 1px;
	overflow: hidden;
	margin: 0;
	padding: 0;
	border: 0;
}

.cd-contact-form__field {
	margin: 0 0 1rem;
}

.cd-contact-form__field label {
	display: block;
	font-weight: 700;
	font-size: 0.9rem;
	margin-bottom: 0.35rem;
}

.cd-contact-form__field input,
.cd-contact-form__field textarea {
	width: 100%;
	max-width: 100%;
	padding: 0.65rem 0.75rem;
	font: inherit;
	border: 1px solid var(--cd-line-strong);
	border-radius: 6px;
	background: var(--cd-bg);
}

.cd-contact-form__field textarea {
	resize: vertical;
	min-height: 8rem;
}

.cd-contact-form__submit {
	margin: 1.25rem 0 0;
}

.cd-contact-form__button {
	cursor: pointer;
	padding: 0.72rem 1.4rem;
	font-weight: 800;
	border-radius: 6px;
	border: 1px solid var(--cd-fg);
	background: var(--cd-fg);
	color: var(--cd-bg);
	font-size: 0.95rem;
}

.cd-contact-form__button:hover {
	opacity: 0.9;
}

.cd-contact-form__notice {
	padding: 0.85rem 1rem;
	border-radius: 6px;
	margin: 0 0 1rem;
	font-size: 0.98rem;
}

.cd-contact-form__notice--success {
	background: #ecfdf5;
	border: 1px solid #10b981;
	color: #065f46;
}

.cd-contact-form__notice--error {
	background: #fef2f2;
	border: 1px solid #f87171;
	color: #991b1b;
}

.cd-contact-form .required {
	color: #b91c1c;
}

/* Hero lead */
.cd-hero-lead {
	margin-bottom: 2rem;
}

.cd-hero-lead__link {
	text-decoration: none;
	color: inherit;
	display: block;
}

.cd-hero-lead__thumb {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #eee;
	margin-bottom: 1rem;
	border: 1px solid var(--cd-line-strong);
}

.cd-hero-lead__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cd-hero-lead__title {
	font-size: clamp(1.5rem, 4vw, 2.25rem);
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 0.5rem;
}

.cd-hero-lead__dek {
	margin: 0;
	color: var(--cd-muted);
	font-size: 1.05rem;
}

/* Archive */
.cd-archive__title {
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	margin: 0 0 0.5rem;
	font-weight: 800;
}

.cd-archive__desc {
	color: var(--cd-muted);
	margin: 0 0 1.5rem;
	max-width: 40rem;
}

/* Single */
.cd-breadcrumbs-wrap {
	padding-top: 1rem;
}

.cd-breadcrumbs {
	font-size: 0.85rem;
	color: var(--cd-muted);
	margin-bottom: 1rem;
}

.cd-breadcrumbs a {
	text-decoration: none;
}

.cd-breadcrumbs a:hover {
	text-decoration: underline;
}

/* Single / page — flush hero (no top/side gutter on image band) */
.cd-single-hero-wrap {
	position: relative;
	box-sizing: border-box;
}

.cd-single-hero-wrap--flush {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.cd-layout.cd-layout--after-hero {
	padding-top: 0;
}

/* Archives: breathing room between flush hero and post grid */
.cd-layout.cd-layout--after-hero .cd-main--archive {
	padding-top: clamp(1.35rem, 3.2vw, 2.65rem);
}

/* Contact / About: block content sometimes outputs huge emoji/SVG or list markers */
body.page-contact .cd-contact-page__intro img.emoji,
body.page-template-page-contact .cd-contact-page__intro img.emoji,
body.page-about-us .cd-page-article .entry-content img.emoji,
body.page-about .cd-page-article .entry-content img.emoji {
	width: 1.25em !important;
	height: 1.25em !important;
	max-width: 1.25em !important;
	max-height: 1.25em !important;
	display: inline !important;
	vertical-align: -0.12em;
	object-fit: contain;
}

body.page-contact .cd-contact-page__intro svg,
body.page-template-page-contact .cd-contact-page__intro svg,
body.page-about-us .cd-page-article .entry-content svg,
body.page-about .cd-page-article .entry-content svg {
	max-width: 2.75rem;
	max-height: 2.75rem;
	width: auto;
	height: auto;
	display: inline-block;
	vertical-align: middle;
}

body.page-contact .cd-contact-page__intro .wp-block-social-links svg,
body.page-template-page-contact .cd-contact-page__intro .wp-block-social-links svg,
body.page-about-us .cd-page-article .entry-content .wp-block-social-links svg,
body.page-about .cd-page-article .entry-content .wp-block-social-links svg {
	max-width: 1.35rem;
	max-height: 1.35rem;
}

body.page-contact .cd-contact-page__intro ol,
body.page-contact .cd-contact-page__intro ul,
body.page-template-page-contact .cd-contact-page__intro ol,
body.page-template-page-contact .cd-contact-page__intro ul,
body.page-about-us .cd-page-article .entry-content ol,
body.page-about-us .cd-page-article .entry-content ul,
body.page-about .cd-page-article .entry-content ol,
body.page-about .cd-page-article .entry-content ul {
	font-size: 1rem;
	line-height: 1.55;
}

body.page-contact .cd-contact-page__intro .wp-block-list li,
body.page-template-page-contact .cd-contact-page__intro .wp-block-list li,
body.page-about-us .cd-page-article .entry-content .wp-block-list li,
body.page-about .cd-page-article .entry-content .wp-block-list li {
	font-size: 1rem;
}

body.page-contact .cd-contact-page__intro li.has-huge-font-size,
body.page-template-page-contact .cd-contact-page__intro li.has-huge-font-size,
body.page-about-us .cd-page-article .entry-content li.has-huge-font-size,
body.page-about .cd-page-article .entry-content li.has-huge-font-size {
	font-size: 1rem !important;
	line-height: 1.5 !important;
}

.cd-single-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: min(48vw, 380px);
	max-height: min(72vw, 520px);
	overflow: hidden;
	background: #141414;
	color: #fff;
}

.cd-single-hero--no-image {
	min-height: 220px;
	max-height: none;
}

.cd-single-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.cd-single-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.cd-single-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.7) 55%, rgba(0, 0, 0, 0.88) 100%);
	pointer-events: none;
}

.cd-single-hero--no-image .cd-single-hero__overlay {
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.82) 100%);
}

.cd-single-hero__content {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: var(--cd-max);
	margin: 0 auto;
	padding: 1.5rem min(1.25rem, 4vw) 2rem;
	box-sizing: border-box;
}

.cd-breadcrumbs--hero {
	color: rgba(255, 255, 255, 0.88);
	margin: 0 0 0.65rem;
	font-size: 0.88rem;
}

.cd-breadcrumbs--hero a {
	color: rgba(255, 255, 255, 0.94);
	text-decoration: none;
}

.cd-breadcrumbs--hero a:hover {
	color: #fff;
	text-decoration: underline;
}

.cd-single-hero__title {
	font-size: clamp(1.65rem, 5vw, 2.75rem);
	font-weight: 800;
	line-height: 1.12;
	margin: 0;
	letter-spacing: -0.03em;
	color: #fff;
	text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}

.cd-archive-hero__kicker {
	margin: 0 0 0.35rem;
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: rgba(255, 255, 255, 0.82);
}

.cd-archive-hero__desc {
	margin: 0.75rem 0 0;
	max-width: 40rem;
	font-size: 0.98rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.9);
}

.cd-archive-hero__desc p {
	margin: 0 0 0.5rem;
}

.cd-archive-load-more__actions {
	margin: 2rem 0 0;
	text-align: center;
}

.cd-load-more-btn {
	display: inline-block;
	padding: 0.65rem 1.5rem;
	border: 2px solid var(--cd-fg);
	background: var(--cd-fg);
	color: var(--cd-bg);
	font-weight: 800;
	font-size: 0.9rem;
	text-decoration: none;
	cursor: pointer;
	transition:
		opacity 0.2s ease,
		transform 0.15s ease;
}

.cd-load-more-btn:hover {
	text-decoration: none;
	opacity: 0.9;
	transform: translateY(-1px);
}

.cd-load-more-btn.is-loading {
	opacity: 0.55;
	pointer-events: none;
	cursor: wait;
}

.cd-load-more-btn.is-done {
	background: var(--cd-line);
	border-color: var(--cd-line);
	color: var(--cd-muted);
	cursor: default;
	transform: none;
}

.cd-article__masthead--below-hero {
	padding-top: 1.5rem;
	margin-bottom: 0;
}

.cd-article--single .cd-article__masthead--below-hero {
	padding-bottom: 1.25rem;
	margin-bottom: 1rem;
	border-bottom: 1px solid var(--cd-line);
}

.cd-article__caption {
	font-size: 0.88rem;
	color: var(--cd-muted);
	margin: 0 0 1.25rem;
	line-height: 1.45;
}

.cd-ad-adsense--incontent {
	margin: 2rem auto;
	min-height: 120px;
	max-width: min(100%, 728px);
	text-align: center;
	clear: both;
}

.cd-ad-adsense--incontent .adsbygoogle {
	display: block !important;
	margin: 0 auto;
}

.cd-article__title {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	line-height: 1.15;
	font-weight: 800;
	margin: 0 0 1rem;
}

.cd-article--single .cd-article__masthead {
	padding-bottom: 1.35rem;
	margin-bottom: 0.25rem;
	border-bottom: 1px solid var(--cd-line);
}

.cd-article--single .cd-article__title {
	letter-spacing: -0.025em;
}

.cd-article__dek {
	font-size: 1.15rem;
	color: var(--cd-muted);
	margin: 0 0 1.5rem;
}

.cd-article--single .cd-article__dek {
	font-size: clamp(1.05rem, 2.2vw, 1.22rem);
	line-height: 1.55;
	max-width: 38rem;
	margin-bottom: 1.25rem;
}

.cd-article__figure {
	margin: 0 0 1.5rem;
	border: 1px solid var(--cd-line);
}

.cd-article__figure--hero {
	border-radius: 10px;
	overflow: hidden;
	border-color: var(--cd-line-strong);
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
}

.cd-article__figure img {
	display: block;
	width: 100%;
}

.cd-article__figure figcaption {
	font-size: 0.85rem;
	color: var(--cd-muted);
	padding: 0.5rem 0.75rem;
	border-top: 1px solid var(--cd-line);
}

.cd-article__body {
	font-size: 1.0625rem;
}

.cd-article--single .cd-article__body {
	font-size: 1.075rem;
	line-height: 1.78;
	max-width: 40rem;
	color: #141414;
}

.cd-article--single .cd-article__body p {
	margin-bottom: 1.15em;
}

.cd-article--single .cd-article__body ul,
.cd-article--single .cd-article__body ol {
	padding-left: 1.25rem;
}

.cd-article--single .cd-article__body blockquote {
	margin: 1.75rem 0;
	padding: 1rem 1.15rem 1rem 1.25rem;
	border-left: 4px solid var(--cd-fg);
	background: #f7f7f7;
	font-size: 1.02rem;
	line-height: 1.6;
}

.cd-article__body > *:first-child {
	margin-top: 0;
}

.cd-article__body h2,
.cd-article__body h3 {
	font-weight: 800;
	margin-top: 2rem;
}

.cd-article--single .cd-article__body h2,
.cd-article--single .cd-article__body h3 {
	margin-top: 2.35rem;
	letter-spacing: -0.02em;
}

.cd-article__tags {
	font-size: 0.9rem;
	color: var(--cd-muted);
}

.cd-article__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--cd-line);
	font-size: 0.9rem;
}

.cd-share {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}

.cd-share a,
.cd-share button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	height: 2.25rem;
	padding: 0 0.5rem;
	border: 1px solid var(--cd-line-strong);
	background: var(--cd-bg);
	font-size: 0.8rem;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
}

.cd-read-progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 3px;
	background: var(--cd-fg);
	transform-origin: left;
	transform: scaleX(0);
	z-index: 9999;
	pointer-events: none;
}

/* Single — byline + stats */
.cd-article__byline {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-top: 0.35rem;
}

.cd-article__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cd-stat {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 5.5rem;
	padding: 0.65rem 0.85rem;
	border: 1px solid var(--cd-line);
	border-radius: 6px;
	background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cd-stat:hover {
	border-color: var(--cd-fg);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.cd-stat__label {
	font-size: 0.65rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 800;
	color: var(--cd-muted);
}

.cd-stat__value {
	font-size: 1.1rem;
	font-weight: 800;
	line-height: 1.2;
}

a.cd-stat__link {
	text-decoration: none;
	color: var(--cd-fg);
	border-bottom: 2px solid transparent;
	transition: border-color 0.2s ease;
}

a.cd-stat__link:hover {
	border-bottom-color: var(--cd-fg);
}

.cd-card__views {
	font-weight: 600;
	color: var(--cd-muted);
}

/* Sidebar — sponsored (Customizer) */
.cd-sponsored {
	padding: 1.1rem;
	border: 1px dashed var(--cd-line-strong);
	border-radius: 8px;
	background: #fafafa;
}

.cd-sponsored__head {
	margin-bottom: 0.75rem;
}

.cd-sponsored__label {
	display: inline-block;
	font-size: 0.65rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-weight: 800;
	color: var(--cd-muted);
	padding: 0.2rem 0.45rem;
	border: 1px solid var(--cd-line);
	border-radius: 3px;
	background: #fff;
}

.cd-sponsored__link {
	display: block;
	line-height: 0;
	margin-bottom: 0.75rem;
	border-radius: 6px;
	overflow: hidden;
	border: 1px solid var(--cd-line);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cd-sponsored__link:last-of-type {
	margin-bottom: 0;
}

.cd-sponsored__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.cd-sponsored__img {
	width: 100%;
	height: auto;
	display: block;
}

.cd-sponsored__note {
	margin: 0.75rem 0 0;
	font-size: 0.72rem;
	color: var(--cd-muted);
	line-height: 1.45;
}

/* Related */
.cd-related__title {
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 800;
	margin: 0 0 1rem;
}

/* Sidebar */
.cd-sidebar {
	font-size: 0.95rem;
}

.cd-sidebar__block {
	margin-bottom: 2rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--cd-line);
}

.cd-sidebar__block:last-child {
	border-bottom: 0;
}

.cd-sidebar__heading {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 800;
	margin: 0 0 0.75rem;
}

.cd-sidebar ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.cd-sidebar li {
	margin-bottom: 0.5rem;
}

.cd-sidebar a {
	text-decoration: none;
	font-weight: 600;
}

.cd-sidebar a:hover {
	text-decoration: underline;
}

.cd-sidebar__lede {
	margin: 0 0 0.75rem;
	color: var(--cd-muted);
	font-size: 0.95rem;
	line-height: 1.5;
}

/* Pagination */
.cd-pagination {
	margin-top: 2rem;
}

.cd-pagination ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding: 0;
	margin: 0;
}

.cd-pagination a,
.cd-pagination span {
	display: inline-block;
	padding: 0.4rem 0.75rem;
	border: 1px solid var(--cd-line);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9rem;
}

.cd-pagination .current {
	border-color: var(--cd-fg);
	background: var(--cd-fg);
	color: var(--cd-bg);
}

/* Static page */
.cd-page__title {
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 800;
	margin: 0 0 1.5rem;
}

/* Newsletter band */
.cd-nl-band {
	background: #0a0a0a;
	color: #fff;
	padding: 2rem 0;
	margin: 2rem 0 0;
}

.cd-nl-band a {
	color: #fff;
}

.cd-nl-band__inner {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

@media (min-width: 768px) {
	.cd-nl-band__inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

.cd-nl-band h2 {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 800;
}

.cd-nl-band p {
	margin: 0.35rem 0 0;
	opacity: 0.9;
	font-size: 0.95rem;
}

.cd-nl-band__cta {
	display: inline-block;
	margin-top: 0.75rem;
	padding: 0.6rem 1.1rem;
	border: 2px solid #fff;
	font-weight: 700;
	text-decoration: none;
}

.cd-nl-band__cta:hover {
	background: #fff;
	color: #0a0a0a;
}

.cd-btn-outline {
	display: inline-block;
	margin-top: 2rem;
	padding: 0.6rem 1.1rem;
	border: 2px solid var(--cd-fg);
	font-weight: 700;
	text-decoration: none;
	color: var(--cd-fg);
}

.cd-btn-outline:hover {
	background: var(--cd-fg);
	color: var(--cd-bg);
}

/* Footer — dark */
.cd-footer {
	margin-top: 0;
	background: var(--cd-header-bg);
	color: var(--cd-header-fg);
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cd-footer__main {
	padding: 2.5rem 0;
}

.cd-footer__grid {
	display: grid;
	gap: 2rem;
}

@media (min-width: 768px) {
	.cd-footer__grid {
		grid-template-columns: 1.4fr 1fr 1fr;
	}
}

.cd-footer__tagline {
	margin: 0.75rem 0 0;
	max-width: 36rem;
	color: var(--cd-header-muted);
	font-size: 0.95rem;
}

.cd-footer__social-org {
	margin-top: 1.25rem;
}

.cd-footer__social-label {
	margin: 0 0 0.4rem;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
}

.cd-footer__social {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
}

.cd-footer__social a {
	font-size: 0.9rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.88);
}

.cd-footer__social a:hover {
	color: #fff;
	text-decoration: underline;
}

.cd-footer__org {
	margin: 1rem 0 0;
	font-style: normal;
	color: var(--cd-header-muted);
	font-size: 0.9rem;
	line-height: 1.5;
}

.cd-footer__org p {
	margin: 0.25rem 0 0;
}

.cd-footer__org a {
	color: rgba(255, 255, 255, 0.92);
}

.cd-footer__col h3 {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin: 0 0 0.75rem;
	font-weight: 800;
	color: #fff;
}

.cd-footer__col ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.cd-footer__col li {
	margin-bottom: 0.45rem;
}

.cd-footer__col a {
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.92);
	transition: color 0.2s ease, opacity 0.2s ease;
}

.cd-footer__col a:hover {
	text-decoration: underline;
	color: #fff;
}

.cd-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding: 1.25rem 0;
	font-size: 0.85rem;
	color: var(--cd-header-muted);
}

.cd-footer__bottom .cd-container {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	align-items: center;
	justify-content: space-between;
}

.cd-footer__bottom nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.75rem;
	align-items: center;
}

.cd-footer__bottom a {
	color: rgba(255, 255, 255, 0.92);
	font-weight: 600;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.cd-footer__bottom a:hover {
	text-decoration: underline;
	opacity: 1;
	color: #fff;
}

/* 404 */
.cd-404 {
	padding: 4rem 0;
	text-align: center;
}

.cd-404__code {
	font-size: 4rem;
	font-weight: 900;
	margin: 0;
	line-height: 1;
}

/* Comments — thread + reply UI */
.cd-comments {
	margin-top: 3rem;
	padding: 2rem 1.25rem 2.25rem;
	border: 1px solid var(--cd-line);
	border-radius: 12px;
	background: linear-gradient(165deg, #f9f9f9 0%, #fff 45%, #fff 100%);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.cd-comments__intro {
	margin-bottom: 1.75rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--cd-line);
}

.cd-comments__title {
	font-size: clamp(1.2rem, 2.5vw, 1.45rem);
	font-weight: 800;
	margin: 0 0 0.4rem;
	letter-spacing: -0.02em;
}

.cd-comments__subtitle {
	margin: 0;
	color: var(--cd-muted);
	font-size: 0.95rem;
	line-height: 1.5;
	max-width: 40rem;
}

.cd-comment-list {
	list-style: none;
	padding: 0;
	margin: 0 0 2rem;
}

.cd-comment-list .children {
	list-style: none;
	margin: 1rem 0 0;
	padding: 0 0 0 1rem;
	border-left: 3px solid var(--cd-fg);
}

@media (min-width: 640px) {
	.cd-comment-list .children {
		padding-left: 1.35rem;
		margin-left: 0.25rem;
	}
}

.cd-comment {
	margin: 0 0 1rem;
	padding: 0;
	border: 0;
}

.cd-comment__article {
	padding: 1.1rem 1.15rem 1rem;
	border: 1px solid var(--cd-line);
	border-radius: 10px;
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.25s ease;
}

.cd-comment:hover > .cd-comment__article,
.cd-comment:focus-within > .cd-comment__article {
	border-color: #c8c8c8;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.cd-comment__header {
	display: flex;
	gap: 0.85rem;
	align-items: flex-start;
	margin-bottom: 0.75rem;
}

.cd-comment__avatar-wrap {
	flex-shrink: 0;
}

.cd-comment__avatar {
	border-radius: 50%;
	border: 2px solid var(--cd-line);
}

.cd-comment__headtext {
	min-width: 0;
	flex: 1;
}

.cd-comment__authorline {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem 0.75rem;
}

.cd-comment__author {
	font-size: 1rem;
	font-weight: 800;
	font-style: normal;
}

.cd-comment__author a {
	text-decoration: none;
	color: var(--cd-fg);
}

.cd-comment__author a:hover {
	text-decoration: underline;
}

.cd-comment__edit {
	font-size: 0.8rem;
	font-weight: 600;
}

.cd-comment__permalink {
	font-size: 0.82rem;
	color: var(--cd-muted);
	text-decoration: none;
}

.cd-comment__permalink:hover {
	text-decoration: underline;
	color: var(--cd-fg);
}

.cd-comment__body {
	font-size: 0.98rem;
	line-height: 1.6;
	color: #1a1a1a;
}

.cd-comment__body p:first-child {
	margin-top: 0;
}

.cd-comment__moderation {
	margin: 0;
	padding: 0.5rem 0.65rem;
	background: #fff8e6;
	border: 1px solid #e8d48a;
	border-radius: 6px;
	font-size: 0.9rem;
}

.cd-comment__footer {
	margin-top: 0.65rem;
	padding-top: 0.5rem;
	border-top: 1px solid var(--cd-line);
}

.cd-comment__reply {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.85rem;
	font-size: 0.82rem;
	font-weight: 700;
	text-decoration: none;
	border: 1px solid var(--cd-fg);
	border-radius: 999px;
	color: var(--cd-fg);
	transition: background 0.2s ease, color 0.2s ease;
}

.cd-comment__reply:hover {
	background: var(--cd-fg);
	color: #fff;
}

.cd-comment--ping {
	padding: 0.65rem 0.85rem;
	border: 1px dashed var(--cd-line);
	border-radius: 8px;
	font-size: 0.9rem;
	margin-bottom: 0.75rem;
}

.cd-comment__ping {
	color: var(--cd-muted);
}

/* Comment form */
.cd-comments-respond-wrap {
	margin-top: 0.5rem;
	padding-top: 1.75rem;
	border-top: 2px solid var(--cd-fg);
}

.cd-comment-respond__title {
	font-size: 1.1rem;
	font-weight: 800;
	margin: 0 0 0.75rem;
}

.cd-comment-notes {
	margin: 0 0 1rem;
	font-size: 0.88rem;
	color: var(--cd-muted);
}

.cd-comment-form {
	display: grid;
	gap: 0;
}

.cd-comment-field {
	margin: 0 0 1rem;
}

.cd-comment-field--textarea {
	margin-bottom: 1.15rem;
}

.cd-comment-label {
	display: block;
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 0.35rem;
}

.cd-req {
	color: #b00020;
}

.cd-comment-input,
.cd-comment-textarea {
	width: 100%;
	max-width: 100%;
	padding: 0.65rem 0.85rem;
	border: 1px solid var(--cd-line-strong);
	border-radius: 6px;
	font: inherit;
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cd-comment-textarea {
	min-height: 140px;
	resize: vertical;
	line-height: 1.55;
}

.cd-comment-input:focus,
.cd-comment-textarea:focus {
	outline: none;
	border-color: var(--cd-fg);
	box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.08);
}

.cd-comment-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.7rem 1.5rem;
	font-size: 0.95rem;
	font-weight: 800;
	border: none;
	border-radius: 8px;
	background: var(--cd-fg);
	color: #fff;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.cd-comment-submit:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.cd-comment-logged {
	font-size: 0.9rem;
	margin: 0 0 1rem;
	color: var(--cd-muted);
}

.cd-comment-logged a {
	font-weight: 700;
	color: var(--cd-fg);
}

.comment-form-cookies-consent {
	margin: 0.75rem 0 0;
	font-size: 0.86rem;
	color: var(--cd-muted);
	line-height: 1.45;
}

.comment-form-cookies-consent input {
	margin-right: 0.4rem;
	vertical-align: middle;
}

/* Homepage — document H1 + intro (SEO) */
.cd-home-page__intro {
	margin: 0 0 1.5rem;
	padding: 0 0 0.5rem;
	border-bottom: 1px solid var(--cd-line);
}

.cd-home-page__title {
	margin: 0 0 0.35rem;
	font-size: clamp(1.35rem, 3.5vw, 1.75rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.cd-home-page__dek {
	margin: 0;
	color: var(--cd-muted);
	font-size: 1rem;
	line-height: 1.5;
}

/* Homepage — Al Jazeera–style band (monochrome) */
.cd-home-aj {
	margin-bottom: 0.5rem;
}

.cd-home-aj__grid {
	display: grid;
	gap: 1.5rem 2rem;
}

@media (min-width: 960px) {
	.cd-home-aj__grid {
		grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
		align-items: start;
	}
}

.cd-home-aj__rail {
	border: 1px solid var(--cd-line);
	background: #fafafa;
	padding: 0.85rem 1rem 0.25rem;
}

.cd-home-aj__rail-head {
	margin-bottom: 0.35rem;
}

.cd-home-aj__rail-kicker {
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--cd-muted);
}

.cd-home-aj__rail-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cd-home-aj__rail-link {
	display: block;
	padding: 0.65rem 0;
	border-bottom: 1px solid var(--cd-line);
	text-decoration: none;
	color: inherit;
	transition: background 0.18s ease;
}

.cd-home-aj__rail-link:hover {
	background: rgba(0, 0, 0, 0.03);
	text-decoration: none;
}

.cd-home-aj__rail-time {
	display: block;
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--cd-muted);
	margin-bottom: 0.2rem;
}

.cd-home-aj__rail-title {
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1.35;
}

.cd-home-aj__lead .cd-hero-lead {
	margin-bottom: 0;
}

.cd-home-feed {
	margin-top: 0.25rem;
}

.cd-home-feed__head {
	margin-bottom: 1rem;
}

.cd-home-feed__title {
	margin-bottom: 0;
}

.cd-home-feed__grid {
	display: grid;
	gap: 1.25rem;
}

@media (min-width: 640px) {
	.cd-home-feed__grid:not(.cd-grid--3) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 980px) {
	.cd-home-feed__grid:not(.cd-grid--3) {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Live hub */
.cd-live-page__hero-dek {
	margin: 0.65rem 0 0;
	max-width: 40rem;
	font-size: clamp(0.95rem, 2vw, 1.1rem);
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.88);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.cd-single-hero--no-image .cd-live-page__hero-dek {
	color: var(--cd-muted);
	text-shadow: none;
}

.cd-live-page__content {
	margin-bottom: 2rem;
}

.cd-live-grid__items {
	display: grid;
	gap: 2rem;
}

@media (min-width: 720px) {
	.cd-live-grid__items {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.cd-live-card {
	border: 1px solid var(--cd-line);
	padding: 1rem 1rem 1.15rem;
	background: var(--cd-bg);
}

.cd-live-card__title {
	font-size: 1.1rem;
	margin: 0 0 0.5rem;
	font-weight: 800;
	line-height: 1.25;
}

.cd-live-card__dek {
	margin: 0 0 0.85rem;
	color: var(--cd-muted);
	font-size: 0.95rem;
	line-height: 1.45;
}

.cd-live-card__missing {
	margin: 0;
	font-size: 0.9rem;
	color: var(--cd-muted);
}

.cd-live-frame {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #0a0a0a;
	border: 1px solid var(--cd-line-strong);
	overflow: hidden;
}

.cd-live-frame__iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.cd-live-page__empty {
	color: var(--cd-muted);
	margin: 0;
}

/* In-article sponsors (Customizer) */
/* Sponsor ads (CPT) — sidebar, inline in content, end of article */
.cd-sponsored-zone {
	margin: 1.5rem 0;
	padding: 1rem 0 0;
	border-top: 1px solid var(--cd-line);
}

.cd-sponsored-zone--sidebar {
	/* Below About / Recent / Categories; keep section framing */
	margin-top: 0;
}

.cd-sponsored-zone--inline {
	margin: 2rem 0;
	clear: both;
}

.cd-sponsored-zone--end {
	margin: 2rem 0 0;
	max-width: 40rem;
}

.cd-sponsored-zone__label {
	display: block;
	font-size: 0.68rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--cd-muted);
	margin-bottom: 0.65rem;
}

.cd-sponsored-zone__track {
	display: flex;
	gap: 0.85rem;
}

.cd-sponsored-zone--stack .cd-sponsored-zone__track {
	flex-direction: column;
	align-items: stretch;
}

.cd-sponsored-zone--slider .cd-sponsored-zone__track {
	flex-wrap: nowrap;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 0.35rem;
	scrollbar-color: var(--cd-line) transparent;
}

.cd-sponsored-zone--slider .cd-sponsored-zone__item {
	flex: 0 0 min(78vw, 320px);
	scroll-snap-align: start;
}

.cd-sponsored-zone__item {
	display: block;
	border: 1px solid var(--cd-line);
	text-decoration: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cd-sponsored-zone__item:hover {
	border-color: var(--cd-fg);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	text-decoration: none;
}

.cd-sponsored-zone__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 680 / 380;
	object-fit: cover;
}

.cd-sponsored-zone__note {
	margin: 0.65rem 0 0;
	font-size: 0.78rem;
	color: var(--cd-muted);
}

/* WordPress blocks in content */
.wp-block-image figcaption {
	font-size: 0.85rem;
	color: var(--cd-muted);
}

.alignwide,
.alignfull {
	margin-left: 0;
	margin-right: 0;
}

/* Scroll-in sections: hidden-until-visible only on wide viewports (mobile stays visible: faster paint, matches main.js). */
@media (min-width: 768px) {
	.cd-animate-in {
		opacity: 0;
		transform: translateY(22px);
	}

	.cd-animate-in.is-in {
		opacity: 1;
		transform: none;
		transition:
			opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
			transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
	}
}

.cd-hero-lead__thumb img {
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.cd-hero-lead:hover .cd-hero-lead__thumb img {
	transform: scale(1.02);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.cd-animate-in,
	.cd-animate-in.is-in {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.cd-card,
	.cd-card__thumb img,
	.cd-hero-lead__thumb img {
		transition: none !important;
	}

	.cd-card:hover {
		transform: none;
		box-shadow: none;
	}

	.cd-card:hover .cd-card__thumb img,
	.cd-hero-lead:hover .cd-hero-lead__thumb img {
		transform: none;
	}

	.cd-icon-btn:hover {
		transform: none;
	}

	.cd-live-dot {
		animation: none;
	}

	.cd-nav-live {
		animation: none;
	}

	.cd-cat-section__more:hover {
		letter-spacing: 0.1em;
	}

	.cd-comment__article,
	.cd-sponsored__link {
		transition: none !important;
	}

	.cd-comment__reply:hover {
		transform: none;
	}
}
