/*
Theme Name: BusinessMunch
Theme URI: https://businessmunch.in
Author: BusinessMunch Media
Description: BusinessMunch – India's Business Intelligence. Pixel-perfect WordPress conversion.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: businessmunch
Tags: news, business, finance, magazine, custom-logo, featured-images
*/

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

:root {
  --navy: #0e1f3d;
  --navy-mid: #162847;
  --navy-light: #1e3560;
  --red: #d42b2b;
  --red-dark: #b32020;
  --red-soft: #fdf2f2;
  --red-glow: rgba(212,43,43,0.18);
  --gold: #c9922a;
  --gold-light: #f9f0e0;
  --white: #ffffff;
  --off-white: #f4f5f8;
  --surface: #ffffff;
  --border: #e4e6ed;
  --border-dark: #ced1db;
  --text: #0b1220;
  --text-mid: #3a4156;
  --text-light: #616574;
  --green: #1a7a3c;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-serif: 'Lora', Georgia, serif;
  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max: 1120px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 0 0 1px rgba(0,0,0,0.04);
  --shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.13), 0 4px 16px rgba(0,0,0,0.07);
  --shadow-red: 0 4px 16px rgba(212,43,43,0.35);
  --shadow-navy: 0 4px 16px rgba(14,31,61,0.25);
}

html { font-size: 16px; scroll-behavior: smooth; overflow-x: hidden; box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 2px; }
:focus:not(:focus-visible) { outline: none; }
body { font-family: var(--font-serif); font-size: 16px; background: var(--off-white); color: var(--text); line-height: 1.75; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-size-adjust: 100%; -webkit-text-size-adjust: 100%; letter-spacing: 0.01em; -webkit-tap-highlight-color: transparent; max-width: 100%; overflow-x: hidden; }
input, textarea, select { font-size: 16px !important; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; height: auto; }


/* ====== HEADER ====== */
/* ══════════════════════════════════════════════
   HEADER — Full Responsive (Desktop/Tablet/Mobile)
   ══════════════════════════════════════════════ */

/* Red accent bar at very top — signature news site look */
.header::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--red) 0%, #e74c3c 60%, var(--gold) 100%);
}

.header {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 1px 0 rgba(0,0,0,0.04);
  width: 100%;
}

/* ── Header Top Row ── */
.header-top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

/* ── LOGO ── */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
  min-width: 0;
  max-width: 60%;
}

/* WordPress custom logo image */

/* Text logo fallback */


/* ── Header Actions ── */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Search button */
.header-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid #dde1ea;
  border-radius: 9px;
  background: #f8f9fb;
  color: var(--text-mid);
  cursor: pointer;
  transition: background .18s, border-color .18s, color .18s, box-shadow .18s;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.header-search-btn:hover {
  background: #fff;
  border-color: var(--border-dark);
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(14,31,61,0.1);
}
.header-search-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
  box-shadow: 0 3px 12px rgba(14,31,61,0.25);
}
.header-search-btn svg { transition: transform .2s; }
.header-search-btn:hover svg { transform: scale(1.1); }

/* ── Hamburger ── */
.mob-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4.5px;
  width: 36px;
  height: 36px;
  border: 1.5px solid #dde1ea;
  border-radius: 9px;
  background: #f8f9fb;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .18s, border-color .18s, box-shadow .18s;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.mob-hamburger:hover {
  background: #fff;
  border-color: var(--border-dark);
  box-shadow: 0 2px 8px rgba(14,31,61,0.1);
}
.mob-hamburger.active {
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 3px 12px rgba(14,31,61,0.25);
}
.mob-hamburger span {
  display: block;
  width: 15px;
  height: 1.5px;
  background: #3a4156;
  border-radius: 2px;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  transform-origin: center;
}
.mob-hamburger.active span {
  background: #ffffff;
}
.mob-hamburger.active span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.mob-hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mob-hamburger.active span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* ── Search Bar (slide down) ── */
.header-search-bar {
  overflow: hidden;
  max-height: 0;
  transition: max-height .28s ease, opacity .2s;
  border-top: 0px solid var(--border);
  background: #f8f9fb;
  opacity: 0;
}
.header-search-bar.open {
  max-height: 56px;
  border-top: 1px solid #eceef2;
  opacity: 1;
}
.header-search-form {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-search-form svg { color: var(--text-light); flex-shrink: 0; }
.header-search-form input[type=search] {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  font-family: var(--font-ui);
  color: var(--text);
  background: transparent;
  padding: 4px 0;
}
.header-search-form input[type=search]::placeholder { color: var(--text-light); }
.header-search-close {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 14px;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color .2s;
}
.header-search-close:hover { color: var(--text); }

/* ── OC Logo Image ── */

/* ====== NAV ====== */
.nav {
  background: #fafafa !important;
  border-top: 1px solid #eceef2;
  overflow: hidden;
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  overflow: hidden;
  min-width: 0;
}
.nav-links {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-mid);
  padding: 13px 14px;
  white-space: nowrap;
  display: block;
  border-bottom: 2.5px solid transparent;
  transition: color .18s, border-color .18s, background .18s;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  position: relative;
  font-family: var(--font-ui);
}
.nav-links a:hover {
  color: var(--navy);
  border-bottom-color: rgba(14,31,61,0.18);
  background: rgba(14,31,61,0.025);
}
.nav-links a.active {
  color: var(--red);
  border-bottom-color: var(--red);
  font-weight: 700;
}

/* ====== MAIN ====== */
.main-wrap { max-width: var(--max); margin: 0 auto; padding: 24px 24px; }

/* ====== MARKETS BAR ====== */

@keyframes pulse-green {
  0%,100% { opacity:1; box-shadow: 0 0 8px rgba(34,197,94,0.9); }
  50% { opacity:0.5; box-shadow: 0 0 3px rgba(34,197,94,0.3); }
}

/* blink — used on live dots, badges across all pages */
@keyframes blink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.35; }
}


/* ====== HOME GRID ====== */
.home-grid {
  display: grid;
  grid-template-columns: 1fr 310px 290px;
  gap: 24px;
  margin-bottom: 32px;
  align-items: start;
}

/* ── Sidebar Column — flex layout with spacing between ad + widgets ── */
.sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sidebar-col .ad-sidebar-250 {
  margin-bottom: 0;   /* gap handled by flex gap */
  text-align: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: transparent;
}
.sidebar-col .ad-sidebar-600-wrap {
  margin-bottom: 0;
  text-align: center;
}
.sidebar-col .sidebar-widget {
  margin-bottom: 0;   /* gap handled by flex gap */
}

/* ====== FEATURED ====== */
/* Featured col — full card wrapper */
.featured-col {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}


@keyframes live-sweep {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Outer pulse ring */
.live-pulse-ring {
  position: absolute;
  left: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.65);
  animation: live-ring 1.5s ease-out infinite;
  pointer-events: none;
}
@keyframes live-sweep {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes live-ring {
  0%   { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2.1); opacity: 0; }
}

/* Inner solid dot */
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  animation: live-dot-pulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 7px rgba(255,255,255,0.95);
  position: relative;
  z-index: 1;
}
@keyframes live-dot-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: 0.5; transform: scale(0.65); }
}

/* LIVE text */
.live-text {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: #fff;
  font-family: var(--font-ui);
  position: relative;
  z-index: 1;
}
/* Featured image — full cover, tall card */
/* ── Featured image container ── */
.featured-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: #0e1f3d;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
  box-shadow: var(--shadow);
  display: block;
}

/* Dark gradient overlay — bottom 70% */
.featured-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.65) 40%,
    rgba(0,0,0,0.15) 70%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Category badge — top left */
.featured-img-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 3px;
  font-family: var(--font-ui);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(192,57,43,0.45);
  white-space: nowrap;
}

/* Live badge — top right */
.featured-live-badge {
  position: absolute;
  top: 12px; right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(192,57,43,0.92);
  padding: 4px 10px 4px 8px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(192,57,43,0.4);
  z-index: 3;
  overflow: hidden;
  backdrop-filter: blur(4px);
}
.featured-live-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: live-sweep 2.4s linear infinite;
  pointer-events: none;
}

/* Bottom content block — title + meta stacked */
.featured-content-block {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  padding: 16px 16px 14px;
}

/* Title */
.featured-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin: 0 0 8px;
  letter-spacing: -0.2px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: calc(1.35em * 3);
}
a:hover .featured-title { color: #ffd0d0; }

/* Excerpt — below image card */
.featured-excerpt {
  font-size: 14px;
  font-family: var(--font-serif);
  color: var(--text-mid);
  line-height: 1.65;
  margin: 14px 0 10px;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Meta — inside content block */
.featured-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-ui);
  margin: 0;
}

/* ====== TRENDING COL ====== */
.col-label {
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.2px;
  color: var(--navy);
  border-bottom: 1px solid #eaecf2;
  padding-bottom: 12px;
  margin-top: 0;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-sizing: content-box;
  font-family: var(--font-ui);
  position: relative;
}
.col-label::before {
  content: '';
  display: block;
  width: 5px;
  height: 20px;
  background: linear-gradient(180deg, #e84040 0%, #c01f1f 100%);
  border-radius: 3px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(212,43,43,0.28);
}
.col-label::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
  border-radius: 2px;
}
/* ====== TOP NEWS — Pro List ====== */
.tn-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: background .15s;
  position: relative;
}
.tn-item:last-child { border-bottom: none; }
.tn-item:hover .tn-title { color: var(--red); }
.tn-item:hover .tn-num  { background: var(--red); }

/* Number badge */
.tn-num {
  font-size: 11px;
  font-weight: 800;
  font-family: var(--font-ui);
  color: #fff;
  background: var(--navy);
  min-width: 20px;
  height: 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  letter-spacing: -0.3px;
}
.tn-item:nth-child(1) .tn-num,
.tn-item:nth-child(2) .tn-num,
.tn-item:nth-child(3) .tn-num { background: var(--red); }

/* Text body */
.tn-body { flex: 1; min-width: 0; }

.tn-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
}
.tn-cat {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red);
  font-family: var(--font-ui);
  white-space: nowrap;
}
.tn-dot { color: #ccc; font-size: 10px; }
.tn-date {
  font-size: 10px;
  color: var(--text-light);
  font-family: var(--font-ui);
  white-space: nowrap;
}
.tn-title {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s;
}


/* ====== SECTION DIVIDER ====== */
.section-divider {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 20px;
  margin-top: 8px;
  position: relative;
}

/* Gradient left accent bar */
.section-divider::before {
  content: '';
  display: block;
  width: 5px;
  height: 26px;
  background: linear-gradient(180deg, #e84040 0%, #c01f1f 100%);
  border-radius: 3px;
  flex-shrink: 0;
  margin-right: 12px;
  box-shadow: 0 2px 8px rgba(212,43,43,0.32);
}

.section-divider-title {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.2px;
  color: var(--navy);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0;
  padding-right: 14px;
  position: relative;
  line-height: 1;
}

/* Subtle separator dot after title */
.section-divider-title::after {
  content: '';
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 3px;
  background: #c0c5d0;
  border-radius: 50%;
}

.section-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, #dde0e8 0%, transparent 100%);
  min-width: 16px;
}

/* ====== NEWS GRID 4-COL ====== */
.news-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow .25s, transform .25s, border-color .25s;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  display: block;
}
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.news-card-img {
  width: 100%;
  height: 160px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform .4s ease;
}
/* Show actual <img> tags properly */
.news-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block !important;
  transition: transform .4s ease;
}
.news-card:hover .news-card-img { transform: scale(1.04); }
.news-card:hover .news-card-img img { transform: scale(1.04); }
/* Gradient overlay on image */
.news-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.22) 0%, transparent 55%);
  z-index: 1;
  pointer-events: none;
}
/* Fallback color backgrounds (when no image) */
.news-card-img.ci-1 { background-color: #0e2a4a; background-image: linear-gradient(135deg, #0e2a4a, #1c4d8a); }
.news-card-img.ci-2 { background-color: #0e4a1e; background-image: linear-gradient(135deg, #0e4a1e, #1c8a38); }
.news-card-img.ci-3 { background-color: #4a0e0e; background-image: linear-gradient(135deg, #4a0e0e, #8a1c1c); }
.news-card-img.ci-4 { background-color: #2a0e4a; background-image: linear-gradient(135deg, #2a0e4a, #501c8a); }
.news-card-img.ci-5 { background-color: #4a2a0e; background-image: linear-gradient(135deg, #4a2a0e, #8a501c); }
.news-card-img.ci-6 { background-color: #0e4a4a; background-image: linear-gradient(135deg, #0e4a4a, #1c8a8a); }
.news-card-img.ci-7 { background-color: #1e0e4a; background-image: linear-gradient(135deg, #1e0e4a, #3a1c8a); }
.news-card-img.ci-8 { background-color: #4a0e2a; background-image: linear-gradient(135deg, #4a0e2a, #8a1c55); }
.news-card-body { padding: 12px 14px 14px; }
.nc-cat {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--red);
  margin-bottom: 6px;
  font-family: var(--font-ui);
}
.nc-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.42;
  color: var(--text);
  margin-bottom: 8px;
  transition: color .2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card:hover .nc-title { color: var(--red); }
.nc-meta {
  font-size: 10px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-ui);
}
.nc-meta::before { display: none; }

/* ====== MID GRID ====== */
.mid-grid {
  display: grid;
  grid-template-columns: 1fr 295px;
  gap: 24px;
  margin-bottom: 32px;
}
.latest-list {}

/* ── Latest News Item (ln-item) — Base Styles ── */
.ln-item {
  text-decoration: none;
  display: flex;
  align-items: flex-start;
  min-height: 100px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  gap: 0;
  transition: opacity .2s;
}
.ln-item:last-child { border-bottom: none; }
.ln-item:hover { opacity: 0.78; }
.ln-img {
  width: 140px;
  min-width: 140px;
  max-width: 140px;
  height: 100px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ln-body {
  flex: 1;
  padding: 4px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.ln-meta {
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ln-cat {
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--red);
  font-family: var(--font-ui);
}
.ln-date {
  font-size: 10px;
  color: var(--text-light);
  font-family: var(--font-ui);
}
.ln-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color .2s;
}
.ln-item:hover .ln-title { color: var(--red); }
/* ln-img fallback colours (ai-1 … ai-8) */
.ln-img.ai-1 { background-color: #0e2a4a; }
.ln-img.ai-2 { background-color: #0e4a1e; }
.ln-img.ai-3 { background-color: #4a0e0e; }
.ln-img.ai-4 { background-color: #2a0e4a; }
.ln-img.ai-5 { background-color: #4a2a0e; }
.ln-img.ai-6 { background-color: #0e4a4a; }
.ln-img.ai-7 { background-color: #1e0e4a; }
.ln-img.ai-8 { background-color: #4a0e2a; }

/* ====== SIDEBAR WIDGETS ====== */
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* ── Sidebar Ad Slot Spacing Fix ── */
.ad-sidebar-250 {
  margin-bottom: 20px;
  text-align: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.ad-sidebar-600-wrap {
  margin-bottom: 20px;
  text-align: center;
}
.sw-header {
  padding: 11px 16px 11px 14px;
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2.8px;
  color: var(--navy);
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  border-left: 4px solid var(--red);
  font-family: var(--font-ui);
  display: flex;
  align-items: center;
  position: relative;
}
.sw-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 52px;
  height: 2px;
  background: var(--red);
}
.sw-item {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .15s;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.sw-item:last-child { border-bottom: none; }
.sw-item:hover { background: var(--off-white); }
.sw-num {
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: var(--navy);
  min-width: 20px;
  height: 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-family: var(--font-ui);
  letter-spacing: -0.3px;
}
.sw-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.44;
  color: var(--text);
  font-family: var(--font-display);
  transition: color .2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sw-item:hover .sw-title { color: var(--red); }
.sw-meta { font-size: 10px; color: var(--text-light); margin-top: 3px; font-family: var(--font-ui); }


/* ====== SPONSORED CONTENT SECTION ====== */
.sponsored-section {
  margin-bottom: 32px;
}
.sponsored-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  position: relative;
}
/* Full-width bottom border */
.sponsored-header::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, #e8dcc8, #f0e8d8 40%, transparent);
}
.sponsored-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
/* Left accent bar */
.sponsored-header-left::before {
  content: '';
  display: block;
  width: 3px;
  height: 18px;
  background: linear-gradient(to bottom, #c9a96e, #e8c97e);
  border-radius: 2px;
  flex-shrink: 0;
}
.sponsored-header-title {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #5a5a72;
  font-family: var(--font-display);
}
.sponsored-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: #a07840;
  background: linear-gradient(135deg, #fdf6e3, #f7e8c0);
  border: 1px solid rgba(192,152,80,.35);
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 1px 4px rgba(192,152,80,.15);
}
/* Gold dot before badge text */
.sponsored-header-badge::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a96e, #e8c97e);
  flex-shrink: 0;
}
.sponsored-header-cta {
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  cursor: pointer;
  border: 1.5px solid rgba(212,43,43,.25);
  padding: 5px 14px;
  border-radius: 20px;
  transition: all .2s;
  font-family: var(--font-ui);
  letter-spacing: .3px;
  background: rgba(212,43,43,.04);
}
.sponsored-header-cta:hover {
  background: var(--red);
  color: white;
  border-color: var(--red);
  box-shadow: 0 4px 14px rgba(212,43,43,.3);
}
.sponsored-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;   /* Teeno cards same height */
}
.sponsored-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow .25s, transform .2s, border-color .25s;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.sponsored-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}
.sponsored-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 3px;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #9a8060;
  padding: 2px 7px;
  z-index: 2;
  font-family: var(--font-display);
  backdrop-filter: blur(4px);
}
.sponsored-card-img {
  width: 100%;
  height: 160px;
  min-height: 160px;       /* Kabhi collapse na ho */
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  flex-shrink: 0;          /* Image shrink na ho */
  position: relative;
  overflow: hidden;
  transition: transform .3s;
}
.sponsored-card:hover .sponsored-card-img { transform: scale(1.02); }
.sponsored-card-img.sc-1 { background: linear-gradient(135deg, #1a3a5c, #2a6090); }
.sponsored-card-img.sc-2 { background: linear-gradient(135deg, #2a1a4a, #5a3090); }
.sponsored-card-img.sc-3 { background: linear-gradient(135deg, #1a4a2a, #2a8050); }
.sponsored-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 60%);
}
.sponsored-card-body {
  padding: 16px;
  flex: 1;                 /* Baaki saari height le lo */
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: flex-start;
}
.sponsored-card-brand {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--gold);
  margin-bottom: 6px;
  font-family: var(--font-ui);
}
.sponsored-card-title {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 8px;
  transition: color .2s;
}
.sponsored-card:hover .sponsored-card-title { color: var(--navy-light); }
.sponsored-card-desc {
  font-size: 12.5px;
  color: var(--text-mid);
  line-height: 1.6;
  font-family: var(--font-display);
  margin-bottom: 14px;
  flex: 1;
}
.sponsored-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.sponsored-card-cta {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--navy);
  font-family: var(--font-display);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap .2s, color .2s;
}
.sponsored-card:hover .sponsored-card-cta { gap: 8px; color: var(--red); }
.sponsored-card-cta::after { content: '→'; }
.sponsored-card-tag {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #aab;
  font-family: var(--font-display);
}


/* ====== WORDPRESS CORE COMPATIBILITY ======
   WP alignment, caption, gallery classes
   ========================================= */

/* Image Alignment */
.alignleft  { float: left;  margin: 0.5em 1.5em 0.5em 0; max-width: 50%; }
.alignright { float: right; margin: 0.5em 0 0.5em 1.5em; max-width: 50%; }
.aligncenter { display: block; margin: 0 auto 1em; }
.alignnone  { display: block; margin: 0 0 1em; }

/* WP Caption */
.wp-caption { max-width: 100%; margin-bottom: 1em; }
.wp-caption img { display: block; max-width: 100%; }
.wp-caption-text { font-size: 12px; color: var(--text-light); text-align: center; margin-top: 4px; }

/* WP Gallery */
.gallery { margin: 1em 0; }
.gallery-item { display: inline-block; vertical-align: top; width: 33.33%; padding: 4px; box-sizing: border-box; }
.gallery-item img { max-width: 100%; height: auto; display: block; }
.gallery-caption { font-size: 11px; color: var(--text-light); text-align: center; margin-top: 3px; }

/* WP Sticky post */
.sticky { /* no special treatment needed */ }

/* WP Bypost format */
.bypostauthor { /* no special treatment needed */ }

/* Screen reader text */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%); height: 1px; margin: -1px;
  overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal;
}
.screen-reader-text:focus {
  background: var(--white); border-radius: 4px; box-shadow: 0 0 2px 2px rgba(0,0,0,.1);
  clip: auto; clip-path: none; color: var(--navy); display: block;
  font-size: 14px; font-weight: 700; height: auto; left: 5px; line-height: normal;
  padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 999999;
}

/* Skip link */
.skip-link { position: absolute; top: -100%; left: 0; padding: 10px 16px; background: var(--navy); color: white; font-size: 13px; z-index: 9999; transition: top .2s; }
.skip-link:focus { top: 0; }

@media (max-width: 640px) {
  .alignleft, .alignright { float: none; display: block; margin: 0 auto 1em; max-width: 100%; }
}

/* ====== AD SLOTS ====== */

.body-ad-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #f5f6f8;
  gap: 0;
}
.body-ad-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #c0c5d8;
  margin-bottom: 10px;
  font-family: var(--font-display);
}
/* Desktop: show 728x90, hide 320x100 */
.body-ad-728x90  { width: 728px; max-width: 100%; min-height: 90px; height: auto; display: flex; overflow: hidden; }


/* ====== RESPONSIVE ======
   ====================================================== */

/* Large Tablet / Small Desktop  (≤1100px) / SMALL DESKTOP  (≤1100px)
   ====================================================== */
/* ══════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS — COMPLETE DEVICE COVERAGE
   
   1440px+   : Large Desktop / iMac / 4K
   1280px    : Standard Desktop / Laptop 1080p
   1100px    : Small Laptop / Large Tablet landscape
    900px    : Tablet landscape / iPad Pro
    768px    : Tablet portrait / iPad
    640px    : Large Mobile / iPhone Plus
    400px    : Small Mobile / iPhone SE
   ══════════════════════════════════════════════════════════ */

/* ══ ≤ 1280px — Standard laptop ══════════════════════════ */
@media (max-width: 1280px) {
  .home-grid          { grid-template-columns: 1fr 300px 270px; gap: 22px; }
  .news-grid-4        { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .footer-3col        { grid-template-columns: repeat(3, 1fr); gap: 18px 24px; }
}

/* ══ ≤ 1100px — Small laptop / large tablet landscape ════ */
@media (max-width: 1100px) {
  .home-grid          { grid-template-columns: 1fr 280px; gap: 20px; }
  .sidebar-col        { display: none; }
    .main-wrap          { padding: 20px 20px; }
  .news-grid-4        { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .sponsored-grid     { grid-template-columns: repeat(3, 1fr); }
  .footer-3col        { grid-template-columns: repeat(3, 1fr); gap: 16px 24px; }
  .mid-grid           { grid-template-columns: 1fr 270px; }
}

/* ══ ≤ 900px — Tablet landscape / iPad Pro ═══════════════ */
@media (max-width: 900px) {
  /* Layout */
  .home-grid          { grid-template-columns: 1fr; gap: 0; }
  /* Top News mobile */
  .trending-col       { display: none; }
  .mid-grid           { grid-template-columns: 1fr; }
  .news-grid-4        { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .main-wrap          { padding: 18px 20px; }

  /* Header */
  .header-top           { height: 58px; padding: 0 20px; }
  .header-search-form   { padding: 9px 20px; }

  /* Newsletter */

  /* Grid & Cards */
  .sponsored-grid     { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .news-card-img      { height: 150px; }
  .news-card-body     { padding: 11px 13px 13px; }
  .nc-title           { font-size: 13.5px; line-height: 1.42; }
  .nc-meta            { font-size: 10px; }

  /* Footer */
  .footer-3col        { grid-template-columns: repeat(2, 1fr); gap: 18px 20px; }

  /* Sidebar */
  .sidebar-widget     { margin-bottom: 16px; }
  .sw-item-pr .sw-item-pr-left { padding: 10px 14px; }
}

/* ══ ≤ 768px — Tablet portrait / iPad ═══════════════════ */
@media (max-width: 768px) {
  .main-wrap          { padding: 16px 16px; }
  .header-top         { height: 56px; padding: 0 16px; }

  /* Featured */
  .featured-title     { font-size: 18px; -webkit-line-clamp: 3; max-height: calc(1.35em * 3); }
  .featured-excerpt   { font-size: 13.5px; }

  /* News grid stays 2 cols on tablet portrait */
  .news-grid-4        { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* Sponsored 2 cols */
  .sponsored-grid     { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer-3col        { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* News cards at 768px */
  .news-card-img  { height: 145px; }
  .news-card-body { padding: 10px 12px 12px; }
  .nc-title       { font-size: 13px; line-height: 1.42; }
  .nc-meta        { font-size: 10px; }

  /* Nav links — slightly tighter */
  .nav-links a        { padding: 10px 12px; font-size: 11px; }

  /* Section divider */

  /* More News button — tablet */
  .section-more-btn {
    font-size: 10px;
    padding: 4px 10px 4px 9px;
    letter-spacing: 0.3px;
    margin-left: 8px;
  }
}

/* ══ ≤ 640px — Large Mobile / iPhone Plus ════════════════ */
@media (max-width: 640px) {

  /* ── GLOBAL ──────────────────────────────────────────── */
  html, body     { overflow-x: hidden; width: 100%; max-width: 100vw; box-sizing: border-box; }
  img, video, iframe { max-width: 100%; height: auto; display: block; }

  /* Footer bottom padding — space for mobile sticky ad */
  .footer        { padding-bottom: 120px; }

  /* ── SKIN ADS ────────────────────────────────────────── */
  
  /* ── HEADER ─────────────────────────────────────────── */
  .header         { position: sticky; top: 0; z-index: 200; width: 100%; }
  .header-top     { height: 56px; padding: 0 14px; gap: 8px; }
  .logo           { gap: 8px; flex: 1; min-width: 0; max-width: calc(100% - 90px); }
  .header-actions { gap: 6px; flex-shrink: 0; }
  .header-search-btn { width: 34px; height: 34px; }
  .mob-hamburger  { width: 34px; height: 34px; display: flex !important; }
  .header-search-form { padding: 8px 14px; }

  /* ── NAV ─────────────────────────────────────────────── */
  .nav            { overflow: hidden; width: 100%; }
  .nav-inner      { padding: 0 0 0 14px; overflow: hidden; width: 100%; }
  .nav-links      { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; flex: 1; min-width: 0; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a    { font-size: 10.5px; padding: 9px 11px; letter-spacing: 0.3px; white-space: nowrap; }

  /* ── MAIN WRAP ───────────────────────────────────────── */
  .main-wrap { padding: 12px 14px; overflow-x: hidden; width: 100%; max-width: 100vw; }

  /* ── NEWSLETTER STRIP ────────────────────────────────── */

  /* ── HOME GRID ───────────────────────────────────────── */
  .home-grid   { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
  .sidebar-col { display: none; }

  /* Featured article */
  .featured-col     { padding: 0; margin-bottom: 0; border-radius: 10px; }
  .featured-img     { aspect-ratio: 16/9; width: 100%; border-radius: 10px; margin-bottom: 0; }
  .featured-content-block { padding: 12px 12px 12px; }
  .featured-title   { font-size: 15px; line-height: 1.35; margin-bottom: 6px; -webkit-line-clamp: 3; max-height: calc(1.35em * 3); }
  .featured-meta    { font-size: 10px; }
  .featured-excerpt { font-size: 13px; line-height: 1.62; margin: 12px 0 8px; }
  .featured-live-badge { top: 8px; right: 8px; padding: 3px 8px; gap: 4px; }
  .featured-img-badge  { top: 8px; left: 8px; font-size: 8px; padding: 3px 8px; }
  .author-dot       { width: 20px; height: 20px; font-size: 9px; }
  .read-more-btn    { display: flex; width: 100%; justify-content: center; padding: 11px 16px; font-size: 12px; margin-top: 10px; border-radius: 6px; }

  /* Top News (trending-col) visible on mobile as card */
  .trending-col {
    display: block;
    margin-top: 18px;
    margin-bottom: 4px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
  }
  .trending-col .col-label { padding: 10px 14px 8px; margin-bottom: 0; border-bottom: 1px solid var(--border); }
  .trending-col .col-label::before { display: none; }
  /* tn- mobile overrides */
  .tn-item       { padding: 10px 14px; gap: 8px; border-bottom: 1px solid var(--border); }
  .tn-item:last-child { border-bottom: none; }
  .tn-body       { flex: 1; min-width: 0; }
  .tn-num        { min-width: 18px; height: 18px; font-size: 10px; }
  .tn-title      { font-size: 12.5px; }
  .tn-date       { display: none; }

  /* ── SECTION DIVIDERS ────────────────────────────────── */
  .section-divider              { margin: 18px 0 12px; gap: 8px; }
  .section-divider-title        { font-size: 9.5px; letter-spacing: 2px; }
  .section-divider-title::before { height: 12px; }
  .section-more-btn {
    font-size: 9.5px;
    padding: 4px 9px 4px 8px;
    letter-spacing: 0.2px;
    margin-left: 6px;
    border-width: 1.5px;
    gap: 4px;
  }
  .section-more-btn svg { width: 9px; height: 9px; }

  /* ── NEWS GRID 4-col → 2-col ─────────────────────────── */
  .news-grid-4    { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 16px; }
  .news-card      { border-radius: 8px; }
  .news-card-img  { height: 115px; }
  .news-card:hover .news-card-img { transform: none; } /* disable zoom on touch */
  .news-card:hover { transform: none; } /* no lift on touch */
  .news-card-body { padding: 10px 12px 12px; }
  .nc-cat         { font-size: 8.5px; letter-spacing: 1px; margin-bottom: 5px; }
  .nc-title       { font-size: 12.5px; line-height: 1.42; margin-bottom: 6px; }
  .nc-meta        { font-size: 10px; }

  /* ── LATEST NEWS + MID-GRID ──────────────────────────── */
  .mid-grid    { grid-template-columns: 1fr; gap: 0; margin-bottom: 16px; }
  .latest-list { width: 100%; overflow: hidden; }
  .latest-item { padding: 12px 0; align-items: flex-start; width: 100%; }

  /* ln-item — Latest News mobile overrides */
  .ln-item     { padding: 10px 0; min-height: auto; }
  .ln-img      { width: 88px; min-width: 88px; max-width: 88px; height: 68px; border-radius: 5px; }
  .ln-body     { padding: 3px 10px; }
  .ln-title    { font-size: 13px; -webkit-line-clamp: 2; }
  .ln-cat      { font-size: 9px; }
  .ln-date     { font-size: 9.5px; }

  /* ── SIDEBAR WIDGETS ─────────────────────────────────── */
  .sidebar-widget { margin-bottom: 12px; border-radius: 8px; width: 100%; }
  .sw-header      { padding: 9px 14px; font-size: 8.5px; letter-spacing: 2px; }
  .sw-item        { padding: 10px 14px; gap: 10px; }
  .sw-num         { min-width: 18px; height: 18px; font-size: 10px; border-radius: 3px; }
  .sw-title       { font-size: 12.5px; line-height: 1.4; }
  .sw-meta        { font-size: 10px; }

  /* ── FOOTER BRAND ────────────────────────────────────── */

  /* ── PRESS RELEASE ───────────────────────────────────── */
  .sw-item-pr .sw-item-pr-left { padding: 10px 14px; width: 100%; box-sizing: border-box; }
  .sw-item-pr .sw-title        { font-size: 12px; line-height: 1.42; }
  .sw-item-pr .sw-meta         { font-size: 10px; margin-top: 3px; }
  .pr-domain, .pr-date, .pr-read { font-size: 10px; }


  /* ── MOBILE MENU ─────────────────────────────────────── */
  .oc-menu       { width: min(300px, 88vw); }

  /* ── FOOTER ──────────────────────────────────────────── */
  .footer                    { padding: 24px 0 0; border-top-width: 3px; }
  .footer-inner              { padding: 0 14px; }
  .footer-3col               { grid-template-columns: repeat(2, 1fr); gap: 14px; padding-bottom: 18px; }
  .footer-row-mid            { padding-top: 18px; }
  .footer-row-last           { padding-top: 18px; padding-bottom: 24px; }
  .footer-col h5             { font-size: 9px; margin-bottom: 10px; padding-bottom: 6px; letter-spacing: 2px; }
  .footer-col ul             { gap: 8px; }
  .footer-col ul li a        { font-size: 12px; }
  .footer-col ul li a:hover  { padding-left: 0; }
  .footer-wa-grid            { grid-template-columns: 1fr 1fr; gap: 10px; }
  .footer-wa-section         { padding-top: 20px; }
  .footer-bottom             { flex-direction: column; gap: 4px; text-align: center; padding: 14px 0; font-size: 11px; }

  /* ── SPONSORED CONTENT ───────────────────────────────── */
  .sponsored-section      { margin-bottom: 20px; }
  .sponsored-header       { margin-bottom: 10px; padding-bottom: 8px; }
  .sponsored-header-title { font-size: 9px; letter-spacing: 2px; }
  .sponsored-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 12px;
    padding-bottom: 8px;
    margin-left: -14px;
    margin-right: -14px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .sponsored-grid::-webkit-scrollbar { display: none; }
  .sponsored-card {
    flex: 0 0 76vw;
    max-width: 280px;
    min-width: 230px;
    scroll-snap-align: start;
    transform: none !important;
  }
  .sponsored-card:hover { transform: none !important; }
  .sponsored-card-img    { height: 130px; }
  .sponsored-card-body   { padding: 12px 14px; }
  .sponsored-card-title  { font-size: 13.5px; line-height: 1.38; margin-bottom: 6px; }
  .sponsored-card-desc   { font-size: 12px; line-height: 1.5; margin-bottom: 10px; }

  /* Ad slots */
  .bm-ad-live            { max-width: 100% !important; overflow: hidden; }
  .bm-ad-live > div      { max-width: 100% !important; height: auto !important; min-height: 50px; }
  }

/* ══ ≤ 400px — Small Mobile / iPhone SE ═════════════════ */
@media (max-width: 400px) {
  .main-wrap      { padding: 10px 12px; }
  .header-top     { height: 52px; padding: 0 12px; }

  /* Featured */
  .featured-content-block { padding: 10px 10px 10px; }
  .featured-title { font-size: 13px; margin-bottom: 5px; }
  .featured-excerpt { font-size: 13px; }

  /* 1 col news grid on very small */
  .news-grid-4    { grid-template-columns: 1fr; gap: 10px; }
  .news-card-img  { height: 160px; }
  .nc-title       { font-size: 14px; }

  /* Trending */
  .tn-title    { font-size: 12px; }

  /* Latest news image smaller */
  .ln-img         { width: 76px; min-width: 76px; height: 62px; }
  .ln-body        { padding: 3px 8px; }
  .ln-title       { font-size: 12.5px; }
  .ln-item        { padding: 9px 0; }

  /* Newsletter */

  /* Sponsored */
  .sponsored-card { flex: 0 0 88vw; min-width: 220px; }

  /* Footer */
  .footer-links-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer-bottom  { font-size: 10.5px; }

  /* Mobile menu */
  .oc-menu       { width: 92vw; }

  /* More News button — very small mobile */
  .section-more-btn {
    font-size: 9px;
    padding: 3px 8px 3px 7px;
    gap: 3px;
  }
  .section-more-btn svg { width: 8px; height: 8px; }
}


/* ── ≥ 1440px — Large desktop / external monitor ───────────────── */
@media (min-width: 1440px) {
  :root { --max: 1200px; }
  .main-wrap { padding: 28px 24px; }
  .home-grid { grid-template-columns: 1fr 320px 300px; gap: 28px; }
  .news-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .mid-grid { grid-template-columns: 1fr 310px; }
  .footer-links-row { grid-template-columns: repeat(4, 1fr); }
}

/* ======================================================
   SKIN / WALLPAPER ADS — LEFT & RIGHT STICKY COLUMNS
   Visible only when viewport > 1460px (content=1260 + 2×100px min)
   ====================================================== */


/* Position outside content area (1100px) */


/* ══════════════════════════════════════════════════════
   IN-CONTENT AD — Article ke beech mein
   ══════════════════════════════════════════════════════ */
.in-content-ad {
  margin: 32px auto;
  text-align: center;
  clear: both;
}
/* Wrapper hide karo agar koi bhi visible ad child nahi */
.in-content-ad:not(:has(.ica-desktop:not([style*="none"]), .ica-tablet:not([style*="none"]), .ica-mobile:not([style*="none"]))) {
  display: none;
}
.in-content-ad-label {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 6px;
}


/* ── Infeed "Advertisement" label — tab hide karo jab parent hidden ── */
.ica-mobile .bm-infeed-ad-label,
.ica-tablet .bm-infeed-ad-label,
.ica-desktop .bm-infeed-ad-label {
  display: block;
}
/* Parent ke CSS hide hone pe label bhi hide — cascade */

/* ════════════════════════════════════════════════════════════
   AD VISIBILITY — Device-Specific Show/Hide
   Desktop:  > 1024px  → ica-desktop dikhao
   Tablet:   641–1024px → ica-tablet dikhao
   Mobile:   ≤ 640px   → ica-mobile dikhao
   ════════════════════════════════════════════════════════════ */

/* DEFAULT (Desktop > 1024px): sirf desktop ads dikhao */
.ica-desktop { display: block; }
.ica-mobile  { display: none  !important; }
.ica-tablet  { display: none  !important; }
/* Special: desktop ad jo tablet pe bhi dikhna chahiye */
.mobile-only { display: none  !important; }
.tablet-only { display: none  !important; }
.desktop-only{ display: block; }

/* TABLET (641px – 1024px): sirf tablet ads */
@media (min-width: 641px) and (max-width: 1024px) {
  .ica-desktop      { display: none  !important; }
  .ica-tablet       { display: block !important; }
  .ica-mobile       { display: none  !important; }
  .mobile-only      { display: none  !important; }
  .tablet-only      { display: block !important; }
  .desktop-only     { display: none  !important; }

  /* ── More News button ── */
  .section-more-btn  { font-size: 10px; padding: 4px 10px 4px 9px; }

  /* ── Section divider ── */
  .section-divider       { margin: 14px 0 12px; gap: 10px; }
  .section-divider-title { font-size: 10px; letter-spacing: 2.2px; }

  /* ── Featured ── */
  .featured-col            { border-radius: 10px; }
  .featured-img            { aspect-ratio: 16/9; border-radius: 10px; }
  .featured-content-block  { padding: 14px 16px 14px; }
  .featured-title          { font-size: 17px; line-height: 1.33; margin-bottom: 6px; -webkit-line-clamp: 3; }
  .featured-meta           { font-size: 11px; }
  .featured-excerpt        { font-size: 13.5px; margin: 12px 0 8px; }
  .featured-live-badge     { top: 10px; right: 10px; padding: 4px 9px; gap: 5px; }
  .featured-img-badge      { top: 10px; left: 10px; font-size: 8.5px; padding: 3px 9px; }

  /* ── Top News ── */
  .trending-col  { display: block; }
  .tn-item       { padding: 10px 0; gap: 9px; }
  .tn-body       { flex: 1; min-width: 0; }
  .tn-num        { min-width: 19px; height: 19px; font-size: 10.5px; border-radius: 3px; }
  .tn-title      { font-size: 13px; }
  .tn-date       { font-size: 10px; }

  /* ── News grid 4col → 2col on tablet ── */
  .news-grid-4      { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .sponsored-grid   { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .news-card        { border-radius: 8px; }
  .news-card-img    { height: 140px; }
  .news-card:hover  { transform: none; }
  .news-card:hover .news-card-img { transform: none; }
  .news-card-body   { padding: 11px 13px 13px; }
  .nc-cat           { font-size: 8.5px; }
  .nc-title         { font-size: 13px; line-height: 1.42; }
  .nc-meta          { font-size: 10px; }

  /* ── Mid grid + Latest News ── */
  .mid-grid    { grid-template-columns: 1fr; gap: 0; }
  .latest-list { width: 100%; }
  .ln-item     { padding: 10px 0; min-height: 90px; }
  .ln-img      { width: 120px; min-width: 120px; height: 85px; }
  .ln-body     { padding: 4px 13px; }
  .ln-title    { font-size: 14px; }

  /* ── Sidebar widgets ── */
  .sidebar-widget { margin-bottom: 14px; }
  .sw-header      { padding: 10px 15px; font-size: 9px; letter-spacing: 2.2px; }
  .sw-item        { padding: 10px 15px; gap: 10px; }
  .sw-num         { min-width: 19px; height: 19px; font-size: 10.5px; border-radius: 3px; }
  .sw-title       { font-size: 13px; line-height: 1.42; }
  .sw-meta        { font-size: 10px; }

  /* ── Footer ── */
  .footer-3col        { grid-template-columns: repeat(2, 1fr); gap: 18px 24px; padding-bottom: 22px; }
  .footer-row-mid     { padding-top: 22px; }
  .footer-row-last    { padding-top: 22px; padding-bottom: 28px; }
  .footer-wa-grid     { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .footer-col h5      { font-size: 9px; margin-bottom: 12px; }
  .footer-col ul li a { font-size: 12.5px; }
  .footer-bottom      { flex-direction: column; gap: 6px; text-align: center; font-size: 11.5px; }
}

/* MOBILE (≤ 640px): sirf mobile ads */
@media (max-width: 640px) {
  .ica-desktop      { display: none  !important; }
  .ica-tablet       { display: none  !important; }
  .ica-mobile       { display: block !important; }
  .mobile-only      { display: block !important; }
  .tablet-only      { display: none  !important; }
  .desktop-only     { display: none  !important; }
}

/* Category page mobile — ensure article list is visible */
@media (max-width: 640px) {
  /* Article list — never hide on mobile */
  .article-list             { display: block !important; }
  .art-item                 { display: flex !important; visibility: visible !important; opacity: 1 !important; }

  /* Cat featured — full width, proper height */
  .cat-featured             { display: flex !important; flex-direction: column !important; width: 100% !important; }

  /* Section head — visible */
  .section-head             { display: flex !important; }

  /* Main content area — fill full width */
  .cat-layout main          { width: 100% !important; min-width: 0 !important; overflow: visible !important; }
  .cat-layout               { display: block !important; }

  /* Art item image — proper size */
  .art-item-img             { min-width: 80px !important; width: 80px !important; height: 70px !important; flex-shrink: 0 !important; }

  /* Art item title — readable size */
  .ai-title                 { font-size: 13px !important; line-height: 1.4 !important; }
}

/* ====== AD VISIBILITY RULES ====== */

/* Skin ads — hide when no live ad code */

/* Mobile sticky — hide when no live ad code */


/* ═══════════════════════════════════════════════════════════════════════════
   FINAL AD PLACEMENT FIX — Puri Website
   ═══════════════════════════════════════════════════════════════════════════ */

/* 2. Article Sidebar — 300×600 ad block (newsletter ke niche) */
.sidebar-ad-600 {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
  box-sizing: border-box;
}

.sidebar-ad-600 .sidebar-ad-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #bbb;
  margin-bottom: 6px;
  text-align: center;
}

.sidebar-ad-600 .bm-ad-live {
  width: 100%;
  max-width: 300px;
}
@media (max-width: 900px) {
  .sidebar-ad-600 { display: none; }
}

/* ══════════════════════════════════════════════════════════════════════════════
   PDF GUIDE ADS — Device-Specific Display Classes
   Mobile:  ≤640px  | Tablet: 641px–1024px | Desktop: ≥1025px
   ══════════════════════════════════════════════════════════════════════════════ */

/* ica-tablet visibility handled in Ad Visibility section above */

/* Mobile anchor ad — sticky bottom bar */
@media (max-width: 640px) {
}

/* In-feed ad wrapper — PDF guide placements */
.bm-infeed-ad {
  width: 100%;
  text-align: center;
  padding: 12px 0;
  box-sizing: border-box;
}
/* Infeed + in-content wrapper: empty bm-ad-live hone pe hide */
.bm-ad-live:empty { display: none !important; }
.bm-ad-live:empty + * { display: none !important; }
/* Agar bm-ad-live empty hai toh parent bhi hide */
.bm-infeed-ad:has(.bm-ad-live:empty):has(:not(.bm-ad-live:not(:empty))) { display: none !important; }
.in-content-ad:has(.bm-ad-live:empty):not(:has(.bm-ad-live:not(:empty))) { display: none !important; margin: 0 !important; }
.ad-sidebar:has(.bm-ad-live:empty) { display: none !important; }
.sidebar-ad:has(.bm-ad-live:empty) { display: none !important; }
.sidebar-ad-600:has(.bm-ad-live:empty) { display: none !important; }
.ad-sidebar-600-block:has(.bm-ad-live:empty) { display: none !important; }
.bm-ad-block:has(.bm-ad-live:empty) { display: none !important; }
.bm-infeed-ad-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #c0c5d8;
  margin-bottom: 6px;
}
.bm-infeed-ad .bm-ad-live {
  display: flex;
  justify-content: center;
}

@media (max-width: 1024px) {
}
@media (max-width: 640px) {
}

/* ══════════════════════════════════════════════════════════════════
   OFF-CANVAS MENU — Full Categories + Subcategories
   ══════════════════════════════════════════════════════════════════ */

/* Overlay */
.oc-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 990;
  backdrop-filter: blur(3px);
  transition: opacity .3s;
}
.oc-overlay.open { display: block; animation: ocFadeIn .25s ease; }
@keyframes ocFadeIn { from { opacity:0; } to { opacity:1; } }

/* Panel */
.oc-menu {
  position: fixed;
  top: 0; left: -360px;
  width: 320px;
  max-width: 88vw;
  height: 100%;
  background: #fff;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transition: left .32s cubic-bezier(.4,0,.2,1);
  box-shadow: 4px 0 32px rgba(0,0,0,.18);
  overflow: hidden;
}
.oc-menu.open { left: 0; }

/* Header */
.oc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 16px;
  background: linear-gradient(118deg, #060d1f 0%, #0e1f3d 100%);
  flex-shrink: 0;
  border-bottom: 2px solid #c0392b;
}
.oc-logo { display: flex; flex-direction: column; gap: 2px; }
.oc-close {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  flex-shrink: 0;
}
.oc-close:hover { background: rgba(255,255,255,.16); }

/* Search */
.oc-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #f8f9fb;
  border-bottom: 1px solid #ebebeb;
  flex-shrink: 0;
}
.oc-search-icon { color: #aaa; flex-shrink: 0; }
.oc-search-input {
  border: none;
  background: transparent;
  font-size: 13.5px;
  color: var(--text);
  outline: none;
  width: 100%;
  font-family: var(--font-display);
}
.oc-search-input::placeholder { color: #bbb; }

/* Nav scroll area */
.oc-nav {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px 0 16px;
  -webkit-overflow-scrolling: touch;
}
.oc-nav::-webkit-scrollbar { width: 3px; }
.oc-nav::-webkit-scrollbar-thumb { background: #e0e0e0; border-radius: 3px; }

/* Home / simple item */
.oc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all .15s;
  font-family: var(--font-display);
}
.oc-item-home svg { color: #888; flex-shrink: 0; }
.oc-item:hover { background: #f7f8fb; border-left-color: rgba(192,57,43,.3); color: var(--navy); }
.oc-item.active { border-left-color: var(--red); color: var(--red); background: #fff5f5; font-weight: 700; }
.oc-count {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  color: #bbb;
  font-family: var(--font-ui);
  background: #f0f0f0;
  padding: 2px 7px;
  border-radius: 10px;
  flex-shrink: 0;
}
.oc-item.active .oc-count { background: rgba(192,57,43,.1); color: var(--red); }

/* Category group (with subcategories) */
.oc-group { border-bottom: 1px solid #f2f2f2; }
.oc-group-header {
  display: flex;
  align-items: center;
  padding: 0 20px 0 0;
  cursor: pointer;
  transition: background .15s;
  border-left: 3px solid transparent;
  user-select: none;
}
.oc-group-header:hover { background: #f7f8fb; border-left-color: rgba(192,57,43,.25); }
.oc-group.open .oc-group-header { background: #fff5f5; border-left-color: var(--red); }

.oc-group-title {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 12px 13px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  font-family: var(--font-display);
  transition: color .15s;
}
.oc-group.open .oc-group-title { color: var(--red); }
.oc-group-title:hover { color: var(--red); }

.oc-arrow {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: #bbb;
  transition: transform .25s, color .15s;
  flex-shrink: 0;
}
.oc-group.open .oc-arrow { transform: rotate(180deg); color: var(--red); }

/* Subcategory list */
.oc-subs {
  display: none;
  padding: 4px 0 10px;
  background: #fafbfc;
  border-top: 1px solid #f0f0f0;
}
.oc-group.open .oc-subs { display: block; animation: ocSlideDown .2s ease; }
@keyframes ocSlideDown { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }

.oc-sub {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px 9px 32px;
  font-size: 13px;
  color: var(--text-mid);
  text-decoration: none;
  transition: all .15s;
  font-family: var(--font-display);
  border-left: 3px solid transparent;
}
.oc-sub:hover { background: #f0f4ff; color: var(--navy); border-left-color: rgba(14,31,61,.2); padding-left: 36px; }
.oc-sub.active { color: var(--red); font-weight: 600; background: #fff5f5; border-left-color: var(--red); }
.oc-sub-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #d0d4de;
  flex-shrink: 0;
  transition: background .15s;
}
.oc-sub:hover .oc-sub-dot { background: var(--navy); }
.oc-sub.active .oc-sub-dot { background: var(--red); }
.oc-sub-count {
  margin-left: auto;
  font-size: 10px;
  color: #ccc;
  font-family: var(--font-ui);
  font-weight: 700;
  flex-shrink: 0;
}

/* Footer */
.oc-footer {
  flex-shrink: 0;
  border-top: 1px solid #e8eaed;
  background: linear-gradient(180deg, #f8f9fb 0%, #f1f3f6 100%);
  padding: 16px 20px;
}
.oc-footer-social {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.oc-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: none;
  color: var(--oc-icon-color, #444);
  text-decoration: none;
  transition: all .22s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 2px 8px rgba(0,0,0,.10), 0 0 0 1.5px rgba(0,0,0,.06);
  position: relative;
  overflow: hidden;
}
.oc-icon-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--oc-icon-color, #444);
  opacity: 0;
  transition: opacity .22s ease;
  border-radius: 50%;
}
.oc-icon-btn svg {
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: color .22s ease;
}
.oc-icon-btn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  color: #fff;
}
.oc-icon-btn:hover::before { opacity: 1; }
.oc-icon-inactive { opacity: 0.28; cursor: default; pointer-events: none; }

/* Show hamburger on all screens */
.mob-hamburger { display: flex !important; cursor: pointer; }

/* ══════════════════════════════════════════════════════
   WHATSAPP CHANNEL CARD — Sidebar & Inline
   ══════════════════════════════════════════════════════ */
.wa-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.wa-card-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #128C45, #25D366);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(37,211,102,.35);
}
.wa-card-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #25D366;
  background: rgba(37,211,102,.12);
  border: 1px solid rgba(37,211,102,.3);
  padding: 3px 10px;
  border-radius: 20px;
}
.wa-card-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  font-family: var(--font-ui);
}
.wa-card-desc {
  font-size: 12.5px;
  color: rgba(255,255,255,.65);
  line-height: 1.55;
  margin-bottom: 12px;
}
.wa-card-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: rgba(255,255,255,.5);
  margin-bottom: 16px;
}
.wa-card-dot {
  width: 7px;
  height: 7px;
  background: #25D366;
  border-radius: 50%;
  animation: waPulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes waPulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.3); }
}
.wa-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: linear-gradient(135deg, #128C45, #25D366);
  color: #fff;
  border-radius: 8px;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 3px 12px rgba(37,211,102,.35);
  box-sizing: border-box;
}
.wa-card-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37,211,102,.45);
  color: #fff;
}

/* ═══════════════════════════════════════════════════════
   शुभ प्रभात पत्रिका — Logo  (SVG-based, overlap-proof)
   ═══════════════════════════════════════════════════════ */

a.logo { overflow: visible; }

.spp-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}


.spp-title {
  font-family: 'Noto Serif Devanagari', serif;
  font-weight: 900;
  color: #b80000;
  line-height: 1.1;
  white-space: nowrap;
  letter-spacing: 1px;
}


/* ── Header ── */
.spp-logo--header .spp-title    { font-size: 23px; letter-spacing: 0.5px; }

/* ── Footer ── */
.spp-logo--footer               { margin-bottom: 14px; }
.spp-logo--footer .spp-title    { font-size: 26px; color: #ffaaaa; }

/* ── Off-canvas ── */
.spp-logo--oc .spp-title        { font-size: 20px; color: #ffaaaa; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .spp-logo--header .spp-title   { font-size: 20px; }
}
@media (max-width: 480px) {
  .spp-logo--header .spp-title   { font-size: 18px; }
}

/* ── Sidebar Widget Body ── */
.sw-body {
  padding: 4px 0;
}

/* ── WordPress standard: entry-content ── */
.entry-content {
  line-height: inherit;
}

/* ── Section View All link ── */
.section-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-ui);
  color: var(--red);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.3px;
  text-transform: none;
  padding: 6px 14px 6px 12px;
  border: 1.5px solid rgba(212,43,43,0.22);
  border-radius: 20px;
  margin-left: 10px;
  transition: background .18s, color .18s, border-color .18s, box-shadow .18s, transform .15s;
  background: #fff;
}
.section-more-btn svg {
  transition: transform .18s;
  opacity: 0.7;
}
.section-more-btn:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 3px 12px rgba(212,43,43,.22);
  transform: translateY(-1px);
}
.section-more-btn:hover svg {
  transform: translateX(3px);
  opacity: 1;
}


/* ═══════════════════════════════════════════════════════
   HOME PAGE — TOP STORY BADGE + FEATURED CARD
   Desktop: full-width vertical card
   Mobile/Tablet: horizontal card (image left, text right)
   ═══════════════════════════════════════════════════════ */

/* Badge wrapper — always spans full grid width */
.home-top-story-wrap {
  grid-column: 1 / -1;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
}
.home-top-story-badge {
  display: inline-flex;
  align-items: center;
  background: #c0392b;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 3px;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 2px 6px rgba(192,57,43,.35);
  position: relative;
  z-index: 2;
}

/* Desktop featured card — horizontal layout (image left, text right) */
.news-card-featured {
  grid-column: auto;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 140px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  text-decoration: none;
}
.news-card-featured .news-card-img {
  width: 200px;
  min-width: 200px;
  max-width: 200px;
  height: auto;
  min-height: 140px;
  flex-shrink: 0;
  border-radius: 0;
}
.news-card-featured .news-card-body {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.news-card-featured .nc-cat {
  font-size: 9px;
  margin-bottom: 5px;
}
.news-card-featured .nc-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #0b1220;
  margin-bottom: 8px;
}
.news-card-featured .nc-meta {
  font-size: 11px;
}

/* Desktop: hide TOP STORY badge */
.home-top-story-wrap { display: none; }

/* ── TABLET (641px – 1024px): Hide TOP STORY, horizontal card ── */
@media (min-width: 641px) and (max-width: 1024px) {
  .home-top-story-wrap { display: none !important; }
  .news-card-featured {
    min-height: 130px;
    border-radius: 10px;
  }
  .news-card-featured .news-card-img {
    width: 180px;
    min-width: 180px;
    max-width: 180px;
    min-height: 130px;
  }
  .news-card-featured .news-card-body {
    padding: 12px 14px;
  }
  .news-card-featured .nc-title {
    font-size: 14px;
  }
}

/* ── MOBILE (≤ 640px): Horizontal layout, TOP STORY badge visible ── */
@media (max-width: 640px) {
  .home-top-story-wrap {
    grid-column: 1 / -1;
    margin-bottom: 4px;
    display: flex;
  }
  .news-card-featured {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 110px;
    overflow: hidden;
    border-radius: 8px;
  }
  .news-card-featured .news-card-img {
    width: 130px;
    min-width: 130px;
    max-width: 130px;
    height: auto;
    min-height: 110px;
    flex-shrink: 0;
    border-radius: 0;
  }
  .news-card-featured .news-card-body {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .news-card-featured .nc-cat {
    font-size: 8.5px;
    margin-bottom: 5px;
  }
  .news-card-featured .nc-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #0b1220;
    margin-bottom: 6px;
  }
  .news-card-featured .nc-meta {
    font-size: 10px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER — FULLY RESPONSIVE (Mobile / Tablet / Desktop)
   ═══════════════════════════════════════════════════════════════ */

/* ── BASE (Desktop ≥ 1025px) ─────────────────────────── */
.footer {
  background: linear-gradient(180deg, #0b1b35 0%, #0e1f3d 100%);
  color: #7a8eaa;
  margin-top: 32px;
  border-top: 3px solid #c0392b;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 28px 0;
  box-sizing: border-box;
}
.footer-links-row {
  display: grid;
  gap: 28px 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-3col { grid-template-columns: repeat(3, 1fr); }
.footer-row-mid  { padding-top: 28px; }
.footer-row-last { padding-top: 28px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.08); }

.footer-col h5 {
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: #9ab0cc;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-family: var(--font-ui);
}
.footer-col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li a {
  font-size: 13px;
  color: #7a90b0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color .2s, padding-left .15s;
  font-family: var(--font-ui);
  line-height: 1.4;
}
.footer-col ul li a:hover { color: #ffffff; padding-left: 4px; }

/* Bottom Bar */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 0;
  font-size: 11.5px;
  color: #3a4e6a;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-bottom a { color: #4a6080; text-decoration: none; transition: color .2s; }
.footer-bottom a:hover { color: #8a9ebc; }
.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* ── TABLET LANDSCAPE / SMALL LAPTOP (≤ 1024px) ─────── */
@media (max-width: 1024px) {
  .footer-inner          { padding: 32px 22px 0; }
  .footer-3col           { grid-template-columns: repeat(3, 1fr); gap: 20px 24px; }
  .footer-col h5         { font-size: 9px; letter-spacing: 2px; }
  .footer-col ul li a    { font-size: 12.5px; }
}

/* ── TABLET PORTRAIT / iPad (≤ 768px) ───────────────── */
@media (max-width: 768px) {
  .footer-inner          { padding: 28px 18px 0; }
  .footer-3col           { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-row-mid        { padding-top: 20px; }
  .footer-row-last       { padding-top: 20px; padding-bottom: 24px; }
  .footer-col h5         { font-size: 9px; margin-bottom: 12px; padding-bottom: 8px; }
  .footer-col ul         { gap: 9px; }
  .footer-col ul li a    { font-size: 12.5px; }
  .footer-wa-grid        { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .footer-bottom         { padding: 14px 0; font-size: 11px; }
  .footer-bottom-links   { justify-content: flex-start; }
}

/* ── MOBILE (≤ 640px) ────────────────────────────────── */
@media (max-width: 640px) {
  .footer-inner          { padding: 24px 16px 0; }
  .footer-3col           { grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer-links-row      { gap: 16px; padding-bottom: 20px; }
  .footer-row-mid        { padding-top: 16px; }
  .footer-row-last       { padding-top: 16px; padding-bottom: 20px; }
  .footer-col h5         { font-size: 8.5px; margin-bottom: 10px; padding-bottom: 7px; letter-spacing: 1.8px; }
  .footer-col ul         { gap: 8px; }
  .footer-col ul li a    { font-size: 12px; }
  .footer-col ul li a:hover { padding-left: 0; }
  .footer-wa-grid        { grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer-wa-section     { padding-top: 18px; }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 14px 0;
    font-size: 11px;
  }
  .footer-bottom-links   { justify-content: center; gap: 6px; }
}

/* ── SMALL MOBILE (≤ 400px) ─────────────────────────── */
@media (max-width: 400px) {
  .footer-inner          { padding: 20px 14px 0; }
  .footer-3col           { grid-template-columns: 1fr; gap: 14px; }
  .footer-links-row      { gap: 14px; padding-bottom: 16px; }
  .footer-row-mid        { padding-top: 14px; }
  .footer-row-last       { padding-top: 14px; padding-bottom: 16px; }
  .footer-col h5         { font-size: 8px; letter-spacing: 1.5px; margin-bottom: 8px; }
  .footer-col ul         { gap: 7px; }
  .footer-col ul li a    { font-size: 11.5px; }
  .footer-wa-grid        { grid-template-columns: 1fr; }
  .footer-bottom         { padding: 12px 0; font-size: 10.5px; }
  .footer-bottom-links   { gap: 5px; }
}
