/* ==========================================================================
   Spear News — main stylesheet (mobile first)
   ========================================================================== */

:root {
	--accent: #c8102e;
	--accent-ink: #9e0b22;
	--ink: #111214;
	--ink-2: #2a2c31;
	--muted: #686c73;
	--line: #e4e4e2;
	--soft: #f4f3f0;
	--paper: #fff;
	--wa: #128c4a;
	--font-head: "Archivo", "Arial Narrow", system-ui, sans-serif;
	--font-ui: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-body: "Source Serif 4", Georgia, "Times New Roman", serif;
	--container: 1240px;
	--gutter: 16px;
	--radius: 3px;
	--nav-h: 48px;
}

@media (min-width: 768px) {
	:root { --gutter: 24px; }
}

/* Base ------------------------------------------------------------------ */

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-ui);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg, video, iframe { max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

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

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0; padding: 0; margin: -1px;
}
.skip-link:focus {
	clip: auto; clip-path: none;
	width: auto; height: auto;
	z-index: 1000;
	top: 8px; left: 8px;
	margin: 0;
	padding: 10px 16px;
	background: var(--ink);
	color: #fff;
}

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.icon { display: block; flex: none; }

.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 44px; height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
	border-radius: 50%;
}
.icon-btn:hover { background: rgba(127, 127, 127, .12); }

/* Top bar --------------------------------------------------------------- */

.topbar {
	background: #0a0a0b;
	color: #bdbdc2;
	font-size: 12.5px;
}
.topbar__inner {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 34px;
}
.topbar__date { font-weight: 500; letter-spacing: .02em; }
.topbar__menu { display: flex; gap: 16px; margin: 0; padding: 0; list-style: none; }
.topbar a:hover { color: #fff; }
.social { display: flex; gap: 4px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.social a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.social--topbar a:hover { background: rgba(255, 255, 255, .1); }

@media (max-width: 767px) {
	.topbar { display: none; }
}

/* Masthead -------------------------------------------------------------- */

.masthead { background: var(--paper); border-bottom: 1px solid var(--line); }
.masthead__inner {
	display: grid;
	grid-template-columns: 44px 1fr 44px;
	align-items: center;
	gap: 8px;
	min-height: 64px;
}
.masthead .brand { justify-self: center; }
.masthead__ad { display: none; }
.masthead .search-toggle { justify-self: end; }

@media (min-width: 1024px) {
	.masthead__inner {
		grid-template-columns: auto 1fr;
		min-height: 124px;
		padding-block: 16px;
		gap: 32px;
	}
	.masthead .menu-toggle, .masthead .search-toggle { display: none; }
	.masthead .brand { justify-self: start; }
	.masthead__ad { display: block; justify-self: end; width: 100%; max-width: 728px; }
	.masthead__ad .ad { margin: 0; }
}

/* Brand / logo ---------------------------------------------------------- */

.brand { margin: 0; font-size: inherit; line-height: 1; }
.brand__link {
	display: grid;
	grid-template-columns: auto auto;
	grid-template-areas: "icon text" "icon tag";
	align-items: center;
	column-gap: 8px;
	color: var(--ink);
}
.brand__link:hover { color: var(--ink); }
.brand .icon--spear { grid-area: icon; color: var(--accent); width: 30px; height: 30px; }
.brand__text { grid-area: text; display: flex; align-items: center; gap: 6px; }
.brand__name {
	font-family: var(--font-head);
	font-weight: 900;
	font-stretch: 72%;
	font-size: 28px;
	letter-spacing: -.005em;
	text-transform: uppercase;
	line-height: .9;
}
.brand__news { color: var(--accent); margin-left: .18em; }
.brand__sl {
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 11px;
	line-height: 1;
	padding: 4px 5px 3px;
	background: var(--ink);
	color: #fff;
	border-radius: 2px;
	letter-spacing: .06em;
}
.brand__tagline {
	grid-area: tag;
	display: none;
	margin-top: 5px;
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: .26em;
	text-transform: uppercase;
	color: var(--muted);
}
@media (min-width: 1024px) {
	.brand--header .icon--spear { width: 46px; height: 46px; }
	.brand--header .brand__name { font-size: 50px; }
	.brand--header .brand__sl { font-size: 14px; padding: 5px 7px 4px; }
	.brand--header .brand__tagline { display: block; }
}
.brand--image img { display: block; max-height: 64px; width: auto; }
@media (min-width: 1024px) { .brand--image img { max-height: 92px; } }

.brand--mini .icon--spear { width: 20px; height: 20px; }
.brand--mini .brand__name { font-size: 22px; }
.brand--mini .brand__sl { font-size: 9px; padding: 3px 4px 2px; }

.brand--footer .brand__link, .brand--footer .brand__link:hover { color: #fff; }
.brand--footer .brand__sl { background: var(--accent); }
.brand--footer .brand__tagline { display: block; color: #8d8d93; }
.brand--footer .icon--spear { width: 40px; height: 40px; --spear-notch: #0a0a0b; }
.brand--footer .brand__name { font-size: 38px; }

/* Main navigation ------------------------------------------------------- */

.mainnav {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--ink);
	color: #fff;
	border-bottom: 3px solid var(--accent);
}
.admin-bar .mainnav { top: 32px; }
@media (max-width: 782px) { .admin-bar .mainnav { top: 0; } }

.mainnav__inner {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: var(--nav-h);
	padding-inline: 0;
}
.mainnav .brand--mini { display: none; }
.mainnav .brand--mini .brand__link,
.mainnav .brand--mini .brand__link:hover { color: #fff; }
.mainnav .brand--mini .brand__sl { background: var(--accent); }
.mainnav .brand--mini .icon--spear { --spear-notch: var(--ink); }

.nav-menu {
	display: flex;
	flex: 1;
	margin: 0;
	padding: 0 var(--gutter);
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	mask-image: linear-gradient(90deg, #000 85%, transparent);
}
.nav-menu::-webkit-scrollbar { display: none; }
.nav-menu > li { flex: none; position: relative; }
.nav-menu a {
	display: block;
	padding: 0 13px;
	line-height: var(--nav-h);
	font-family: var(--font-head);
	font-weight: 700;
	font-stretch: 88%;
	font-size: 14px;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: #e9e9ec;
	white-space: nowrap;
}
.nav-menu a:hover { color: #fff; background: #23252a; }
.nav-menu .current-menu-item > a,
.nav-menu .current-menu-ancestor > a,
.nav-menu .current-category-ancestor > a {
	color: #fff;
	box-shadow: inset 0 -3px 0 var(--accent);
}
.nav-menu .sub-menu { display: none; }

.mainnav .search-toggle--nav { display: none; color: #fff; margin-right: 4px; }

@media (min-width: 1024px) {
	.mainnav__inner { padding-inline: var(--gutter); }
	.nav-menu { overflow: visible; mask-image: none; padding: 0; }
	.mainnav .search-toggle--nav { display: inline-grid; margin-left: auto; }
	.is-stuck .mainnav .brand--mini { display: block; margin-right: 12px; }
	.nav-menu .sub-menu {
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 220px;
		margin: 0;
		padding: 6px 0;
		list-style: none;
		background: var(--ink);
		border-top: 3px solid var(--accent);
		box-shadow: 0 12px 24px rgba(0, 0, 0, .25);
	}
	.nav-menu li:hover > .sub-menu,
	.nav-menu li:focus-within > .sub-menu { display: block; }
	.nav-menu .sub-menu a { line-height: 1.3; padding: 10px 16px; font-size: 13px; }
}

.search-panel { background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); padding-block: 14px; }

/* Search form ----------------------------------------------------------- */

.search-form { display: flex; max-width: 640px; }
.search-form__input {
	flex: 1;
	min-width: 0;
	height: 46px;
	padding: 0 14px;
	font: inherit;
	font-size: 16px;
	border: 2px solid var(--ink);
	border-right: 0;
	border-radius: var(--radius) 0 0 var(--radius);
	background: #fff;
	color: var(--ink);
}
.search-form__btn {
	width: 52px;
	display: grid;
	place-items: center;
	border: 0;
	background: var(--ink);
	color: #fff;
	cursor: pointer;
	border-radius: 0 var(--radius) var(--radius) 0;
}
.search-form__btn:hover { background: var(--accent); }

/* Ticker ---------------------------------------------------------------- */

.ticker { background: var(--soft); border-bottom: 1px solid var(--line); font-size: 14px; }
.ticker__inner { display: flex; align-items: stretch; padding-inline: 0; }
@media (min-width: 768px) { .ticker__inner { padding-inline: var(--gutter); } }
.ticker__label {
	flex: none;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 14px;
	background: var(--accent);
	color: #fff;
	font-family: var(--font-head);
	font-weight: 800;
	font-stretch: 85%;
	font-size: 13px;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.ticker__dot {
	width: 8px; height: 8px;
	border-radius: 50%;
	background: #fff;
	animation: spear-pulse 1.6s ease-in-out infinite;
}
.ticker__viewport { flex: 1; overflow: hidden; position: relative; }
.ticker__list {
	display: flex;
	width: max-content;
	margin: 0;
	padding: 0;
	list-style: none;
	animation: spear-ticker var(--ticker-duration, 60s) linear infinite;
}
.ticker__viewport:hover .ticker__list,
.ticker__viewport:focus-within .ticker__list { animation-play-state: paused; }
.ticker__list li { display: flex; align-items: center; white-space: nowrap; }
.ticker__list li::before {
	content: "";
	width: 6px; height: 6px;
	margin: 0 18px;
	background: var(--accent);
	transform: rotate(45deg);
}
.ticker__list a { display: block; line-height: 42px; font-weight: 600; color: var(--ink-2); }
.ticker__list a:hover { color: var(--accent); }

@keyframes spear-ticker { to { transform: translateX(-50%); } }
@keyframes spear-pulse { 50% { opacity: .35; } }

/* Adverts --------------------------------------------------------------- */

.ad { margin: 20px auto; text-align: center; }
.ad__label {
	display: block;
	margin-bottom: 4px;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #9a9aa0;
}
.ad__slot img {
	display: inline-block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: var(--ad-max, 250px);
	vertical-align: top;
}
.ad__slot figure, .ad__slot p { margin: 0; }
.ad__slot iframe { max-width: 100%; }
.ad__slot[data-rotate] > .ad__item + .ad__item { display: none; }

.ad__placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	width: 100%;
	height: min(var(--ad-max, 120px), 110px);
	margin-inline: auto;
	border: 1px dashed #c9c8c3;
	border-radius: var(--radius);
	background: repeating-linear-gradient(135deg, var(--soft) 0 10px, #fbfaf8 10px 20px);
	color: var(--muted);
}
.ad__placeholder:hover { border-color: var(--accent); color: var(--accent); }
.ad__ph-title { font-family: var(--font-head); font-weight: 800; font-stretch: 85%; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.ad__ph-size { font-size: 12px; }

.container--ad .ad { margin-block: 16px 0; }
.ad--below-nav .ad__slot img, .ad--below-nav .ad__placeholder { max-width: min(100%, 970px); }
.ad--header .ad__placeholder { height: 90px; max-width: min(100%, 728px); }
.ad--home-1, .ad--home-2, .ad--footer, .ad--archive { margin-block: 28px; }
.ad--in-article-1, .ad--in-article-2 { margin: 28px auto; padding-block: 12px; border-block: 1px solid var(--line); }
.sidebar .ad--empty .ad__placeholder { height: 250px; }

.ad-sticky {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 60;
	padding: 6px 40px 6px 6px;
	background: rgba(255, 255, 255, .97);
	box-shadow: 0 -4px 18px rgba(0, 0, 0, .15);
}
.ad-sticky .ad { margin: 0; }
.ad-sticky .ad__label { display: none; }
.ad-sticky__close {
	position: absolute;
	top: 6px; right: 6px;
	width: 28px; height: 28px;
	display: grid; place-items: center;
	border: 0;
	border-radius: 50%;
	background: var(--ink);
	color: #fff;
	cursor: pointer;
}
@media (min-width: 768px) { .ad-sticky { display: none !important; } }

/* Section headings ------------------------------------------------------ */

.section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
	border-bottom: 2px solid var(--ink);
}
.section-title {
	margin: 0;
	padding-bottom: 8px;
	font-weight: 800;
	font-stretch: 80%;
	font-size: 20px;
	letter-spacing: .03em;
	text-transform: uppercase;
}
.section-title span { display: inline-flex; align-items: center; gap: 10px; }
.section-title span::before {
	content: "";
	width: 9px; height: 9px;
	background: var(--accent);
	transform: rotate(45deg);
	flex: none;
}
.section-title--live span::before { border-radius: 50%; transform: none; animation: spear-pulse 1.6s ease-in-out infinite; }
.section-more {
	padding-bottom: 9px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--muted);
	white-space: nowrap;
}
.section-more:hover { color: var(--accent); }

/* Cards ----------------------------------------------------------------- */

.card { position: relative; min-width: 0; }
.card__media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--soft);
	border-radius: var(--radius);
	margin-bottom: 12px;
}
.card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.035); }

.kicker {
	display: inline-block;
	margin-bottom: 6px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--accent);
}
.kicker:hover { color: var(--accent-ink); text-decoration: underline; }

.card__title {
	margin: 0 0 6px;
	font-weight: 750;
	font-stretch: 90%;
	font-size: 18px;
	line-height: 1.2;
	letter-spacing: -.005em;
	text-wrap: balance;
}
.card__title a:hover { color: var(--accent); }
.card__excerpt { margin: 0 0 8px; color: var(--ink-2); font-family: var(--font-body); font-size: 16px; line-height: 1.55; }

.meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12.5px; color: var(--muted); }
.meta__author { font-weight: 600; color: var(--ink-2); }
.meta__author a:hover { color: var(--accent); }

.card--lead .card__title { font-size: clamp(26px, 1.2rem + 1.8vw, 38px); font-weight: 800; font-stretch: 84%; line-height: 1.08; }
.card--lead .card__excerpt { font-size: 17px; }
.card--lead .card__media { margin-bottom: 14px; }

.card--compact {
	display: grid;
	grid-template-columns: 112px 1fr;
	gap: 14px;
	align-items: start;
}
.card--compact.card--no-image { grid-template-columns: 1fr; }
.card--compact .card__media { aspect-ratio: 4 / 3; margin: 0; }
.card--compact .card__title { font-size: 16px; }
.card--compact .card__excerpt { display: none; }

.card--text .card__title { font-size: 16px; }

/* Opinion cards */
.card--opinion { padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.card__author { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #f1c4cb; }
.card__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--accent); }
.card--opinion .card__title { font-family: var(--font-body); font-style: italic; font-weight: 600; font-stretch: normal; font-size: 19px; line-height: 1.3; color: #fff; }
.card--opinion .card__title a:hover { color: #ffb3bd; }
.card--opinion .meta { color: #a3a3aa; }

/* Homepage: hero -------------------------------------------------------- */

.hero {
	display: grid;
	gap: 24px;
	padding-block: 20px 8px;
}
.hero__secondary { display: grid; gap: 20px; }
.hero__secondary .card--compact { padding-top: 16px; border-top: 1px solid var(--line); }
.hero__latest { background: var(--soft); padding: 16px 18px; border-radius: var(--radius); }
.hero__latest .section-head { margin-bottom: 4px; }

.latest-list { margin: 0; padding: 0; list-style: none; }
.latest-list li { padding: 11px 0; border-bottom: 1px solid var(--line); }
.latest-list li:last-child { border-bottom: 0; }
.latest-list time { display: block; margin-bottom: 2px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.latest-list a { font-weight: 650; font-size: 15px; line-height: 1.3; }

@media (min-width: 640px) {
	.hero__secondary { grid-template-columns: 1fr 1fr; }
	.hero__secondary .card--compact { grid-column: span 1; }
}
@media (min-width: 1024px) {
	.hero { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr) minmax(0, .95fr); gap: 28px; padding-top: 24px; }
	.hero__secondary { grid-template-columns: 1fr; gap: 18px; }
	.hero__secondary .card--standard .card__title { font-size: 17px; }
	.hero__lead .card__media { aspect-ratio: 3 / 2; }
}

/* Layout: main + sidebar ------------------------------------------------ */

.layout { display: grid; gap: 40px; padding-bottom: 40px; }
@media (min-width: 1024px) {
	.layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; }
}
.layout__main { min-width: 0; }

/* Homepage sections ----------------------------------------------------- */

.home-section { margin-bottom: 40px; }
.home-section__grid { display: grid; gap: 22px; }
.home-section--feature .home-section__list { display: grid; gap: 16px; align-content: start; }
.home-section--feature .home-section__list .card + .card { padding-top: 16px; border-top: 1px solid var(--line); }
.home-section--feature .home-section__main .card__title { font-size: 23px; font-weight: 800; font-stretch: 86%; }

@media (min-width: 560px) {
	.home-section--grid .home-section__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
	.home-section--feature .home-section__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; }
	.home-section--grid .home-section__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Opinion band ---------------------------------------------------------- */

.opinion-band {
	margin: 0 0 40px;
	padding: 22px 20px 20px;
	background: var(--ink);
	color: #fff;
	border-radius: var(--radius);
	position: relative;
	overflow: hidden;
}
.opinion-band::after {
	content: "\201C";
	position: absolute;
	right: 18px; bottom: -120px;
	font-family: var(--font-body);
	font-size: 260px;
	line-height: 1;
	color: rgba(200, 16, 46, .28);
	pointer-events: none;
}
.opinion-band .section-head { border-bottom-color: rgba(255, 255, 255, .85); position: relative; z-index: 1; }
.opinion-band .section-more { color: #c9c9cf; }
.opinion-band .section-more:hover { color: #fff; }
.opinion-band__grid { display: grid; position: relative; z-index: 1; }
@media (min-width: 640px) {
	.opinion-band__grid { grid-template-columns: 1fr 1fr; column-gap: 28px; }
}
.opinion-band__submit {
	position: relative;
	z-index: 1;
	display: block;
	background: var(--ink);
	margin-top: 14px;
	padding: 14px 16px;
	border: 1px solid rgba(255, 255, 255, .25);
	border-left: 4px solid var(--accent);
	border-radius: var(--radius);
	font-size: 14.5px;
	color: #d8d8dc;
}
.opinion-band__submit strong { color: #fff; margin-right: 6px; }
.opinion-band__submit:hover { color: #fff; background: rgba(255, 255, 255, .06); }

/* Sidebar --------------------------------------------------------------- */

.sidebar { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.sidebar .ad { margin: 0; }
.sidebar__sticky { position: sticky; top: calc(var(--nav-h) + 20px); }
.admin-bar .sidebar__sticky { top: calc(var(--nav-h) + 52px); }
.widget { min-width: 0; }

.most-read { margin: 0; padding: 0; list-style: none; counter-reset: mr; }
.most-read li {
	counter-increment: mr;
	display: grid;
	grid-template-columns: 38px 1fr;
	column-gap: 10px;
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
}
.most-read li::before {
	content: counter(mr);
	grid-row: span 2;
	font-family: var(--font-head);
	font-weight: 900;
	font-stretch: 75%;
	font-size: 38px;
	line-height: .9;
	color: var(--accent);
}
.most-read a { font-weight: 650; line-height: 1.3; }
.most-read time { font-size: 12px; color: var(--muted); }

.wa-cta {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px;
	border-radius: var(--radius);
	background: #e8f7ee;
	border: 1px solid #b8e6c9;
	color: #0d3d23;
	font-size: 14px;
	line-height: 1.4;
}
.wa-cta .icon { color: var(--wa); }
.wa-cta strong { display: block; font-size: 15.5px; }
.wa-cta:hover { color: #0d3d23; border-color: var(--wa); }

/* Breadcrumbs ----------------------------------------------------------- */

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
	color: var(--muted);
}
.breadcrumbs li:not(:last-child)::after { content: "/"; margin: 0 8px; color: #c4c4c4; }
.breadcrumbs li:last-child { display: none; }
.breadcrumbs li:nth-last-child(2)::after { display: none; }
.breadcrumbs a { font-weight: 600; }
.page .breadcrumbs li:last-child, .archive .breadcrumbs li:last-child, .search .breadcrumbs li:last-child { display: list-item; }
.page .breadcrumbs li:nth-last-child(2)::after, .archive .breadcrumbs li:nth-last-child(2)::after, .search .breadcrumbs li:nth-last-child(2)::after { display: inline; }

/* Article --------------------------------------------------------------- */

.layout--article { padding-top: 12px; }
.article { min-width: 0; }
.article__header { margin-bottom: 20px; }
.article__header .kicker { font-size: 13px; }
.article__title {
	margin: 0 0 14px;
	font-weight: 800;
	font-stretch: 84%;
	font-size: clamp(30px, 1.1rem + 2.6vw, 50px);
	line-height: 1.06;
	letter-spacing: -.012em;
	text-wrap: balance;
}
.article__dek { margin: 0 0 18px; font-family: var(--font-body); font-size: 20px; line-height: 1.45; color: var(--ink-2); }

.byline {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-block: 14px;
	border-block: 1px solid var(--line);
	margin-bottom: 14px;
}
.byline__avatars { display: flex; flex: none; }
.byline__avatars img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }
.byline__avatars img + img { margin-left: -12px; }
.byline__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.byline__authors { font-weight: 700; font-size: 15px; }
.byline__authors a { color: var(--ink); box-shadow: inset 0 -2px 0 rgba(200, 16, 46, .35); }
.byline__authors a:hover { color: var(--accent); }
.byline__meta { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 13px; color: var(--muted); }
.byline__meta > * + *::before { content: "·"; margin-right: 12px; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share__label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.share__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 40px;
	height: 40px;
	padding: 0 10px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	color: var(--ink-2);
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}
.share__btn:hover { border-color: currentColor; }
.share__btn--whatsapp { color: var(--wa); }
.share--top .share__btn--whatsapp { background: var(--wa); border-color: var(--wa); color: #fff; padding: 0 16px 0 12px; }
.share--top .share__btn--whatsapp:hover { background: #0e7a40; color: #fff; }
.share__btn--facebook:hover { color: #1877f2; }
.share__btn--telegram:hover { color: #229ed9; }
.share__btn--x:hover { color: #000; }
.share__btn.is-copied { color: var(--wa); border-color: var(--wa); }

.article__image { margin: 0 0 8px; }
.article__image img { display: block; width: 100%; border-radius: var(--radius); }
.article__image figcaption { margin-top: 8px; font-size: 13.5px; color: var(--muted); }

.entry-content {
	font-family: var(--font-body);
	font-size: 19px;
	line-height: 1.72;
	color: #1d1e21;
	overflow-wrap: break-word;
}
.article__content { max-width: 720px; margin-top: 24px; }
.entry-content > * { margin-block: 0 1.15em; }
.entry-content a { color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--accent); }
.entry-content h2, .entry-content h3, .entry-content h4 { font-family: var(--font-head); font-stretch: 88%; margin-top: 1.6em; line-height: 1.2; }
.entry-content h2 { font-size: 26px; }
.entry-content h3 { font-size: 22px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content blockquote {
	margin-inline: 0;
	padding: 4px 0 4px 20px;
	border-left: 4px solid var(--accent);
	font-style: italic;
	font-size: 21px;
	color: var(--ink-2);
}
.entry-content figure { margin-inline: 0; }
.entry-content figcaption, .entry-content .wp-element-caption { font-family: var(--font-ui); font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.entry-content img { border-radius: var(--radius); }
.entry-content .ad__slot img { border-radius: 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-family: var(--font-ui); font-size: 15px; }
.entry-content th, .entry-content td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; }
.entry-content iframe { width: 100%; }
.entry-content .wp-block-file { font-family: var(--font-ui); font-size: 15px; }
.entry-content .alignright { float: right; margin: 0 0 1em 1.5em; max-width: 50%; }
.entry-content .alignleft { float: left; margin: 0 1.5em 1em 0; max-width: 50%; }
.entry-content .aligncenter { margin-inline: auto; }

.article__footer { max-width: 720px; display: grid; gap: 22px; margin-top: 28px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--soft); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.tags a:hover { background: var(--ink); color: #fff; }

.author-box {
	display: flex;
	gap: 16px;
	padding: 18px;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	border-top: 3px solid var(--ink);
}
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.author-box p { margin: 0; }
.author-box__label { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.author-box__name { font-family: var(--font-head); font-weight: 800; font-stretch: 88%; font-size: 21px; }
.author-box__bio { margin-top: 6px !important; font-size: 15px; color: var(--ink-2); }

.related { margin-top: 36px; }
.related__grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.related__grid .card__title { font-size: 16.5px; }
.related__grid--wide { margin-bottom: 48px; }

/* Archives -------------------------------------------------------------- */

.archive-header { padding: 14px 0 22px; margin-bottom: 24px; border-bottom: 2px solid var(--ink); }
.archive-header__eyebrow { margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.archive-header__title {
	margin: 0;
	font-weight: 900;
	font-stretch: 78%;
	font-size: clamp(32px, 1.2rem + 3vw, 56px);
	line-height: 1;
	text-transform: uppercase;
}
.archive-header__desc { max-width: 680px; margin-top: 10px; font-family: var(--font-body); font-size: 18px; color: var(--ink-2); }
.archive-header .search-form { margin-top: 16px; }

.archive-list { display: grid; gap: 22px; }
.archive-list > .card + .card { padding-top: 22px; border-top: 1px solid var(--line); }
.archive-list .card--lead { padding-bottom: 6px; }
@media (min-width: 640px) {
	.archive-list .card--compact { grid-template-columns: 240px 1fr; gap: 20px; }
	.archive-list .card--compact .card__title { font-size: 20px; }
	.archive-list .card--compact .card__excerpt { display: block; font-size: 15.5px; }
}

.pagination { margin-top: 36px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font-weight: 700;
	font-size: 14px;
}
.pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--accent); color: var(--accent); }
.pagination .dots { border: 0; }

.empty-state { padding: 40px 0; font-size: 18px; }

/* Pages ----------------------------------------------------------------- */

.page-article { padding-top: 16px; min-width: 0; }
.page-article__title { font-weight: 900; font-stretch: 80%; font-size: clamp(32px, 1.2rem + 2.6vw, 50px); line-height: 1.05; margin-bottom: 24px; }
.page-article--wide { max-width: 980px; padding-bottom: 48px; }

.adv__heading { margin-top: 36px; font-stretch: 85%; font-size: 26px; }
.adv__grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.adv__card { padding: 16px; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); }
.adv__card h3 { font-size: 17px; margin: 6px 0 4px; }
.adv__card p { margin: 0; font-size: 14px; color: var(--muted); }
.adv__size { font-family: var(--font-head); font-weight: 900; font-stretch: 78%; font-size: 24px; color: var(--accent); }
.adv__contact { margin-top: 32px; padding: 24px; background: var(--soft); border-radius: var(--radius); }
.adv__contact h2 { font-size: 24px; }
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 6px 8px 0 0;
	padding: 12px 18px;
	border-radius: var(--radius);
	background: var(--ink);
	color: #fff;
	font-weight: 700;
}
.btn:hover { background: var(--accent); color: #fff; }
.btn--wa { background: var(--wa); }

.not-found { max-width: 640px; padding: 56px 0 40px; }
.not-found__code { margin: 0; font-family: var(--font-head); font-weight: 900; font-stretch: 70%; font-size: 120px; line-height: 1; color: var(--accent); }
.not-found h1 { font-size: 34px; }

/* Comments -------------------------------------------------------------- */

.comments { margin-top: 40px; max-width: 720px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 28px; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment-author img { border-radius: 50%; vertical-align: middle; margin-right: 8px; }
.comment-meta { font-size: 13px; color: var(--muted); }
.comment-content { font-family: var(--font-body); font-size: 17px; }
.comment-reply-title { font-stretch: 85%; font-size: 22px; }
.comment-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%;
	padding: 10px 12px;
	font: inherit;
	border: 1px solid #c8c8c8;
	border-radius: var(--radius);
}
.comment-form .submit { padding: 12px 22px; border: 0; border-radius: var(--radius); background: var(--ink); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.comment-form .submit:hover { background: var(--accent); }

/* Footer ---------------------------------------------------------------- */

.site-footer { margin-top: 32px; background: #0a0a0b; color: #b4b4ba; font-size: 14.5px; }
.footer__grid { display: grid; gap: 36px; padding-block: 48px 36px; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.5fr 1fr .9fr 1.3fr; } .footer__brand { grid-column: auto; } }
.footer__brand p { max-width: 400px; line-height: 1.6; }
.footer__brand .brand { margin-bottom: 18px; }
.footer__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	font-weight: 800;
	font-stretch: 82%;
	font-size: 15px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #fff;
}
.footer__title::before { content: ""; width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); }
.footer__links, .footer__latest { margin: 0; padding: 0; list-style: none; }
.footer__links li { margin-bottom: 9px; }
.footer__links--cols { columns: 2; column-gap: 16px; }
.footer__links a:hover, .footer__latest a:hover, .footer__contact a:hover { color: #fff; }
.footer__latest li { padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid #1f1f22; }
.footer__latest a { display: block; color: #e4e4e8; font-weight: 600; line-height: 1.35; margin-bottom: 3px; }
.footer__latest time { font-size: 12px; color: #7d7d84; }
.footer__contact { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.social--footer { margin: 0 0 16px; }
.social--footer a { background: #1b1b1e; color: #e4e4e8; width: 36px; height: 36px; }
.social--footer a:hover { background: var(--accent); color: #fff; }

.footer__bottom { border-top: 1px solid #1f1f22; font-size: 13px; }
.footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; padding-block: 16px; }
.footer__bottom p { margin: 0; }
.footer__bottom a:hover { color: #fff; }
.back-to-top { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
@media (max-width: 767px) { .site-footer { padding-bottom: 70px; } }

/* Mobile drawer --------------------------------------------------------- */

.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(10, 10, 11, .55); }
.drawer__panel {
	position: absolute;
	top: 0; bottom: 0; left: 0;
	width: min(88vw, 360px);
	padding: 12px 16px 24px;
	overflow-y: auto;
	background: var(--paper);
	display: flex;
	flex-direction: column;
	gap: 18px;
	animation: spear-drawer .22s ease-out;
}
@keyframes spear-drawer { from { transform: translateX(-100%); } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer .nav-menu { flex-direction: column; padding: 0; overflow: visible; mask-image: none; }
.drawer .nav-menu a { color: var(--ink); line-height: 1.2; padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
.drawer .nav-menu a:hover { background: none; color: var(--accent); }
.drawer .nav-menu .current-menu-item > a { box-shadow: inset 3px 0 0 var(--accent); padding-left: 12px; }
.drawer .nav-menu .sub-menu { display: block; list-style: none; padding-left: 14px; }
.drawer .social { margin: 0; }
.drawer .social a { background: var(--soft); width: 40px; height: 40px; }
body.drawer-open { overflow: hidden; }

/* Motion preferences ---------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.ticker__viewport { overflow-x: auto; }
}
