/* =========================================================
   XeberlerAZ — Premium Editorial CSS v3.0
   Dark/Light adaptive · Bold typography · Real character
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,300&family=Fira+Code:wght@400;500&display=swap');

/* ── Tokens ─────────────────────────────────────────────── */
:root {
	/* Light palette */
	--bg:           #f5f3ee;
	--surface:      #ffffff;
	--surface-2:    #faf9f6;
	--text:         #141210;
	--text-2:       #5c564e;
	--text-3:       #9a9188;
	--border:       rgba(20,18,16,0.10);
	--border-2:     rgba(20,18,16,0.18);

	/* Accent — Vermilion */
	--red:          #d63030;
	--red-bg:       rgba(214,48,48,0.08);
	--red-deep:     #aa2222;

	/* Accent — Saffron */
	--gold:         #c49a27;
	--gold-bg:      rgba(196,154,39,0.10);

	/* Nav */
	--nav:          #141210;
	--nav-text:     rgba(255,255,255,0.72);
	--nav-active:   #ffffff;

	/* Typography */
	--f-display:    'Bebas Neue', 'Impact', sans-serif;
	--f-serif:      'DM Serif Display', Georgia, serif;
	--f-body:       'DM Sans', system-ui, sans-serif;
	--f-mono:       'Fira Code', monospace;

	/* Shape */
	--r-sm:  6px;
	--r-md:  12px;
	--r-lg:  18px;
	--r-xl:  24px;

	/* Space */
	--container: 1360px;
	--content:   780px;
	--gap:        1.25rem;

	/* Shadow */
	--sh-sm:  0 2px 8px  rgba(20,18,16,0.07);
	--sh-md:  0 8px 28px rgba(20,18,16,0.10);
	--sh-lg:  0 20px 56px rgba(20,18,16,0.14);

	/* Motion */
	--ease:   cubic-bezier(0.22,1,0.36,1);
	--t1:     120ms var(--ease);
	--t2:     240ms var(--ease);
	--t3:     400ms var(--ease);
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
	:root {
		--bg:        #0e0d0b;
		--surface:   #191713;
		--surface-2: #201e1a;
		--text:      #f0ece6;
		--text-2:    #a09890;
		--text-3:    #6a6259;
		--border:    rgba(240,236,230,0.08);
		--border-2:  rgba(240,236,230,0.16);
		--nav:       #0a0908;
		--red-bg:    rgba(214,48,48,0.15);
		--gold-bg:   rgba(196,154,39,0.13);
	}
}

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

html {
	scroll-behavior: smooth;
	font-feature-settings: "kern","liga","calt";
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--f-body);
	font-size: 16px;
	font-weight: 300;
	line-height: 1.7;
}

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

a {
	color: inherit;
	text-decoration: none;
	transition: color var(--t1), background var(--t1), opacity var(--t1);
}

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

input, textarea, select {
	width: 100%;
	background: var(--surface);
	color: var(--text);
	border: 1px solid var(--border-2);
	border-radius: var(--r-sm);
	padding: 0.8rem 1rem;
	transition: border-color var(--t1), box-shadow var(--t1);
}
input:focus, textarea:focus, select:focus {
	outline: none;
	border-color: var(--red);
	box-shadow: 0 0 0 3px var(--red-bg);
}
button:focus-visible, a:focus-visible {
	outline: 2px solid var(--red);
	outline-offset: 2px;
	border-radius: 4px;
}

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

/* ── Shell ──────────────────────────────────────────────── */
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }

.container {
	width: min(calc(100% - 2.5rem), var(--container));
	margin: 0 auto;
}

.section-space { padding: 2.5rem 0; }
.section-alt   { background: var(--surface-2); }
.section-stack { margin-bottom: 3rem; }
.page-intro    { margin-bottom: 2rem; }

.page-intro-center {
	max-width: 680px; margin: 0 auto;
	padding: 3rem; text-align: center;
}

/* ── Topbar ─────────────────────────────────────────────── */
.topbar {
	background: var(--nav);
	border-bottom: 1px solid rgba(255,255,255,0.05);
}

.topbar-inner {
	display: flex; align-items: center;
	justify-content: space-between;
	padding: 0.6rem 0; gap: 1rem;
}

.topbar-date {
	margin: 0;
	font-family: var(--f-mono);
	font-size: 0.7rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-3);
}

.topbar-links-wrap { display: flex; align-items: center; gap: 2rem; }
.topbar-links, .topbar-social { display: flex; align-items: center; gap: 1.25rem; }

.topbar-links a {
	font-size: 0.78rem; font-weight: 500;
	letter-spacing: 0.04em;
	color: rgba(255,255,255,0.45);
	transition: color var(--t1);
}
.topbar-links a:hover { color: var(--gold); }

.topbar-social a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 26px; height: 26px;
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 50%;
	font-size: 0.65rem; font-weight: 700;
	color: rgba(255,255,255,0.45);
	transition: border-color var(--t1), color var(--t1);
}
.topbar-social a:hover { border-color: var(--gold); color: var(--gold); }

/* ── Main Header ────────────────────────────────────────── */
.main-header {
	background: var(--surface);
	border-bottom: 1px solid var(--border);
}

.main-header-inner {
	display: flex; align-items: center;
	justify-content: space-between;
	padding: 1.6rem 0; gap: 2rem;
}

.branding { display: flex; align-items: center; gap: 1.25rem; flex: 1; min-width: 0; }

.site-logo img, .footer-logo img, .custom-logo { max-height: 68px; width: auto; }

.site-title, .footer-site-title {
	margin: 0;
	font-family: var(--f-display);
	font-size: clamp(2.2rem, 3.5vw, 3.4rem);
	font-weight: 400; /* Bebas Neue is always bold */
	letter-spacing: 0.04em;
	line-height: 0.95;
	color: var(--text);
}
.site-title a { color: inherit; }

.site-tagline, .footer-about {
	margin: 0.4rem 0 0;
	font-size: 0.82rem;
	color: var(--text-3);
	font-style: italic;
}

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

/* ── Navigation ─────────────────────────────────────────── */
.navigation-shell {
	position: sticky; top: 0; z-index: 100;
	background: var(--nav);
	box-shadow: 0 1px 0 rgba(255,255,255,0.05), var(--sh-md);
}

.nav-inner {
	display: flex; align-items: stretch;
	justify-content: space-between;
	gap: 1rem;
}

.primary-navigation { flex: 1; min-width: 0; }

.menu {
	display: flex; flex-wrap: wrap;
	gap: 0; padding: 0; margin: 0;
	list-style: none;
}
.menu li { list-style: none; }

.nav-link {
	display: inline-flex; align-items: center;
	padding: 1.05rem 1.15rem;
	font-size: 0.82rem; font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--nav-text);
	position: relative;
	transition: color var(--t1), background var(--t1);
}
.nav-link::before {
	content: '';
	position: absolute; top: 0; left: 0; right: 0;
	height: 3px;
	background: var(--red);
	transform: scaleX(0);
	transition: transform var(--t2);
}
.current-menu-item > .nav-link,
.current-cat > a,
.current_page_item > a,
.nav-link:hover {
	color: var(--nav-active);
	background: rgba(255,255,255,0.05);
}
.current-menu-item > .nav-link::before,
.nav-link:hover::before { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; }

.mobile-menu-toggle, .search-toggle {
	display: inline-flex; align-items: center; gap: 0.5rem;
	border: none; border-left: 1px solid rgba(255,255,255,0.06);
	border-radius: 0;
	background: transparent;
	color: var(--nav-text);
	padding: 0 1.25rem;
	font-size: 0.78rem; font-weight: 500;
	letter-spacing: 0.06em; text-transform: uppercase;
	height: 100%;
	transition: background var(--t1), color var(--t1);
}
.mobile-menu-toggle:hover, .search-toggle:hover {
	background: rgba(255,255,255,0.05);
	color: var(--nav-active);
}

.mobile-menu-toggle { display: none; flex-direction: column; gap: 4px; padding: 0 1rem; }
.mobile-menu-toggle span:not(.screen-reader-text) {
	display: block; width: 18px; height: 1.5px;
	background: currentColor; border-radius: 2px;
}

.search-toggle-icon {
	position: relative; display: inline-block;
	width: 12px; height: 12px;
	border: 1.5px solid currentColor; border-radius: 50%;
}
.search-toggle-icon::after {
	content: ''; position: absolute;
	right: -5px; bottom: -4px;
	width: 6px; height: 1.5px;
	background: currentColor; transform: rotate(45deg);
}

.mobile-navigation-panel, .header-search {
	border-top: 1px solid rgba(255,255,255,0.06);
	background: var(--nav);
}
.mobile-navigation-panel .container, .header-search .container { padding: 1rem 0 1.25rem; }
.mobile-menu { flex-direction: column; }
.mobile-menu .nav-link { padding: 0.65rem 0; }

.search-form { display: flex; gap: 0.65rem; }

.search-submit, .button-primary, .comment-form .submit {
	display: inline-flex; align-items: center; justify-content: center;
	border: none; border-radius: var(--r-sm);
	padding: 0.8rem 1.4rem;
	background: var(--red); color: #fff;
	font-size: 0.82rem; font-weight: 700;
	letter-spacing: 0.04em; text-transform: uppercase;
	transition: background var(--t1), transform var(--t1);
}
.search-submit:hover, .button-primary:hover, .comment-form .submit:hover {
	background: var(--red-deep); transform: translateY(-1px);
}

/* ── Breaking Bar ───────────────────────────────────────── */
.breaking-bar {
	background: var(--red);
	border-bottom: none;
}

.breaking-inner {
	display: flex; align-items: center;
	padding: 0.6rem 0; gap: 1.25rem;
}

.breaking-badge, .badge {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 0.25rem 0.75rem;
	font-family: var(--f-mono);
	font-size: 0.65rem; font-weight: 500;
	letter-spacing: 0.1em; text-transform: uppercase;
	white-space: nowrap; flex-shrink: 0;
	border-radius: 3px;
}
.breaking-badge, .badge-breaking {
	background: rgba(0,0,0,0.25);
	color: #fff;
}
.badge {
	background: var(--red-bg);
	color: var(--red);
	border: 1px solid var(--red);
}

.breaking-track { overflow: hidden; flex: 1; }
.breaking-list {
	display: flex; gap: 2.5rem;
	min-width: max-content;
	animation: ticker 28s linear infinite;
}
.breaking-list:hover { animation-play-state: paused; }
@keyframes ticker {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

.breaking-item {
	display: inline-flex; align-items: center; gap: 0.75rem;
	color: rgba(255,255,255,0.9);
	font-size: 0.85rem; font-weight: 500;
}
.breaking-item::before { content: '·'; font-size: 1.2rem; opacity: 0.5; }
.breaking-item-time {
	font-family: var(--f-mono);
	font-size: 0.72rem; opacity: 0.65;
}

/* ── Hero Grid ──────────────────────────────────────────── */
.hero-grid {
	display: grid;
	grid-template-columns: 1.7fr 1fr 1fr;
	gap: var(--gap);
}

.featured-card {
	position: relative; min-height: 260px;
	border-radius: var(--r-xl); overflow: hidden;
	background: #111;
	transition: transform var(--t2), box-shadow var(--t2);
}
.featured-card-primary { grid-row: span 2; min-height: 520px; }

.featured-card:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }

.featured-media-link,
.featured-media-link img {
	position: absolute; inset: 0;
	width: 100%; height: 100%; object-fit: cover;
	transition: transform var(--t3);
}
.featured-card:hover .featured-media-link img { transform: scale(1.05); }

.featured-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(
		to bottom,
		transparent 20%,
		rgba(10,8,6,0.98) 100%
	);
}

.featured-content {
	position: absolute; left: 0; right: 0; bottom: 0;
	z-index: 1; padding: 1.75rem; color: #fff;
}

.featured-title {
	margin: 0.5rem 0 0;
	font-family: var(--f-display);
	font-size: clamp(1.5rem, 3vw, 3rem);
	font-weight: 400;
	line-height: 0.95;
	letter-spacing: 0.04em;
}
.featured-card:not(.featured-card-primary) .featured-title {
	font-size: clamp(1.15rem, 1.5vw, 1.55rem);
}
.featured-title a, .featured-meta { color: #fff; }
.featured-meta { opacity: 0.6; font-size: 0.78rem; letter-spacing: 0.03em; }

/* ── Section Headings ───────────────────────────────────── */
.section-heading {
	display: flex; align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 1.5rem;
	border-bottom: 2px solid var(--text);
	padding-bottom: 0.65rem;
}

.section-kicker {
	display: block; margin-bottom: 0.25rem;
	font-family: var(--f-mono);
	font-size: 0.65rem; font-weight: 500;
	letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--red);
}

.section-heading h2, .widget-title, .comments-title {
	margin: 0;
	font-family: var(--f-display);
	font-size: clamp(1.6rem, 2.5vw, 2.2rem);
	font-weight: 400;
	line-height: 0.95;
	letter-spacing: 0.04em;
	color: var(--text);
}

.section-more {
	font-family: var(--f-mono);
	font-size: 0.7rem; font-weight: 500;
	letter-spacing: 0.08em; text-transform: uppercase;
	color: var(--red);
	display: inline-flex; align-items: center; gap: 0.3rem;
	transition: gap var(--t1), color var(--t1);
}
.section-more::after { content: '↗'; }
.section-more:hover { gap: 0.55rem; color: var(--red-deep); }

/* ── Content Layout ─────────────────────────────────────── */
.content-with-sidebar {
	display: grid;
	grid-template-columns: minmax(0,1fr) 340px;
	gap: 2.5rem; align-items: start;
}

.posts-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--gap); }
.posts-grid-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.post-list   { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--gap); }

/* ── News Cards ─────────────────────────────────────────── */
.card-surface, .widget-card, .comment-respond, .comment-list > li {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
}

.news-card, .category-lead, .widget-card { overflow: hidden; }

.news-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	overflow: hidden;
	transition: transform var(--t2), box-shadow var(--t2), border-color var(--t2);
}
.news-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--sh-md);
	border-color: var(--border-2);
}

/* Red left accent strip on hover */
.news-card::before {
	content: '';
	position: absolute;
	left: 0; top: 0; bottom: 0;
	width: 3px;
	background: var(--red);
	transform: scaleY(0);
	transform-origin: bottom;
	transition: transform var(--t2);
	border-radius: var(--r-lg) 0 0 var(--r-lg);
}
.news-card { position: relative; }
.news-card:hover::before { transform: scaleY(1); }

.news-card-media, .news-card-media img {
	display: block; width: 100%;
	aspect-ratio: 16/10; object-fit: cover;
	background: var(--surface-2);
	transition: transform var(--t3);
}
.news-card:hover .news-card-media img { transform: scale(1.04); }

.media-placeholder {
	width: 100%; aspect-ratio: 16/10;
	background: var(--surface-2);
}
.media-placeholder-dark {
	height: 100%;
	background: linear-gradient(135deg, rgba(214,48,48,0.2), rgba(10,8,6,0.8));
}

.news-card-content, .card-content,
.single-header, .single-content, .single-footer,
.widget-card, .comments-area, .post-navigation,
.category-lead .card-content { padding: 1.3rem; }

.card-title, .mini-card h3, .sidebar-post a, .page-title, .single-title {
	margin: 0.55rem 0 0;
	font-family: var(--f-serif);
	line-height: 1.2; letter-spacing: -0.02em;
	color: var(--text);
}
.card-title { font-size: 1.05rem; font-weight: 400; font-style: normal; }
.page-title, .single-title { font-size: clamp(1.9rem, 3.5vw, 3.6rem); }

.entry-meta, .featured-meta, .archive-description, .card-excerpt,
.sidebar-post time, .mini-card time, .taxonomy-label, .breadcrumbs,
.single-content figcaption, .footer-column, .footer-about {
	color: var(--text-2); font-size: 0.8rem;
}

.entry-meta {
	display: flex; flex-wrap: wrap; align-items: center;
	gap: 0.4rem; margin-top: 0.65rem;
	font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.04em;
}
.meta-separator { opacity: 0.3; }

/* ── Badges ─────────────────────────────────────────────── */
.badge {
	display: inline-flex; align-items: center;
	padding: 0.22rem 0.6rem;
	border-radius: 3px;
	font-family: var(--f-mono);
	font-size: 0.62rem; font-weight: 500;
	letter-spacing: 0.1em; text-transform: uppercase;
	background: var(--red-bg); color: var(--red);
	border: 1px solid rgba(214,48,48,0.2);
}

/* ── Sidebar ────────────────────────────────────────────── */
.sidebar-area {
	display: grid; gap: var(--gap);
	position: sticky; top: 68px;
}

.widget-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	overflow: hidden;
}

.widget-title {
	margin: 0 !important;
	padding: 0.9rem 1.3rem !important;
	font-size: 0.65rem !important;
	font-family: var(--f-mono) !important;
	font-weight: 500 !important;
	letter-spacing: 0.14em !important;
	text-transform: uppercase !important;
	color: var(--text-2) !important;
	border-bottom: 1px solid var(--border);
	background: var(--surface-2);
}

.sidebar-posts, .category-list, .footer-column ul, .comment-list {
	padding: 0; margin: 0; list-style: none;
}

.sidebar-post { padding: 0.85rem 1.3rem; border-bottom: 1px solid var(--border); }
.sidebar-post:last-child { border-bottom: none; }

.sidebar-post a {
	font-family: var(--f-serif);
	font-size: 0.95rem; line-height: 1.35;
	font-weight: 400; color: var(--text);
}
.sidebar-post a:hover { color: var(--red); }
.sidebar-post time { font-family: var(--f-mono); font-size: 0.68rem; color: var(--text-3); }

.category-list li, .footer-column li {
	display: flex; align-items: center;
	justify-content: space-between;
	gap: 1rem; padding: 0.4rem 0;
}

/* ── Category Grid ──────────────────────────────────────── */
.category-grid {
	display: grid;
	grid-template-columns: minmax(0,1.3fr) minmax(0,0.9fr);
	gap: var(--gap);
}

.category-block {
	position: relative;
	padding: 1.4rem;
	border: 1px solid var(--border);
	border-radius: var(--r-xl);
	background: var(--surface);
}

.topic-accent-line {
	width: 36px; height: 2px;
	margin: 0.7rem 0 0.4rem;
	background: var(--red); border-radius: 1px;
}

.category-mini-list { display: grid; gap: 0.75rem; }

.mini-card {
	display: grid; grid-template-columns: 104px minmax(0,1fr);
	gap: 0.9rem; align-items: start;
	padding: 0.8rem;
	border: 1px solid var(--border); border-radius: var(--r-md);
	background: var(--surface);
	transition: border-color var(--t1), box-shadow var(--t1);
}
.mini-card:hover { border-color: var(--border-2); box-shadow: var(--sh-sm); }

.mini-card-thumb, .mini-card-thumb img {
	width: 104px; height: 76px;
	object-fit: cover; border-radius: var(--r-sm);
}
.mini-card h3 { font-size: 0.85rem; font-weight: 400; margin-top: 0.35rem; }
.mini-card time { font-family: var(--f-mono); font-size: 0.68rem; color: var(--text-3); }

/* ── Single Article ─────────────────────────────────────── */
.single-article, .post-navigation, .comments-area { margin-bottom: 2rem; }

.single-featured-media {
	margin: 0; overflow: hidden;
	border-radius: var(--r-xl);
	box-shadow: var(--sh-md);
}
.single-featured-media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

.single-content {
	max-width: var(--content);
	font-size: 1.08rem; line-height: 1.85;
}
.single-content p, .single-content ul, .single-content ol,
.single-content blockquote, .single-content h2,
.single-content h3, .single-content h4 { margin: 0 0 1.35rem; }

.single-content h2, .single-content h3, .single-content h4 {
	font-family: var(--f-display);
	font-weight: 400; letter-spacing: 0.04em;
	color: var(--text); line-height: 1;
}
.single-content h2 { font-size: 2rem; margin-top: 2.5rem; }
.single-content h3 { font-size: 1.5rem; margin-top: 2rem; }

.single-content blockquote {
	padding: 1.5rem 1.75rem;
	border-left: 4px solid var(--red);
	background: var(--red-bg);
	border-radius: 0 var(--r-md) var(--r-md) 0;
	font-family: var(--f-serif);
	font-size: 1.15rem; font-style: italic;
}

.single-content table { width: 100%; border-collapse: collapse; }
.single-content table th, .single-content table td {
	padding: 0.75rem 1rem; border: 1px solid var(--border);
	text-align: left; font-size: 0.9rem;
}
.single-content table th { background: var(--surface-2); font-weight: 700; }
.table-responsive { overflow-x: auto; margin-bottom: 1.35rem; }

.tag-list, .share-links { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.tag-list a, .share-links a {
	padding: 0.38rem 0.85rem;
	border: 1px solid var(--border-2);
	border-radius: var(--r-sm);
	font-size: 0.75rem; font-weight: 500;
	color: var(--text-2);
	font-family: var(--f-mono); letter-spacing: 0.04em;
	transition: border-color var(--t1), color var(--t1), background var(--t1);
}
.tag-list a:hover, .share-links a:hover {
	border-color: var(--red); color: var(--red); background: var(--red-bg);
}

.post-navigation {
	display: grid; grid-template-columns: repeat(2,minmax(0,1fr));
	gap: 1rem; padding: 1.25rem;
}
.post-navigation a { font-family: var(--f-serif); font-size: 0.95rem; }

/* ── Breadcrumbs ─────────────────────────────────────────── */
.breadcrumbs {
	display: flex; flex-wrap: wrap; gap: 0.35rem;
	margin-bottom: 1.25rem;
	font-family: var(--f-mono); font-size: 0.68rem;
	letter-spacing: 0.05em; color: var(--text-3);
}
.breadcrumbs a { color: var(--red); }

/* ── Comments ────────────────────────────────────────────── */
.comments-area .comment-list > li { padding: 1.25rem; margin-bottom: 1rem; }
.comment-form-comment, .comment-form-author,
.comment-form-email, .comment-form-url { margin-bottom: 1rem; }

/* ── Ads ─────────────────────────────────────────────────── */
.ad-placeholder {
	display: flex; align-items: center; justify-content: center;
	min-height: 120px; padding: 1rem;
	border: 1px dashed var(--border-2);
	border-radius: var(--r-md);
	background: var(--surface-2);
	color: var(--text-3);
	font-family: var(--f-mono); font-size: 0.68rem;
	letter-spacing: 0.08em; text-transform: uppercase;
	text-align: center;
}
.ad-placeholder-header { min-height: 108px; }
.ad-placeholder-sidebar { min-height: 260px; }
.ad-placeholder-article { min-height: 130px; margin-bottom: 1.75rem; }

/* ── Empty States ────────────────────────────────────────── */
.empty-state, .empty-state-box {
	padding: 2.5rem;
	border: 1px dashed var(--border-2);
	border-radius: var(--r-lg);
	background: var(--surface-2);
	color: var(--text-3);
	text-align: center; font-style: italic;
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
	margin-top: auto;
	background: var(--nav);
	color: rgba(255,255,255,0.6);
}

/* Red top strip */
.site-footer::before {
	content: '';
	display: block;
	height: 4px;
	background: var(--red);
}

.footer-top {
	display: flex; align-items: flex-start;
	justify-content: space-between;
	padding: 3rem 0 2.5rem; gap: 3rem;
}

.footer-brand { max-width: 320px; }

.footer-site-title {
	font-family: var(--f-display) !important;
	font-size: 1.8rem !important;
	letter-spacing: 0.06em !important;
	color: rgba(255,255,255,0.9) !important;
	margin-bottom: 0.6rem;
}

.footer-about {
	font-size: 0.82rem; line-height: 1.7;
	color: rgba(255,255,255,0.4) !important;
	font-style: normal;
}

.footer-columns {
	display: grid; grid-template-columns: repeat(3,minmax(0,1fr));
	gap: 2rem; flex: 1;
}

.footer-column h2 {
	margin: 0 0 0.9rem;
	font-family: var(--f-mono);
	font-size: 0.65rem; font-weight: 500;
	letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--red);
}
.footer-column ul { padding: 0; margin: 0; list-style: none; }
.footer-column li { padding: 0.32rem 0; }
.footer-column a { color: rgba(255,255,255,0.42); font-size: 0.85rem; transition: color var(--t1); }
.footer-column a:hover { color: rgba(255,255,255,0.85); }

.footer-bottom {
	display: flex; align-items: center; justify-content: space-between;
	padding: 1.1rem 0;
	border-top: 1px solid rgba(255,255,255,0.06);
	font-family: var(--f-mono);
	font-size: 0.68rem; letter-spacing: 0.06em;
	color: rgba(255,255,255,0.22);
}

/* ── Pagination ──────────────────────────────────────────── */
.pagination {
	display: flex; flex-wrap: wrap;
	gap: 0.4rem; align-items: center;
	margin-top: 2.5rem;
}
.page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 38px; height: 38px; padding: 0 0.85rem;
	border: 1px solid var(--border-2);
	border-radius: var(--r-sm);
	font-size: 0.82rem; font-weight: 500;
	transition: border-color var(--t1), background var(--t1), color var(--t1);
}
.page-numbers.current, .page-numbers:hover {
	border-color: var(--red);
	background: var(--red); color: #fff;
}

/* ── Animations ──────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
	.news-card {
		animation: rise 0.5s var(--ease) both;
	}
	@keyframes rise {
		from { opacity: 0; transform: translateY(14px); }
		to   { opacity: 1; transform: none; }
	}
	.posts-grid .news-card:nth-child(1) { animation-delay: 0.04s; }
	.posts-grid .news-card:nth-child(2) { animation-delay: 0.10s; }
	.posts-grid .news-card:nth-child(3) { animation-delay: 0.16s; }
	.posts-grid .news-card:nth-child(4) { animation-delay: 0.22s; }
	.posts-grid .news-card:nth-child(5) { animation-delay: 0.28s; }
	.posts-grid .news-card:nth-child(6) { animation-delay: 0.34s; }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1199px) {
	.hero-grid { grid-template-columns: 1fr 1fr; }
	.featured-card-primary { grid-column: 1/-1; grid-row: auto; min-height: 460px; }
	.posts-grid-3, .footer-columns { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.content-with-sidebar { grid-template-columns: minmax(0,1fr) 300px; }
}

@media (max-width: 991px) {
	.main-header-inner, .footer-top { flex-direction: column; align-items: stretch; }
	.branding, .nav-actions { justify-content: space-between; }
	.primary-navigation { display: none; }
	.mobile-menu-toggle { display: inline-flex; }
	.nav-inner { flex-direction: row; }
	.content-with-sidebar, .category-grid, .post-list,
	.posts-grid, .posts-grid-3, .posts-grid-2, .footer-columns { grid-template-columns: 1fr; }
	.sidebar-area { position: static; }
	.header-ad { width: 100%; }
	.topbar-inner { flex-direction: column; align-items: stretch; }
	.topbar-links-wrap { flex-direction: column; align-items: stretch; }
}

@media (max-width: 767px) {
	.container { width: min(calc(100% - 1.5rem), var(--container)); }
	.section-space { padding: 1.75rem 0; }
	.topbar { display: none; }
	.main-header-inner { padding: 1rem 0; }
	.hero-grid, .post-navigation { grid-template-columns: 1fr; }
	.featured-card-primary, .featured-card { min-height: 320px; }
	.featured-content, .news-card-content, .card-content,
	.single-header, .single-content, .single-footer,
	.widget-card, .comments-area, .post-navigation { padding: 1rem; }
	.single-title, .page-title { font-size: 2rem; }
	.search-form { flex-direction: column; gap: 0.55rem; }
	.search-submit, .button-primary { width: 100%; }
	.mini-card { grid-template-columns: 88px minmax(0,1fr); }
	.mini-card-thumb, .mini-card-thumb img { width: 88px; height: 66px; }
	.page-intro-center { padding: 1.5rem; }
	.footer-top { padding: 2rem 0 1.5rem; }
}
