/* ═══════════════════════════════════════════════════════════════════════
   news/news.css
   Styles specific to the Business News feature. Everything here builds on
   the CSS variables already defined in ../assets/site.css (colors, radius,
   shadows, fonts) — no new palette or typeface is introduced, per the brief.
   ═══════════════════════════════════════════════════════════════════════ */

.news-hero { padding: 56px 0 28px; }
.news-hero .sec-label { display:block; margin-bottom:10px; }
.news-hero h1 { margin:0 0 14px; font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight:800; line-height:1.15; }
.news-hero .news-hero-sub { color:var(--muted); font-size:1.02rem; max-width:640px; margin:0 0 8px; line-height:1.6; }
.news-hero .news-updated { color:var(--muted); font-size:.8rem; display:flex; align-items:center; gap:.4rem; margin-top:18px; }
.news-hero .news-updated i { color:var(--accent-light); }

/* ── search + filters ── */
.news-controls { display:flex; flex-wrap:wrap; gap:14px; align-items:center; justify-content:space-between; margin-bottom:22px; }
.news-search { position:relative; flex:1; min-width:220px; max-width:360px; }
.news-search input { width:100%; padding:.72rem .9rem .72rem 2.4rem; border-radius:100vmax; border:1px solid var(--border-md); background:var(--ov02); color:var(--txt); font-family:inherit; font-size:.9rem; }
.news-search input::placeholder { color:var(--muted); }
.news-search input:focus { outline:none; border-color:var(--accent); box-shadow:var(--ring); }
.news-search i { position:absolute; left:.9rem; top:50%; transform:translateY(-50%); color:var(--muted); font-size:1rem; }

.news-sort { display:flex; gap:6px; border:1px solid var(--border-md); border-radius:100vmax; padding:3px; background:var(--ov02); flex-shrink:0; }
.news-sort button { border:none; background:none; color:var(--muted); font-family:inherit; font-size:.8rem; font-weight:700; padding:.5rem .85rem; border-radius:100vmax; cursor:pointer; transition:.16s; }
.news-sort button.active { background:rgba(58,184,129,.16); color:var(--accent-light); }
.news-sort button:hover:not(.active) { color:var(--txt); }

.news-filters { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:30px; }
.news-filter-chip { border:1px solid var(--border-md); background:var(--ov02); color:var(--muted); font-family:inherit; font-size:.82rem; font-weight:700; padding:.5rem .95rem; border-radius:100vmax; cursor:pointer; transition:.16s; white-space:nowrap; }
.news-filter-chip:hover { border-color:var(--accent); color:var(--accent-light); }
.news-filter-chip.active { background:linear-gradient(135deg, var(--accent), var(--accent-light)); border-color:transparent; color:#071a0f; }

/* ── West Bengal spotlight ── */
.news-wb-band { border:1px solid var(--border-hi); background:rgba(58,184,129,.06); border-radius:var(--radius); padding:22px 24px; margin-bottom:36px; }
.news-wb-band h2 { margin:0 0 4px; font-size:1.15rem; font-weight:800; display:flex; align-items:center; gap:.5rem; }
.news-wb-band h2 i { color:var(--accent-light); }
.news-wb-band .news-wb-sub { color:var(--muted); font-size:.86rem; margin:0 0 16px; }
.news-wb-empty { color:var(--muted); font-size:.9rem; padding:14px 16px; border:1px dashed var(--border-md); border-radius:var(--radius-sm); }

/* ── article grid + cards ── */
.news-grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap:18px; margin-bottom:8px; }
.news-card { display:flex; flex-direction:column; border:1px solid var(--border); background:var(--ov02); border-radius:var(--radius-sm); padding:20px; transition:border-color .2s, transform .2s; }
.news-card:hover { border-color:var(--border-hi); transform:translateY(-2px); }
.news-card-top { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:12px; }
.news-cat-tag { font-size:.68rem; font-weight:800; text-transform:uppercase; letter-spacing:1px; color:var(--accent-light); background:rgba(58,184,129,.1); border:1px solid rgba(58,184,129,.2); padding:.28rem .6rem; border-radius:100vmax; }
.news-official-tag { font-size:.68rem; font-weight:800; color:var(--muted); border:1px solid var(--border-md); padding:.28rem .55rem; border-radius:100vmax; display:inline-flex; align-items:center; gap:.3rem; }
.news-official-tag i { font-size:.78rem; }
.news-card h3 { margin:0 0 10px; font-size:1.02rem; font-weight:700; line-height:1.4; }
.news-card .news-summary { color:var(--muted); font-size:.86rem; line-height:1.6; margin:0 0 16px; flex-grow:1; }
.news-card-meta { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:auto; padding-top:14px; border-top:1px solid var(--border); }
.news-card-source { font-size:.78rem; color:var(--txt); font-weight:700; }
.news-card-time { font-size:.74rem; color:var(--muted); display:block; margin-top:2px; }
.news-read-link { display:inline-flex; align-items:center; gap:.35rem; font-size:.8rem; font-weight:800; color:var(--accent-light); padding:.5rem .8rem; border-radius:9px; border:1px solid var(--border-md); transition:.16s; white-space:nowrap; }
.news-read-link:hover { background:rgba(58,184,129,.1); border-color:var(--accent); }
.news-read-link i { font-size:.95rem; }

.news-empty-state { grid-column:1/-1; text-align:center; color:var(--muted); padding:48px 20px; border:1px dashed var(--border-md); border-radius:var(--radius); font-size:.94rem; }

.news-load-more { display:flex; justify-content:center; margin:32px 0 8px; }

/* ── disclaimer ── */
.news-disclaimer { margin-top:44px; padding:18px 20px; border:1px solid var(--border); border-radius:var(--radius-sm); background:var(--ov025); color:var(--muted); font-size:.8rem; line-height:1.7; }
.news-disclaimer strong { display:block; color:var(--txt); font-size:.84rem; margin-bottom:6px; }

/* ── breadcrumb ── */
.news-breadcrumb { font-size:.8rem; color:var(--muted); margin-bottom:18px; }
.news-breadcrumb a { color:var(--muted); }
.news-breadcrumb a:hover { color:var(--accent-light); }

@media (max-width: 640px) {
  .news-controls { flex-direction:column; align-items:stretch; }
  .news-search { max-width:none; }
  .news-grid { grid-template-columns: 1fr; }
}

/* ── Cookie / analytics consent banner ──
   This page has its own cookie-consent markup + JS (see the inline script
   in index.html) but wasn't loading tools.css, which is the only place this
   was styled. Without this, the banner rendered as unstyled, always-visible
   text sitting in normal page flow instead of a floating card. */
.cookie-consent { position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 1000; display: none; }
.cookie-consent.show { display: block; }
.cookie-consent-inner { width: min(1080px,100%); margin: 0 auto; border: 1px solid var(--border-hi); border-radius: 16px; background: var(--bg-2); box-shadow: var(--shadow); padding: 16px 18px; display: flex; align-items: center; gap: 18px; }
.cookie-consent-copy { flex: 1; min-width: 0; }
.cookie-consent-copy strong { display: block; font-size: .9rem; margin-bottom: 4px; }
.cookie-consent-copy p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.cookie-consent-copy a { color: var(--accent-light); text-decoration: underline; }
.cookie-consent-actions { display: flex; gap: 8px; flex-wrap: wrap; flex-shrink: 0; }
.cookie-btn { border: 1px solid var(--border-md); background: transparent; color: var(--txt); border-radius: 9px; padding: .62rem .9rem; font: 700 .8rem Manrope,system-ui,sans-serif; cursor: pointer; }
.cookie-btn.primary { background: linear-gradient(135deg,var(--accent),var(--accent-light)); border-color: transparent; color: #071a0f; }
@media (max-width: 680px) {
  .cookie-consent { left: 10px; right: 10px; bottom: 10px; }
  .cookie-consent-inner { align-items: stretch; flex-direction: column; gap: 12px; padding: 14px; }
  .cookie-consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-btn { width: 100%; }
  .cookie-btn.primary { grid-column: 1 / -1; }
}
