/* ═══════════════════════════════════════════════════════════════════════════
   BOLLYWOOD BUZZ — Main Stylesheet  (Light / Newspaper Theme)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Variables ───────────────────────────────────────────────────────────── */
:root {
  --primary:    #E50914;
  --primary-dk: #b0070f;
  --gold:       #C8960C;
  --bg:         #ffffff;
  --bg2:        #f5f5f5;
  --bg3:        #eeeeee;
  --bg4:        #e2e2e2;
  --border:     #ddd;
  --text:       #1c1c1c;
  --text-muted: #666;
  --nav-bg:     #111827;
  --nav-text:   #f0f0f0;
  --white:      #ffffff;
  --font-body:  'Poppins', sans-serif;
  --font-head:  'Playfair Display', serif;
  --font-disp:  'Bebas Neue', cursive;
  --radius:     6px;
  --radius-lg:  12px;
  --shadow:     0 2px 14px rgba(0,0,0,0.09);
  --transition: 0.25s ease;
}

/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg2);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Section Title (newspaper style) ─────────────────────────────────────── */
.section-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--border);
  position: relative;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 60px; height: 2px;
  background: var(--primary);
}

/* ── Top Utility Bar ─────────────────────────────────────────────────────── */
.top-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  font-size: 0.76rem;
  color: var(--text-muted);
  padding: 5px 0;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}
.top-bar .social-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.top-bar .social-top a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.top-bar .social-top a:hover { color: var(--primary); }

/* ── Logo Bar ─────────────────────────────────────────────────────────────── */
.logo-bar {
  background: #fff;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.logo-bar .logo-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-bar .logo-text {
  font-family: var(--font-disp);
  font-size: 3rem;
  letter-spacing: 5px;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.logo-bar img { max-height: 60px; margin: 0 auto; }

/* ── Sticky Nav Header ────────────────────────────────────────────────────── */
.site-header {
  background: var(--nav-bg);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
}

/* Search in nav */
.header-search {
  flex: 1;
  max-width: 320px;
  display: flex;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  overflow: hidden;
  background: rgba(255,255,255,0.07);
  transition: border-color var(--transition);
}
.header-search:focus-within { border-color: var(--primary); }
.header-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 7px 15px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.84rem;
}
.header-search input::placeholder { color: rgba(255,255,255,0.4); }
.header-search button {
  background: var(--primary);
  border: none;
  color: #fff;
  padding: 0 15px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background var(--transition);
}
.header-search button:hover { background: var(--primary-dk); }

/* Logo in nav (mobile only) */
.site-logo { display: flex; align-items: center; }
.logo-text-nav {
  font-family: var(--font-disp);
  font-size: 1.4rem;
  letter-spacing: 2px;
  color: #fff;
  display: none;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Navigation ──────────────────────────────────────────────────────────── */
.main-nav {
  background: var(--nav-bg);
}
.nav-inner {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-inner::-webkit-scrollbar { display: none; }
.main-nav a {
  padding: 9px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  white-space: nowrap;
  color: rgba(255,255,255,0.65);
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  color: #fff;
  border-bottom-color: var(--primary);
}
.main-nav a.nav-home { color: #f87171; }

/* ── Breaking News Bar ────────────────────────────────────────────────────── */
.breaking-bar {
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 36px;
  font-size: 0.82rem;
  font-weight: 600;
}
.breaking-label {
  background: #000;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  gap: 6px;
  letter-spacing: 1px;
  font-family: var(--font-disp);
  font-size: 0.95rem;
}
.breaking-ticker-wrap { flex: 1; overflow: hidden; }
.breaking-ticker {
  display: inline-flex;
  gap: 28px;
  white-space: nowrap;
  animation: ticker 35s linear infinite;
}
.breaking-ticker a { color: #fff; opacity: 0.95; }
.breaking-ticker a:hover { opacity: 1; text-decoration: underline; }
.breaking-ticker .sep { opacity: 0.35; }
@keyframes ticker {
  from { transform: translateX(100vw); }
  to   { transform: translateX(-100%); }
}

/* ── Ad wrap ──────────────────────────────────────────────────────────────── */
.ad-wrap { text-align: center; padding: 12px 0; background: var(--bg2); border-bottom: 1px solid var(--border); }

/* ── Layout ──────────────────────────────────────────────────────────────── */
.site-main { min-height: 60vh; background: var(--bg2); }
.page-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  padding: 24px 0;
}
.page-content { min-width: 0; }
.sidebar { min-width: 0; }

/* ── Category Badge ───────────────────────────────────────────────────────── */
.cat-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 3px;
  background: var(--cat-color, var(--primary));
  color: #fff;
  margin-bottom: 6px;
}

/* ── Featured Section (Jansatta-style) ───────────────────────────────────── */
.featured-section {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

/* Left: big article */
.featured-main {}
.featured-main-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg3);
}
.featured-main-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.featured-main:hover .featured-main-img img { transform: scale(1.03); }
.featured-main-body { padding: 12px 0 0; }
.featured-main-body h2 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.4;
  margin: 6px 0 8px;
}
.featured-main-body h2 a:hover { color: var(--primary); }
.featured-main-body .meta { font-size: 0.74rem; color: var(--text-muted); }

/* Right: list of headlines */
.featured-list { display: flex; flex-direction: column; }
.featured-list-item {
  display: grid;
  grid-template-columns: 1fr 85px;
  gap: 10px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.featured-list-item:last-child { border-bottom: none; padding-bottom: 0; }
.featured-list-item .cat-label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary);
  margin-bottom: 4px;
}
.featured-list-item h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
}
.featured-list-item h3 a:hover { color: var(--primary); }
.featured-list-item .meta { font-size: 0.7rem; color: var(--text-muted); margin-top: 4px; }
.featured-list-thumb {
  width: 85px;
  height: 62px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg3);
  flex-shrink: 0;
}
.featured-list-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ── News Grid ────────────────────────────────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.news-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  box-shadow: var(--shadow);
  border-color: #ccc;
}
.card-img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg3);
}
.card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.news-card:hover .card-img-wrap img { transform: scale(1.04); }
.card-img-wrap .cat-badge {
  position: absolute;
  top: 8px; left: 8px;
  margin: 0;
}
.card-body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-title {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-title a:hover { color: var(--primary); }
.card-excerpt {
  font-size: 0.79rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.71rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 8px;
}
.card-meta i { margin-right: 3px; }
.card-views { display: flex; align-items: center; gap: 3px; }

/* ── List-style card ──────────────────────────────────────────────────────── */
.news-list { display: flex; flex-direction: column; }
.news-list-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  background: #fff;
  transition: background var(--transition);
}
.news-list-item:hover { background: #fafafa; }
.news-list-item:last-child { border-bottom: none; }
.list-img {
  display: block;
  width: 100px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg3);
}
.list-img img { width: 100%; height: 100%; object-fit: cover; }
.list-body {}
.list-cat { font-size: 0.63rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--primary); margin-bottom: 3px; }
.list-title { font-size: 0.88rem; font-weight: 600; color: var(--text); line-height: 1.4; }
.list-title a:hover { color: var(--primary); }
.list-meta { font-size: 0.7rem; color: var(--text-muted); margin-top: 3px; }

/* ── Sidebar ──────────────────────────────────────────────────────────────── */
.widget {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 18px;
  margin-bottom: 18px;
}
.widget-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  border-left: 3px solid var(--primary);
  padding-left: 10px;
  margin-bottom: 14px;
}
.trending-item {
  display: flex;
  gap: 10px;
  align-items: start;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.trending-item:last-child { border-bottom: none; padding-bottom: 0; }
.trending-num {
  font-family: var(--font-disp);
  font-size: 1.5rem;
  color: var(--primary);
  opacity: 0.4;
  line-height: 1;
  min-width: 24px;
}
.trending-img { width: 58px; height: 50px; border-radius: 4px; overflow: hidden; flex-shrink: 0; background: var(--bg3); }
.trending-img img { width: 100%; height: 100%; object-fit: cover; }
.trending-title { font-size: 0.79rem; font-weight: 600; color: var(--text); line-height: 1.4; }
.trending-title a:hover { color: var(--primary); }
.trending-meta { font-size: 0.67rem; color: var(--text-muted); margin-top: 3px; }

/* ── Tag Cloud ────────────────────────────────────────────────────────────── */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all var(--transition);
}
.tag-pill:hover, .tag-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ── Article (Single News) ────────────────────────────────────────────────── */
.article-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16/7;
  background: var(--bg3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
}
.article-hero img { width: 100%; height: auto; object-fit: cover; }
.article-hero figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.5);
  padding: 7px 14px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.8);
}
.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}
.article-meta-bar .cat-badge { margin: 0; }
.article-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 14px;
}
.article-excerpt {
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
  border-left: 3px solid var(--primary);
  padding-left: 14px;
  margin-bottom: 24px;
  line-height: 1.7;
}
.article-body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
}
.article-body h2, .article-body h3 {
  font-family: var(--font-head);
  color: var(--text);
  margin: 24px 0 12px;
}
.article-body h2 { font-size: 1.4rem; }
.article-body h3 { font-size: 1.15rem; }
.article-body p { margin-bottom: 16px; }
.article-body a { color: var(--primary); text-decoration: underline; }
.article-body ul, .article-body ol { margin: 0 0 16px 22px; }
.article-body li { margin-bottom: 5px; }
.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 12px 18px;
  background: var(--bg2);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-muted);
  margin: 18px 0;
}
.article-body img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: var(--radius);
  margin: 18px auto;
  display: block;
}
.article-tags { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--border); }
.article-tags h4 {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.share-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
  padding: 14px 16px;
  background: var(--bg2);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.share-bar span { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity var(--transition);
}
.share-btn:hover { opacity: 0.85; color: #fff; }
.share-btn.whatsapp   { background: #25D366; color: #fff; }
.share-btn.twitter    { background: #000; color: #fff; }
.share-btn.facebook   { background: #1877F2; color: #fff; }
.share-btn.instagram  { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); color: #fff; }
.share-btn.copy       { background: #fff; color: var(--text); border: 1px solid var(--border); }

/* ── Breadcrumb ───────────────────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 14px 0 0;
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--border); }
.breadcrumb .current { color: var(--text); }

/* ── Pagination ──────────────────────────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin: 32px 0;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  transition: all var(--transition);
}
.pagination a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination .current { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination .dots { background: none; border: none; color: var(--text-muted); }

/* ── Archive Header ──────────────────────────────────────────────────────── */
.archive-header {
  background: #fff;
  padding: 28px 0 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.archive-header .label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 5px;
}
.archive-header h1 {
  font-family: var(--font-disp);
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: 3px;
  color: var(--text);
}
.archive-header p { color: var(--text-muted); margin-top: 6px; }

/* ── Search Page ─────────────────────────────────────────────────────────── */
.search-form-large {
  display: flex;
  max-width: 600px;
  margin: 28px auto;
  border: 2px solid var(--primary);
  border-radius: 50px;
  overflow: hidden;
  background: #fff;
}
.search-form-large input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 12px 22px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: var(--font-body);
}
.search-form-large button {
  background: var(--primary);
  border: none;
  color: #fff;
  padding: 0 26px;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition);
}
.search-form-large button:hover { background: var(--primary-dk); }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--nav-bg);
  border-top: 3px solid var(--primary);
  margin-top: 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  padding: 44px 0 32px;
}
.footer-brand .logo-text {
  font-family: var(--font-disp);
  font-size: 2rem;
  letter-spacing: 3px;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.footer-brand p { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin: 10px 0; line-height: 1.6; }
.social-links { display: flex; gap: 8px; margin-top: 14px; }
.social-links a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  transition: all var(--transition);
}
.social-links a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #fff;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul a { font-size: 0.8rem; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--primary); padding-left: 3px; }
.footer-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.footer-tags .tag-pill {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
}
.footer-tags .tag-pill:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 16px 0; }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.35);
}

/* ── Back to Top ─────────────────────────────────────────────────────────── */
.back-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px rgba(229,9,20,0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 900;
}
.back-top.show { opacity: 1; pointer-events: auto; transform: none; }
.back-top:hover { background: var(--primary-dk); }

/* ── Utility classes ──────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.pt-4 { padding-top: 28px; }
.pb-4 { padding-bottom: 28px; }
.no-results {
  text-align: center;
  padding: 50px 20px;
  color: var(--text-muted);
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.no-results i { font-size: 2.5rem; color: var(--border); margin-bottom: 12px; display: block; }
.no-results h3 { font-size: 1.2rem; color: var(--text); margin-bottom: 6px; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .page-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  /* Logo bar hidden — logo-text-nav in sticky header takes over */
  .logo-bar      { display: none; }
  .logo-text-nav { display: block; }
  .top-bar       { display: none; }

  /* Hamburger: show + push to right */
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-toggle span { transition: transform 0.25s ease, opacity 0.2s ease; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Slide-down mobile nav */
  .main-nav {
    display: block !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s cubic-bezier(0.4,0,0.2,1);
  }
  .main-nav.open { max-height: 600px; }

  /* Nav links: full-width, touch-friendly */
  .nav-inner { flex-direction: column; align-items: stretch; padding-bottom: 6px; }
  .main-nav a {
    width: 100%;
    padding: 13px 20px;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    border-left: none;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .main-nav a:last-of-type { border-bottom: none; }

  /* Search inside mobile nav — show it as a full-width bar */
  .header-search {
    display: flex !important;
    width: 100%;
    max-width: none;
    margin: 8px 20px;
    width: calc(100% - 40px);
    border-radius: 6px;
    border-color: rgba(255,255,255,0.18);
  }
  .header-search input { font-size: 0.9rem; padding: 10px 14px; }
  .header-search button { padding: 0 16px; }

  /* Layout */
  .news-grid   { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .page-layout { padding: 14px 0; gap: 16px; }

  /* Article */
  .article-title { font-size: 1.35rem; }
  .article-hero  { aspect-ratio: 16/9; border-radius: var(--radius); }

  /* Share */
  .share-bar { gap: 6px; }
  .share-btn  { padding: 7px 12px; }

  /* Featured */
  .featured-main-img { aspect-ratio: 16/9; }

  /* Archive */
  .archive-header { padding: 18px 0 14px; }
}

@media (max-width: 480px) {
  .container    { padding: 0 12px; }
  .section-title { font-size: 1.05rem; }
  .news-grid    { grid-template-columns: 1fr; }
  .news-list-item { grid-template-columns: 80px 1fr; gap: 10px; }
  .list-img     { width: 80px; height: 64px; }
  .featured-list-item { grid-template-columns: 1fr 70px; }
  .featured-list-thumb { width: 70px; height: 52px; }
  .logo-bar .logo-text { font-size: 2rem; }
  .footer-grid  { gap: 20px; }
  .footer-brand .logo-text { font-size: 1.6rem; }
  .share-bar    { flex-wrap: wrap; }
  .widget       { padding: 14px; }
  .article-excerpt { font-size: 0.9rem; }
  .breaking-label { padding: 0 10px; font-size: 0.82rem; }
}
