/*
Theme Name: Uplive Magazine
Description: Premium editorial design for Uplive News — clean white canvas, charcoal typography, Uplive red accent, full-width editorial grids. Hindi-first with a single Mukta webfont, no external libraries.
Author: Uplive
Version: 2.0.7
Requires at least: 5.9
Tested up to: 6.5
Text Domain: uplive-magazine
*/

/* ============ 1. Tokens & Reset ============ */
:root {
	--accent: #d71920;
	--accent-dark: #a8111a;
	--accent-soft: #fdecec;
	--navy: #0d1730;
	--navy-2: #141f3d;
	--ink: #11151c;
	--ink-2: #2a3140;
	--muted: #626c7d;
	--soft: #f4f6f9;
	--soft-2: #eaedf2;
	--line: #e6e9ee;
	--white: #ffffff;
	--max: 1320px;
	--radius: 8px;
	--radius-lg: 12px;
	--font: 'Mukta', 'Noto Sans Devanagari', 'Segoe UI', Tahoma, 'Nirmala UI', sans-serif;
	--shadow-sm: 0 1px 2px rgba(13, 23, 48, .05);
	--shadow-md: 0 12px 28px rgba(13, 23, 48, .08);
	--shadow-lg: 0 24px 48px rgba(13, 23, 48, .14);
	--speed: .2s;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16.5px;
	line-height: 1.7;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	border: 0;
}

a {
	color: var(--accent);
	text-decoration: none;
	transition: color var(--speed) ease;
}

a:hover {
	color: var(--accent-dark);
}

ul,
ol {
	padding: 0;
	margin: 0;
	list-style: none;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .5em;
	font-family: var(--font);
	font-weight: 800;
	line-height: 1.28;
	letter-spacing: -.01em;
	color: var(--ink);
	text-rendering: optimizeLegibility;
}

p {
	margin: 0 0 1em;
}

hr {
	border: 0;
	border-top: 1px solid var(--line);
	margin: 2em 0;
}

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

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	clip: rect(0 0 0 0);
	overflow: hidden;
}

/* ============ 2. Layout primitives ============ */
.container {
	max-width: var(--max);
	margin-inline: auto;
	padding-inline: 20px;
}

.site-main {
	min-height: 60vh;
}

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

.home-layout {
	margin-top: 20px;
}

.layout-wrap .content-area {
	min-width: 0;
}

.layout-wrap--full {
	grid-template-columns: 1fr;
}

/* ============ 3. Top utility bar ============ */
.topbar {
	background: var(--navy);
	color: #c6cedb;
	font-size: 13px;
	border-bottom: 3px solid var(--accent);
}

.topbar a {
	color: #c6cedb;
}

.topbar a:hover {
	color: #fff;
}

.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 38px;
}

.topbar-date {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-weight: 500;
	letter-spacing: .01em;
}

.topbar-date .dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--accent);
	animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
	0%, 100% { opacity: 1; }
	50% { opacity: .35; }
}

.topbar-links {
	display: inline-flex;
	align-items: center;
	gap: 18px;
}

.topbar-useful a {
	font-weight: 600;
	opacity: .92;
}

.topbar-social {
	display: inline-flex;
	gap: 4px;
}

.topbar-social a {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 5px;
	background: rgba(255, 255, 255, .08);
	transition: background var(--speed) ease, color var(--speed) ease;
}

.topbar-social a:hover {
	background: var(--accent);
	color: #fff;
}

.topbar-social svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
}

/* ============ 4. Brand header ============ */
.site-header {
	background: var(--white);
	border-bottom: 1px solid var(--line);
}

.header-inner {
	display: grid;
	grid-template-columns: minmax(0, auto) minmax(0, 1fr) minmax(0, auto);
	align-items: center;
	gap: 28px;
	padding: 22px 0;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

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

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

.brand-mark {
	display: grid;
	place-items: center;
	min-width: 52px;
	height: 52px;
	padding: 0 6px;
	background: var(--accent);
	color: #fff;
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -.02em;
	border-radius: 9px;
	line-height: 1;
}

.brand-text {
	line-height: 1.1;
}

.site-title {
	margin: 0;
	font-size: clamp(26px, 2.6vw, 34px);
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.05;
	color: var(--navy);
}

.site-title a {
	color: inherit;
}

.site-title a:hover {
	color: var(--accent);
}

.site-tagline {
	margin: 4px 0 0;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--muted);
}

.header-ad-slot {
	justify-self: center;
	width: 100%;
	max-width: 720px;
	min-height: 88px;
	display: grid;
	place-items: center;
	border: 1px dashed var(--line);
	border-radius: var(--radius);
	background: var(--soft);
	text-align: center;
}

.header-ad-slot img {
	width: 100%;
	height: auto;
	border-radius: var(--radius);
}

.header-ad-slot .ad-label {
	font-size: 11px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--muted);
}

.header-actions {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	justify-self: end;
}

.icon-btn {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	color: var(--ink);
	cursor: pointer;
	transition: border-color var(--speed) ease, color var(--speed) ease, background var(--speed) ease;
}

.icon-btn:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.icon-btn svg {
	width: 19px;
	height: 19px;
	fill: currentColor;
}

.header-search-pop {
	display: none;
	border-top: 1px solid var(--line);
	background: var(--white);
	padding: 16px 0;
	box-shadow: var(--shadow-md);
}

.header-search-pop.is-open {
	display: block;
}

/* ============ 5. Navigation ============ */
.site-nav {
	position: sticky;
	top: 0;
	z-index: 80;
	background: var(--white);
	border-bottom: 1px solid var(--line);
}

.site-nav.is-stuck {
	box-shadow: var(--shadow-sm);
}

.nav-inner {
	display: flex;
	align-items: center;
	gap: 6px;
	min-height: 54px;
}

.main-menu {
	display: flex;
	align-items: stretch;
	gap: 2px;
	width: 100%;
	white-space: nowrap;
}

.main-menu > li {
	position: relative;
}

.main-menu > li > a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 15px 14px;
	font-size: 15px;
	font-weight: 700;
	color: var(--ink);
	border-bottom: 3px solid transparent;
	transition: color var(--speed) ease, border-color var(--speed) ease, background var(--speed) ease;
}

.main-menu > li > a:hover,
.main-menu > li.current-menu-item > a,
.main-menu > li.current-menu-ancestor > a,
.main-menu > li.current-cat > a {
	color: var(--accent);
	border-bottom-color: var(--accent);
}

.main-menu .menu-home a {
	padding-inline: 12px 14px;
}

.main-menu .menu-home a::before {
	content: "";
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	background: currentColor;
	-webkit-mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3E%3Cpath d="M12 3 2.7 11.6h2.5V21h5.2v-5.7h3.2V21h5.2v-9.4h2.5L12 3z"/%3E%3C/svg%3E') no-repeat center / contain;
	mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3E%3Cpath d="M12 3 2.7 11.6h2.5V21h5.2v-5.7h3.2V21h5.2v-9.4h2.5L12 3z"/%3E%3C/svg%3E') no-repeat center / contain;
}

.menu-more {
	display: none;
	margin-left: auto;
}

.menu-more.is-active {
	display: list-item;
}

.menu-more > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 15px 14px;
	font-size: 15px;
	font-weight: 700;
	color: var(--ink);
	border-bottom: 3px solid transparent;
	transition: color var(--speed) ease, border-color var(--speed) ease;
}

.menu-more > a::after {
	content: "";
	width: 9px;
	height: 9px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	margin-left: 2px;
}

.menu-more > a:hover {
	color: var(--accent);
	border-bottom-color: var(--accent);
}

.main-menu ul {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 230px;
	padding: 8px 0;
	background: var(--white);
	border: 1px solid var(--line);
	border-top: 3px solid var(--accent);
	border-radius: 0 0 var(--radius) var(--radius);
	box-shadow: var(--shadow-md);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
	z-index: 90;
}

.main-menu li:hover > ul,
.main-menu li:focus-within > ul {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.main-menu ul a {
	display: block;
	padding: 9px 18px;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--ink);
}

.main-menu ul a:hover {
	background: var(--soft);
	color: var(--accent);
}

.menu-toggle {
	display: none;
	margin-left: auto;
}

/* Mobile slide-down panel */
.mobile-panel {
	display: none;
}

/* ============ 6. Breaking ticker ============ */
.breaking-bar {
	background: var(--soft);
	border-bottom: 1px solid var(--line);
}

.breaking-inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: stretch;
	min-height: 44px;
}

.breaking-label {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 0 16px;
	background: var(--accent);
	color: #fff;
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
}

.breaking-label svg {
	width: 15px;
	height: 15px;
	fill: currentColor;
	animation: pulse-dot 1.6s ease-in-out infinite;
}

.breaking-viewport {
	display: flex;
	align-items: center;
	overflow: hidden;
}

.breaking-track {
	display: flex;
	align-items: center;
	gap: 46px;
	width: max-content;
	will-change: transform;
}

.breaking-track.is-paused {
	animation-play-state: paused;
}

.breaking-item {
	display: inline-block;
	font-size: 14.5px;
	font-weight: 700;
	color: var(--ink);
	white-space: nowrap;
	max-width: 58ch;
	overflow: hidden;
	text-overflow: ellipsis;
}

.breaking-item::before {
	content: "\2022";
	color: var(--accent);
	margin-right: 12px;
}

.breaking-item:hover {
	color: var(--accent);
}

/* ============ 7. Hero ============ */
.hero-zone {
	margin: 26px auto 6px;
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.8fr) minmax(300px, .9fr);
	gap: 18px;
	align-items: stretch;
}

.hero-lead {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 470px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--navy);
}

.hero-lead .thumb {
	position: absolute;
	inset: 0;
}

.hero-lead .thumb img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s ease;
}

.hero-lead:hover .thumb img {
	transform: scale(1.02);
}

.hero-lead::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(13, 23, 48, .05) 30%, rgba(13, 23, 48, .88) 100%);
}

.hero-lead-body {
	position: relative;
	z-index: 2;
	padding: 28px 30px 26px;
	width: 100%;
}

.hero-title {
	margin: 0 0 10px;
	font-size: clamp(26px, 2.4vw, 36px);
	line-height: 1.16;
	font-weight: 800;
	letter-spacing: -.012em;
}

.hero-title a {
	color: #fff;
}

.hero-title a:hover {
	color: #ffd3d7;
}

.hero-excerpt {
	margin: 0 0 12px;
	max-width: 64ch;
	font-size: 15.5px;
	line-height: 1.6;
	color: #d6dbe6;
}

.hero-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 9px;
	font-size: 12.5px;
	font-weight: 600;
	color: #aab3c4;
}

.hero-meta .meta-sep {
	color: #5d6880;
}

/* Category chip */
.cat-chip {
	display: inline-block;
	padding: 4px 10px;
	background: var(--accent);
	color: #fff !important;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	border-radius: 4px;
	transition: background var(--speed) ease;
}

.cat-chip:hover {
	background: var(--accent-dark);
}

/* Supporting stack */
.hero-support {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	align-content: start;
}

.support-card {
	display: grid;
	grid-template-columns: 122px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	padding: 10px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	transition: box-shadow var(--speed) ease, transform var(--speed) ease;
}

.support-card:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
}

.support-card .thumb {
	width: 122px;
	height: 82px;
	border-radius: var(--radius);
	overflow: hidden;
	flex-shrink: 0;
}

.support-card h3 {
	margin: 0;
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.support-card h3 a {
	color: var(--ink);
}

.support-card h3 a:hover {
	color: var(--accent);
}

.support-card .meta {
	margin-top: 6px;
}

/* ============ 8. Meta & shared bits ============ */
.meta {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--muted);
}

.meta-sep {
	color: #c2c9d4;
}

.thumb {
	display: block;
	margin: 0;
	overflow: hidden;
	background: var(--soft-2);
}

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

/* ============ 9. Section modules ============ */
.section-module {
	margin-top: 42px;
}

.section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	border-bottom: 2px solid var(--navy);
	padding-bottom: 10px;
	margin-bottom: 22px;
}

.section-title {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -.01em;
	color: var(--navy);
}

.section-title::before {
	content: "";
	width: 5px;
	height: 25px;
	border-radius: 3px;
	background: var(--accent);
}

.section-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--accent);
}

.section-link svg {
	width: 15px;
	height: 15px;
	fill: currentColor;
	transition: transform var(--speed) ease;
}

.section-link:hover {
	color: var(--accent-dark);
}

.section-link:hover svg {
	transform: translateX(3px);
}

/* Featured grid (मुख्य खबरें) */
.featured-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.feature-card {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: box-shadow var(--speed) ease, transform var(--speed) ease;
}

.feature-card:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-3px);
}

.feature-card .thumb {
	aspect-ratio: 16 / 9;
}

.feature-card .thumb img {
	transition: transform .45s ease;
}

.feature-card:hover .thumb img {
	transform: scale(1.03);
}

.feature-card-body {
	padding: 14px 16px 16px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.feature-card h3 {
	margin: 9px 0 8px;
	font-size: 16.5px;
	font-weight: 700;
	line-height: 1.36;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.feature-card h3 a {
	color: var(--ink);
}

.feature-card h3 a:hover {
	color: var(--accent);
}

.feature-card .meta {
	margin-top: auto;
}

/* Split category sections */
.split-story {
	display: grid;
	grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

.split-lead .thumb {
	aspect-ratio: 16 / 9;
	border-radius: var(--radius-lg);
	margin-bottom: 16px;
}

.thumb-link {
	display: block;
}

.split-lead .cat-chip {
	margin-bottom: 10px;
}

.split-lead h3 {
	margin: 0 0 8px;
	font-size: clamp(19px, 1.7vw, 24px);
	font-weight: 800;
	line-height: 1.3;
}

.split-lead h3 a {
	color: var(--ink);
}

.split-lead h3 a:hover {
	color: var(--accent);
}

.split-lead p {
	margin: 0 0 10px;
	color: var(--muted);
	font-size: 15px;
}

.split-mini {
	display: flex;
	flex-direction: column;
	gap: 18px;
	border-left: 1px solid var(--line);
	padding-left: 22px;
}

.mini-item {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 13px;
	align-items: center;
}

.mini-item .thumb {
	width: 96px;
	height: 68px;
	border-radius: var(--radius);
	flex-shrink: 0;
}

.mini-item h3 {
	margin: 0;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.38;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.mini-item h3 a {
	color: var(--ink);
}

.mini-item h3 a:hover {
	color: var(--accent);
}

.mini-item .meta {
	margin-top: 5px;
}

/* Sports special treatment */
.module-sports .split-lead .thumb {
	aspect-ratio: 3 / 2;
}

.module-sports .mini-item .thumb {
	width: 110px;
	height: 74px;
}

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

/* ============ 10. Latest news list ============ */
.latest-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.latest-item {
	display: grid;
	grid-template-columns: 200px minmax(0, 1fr);
	gap: 18px;
	align-items: center;
	padding: 14px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	transition: box-shadow var(--speed) ease, transform var(--speed) ease;
}

.latest-item:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
}

.latest-item .thumb {
	aspect-ratio: 16 / 10;
	border-radius: var(--radius);
}

.latest-item .cat-chip {
	margin-bottom: 8px;
}

.latest-item h3 {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.32;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.latest-item h3 a {
	color: var(--ink);
}

.latest-item h3 a:hover {
	color: var(--accent);
}

.latest-item p {
	margin: 0 0 8px;
	color: var(--muted);
	font-size: 14.5px;
}

/* Horizontal card (used on archive/search listings) */
.post-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* ============ 11. Sidebar ============ */
.sidebar {
	position: sticky;
	top: 72px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.side-module {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 18px;
}

.side-module-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	font-size: 17px;
	font-weight: 800;
	letter-spacing: -.01em;
	color: var(--navy);
}

.side-module-title::before {
	content: "";
	width: 4px;
	height: 19px;
	border-radius: 2px;
	background: var(--accent);
}

.side-list {
	display: flex;
	flex-direction: column;
}

.side-item {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	padding: 12px 0;
	border-bottom: 1px dashed var(--line);
}

.side-item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.side-rank {
	font-size: 20px;
	font-weight: 800;
	line-height: 1;
	color: var(--soft-2);
	-webkit-text-stroke: 1px #c6cdd9;
	letter-spacing: -.02em;
}

.side-item.is-hot .side-rank {
	color: var(--accent);
	-webkit-text-stroke: 0;
}

.side-item h3 {
	margin: 0;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

.side-item h3 a {
	color: var(--ink);
}

.side-item h3 a:hover {
	color: var(--accent);
}

.side-item .meta {
	margin-top: 5px;
	font-size: 11.5px;
}

/* Trending — visually distinct with accent badge */
.side-module--trending .side-module-title::before {
	background: var(--navy);
}

.side-module--trending .side-item {
	grid-template-columns: 30px minmax(0, 1fr);
}

.side-module--trending .side-rank {
	font-size: 16px;
	color: var(--white);
	background: var(--accent);
	border-radius: 5px;
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	-webkit-text-stroke: 0;
}

.side-module--trending .side-item:nth-child(n+4) .side-rank {
	background: var(--soft-2);
	color: var(--muted);
}

/* Tags */
.tag-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tag-pill {
	display: inline-block;
	padding: 5px 12px;
	font-size: 13px;
	font-weight: 600;
	color: var(--ink-2);
	background: var(--soft);
	border: 1px solid var(--line);
	border-radius: 99px;
	transition: background var(--speed) ease, color var(--speed) ease, border-color var(--speed) ease;
}

.tag-pill:hover {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
}

/* Social follow */
.social-follow {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.social-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 11px 8px;
	border-radius: var(--radius);
	font-size: 13.5px;
	font-weight: 700;
	color: #fff;
	transition: filter var(--speed) ease, transform var(--speed) ease;
}

.social-btn svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.social-btn:hover {
	filter: brightness(1.1);
	transform: translateY(-1px);
	color: #fff;
}

.social-btn--facebook { background: #1877f2; }
.social-btn--twitter { background: #0f1419; }
.social-btn--instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn--youtube { background: #ff0000; }
.social-btn--whatsapp { background: #25d366; color: #0b3d1f; }

/* Sidebar ad */
.side-ad {
	display: grid;
	place-items: center;
	min-height: 250px;
	border: 1px dashed var(--line);
	border-radius: var(--radius-lg);
	background: var(--soft);
	text-align: center;
}

.side-ad img {
	width: 100%;
	height: auto;
}

.side-ad--banner {
	border: 0;
	background: transparent;
	min-height: 0;
	padding: 0;
	display: block;
}

.side-ad--banner img {
	display: block;
	border-radius: var(--radius-lg);
}

.side-banner {
	margin-bottom: 1rem;
}

.side-banner img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--radius-lg);
}

.side-ad .ad-label {
	font-size: 11px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--muted);
}

/* ============ 12. Single / content pages ============ */
.post-header {
	padding: 26px 0 8px;
}

.breadcrumb {
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 600;
	color: var(--muted);
}

.breadcrumb a {
	color: var(--muted);
}

.breadcrumb a:hover {
	color: var(--accent);
}

.post-header .cat-chip {
	margin-bottom: 12px;
}

.post-header h1 {
	font-size: clamp(26px, 3.2vw, 40px);
	line-height: 1.2;
	margin: 0 0 14px;
}

.post-header .meta {
	font-size: 13.5px;
}

.post-hero {
	margin: 20px 0 26px;
}

.post-hero .thumb {
	border-radius: var(--radius-lg);
	aspect-ratio: 16 / 8.5;
}

.entry-content {
	font-size: 17px;
	line-height: 1.85;
}

.entry-content p {
	margin-bottom: 1.2em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 1.4em;
}

.entry-content img {
	border-radius: var(--radius);
	height: auto;
}

.entry-content blockquote {
	margin: 1.6em 0;
	padding: 14px 22px;
	border-left: 4px solid var(--accent);
	background: var(--soft);
	border-radius: 0 var(--radius) var(--radius) 0;
	font-size: 1.1em;
	font-weight: 600;
}

.entry-content ul,
.entry-content ol {
	list-style: revert;
	padding-left: 1.5em;
	margin-bottom: 1.2em;
}

.entry-content .wp-caption {
	max-width: 100%;
}

.entry-content .wp-caption-text {
	font-size: 13px;
	color: var(--muted);
	text-align: center;
}

.post-share {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 26px 0;
	padding: 14px 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	font-size: 14px;
	font-weight: 700;
}

.post-share .social-btn {
	padding: 8px 14px;
	font-size: 13px;
}

.post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin: 30px 0;
}

.post-nav a {
	display: block;
	padding: 14px 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	font-size: 14px;
	font-weight: 700;
	color: var(--ink);
	transition: border-color var(--speed) ease, color var(--speed) ease, box-shadow var(--speed) ease;
}

.post-nav a:hover {
	border-color: var(--accent);
	color: var(--accent);
	box-shadow: var(--shadow-sm);
}

.post-nav .nav-label {
	display: block;
	font-size: 11.5px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 3px;
}

/* ============ 13. Archive / listing pages ============ */
.page-head {
	padding: 24px 0 6px;
}

.page-title {
	font-size: clamp(24px, 2.6vw, 32px);
	margin: 0 0 6px;
}

.page-description {
	color: var(--muted);
	font-size: 15px;
}

.archive-head {
	display: flex;
	align-items: center;
	gap: 12px;
	border-left: 4px solid var(--accent);
	padding-left: 14px;
	margin-bottom: 22px;
}

.archive-head h1 {
	margin: 0;
	font-size: clamp(22px, 2.4vw, 30px);
}

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

/* ============ 14. Comments ============ */
.comments-area {
	margin-top: 34px;
	padding-top: 22px;
	border-top: 2px solid var(--navy);
}

.comments-title {
	font-size: 21px;
}

.comment-list {
	list-style: none;
	margin: 0 0 22px;
}

.comment-list .children {
	list-style: none;
	margin-left: 40px;
}

.comment-body {
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}

.comment-author {
	font-weight: 700;
}

.comment-metadata {
	font-size: 12.5px;
	color: var(--muted);
	margin-bottom: 8px;
}

.comment-respond label {
	display: block;
	font-weight: 600;
	font-size: 14px;
	margin: 10px 0 4px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 11px 13px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font-family: var(--font);
	font-size: 15px;
	background: var(--white);
}

.comment-form input:focus,
.comment-form textarea:focus {
	border-color: var(--accent);
	outline: none;
}

.comment-form .submit {
	background: var(--accent);
	color: #fff;
	border: 0;
	border-radius: var(--radius);
	padding: 11px 22px;
	font-family: var(--font);
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	transition: background var(--speed) ease;
}

.comment-form .submit:hover {
	background: var(--accent-dark);
}

/* ============ 15. Search form ============ */
.search-form {
	display: flex;
	gap: 8px;
}

.search-form input[type="search"] {
	flex: 1;
	padding: 11px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font-family: var(--font);
	font-size: 15px;
	background: var(--white);
}

.search-form input[type="search"]:focus {
	border-color: var(--accent);
	outline: none;
}

.search-form button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 20px;
	background: var(--accent);
	color: #fff;
	border: 0;
	border-radius: var(--radius);
	font-family: var(--font);
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	transition: background var(--speed) ease;
}

.search-form button:hover {
	background: var(--accent-dark);
}

.search-form button svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

/* ============ 16. Pagination ============ */
.pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin: 34px 0 10px;
}

.pagination a,
.pagination span {
	display: inline-grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font-size: 14.5px;
	font-weight: 700;
	color: var(--ink);
	background: var(--white);
}

.pagination a:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.pagination .current {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
}

/* ============ 17. 404 / empty ============ */
.no-results {
	text-align: center;
	padding: 70px 20px;
}

.no-results .num-404 {
	font-size: clamp(90px, 16vw, 160px);
	font-weight: 800;
	line-height: 1;
	color: var(--accent);
	margin-bottom: 10px;
	letter-spacing: -.02em;
}

.no-results h1 {
	font-size: 26px;
}

.no-results p {
	color: var(--muted);
	max-width: 46ch;
	margin: 0 auto 22px;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 24px;
	background: var(--accent);
	color: #fff !important;
	border-radius: var(--radius);
	font-weight: 700;
	font-size: 15px;
	transition: background var(--speed) ease, transform var(--speed) ease;
}

.btn:hover {
	background: var(--accent-dark);
	transform: translateY(-1px);
}

/* ============ 18. Footer ============ */
.footer-banner {
	padding: 16px 0;
}

.footer-banner img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--radius-lg);
}

.site-footer {
	margin-top: 56px;
	background: var(--navy);
	color: #b6bfd0;
	font-size: 14.5px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
	gap: 34px;
	padding: 46px 0 36px;
}

.footer-brand .site-title {
	color: #fff;
}

.footer-brand .site-title a:hover {
	color: var(--accent);
}

.footer-about {
	margin: 12px 0 0;
	line-height: 1.7;
}

.footer-social {
	display: flex;
	gap: 8px;
	margin-top: 16px;
}

.footer-social a {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: var(--radius);
	background: rgba(255, 255, 255, .08);
	color: #fff;
	transition: background var(--speed) ease;
}

.footer-social a:hover {
	background: var(--accent);
}

.footer-social svg {
	width: 15px;
	height: 15px;
	fill: currentColor;
}

.footer-title {
	margin: 0 0 16px;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #fff;
	position: relative;
	padding-bottom: 10px;
}

.footer-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 34px;
	height: 3px;
	border-radius: 2px;
	background: var(--accent);
}

.footer-links li {
	margin-bottom: 9px;
}

.footer-links a {
	color: #b6bfd0;
}

.footer-links a:hover {
	color: #fff;
	padding-left: 3px;
}

.footer-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.footer-cats a {
	display: inline-block;
	padding: 4px 11px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 99px;
	font-size: 13px;
	font-weight: 600;
	color: #cfd6e3;
}

.footer-cats a:hover {
	border-color: var(--accent);
	color: #fff;
}

.footer-contact li {
	display: flex;
	gap: 10px;
	margin-bottom: 10px;
	line-height: 1.6;
}

.footer-contact a {
	color: #b6bfd0;
}

.footer-contact a:hover {
	color: #fff;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	padding: 16px 0;
	font-size: 13px;
	color: #93a0b8;
}

.footer-bottom a {
	color: #cfd6e3;
}

.footer-bottom a:hover {
	color: #fff;
}

/* ============ 19. Utilities ============ */
.back-to-top {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 60;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: var(--radius);
	background: var(--navy);
	color: #fff;
	cursor: pointer;
	box-shadow: var(--shadow-md);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity var(--speed) ease, transform var(--speed) ease, visibility var(--speed) ease, background var(--speed) ease;
}

.back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.back-to-top:hover {
	background: var(--accent);
}

.back-to-top svg {
	width: 19px;
	height: 19px;
	fill: currentColor;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
	}
}

/* ============ 20. Responsive ============ */
@media (max-width: 1280px) {
	.layout-wrap {
		grid-template-columns: minmax(0, 1fr) 320px;
		gap: 22px;
	}
}

@media (max-width: 1100px) {
.header-ad-slot {
		display: none;
	}

	.header-inner {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.layout-wrap {
		grid-template-columns: minmax(0, 1fr);
	}

	.sidebar {
		position: static;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 20px;
	}

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

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

	.hero-grid {
		grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	}
}

@media (max-width: 1024px) {
	.menu-toggle {
		display: inline-flex;
	}

	.site-nav {
		position: static;
	}

	.main-menu {
		display: none;
	}

	.mobile-panel {
		display: none;
		background: var(--white);
		border-top: 1px solid var(--line);
		border-bottom: 3px solid var(--accent);
	}

	.mobile-panel.is-open {
		display: block;
	}

	.mobile-panel .main-menu {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px 0;
		white-space: normal;
	}

	.mobile-panel .main-menu > li > a {
		padding: 13px 20px;
		border-bottom: 1px solid var(--line);
		border-left: 3px solid transparent;
		border-radius: 0;
	}

	.mobile-panel .main-menu > li.current-menu-item > a,
	.mobile-panel .main-menu > li.current-cat > a {
		border-left-color: var(--accent);
		background: var(--soft);
	}

	.mobile-panel .main-menu ul {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		border-radius: 0;
		padding: 0 0 0 20px;
		background: var(--soft);
	}

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

	.hero-lead {
		min-height: 400px;
	}
}

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

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

	.hero-lead {
		min-height: 340px;
	}

	.split-story {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.split-mini {
		border-left: 0;
		padding-left: 0;
		border-top: 1px solid var(--line);
		padding-top: 18px;
	}

	.module-sports .featured-grid {
		grid-template-columns: 1fr;
	}

	.latest-item {
		grid-template-columns: 150px minmax(0, 1fr);
		gap: 14px;
	}

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

	.comment-list .children {
		margin-left: 16px;
	}
}

@media (max-width: 560px) {
	body {
		font-size: 15.5px;
	}

	.container {
		padding-inline: 14px;
	}

	.header-inner {
		gap: 14px;
		padding: 16px 0;
	}

	.brand .custom-logo {
		max-height: 46px;
	}

	.brand-mark {
		min-width: 44px;
		height: 44px;
		font-size: 22px;
	}

	.site-title {
		font-size: 24px;
	}

	.breaking-label {
		padding: 0 10px;
		font-size: 11px;
	}

	.breaking-label span {
		display: none;
	}

	.hero-zone {
		margin-top: 16px;
	}

	.hero-lead {
		min-height: 300px;
	}

	.hero-lead-body {
		padding: 18px 18px 16px;
	}

	.hero-excerpt {
		display: none;
	}

	.support-card {
		grid-template-columns: 96px minmax(0, 1fr);
		gap: 11px;
	}

	.support-card .thumb {
		width: 96px;
		height: 68px;
	}

	.featured-grid,
	.posts-grid {
		grid-template-columns: 1fr;
	}

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

	.latest-item {
		grid-template-columns: 1fr;
	}

	.latest-item .thumb {
		aspect-ratio: 16 / 9;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 26px;
	}

	.footer-bottom-inner {
		justify-content: center;
		text-align: center;
	}

	.post-header h1 {
		font-size: 26px;
	}

	.social-follow {
		grid-template-columns: 1fr;
	}

	.header-search-pop .search-form {
		flex-direction: column;
	}
}

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

	.hero-lead {
		min-height: 270px;
	}

	.support-card {
		grid-template-columns: 1fr;
	}

	.support-card .thumb {
		width: 100%;
		height: 130px;
	}
}
