/* ═══════════════════════════════════════════════════
   TAMIL NEWS PORTAL — FRONTEND CSS
   Light theme · Noto Sans Tamil · Oswald · Anton
   Matches: index.html + article.html design
═══════════════════════════════════════════════════ */
:root {
  --red: #C0001A; --red-dark: #8B0012; --red-light: #FF1A35;
  --charcoal: #1A1A1A; --charcoal-2: #2D2D2D;
  --gold: #E8A000; --gold-light: #FFB800;
  --bg: #F5F5F0; --white: #FFFFFF;
  --gray-1: #F0EFE9; --gray-2: #D8D6CE;
  --gray-3: #9A9890; --gray-4: #6B6A64;
  --text: #1A1A1A; --text-muted: #5A5A5A;
  --star-on: #E8A000; --star-off: #D8D6CE;
  --purple: #7F77DD;
  --site-bg-1: #F4FAF6;
  --site-bg-2: #EAF5EE;
  --site-bg-3: #F0F5F1;
  --glow-red: rgba(192,0,26,.18);
  --glow-red-hover: rgba(192,0,26,.32);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  overflow-x: hidden;
  background-color: var(--site-bg-1);
  position: relative;
}
/* Animated gradient on a pseudo-element — sits on its own compositor
   layer, never touches font rendering, layout, or text metrics */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(180,235,200,.55) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(140,220,170,.35) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 10%, rgba(200,245,215,.4)  0%, transparent 55%);
  animation: bgPulse 14s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes bgPulse {
  0%   { opacity: 1; }
  100% { opacity: .7; }
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.2} }
@keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
@keyframes fadeUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }

/* ─── TICKER ─── */
.ticker-bar { background:var(--charcoal);color:white;height:34px;display:flex;align-items:center;overflow:hidden; }
.ticker-label {
  background:var(--red);color:white;
  font-family:'Oswald',sans-serif;font-size:12px;font-weight:600;letter-spacing:1.5px;text-transform:uppercase;
  padding:0 14px;height:100%;display:flex;align-items:center;white-space:nowrap;flex-shrink:0;gap:6px;
  position:relative;
}
.ticker-label::after {
  content:'';width:0;height:0;
  border-top:17px solid transparent;border-bottom:17px solid transparent;border-left:10px solid var(--red);
  position:absolute;left:100%;top:0;
}
.ticker-dot { width:7px;height:7px;border-radius:50%;background:var(--gold);animation:blink 1s infinite; }
.ticker-track { overflow:hidden;flex:1;padding-left:24px;padding-right:14px; }
.ticker-inner {
  display:flex;gap:60px;white-space:nowrap;
  animation:ticker 11s linear infinite;
  font-size:13px;font-family:'Noto Sans Tamil',sans-serif;
}
.ticker-item { cursor:pointer; }
.ticker-item::before { content:'◆';color:var(--gold);margin-right:10px;font-size:9px; }

/* ─── HEADER ─── */
.header {
  background: #fff;
  position: relative;
  z-index: 10;
}
.header-top {
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:12px 20px 10px;max-width:80%;margin:0 auto;
}
.logo-ta { font-family:'Noto Sans Tamil',sans-serif;font-size:28px;font-weight:700;color:var(--red);line-height:1;letter-spacing:-.5px; }
.logo-en { font-family:'Anton',sans-serif;font-size:13px;color:var(--gray-4);letter-spacing:3px;text-transform:uppercase;margin-top:1px; }
.header-meta { text-align:right;font-size:11.5px;color:var(--gray-4);line-height:1.6; }
.header-meta .date { font-weight:600;color:var(--charcoal); }
.search-bar { display:flex;align-items:center;background:var(--gray-1);border:1.5px solid var(--gray-2);border-radius:4px;overflow:hidden;width:220px; }
.search-bar input { border:none;background:transparent;padding:7px 10px;font-size:13px;font-family:'Source Sans 3',sans-serif;color:var(--text);width:100%;outline:none; }
.search-bar button { background:var(--red);border:none;color:white;padding:7px 12px;cursor:pointer;font-size:14px; }

/* Mobile search row — shown below header on mobile */
.mobile-search-row {
  display:none;
  padding:8px 14px;
  background:var(--white);
  border-bottom:1px solid var(--gray-2);
}
.mobile-search-row .search-bar { width:100%; }
.login-btn {
  display:flex;align-items:center;gap:7px;background:var(--white);border:1.5px solid var(--gray-2);
  border-radius:4px;padding:6px 14px;font-family:'Source Sans 3',sans-serif;font-size:13px;font-weight:600;
  color:var(--charcoal);cursor:pointer;white-space:nowrap;transition:border-color .15s,box-shadow .15s;flex-shrink:0;
}
.login-btn:hover { border-color:var(--gray-3);box-shadow:0 2px 8px rgba(0,0,0,.08); }
.user-avatar-wrap { position:relative;flex-shrink:0; }
.nav-user-wrap { position:relative;flex-shrink:0; }
.user-avatar {
  width:34px;height:34px;border-radius:50%;background:var(--red);color:white;
  font-family:'Oswald',sans-serif;font-size:14px;font-weight:600;
  display:flex;align-items:center;justify-content:center;cursor:pointer;
  border:2px solid var(--gray-2);transition:border-color .15s;
}
.user-avatar:hover { border-color:var(--red); }
.user-avatar-img { width:34px;height:34px;border-radius:50%;object-fit:cover;cursor:pointer;border:2px solid var(--gray-2); }
.user-dropdown {
  display:none;position:absolute;top:calc(100% + 8px);right:0;
  background:var(--white);border:1px solid var(--gray-2);border-radius:6px;
  box-shadow:0 8px 24px rgba(0,0,0,.12);min-width:180px;z-index:300;overflow:hidden;
}
.user-dropdown.open { display:block; }
.user-dropdown-header { padding:12px 14px;border-bottom:1px solid var(--gray-1);background:var(--gray-1); }
.user-dropdown-name { font-size:13px;font-weight:600; }
.user-dropdown-email { font-size:11px;color:var(--gray-4);margin-top:2px; }
.user-dropdown-item { display:flex;align-items:center;gap:9px;padding:10px 14px;font-size:13px;cursor:pointer;transition:background .12s;border-bottom:1px solid var(--gray-1); }
.user-dropdown-item:last-child { border-bottom:none; }
.user-dropdown-item:hover { background:var(--gray-1); }
.user-dropdown-item.logout { color:var(--red); }

/* ─── NAV ─── */
.nav {
  background: var(--charcoal,#1A1A1A);
  position: sticky;
  top: 0;
  z-index: 400;
  overflow: visible;   /* must be visible for More dropdown to show */
}
.nav-inner {
  display: flex;
  align-items: stretch;
  padding: 0 12px;
  overflow: visible;
}
.nav-inner::-webkit-scrollbar { display: none; }
.nav-link {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  padding: 10px 14px;
  white-space: nowrap;     /* never wraps — scrolls instead */
  flex-shrink: 0;          /* never shrinks — scrolls instead */
  transition: all .15s;
  border-bottom: 3px solid transparent;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.nav-link:hover  { color: #fff; border-bottom-color: var(--gold,#D4AF37); }
.nav-link.active { color: #fff; border-bottom-color: var(--red,#C0001A); background: rgba(192,0,26,.2); }
.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 0 8px;
}

/* ─── MAIN ─── */
.main { padding: 12px 0 0; }

/* ─── SECTION HEAD ─── */
.section-head { display:flex;align-items:center;gap:12px;margin-bottom:14px; }
.section-head-bar { width:4px;height:24px;background:var(--red);border-radius:2px; }
.section-head-title { font-family:'Oswald',sans-serif;font-size:18px;font-weight:600;color:var(--charcoal);letter-spacing:.5px;text-transform:uppercase; }
.section-head-ta { font-family:'Noto Sans Tamil',sans-serif;font-size:14px;color:var(--gray-4); }
.section-head-line { flex:1;height:1px;background:var(--gray-2); }
.section-head-more { font-size:12px;color:var(--red);font-weight:600;display:flex;align-items:center;gap:3px;white-space:nowrap; }

/* ─── HERO GRID ─── */

.breaking-badge { display:inline-flex;align-items:center;gap:5px;background:var(--red);color:white;font-family:'Oswald',sans-serif;font-size:11px;font-weight:600;letter-spacing:1.5px;padding:3px 10px;border-radius:2px;margin-bottom:8px;text-transform:uppercase; }
.badge-gold { background:var(--gold);color:var(--charcoal); }

/* ─── CATEGORY TAGS ─── */
.cat-tag { font-size:10px;font-weight:600;font-family:'Oswald',sans-serif;letter-spacing:.5px;text-transform:uppercase;padding:2px 7px;border-radius:2px; }
.cat-red    { background:#FDECEA;color:var(--red); }
.cat-gold   { background:#FEF4E0;color:#A06800; }
.cat-blue   { background:#E8F0FE;color:#1A56A8; }
.cat-green  { background:#E6F4EA;color:#1B6B2E; }
.cat-purple { background:#EDE7F6;color:#5E35B1; }
.cat-teal   { background:#E0F2F1;color:#00695C; }
.card-meta  { font-size:11px;color:var(--gray-4);display:flex;gap:10px;align-items:center;margin-top:auto; }

/* ─── TOP STORIES ─── */

.story-card {
  background: #fff;
  border: 1px solid var(--gray-2,#E8E6E0);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow .22s ease, transform .22s ease;
}
.story-card:hover {
  box-shadow:
    0 0 0 1.5px var(--red,#C0001A),
    0 4px 20px var(--glow-red,rgba(192,0,26,.18)),
    0 2px 8px rgba(0,0,0,.08);
  transform: translateY(-2px);
}
.story-card img { width:110px;height:82px;object-fit:cover;flex-shrink:0; }
.story-card-title { font-family:'Noto Sans Tamil',sans-serif; font-size:13px; font-weight:700; color:#1E293B; line-height:1.4; }

/* ─── TWO COL ─── */

/* ─── CATEGORY BLOCK ─── */
.cat-block { margin-bottom:28px; }
.horiz-list { display:flex;flex-direction:column;gap:0; }

.horiz-item:last-child { border-bottom:none; }
.horiz-item:hover { background:var(--gray-1);margin:0 -8px;padding:10px 8px;border-radius:4px; }

.horiz-meta { font-size:11px;color:var(--gray-4); }

/* ─── SIDEBAR ─── */
.sidebar {}
.sidebar-sticky { position:sticky;top:80px; }
.sidebar-widget { background:var(--white);border:1px solid var(--gray-2);border-radius:6px;overflow:hidden;margin-bottom:16px; }
.sidebar-widget-head { background:var(--charcoal);padding:10px 14px;font-family:'Oswald',sans-serif;font-size:14px;font-weight:600;color:white;text-transform:uppercase;letter-spacing:.5px;display:flex;align-items:center;gap:6px; }
.sidebar-trending-item { display:flex;align-items:flex-start;gap:10px;padding:10px 14px;border-bottom:1px solid var(--gray-1);cursor:pointer;transition:background .1s; }
.sidebar-trending-item:last-child { border-bottom:none; }
.sidebar-trending-item:hover { background:var(--gray-1); }
.sidebar-trending-num { font-family:'Anton',sans-serif;font-size:20px;color:var(--red);line-height:1;flex-shrink:0;width:22px; }
.sidebar-trending-title { font-family:'Noto Sans Tamil',sans-serif;font-size:12.5px;font-weight:600;color:var(--text);line-height:1.5; }
.sidebar-trending-time { font-size:11px;color:var(--gray-4);margin-top:2px; }
.ad-sidebar { background:var(--gray-1);border-radius:6px;height:250px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--gray-3);font-size:12px;margin-bottom:16px; }

/* ─── VIDEO GRID ─── */
.video-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:28px; }
.video-card { cursor:pointer;display:block; }
.video-thumb { position:relative;border-radius:6px;overflow:hidden;background:var(--charcoal);margin-bottom:8px; }
.video-thumb img { width:100%;height:130px;object-fit:cover;opacity:.85;transition:opacity .2s; }
.video-card:hover .video-thumb img { opacity:.7; }
.video-play { position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:rgba(192,0,26,.85);color:white;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:16px;transition:transform .2s; }
.video-card:hover .video-play { transform:translate(-50%,-50%) scale(1.1); }
.video-title { font-family:'Noto Sans Tamil',sans-serif;font-size:13px;font-weight:600;color:var(--text);line-height:1.5;margin-bottom:4px; }
.video-meta { font-size:11px;color:var(--gray-4); }

/* ─── AD SLOTS ─── */
.ad-slot { text-align:center;margin-bottom:16px; }
.ad-placeholder { background:var(--gray-1);border-radius:4px;color:var(--gray-3);font-size:12px;display:flex;align-items:center;justify-content:center;height:100%; }
.ad-header .ad-placeholder { height:80px; }
.ad-inarticle { margin:24px 0;height:90px; }

/* ─── FOOTER ─── */
.footer { background:var(--charcoal);color:white;margin-top:32px; }
.footer-inner { margin:0 auto;padding:40px 20px 24px; }

.social-btn { width:30px;height:30px;border-radius:4px;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;font-size:13px;cursor:pointer;transition:background .15s;color:rgba(255,255,255,.7); }
.social-btn:hover { background:var(--red);color:white; }

/* ─── MOBILE BOTTOM NAV ─── */
.mobile-bottom-nav { display:none;position:fixed;bottom:0;left:0;right:0;z-index:200;background:var(--white);border-top:2px solid var(--red);box-shadow:0 -4px 20px rgba(0,0,0,.12);height:62px;padding-bottom:env(safe-area-inset-bottom); }
.mobile-bottom-nav-inner { display:grid;grid-template-columns:repeat(4,1fr);height:62px;align-items:stretch;width:100%; }
.mob-nav-item { display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;cursor:pointer;color:var(--gray-4);transition:color .15s;position:relative;padding:0 2px;-webkit-tap-highlight-color:transparent;text-decoration:none;min-width:0; }
.mob-nav-item.active { color:var(--red); }
.mob-nav-item.active::before { content:'';position:absolute;top:0;left:20%;right:20%;height:2px;background:var(--red);border-radius:0 0 3px 3px; }
.mob-nav-icon { font-size:20px;line-height:1; }
.mob-nav-label { font-family:'Noto Sans Tamil',sans-serif;font-size:9px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:60px;text-align:center; }
.mob-nav-item.breaking-btn { color:var(--red); }
.mob-nav-item.breaking-btn .mob-nav-icon { animation:blink 1s infinite; }
.mob-nav-badge { position:absolute;top:6px;right:calc(50% - 16px);background:var(--red);color:white;font-size:9px;font-weight:700;min-width:16px;height:16px;border-radius:8px;display:flex;align-items:center;justify-content:center;padding:0 3px; }

/* ─── MODAL ─── */
.modal-overlay { display:none;position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:500;align-items:flex-end;justify-content:center;backdrop-filter:blur(2px); }
.modal-overlay.open { display:flex; }
.modal-box { background:var(--white);border-radius:16px 16px 0 0;width:100%;max-width:480px;overflow:hidden;animation:fadeUp .3s ease; }
.modal-header { background:var(--charcoal);padding:20px;text-align:center;position:relative; }
.modal-close { position:absolute;top:14px;right:16px;background:rgba(255,255,255,.1);border:none;color:white;width:28px;height:28px;border-radius:50%;cursor:pointer;font-size:14px;display:flex;align-items:center;justify-content:center; }
.modal-logo-ta { font-family:'Noto Sans Tamil',sans-serif;font-size:20px;font-weight:700;color:var(--gold);margin-bottom:2px; }
.modal-logo-en { font-family:'Oswald',sans-serif;font-size:10px;letter-spacing:2px;color:rgba(255,255,255,.5);text-transform:uppercase; }
.modal-body { padding:24px; }
.modal-title { font-family:'Noto Sans Tamil',sans-serif;font-size:18px;font-weight:700;color:var(--charcoal);margin-bottom:4px; }
.modal-subtitle { font-family:'Noto Sans Tamil',sans-serif;font-size:13px;color:var(--text-muted);margin-bottom:16px; }
.modal-benefit { display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--gray-1);font-family:'Noto Sans Tamil',sans-serif;font-size:13.5px;color:var(--text); }
.modal-benefit-icon { width:24px;height:24px;background:var(--gray-1);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;flex-shrink:0; }
.modal-divider { text-align:center;font-size:12px;color:var(--gray-3);margin:16px 0;position:relative; }
.modal-divider::before,.modal-divider::after { content:'';position:absolute;top:50%;width:40%;height:1px;background:var(--gray-2); }
.modal-divider::before { left:0; }
.modal-divider::after { right:0; }
.google-btn { width:100%;display:flex;align-items:center;justify-content:center;gap:12px;padding:12px 20px;border:1.5px solid var(--gray-2);border-radius:6px;background:var(--white);font-family:'Source Sans 3',sans-serif;font-size:14px;font-weight:600;color:var(--charcoal);cursor:pointer;transition:border-color .15s,box-shadow .15s;text-decoration:none;margin-bottom:12px; }
.google-btn:hover { border-color:var(--gray-3);box-shadow:0 2px 8px rgba(0,0,0,.1); }
.modal-note { font-size:11px;color:var(--gray-4);text-align:center;line-height:1.6; }
.modal-note a { color:var(--red); }

/* ─── ARTICLE PAGE ─── */
.breadcrumb { margin:0 auto;padding:12px 20px 0;display:flex;align-items:center;gap:6px;font-size:12px;color:var(--gray-4);flex-wrap:wrap; }
.breadcrumb a { color:var(--red); }
.breadcrumb span { color:var(--gray-3); }
.breadcrumb-right { margin-left:auto; display:flex; align-items:center; gap:10px; flex-shrink:0; }
.bread-district { font-size:11px; color:var(--gray-4); font-weight:600; }
.art-mob-extra { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:6px; padding-bottom:8px; }

.art-back-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: var(--red,#C0001A);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 15px;
  margin-right: 2px;
  box-shadow: 0 2px 6px rgba(192,0,26,.35);
  transition: background .15s, transform .15s, box-shadow .15s;
}
.art-back-btn:hover {
  background: #A00016;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(192,0,26,.45);
}
.art-back-btn i { display: inline-block; animation: artBackNudge 1.8s ease-in-out infinite; }
.art-back-btn:hover i { animation-play-state: paused; }

@keyframes artBackNudge {
  0%, 55%, 100% { transform: translateX(0); }
  15% { transform: translateX(-4px); }
  30% { transform: translateX(0); }
  45% { transform: translateX(-4px); }
}

.art-district-select {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 28px 6px 14px;
  border: 1.5px solid #F3D6D6;
  border-radius: 20px;
  background: linear-gradient(#fff,#FFF7F7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23C0001A' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: var(--red,#C0001A);
  cursor: pointer;
  max-width: 170px;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: 0 1px 3px rgba(192,0,26,.08);
  transition: border-color .15s, box-shadow .15s;
}
.art-district-select:hover  { border-color: #E8B4B4; box-shadow: 0 2px 6px rgba(192,0,26,.14); }
.art-district-select:focus  { outline: none; border-color: var(--red,#C0001A); box-shadow: 0 0 0 3px rgba(192,0,26,.12); }

@media (max-width: 767px) {
  .breadcrumb-right { margin-left:0; width:100%; order:1; margin-top:4px; }
  .art-district-select { max-width: none; width: 100%; }
}

.article-wrap { margin:0 auto;padding:16px 20px 30px;display:grid;grid-template-columns:1fr 300px;gap:28px; }
.article-main { min-width:0; }
.art-category { display:inline-flex;align-items:center;gap:6px;font-family:'Oswald',sans-serif;font-size:12px;font-weight:600;letter-spacing:1px;text-transform:uppercase;color:var(--red);margin-bottom:10px; }
.art-category::before { content:'';width:14px;height:2px;background:var(--red);display:inline-block; }
.art-title { font-family:'Noto Sans Tamil',sans-serif;font-size:28px;font-weight:700;color:var(--charcoal);line-height:1.45;margin-bottom:14px; }
.art-meta-row { display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:12px 0;border-top:1px solid var(--gray-2);border-bottom:1px solid var(--gray-2);margin-bottom:18px;font-size:12.5px;color:var(--gray-4); }
.art-author { display:flex;align-items:center;gap:7px; }
.art-author-avatar { width:30px;height:30px;border-radius:50%;background:var(--charcoal);color:white;font-family:'Oswald',sans-serif;font-size:12px;font-weight:600;display:flex;align-items:center;justify-content:center;overflow:hidden; }
.art-author-name { font-weight:600;color:var(--charcoal); }
.art-meta-sep { color:var(--gray-2); }
.contributor-badge-sm { font-size:10px;background:#E6F4EA;color:#1B6B2E;padding:2px 7px;border-radius:3px;font-weight:600; }

.share-row { display:flex;align-items:center;gap:8px;margin-bottom:20px;flex-wrap:wrap; }
.share-label { font-size:12px;color:var(--gray-4);font-weight:600; }
.share-btn { display:flex;align-items:center;gap:6px;padding:7px 14px;border-radius:4px;border:none;font-size:12.5px;font-weight:600;cursor:pointer;transition:opacity .15s;white-space:nowrap; }
.share-wa   { background:#25D366;color:white; }
.share-fb   { background:#1877F2;color:white; }
.share-tw   { background:#1DA1F2;color:white; }
.share-copy { background:var(--gray-1);border:1px solid var(--gray-2);color:var(--charcoal); }
.share-btn:hover { opacity:.85; }

.art-hero-img { width:100%;border-radius:6px;max-height:440px;object-fit:cover;margin-bottom:6px; }
.art-img-caption { font-size:11.5px;color:var(--gray-4);text-align:center;margin-bottom:20px;font-style:italic; }

.video-embed-wrap { position:relative;padding-bottom:56.25%;height:0;border-radius:6px;overflow:hidden;margin-bottom:20px; }
.video-embed-wrap iframe { position:absolute;top:0;left:0;width:100%;height:100%; }

.art-body { font-family:'Noto Sans Tamil',sans-serif;font-size:16px;line-height:1.85;color:var(--text);margin-bottom:24px;text-align:justify;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:break-word; }
.art-body p { margin-bottom:18px; }
.art-body h2,.art-body h3 { font-family:'Noto Sans Tamil',sans-serif;font-weight:700;color:var(--charcoal);margin:24px 0 12px; }
.art-body blockquote { border-left:4px solid var(--red);padding:12px 20px;margin:20px 0;background:var(--gray-1);border-radius:0 6px 6px 0;font-style:italic;color:var(--text-muted); }
.art-body img { border-radius:6px;margin:16px 0; }

.art-tags { display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:24px;padding-top:16px;border-top:1px solid var(--gray-2); }
.art-tags-label { font-size:12px;color:var(--gray-4);font-weight:600; }
.art-tag { background:var(--gray-1);border:1px solid var(--gray-2);color:var(--charcoal);font-size:12px;padding:4px 12px;border-radius:4px;transition:background .15s; }
.art-tag:hover { background:var(--gray-2); }

.whatsapp-share-block { margin:24px 0; }
.whatsapp-share-btn { display:flex;align-items:center;gap:16px;background:#E9FBF0;border:1.5px solid #25D366;border-radius:10px;padding:16px 20px;cursor:pointer;transition:background .15s;text-decoration:none;color:var(--text); }
.whatsapp-share-btn:hover { background:#D4F7E2; }
.whatsapp-share-title { font-family:'Noto Sans Tamil',sans-serif;font-size:15px;font-weight:700;color:#1B6B2E;margin-bottom:2px; }
.whatsapp-share-sub { font-size:12px;color:var(--text-muted); }

.related-section { margin-bottom:32px; }
.related-title { font-family:'Oswald',sans-serif;font-size:16px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:var(--charcoal);padding-bottom:10px;margin-bottom:14px;border-bottom:2px solid var(--red);display:flex;align-items:center;gap:8px; }
.related-title::before { content:'';width:4px;height:20px;background:var(--red);border-radius:2px; }
.related-grid { display:flex;flex-direction:column;gap:0; }
.related-item { display:flex;gap:12px;padding:12px 0;border-bottom:1px solid var(--gray-1);cursor:pointer;transition:background .12s;text-decoration:none;color:var(--text); }
.related-item:last-child { border-bottom:none; }
.related-item:hover { background:var(--gray-1);margin:0 -8px;padding:12px 8px;border-radius:4px; }
.related-img { width:80px;height:60px;object-fit:cover;border-radius:4px;flex-shrink:0; }
.related-cat { font-size:10px;color:var(--red);font-family:'Oswald',sans-serif;font-weight:600;letter-spacing:.5px;text-transform:uppercase;margin-bottom:3px; }
.related-title-text { font-family:'Noto Sans Tamil',sans-serif;font-size:13px;font-weight:600;color:var(--text);line-height:1.5;margin-bottom:4px; }
.related-time { font-size:11px;color:var(--gray-4); }

/* ─── RATING SECTION ─── */
.rating-section { background:var(--white);border:1px solid var(--gray-2);border-radius:8px;overflow:hidden;margin-bottom:28px; }
.rating-section-head { padding:16px 20px;border-bottom:1px solid var(--gray-1);background:var(--gray-1); }
.rating-section-title { font-family:'Noto Sans Tamil',sans-serif;font-size:16px;font-weight:700;color:var(--charcoal);margin-bottom:2px; }
.rating-section-sub { font-size:12.5px;color:var(--gray-4);font-family:'Noto Sans Tamil',sans-serif; }
.rating-overall { display:flex;align-items:center;gap:20px;padding:16px 20px;border-bottom:1px solid var(--gray-1);flex-wrap:wrap; }
.rating-big-num { font-family:'Anton',sans-serif;font-size:48px;color:var(--charcoal);line-height:1; }
.rating-bars { flex:1;min-width:160px; }
.rating-bar-row { display:flex;align-items:center;gap:8px;margin-bottom:4px; }
.rating-bar-label { font-size:11px;color:var(--gray-4);width:22px;flex-shrink:0; }
.rating-bar-track { flex:1;height:6px;background:var(--gray-2);border-radius:3px;overflow:hidden; }
.rating-bar-fill { height:100%;background:var(--gold);border-radius:3px;transition:width .5s ease; }
.rating-bar-count { font-size:11px;color:var(--gray-4);width:18px;text-align:right;flex-shrink:0; }

.star-picker-row { display:flex;align-items:center;gap:6px;margin-bottom:12px;flex-wrap:wrap; }
.star-pick { font-size:28px;color:var(--star-off);cursor:pointer;transition:color .1s;user-select:none; }
.star-pick.active { color:var(--star-on); }
.star-label { font-family:'Noto Sans Tamil',sans-serif;font-size:13px;color:var(--text-muted);margin-left:6px; }

.review-form { padding:16px 20px;border-bottom:1px solid var(--gray-1); }
.review-form-title { font-family:'Noto Sans Tamil',sans-serif;font-size:14px;font-weight:700;color:var(--charcoal);margin-bottom:12px; }
.review-textarea { width:100%;padding:10px 12px;border:1.5px solid var(--gray-2);border-radius:6px;font-family:'Noto Sans Tamil',sans-serif;font-size:14px;color:var(--text);resize:vertical;outline:none;transition:border-color .15s; }
.review-textarea:focus { border-color:var(--red); }
.review-form-footer { display:flex;justify-content:space-between;align-items:center;margin-top:8px; }
.char-count { font-size:11px;color:var(--gray-3); }
.review-submit-btn { background:var(--red);color:white;border:none;padding:8px 24px;border-radius:4px;font-family:'Noto Sans Tamil',sans-serif;font-size:13px;font-weight:600;cursor:pointer;transition:opacity .15s; }
.review-submit-btn:disabled { opacity:.5;cursor:default; }
.review-submit-btn:not(:disabled):hover { opacity:.9; }

.login-prompt-box { padding:24px 20px;text-align:center;border-bottom:1px solid var(--gray-1); }
.login-prompt-icon { font-size:36px;margin-bottom:8px; }
.login-prompt-title { font-family:'Noto Sans Tamil',sans-serif;font-size:15px;font-weight:700;color:var(--charcoal);margin-bottom:4px; }
.login-prompt-sub { font-family:'Noto Sans Tamil',sans-serif;font-size:13px;color:var(--gray-4);margin-bottom:16px; }
.login-prompt-btn { background:var(--red);color:white;border:none;padding:10px 24px;border-radius:4px;font-family:'Noto Sans Tamil',sans-serif;font-size:13px;font-weight:600;cursor:pointer; }

.reviews-list-head { display:flex;align-items:center;justify-content:space-between;padding:12px 20px;border-bottom:1px solid var(--gray-1);font-size:13px;color:var(--gray-4); }
.review-card { padding:14px 20px;border-bottom:1px solid var(--gray-1); }
.review-card-top { display:flex;align-items:flex-start;gap:10px;margin-bottom:8px; }
.reviewer-avatar { width:34px;height:34px;border-radius:50%;object-fit:cover;flex-shrink:0; }
.reviewer-name { font-size:13px;font-weight:600;color:var(--charcoal); }
.reviewer-meta { display:flex;align-items:center;gap:8px;margin-top:2px;font-size:11px;color:var(--gray-4); }
.reviewer-stars { display:flex;gap:1px; }
.reviewer-star { color:var(--star-off);font-size:13px; }
.reviewer-star.on { color:var(--star-on); }
.review-text { font-family:'Noto Sans Tamil',sans-serif;font-size:13.5px;line-height:1.7;color:var(--text-muted); }

/* ─── CATEGORY PAGE ─── */

.empty-state { text-align:center;padding:60px 20px;color:var(--gray-4); }

/* ─── PAGINATION ─── */
.pagination-wrap { display:flex;justify-content:center;gap:8px;padding:24px 0;flex-wrap:wrap; }
.page-btn { padding:8px 16px;border:1.5px solid var(--gray-2);border-radius:4px;font-size:13px;color:var(--charcoal);background:var(--white);cursor:pointer;transition:all .15s;text-decoration:none; }
.page-btn:hover { border-color:var(--red);color:var(--red); }
.page-btn.active { background:var(--red);border-color:var(--red);color:white; }

/* ─── SEARCH PAGE ─── */
.search-page-bar { display:flex;gap:10px;margin-bottom:24px;padding:0 20px;margin-left:auto;margin-right:auto; }
.search-page-input { flex:1;padding:12px 16px;border:2px solid var(--gray-2);border-radius:6px;font-size:16px;font-family:'Noto Sans Tamil',sans-serif;outline:none;transition:border-color .15s; }
.search-page-input:focus { border-color:var(--red); }
.search-page-btn { background:var(--red);color:white;border:none;padding:12px 24px;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer; }

/* ─── RESPONSIVE MOBILE (<768px) ─── */
@media (max-width:768px) {
  /* Body */
  body { padding-bottom:62px; }

  /* Bottom nav */
  .mobile-bottom-nav { display:flex !important; }

  /* Header */
  .header-meta      { display:none; }
  .login-btn        { display:none !important; }
  .user-avatar-wrap { display:none !important; }
  .search-bar       { display:none !important; }
  .mobile-search-row { display:block; }
  .header-top       { padding:10px 14px 8px; justify-content:center; gap:0; }
  .logo-block       { text-align:center; width:100%; }
  .logo-ta          { font-size:20px; }
  .logo-en          { font-size:9px; letter-spacing:1.5px; }

  /* Hero */
  
  
  
  
  
  
  

  /* Grids */
  
  .video-grid       { grid-template-columns:1fr 1fr; }
  

  /* Article */
  .article-wrap    { grid-template-columns:1fr; padding:10px 12px 24px; }
  
  .art-title       { font-size:20px; }
  .art-meta-row    { font-size:11px; gap:8px; }
  .breadcrumb      { font-size:11px; padding:8px 12px 0; }

  /* Share */
  .share-row { gap:6px; }
  .share-btn { padding:6px 10px; font-size:12px; }

  /* Category page */
  
  

  /* Search */
  .search-page-bar  { flex-direction:column; gap:8px; padding:0 12px; }
  .search-page-btn  { width:100%; }

  /* Pagination */
  .pagination-wrap { gap:5px; }
  .page-btn        { padding:6px 12px; font-size:12px; }

  /* Footer */
  .footer-top   { grid-template-columns:1fr; gap:16px; }
  .footer-inner { padding:24px 16px 16px; }
  .footer-bottom { flex-direction:column; gap:8px; }

  /* Main padding */
  .main { padding:12px; }

  /* WhatsApp block */
  .whatsapp-share-btn { flex-direction:column; text-align:center; }

  /* Related */
  .related-grid { gap:0; }

  /* Rating */
  .rating-overall { flex-direction:column; gap:12px; }
  .rating-big-num { font-size:40px; }
  .rating-bars    { width:100%; }

  /* Live blog */
  .live-scoreboard { padding:14px; gap:16px; }
  .live-score-num  { font-size:32px; }
  .live-title      { font-size:20px; }
}

/* ─── RESPONSIVE TABLET (769–1024px) ─── */
@media (min-width:769px) and (max-width:1024px) {
  
  
  
  .video-grid       { grid-template-columns:repeat(3,1fr); }
  .article-wrap     { grid-template-columns:1fr 260px; }
}

@media (min-width:769px) and (max-width:1024px) {
  
  
  
  .video-grid { grid-template-columns:repeat(3,1fr); }
}

/* ─── PREMIUM GATE ─── */
.premium-gate {
  background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  margin: 24px 0;
  color: white;
  position: relative;
  overflow: hidden;
}
.premium-gate::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #E8A000, #C0001A, #E8A000);
}
.premium-gate-icon { font-size: 48px; margin-bottom: 12px; }
.premium-gate-title { font-size: 22px; font-weight: 700; color: #E8A000; margin-bottom: 8px; font-family: 'Noto Sans Tamil', sans-serif; }
.premium-gate-sub   { font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 24px; font-family: 'Noto Sans Tamil', sans-serif; line-height: 1.6; }
.premium-gate-actions { margin-bottom: 16px; }
.premium-gate-btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 28px; border-radius: 6px;
  background: white; color: #1A1A1A;
  font-weight: 700; font-size: 14px; text-decoration: none;
  transition: opacity .15s;
}
.premium-gate-btn-primary:hover { opacity: .9; color: #1A1A1A; }
.premium-gate-note { font-size: 13px; color: rgba(255,255,255,.5); }
.premium-gate-note a { color: #E8A000; }

.premium-blur-wrap { position: relative; margin-bottom: 20px; }
.premium-blurred {
  max-height: 200px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
  pointer-events: none;
  user-select: none;
}

/* Premium badge on article cards */
.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #E8A000;
  color: #1A1A1A;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  letter-spacing: .3px;
}

/* ─── LIVE BLOG BANNER (homepage) ─── */
.live-blogs-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.live-blog-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #1A1A1A 0%, #2D1010 100%);
  border-radius: 8px;
  padding: 14px 20px;
  text-decoration: none;
  color: white;
  border-left: 4px solid #C0001A;
  transition: opacity .15s;
  position: relative;
  overflow: hidden;
  flex-wrap: wrap;
}

.live-blog-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(192,0,26,.05);
}

.live-blog-banner:hover { opacity: .92; color: white; }

.live-blog-banner-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #C0001A;
  flex-shrink: 0;
  animation: blink 1s infinite;
}

.live-blog-banner-label {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #C0001A;
  background: rgba(192,0,26,.15);
  padding: 2px 8px;
  border-radius: 3px;
  flex-shrink: 0;
}

.live-blog-banner-title {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 15px;
  font-weight: 700;
  flex: 1;
  min-width: 0;
}

.live-blog-banner-meta {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  flex-shrink: 0;
}

.live-blog-banner-score {
  font-size: 13px;
  color: #E8A000;
  font-weight: 700;
  flex-shrink: 0;
}

.live-blog-banner-follow {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  flex-shrink: 0;
  white-space: nowrap;
}

/* ─── FONT SIZE TOGGLE (article page) ─── */
.font-size-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.font-btn {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  border: 1.5px solid var(--gray-2);
  background: var(--white);
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
  font-size: 13px;
}
.font-btn:hover { border-color: var(--red); color: var(--red); }
.font-btn.active { background: var(--red); color: white; border-color: var(--red); }

.art-body-sm { font-size: 14px !important; }
.art-body-md { font-size: 16px !important; }
.art-body-lg { font-size: 18px !important; }
.art-body-xl { font-size: 20px !important; }

@media (max-width: 768px) {
  .live-blog-banner { padding: 12px 14px; gap: 8px; }
  .live-blog-banner-title { font-size: 13px; }
  .live-blog-banner-follow { display: none; }
}

/* ═══════════════════════════════════════════
   UNIVERSAL PAGINATION — tn-pag
   Works in admin (dark), portal (white), frontend
═══════════════════════════════════════════ */
.tn-pag-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  flex-wrap: wrap;
}
.tn-pag-info {
  font-size: 12px;
  color: #9A9890;
  white-space: nowrap;
}
.tn-pag-info span { margin: 0 3px; }

.tn-pag {
  display: flex;
  list-style: none;
  margin: 0; padding: 0;
  gap: 4px;
  flex-wrap: wrap;
}
.tn-pag-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all .15s;
  cursor: pointer;
  border: 1.5px solid transparent;
  line-height: 1;
  white-space: nowrap;
}
/* Active page */
.tn-pag-btn.tn-pag-active {
  background: #C0001A;
  color: #fff;
  border-color: #C0001A;
  font-weight: 700;
}
/* Disabled */
.tn-pag-btn.disabled { opacity: .35; cursor: default; pointer-events: none; }
/* Dots */
.tn-pag-btn.tn-pag-dots { border: none; font-size: 14px; min-width: 24px; }

/* Dark theme (admin) */
body:not(.portal-body):not(.ep-body) .tn-pag-btn:not(.tn-pag-active):not(.disabled):not(.tn-pag-dots) {
  color: #9ca3af;
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}
body:not(.portal-body):not(.ep-body) .tn-pag-btn:not(.tn-pag-active):not(.disabled):not(.tn-pag-dots):hover {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: rgba(255,255,255,.25);
}
body:not(.portal-body):not(.ep-body) .tn-pag-wrap { border-top: 1px solid rgba(255,255,255,.08); }
body:not(.portal-body):not(.ep-body) .tn-pag-info { color: #6b7280; }
body:not(.portal-body):not(.ep-body) .tn-pag-btn.tn-pag-dots { color: #6b7280; }

/* White theme (portal / editor_portal / frontend) */
.portal-body .tn-pag-btn:not(.tn-pag-active):not(.disabled):not(.tn-pag-dots),
.ep-body .tn-pag-btn:not(.tn-pag-active):not(.disabled):not(.tn-pag-dots),
.tn-pag-btn:not(.tn-pag-active):not(.disabled):not(.tn-pag-dots) {
  color: #6B6A64;
  border-color: #D8D6CE;
  background: #FFFFFF;
}
.portal-body .tn-pag-btn:not(.tn-pag-active):not(.disabled):not(.tn-pag-dots):hover,
.ep-body .tn-pag-btn:not(.tn-pag-active):not(.disabled):not(.tn-pag-dots):hover,
.tn-pag-btn:not(.tn-pag-active):not(.disabled):not(.tn-pag-dots):hover {
  background: #F0EFE9;
  border-color: #9A9890;
  color: #1A1A1A;
}
.portal-body .tn-pag-wrap,
.ep-body .tn-pag-wrap { border-top: 1px solid #F0EFE9; }

/* Mobile */
@media (max-width: 768px) {
  .tn-pag-wrap { padding: 10px 12px; }
  .tn-pag-btn  { min-width: 30px; height: 30px; font-size: 12px; padding: 0 7px; }
  .tn-pag-info { font-size: 11px; }
}

/* ─── NEWSPAPER ARCHIVE ─── */
.np-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.np-card {
  background: var(--white);
  border: 1px solid var(--gray-2);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.np-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.12); transform: translateY(-2px); }
.np-card-cover {
  display: block; position: relative; aspect-ratio: 3/4;
  background: #F0EFE9; overflow: hidden; text-decoration: none;
}
.np-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.np-card-placeholder {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; height: 100%;
  background: linear-gradient(135deg, #1A1A1A, #2D1010);
  color: white; text-align: center; gap: 4px;
}
.np-card-date-big  { font-size: 40px; font-weight: 900; line-height: 1; color: #C0001A; }
.np-card-month-big { font-size: 13px; font-weight: 600; opacity: .7; text-transform: uppercase; }
.np-card-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s; color: white; font-size: 16px; font-weight: 700;
}
.np-card-cover:hover .np-card-overlay { opacity: 1; }
.np-card-body         { padding: 12px; }
.np-card-edition-date { font-size: 12px; font-weight: 700; color: var(--red); margin-bottom: 2px; }
.np-card-title-ta     { font-size: 13px; font-family: 'Noto Sans Tamil', sans-serif; margin-bottom: 4px; }
.np-card-meta         { font-size: 11px; color: var(--gray-4); display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 10px; }
.np-card-actions      { display: flex; gap: 6px; }
.np-btn               { flex: 1; text-align: center; padding: 6px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; text-decoration: none; transition: opacity .15s; }
.np-btn-read          { background: var(--red); color: white; }
.np-btn-read:hover    { opacity: .88; color: white; }
.np-btn-download      { background: #F0EFE9; color: var(--text); border: 1px solid var(--gray-2); }
.np-btn-download:hover { background: var(--gray-2); }
@media (max-width: 768px) {
  .np-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .np-btn  { font-size: 11px; padding: 5px 4px; }
}

/* ═══════════════════════════════════════════════════
   தினத்துளிர் — LOGO + HEADER ANIMATION
═══════════════════════════════════════════════════ */

/* Logo link */
.vel-logo-link { text-decoration: none; display: inline-block; }

/* Logo mark — தினத்துளிர் */
.vel-logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.5px;
  transition: filter .3s;
}

/* First word: வேள் — red text */
.vel-word1 {
  color: #C0001A;
  padding: 0 4px 0 0;

}

/* Second word: சுடர் — white on red box */
.vel-word2 {
  color: #FFFFFF;
  background: #C0001A;
  padding: 2px 8px 4px;
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15);
  position: relative;
}

/* Tagline */
.vel-tagline {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: #9A9890;
  letter-spacing: 0.5px;
  margin-top: 3px;
  text-align: center;
  line-height: 1;
}

/* ── HEADER ANIMATED BACKGROUND ── */

/* Canvas sits behind header content */
#headerCanvas {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.07;
}

/* Ensure header content sits above canvas */

/* Header glow border at bottom */
.header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(192,0,26,.6) 20%,
    #C0001A 50%,
    rgba(192,0,26,.6) 80%,
    transparent 100%);
  animation: glowSweep 3s ease-in-out infinite;
}
@keyframes glowSweep {
  0%, 100% { opacity: .5; }
  50%       { opacity: 1; }
}

/* Mobile logo */
@media (max-width: 768px) {
  .vel-logo    { font-size: 22px; }
  .vel-word2   { padding: 2px 6px 3px; }
  .vel-tagline { font-size: 9px; }
}

/* ── LOGO BRAND WRAP ── */
.vel-brand-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Actual logo image */
.vel-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

/* Monogram placeholder (VS mixed) — shown until real image is ready */
.vel-monogram {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #C0001A;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.vel-monogram::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.12) 0%, transparent 60%);
}
.vel-mono-v {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: white;
  line-height: 1;
  position: relative;
  z-index: 1;
  letter-spacing: -1px;
}
.vel-mono-s {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.75);
  line-height: 1;
  position: relative;
  z-index: 1;
  align-self: flex-end;
  margin-bottom: 2px;
}

@media (max-width: 768px) {
  .vel-img       { height: 40px; }
  .vel-monogram  { width: 40px; height: 40px; border-radius: 8px; }
  .vel-mono-v    { font-size: 17px; }
  .vel-mono-s    { font-size: 11px; }
  .vel-brand-wrap { gap: 8px; }
}

/* ─── SUBCATEGORY PILLS (mobile top) ─── */
.subcat-pills {
  display: none; /* hidden on desktop — side menu shows instead */
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.subcat-pill {
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Noto Sans Tamil', sans-serif;
  text-decoration: none;
  border: 1.5px solid var(--gray-2);
  color: var(--gray-4);
  background: var(--white);
  transition: all .15s;
  white-space: nowrap;
}
.subcat-pill:hover  { border-color: var(--red); color: var(--red); }
.subcat-pill.active { background: var(--red); color: white; border-color: var(--red); }

/* ─── CATEGORY WITH SIDE MENU (desktop) ─── */

/* Side menu */

/* ─── MOBILE: hide side menu, show pills ─── */
@media (max-width: 768px) {
  .subcat-pills  { display: flex; }
}

/* Hide ad slot placeholders on mobile (replaced by dedicated mobile ad containers) */
@media (max-width: 768px) {
  .ad-slot-wrap  { display: none !important; }
  .ad-header     { display: none !important; }
  .ad-sidebar    { display: none !important; }
}

/* Page-level ad slots hidden on mobile */
@media (max-width: 768px) {
  .ad-slot, .ad-header, .ad-sidebar { display: none !important; }
}

/* ═══════════════════════════════════════════════════
   NEW 6-COL + 4-COL LAYOUT SYSTEM
═══════════════════════════════════════════════════ */

/* ── Section header ── */
.sec-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 10px;
  border-bottom: 1px solid var(--gray-2,#E8E6E0);
  padding-bottom: 6px;
}
.sec-head-bar  { width:4px; height:18px; background:#C0001A; border-radius:2px; flex-shrink:0; }
.sec-head-title{ font-family:'Oswald',sans-serif; font-size:15px; font-weight:700; color:var(--charcoal,#1A1A1A); letter-spacing:.5px; text-transform:uppercase; }
.sec-head-ta   { font-family:'Noto Sans Tamil',sans-serif; font-size:13px; color:var(--gray-4,#6B6A64); }
.sec-head-more { margin-left:auto; font-size:11px; color:#C0001A; text-decoration:none; font-weight:600; white-space:nowrap; }

/* ── Row card (left-img right-text) ── */

.rc {
  background: #fff;
  border: 1px solid var(--gray-2,#E8E6E0);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow .22s ease, transform .22s ease;
}
.rc:hover {
  box-shadow:
    0 0 0 1.5px var(--red,#C0001A),
    0 4px 20px var(--glow-red,rgba(192,0,26,.18)),
    0 2px 8px rgba(0,0,0,.08);
  transform: translateY(-2px);
}
.rc img   { width: 100px; height: 75px; object-fit: cover; flex-shrink: 0; }

/* ── Center feature card ── */

/* ── Vertical ad column ── */

/* ── 4-col news grid (g4) ── */
.g4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

/* ── News card (img top + text below) ── */
.nc {
  display: flex;
  flex-direction: column;
  background: var(--white,#fff);
  border: 1px solid var(--gray-2,#E8E6E0);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow .15s;
}
.nc:hover {
  box-shadow:
    0 0 0 1.5px var(--red,#C0001A),
    0 4px 20px var(--glow-red, rgba(192,0,26,.18)),
    0 2px 8px rgba(0,0,0,.08);
  transform: translateY(-2px);
  transition: box-shadow .22s ease, transform .22s ease;
}
.nc { transition: box-shadow .22s ease, transform .22s ease; }
.nc img   { width: 100%; height: 110px; object-fit: cover; }
.nc-body  { padding: 6px 8px 8px; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.nc-excerpt { font-size: 11px; color: #64748B; line-height: 1.55; display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.nc-title { font-family:'Noto Sans Tamil',sans-serif; font-size: 12px; font-weight: 700; color: #1E293B; line-height: 1.4; display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden; }
.nc-video-thumb { position: relative; }
.nc-video-thumb img { width:100%; height:110px; object-fit:cover; display:block; }
.nc-play { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:28px; height:28px; background:rgba(0,0,0,.6); border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; font-size:10px; }

/* ── Category tag ── */
.ctag { display:inline-block; font-family:'Noto Sans Tamil',sans-serif; font-size:9px; font-weight:700; padding:1px 5px; border-radius:2px; text-transform:uppercase; letter-spacing:.3px; white-space:nowrap; color:#fff; }
.cat-red    { background:#B91C1C; }
.cat-blue   { background:#1D4ED8; }
.cat-teal   { background:#0F766E; }
.cat-purple { background:#6D28D9; }
.cat-green  { background:#15803D; }
.cat-gold   { background:#A16207; }

/* ── Tablet 768px–1023px ── */
@media (min-width: 768px) and (max-width: 1023px) {
  
  
  .g4        { grid-template-columns: repeat(3, 1fr); }
}

/* ── Mobile < 768px ── */
@media (max-width: 767px) {
  
  
  
  .g4        { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .nc img    { height: 90px; }
  .nc.nc-ad .ad-rotator { height: 90px; }
  .rc img    { width: 80px; height: 65px; }
}

/* ════════════════════════════════════════════════════
   PAGE LAYOUT: main (4-col) + sidebar (2-col)
════════════════════════════════════════════════════ */






/* ── Hero card: full-width in main column ── */

.hero-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  opacity: .85;
  display: block;
  transition: opacity .3s;
}
.hero-card:hover img { opacity: .75; }

/* ── Sidebar widgets ── */
.sb-widget { background:#fff; border:1px solid var(--gray-2,#E8E6E0); border-radius:6px; overflow:hidden; }
.sb-widget-head { font-family:'Oswald',sans-serif; font-size:13px; font-weight:700; color:var(--charcoal,#1A1A1A); padding:8px 12px; border-bottom:1px solid var(--gray-2,#E8E6E0); }
.sb-ad-label { font-size:9px; color:#9A9890; text-align:center; padding:3px; }

.sb-item { display:flex; gap:8px; align-items:flex-start; padding:7px 10px; border-bottom:1px solid var(--gray-1,#F5F5F0); text-decoration:none; transition:background .1s; }
.sb-item:last-child { border-bottom:none; }
.sb-item:hover {
  background: var(--gray-1,#F5F5F0);
  box-shadow: inset 3px 0 0 var(--red,#C0001A);
}
.sb-num { width:20px; height:20px; background:#C0001A; color:#fff; border-radius:50%; font-size:10px; font-weight:700; display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:1px; }
.sb-title { font-family:'Noto Sans Tamil',sans-serif; font-size:12px; font-weight:700; color:#15803D; line-height:1.4; display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.sb-meta  { font-size:10px; color:var(--gray-4,#9A9890); margin-top:2px; }

.sb-rc { display:flex; gap:8px; padding:7px 10px; border-bottom:1px solid var(--gray-1,#F5F5F0); text-decoration:none; align-items:flex-start; }
.sb-rc:last-child { border-bottom:none; }
.sb-rc img { width:64px; height:48px; object-fit:cover; border-radius:3px; flex-shrink:0; }
.sb-rc-body { flex:1; min-width:0; }

/* Mobile sidebar ad (shown between hero and news on mobile) */
.mob-sidebar-ad { display:none; }

/* ── Responsive ── */
@media (max-width: 1023px) {
  
           /* hide sidebar on mobile */
  .mob-sidebar-ad { display: block; margin: 8px 0; } /* show ad only */
  .hero-card img { height: 200px; }
  
  .g4 { grid-template-columns: repeat(2,1fr); gap: 8px; }
  .nc img { height: 90px; }
}
@media (min-width: 1024px) {
  .mob-sidebar-ad { display: none; }
  .g4 { grid-template-columns: repeat(4,1fr); }
}

/* Left: big card spanning full height (3 rows) */
.hero4-big {
  display: flex;
  flex-direction: column;
  background: #1A1A1A;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  position: relative;
  min-height: 280px;
}
.hero4-big img {
  width: 100%;
  flex: 1;
  object-fit: cover;
  min-height: 200px;
  opacity: .85;
  transition: opacity .3s;
}
.hero4-big:hover img { opacity: .75; }
.hero4-big-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top,rgba(0,0,0,.92) 0%,rgba(0,0,0,.3) 70%,transparent 100%);
  padding: 16px 12px 12px;
}
.hero4-big-title {
  font-family: 'Noto Sans Tamil',sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin: 4px 0;
}

/* Right: 3 stacked small cards */
.hero4-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero4-sm {
  display: flex;
  flex: 1;
  background: #fff;
  border: 1px solid var(--gray-2,#E8E6E0);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow .15s;
  align-items: stretch;
}
.hero4-sm:hover { box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.hero4-sm img {
  width: 100px;
  height: 100%;
  min-height: 70px;
  object-fit: cover;
  flex-shrink: 0;
}
.hero4-sm-body {
  padding: 6px 8px;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  justify-content: center;
}
.hero4-sm-title {
  font-family: 'Noto Sans Tamil',sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--red,#C0001A);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Mobile: stack vertically */
@media (max-width: 1023px) {
  .hero4-grid         { grid-template-columns: 1fr; }
  .hero4-big          { min-height: 200px; }
  .hero4-big img      { min-height: 160px; }
  .hero4-big-title    { font-size: 14px; }
  .hero4-sm img       { width: 85px; }
}

/* ═══ ARTICLE PAGE — surgical layout fixes ═══ */

/* Reduce space above content */
.breadcrumb { padding:8px 0; font-size:11.5px; margin-bottom:0; }
.art-category { margin-bottom:6px; }
.art-title { font-size:22px; line-height:1.4; margin:6px 0 8px; }
.art-meta-row { font-size:11.5px; flex-wrap:wrap; gap:4px 8px; margin-bottom:6px; }
.art-author { gap:6px; }
.art-hero-img { width:100%; border-radius:6px; margin:10px 0 12px; max-height:400px; object-fit:cover; display:block; }

/* Compact share row */
.share-row-compact { display:flex; align-items:center; gap:6px; margin-bottom:12px; padding:6px 0; border-top:1px solid var(--gray-2,#E8E6E0); border-bottom:1px solid var(--gray-2,#E8E6E0); }
.share-label-sm { font-size:11px; color:var(--gray-4,#9A9890); font-weight:600; }
/* Share buttons — branded pills (desktop), icon-only circles (mobile) */
.sbc {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 20px; font-size: 13px;
  font-weight: 600; text-decoration: none; border: none; cursor: pointer;
  transition: opacity .15s;
}
.sbc:hover { opacity: .85; }
.sbc i { font-size: 15px; }
.sbc-wa { background: #25D366; color: #fff; }
.sbc-fb { background: #1877F2; color: #fff; }
.sbc-tw { background: #000;    color: #fff; }
.sbc-cp { background: var(--gray-1,#F0EFE9); color: #1A1A1A; border: 1px solid var(--gray-2,#D8D6CE); }
@media (max-width: 600px) {
  .sbc      { padding: 8px; border-radius: 50%; width: 38px; height: 38px; justify-content: center; gap: 0; }
  .sbc span { display: none; }
  .sbc i    { font-size: 18px; }
}

/* Font toggle compact */
.font-size-toggle { display:flex; align-items:center; gap:4px; flex-shrink:0; }
.font-btn { padding:2px 7px; font-size:11px; border:1px solid var(--gray-2,#E8E6E0); background:#fff; border-radius:3px; cursor:pointer; }
.font-btn.active { background:var(--red,#C0001A); color:#fff; border-color:var(--red,#C0001A); }

/* Article body styles consolidated above — duplicate rule removed */
.art-body img { max-width:100%; border-radius:4px; }

/* Sidebar: hide big empty ad block */

/* article-wrap: tighter */
.article-wrap { gap:16px; }

/* ── Mobile ── */
@media (max-width: 1023px) {
  .article-wrap { display:block !important; }
  
  .art-title { font-size:18px; }
  .art-body { font-size:15px; line-height:1.85; }
  .art-hero-img { max-height:240px; margin:8px 0 10px; }
  .breadcrumb { font-size:11px; padding:6px 0; }
  .article-main { padding:0 !important; }

  /* Ensure content visible on mobile */
  .art-body, .article-main { overflow:visible !important; height:auto !important; max-height:none !important; }
}

/* ── ARTICLE HEADER — compact ── */
.breadcrumb         { padding:6px 0 4px; font-size:11px; color:var(--gray-4,#9A9890); margin-bottom:0; }
.breadcrumb a       { color:var(--gray-4,#9A9890); text-decoration:none; }
.breadcrumb a:hover { color:var(--red,#C0001A); }

.art-title {
  font-family: 'Noto Sans Tamil',sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--text,#1A1A1A);
  margin: 6px 0 6px;
}

/* Share icons right under title */
.art-share-inline {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Meta bar: back + reporter/date left, font resizer + share right on desktop */
.art-meta-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-2,#E8E6E0);
  flex-wrap: nowrap;
}
.art-meta-bar .font-size-toggle { flex-shrink: 0; }
.art-meta-bar .art-share-inline {
  flex-shrink: 0;
  margin-left: auto;
  padding-left: 14px;
  border-left: 1px solid var(--gray-2,#E8E6E0);
}

/* Byline: reporter + details */
.art-byline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px 5px;
  font-size: 11px;
  color: var(--gray-4,#6B6A64);
  flex-shrink: 1;
  min-width: 0;
}
.art-byline-author   { font-weight: 700; color: var(--red,#C0001A); font-size: 11px; white-space: nowrap; }
.art-byline-sep      { color: var(--gray-3,#C8C6BE); }
.art-byline-location { font-size: 11px; white-space: nowrap; font-weight: 600; }
.art-byline-date     { font-size: 11px; white-space: nowrap; }
.art-byline-detail   { font-size: 11px; white-space: nowrap; }

/* Mobile: no font resizer; back+byline row, share row below */
@media (max-width: 767px) {
  .art-meta-bar {
    flex-wrap: wrap;
    gap: 8px;
  }
  .art-meta-left { width: 100%; }
  .art-byline { font-size: 10.5px; }
  .font-size-toggle { display: none !important; }
  .art-meta-bar .art-share-inline {
    width: 100%;
    margin-left: 0;
    padding-left: 0;
    border-left: none;
  }
}

@media (max-width: 1023px) {
  .art-title { font-size: 17px; }
}

/* ── ARTICLE TAGS ── */
.art-tags { display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin:14px 0 10px; }
.art-tags-label { font-size:13px; }
.art-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none;
  background: var(--gray-1,#F5F5F0);
  color: var(--gray-4,#6B6A64);
  border: 1px solid var(--gray-2,#E8E6E0);
  font-family: 'Noto Sans Tamil', sans-serif;
  transition: all .12s;
  white-space: nowrap;
}
.art-tag:hover { background: #FEE2E2; color: #C0001A; border-color: #C0001A; }
.art-tag-cat {
  background: #C0001A;
  color: #fff;
  border-color: #C0001A;
}
.art-tag-cat:hover { background: #9B0015; border-color: #9B0015; color:#fff; }

/* ══════════════════════════════════════════════════
   HERO SECTION (hero4-grid): left big + right stack
══════════════════════════════════════════════════ */
.hero4-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
  align-items: stretch;
}

/* Left: big tall card */
.hero4-big {
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  background: #1A1A1A;
  min-height: 300px;
}
.hero4-big img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  opacity: .85;
  flex: 1;
  display: block;
  transition: opacity .3s;
}
.hero4-big:hover img { opacity: .75; }
.hero4-big-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.3) 70%, transparent 100%);
  padding: 16px 14px 14px;
}
.hero4-big-title {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin: 4px 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero4-big-excerpt {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 11.5px;
  color: rgba(255,255,255,.7);
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero4-empty { background: #F5F5F0; border-radius: 6px; }

/* Right: 3 equal stacked cards */
.hero4-right {
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 8px;
}
.hero4-sm {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: #fff;
  border: 1px solid #E8E6E0;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow .15s;
}
.hero4-sm:hover { box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.hero4-sm img {
  width: 110px;
  min-height: 80px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}
.hero4-sm-body {
  padding: 8px 10px;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  justify-content: center;
}
.hero4-sm-title {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: #1A1A1A;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero4-meta {
  font-size: 10.5px;
  color: #9A9890;
  margin-top: 2px;
}

/* ── Responsive ── */
@media (max-width: 1023px) {
  .hero4-grid        { grid-template-columns: 1fr; gap: 8px; }
  .hero4-right       { grid-template-rows: none; }
  .hero4-big img     { min-height: 200px; }
  .hero4-big-title   { font-size: 15px; }
  .hero4-sm img      { width: 90px; }
}



/* ── SUBCATEGORY PILLS ── */
.subcat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.subcat-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  background: var(--gray-1,#F5F5F0);
  color: var(--text,#1A1A1A);
  border: 1px solid var(--gray-2,#E8E6E0);
  font-family: 'Noto Sans Tamil', sans-serif;
  transition: all .12s;
}
.subcat-pill:hover,
.subcat-pill.active { background: #C0001A; color: #fff; border-color: #C0001A; }

/* ═══════════════════════════════════════════════════════
   SITE LAYOUT — responsive, no side clipping
   1400px+  : 85% centered
   1200-1400 : 90% centered
   1024-1200 : 96% centered (no side cut)
   < 1024    : 100% full width
═══════════════════════════════════════════════════════ */

/* Base: full width, then override per breakpoint */
.page-layout-wrap {
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 12px;
}

/* Main+Sidebar grid */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 232px;
  gap: 20px;
  align-items: stretch;
  width: 100%;
}
.page-main    { min-width: 0; width: 100%; }
.page-full    { width: 100%; }
.page-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
/* Vertical ad stays sticky as user scrolls article */
.sb-vertical-ad {
  position: sticky;
  top: 56px;
  z-index: 10;
}

/* ── Large screens: add side margins ── */
@media (min-width: 1400px) {
  .page-layout-wrap { width: 85%; padding: 0; }
  .nav-inner, .masthead, .header-banner-ad-inner, .site-footer-inner {
    max-width: 85%; margin-left: auto; margin-right: auto;
  }
}
@media (min-width: 1200px) and (max-width: 1399px) {
  .page-layout-wrap { width: 90%; padding: 0; }
  .nav-inner, .masthead, .header-banner-ad-inner, .site-footer-inner {
    max-width: 90%; margin-left: auto; margin-right: auto;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .page-layout-wrap { width: 96%; padding: 0 8px; }
  .nav-inner, .masthead, .header-banner-ad-inner, .site-footer-inner {
    max-width: 96%; margin-left: auto; margin-right: auto;
  }
  /* Slightly narrower sidebar on small desktops */
  .page-layout { grid-template-columns: 1fr 190px; gap: 10px; }
}

/* ── Below 1024px: full width, no sidebar ── */
@media (max-width: 1023px) {
  .page-layout-wrap { width: 100%; padding: 0 8px; }
  .page-layout      { grid-template-columns: 1fr; gap: 0; }
  .page-sidebar     { display: none; }
  .nav-inner, .masthead, .header-banner-ad-inner, .site-footer-inner {
    max-width: 100%; margin-left: 0; margin-right: 0;
  }
}

/* ════════════════════════════════════════════
   LANGUAGE SWITCHER
════════════════════════════════════════════ */
.lang-switcher {
  display: flex;
  gap: 2px;
  background: var(--gray-1,#F0EFE9);
  border-radius: 6px;
  padding: 2px;
}
.lang-btn {
  border: none;
  background: transparent;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  color: var(--text-muted,#6B6A64);
  transition: background .15s, color .15s;
}
.lang-btn:hover { color: var(--charcoal,#1A1A1A); }
.lang-btn.active { background: var(--red,#C0001A); color: #fff; }
.lang-btn.lang-loading {
  opacity: .6;
  pointer-events: none;
  position: relative;
}
.lang-btn.lang-loading::after {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  margin-left: 4px;
  border: 1.5px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: langSpin .6s linear infinite;
  vertical-align: middle;
}
@keyframes langSpin { to { transform: rotate(360deg); } }

.lang-switcher-drawer {
  margin: 10px 0;
  justify-content: center;
}
.lang-switcher-drawer .lang-btn { flex: 1; padding: 8px 6px; }

/* Hide Google Translate's own default UI completely — we drive it via
   our custom buttons instead */
#google_translate_element { display: none !important; }
.goog-te-banner-frame { display: none !important; }
.goog-te-gadget-icon { display: none !important; }
body { top: 0 !important; } /* Google sometimes pushes body down for its banner — prevent that */
.skiptranslate { display: none !important; }
iframe.goog-te-banner-frame { display: none !important; visibility: hidden !important; }


/* ════════════════════════════════════════════
   HERO SECTION v3 — left big card + right 2x2
   grid of regular category-style cards (.nc reused)
════════════════════════════════════════════ */

.hero4-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 14px;
  align-items: stretch;
  margin-bottom: 20px;
}

/* LEFT: big featured card */
.hero4-big-v2 {
  position: relative;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  background: #1A1A1A;
  min-height: 320px;
  height: 100%;
}
.hero4-big-v2 img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #111;
  display: block;
  position: absolute;
  inset: 0;
  transition: opacity .2s;
}
.hero4-big-v2:hover img { opacity: .85; }
.hero4-big-v2 { transition: box-shadow .22s ease, transform .22s ease; }
.hero4-big-v2:hover {
  box-shadow:
    0 0 0 2px var(--red,#C0001A),
    0 6px 28px var(--glow-red,rgba(192,0,26,.18)),
    0 2px 10px rgba(0,0,0,.1);
  transform: translateY(-2px);
}
.hero4-big-v2-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.5) 55%, transparent 100%);
  z-index: 1;
}
.hero4-big-v2-body .breaking-badge { font-size: 10px; margin-bottom: 4px; }
.hero4-big-v2-body .hero4-card-title {
  color: #fff;
  font-family: 'Noto Sans Tamil', sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.4;
  margin-top: 8px;
}
.hero4-big-v2-body .hero4-card-excerpt {
  color: rgba(255,255,255,.85);
  font-size: 12.5px;
  line-height: 1.5;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero4-big-v2-body .hero4-meta {
  color: rgba(255,255,255,.7);
  font-size: 11px;
  margin-top: 8px;
}

/* RIGHT: 2x2 grid of regular .nc cards */
.hero4-right-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}
.hero4-right-v2 .nc {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.hero4-right-v2 .nc img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  object-position: center;
  background: #F5F5F0;
  display: block;
  flex-shrink: 0;
}
.hero4-right-v2 .nc-body { padding: 8px 10px; flex: 1; }
.hero4-right-v2 .nc-title {
  font-size: 12.5px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Tablet ── */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero4-grid { grid-template-columns: 1fr 1fr; }
  .hero4-big-v2 { min-height: 280px; }
  .hero4-big-v2-body .hero4-card-title { font-size: 15px; }
  .hero4-right-v2 .nc img { height: 85px; }
}

/* ── Mobile: stack — big card full width on top, 2x2 grid below ── */
@media (max-width: 767px) {
  .hero4-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .hero4-big-v2 { height: auto; min-height: 200px; }
  .hero4-big-v2-body .hero4-card-title { font-size: 15px; }
  .hero4-big-v2-body .hero4-card-excerpt { display: none; }
  .hero4-right-v2 { gap: 8px; }
  .hero4-right-v2 .nc img { height: 90px; }
  .hero4-right-v2 .nc-title { font-size: 12px; }
}

/* ════════════════════════════════════════════
   TRUST / POLICY PAGES
════════════════════════════════════════════ */
.trust-wrap { max-width: 860px; margin: 0 auto; padding: 24px 16px 48px; }
.trust-page { background: #fff; border-radius: 10px; border: 1px solid #E2E8F0; overflow: hidden; }

/* Breadcrumb */
.trust-breadcrumb { font-size: 12.5px; color: #64748B; margin-bottom: 16px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.trust-bc-link { color: var(--red,#C0001A); text-decoration: none; }
.trust-bc-link:hover { text-decoration: underline; }
.trust-bc-sep { color: #CBD5E1; font-size: 14px; }
.trust-bc-current { color: #1E293B; font-weight: 600; }

/* Back button */
.trust-back-row { padding: 16px 24px; border-top: 1px solid #E2E8F0; }
.trust-back-btn { font-size: 13px; color: var(--red,#C0001A); text-decoration: none; font-weight: 600; }
.trust-back-btn:hover { text-decoration: underline; }

.trust-page-header {
  text-align: center;
  padding: 32px 24px 24px;
  background: linear-gradient(135deg, #1E293B 0%, #C0001A 100%);
  color: #fff;
  border-bottom: none;
}
.trust-page-icon { font-size: 40px; margin-bottom: 12px; }
.trust-page-header h1 {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 22px; font-weight: 800; color: var(--charcoal,#1A1A1A);
  margin: 0 0 8px;
}
.trust-page-updated { font-size: 12px; color: rgba(255,255,255,.7); margin: 0; }

.trust-page-body { display: flex; flex-direction: column; gap: 16px; }

.trust-section {
  background: var(--white,#fff);
  border: 1px solid var(--gray-2,#E8E6E0);
  border-radius: 10px;
  padding: 20px 24px;
}
.trust-section h2 {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 15px; font-weight: 700; color: var(--charcoal,#1A1A1A);
  border-bottom: 2px solid var(--red,#C0001A);
  padding-bottom: 8px; margin: 0 0 14px;
}
.trust-section p, .trust-section li {
  font-size: 14px; line-height: 1.8; color: #3A3A38;
}
.trust-section ul { padding-left: 20px; margin: 0; }
.trust-section li { margin-bottom: 6px; }
.trust-section a { color: var(--red,#C0001A); }

/* Placeholder notice — visible so editors know what to fill in */
.trust-placeholder {
  color: #7C5007;
  background: #FEF3C7;
  border: 1px dashed #F59E0B;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 13px;
  display: block;
  margin-top: 8px;
}

/* Legal notice box */
.trust-notice {
  background: #FEF3C7;
  border-left: 4px solid #F59E0B;
  border-radius: 4px;
  padding: 12px 16px;
  font-size: 13px;
  color: #7C5007;
  margin-bottom: 16px;
}

/* Contact grid */
.trust-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.trust-contact-item {
  display: flex; gap: 12px; align-items: flex-start;
  background: #F5F5F0; border-radius: 8px; padding: 14px;
}
.trust-contact-icon { font-size: 22px; flex-shrink: 0; }

@media (max-width: 600px) {
  .trust-section { padding: 16px; }
  .trust-contact-grid { grid-template-columns: 1fr; }
  .trust-page-header h1 { font-size: 18px; }
}

/* ════════════════════════════════════════════
   NO-IMAGE TEXT FALLBACK — hero + news cards
   Card size is NEVER compromised. When there
   is no image the slot fills with a dark gradient
   and the title scales up to fill the space.
════════════════════════════════════════════ */

/* ═══════════════════════════════════════════
   NO-IMAGE FALLBACK — all card types
   Card size NEVER changes. When there is no
   image the slot fills with a gradient and
   ALL available text (title + excerpt) fills
   the full card height unclamped.
═══════════════════════════════════════════ */

/* Author page header inline (replaces old inline styles) */
.author-header-inline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.author-header-avatar  { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-header-initials {
  width: 44px; height: 44px; border-radius: 50%;
  background: #C0001A; color: #fff;
  font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.author-header-role {
  font-size: 11px; background: #FDECEA; color: #C0001A;
  padding: 2px 8px; border-radius: 10px; font-weight: 600; margin-left: 6px;
}




/* ══════════════════════════════════════════════
   LISTING PAGE STRUCTURAL CLASSES
   Replaces inline style= attributes sitewide
══════════════════════════════════════════════ */
.sec-head-mt    { margin-top: 14px; }
.sec-head-mt2   { margin-top: 16px; }
.sec-head-count { margin-left: 4px; color: #9A9890; }
.empty-icon     { font-size: 48px; }
.empty-sub      { font-size: 13px; color: var(--gray-4,#6B6A64); }
.g4-mt          { margin-top: 16px; }
.search-form-mt { margin: 14px 0 16px; }
.breaking-badge-sm { font-size: 10px; margin-bottom: 4px; }

/* CSS custom property driven colour variants
   --ac is set via style="--ac: #hex" on the element itself,
   allowing dynamic PHP colours without any other inline styles */
.sec-head-bar-dyn { background: var(--ac, var(--red,#C0001A)) !important; }
.ctag-accent      { background: var(--ac, var(--red,#C0001A)) !important; color: #fff !important; }

/* story-card no-image variant — same white+red pattern as .nc.nc-no-img */
.story-card-no-img {
  background: #fff;
}
.story-card-no-img .story-card-title {
  font-size: 14px !important;
  display: -webkit-box !important;
  overflow: hidden !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
}

/* ═══════════════════════════════════════════════════════
   NO-IMAGE NEWS CARD — all types, all pages
   White background, professional slate title, grey excerpt.
   Card size NEVER changes — text fills the available space.
   Applies to: hero big card, hero grid cards, .nc grids,
               .story-card rows, all listing pages.
═══════════════════════════════════════════════════════ */

/* ── Big left hero card (no image) ── */
.hero4-big-v2.hero4-no-img {
  background: #fff;
  border: 1px solid #E2E8F0;
}
.hero4-big-v2.hero4-no-img .hero4-big-v2-body {
  background: none;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  height: 100%;
}
.hero4-title-xl {
  font-size: 22px !important;
  line-height: 1.5 !important;
  display: -webkit-box !important;
  overflow: hidden !important;
  -webkit-line-clamp: 4 !important;
  -webkit-box-orient: vertical !important;
  color: #1E293B !important;
}

/* ── Small right-grid .nc card (no image) ── */
.hero4-right-v2 .nc.nc-no-img {
  background: #fff;
  border-color: #E2E8F0;
}
.hero4-right-v2 .nc.nc-no-img .nc-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 12px;
  overflow: hidden;
}
.hero4-right-v2 .nc.nc-no-img .nc-title,
.nc-title-lg {
  color: #1E293B !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  display: -webkit-box !important;
  overflow: hidden !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
}
.hero4-right-v2 .nc.nc-no-img .hero4-meta {
  color: #94A3B8 !important;
  margin-top: auto;
  padding-top: 8px;
}
.hero4-right-v2 .nc.nc-no-img .ctag { margin-bottom: 6px; }

/* ── Regular grid .g4 .nc (no image) ── */
.g4 .nc.nc-no-img,
.hero4-right-v2 .nc.nc-no-img {
  background: #fff;
  border-color: #E2E8F0;
}
.g4 .nc.nc-no-img .nc-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 12px;
}
.g4 .nc.nc-no-img .nc-title {
  color: #1E293B !important;
  display: -webkit-box !important;
  overflow: hidden !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
}
.g4 .nc.nc-no-img .hero4-meta {
  color: #94A3B8 !important;
  margin-top: auto;
  padding-top: 8px;
}

/* ── Excerpt text (all no-image cards) ── */
.hero4-no-img-excerpt,
.nc-no-img-excerpt {
  color: #64748B;
  font-size: 11.5px;
  line-height: 1.65;
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero4-big-v2.hero4-no-img .hero4-no-img-excerpt {
  font-size: 13px;
  -webkit-line-clamp: 4;
  color: #64748B;
}

/* ── story-card no-image variant ── */
.story-card-no-img { background: #fff; border-color: #E2E8F0; }
.story-card-no-img .story-card-title {
  color: #1E293B !important;
  font-size: 14px !important;
  display: -webkit-box !important;
  overflow: hidden !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
}

/* ── Excerpt fill in story-card no-image ── */
.story-card-no-img .story-card-excerpt {
  color: #64748B;
  font-size: 12px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── nc-no-img-excerpt dark-override (global, all variants) ── */
.nc.nc-no-img .nc-title { color: #1E293B !important; }
.nc.nc-no-img .hero4-meta { color: #94A3B8 !important; }

@media (max-width: 767px) {
  .hero4-title-xl { font-size: 17px !important; }
  .hero4-no-img-excerpt,
  .nc-no-img-excerpt { -webkit-line-clamp: 2; }
}


/* ═══════════════════════════════════════════
   FLOATING SEARCH BAR — desktop only
   Always-visible, full-width bar at bottom-center
═══════════════════════════════════════════ */
.float-search-bar {
  display: none; /* shown only on desktop via media query below */
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  width: min(560px, 90vw);
}
.float-search-bar-form {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,.18), 0 1px 4px rgba(0,0,0,.08);
  border: 1.5px solid #E2E8F0;
  overflow: hidden;
  transition: box-shadow .2s;
}
.float-search-bar-form:focus-within {
  box-shadow: 0 4px 28px rgba(192,0,26,.2), 0 1px 4px rgba(0,0,0,.08);
  border-color: var(--red,#C0001A);
}
.float-search-bar-icon {
  padding: 0 12px 0 18px;
  font-size: 16px;
  flex-shrink: 0;
  color: #94A3B8;
}
.float-search-bar input {
  flex: 1;
  border: none;
  outline: none;
  padding: 13px 8px;
  font-size: 14px;
  font-family: 'Noto Sans Tamil', sans-serif;
  background: transparent;
  color: #1E293B;
  min-width: 0;
}
.float-search-bar input::placeholder { color: #94A3B8; }
.float-search-bar button {
  background: var(--charcoal,#1A1A1A);
  color: #fff;
  border: none;
  padding: 13px 22px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Noto Sans Tamil', sans-serif;
  flex-shrink: 0;
  transition: background .15s;
  letter-spacing: .3px;
}
.float-search-bar button:hover { background: var(--red,#C0001A); }
@media (min-width: 1024px) {
  .float-search-bar { display: block; }
  body { padding-bottom: 90px; } /* prevents footer hiding behind fixed search bar */
}

/* Trust page team cards */
.trust-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px,1fr));
  gap: 12px;
  margin-top: 8px;
}
.trust-team-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 14px 16px;
  border-left: 3px solid var(--red,#C0001A);
}
.trust-team-name { font-weight: 700; font-size: 13px; color: #1E293B; }
.trust-team-role { font-size: 12px; color: #64748B; margin-top: 3px; }

/* ══════════════════════════════════════════
   FOOTER — DESKTOP ONLY
   Mobile has sticky bottom nav instead
══════════════════════════════════════════ */
@media (max-width: 1023px) {
  .site-footer { display: none !important; }
}

/* ══════════════════════════════════════════
   INFO PAGE — card grid for all policy links
   Designed for mobile-first browsing
══════════════════════════════════════════ */
.info-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.info-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 14px 16px;
  text-decoration: none;
  transition: box-shadow .15s, transform .15s;
  color: inherit;
}
.info-card:hover {
  box-shadow: 0 0 0 1.5px var(--red,#C0001A), 0 4px 12px rgba(192,0,26,.12);
  transform: translateY(-1px);
}
.info-card-icon { font-size: 24px; flex-shrink: 0; width: 36px; text-align: center; }
.info-card-body { flex: 1; min-width: 0; }
.info-card-label { font-size: 14px; font-weight: 700; color: #1E293B; }
.info-card-ta    { font-family: 'Noto Sans Tamil', sans-serif; font-size: 12px; color: #64748B; margin-top: 2px; }
.info-card-arrow { font-size: 22px; color: #CBD5E1; flex-shrink: 0; }

@media (min-width: 600px) {
  .info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

/* Sponsored news badge */
.sponsored-badge {
  background: #F59E0B;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
  display: inline-block;
  letter-spacing: .3px;
}
/* Sponsored indicator on news cards */
.nc .ctag.sponsored-badge { font-size: 10px; padding: 2px 8px; }

/* ── District sidebar widget (Tamil Nadu category only) ── */
.district-widget {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid #E2E8F0;
}
.district-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.district-chip {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid #E2E8F0;
  background: #fff;
  color: #1E293B;
  text-decoration: none;
  transition: all .15s;
  white-space: nowrap;
}
.district-chip:hover {
  border-color: var(--red, #C0001A);
  color: var(--red, #C0001A);
}
.district-chip.active {
  background: var(--red, #C0001A);
  border-color: var(--red, #C0001A);
  color: #fff;
}

/* ── Citizen Reporter form ── */
.citizen-intro  { background:#F0F9FF; border-left:3px solid #0891B2; padding:12px 16px; border-radius:4px; margin-bottom:24px; font-size:13px; color:#075985; }
.citizen-form   { max-width: 680px; }
.citizen-form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.citizen-form-group { margin-bottom:16px; }
.citizen-label  { display:block; font-size:13px; font-weight:700; color:#1E293B; margin-bottom:5px; font-family:'Noto Sans Tamil',sans-serif; }
.citizen-label .req { color:var(--red,#C0001A); }
.citizen-input  { width:100%; padding:9px 12px; border:1px solid #E2E8F0; border-radius:6px; font-size:13px; font-family:'Noto Sans Tamil',sans-serif; outline:none; transition:border-color .15s; }
.citizen-input:focus { border-color:var(--red,#C0001A); }
.citizen-textarea { min-height:140px; resize:vertical; }
.citizen-hint   { font-size:11px; color:#94A3B8; }
.citizen-submit { background:var(--red,#C0001A); color:#fff; border:none; padding:11px 28px; border-radius:6px; font-size:14px; font-weight:700; cursor:pointer; font-family:'Noto Sans Tamil',sans-serif; transition:background .15s; }
.citizen-submit:hover { background:#A0001A; }
@media (max-width:600px) { .citizen-form-row { grid-template-columns:1fr; } }

/* ── Join Us — choice page ── */
.join-choice-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; max-width:760px; }
.join-choice-card {
  display:block; padding:28px 22px; border:1px solid #E2E8F0; border-radius:10px;
  text-decoration:none; background:#fff; transition:border-color .15s, box-shadow .15s, transform .15s;
}
.join-choice-card:hover { border-color:var(--red,#C0001A); box-shadow:0 6px 18px rgba(192,0,26,.12); transform:translateY(-2px); }
.join-choice-icon { font-size:34px; margin-bottom:10px; }
.join-choice-title { font-size:18px; font-weight:800; color:#1E293B; font-family:'Noto Sans Tamil',sans-serif; }
.join-choice-sub { font-size:12px; color:#94A3B8; margin-bottom:10px; }
.join-choice-desc { font-size:13px; color:#475569; font-family:'Noto Sans Tamil',sans-serif; line-height:1.6; margin:0; }
@media (max-width:600px) { .join-choice-grid { grid-template-columns:1fr; } }

/* ── Infinite scroll ── */
.scroll-sentinel { height: 1px; }
.scroll-spinner  { display: flex; justify-content: center; gap: 6px; padding: 24px 0; }
.scroll-spinner-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red,#C0001A);
  animation: scrollPulse .9s ease-in-out infinite;
}
.scroll-spinner-dot:nth-child(2) { animation-delay: .15s; }
.scroll-spinner-dot:nth-child(3) { animation-delay: .3s; }
@keyframes scrollPulse { 0%,80%,100% { transform:scale(.6); opacity:.4; } 40% { transform:scale(1); opacity:1; } }
.scroll-end-msg { text-align: center; padding: 20px; font-size: 12px; color: #94A3B8; font-family:'Noto Sans Tamil',sans-serif; }

/* ── NAV MORE DROPDOWN — desktop only, pure CSS ── */
.nav-more-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
}
.nav-more-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Noto Sans Tamil', sans-serif;
  padding: 0 14px;
}
.nav-more-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 180px;
  background: #111;
  border-top: 2px solid var(--red,#C0001A);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  z-index: 9999;
  flex-direction: column;
}
.nav-more-wrap.open .nav-more-dropdown {
  display: flex;
}
.nav-more-item {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  padding: 10px 18px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .12s, color .12s;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-more-item:last-child { border-bottom: none; }
.nav-more-item:hover,
.nav-more-item.active {
  background: rgba(192,0,26,.25);
  color: #fff;
}

/* ── RATES BAR — desktop only, below masthead ── */
.rates-bar {
  display: none;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  background: #F8F9FA;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  padding: 5px 20px;
  font-size: 12px;
}
.rates-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 14px;
  border-right: 1px solid #E2E8F0;
  color: #1E293B;
}
.rates-item:last-child { border-right: none; }
.rates-icon  { font-size: 14px; }
.rates-label { color: #64748B; font-size: 11px; text-transform: uppercase; letter-spacing: .4px; }
.rates-val   { font-weight: 700; color: #1E293B; }
.rates-divider { flex: 1; }
.rates-date  { color: #64748B; border-right: none; }
@media (min-width: 1024px) {
  .rates-bar { display: flex; }
}

/* ── Push notification in-page toast ── */
.tn-push-toast {
  position: fixed;
  bottom: 80px;
  right: 16px;
  width: 320px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,.15);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  z-index: 2000;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .25s, transform .25s;
}
.tn-push-toast.tn-push-toast-show { opacity: 1; transform: translateY(0); }
.tn-push-toast-img {
  width: 52px; height: 52px;
  object-fit: cover; border-radius: 8px; flex-shrink: 0;
}
.tn-push-toast-body { flex: 1; min-width: 0; }
.tn-push-toast-title {
  font-size: 13px; font-weight: 700;
  color: #1a1a1a; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tn-push-toast-msg {
  font-size: 12px; color: #4B5563;
  line-height: 1.4; margin-top: 3px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.tn-push-toast-close {
  background: none; border: none;
  font-size: 14px; color: #9CA3AF;
  cursor: pointer; flex-shrink: 0; padding: 0;
}
@media (max-width: 480px) {
  .tn-push-toast { bottom: 72px; right: 8px; left: 8px; width: auto; }
}

/* ── Push notification opt-in banner ── */
.tn-push-banner {
  position: fixed;
  bottom: 80px;
  right: 16px;
  width: 320px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,.15);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  z-index: 2000;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .25s, transform .25s;
}
.tn-push-banner.tn-push-banner-show { opacity: 1; transform: translateY(0); }
.tn-push-banner-icon { font-size: 22px; flex-shrink: 0; line-height: 1; }
.tn-push-banner-body { flex: 1; min-width: 0; }
.tn-push-banner-title {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 13px; font-weight: 700;
  color: #1a1a1a; line-height: 1.3;
}
.tn-push-banner-msg {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 12px; color: #4B5563;
  line-height: 1.4; margin-top: 3px;
}
.tn-push-banner-allow {
  font-family: 'Noto Sans Tamil', sans-serif;
  background: #C0001A; color: #fff;
  border: none; border-radius: 8px;
  font-size: 12px; font-weight: 700;
  padding: 6px 12px; margin-top: 8px;
  cursor: pointer; flex-shrink: 0;
}
.tn-push-banner-close {
  background: none; border: none;
  font-size: 14px; color: #9CA3AF;
  cursor: pointer; flex-shrink: 0; padding: 0;
}
@media (max-width: 480px) {
  .tn-push-banner { bottom: 72px; right: 8px; left: 8px; width: auto; }
}

/* ── Mega menu: மேலும் button + multi-column dropdown ── */
.nav-more-wrap {
  position: relative;
  display: inline-flex;
  align-items: stretch;
}
.nav-more-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-more-arrow {
  font-size: 10px;
  display: inline-block;
  transition: transform .15s;
}
.nav-more-btn[aria-expanded="true"] .nav-more-arrow {
  transform: rotate(180deg);
}
.nav-mega {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 500;
  background: #fff;
  border-top: 3px solid var(--red, #C0001A);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
  min-width: 360px;
  padding: 16px;
}
.nav-mega.open { display: block; }
.nav-mega-inner {
  display: flex;
  gap: 0;
}
.nav-mega-col {
  display: flex;
  flex-direction: column;
  min-width: 150px;
  padding: 0 16px;
  border-right: 1px solid #F0EFE9;
}
.nav-mega-col:last-child { border-right: none; }
.nav-mega-link {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #1A1A1A;
  padding: 8px 4px;
  border-bottom: 1px solid #F5F5F0;
  text-decoration: none;
  white-space: nowrap;
  transition: color .12s;
  display: block;
}
.nav-mega-link:last-child { border-bottom: none; }
.nav-mega-link:hover,
.nav-mega-link.active { color: var(--red, #C0001A); }
.nav-mega-special {
  color: var(--red, #C0001A);
  font-weight: 700;
}

/* ── Desktop nav: Google login button ── */
.nav-google-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 20px;
  padding: 5px 12px 5px 8px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #1A1A1A;
  cursor: pointer;
  white-space: nowrap;
  transition: box-shadow .15s, transform .15s;
  flex-shrink: 0;
}
.nav-google-btn:hover {
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
  transform: translateY(-1px);
}



/* ── Mobile bottom nav: 5 items, Google center ── */
.mobile-bottom-nav-inner {
  grid-template-columns: repeat(5, 1fr);
}

/* Wrapper: full height, overflow visible so icon pops above nav */
.mob-nav-google-wrap {
  position: relative;
  overflow: visible;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* Icon: anchored to bottom, rises above nav bar */
.mob-nav-google-fab {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 3px #C0001A,
    0 -4px 18px rgba(66,133,244,.45),
    0 4px 12px rgba(0,0,0,.15);
  border: 2px solid #fff;
  animation: goog-bounce 2s ease-in-out infinite;
  transition: transform .12s;
}

/* Logged in: red with initial */
.mob-nav-google-fab.logged {
  background: #C0001A;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  box-shadow:
    0 0 0 3px rgba(192,0,26,.4),
    0 -4px 18px rgba(192,0,26,.35),
    0 4px 12px rgba(0,0,0,.15);
  animation: none;
}

/* Bounce: floats up 5px and back, glow pulses */
@keyframes goog-bounce {
  0%,100% {
    transform: translateX(-50%) translateY(0);
    box-shadow: 0 0 0 3px #C0001A, 0 -4px 18px rgba(66,133,244,.45), 0 4px 12px rgba(0,0,0,.15);
  }
  50% {
    transform: translateX(-50%) translateY(-6px);
    box-shadow: 0 0 0 4px rgba(192,0,26,.6), 0 -8px 24px rgba(66,133,244,.6), 0 8px 16px rgba(0,0,0,.1);
  }
}

/* Tap feedback */
.mob-nav-google-wrap:active .mob-nav-google-fab {
  transform: translateX(-50%) scale(.88);
  animation: none;
}
.user-dropdown-avatar { width:40px;height:40px;border-radius:50%;object-fit:cover;flex-shrink:0; }
.user-dropdown-email { font-size:11px;color:#9CA3AF;margin-top:2px; }

/* ── Desktop nav menu button ── */
.nav-menu-btn {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-family: 'Noto Sans Tamil','Inter',sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
}
.nav-menu-btn:hover { background: rgba(255,255,255,.18); }

/* ── Right nav drawer ── */
.nav-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 800;
}
.nav-drawer-overlay.open { display: block; }
.nav-drawer {
  position: fixed;
  top: 0; right: -320px;
  width: 300px;
  height: 100vh;
  background: #fff;
  z-index: 801;
  box-shadow: -4px 0 24px rgba(0,0,0,.15);
  transition: right .28s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.nav-drawer.open { right: 0; }
.nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #F0EFE9;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.nav-drawer-body { padding: 8px 0 40px; }
.nav-drawer-link {
  display: block;
  padding: 13px 20px;
  font-family: 'Noto Sans Tamil','Inter',sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1A1A1A;
  text-decoration: none;
  border-bottom: 1px solid #F5F5F0;
  transition: background .12s, color .12s;
}
.nav-drawer-link:hover { background: #F9F8F5; color: #C0001A; }
.nav-drawer-link.active { color: #C0001A; }
.nav-drawer-section {
  padding: 8px 20px 4px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #9CA3AF;
}

.nav-drawer-close-btn {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #6B6A64;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .15s;
}
.nav-drawer-close-btn:hover { background: #F5F5F0; }

/* ── WCAG 2.2 AA Accessibility ─────────────────────────────── */

/* Skip to main content link */
.skip-to-main {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10000;
  background: var(--red, #C0001A);
  color: #fff;
  padding: 10px 20px;
  border-radius: 0 0 6px 6px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: top .15s;
}
.skip-to-main:focus { top: 0; }

/* Global focus-visible — restore what outline:none removed */
*:focus-visible {
  outline: 3px solid #005FCC;
  outline-offset: 2px;
}
/* Override outline:none on inputs — use border highlight instead */
.search-bar input:focus-visible,
.search-page-input:focus-visible,
.review-textarea:focus-visible,
.citizen-input:focus-visible,
.float-search-bar input:focus-visible {
  outline: 3px solid #005FCC;
  outline-offset: 0;
  border-color: #005FCC;
}

/* Improve --text-muted contrast: #5A5A5A on white = 7.0:1 ✓ already AA
   category badge text contrast fix */
/* ctag white text already in base rule */

/* Article body link contrast */
.art-body a { color: #0055AA; text-decoration: underline; }
.art-body a:hover { color: #003A80; }

/* Ensure image alt text rendered dimensions */
img { max-width: 100%; height: auto; }

/* Nav landmark roles — add visible focus indicator on all nav links */
.nav a:focus-visible,
.mobile-bottom-nav a:focus-visible {
  outline: 3px solid #005FCC;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Mobile bottom nav — ensure tap target ≥ 44×44px (WCAG 2.5.5) */
.mobile-bottom-nav a,
.mobile-bottom-nav button {
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Search button tap target */
.float-search-bar button {
  min-height: 44px;
  min-width: 44px;
}

/* Breaking ticker — pause animation on prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation-play-state: paused !important; }
  * { transition: none !important; animation: none !important; }
}

/* WCAG: visually hidden utility for screen-reader-only text */
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}

/* ── Be a Reporter / citizen-reporter profile floating button — desktop + mobile ── */
.float-reporter-btn {
  display: flex;
  position: fixed;
  bottom: 90px;
  right: 16px;
  z-index: 998;
  background: #C0001A;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 20px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(192,0,26,.35);
  white-space: nowrap;
  font-family: 'Noto Sans Tamil','Inter',sans-serif;
  align-items: center;
  gap: 5px;
  transition: transform .15s, box-shadow .15s;
}
.float-reporter-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(192,0,26,.45); color:#fff; }
.float-reporter-avatar {
  width: 20px; height: 20px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  background: #fff; color: #C0001A;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
}

/* ── Reporter / profile block at the top of the desktop + mobile drawers ── */
.nav-drawer-user-block,
.mob-drawer-user-block {
  display: flex; align-items: center; gap: 10px;
}
.nav-drawer-user-avatar,
.mob-drawer-user-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  background: #C0001A; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800;
}
.nav-drawer-reporter-link,
.mob-drawer-reporter-link {
  color: #C0001A;
  font-weight: 800;
}

/* Ad slots — no background container, no border, image shown directly.
   Ads never dictate card/grid size: the frame is fixed by the card
   design, and whatever image the advertiser uploads is fit into it
   (object-fit), never the other way around. This overrides the
   height:auto/max-height inline styles the ad-rotator JS sets, which
   otherwise size to the ad image's own aspect ratio and can blow out
   a grid row far past the surrounding news cards. */
.hero4-ad-slot {
  background: transparent;
  overflow: hidden;
  border-radius: 6px;
  height: 160px;
}
.hero4-ad-slot .ad-rotator {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nc-ad { border: none; }
.nc.nc-ad {
  display: flex;
  flex-direction: column;
}
.nc.nc-ad .nc-ad-label {
  flex-shrink: 0;
  font-size: 9px;
  color: #9A9890;
  padding: 4px 8px 0;
}
.nc.nc-ad .ad-rotator {
  height: 110px;
  width: 100%;
  overflow: hidden;
  display: block;
}
.hero4-ad-slot img,
.nc .ad-rotator img,
.g4 .ad-rotator img {
  border-radius: 6px;
  display: block;
}
.hero4-ad-slot img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}
.nc.nc-ad .ad-rotator img,
.g4 .ad-rotator img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Mid-article + between-article ad slots — same fixed-frame rule */
.mid-article-ad {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 320px;
  overflow: hidden;
  border-radius: 8px;
  background: #F5F5F0;
  margin: 16px 0;
}
.mid-article-ad .ad-rotator {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mid-article-ad .ad-rotator img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}
.art-between-ad {
  width: 100%;
  aspect-ratio: 900 / 150;
  overflow: hidden;
  border-radius: 6px;
  margin: 16px 0;
}
.art-between-ad .ad-rotator {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.art-between-ad .ad-rotator img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Full-width horizontal ad banner inside a .g4 grid (category page) —
   spans every column, same fixed-frame rule as every other ad slot. */
.g4-ad-horizontal {
  grid-column: 1 / -1;
  width: 100%;
  aspect-ratio: 900 / 150;
  max-height: 200px;
  overflow: hidden;
  border-radius: 6px;
  background: #F5F5F0;
}
.g4-ad-horizontal .ad-rotator {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.g4-ad-horizontal .ad-rotator img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
}
/* Ad label under sidebar vertical */
.sb-ad-label { display: none; }

/* ── Tamil Nadu District Bar ─────────────────────────────── */
.tn-district-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #F0EFE9;
  border-radius: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.tn-district-bar-left {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.tn-district-title {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 16px;
  font-weight: 900;
  color: #C0001A;
}
.tn-district-sep { color: #D1D5DB; font-size: 14px; }
.tn-district-sub { font-size: 12px; color: #9CA3AF; font-weight: 500; }
.tn-district-bar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tn-district-label {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #6B7280;
  white-space: nowrap;
}
.tn-district-select {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 13px;
  padding: 5px 10px;
  border: 1.5px solid #E5E7EB;
  border-radius: 6px;
  background: #F9FAFB;
  color: #1A1A1A;
  cursor: pointer;
  min-width: 160px;
  max-width: 220px;
}
.tn-district-select:focus { outline: none; border-color: #C0001A; }

@media (max-width: 480px) {
  .tn-district-bar { flex-direction: row; align-items: center; padding: 8px 10px; }
  .tn-district-bar-left { flex: 1; }
  .tn-district-bar-right { flex-shrink: 0; }
  .tn-district-select { min-width: 130px; font-size: 12px; }
}

/* ══════════════════════════════════════════════════
   ARTICLE CONTENT ENHANCEMENT — Tamil Typography
   ══════════════════════════════════════════════════ */

/* Override base art-body with enhanced Tamil-first styles */
.art-body {
  font-family: 'Noto Sans Tamil', 'Inter', sans-serif;
  font-size: 17px;
  line-height: 2.0;
  color: #1C1C1C;
  letter-spacing: 0.01em;
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.art-body p {
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 2.0;
}

/* First paragraph drop-cap style */
.art-body > p:first-of-type::first-letter {
  font-size: 3.2em;
  font-weight: 900;
  float: left;
  line-height: 0.75;
  margin: 4px 8px 0 0;
  color: #C0001A;
  font-family: 'Noto Sans Tamil', serif;
}

/* Headings inside article */
.art-body h2 {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #111;
  margin: 28px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #C0001A;
}
.art-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1A1A1A;
  margin: 22px 0 10px;
}

/* Pull quote / blockquote */
.art-body blockquote {
  border-left: 4px solid #C0001A;
  padding: 14px 20px;
  margin: 24px 0;
  background: linear-gradient(135deg, #FFF5F5 0%, #FFF9F9 100%);
  border-radius: 0 8px 8px 0;
  font-size: 16px;
  font-style: italic;
  color: #4A4A45;
  position: relative;
}
.art-body blockquote::before {
  content: '\201C';
  font-size: 48px;
  color: #C0001A;
  opacity: .25;
  position: absolute;
  top: -8px;
  left: 10px;
  line-height: 1;
  font-family: Georgia, serif;
}

/* Images inside article */
.art-body img {
  border-radius: 10px;
  margin: 20px auto;
  display: block;
  max-width: 100%;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

/* Strong / bold */
.art-body strong, .art-body b {
  font-weight: 800;
  color: #111;
}

/* Lists */
.art-body ul, .art-body ol {
  padding-left: 20px;
  margin-bottom: 18px;
}
.art-body li {
  margin-bottom: 8px;
  line-height: 1.9;
}

/* Article title enhancements */
.art-title {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: #0F0F0F;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

/* Hero image caption */
.art-img-caption {
  text-align: center;
  font-size: 12px;
  color: #9CA3AF;
  margin-top: -10px;
  margin-bottom: 16px;
  font-style: italic;
}

/* Article meta bar */
.art-meta-row {
  font-size: 12.5px;
  gap: 14px;
  padding: 10px 0;
  color: #6B6A64;
}

@media (max-width: 640px) {
  .art-body { font-size: 16px; line-height: 1.95; }
  .art-body > p:first-of-type::first-letter { font-size: 2.6em; }
  .art-title { font-size: 20px; }
}

/* ── Red border line after site header ── */
.header {
  border-bottom: 2.5px solid #C0001A !important;
}
