/* =====================================================================
   The News MPCG — public theme (v3)
   Palette taken from the logo: deep red, maroon, black, yellow, white.
   ===================================================================== */
/* Noto Sans Devanagari (SIL Open Font License), self-hosted: no render-blocking request to Google.
   One variable file covers weights 400–700; the browser downloads only the ranges a page uses. */
@font-face {
  font-family: "Noto Sans Devanagari"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/noto-sans-devanagari-deva.woff2) format("woff2");
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
@font-face {
  font-family: "Noto Sans Devanagari"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/noto-sans-devanagari-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --red: #aa2117;
  --red-dark: #7d170f;
  --maroon: #6e1c0e;
  --yellow: #f7dc57;
  --ink: #111111;
  --text: #1d1d1f;
  --muted: #6b6b6b;
  --line: #e7e5e2;
  --soft: #f6f4f1;
  --bg: #ffffff;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 6px 18px rgba(0, 0, 0, .06);
  --font: "Noto Sans Devanagari", "Mukta", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* legacy names still used in a few templates */
  --primary: var(--red);
  --navy: var(--ink);
  --border: var(--line);
  --text-muted: var(--muted);
  --bg-gray: var(--soft);
  --card-shadow: var(--shadow);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 8px 16px; z-index: 1000; }
.skip-link:focus { left: 8px; top: 8px; color: #fff; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.mt-20 { margin-top: 20px; }

/* ---------------------------------------------------------------- header */
.top-bar { background: var(--ink); color: #d6d6d6; font-size: 13px; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 34px; gap: 12px; }
.top-social { display: flex; gap: 14px; flex-wrap: wrap; }
.top-social a { color: #d6d6d6; }
.top-social a:hover { color: var(--yellow); }

.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 16px; }
.logo { display: flex; align-items: center; gap: 14px; }
.logo a { display: block; }
.site-logo { height: 68px; width: auto; }
.tagline { font-size: 14px; font-weight: 600; color: var(--maroon); border-left: 3px solid var(--yellow); padding-left: 12px; max-width: 220px; line-height: 1.35; }
.header-search { display: flex; max-width: 360px; width: 100%; }
.header-search input { flex: 1; min-width: 0; padding: 10px 16px; border: 2px solid var(--line); border-right: 0; border-radius: 999px 0 0 999px; outline: none; background: var(--soft); }
.header-search input:focus { border-color: var(--red); background: #fff; }
.header-search button { padding: 0 20px; border: 0; border-radius: 0 999px 999px 0; background: var(--red); color: #fff; font-weight: 700; cursor: pointer; }
.header-search button:hover { background: var(--red-dark); }
.mobile-menu-toggle { display: none; }

.main-nav { background: var(--red); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.nav-inner { display: flex; }
.nav-links { display: flex; align-items: stretch; gap: 2px; flex-wrap: nowrap; }
.nav-links > li > a { display: flex; align-items: center; height: 48px; padding: 0 14px; color: #fff; font-weight: 700; font-size: 15.5px; white-space: nowrap; border-bottom: 4px solid transparent; border-top: 4px solid transparent; }
.nav-links > li > a:hover, .nav-links > li > a[aria-current="page"] { color: #fff; border-bottom-color: var(--yellow); background: rgba(0, 0, 0, .12); }
.nav-links li:first-child > a { padding-left: 0; }
.dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; box-shadow: var(--shadow); border-top: 3px solid var(--yellow); z-index: 60; padding: 6px 0; }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 8px 16px; font-weight: 600; font-size: 14.5px; }
.dropdown-menu a:hover { background: var(--soft); }
.nav-extra { display: none; }

.breaking-ticker { background: var(--maroon); color: #fff; }
.ticker-inner { display: flex; align-items: stretch; overflow: hidden; }
.breaking-label { flex: none; display: flex; align-items: center; padding: 0 16px; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 14px; }
.ticker-content { flex: 1; overflow: hidden; display: flex; align-items: center; }
.ticker-scroll { display: flex; gap: 48px; white-space: nowrap; padding: 9px 0; animation: ticker 40s linear infinite; }
.ticker-scroll li::before { content: "●"; color: var(--yellow); margin-right: 10px; font-size: 10px; vertical-align: middle; }
.ticker-scroll a:hover { color: var(--yellow); }
.breaking-ticker:hover .ticker-scroll { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(40%); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .ticker-scroll { animation: none; overflow-x: auto; } }

/* ---------------------------------------------------------------- shared blocks */
main { min-height: 50vh; }
.section-block { margin: 36px 0; }
/* Off-screen category blocks and the footer are laid out only when scrolled near:
   the long homepage no longer blocks the phone's main thread on first load */
.cat-section, .cat-pair, .site-footer { content-visibility: auto; contain-intrinsic-size: auto 720px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 18px; border-bottom: 2px solid var(--ink); }
.section-title { position: relative; display: inline-block; font-size: 24px; font-weight: 800; line-height: 1.2; color: var(--ink); padding: 0 0 8px; margin-bottom: -2px; border-bottom: 4px solid var(--red); }
.section-title::before { content: ""; display: inline-block; width: 10px; height: 10px; background: var(--yellow); margin-right: 10px; vertical-align: middle; transform: translateY(-2px) rotate(45deg); }
h2.section-title:only-child { margin-bottom: 18px; }
.view-all { font-weight: 700; font-size: 14px; color: var(--red); padding-bottom: 8px; white-space: nowrap; }
.view-all:hover { color: var(--maroon); }

.category-badge { display: inline-block; background: var(--red); color: #fff; font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 3px; line-height: 1.5; }
a.category-badge:hover { background: var(--maroon); color: #fff; }
.location-badge { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 2px 10px; border: 2px solid var(--yellow); border-radius: 3px; margin-left: 6px; color: var(--ink); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.sidebar-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; margin-top: 20px; }
.sidebar-column { position: sticky; top: 64px; display: grid; gap: 24px; }
.widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.widget .section-title { font-size: 20px; margin-bottom: 14px; }
.widget .news-card.compact + .news-card.compact { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }

/* ---------------------------------------------------------------- news card */
.news-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.news-card-img { display: block; overflow: hidden; border-radius: var(--radius); background: var(--soft); aspect-ratio: 16 / 9; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.news-card:hover .news-card-img img { transform: scale(1.04); }
.news-card-content { display: flex; flex-direction: column; gap: 6px; }
.news-card-content .category-badge { align-self: flex-start; }
.news-card h3 { font-size: 18px; line-height: 1.45; font-weight: 700; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card h3 a:hover { color: var(--red); }
.news-card .excerpt { color: var(--muted); font-size: 14.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .meta { display: flex; gap: 12px; font-size: 12.5px; color: var(--muted); }
.news-card .read-time::before { content: "•"; margin-right: 12px; }
.news-card.compact { flex-direction: row; align-items: flex-start; gap: 12px; }
.news-card.compact .news-card-img { flex: 0 0 112px; aspect-ratio: 16 / 10; border-radius: 8px; }
.news-card.compact h3 { font-size: 15px; -webkit-line-clamp: 3; }
.news-card.no-image .news-card-content { border-left: 4px solid var(--yellow); padding-left: 12px; }

/* ---------------------------------------------------------------- homepage */
.home-page { padding-top: 22px; }
.home-hero { display: grid; grid-template-columns: 290px minmax(0, 1fr) 300px; grid-template-areas: "top lead more"; gap: 28px; align-items: start; }
.home-hero .hero-lead { grid-area: lead; } .home-hero .hero-top { grid-area: top; } .home-hero .hero-more { grid-area: more; }
.hero-top h2, .hero-more h2 { font-size: 18px; font-weight: 800; padding-bottom: 8px; margin-bottom: 6px; border-bottom: 3px solid var(--red); color: var(--ink); }
.top-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.top-list li:last-child { border-bottom: 0; }
.top-list a { display: block; font-weight: 700; font-size: 16px; line-height: 1.45; color: var(--ink); }
.top-list a:hover { color: var(--red); }
.top-list time { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.top-list time::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-right: 6px; }

.hero-lead { position: relative; border-radius: 14px; overflow: hidden; background: var(--ink); color: #fff; }
.hero-lead .hero-img { display: block; aspect-ratio: 16 / 10; }
.hero-lead .hero-img img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.hero-lead .hero-text { position: absolute; inset: auto 0 0 0; padding: 70px 24px 22px; background: linear-gradient(transparent, rgba(0, 0, 0, .88) 55%); }
.hero-lead h1, .hero-lead h2 { font-size: 30px; line-height: 1.3; font-weight: 800; margin: 10px 0 6px; }
.hero-lead h1 a:hover, .hero-lead h2 a:hover { color: var(--yellow); }
.hero-lead .excerpt { color: #e8e8e8; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-lead.no-image .hero-text { position: static; background: var(--maroon); padding-top: 28px; }
.hero-more { display: grid; gap: 18px; }

.trending-band { background: var(--ink); color: #fff; padding: 26px 0 30px; margin: 40px 0; border-top: 5px solid var(--red); }
.trending-band .section-title { color: #fff; border-bottom-color: var(--yellow); }
.trending-band .section-head { border-bottom-color: #333; }
.trending-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; counter-reset: trend; }
.trending-row li { counter-increment: trend; display: flex; gap: 12px; align-items: flex-start; }
.trending-row li::before { content: counter(trend); flex: none; font-size: 44px; font-weight: 800; line-height: .9; color: var(--yellow); -webkit-text-stroke: 1px var(--yellow); }
.trending-row a { font-weight: 700; font-size: 15.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.trending-row a:hover { color: var(--yellow); }

.cat-section .cat-feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 26px; }
.cat-feature .news-card-big h3 { font-size: 23px; }
.cat-feature .news-card-big .excerpt { -webkit-line-clamp: 3; }
.cat-feature .cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cat-feature .cat-grid .news-card h3 { font-size: 15.5px; }
.cat-feature .cat-grid .excerpt, .cat-feature .cat-grid .category-badge { display: none; }
.cat-row .grid-4 .category-badge { display: none; }
.cat-row .grid-4 .excerpt { display: none; }
.cat-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.cat-pair .section-block { margin: 0; }
.cat-pair .cat-list .news-card.compact { padding: 12px 0; border-bottom: 1px solid var(--line); }
.cat-pair .cat-list .news-card.compact:last-child { border-bottom: 0; }
.cat-pair .lead-card h3 { font-size: 20px; }

/* ---------------------------------------------------------------- listing pages */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; margin: 18px 0 4px; color: var(--muted); }
.breadcrumb li { display: flex; align-items: center; min-width: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; }
.breadcrumb a { color: var(--red); font-weight: 600; }
.breadcrumb [aria-current] { color: var(--muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.page-header { margin: 14px 0 8px; padding: 18px 22px; background: var(--soft); border-left: 6px solid var(--red); border-radius: 0 var(--radius) var(--radius) 0; }
.page-header h1 { font-size: 30px; font-weight: 800; color: var(--ink); line-height: 1.3; }
.page-header h1 small { font-size: 16px; color: var(--muted); font-weight: 600; }
.page-header p { color: var(--muted); margin-top: 4px; }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; margin: 30px 0; }
.pagination a, .pagination span { min-width: 42px; text-align: center; padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; font-weight: 700; background: #fff; }
.pagination a:hover { border-color: var(--red); color: var(--red); }
.pagination .active { background: var(--red); color: #fff; border-color: var(--red); }
.pagination .gap { border: 0; background: none; }
.empty-state { padding: 40px 0; color: var(--muted); }

/* ---------------------------------------------------------------- article */
.single-article { background: #fff; }
.article-header { padding: 6px 0 16px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.article-header h1 { font-size: 34px; line-height: 1.35; font-weight: 800; color: var(--ink); margin: 12px 0 10px; }
.article-subtitle { font-size: 19px; color: #444; line-height: 1.6; margin-bottom: 12px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--muted); }
.article-meta a { color: var(--red); font-weight: 700; }
.article-image { margin: 0 0 22px; }
.article-image img { width: 100%; border-radius: var(--radius); }
.article-image figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.article-content { font-size: 18.5px; line-height: 1.9; color: #222; }
.article-content > * + * { margin-top: 1.05em; }
.article-content h2 { font-size: 25px; line-height: 1.4; margin-top: 1.5em; color: var(--ink); }
.article-content h3 { font-size: 21px; line-height: 1.45; margin-top: 1.3em; color: var(--ink); }
.article-content a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.article-content ul, .article-content ol { padding-left: 1.4em; }
.article-content ul { list-style: disc; } .article-content ol { list-style: decimal; }
.article-content blockquote { border-left: 5px solid var(--yellow); background: var(--soft); padding: 14px 18px; font-weight: 600; border-radius: 0 8px 8px 0; }
.article-content img, .article-content figure img { border-radius: 8px; margin: 0 auto; }
.article-content figure figcaption { font-size: 13.5px; color: var(--muted); text-align: center; margin-top: 6px; }
.article-content table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.article-content td, .article-content th { border: 1px solid var(--line); padding: 8px 10px; }
.article-content iframe { max-width: 100%; }
.article-content p:empty { display: none; }
.key-points { margin: 0 0 24px; padding: 16px 20px; border-left: 5px solid var(--red); background: #fdf4f3; border-radius: 0 10px 10px 0; }
.key-points h2 { font-size: 18px; margin: 0 0 8px; color: var(--red); }
.key-points ul { padding-left: 20px; list-style: disc; line-height: 1.75; }
.article-faq { margin: 30px 0; }
.article-faq h2 { font-size: 22px; margin-bottom: 12px; }
.article-faq details { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin-bottom: 10px; }
.article-faq summary { cursor: pointer; font-weight: 700; }
.article-faq details p { margin: 10px 0 0; line-height: 1.75; }
.article-footer { display: grid; gap: 18px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }
.source-attribution { font-size: 14px; color: var(--muted); }
.source-attribution a { color: var(--red); font-weight: 700; }
.tags-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--soft); font-size: 13.5px; font-weight: 600; }
.tag:hover { background: var(--red); color: #fff; }
.share-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.share-buttons a, .share-buttons button { padding: 8px 16px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
.share-buttons a:first-child { background: #1faa55; }
.share-buttons a:hover, .share-buttons button:hover { background: var(--red); color: #fff; }
.author-card { padding: 18px; background: var(--soft); border-radius: var(--radius); border-left: 5px solid var(--yellow); }
.author-card h2 { font-size: 18px; margin-bottom: 4px; }
.comment { padding: 14px 0; border-bottom: 1px solid var(--line); }
.comment time { font-size: 12.5px; color: var(--muted); margin-left: 8px; }
.comment-form { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.comment-form label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; }
.comment-form input, .comment-form textarea, .search-page-form input { padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.comment-form button, .search-page-form button { align-self: flex-start; padding: 11px 24px; border: 0; border-radius: 8px; background: var(--red); color: #fff; font-weight: 700; cursor: pointer; }
.comment-form button:hover, .search-page-form button:hover { background: var(--red-dark); }
.form-msg.ok, #newsletter-msg.ok { color: #2e9c55; }
.form-msg.error, #newsletter-msg.error { color: #ff8a80; }
.comment-form .form-msg.error { color: var(--red); }

/* ---------------------------------------------------------------- other pages */
.search-page-form { display: flex; gap: 8px; max-width: 640px; margin: 14px 0; }
.search-page-form input { flex: 1; }
.author-header { display: flex; gap: 22px; align-items: flex-start; margin: 20px 0; padding: 22px; border-radius: var(--radius); background: var(--soft); }
.author-avatar { border-radius: 50%; object-fit: cover; }
.author-social { display: flex; gap: 12px; }
.static-page { max-width: 860px; margin: 30px auto; padding: 30px; }
.static-page h1 { font-size: 32px; border-bottom: 4px solid var(--red); padding-bottom: 10px; margin-bottom: 18px; }
.page-content > * + * { margin-top: 1em; }
.page-content h2 { font-size: 22px; margin-top: 1.5em; }
.page-content ul { list-style: disc; padding-left: 1.4em; }
.error-page { text-align: center; padding: 80px 16px; }
.error-page h1 { font-size: 64px; color: var(--red); }
.error-page .search-page-form { margin: 20px auto; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: #c9c9c9; margin-top: 60px; border-top: 6px solid var(--red); font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr 1.2fr; gap: 36px; padding: 44px 0 30px; }
.footer-col h2 { color: #fff; font-size: 17px; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 3px solid var(--yellow); display: inline-block; }
.footer-col li { margin-bottom: 8px; }
.footer-col:nth-child(3) ul { columns: 2; column-gap: 18px; }
.footer-col a:hover { color: var(--yellow); }
.footer-logo { height: 84px; width: auto; margin-bottom: 14px; border-radius: 4px; }
.footer-newsletter { display: flex; flex-direction: column; gap: 10px; }
.footer-newsletter input { padding: 11px 14px; border: 1px solid #333; border-radius: 8px; background: #1c1c1c; color: #fff; }
.footer-newsletter input:focus { border-color: var(--yellow); outline: none; }
.footer-newsletter button { padding: 11px; border: 0; border-radius: 8px; background: var(--red); color: #fff; font-weight: 700; cursor: pointer; }
.footer-newsletter button:hover { background: var(--yellow); color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 16px 0 22px; border-top: 1px solid #2a2a2a; font-size: 13px; }
.legal-links { display: flex; gap: 16px; flex-wrap: wrap; }
.legal-links a:hover { color: var(--yellow); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .home-hero { grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "lead more" "top top"; }
  .top-list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 24px; }
  .trending-row { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .sidebar-layout { grid-template-columns: 1fr; }
  .sidebar-column { position: static; }
  .home-hero { grid-template-columns: 1fr; grid-template-areas: "lead" "top" "more"; }
  .hero-more { grid-template-columns: 1fr 1fr; }
  .cat-section .cat-feature, .cat-pair { grid-template-columns: 1fr; }
  .cat-pair { gap: 0; }
  .cat-pair .section-block { margin: 36px 0 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .tagline { display: none; }
}
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; padding: 10px 16px; gap: 10px; }
  .site-logo { height: 52px; }
  .header-search { max-width: none; order: 3; flex: 1 1 100%; }
  .main-nav .container { padding: 0; }
  .nav-links { overflow-x: auto; scrollbar-width: none; padding: 0 8px; width: 100%; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links > li > a { height: 44px; padding: 0 12px; font-size: 15px; }
  .nav-links li:first-child > a { padding-left: 12px; }
  .nav-links > li.dropdown { display: none; }
  .nav-links > li.nav-extra { display: block; }
  .top-list { grid-template-columns: 1fr; }
  .hero-lead h1, .hero-lead h2 { font-size: 22px; }
  .hero-lead .hero-text { padding: 50px 16px 16px; }
  .hero-lead .excerpt { display: none; }
  .trending-row { display: flex; overflow-x: auto; gap: 18px; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .trending-row li { flex: 0 0 78%; scroll-snap-align: start; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr 1fr; gap: 16px; }
  .news-card h3 { font-size: 15.5px; }
  .news-card .excerpt { display: none; }
  .cat-feature .news-card-big h3 { font-size: 19px; }
  .section-title { font-size: 20px; }
  .article-header h1 { font-size: 25px; }
  .article-content { font-size: 17.5px; line-height: 1.85; }
  .page-header h1 { font-size: 24px; }
  .author-header { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 480px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .cat-feature .cat-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .grid-2 { grid-template-columns: 1fr; }
  .top-bar .top-social { display: none; }
}

/* ---------------------------------------------------------------- ads */
.ad-slot { position: relative; margin: 22px auto; text-align: center; max-width: 100%; overflow: hidden; }
/* width/height attributes come from the real image size → the browser keeps the space free (no jump) */
.ad-slot img { margin: 0 auto; border-radius: 6px; max-width: 100%; height: auto; }
.ad-slot picture { display: block; }
.ad-slot[style*="--ad-h"] { min-height: calc(var(--ad-mh) + 20px); }
@media (min-width: 768px) { .ad-slot[style*="--ad-h"] { min-height: calc(var(--ad-h) + 20px); } }
/* video ads: 16:9 box reserved up front; MP4 loads only when visible (app.js) */
.ad-video { position: relative; width: 100%; max-width: 720px; margin: 0 auto; aspect-ratio: 16 / 9; background: #000; border-radius: 8px; overflow: hidden; }
.ad-video video, .ad-video iframe, .ad-yt-play img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; border: 0; border-radius: 0; }
.ad-yt-play { position: absolute; inset: 0; padding: 0; border: 0; background: #000; cursor: pointer; }
.ad-play-icon { position: absolute; left: 50%; top: 50%; width: 64px; height: 44px; transform: translate(-50%, -50%); background: #e00; border-radius: 12px; }
.ad-play-icon::after { content: ""; position: absolute; left: 25px; top: 12px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.ad-sound { position: absolute; left: 10px; bottom: 10px; z-index: 2; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; font-size: 16px; cursor: pointer; }
.ad-cta { position: absolute; right: 10px; bottom: 10px; z-index: 2; padding: 7px 14px; border-radius: 999px; background: var(--yellow); color: #111; font-size: 14px; font-weight: 700; text-decoration: none; }
.ad-label { display: block; font-size: 10.5px; letter-spacing: .08em; color: #9a9a9a; margin-bottom: 4px; text-transform: uppercase; }
.ad-wrap .ad-slot { margin: 14px auto; }
.ad-wide { padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ad-text { font-weight: 700; color: var(--red); }
.sidebar-column .ad-slot { margin: 0; }
.article-content .ad-slot { margin: 28px auto; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ad-sticky { display: none; }
@media (max-width: 768px) {
  .ad-sticky { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; box-shadow: 0 -4px 14px rgba(0, 0, 0, .15); padding: 4px 34px 4px 6px; }
  .ad-sticky .ad-slot { margin: 0; }
  .ad-sticky .ad-label { display: none; }
  .ad-sticky img { max-height: 60px; }
  .ad-close { position: absolute; top: 4px; right: 6px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; }
  body.has-sticky-ad { padding-bottom: 76px; }
}

/* ---------------------------------------------------------------- live clock */
.live-clock { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #f1f1f1; }
.live-clock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #e53935; animation: live-pulse 1.8s ease-in-out infinite; }
.live-clock .clock-time { color: var(--yellow); font-variant-numeric: tabular-nums; }
/* opacity/transform only: runs on the GPU, no repaint every frame */
@keyframes live-pulse { 50% { opacity: .35; transform: scale(.75); } }
@media (prefers-reduced-motion: reduce) { .live-clock::before { animation: none; } }
.page-content a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.page-content { font-size: 17px; line-height: 1.85; }
.news-card-img picture, .hero-img picture, .article-image picture { display: block; width: 100%; height: 100%; }

/* ---------------------------------------------------------------- team page */
.team-intro { max-width: 760px; margin: 10px 0 26px; }
.team-intro h1 { font-size: 32px; line-height: 1.3; color: var(--ink); margin-bottom: 8px; }
.team-intro p { color: #555; font-size: 17px; }
.team-intro a, .team-meta a { color: var(--red); font-weight: 600; }
.team-grid { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.team-photo img, .team-initial { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 3px solid var(--yellow); }
.team-initial { display: flex; align-items: center; justify-content: center; background: var(--maroon); color: #fff; font-size: 44px; font-weight: 700; }
.team-card h2 { font-size: 19px; margin: 14px 0 2px; line-height: 1.35; }
.team-card h2 a { color: var(--ink); }
.team-role { color: var(--red); font-weight: 600; font-size: 14px; }
.team-bio { color: #555; font-size: 14.5px; line-height: 1.65; margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.team-meta { margin-top: auto; padding-top: 12px; font-size: 14px; }
.team-social { list-style: none; padding: 0; margin: 10px 0 0; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.team-social a { font-size: 12.5px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; color: #444; }
.author-role { color: var(--red); font-weight: 600; margin: -4px 0 6px; }
