:root {
	--shell: 1080px;
	--surface: #ffffff;
	--surface-muted: #f3f3f3;
	--surface-soft: #fafafa;
	--text: #1d1d1d;
	--text-muted: #707070;
	--border: #e6e6e6;
	--border-strong: #d3d3d3;
	--accent: #2563EB;
	--red: #2563EB;
	--shadow-soft: 0 18px 40px rgba(17, 17, 17, 0.06);
	--font-sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--font-display: "Roboto Slab", Georgia, serif;
	--weight-regular: 400;
	--weight-medium: 500;
	--weight-semibold: 600;
	--weight-bold: 700;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-sans);
	font-weight: var(--weight-regular);
	color: var(--text);
	background: var(--surface);
}

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

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

button {
	font: inherit;
}

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

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

.site-main {
	overflow: clip;
}

.homepage-shell {
	padding-bottom: 48px;
}

.homepage-shell__content {
	position: relative;
	z-index: 1;
}

.homepage-empty-state {
	padding: 52px 0 0;
}

.homepage-empty-state__box {
	display: grid;
	gap: 10px;
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

.homepage-empty-state__box p {
	margin: 0;
	color: var(--text-muted);
	font-size: 1rem;
	line-height: 1.65;
}

.ad-rail {
	display: none;
}

.site-header {
	position: relative;
	z-index: 20;
	background: #fff;
	border-bottom: 1px solid var(--border);
	transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.site-header__bar {
	height: 5px;
	background: var(--red);
}

.site-header__main {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 24px;
	min-height: 32px;
	padding: 0;
}

.site-logo {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	height: 32px;
	min-width: 140px;
	justify-content: center;
	padding: 0 14px;
	background: var(--site-logo-accent, var(--red));
	color: #fff;
	font-weight: var(--weight-bold);
	letter-spacing: 0.05em;
	text-transform: uppercase;
	box-sizing: border-box;
}

.site-logo--header {
	justify-content: center;
}

.site-logo--header .site-logo__brand {
	font-size: 21px;
}

.site-logo__brand {
	font-size: 19px;
	line-height: 1;
	font-weight: var(--weight-bold);
	letter-spacing: 0.02em;
}

.site-logo__image-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
}

.site-logo__image {
	display: block;
	max-height: calc(var(--logo-block-height, 32px) - 16px);
	width: auto;
	height: auto;
}

.site-logo__wordmark {
	font-size: 1rem;
	line-height: 1;
}

.site-logo__hr {
	font-size: 0.82rem;
	line-height: 1;
}

.site-nav {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 16px;
	min-width: 0;
	overflow-x: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
	font-family: var(--font-sans);
	font-size: 16px;
	font-weight: var(--weight-semibold);
	letter-spacing: 0.035em;
	line-height: 1;
	text-transform: uppercase;
}

.site-nav::-webkit-scrollbar,
.section-tabs::-webkit-scrollbar {
	display: none;
}

.site-nav a {
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
}

.site-nav a,
.subnav-group a,
.site-header__mobile-links a {
	transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-header__mobile-links a:hover,
.site-header__mobile-links a:focus-visible {
	color: var(--nav-item-accent, var(--section-accent, var(--red)));
}

.site-nav a.is-current,
.site-header__mobile-links a.is-current,
.subnav-group a:hover,
.subnav-group a:focus-visible {
	color: var(--section-accent, var(--red));
}

.nav-toggle {
	display: none;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid var(--border);
	border-radius: 50%;
	background: #fff;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 4px;
	flex-shrink: 0;
	transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.nav-toggle span {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--text);
}

.site-header__sub {
	border-top: 1px solid var(--border);
}

.site-header__sub-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	padding: 10px 0 14px;
}

.subnav-group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	font-size: 0.75rem;
	color: var(--text-muted);
}

.subnav-group__label {
	font-weight: var(--weight-semibold);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text);
}

.site-header__mobile-panel {
	display: none;
	position: absolute;
	inset: calc(100% + 1px) 0 auto;
	background: #fff;
	border-top: 1px solid var(--border);
	box-shadow: 0 22px 38px rgba(17, 17, 17, 0.08);
	max-height: calc(100vh - var(--logo-block-height, 32px) - var(--top-stripe-height, 0px) - 12px);
	overflow-y: auto;
}

.site-header__mobile-inner {
	padding: 14px 0 18px;
}

.site-header__mobile-links {
	display: grid;
	grid-template-columns: 1fr;
	gap: 6px;
	font-weight: var(--weight-semibold);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 0.84rem;
}

.site-header__mobile-links a {
	padding: 10px 0;
	border-bottom: 1px solid var(--border);
}

.site-header__mobile-groups {
	display: grid;
	gap: 16px;
}

.section-nav {
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 24px;
	padding-bottom: 14px;
	margin-bottom: 24px;
	border-bottom: 1px solid var(--border);
}

.section-nav__title-group {
	display: grid;
	gap: 4px;
	justify-items: start;
}

.section-nav__title-line {
	display: flex;
	align-items: baseline;
	gap: 10px;
	flex-wrap: wrap;
}

.section-nav__eyebrow,
.story-label,
.related-list__title,
.module-box__kicker,
.auth-panel__eyebrow,
.fallback-page__eyebrow {
	margin: 0;
	font-size: 0.72rem;
	font-weight: var(--weight-semibold);
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.lead-story--hero .story-label {
	color: var(--section-accent, var(--accent));
}

.section-nav__title {
	margin: 0;
	font-size: 1.72rem;
	line-height: 1.12;
	font-weight: var(--weight-bold);
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: var(--section-accent, var(--red));
	white-space: nowrap;
}

.homepage-shell .section-nav__title {
	display: inline-flex;
	align-items: center;
	min-height: 37px;
	padding: 0 14px;
	width: fit-content;
	max-width: 100%;
	background: var(--section-accent, var(--red));
	color: #fff;
	font-size: 1.38rem;
}

.homepage-shell .section-nav__title-line {
	align-items: center;
}

.section-nav__sponsor {
	font-size: 0.72rem;
	font-weight: var(--weight-regular);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.section-tabs {
	display: flex;
	flex: 1 1 auto;
	flex-wrap: wrap;
	min-width: 0;
	gap: 8px 14px;
	justify-content: flex-start;
	font-size: 0.78rem;
	color: var(--text-muted);
	-webkit-overflow-scrolling: touch;
}

.section-tabs a {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 0 2px;
	white-space: nowrap;
}

.section-tabs a.is-current {
	font-weight: var(--weight-semibold);
	color: var(--text);
}

.homepage-shell .editorial-block {
	padding-top: 48px;
}

.editorial-block__grid,
.top-cluster__lower,
.editorial-postface {
	display: grid;
	grid-template-columns: minmax(0, 1.95fr) minmax(0, 1.2fr) 280px;
	gap: 24px;
}

.editorial-block__grid--top {
	align-items: start;
}

.editorial-block__grid--no-latest {
	grid-template-columns: minmax(0, 1.95fr) minmax(0, 1.2fr);
}

.editorial-block__grid--lead-only {
	grid-template-columns: minmax(0, 1fr);
}

.editorial-block__grid--lead-latest {
	grid-template-columns: minmax(0, 1.95fr) 280px;
}

.top-cluster__lower,
.editorial-postface {
	grid-template-columns: minmax(0, 2fr) minmax(0, 1.15fr);
	margin-top: 24px;
}

.top-cluster__lower--single {
	grid-template-columns: minmax(0, 1fr);
}

.aside-stack {
	display: grid;
	gap: 24px;
}

.top-cluster__lower--single .aside-stack {
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.topics-showcase {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--border);
}

.topics-showcase__header {
	margin-bottom: 18px;
}

.topics-showcase__header h2 {
	margin: 0;
	font-size: 1rem;
	font-weight: var(--weight-semibold);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

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

.topic-feature {
	display: grid;
	grid-template-rows: auto auto auto 1fr;
	gap: 12px;
	align-content: start;
}

.topic-feature__media {
	aspect-ratio: 16 / 9;
}

.topic-feature__label {
	margin: 0;
	font-size: 0.74rem;
	font-weight: var(--weight-semibold);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--red);
}

.topic-feature__headline {
	margin: 0;
	font-size: 1.2rem;
	line-height: 1.18;
	font-weight: var(--weight-semibold);
}

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

.topic-feature__links li {
	padding: 12px 0;
	border-top: 1px solid var(--border);
}

.topic-feature__links a {
	display: block;
	font-weight: var(--weight-medium);
	line-height: 1.34;
}

.lead-story,
.module-box,
.service-card,
.plus-card,
.auth-panel,
.fallback-page__header,
.fallback-post {
	background: #fff;
}

.media-block {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, #dfdfdf, #c7c7c7);
	aspect-ratio: 16 / 10;
	border-radius: 4px;
}

.media-block__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.media-block--warm {
	background: linear-gradient(135deg, #5f2c1f 0%, #d9702e 55%, #efcf8d 100%);
}

.media-block--cool {
	background: linear-gradient(135deg, #254474 0%, #457bb7 50%, #b8d8ff 100%);
}

.media-block--forest {
	background: linear-gradient(135deg, #24392b 0%, #4a7448 50%, #c6e5b7 100%);
}

.media-block--coral {
	background: linear-gradient(135deg, #59305f 0%, #c05174 45%, #ffb491 100%);
}

.media-block--pitch {
	background: linear-gradient(135deg, #1d2126 0%, #4f6a88 45%, #b6c3d2 100%);
}

.media-block--sunrise {
	background: linear-gradient(135deg, #884d1a 0%, #f0953d 50%, #f5dba8 100%);
}

.media-block--neutral {
	background: linear-gradient(135deg, #ececec, #d7d7d7);
}

.media-block__glow {
	display: none;
}

.media-play {
	position: absolute;
	inset: auto auto 16px 16px;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.media-play::after {
	content: "";
	position: absolute;
	left: 16px;
	top: 12px;
	width: 0;
	height: 0;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	border-left: 12px solid var(--section-accent, var(--red));
}

.lead-story__headline,
.fallback-page__header h1,
.side-feature__title,
.topic-feature__headline,
.archive-list__title,
.plus-card__lead,
.single-related-card__title,
.single-entry__body h2,
.single-entry__body h3,
.single-entry__body h4 {
	font-family: var(--font-display);
	font-optical-sizing: auto;
}

.lead-story__headline,
.fallback-page__header h1 {
	margin: 10px 0 12px;
	font-size: clamp(1.8rem, 3.15vw, 2.82rem);
	line-height: 1.08;
	font-weight: var(--weight-bold);
	letter-spacing: -0.03em;
}

.homepage-shell .lead-story__headline {
	font-size: clamp(1.68rem, 2.75vw, 2.45rem);
}

.lead-story__excerpt,
.fallback-page__header p,
.auth-panel__excerpt,
.comment-row__content p,
.service-card__lead {
	margin: 0;
	font-size: 1rem;
	line-height: 1.55;
	color: var(--text-muted);
}

.lead-story--hero .media-block {
	aspect-ratio: 16 / 8.2;
	margin-bottom: 10px;
}

.story-stack {
	display: grid;
	gap: 12px;
	align-content: start;
}

.side-column {
	display: grid;
	gap: 16px;
	align-content: start;
}

.side-feature {
	display: grid;
	gap: 12px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--border);
}

.side-feature__media {
	aspect-ratio: 16 / 9;
}

.side-feature__body {
	display: grid;
	gap: 6px;
}

.side-feature__title {
	margin: 0;
	font-size: 1.28rem;
	line-height: 1.18;
	font-weight: var(--weight-semibold);
}

.story-stack--compact .story-card:last-of-type {
	border-bottom: 0;
	padding-bottom: 0;
}

.story-stack--text-only .story-card,
.story-card--text-only {
	grid-template-columns: minmax(0, 1fr);
}

.story-card--text-only .story-card__media {
	display: none;
}

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

.story-card__media {
	aspect-ratio: 4 / 3;
}

.story-card__body {
	display: grid;
	align-content: start;
	gap: 4px;
}

.story-card__label {
	margin: 0;
	font-size: 0.74rem;
	font-weight: var(--weight-semibold);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--section-accent, var(--red));
}

.story-card__title {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.22;
	font-weight: var(--weight-medium);
}

.related-list {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--border);
}

.related-list ul,
.topic-card ul,
.footer-group ul,
.dense-list,
.plus-card__list,
.service-list,
.classified-list,
.ranked-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.related-list li + li,
.text-list li + li,
.service-list li + li,
.service-list--compact li + li,
.classified-list li + li,
.dense-list li + li,
.plus-card__list li + li,
.ranked-list li + li {
	border-top: 1px solid var(--border);
}

.related-list li a,
.plus-card__list li a,
.service-list li a,
.classified-list__body a {
	display: block;
	padding: 12px 0;
	font-weight: var(--weight-medium);
	line-height: 1.35;
}

.dense-list li a,
.ranked-list li a {
	display: block;
	padding: 12px 0;
	font-weight: var(--weight-semibold);
	line-height: 1.35;
}

.latest-panel {
	align-self: start;
	border-left: 1px solid var(--border);
	padding-left: 18px;
}

.latest-panel--wide {
	border-left: 0;
	padding-left: 0;
}

.latest-panel__tabs {
	display: flex;
	align-items: center;
	gap: 16px;
	padding-bottom: 14px;
	margin-bottom: 6px;
	border-bottom: 1px solid var(--border);
}

.latest-panel__tab {
	position: relative;
	padding: 0 0 10px;
	border: 0;
	background: transparent;
	font-size: 0.8rem;
	font-weight: var(--weight-semibold);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #a5a5a5;
	cursor: pointer;
}

.latest-panel__tab.is-active {
	color: var(--text);
}

.latest-panel__tab.is-active::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 3px;
	background: var(--section-accent, var(--red));
}

.latest-panel__panel {
	display: grid;
}

.latest-panel__panel[hidden] {
	display: none !important;
}

.latest-panel__row {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	gap: 14px;
	padding: 13px 0;
	border-bottom: 1px solid var(--border);
}

.latest-panel__meta {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 3px;
	font-size: 0.74rem;
	font-weight: var(--weight-regular);
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #666666;
}

.latest-panel__meta-value {
	font-size: 1.5rem;
	font-weight: var(--weight-bold);
	line-height: 1;
	color: var(--section-accent, var(--red));
}

.latest-panel__meta-unit {
	font-size: 0.65rem;
	font-weight: var(--weight-regular);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--text-muted);
	margin-top: 2px;
}

.latest-panel__headline {
	font-size: 0.9rem;
	font-weight: var(--weight-medium);
	line-height: 1.32;
}

.panel-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	width: 100%;
	margin-top: 14px;
	border: 1px solid var(--border);
	font-size: 0.74rem;
	font-weight: var(--weight-medium);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #666666;
}

.panel-more--inline {
	margin-top: 10px;
}

.archive-shell {
	padding-top: 0;
	padding-bottom: 52px;
}

.archive-rail {
	position: sticky;
	top: 80px;
	align-self: start;
}

.archive-intro {
	padding-top: 28px;
}

.archive-intro__nav {
	margin-bottom: 28px;
}

.archive-intro__description {
	margin: 0;
	max-width: 62ch;
	font-size: 0.98rem;
	line-height: 1.5;
	color: var(--text-muted);
}

.archive-hero__grid,
.archive-main__grid {
	display: grid;
	align-items: start;
}

.archive-hero__grid {
	grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.95fr);
	gap: 24px;
}

.archive-main__grid {
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 32px;
}

.archive-main__grid--no-rail {
	grid-template-columns: minmax(0, 1fr);
}

.archive-hero__grid--solo {
	grid-template-columns: 1fr;
	max-width: 780px;
}

.archive-hero__stack,
.archive-rail {
	display: grid;
	gap: 20px;
	align-content: start;
}

.archive-main {
	margin-top: 30px;
}

.archive-list {
	display: grid;
}

.archive-list__item {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 20px;
	padding: 20px 0;
	border-bottom: 1px solid var(--border);
}

.archive-list__media {
	aspect-ratio: 16 / 10;
}

.archive-list__body {
	display: grid;
	gap: 8px;
	align-content: start;
}

.archive-list__label {
	margin: 0;
	font-size: 0.72rem;
	font-weight: var(--weight-semibold);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--section-accent, var(--red));
}

.archive-list__title {
	margin: 0;
	font-size: 1.18rem;
	line-height: 1.22;
	font-weight: var(--weight-semibold);
}

.archive-list__excerpt {
	margin: 0;
	font-size: 0.96rem;
	line-height: 1.45;
	color: var(--text-muted);
}

.archive-list__meta {
	margin: 0;
	font-size: 0.72rem;
	font-weight: var(--weight-medium);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #666666;
}

.archive-rail__ad {
	display: grid;
	place-items: center;
	padding-top: 8px;
}

.archive-pagination {
	margin-top: 28px;
	padding-top: 18px;
	border-top: 1px solid var(--border);
}

.archive-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.archive-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 14px;
	border: 1px solid var(--border);
	font-size: 0.75rem;
	font-weight: var(--weight-medium);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.archive-pagination .page-numbers.current {
	color: #fff;
	background: var(--section-accent, var(--red));
	border-color: var(--section-accent, var(--red));
}

.archive-pagination .page-numbers.dots {
	min-height: 0;
	padding: 0 4px;
	border-color: transparent;
	background: transparent;
}

.module-box {
	padding: 18px 20px;
	border: 1px solid var(--border);
	background: var(--surface-soft);
}

.archive-rail .latest-panel--wide {
	padding: 0;
	border: 0;
	background: none;
}

.single-rail .latest-panel--wide {
	padding: 0;
	border: 0;
	background: none;
}

.archive-rail .latest-panel__tabs,
.single-rail .latest-panel__tabs {
	margin-bottom: 2px;
}

.archive-rail .panel-more,
.single-rail .panel-more {
	margin-top: 12px;
}

.module-box__heading {
	display: grid;
	gap: 4px;
	margin-bottom: 14px;
}

.module-box__heading h2 {
	margin: 0;
	font-size: 1.02rem;
	font-weight: var(--weight-semibold);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.comment-row__avatar {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--section-accent, var(--red));
	color: #fff;
	font-size: 0.78rem;
	font-weight: var(--weight-semibold);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.comment-stream {
	display: grid;
}

.comment-row {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	gap: 14px;
	padding: 14px 0;
	border-bottom: 1px solid var(--border);
}

.comment-row:last-child {
	border-bottom: 0;
}

.comment-row__content h3 {
	margin: 0 0 6px;
	font-size: 0.96rem;
	font-weight: var(--weight-semibold);
}

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

.text-list li {
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr);
	gap: 10px;
	padding: 12px 0;
	border-bottom: 1px solid var(--border);
}

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

.text-list span {
	font-size: 0.75rem;
	font-weight: var(--weight-regular);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #ababab;
}

.text-list a {
	font-weight: var(--weight-semibold);
	line-height: 1.32;
}

.topic-grid {
	display: grid;
	gap: 14px;
}

.topic-card {
	padding-top: 14px;
	border-top: 1px solid var(--border);
}

.topic-card:first-child {
	padding-top: 0;
	border-top: 0;
}

.topic-card h3 {
	margin: 0 0 10px;
	font-size: 0.82rem;
	font-weight: var(--weight-semibold);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.topic-card li + li {
	margin-top: 10px;
}

.topic-card a {
	font-weight: var(--weight-semibold);
	line-height: 1.35;
}

.module-box--dense {
	padding: 18px 20px 10px;
}

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

.module-box--ranked {
	padding-bottom: 20px;
}

.ranked-list {
	counter-reset: ranked;
}

.ranked-list li {
	counter-increment: ranked;
}

.ranked-list li a {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
}

.ranked-list li a::before {
	content: counter(ranked);
	font-size: 1.4rem;
	line-height: 1;
	font-weight: var(--weight-bold);
	color: var(--section-accent, var(--red));
}

.ad-break {
	display: grid;
	place-items: center;
	padding: 42px 0;
	margin-top: 48px;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.tema-a-ad-unit {
	display: inline-block;
}

.tema-a-ad-unit.is-placeholder {
	border: 1px solid #1b4fd9;
	background: linear-gradient(135deg, #0b57d0 0%, #2d7dff 100%);
	box-shadow: 0 16px 34px rgba(11, 87, 208, 0.18);
}

.tema-a-ad-unit--billboard {
	display: grid;
	place-items: center;
	width: min(100%, 970px);
	height: 250px;
}

.tema-a-ad-unit--rail {
	display: grid;
	place-items: center;
	width: 160px;
	height: 600px;
}

.service-band,
.plus-band {
	background: var(--surface-muted);
}

.service-band {
	padding: 60px 0 34px;
	margin-top: 46px;
}

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

.service-card {
	padding: 14px 14px 8px;
	border: 1px solid var(--border);
	box-shadow: var(--shadow-soft);
}

.service-card__header {
	display: grid;
	gap: 12px;
	margin-bottom: 14px;
}

.service-card__header h2 {
	margin: 0;
	font-size: 1.5rem;
	line-height: 1;
	font-weight: var(--weight-semibold);
	text-transform: uppercase;
}

.service-card--recipes h2 {
	color: #e28553;
}

.service-card--recipes h2 span {
	color: var(--red);
}

.service-card--ads h2 {
	color: #4d75d3;
}

.service-card--like h2 {
	color: #5d81e2;
}

.service-card__search {
	min-height: 42px;
	padding: 11px 14px;
	border: 1px solid var(--border);
	color: #9b9b9b;
	background: #fff;
}

.service-list li {
	display: grid;
	grid-template-columns: 50px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	padding: 12px 0;
}

.service-list__meta {
	font-size: 0.78rem;
	font-weight: var(--weight-regular);
	color: #9b9b9b;
}

.count-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 14px;
}

.count-tile {
	padding: 16px 14px;
	color: #fff;
	min-height: 106px;
	display: grid;
	align-content: end;
	gap: 8px;
}

.count-tile__title {
	font-size: 0.75rem;
	font-weight: var(--weight-semibold);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.count-tile strong {
	font-size: 2rem;
	line-height: 1;
}

.classified-list li {
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr);
	gap: 12px;
	padding: 12px 0;
}

.classified-list__thumb {
	aspect-ratio: 1 / 1;
}

.classified-list__body {
	display: grid;
	gap: 6px;
}

.classified-list__body strong {
	color: var(--red);
}

.service-card__feature {
	margin-bottom: 14px;
}

.service-list--compact li {
	padding: 12px 0;
}

.plus-band {
	padding: 26px 0 60px;
}

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

.plus-card {
	padding: 16px 16px 12px;
	border: 1px solid var(--border);
	background: var(--surface);
}

.plus-card__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: nowrap;
	gap: 12px;
	margin-bottom: 12px;
}

.plus-card__header a {
	font-size: 0.7rem;
	font-weight: var(--weight-medium);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-muted);
	white-space: nowrap;
}

.plus-card__title {
	display: inline-flex;
	align-items: center;
	position: relative;
	min-height: 0;
	padding: 0 0 0 12px;
	background: transparent;
	color: var(--plus-accent);
	font-size: 0.76rem;
	font-weight: var(--weight-semibold);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
}

.plus-card__title::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 4px;
	height: 16px;
	border-radius: 999px;
	background: var(--plus-accent);
	transform: translateY(-50%);
}

.plus-card__lead {
	margin: 8px 0 0;
	font-size: 1.12rem;
	line-height: 1.2;
	font-weight: var(--weight-semibold);
}

.plus-card__list {
	margin-top: 12px;
}

.plus-card__list li {
	display: grid;
	grid-template-columns: 82px minmax(0, 1fr);
	gap: 12px;
	padding: 12px 0;
}

.plus-card__thumb {
	aspect-ratio: 4 / 3;
}

.auth-section {
	padding: 54px 0 26px;
}

.auth-panel {
	max-width: 760px;
	margin: 0 auto;
	padding: 32px;
	border: 1px solid var(--border);
	text-align: center;
	box-shadow: var(--shadow-soft);
}

.auth-panel h2 {
	margin: 10px 0 14px;
	font-size: clamp(1.9rem, 4vw, 2.7rem);
	line-height: 1.08;
	font-weight: var(--weight-bold);
}

.auth-panel__providers {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-top: 22px;
}

.auth-panel__providers a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 16px;
	border: 1px solid var(--border-strong);
	font-weight: var(--weight-semibold);
}

.auth-panel__meta {
	margin-top: 18px;
	font-size: 0.82rem;
	color: var(--text-muted);
}

.site-footer {
	background: var(--surface-soft);
	padding: 32px 0 36px;
	border-top: 1px solid var(--border);
}

.site-footer__brand {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding-bottom: 20px;
	margin-bottom: 20px;
	border-bottom: 1px solid var(--border);
}

.site-footer__brand p,
.site-footer__bottom p {
	margin: 0;
	color: var(--text-muted);
	font-size: 0.88rem;
}

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

.footer-group {
	display: grid;
	align-content: start;
}

.footer-group h2 {
	margin: 0 0 8px;
	font-size: 0.98rem;
	font-weight: var(--weight-bold);
	letter-spacing: 0.03em;
	text-transform: none;
	color: var(--text);
	white-space: nowrap;
}

.footer-group__title-link {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer-group__title-link:hover,
.footer-group__title-link:focus-visible {
	color: var(--footer-group-accent, var(--text));
}

.footer-group li + li {
	margin-top: 7px;
}

.footer-group ul a {
	color: var(--text-muted);
	font-size: 0.9rem;
	font-weight: var(--weight-medium);
	line-height: 1.4;
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer-group ul a:hover,
.footer-group ul a:focus-visible {
	color: var(--footer-group-accent, var(--text));
}

.site-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px 18px;
	padding-top: 14px;
	margin-top: 18px;
	border-top: 1px solid var(--border);
}

.site-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.site-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: #fff;
	color: var(--text-muted);
	text-decoration: none;
	transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-footer__social-link:hover,
.site-footer__social-link:focus-visible {
	color: var(--text);
	border-color: var(--text);
	transform: translateY(-1px);
}

.site-footer__social-icon {
	display: inline-flex;
	width: 16px;
	height: 16px;
}

.site-footer__social-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.fallback-page {
	padding: 60px 0;
}

.fallback-page__inner {
	display: grid;
	gap: 24px;
}

.fallback-page__header,
.fallback-post {
	padding: 24px;
	border: 1px solid var(--border);
	box-shadow: var(--shadow-soft);
}

.fallback-page__posts {
	display: grid;
	gap: 16px;
}

.single-page {
	padding: 34px 0 58px;
}

.single-context {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 22px;
	padding-bottom: 14px;
	margin-bottom: 24px;
	border-bottom: 1px solid var(--border);
}

.single-context__tabs {
	flex: 1 1 auto;
}

.single-hero {
	max-width: 100%;
	padding-bottom: 20px;
}

.single-hero__inner {
	width: min(100%, 760px);
}

.single-page--with-rail .single-hero__inner {
	width: 100%;
}

.single-hero__label {
	margin: 0;
	font-size: 0.72rem;
	font-weight: var(--weight-semibold);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--section-accent, var(--red));
}

.single-hero__title {
	margin: 10px 0 14px;
	font-size: clamp(2.1rem, 4.4vw, 3.6rem);
	line-height: 1.08;
	font-weight: var(--weight-bold);
	letter-spacing: -0.035em;
	max-width: 22ch;
}

.single-page--with-rail .single-hero__title {
	max-width: 28ch;
}

.single-hero__dek {
	max-width: 760px;
	margin: 0;
	font-size: 1.04rem;
	line-height: 1.58;
	color: var(--text-muted);
}

.single-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	margin-top: 16px;
	font-size: 0.78rem;
	font-weight: var(--weight-medium);
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.single-hero__meta span + span {
	position: relative;
	padding-left: 14px;
}

.single-hero__meta span + span::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--border-strong);
	transform: translateY(-50%);
}

.single-hero__utility {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.single-hero__utility-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid var(--border);
	color: var(--text-muted);
	background: var(--surface);
	transition: background 0.15s, border-color 0.15s, color 0.15s;
	cursor: pointer;
}

.single-hero__utility-link:hover {
	background: var(--surface-soft);
	border-color: var(--text);
	color: var(--text);
}

.single-hero__utility-link.is-copied {
	border-color: var(--section-accent, var(--red));
	color: var(--section-accent, var(--red));
}

.single-hero__media-wrap {
	margin-top: 22px;
}

.single-hero__media {
	aspect-ratio: 16 / 9;
}

.single-hero__caption-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	padding-top: 10px;
	font-size: 0.82rem;
	color: var(--text-muted);
}

.single-hero__caption,
.single-hero__credit {
	margin: 0;
}

.single-shell__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) 320px;
	row-gap: 24px;
	column-gap: 0;
	margin-top: 0;
	align-items: start;
}

.single-entry__media-wrap {
	width: 100%;
	margin-bottom: 20px;
}

.single-entry__media {
	aspect-ratio: 16 / 9;
	width: 100%;
	display: block;
	overflow: hidden;
}

.single-entry__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.single-shell__grid--no-rail {
	grid-template-columns: minmax(0, 1fr);
}

.single-entry {
	min-width: 0;
	width: 100%;
}

.single-entry__body {
	width: 100%;
	font-size: 1.125rem;
	line-height: 1.75;
	font-weight: var(--weight-regular);
	color: var(--text);
	overflow-wrap: anywhere;
}

.single-entry__body > p {
	margin: 0 0 1.1em;
}

.single-entry__body > p:first-child {
	font-size: 1.12rem;
	font-weight: var(--weight-medium);
}

.single-entry__body h2,
.single-entry__body h3,
.single-entry__body h4 {
	margin: 1.8em 0 0.75em;
	line-height: 1.18;
	font-weight: var(--weight-semibold);
}

.single-entry__body h2 {
	font-size: 1.42rem;
}

.single-entry__body h3 {
	font-size: 1.2rem;
}

.single-entry__body h4 {
	font-size: 1.08rem;
}

.single-entry__body ul,
.single-entry__body ol {
	margin: 0 0 1.2em 1.25em;
	padding: 0;
}

.single-entry__body li + li {
	margin-top: 0.45em;
}

.single-entry__body blockquote {
	margin: 1.5em 0;
	padding: 18px 20px;
	border-left: 3px solid var(--section-accent, var(--red));
	background: var(--surface-soft);
	font-size: 1.04rem;
	line-height: 1.7;
	color: var(--text);
}

.single-entry__body figure {
	margin: 1.4em 0;
}

.single-entry__body figcaption {
	margin-top: 8px;
	font-size: 0.84rem;
	line-height: 1.45;
	color: var(--text-muted);
	overflow-wrap: anywhere;
}

.single-entry__body img {
	width: 100%;
	height: auto;
}

.single-entry__body pre,
.single-entry__body table,
.single-entry__body .wp-block-table {
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.single-entry__body pre {
	margin: 1.4em 0;
	padding: 16px 18px;
	border: 1px solid var(--border);
	background: var(--surface-soft);
	font-size: 0.94rem;
	line-height: 1.6;
}

.single-entry__body code {
	overflow-wrap: anywhere;
}

.single-entry__body table {
	width: 100%;
	border-collapse: collapse;
}

.single-entry__body th,
.single-entry__body td {
	padding: 10px 12px;
	border: 1px solid var(--border);
	text-align: left;
	vertical-align: top;
}

.single-entry__body .wp-block-embed,
.single-entry__body .wp-block-quote,
.single-entry__body .wp-caption {
	max-width: 100%;
}

.single-entry__body iframe[src*="youtube.com"],
.single-entry__body iframe[src*="youtube-nocookie.com"],
.single-entry__body iframe[src*="youtu.be"],
.single-entry__body iframe[src*="player.vimeo.com"] {
	display: block;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	border: 0;
}

.single-entry__body .wp-block-separator {
	margin: 1.6em 0;
	border: 0;
	border-top: 1px solid var(--border);
}

.single-entry__body .tema-a-social-card {
	display: grid;
	gap: 12px;
	margin: 1.6em 0;
	padding: 18px 20px;
	border: 1px solid var(--border);
	border-left: 3px solid var(--section-accent, var(--red));
	background: linear-gradient(180deg, #ffffff 0%, var(--surface-soft) 100%);
}

.single-entry__body .tema-a-social-card__header {
	display: grid;
	gap: 6px;
}

.single-entry__body .tema-a-social-card__label {
	margin: 0;
	font-size: 0.72rem;
	font-weight: var(--weight-semibold);
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.single-entry__body .tema-a-social-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	align-items: center;
	font-size: 0.8rem;
	line-height: 1.4;
}

.single-entry__body .tema-a-social-card__network,
.single-entry__body .tema-a-social-card__author {
	font-weight: var(--weight-semibold);
	color: var(--text);
}

.single-entry__body .tema-a-social-card__network {
	color: var(--section-accent, var(--red));
}

.single-entry__body .tema-a-social-card__handle,
.single-entry__body .tema-a-social-card__date {
	color: var(--text-muted);
}

.single-entry__body .tema-a-social-card__body {
	margin: 0;
	font-size: 1rem;
	line-height: 1.65;
	color: var(--text);
}

.single-entry__body .tema-a-social-card__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
}

.single-entry__body .tema-a-social-card__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.74rem;
	font-weight: var(--weight-semibold);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}

.single-entry__body .tema-a-social-card__link::after {
	content: "↗";
	font-size: 0.9em;
}

.single-entry__pages {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
	margin-top: 24px;
}

.single-entry__pages a,
.single-entry__pages span {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 12px;
	border: 1px solid var(--border);
	font-size: 0.78rem;
	font-weight: var(--weight-medium);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.single-rail {
	display: grid;
	gap: 20px;
	align-content: start;
	position: sticky;
	top: 80px;
	padding-left: 24px;
}

.reading-progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 3px;
	width: 0%;
	background: var(--section-accent, var(--red));
	z-index: 200;
	transition: width 0.08s linear;
	pointer-events: none;
}

.single-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 20px;
}

.single-tag {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 0 11px;
	border: 1px solid var(--border);
	font-size: 0.71rem;
	font-weight: var(--weight-medium);
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--text-muted);
	transition: border-color 0.15s, color 0.15s;
}

.single-tag:hover,
.single-tag:focus-visible {
	border-color: var(--section-accent, var(--red));
	color: var(--section-accent, var(--red));
}

.single-entry__body a {
	color: var(--section-accent, var(--accent));
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: transparent;
	transition: text-decoration-color 0.15s;
}

.single-entry__body a:hover {
	text-decoration-color: currentColor;
}

.single-ad-break {
	display: grid;
	place-items: center;
	padding: 32px 0;
	margin: 32px 0;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.single-ad-break__label {
	display: block;
	margin-bottom: 18px;
	font-size: 0.68rem;
	font-weight: var(--weight-regular);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #c0c0c0;
	text-align: center;
}

.single-rail__top .module-box__heading {
	margin-bottom: 12px;
}

.single-rail__ad {
	display: grid;
	place-items: center;
	min-height: 260px;
}

.single-related {
	margin-top: 42px;
	padding-top: 22px;
	border-top: 1px solid var(--border);
}

.single-related__inner {
	width: min(100%, 860px);
}

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

.single-related-card {
	display: grid;
	gap: 10px;
	align-content: start;
}

.single-related-card__media {
	aspect-ratio: 16 / 10;
}

.single-related-card__body {
	display: block;
}

.single-related-card__title {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.24;
	font-weight: var(--weight-semibold);
}

.lead-story__headline a,
.side-feature__title a,
.story-card__title a,
.archive-list__title a,
.plus-card__lead a,
.single-related-card__title a {
	transition: color 0.15s ease;
}

.single-hero__title a {
	transition: color 0.15s ease;
}

.lead-story__headline a:hover,
.lead-story__headline a:focus-visible,
.side-feature__title a:hover,
.side-feature__title a:focus-visible,
.story-card__title a:hover,
.story-card__title a:focus-visible,
.archive-list__title a:hover,
.archive-list__title a:focus-visible,
.plus-card__lead a:hover,
.plus-card__lead a:focus-visible,
.single-related-card__title a:hover,
.single-related-card__title a:focus-visible {
	color: var(--section-accent, var(--accent));
}

.tema-a-sticky-header .site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

body.admin-bar.tema-a-sticky-header .site-header {
	top: 32px;
}

/* ─── 404 Page ───────────────────────────────────────────── */

.error-404-shell {
	padding: 80px 0 100px;
}

.error-404-page {
	max-width: 560px;
}

.error-404__eyebrow {
	margin: 0 0 12px;
	font-size: 0.72rem;
	font-weight: var(--weight-semibold);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--accent);
}

.error-404__title {
	margin: 0 0 16px;
	font-family: var(--font-display);
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: var(--weight-bold);
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.error-404__lead {
	margin: 0 0 32px;
	font-size: 1rem;
	line-height: 1.6;
	color: var(--text-muted);
}

.error-404__search {
	display: flex;
	gap: 10px;
	margin-bottom: 24px;
}

.error-404__search-input {
	flex: 1 1 auto;
	min-width: 0;
	height: 46px;
	padding: 0 14px;
	border: 1px solid var(--border-strong);
	background: var(--surface);
	font-family: var(--font-sans);
	font-size: 0.95rem;
	color: var(--text);
	border-radius: 3px;
}

.error-404__search-input:focus {
	outline: 2px solid var(--accent);
	outline-offset: 0;
}

.error-404__search-btn {
	height: 46px;
	padding: 0 22px;
	background: var(--accent);
	color: #fff;
	border: 0;
	font-family: var(--font-sans);
	font-size: 0.85rem;
	font-weight: var(--weight-semibold);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	border-radius: 3px;
	transition: opacity 0.15s;
}

.error-404__search-btn:hover {
	opacity: 0.88;
}

.error-404__home-btn {
	display: inline-flex;
	align-items: center;
	font-size: 0.88rem;
	font-weight: var(--weight-medium);
	color: var(--text-muted);
	transition: color 0.15s;
}

.error-404__home-btn:hover {
	color: var(--accent);
}

/* ─── Header Search ──────────────────────────────────────── */

.header-search {
	position: relative;
	display: flex;
	align-items: center;
}

.header-search__toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	color: var(--text-muted);
	cursor: pointer;
	border-radius: 3px;
	transition: color 0.15s;
}

.header-search__toggle:hover {
	color: var(--text);
}

.header-search__form {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	z-index: 50;
	width: min(300px, calc(100vw - 24px));
	max-width: calc(100vw - 24px);
	background: var(--surface);
	border: 1px solid var(--border-strong);
	border-radius: 4px;
	box-shadow: var(--shadow-soft);
	padding: 8px;
}

html.no-js .nav-toggle,
html.no-js .header-search__toggle {
	display: none;
}

html.no-js .header-search__form[hidden] {
	display: block;
}

html.no-js .header-search__form {
	position: static;
	width: min(100%, 320px);
	max-width: 100%;
	margin-top: 8px;
	box-shadow: none;
}

.header-search__input {
	width: 100%;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--border);
	background: var(--surface-soft);
	font-family: var(--font-sans);
	font-size: 0.92rem;
	color: var(--text);
	border-radius: 3px;
}

.header-search__input:focus {
	outline: 2px solid var(--accent);
	outline-offset: 0;
	border-color: var(--accent);
}

/* ─── Single – Author Bio ────────────────────────────────── */

.single-author-bio {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-top: 36px;
	padding: 20px 22px;
	border: 1px solid var(--border);
	background: var(--surface-soft);
	border-radius: 4px;
}

.single-author-bio__avatar {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
}

.single-author-bio__body {
	display: grid;
	gap: 6px;
}

.single-author-bio__name {
	font-size: 0.92rem;
	font-weight: var(--weight-semibold);
	color: var(--text);
	transition: color 0.15s;
}

.single-author-bio__name:hover {
	color: var(--accent);
}

.single-author-bio__text {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.55;
	color: var(--text-muted);
}

/* ─── Single – Comments ──────────────────────────────────── */

.single-comments {
	margin-top: 40px;
	padding-top: 28px;
	border-top: 1px solid var(--border);
}

.single-comments .comments-title {
	margin: 0 0 24px;
	font-size: 1.32rem;
	line-height: 1.15;
	font-weight: var(--weight-bold);
}

.single-comments .comment-list,
.single-comments .children {
	list-style: none;
	margin: 0;
	padding: 0;
}

.single-comments .comment-list {
	margin-bottom: 28px;
}

.single-comments .children {
	margin-top: 18px;
	padding-left: 20px;
	border-left: 1px solid var(--border);
}

.single-comments .tema-a-comment {
	margin: 0;
}

.single-comments .tema-a-comment__article {
	padding: 20px 0;
	border-top: 1px solid var(--border);
}

.single-comments .comment-list > .tema-a-comment:first-child > .tema-a-comment__article {
	padding-top: 0;
	border-top: 0;
}

.single-comments .tema-a-comment__meta,
.single-comments .tema-a-comment__author-wrap {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.single-comments .tema-a-comment__author-wrap {
	justify-content: flex-start;
}

.single-comments .tema-a-comment__avatar {
	flex: 0 0 auto;
	border-radius: 999px;
}

.single-comments .tema-a-comment__author-text {
	display: grid;
	gap: 4px;
}

.single-comments .tema-a-comment__author,
.single-comments .tema-a-comment__author a {
	font-size: 0.95rem;
	font-weight: var(--weight-semibold);
	color: var(--text);
	text-decoration: none;
}

.single-comments .tema-a-comment__time,
.single-comments .tema-a-comment__edit-link a,
.single-comments .tema-a-comment__reply a,
.single-comments .comment-notes,
.single-comments .no-comments {
	font-size: 0.82rem;
	color: var(--text-muted);
}

.single-comments .tema-a-comment__content {
	margin-top: 14px;
	font-size: 0.95rem;
	line-height: 1.7;
}

.single-comments .tema-a-comment__content p:last-child {
	margin-bottom: 0;
}

.single-comments .tema-a-comment__moderation {
	margin: 12px 0 0;
	font-size: 0.84rem;
	color: var(--accent);
}

.single-comments .tema-a-comment__reply {
	margin-top: 12px;
}

.single-comments .comment-navigation {
	margin-bottom: 24px;
}

.single-comments .comment-form input[type="text"],
.single-comments .comment-form input[type="email"],
.single-comments .comment-form input[type="url"],
.single-comments .comment-form textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid var(--border-strong);
	background: var(--surface);
	font-family: var(--font-sans);
	font-size: 0.92rem;
	color: var(--text);
	border-radius: 3px;
}

.single-comments .comment-form input:focus,
.single-comments .comment-form textarea:focus {
	outline: 2px solid var(--accent);
	outline-offset: 0;
	border-color: var(--accent);
}

.single-comments .submit {
	height: 44px;
	padding: 0 24px;
	background: var(--accent);
	color: #fff;
	border: 0;
	font-family: var(--font-sans);
	font-size: 0.85rem;
	font-weight: var(--weight-semibold);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	border-radius: 3px;
	transition: opacity 0.15s;
}

.single-comments .submit:hover {
	opacity: 0.88;
}

@media (max-width: 1080px) {
	.site-header__main {
		gap: 16px;
	}

	.site-nav {
		gap: 12px;
		font-size: 13px;
		letter-spacing: 0.028em;
	}

	.section-nav {
		gap: 18px;
		align-items: stretch;
	}

	.section-tabs {
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-bottom: 6px;
		padding-right: 18px;
		scroll-padding-right: 18px;
		scrollbar-width: none;
		scroll-snap-type: x proximity;
	}

	.section-tabs a {
		scroll-snap-align: start;
	}

	.homepage-shell .section-nav__title {
		min-height: 34px;
		padding: 0 13px;
	}

	.editorial-block__grid,
	.top-cluster__lower,
	.editorial-postface {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.archive-hero__grid {
		grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
	}

	.archive-hero__grid--solo {
		grid-template-columns: 1fr;
	}

	.editorial-block__grid > :last-child,
	.top-cluster__lower > :last-child,
	.editorial-postface > :last-child {
		grid-column: 1 / -1;
	}

	.latest-panel {
		border-left: 0;
		padding-left: 0;
	}

	.top-cluster__lower--single {
		grid-template-columns: 1fr;
	}

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

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

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

	.tema-a-ad-unit--billboard {
		width: min(100%, 728px);
		height: 90px;
	}

	.single-shell__grid {
		grid-template-columns: minmax(0, 1fr) 290px;
	}

	.archive-list__item {
		grid-template-columns: 200px minmax(0, 1fr);
	}

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

@media (max-width: 1040px) {
	.site-header__main {
		grid-template-columns: auto minmax(0, 1fr) auto;
	}

	.single-shell__grid {
		grid-template-columns: 1fr;
	}

	.single-rail {
		position: static;
	}

	.single-page--with-rail .single-hero__inner {
		width: min(100%, 760px);
	}

	.single-page--with-rail .single-hero__title {
		max-width: 22ch;
	}
}

@media (max-width: 880px) {
	.layout-shell {
		width: min(var(--shell), calc(100% - 24px));
	}

	body.nav-open {
		overflow: hidden;
	}

	.site-header__main {
		grid-template-columns: auto 1fr auto;
	}

	.site-nav,
	.site-header__sub {
		display: none;
	}

	.nav-toggle {
		display: inline-flex;
		justify-self: end;
		border-color: var(--text);
		background: #fff;
		box-shadow: 0 0 0 1px rgba(29, 29, 29, 0.03), 0 6px 16px rgba(17, 17, 17, 0.08);
	}

	body.nav-open .site-header__mobile-panel {
		display: block;
	}

	.section-nav {
		flex-direction: column;
		align-items: stretch;
	}

	.section-nav__title-group {
		width: auto;
		align-self: flex-start;
	}

	.single-context {
		flex-direction: column;
		align-items: stretch;
	}

	.section-tabs {
		justify-content: flex-start;
		padding-bottom: 8px;
		gap: 8px 10px;
	}

	.section-tabs a {
		min-height: 34px;
		padding: 0 8px;
		border-radius: 999px;
	}

	.section-tabs a.is-current {
		background: var(--surface-soft);
		box-shadow: inset 0 0 0 1px var(--border);
	}

	.archive-hero__grid,
	.archive-main__grid,
	.editorial-block__grid,
	.top-cluster__lower,
	.editorial-postface,
	.service-strip__grid,
	.plus-grid,
	.footer-grid,
	.auth-panel__providers,
	.site-footer__brand,
	.site-footer__bottom {
		grid-template-columns: 1fr;
		display: grid;
	}

	.archive-list__item {
		grid-template-columns: 140px minmax(0, 1fr);
		gap: 16px;
	}

	.archive-hero__grid {
		grid-template-columns: 1fr;
	}

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

	.top-cluster__lower--single .aside-stack {
		grid-template-columns: 1fr;
	}

	.topics-showcase__grid {
		grid-template-columns: 1fr;
	}

	.plus-card__list li,
	.story-card,
	.classified-list li {
		grid-template-columns: 108px minmax(0, 1fr);
	}

	.auth-panel {
		padding: 28px 20px;
	}

	.single-related__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	.archive-rail {
		position: static;
	}

	.single-entry__body table {
		display: block;
	}

	html.no-js .site-header__main {
		grid-template-columns: auto minmax(0, 1fr);
		align-items: start;
	}

	html.no-js .header-search {
		grid-column: 1 / -1;
	}

	html.no-js .header-search__form {
		width: 100%;
		margin-top: 12px;
	}

	html.no-js .site-header__mobile-panel {
		display: block;
		position: static;
		inset: auto;
		max-height: none;
		overflow: visible;
		box-shadow: none;
	}

}

@media (max-width: 560px) {
	.homepage-shell {
		padding-bottom: 32px;
	}

	.site-header__main {
		gap: 12px;
		padding: 6px 0;
	}

	.site-logo {
		min-width: 132px;
		padding: 0 10px;
	}

	.nav-toggle {
		width: 40px;
		height: 40px;
	}

	.header-search__toggle {
		width: 32px;
		height: 32px;
	}

	.section-nav__title,
	.section-nav__title-line .section-nav__title {
		font-size: 1.42rem;
	}

	.homepage-shell .section-nav__title {
		min-height: 30px;
		padding: 0 11px;
		font-size: 1.14rem;
	}

	.section-tabs {
		gap: 6px 12px;
	}

	.section-tabs a {
		min-height: 34px;
		padding: 0 7px;
	}

	.lead-story__headline,
	.fallback-page__header h1,
	.auth-panel h2 {
		font-size: clamp(1.75rem, 9vw, 2.35rem);
	}

	.homepage-shell .lead-story__headline {
		font-size: clamp(1.62rem, 8vw, 2.08rem);
	}

	.story-card,
	.plus-card__list li,
	.classified-list li,
	.archive-list__item {
		grid-template-columns: 96px minmax(0, 1fr);
	}

	.side-feature__title {
		font-size: 1.15rem;
	}

	.latest-panel__row,
	.text-list li,
	.service-list li {
		grid-template-columns: 56px minmax(0, 1fr);
	}

	.panel-more {
		min-height: 50px;
	}

	.tema-a-ad-unit--billboard {
		width: min(100%, 320px);
		height: 100px;
	}

	.service-band {
		padding-top: 38px;
	}

	.plus-band {
		padding-top: 20px;
		padding-bottom: 40px;
	}

	.auth-section {
		padding-top: 38px;
	}

	.single-page {
		padding-top: 24px;
		padding-bottom: 42px;
	}

	.single-hero__title {
		font-size: clamp(1.9rem, 8.5vw, 2.6rem);
	}

	.single-related__grid {
		grid-template-columns: 1fr;
	}

	.single-tags {
		margin-top: 14px;
	}

	.single-entry__body {
		font-size: 1.02rem;
		line-height: 1.7;
	}

	body.admin-bar.tema-a-sticky-header .site-header {
		top: 46px;
	}
}

/* ─── Focus Visible – Accessibility ─────────────────────── */

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
	border-radius: 2px;
}

.nav-toggle:focus-visible,
.latest-panel__tab:focus-visible,
.panel-more:focus-visible,
.header-search__toggle:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

/* ─── Reduced Motion ─────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.reading-progress {
		transition: none !important;
	}
}

@media (min-width: 1440px) {
	.ad-rail {
		position: fixed;
		top: calc(var(--logo-block-height, 32px) + var(--top-stripe-height, 0px) + 122px);
		display: block;
		z-index: 8;
	}

	.ad-rail--left {
		left: calc((100vw - var(--shell)) / 2 - 176px);
	}

	.ad-rail--right {
		right: calc((100vw - var(--shell)) / 2 - 176px);
	}
}

/* ─── Print ──────────────────────────────────────────────── */


/* ─── Ad Zones ───────────────────────────────────────────── */

.ad-zone {
	background: var(--surface-muted);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.ad-zone--billboard {
	padding: 12px 0;
	text-align: center;
}

.ad-zone--footer {
	padding: 16px 0;
	text-align: center;
	margin-top: 24px;
}

.tema-a-ad-unit {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
	overflow: hidden;
}

.tema-a-ad-unit--billboard {
	width: min(100%, 728px);
	min-height: 90px;
}

.tema-a-ad-unit--rectangle {
	width: min(100%, 300px);
	min-height: 250px;
}

.tema-a-ad-unit--rail {
	width: min(100%, 300px);
	min-height: 600px;
}

.tema-a-ad-unit--placeholder {
	background: var(--surface-muted);
	border: 1px dashed var(--border-strong);
	border-radius: 3px;
	color: var(--text-muted);
	font-size: 0.72rem;
	font-weight: var(--weight-medium);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	justify-content: center;
}

.archive-list__ad-break {
	display: flex;
	justify-content: center;
	padding: 16px 0;
	border-bottom: 1px solid var(--border);
}

.single-ad-break--in-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin: 24px 0;
}

.single-ad-break__label {
	font-size: 0.72rem;
	font-weight: var(--weight-medium);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--text-muted);
}

@media (max-width: 880px) {
	.tema-a-ad-unit--billboard {
		width: min(100%, 468px);
		min-height: 60px;
	}
}

@media (max-width: 560px) {
	.tema-a-ad-unit--billboard {
		width: min(100%, 320px);
		min-height: 100px;
	}

	.ad-zone--billboard,
	.ad-zone--footer {
		padding: 10px 0;
	}
}


@media print {
	.site-header,
	.site-footer,
	.single-rail,
	.single-related,
	.single-ad-break,
	.reading-progress,
	.single-share,
	.archive-rail,
	.archive-pagination,
	.nav-toggle,
	.header-search {
		display: none !important;
	}

	body {
		font-size: 12pt;
		line-height: 1.5;
		color: #000;
		background: #fff;
	}

	.layout-shell {
		width: 100%;
		max-width: none;
	}

	.single-entry__body {
		width: 100%;
		max-width: none;
		font-size: 11pt;
	}

	.single-hero__title {
		font-size: 22pt;
		line-height: 1.15;
	}

	a {
		color: #000;
		text-decoration: underline;
	}

	a[href]::after {
		content: " (" attr(href) ")";
		font-size: 8pt;
		color: #555;
	}

	.single-hero__media-wrap img,
	.media-block__image {
		max-width: 100%;
		page-break-inside: avoid;
	}
}
