/* ================================================================
   RANews.in — style.css
   Bengali Editorial News Portal  |  2026 Design System
   ================================================================ */

/* ── Google Fonts ─────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&family=Tiro+Bangla:ital@0;1&family=Noto+Serif+Bengali:wght@400;600;700&family=Playfair+Display:wght@700;900&display=swap');

/* ================================================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ================================================================ */
:root {
  /* Brand */
  --red:        #C8232A;
  --red-dark:   #a01820;
  --red-light:  #fdf0f0;
  --red-mid:    #e8b4b6;
  --gold:       #D4A017;

  /* Light mode surfaces */
  --bg:         #FAFAF8;
  --bg2:        #F2F0EC;
  --bg3:        #E8E4DE;
  --surface:    #FFFFFF;

  /* Text */
  --text:       #1A1816;
  --text2:      #4A4540;
  --text3:      #7A756E;
  --text-inv:   #FFFFFF;

  /* Borders */
  --border:     #E0DCD4;
  --border2:    #CCC8BF;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.07), 0 2px 8px rgba(0,0,0,.04);
  --shadow:     0 2px 12px rgba(0,0,0,.08), 0 1px 3px rgba(0,0,0,.05);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.06);
  --shadow-red: 0 4px 20px rgba(200,35,42,.25);

  /* Typography */
  --font-bn:    'Hind Siliguri', 'Noto Serif Bengali', sans-serif;
  --font-serif: 'Tiro Bangla', 'Noto Serif Bengali', serif;
  --font-disp:  'Playfair Display', Georgia, serif;

  /* Shape */
  --r:   6px;
  --r-lg: 10px;
  --r-xl: 16px;

  /* Motion */
  --ease:   0.18s ease;
  --ease-lg: 0.32s cubic-bezier(.25,.8,.25,1);
}

/* ── Dark Mode Tokens ─────────────────────────────────────────── */
[data-theme="dark"] {
  --bg:        #111210;
  --bg2:       #1A1918;
  --bg3:       #232220;
  --surface:   #1A1918;
  --text:      #F0EDE8;
  --text2:     #B8B0A4;
  --text3:     #6E6860;
  --border:    #2C2A28;
  --border2:   #3A3830;
  --red-light: #2a1517;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.3);
  --shadow:    0 2px 12px rgba(0,0,0,.35);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.5);
}

/* ================================================================
   2. RESET & BASE
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-bn);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  transition: background var(--ease), color var(--ease);
}

a        { color: inherit; text-decoration: none; }
img      { max-width: 100%; display: block; }
ul       { list-style: none; }
button   { font-family: inherit; cursor: pointer; }

/* ================================================================
   3. TYPOGRAPHY SCALE
   ================================================================ */
.h1 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.3; }
.h2 { font-size: clamp(1.2rem, 2.2vw, 1.75rem); font-weight: 700; line-height: 1.35; }
.h3 { font-size: clamp(1rem, 1.8vw, 1.25rem);   font-weight: 600; line-height: 1.4; }

/* ================================================================
   4. READING PROGRESS BAR
   ================================================================ */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--red);
  z-index: 9999;
  transition: width .1s linear;
  box-shadow: 0 0 8px rgba(200,35,42,.6);
}

/* ================================================================
   5. BREAKING NEWS TICKER
   ================================================================ */
.ticker-wrap {
  background: var(--red);
  height: 38px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.ticker-label {
  background: #8B0000;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  gap: 6px;
  z-index: 2;
}

.ticker-label::after {
  content: '';
  position: absolute;
  left: 96px;
  top: 0;
  width: 24px;
  height: 100%;
  background: linear-gradient(90deg, #8B0000, transparent);
}

.ticker-track {
  display: flex;
  align-items: center;
  animation: ticker 38s linear infinite;
  white-space: nowrap;
  padding-left: 1.5rem;
}
.ticker-track:hover { animation-play-state: paused; }

.ticker-item {
  color: #fff;
  font-size: 13.5px;
  padding-right: 3rem;
  opacity: .95;
  transition: opacity .15s;
}
.ticker-item:hover { opacity: 1; }
.ticker-item::before {
  content: '▸';
  margin-right: 8px;
  font-size: 10px;
  opacity: .7;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ================================================================
   6. HEADER
   ================================================================ */
.header-wrapper {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: var(--shadow-sm);
  transition: background var(--ease), box-shadow var(--ease);
}
.header-wrapper.scrolled { box-shadow: var(--shadow); }

.meta-bar {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 5px 1.5rem;
  font-size: 11px;
  color: var(--text3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.meta-socials { display: flex; gap: 14px; }
.meta-socials a { color: var(--text3); transition: color var(--ease); font-size: 12px; }
.meta-socials a:hover { color: var(--red); }

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 1rem;
}

/* Logo */
.logo { display: flex; flex-direction: column; line-height: 1; gap: 2px; }

.logo-main {
  font-family: var(--font-disp);
  font-size: 28px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -.03em;
}
.logo-main .dot { color: var(--red); }
.logo-sub {
  font-family: var(--font-bn);
  font-size: 10.5px;
  color: var(--text3);
  letter-spacing: .03em;
}

/* Header Logo Image */
.logo-img { height: 48px; width: auto; object-fit: contain; }

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

.icon-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--r);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text2);
  transition: all var(--ease);
  font-size: 16px;
  flex-shrink: 0;
}
.icon-btn:hover {
  background: var(--bg2);
  color: var(--text);
  border-color: var(--border2);
}

.subscribe-btn {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: var(--r);
  padding: 0 16px;
  height: 38px;
  font-family: var(--font-bn);
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background var(--ease), box-shadow var(--ease);
  white-space: nowrap;
}
.subscribe-btn:hover {
  background: var(--red-dark);
  box-shadow: var(--shadow-red);
}

/* Navigation */
.nav-bar {
  border-top: 1px solid var(--border);
  background: var(--surface);
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-bar::-webkit-scrollbar { display: none; }

.nav-list {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-item a {
  display: block;
  padding: 10px 15px;
  font-family: var(--font-bn);
  font-size: 14px;
  font-weight: 600;
  color: var(--text2);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}
.nav-item a:hover,
.nav-item.active a {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* ================================================================
   7. LAYOUT
   ================================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.main-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  padding: 1.75rem 0 3rem;
  align-items: start;
}

.content-area { min-width: 0; }
.sidebar      { min-width: 0; }

/* ================================================================
   8. AD SLOTS
   ================================================================ */
.ad-slot {
  background: var(--bg2);
  border: 1px dashed var(--border2);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
  overflow: hidden;
}
.ad-leaderboard { min-height: 90px; width: 100%; margin: 10px 0; }
.ad-rectangle   { min-height: 250px; width: 100%; }
.ad-in-article  { min-height: 120px; max-width: 500px; margin: 2rem auto; }

/* ================================================================
   9. SECTION HEADING
   ================================================================ */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  position: relative;
}
.section-head::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 64px; height: 2px;
  background: var(--red);
}

.section-title {
  font-family: var(--font-bn);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title-bar {
  display: inline-block;
  width: 4px; height: 20px;
  background: var(--red);
  border-radius: 2px;
}
.see-all {
  font-size: 12px;
  color: var(--red);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 3px;
  transition: gap var(--ease);
}
.see-all:hover { gap: 6px; }

/* ================================================================
   10. ARTICLE CARDS
   ================================================================ */
.article-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow var(--ease-lg), transform var(--ease-lg);
}
.article-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

/* Thumbnail */
.card-thumb {
  position: relative;
  overflow: hidden;
  background: var(--bg3);
}
.card-thumb-link { display: block; }
.article-card.hero-main .card-thumb { aspect-ratio: 16/9; }
.article-card.hero-side  .card-thumb { aspect-ratio: 16/9; }
.article-card.grid-card  .card-thumb { aspect-ratio: 16/9; }
.article-card.list-card  .card-thumb { width: 110px; height: 80px; flex-shrink: 0; }

.card-thumb img,
.card-thumb .img-placeholder {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-card:hover .card-thumb img { transform: scale(1.05); }
.article-card:hover .card-thumb .img-placeholder { transform: scale(1.03); }

/* Category badge */
.cat-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-bn);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 3px;
  line-height: 1.4;
  z-index: 2;
}

/* Video badge */
.video-badge {
  position: absolute;
  top: 10px; right: 10px;
  background: rgba(0,0,0,.75);
  color: #fff;
  font-family: var(--font-bn);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
  backdrop-filter: blur(4px);
}

/* Card body */
.card-body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}
.article-card.hero-main .card-body { padding: 20px 22px 24px; }

.card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text3);
  flex-wrap: wrap;
}
.card-meta .dot { opacity: .4; }
.card-meta .cat-label {
  color: var(--red);
  font-weight: 600;
}

.card-title {
  font-family: var(--font-bn);
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
  flex: 1;
}
.article-card.hero-main  .card-title { font-size: 22px; }
.article-card.hero-side  .card-title { font-size: 15px; }
.article-card.grid-card  .card-title { font-size: 15px; }
.article-card.list-card  .card-title { font-size: 13.5px; }

.card-title a { transition: color var(--ease); }
.card-title a:hover { color: var(--red); }

.card-excerpt {
  font-family: var(--font-bn);
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: .02em;
  transition: gap var(--ease);
}
.read-more:hover { gap: 8px; }

/* ================================================================
   11. HERO SECTION
   ================================================================ */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
  margin-bottom: 2.5rem;
  animation: fadeUp .5s ease both;
}
.hero-main  { grid-column: 1; grid-row: 1 / 3; }
.hero-side1 { grid-column: 2; grid-row: 1; }
.hero-side2 { grid-column: 2; grid-row: 2; }

/* ================================================================
   12. ARTICLE GRID (3-col sections)
   ================================================================ */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

/* ================================================================
   13. HORIZONTAL LIST CARD (sidebar + latest)
   ================================================================ */
.list-article {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: opacity var(--ease);
}
.list-article:last-child { border-bottom: none; padding-bottom: 0; }
.list-article:hover { opacity: .72; }

.list-thumb {
  width: 80px;
  height: 60px;
  border-radius: var(--r);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg3);
}
.list-thumb img,
.list-thumb .img-placeholder {
  width: 100%; height: 100%;
  object-fit: cover;
}

.list-body { flex: 1; min-width: 0; }
.list-title {
  font-family: var(--font-bn);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--ease);
}
.list-article:hover .list-title { color: var(--red); }
.list-date {
  font-size: 11px;
  color: var(--text3);
  margin-top: 4px;
}

/* ================================================================
   14. SIDEBAR
   ================================================================ */
.sidebar-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-title {
  font-family: var(--font-bn);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--border);
  position: relative;
}
.sidebar-title::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 44px; height: 2px;
  background: var(--red);
}

/* Weather Widget */
.weather-card {
  background: linear-gradient(135deg, #0d3b8c 0%, #1565C0 60%, #1e88e5 100%);
  border-radius: var(--r-lg);
  padding: 18px;
  color: #fff;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 20px rgba(21,101,192,.3);
}
.weather-city  { font-size: 12px; opacity: .8; margin-bottom: 4px; }
.weather-temp  { font-size: 52px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.weather-desc  { font-family: var(--font-bn); font-size: 14px; opacity: .9; margin: 6px 0 14px; }
.weather-stats { display: flex; gap: 16px; }
.weather-stat  { font-size: 12px; opacity: .75; }
.weather-stat strong { display: block; font-size: 15px; font-weight: 700; opacity: 1; }
.weather-forecast {
  display: flex;
  gap: 6px;
  border-top: 1px solid rgba(255,255,255,.2);
  padding-top: 12px;
  margin-top: 12px;
}
.forecast-day {
  flex: 1;
  text-align: center;
  font-size: 11px;
  opacity: .8;
}
.forecast-day .temp { font-size: 16px; font-weight: 700; opacity: 1; display: block; margin-top: 3px; }

/* Tags */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 11px;
  font-family: var(--font-bn);
  font-size: 12.5px;
  color: var(--text2);
  cursor: pointer;
  transition: all var(--ease);
}
.tag:hover { background: var(--red-light); color: var(--red); border-color: var(--red-mid); }

/* Social Follow */
.social-follow { display: flex; flex-direction: column; gap: 8px; }
.social-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--r);
  font-family: var(--font-bn);
  font-size: 13px;
  font-weight: 600;
  border: none;
  transition: opacity var(--ease), transform var(--ease);
  cursor: pointer;
}
.social-btn:hover { opacity: .85; transform: translateX(3px); }
.social-btn.fb { background: #1877F2; color: #fff; }
.social-btn.yt { background: #FF0000; color: #fff; }
.social-btn.tw { background: #000;    color: #fff; }
.social-count  { margin-left: auto; opacity: .8; font-size: 12px; }

/* Sticky sidebar wrapper */
.sidebar-sticky { position: sticky; top: 82px; }

/* ================================================================
   15. PUSH NOTIFICATION BANNER
   ================================================================ */
.push-banner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: var(--r-lg);
  padding: 14px 16px;
  margin-bottom: 1.75rem;
  display: none;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
  animation: slideDown .4s ease;
}
.push-banner.show { display: flex; }
.push-icon { font-size: 22px; flex-shrink: 0; }
.push-text strong { font-family: var(--font-bn); font-size: 14px; font-weight: 700; color: var(--text); display: block; }
.push-text p { font-family: var(--font-bn); font-size: 12px; color: var(--text3); margin-top: 2px; }
.push-allow {
  background: var(--red); color: #fff; border: none;
  border-radius: var(--r); padding: 7px 14px;
  font-family: var(--font-bn); font-size: 13px; font-weight: 600;
  cursor: pointer; white-space: nowrap;
  transition: background var(--ease);
}
.push-allow:hover { background: var(--red-dark); }
.push-dismiss {
  background: none; border: none; color: var(--text3);
  cursor: pointer; font-size: 20px; padding: 4px;
  transition: color var(--ease); line-height: 1;
}
.push-dismiss:hover { color: var(--text); }

/* ================================================================
   16. SEARCH OVERLAY
   ================================================================ */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  z-index: 1000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 90px;
  backdrop-filter: blur(4px);
}
.search-overlay.open { display: flex; animation: fadeIn .2s ease; }

.search-box {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 22px;
  width: 100%;
  max-width: 620px;
  margin: 0 1.5rem;
  box-shadow: var(--shadow-lg);
}
.search-input-wrap { position: relative; }
.search-input {
  width: 100%;
  background: var(--bg2);
  border: 1.5px solid var(--border2);
  border-radius: var(--r);
  padding: 13px 50px 13px 18px;
  font-family: var(--font-bn);
  font-size: 16px;
  color: var(--text);
  outline: none;
  transition: border-color var(--ease);
}
.search-input:focus { border-color: var(--red); }
.search-submit {
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none; color: var(--red);
  font-size: 20px; cursor: pointer; padding: 4px;
}
.search-hints {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.search-hint-tag {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 10px;
  font-family: var(--font-bn);
  font-size: 12.5px;
  color: var(--text2);
  cursor: pointer;
  transition: all var(--ease);
}
.search-hint-tag:hover { border-color: var(--red); color: var(--red); }

/* ================================================================
   17. BREADCRUMB
   ================================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text3);
  padding: 12px 0 4px;
}
.breadcrumb a { color: var(--text3); transition: color var(--ease); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { opacity: .5; }

/* ================================================================
   18. SINGLE NEWS PAGE
   ================================================================ */
.single-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  padding: 1.75rem 0 3rem;
  align-items: start;
}

/* Article header */
.article-header { margin-bottom: 1.5rem; }
.article-cat-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: var(--font-bn);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.article-main-title {
  font-family: var(--font-bn);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 12px;
}
.article-info-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text3);
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.article-info-bar .dot { opacity: .4; }
.article-info-bar .author { color: var(--text2); font-weight: 600; }

/* Featured image */
.article-featured-img {
  width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow);
}
.article-featured-img img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

/* Article body content */
.article-content {
  font-family: var(--font-bn);
  font-size: 17px;
  line-height: 1.85;
  color: var(--text);
}
.article-content p       { margin-bottom: 1.25rem; }
.article-content h2      { font-size: 1.4rem; font-weight: 700; margin: 2rem 0 .75rem; color: var(--text); }
.article-content h3      { font-size: 1.2rem; font-weight: 700; margin: 1.5rem 0 .6rem; }
.article-content img     { border-radius: var(--r); margin: 1.25rem auto; box-shadow: var(--shadow-sm); }
.article-content a       { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.article-content blockquote {
  border-left: 4px solid var(--red);
  padding: 12px 20px;
  margin: 1.5rem 0;
  background: var(--red-light);
  border-radius: 0 var(--r) var(--r) 0;
  font-style: italic;
  color: var(--text2);
}
.article-content ul, .article-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.article-content li { margin-bottom: .4rem; }

/* Tags row */
.article-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2rem; }
.article-tag {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 11px;
  font-family: var(--font-bn);
  font-size: 12.5px;
  color: var(--text2);
  transition: all var(--ease);
}
.article-tag:hover { background: var(--red-light); color: var(--red); }

/* Share buttons */
.share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.share-label { font-family: var(--font-bn); font-size: 14px; color: var(--text2); font-weight: 600; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--r);
  font-family: var(--font-bn);
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: opacity var(--ease), transform var(--ease);
}
.share-btn:hover { opacity: .85; transform: translateY(-1px); }
.share-btn.fb  { background: #1877F2; color: #fff; }
.share-btn.tw  { background: #000; color: #fff; }
.share-btn.wa  { background: #25D366; color: #fff; }
.share-btn.copy { background: var(--bg3); color: var(--text2); border: 1px solid var(--border); }

/* Related news */
.related-section { margin-top: 2.5rem; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }

/* ================================================================
   19. PAGINATION
   ================================================================ */
.pagination { margin: 2.5rem 0; }
.pagination ul { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-family: var(--font-bn);
  font-size: 13.5px;
  color: var(--text2);
  transition: all var(--ease);
}
.page-link:hover       { border-color: var(--red); color: var(--red); }
.page-link.active      { background: var(--red); color: #fff; border-color: var(--red); }
.page-ellipsis         { display: flex; align-items: center; padding: 0 4px; color: var(--text3); }

/* ================================================================
   20. FOOTER
   ================================================================ */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding: 3rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-logo-main {
  font-family: var(--font-disp);
  font-size: 26px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -.02em;
  margin-bottom: 10px;
}
.footer-logo-main .dot { color: var(--red); }
.footer-desc {
  font-family: var(--font-bn);
  font-size: 13.5px;
  color: var(--text3);
  line-height: 1.75;
  margin: 8px 0 12px;
}
.footer-email { font-size: 12px; color: var(--text3); }

.footer-col h4 {
  font-family: var(--font-bn);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}
.footer-links li {
  margin-bottom: 8px;
  font-family: var(--font-bn);
  font-size: 13.5px;
  color: var(--text3);
  cursor: pointer;
  transition: color var(--ease);
}
.footer-links li:hover { color: var(--red); padding-left: 4px; transition: all var(--ease); }
.footer-links a { color: inherit; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text3);
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom-links { display: flex; gap: 14px; }
.footer-bottom-links a { color: var(--text3); transition: color var(--ease); }
.footer-bottom-links a:hover { color: var(--red); }

/* ================================================================
   21. ALERTS & MESSAGES
   ================================================================ */
.alert {
  padding: 12px 16px;
  border-radius: var(--r);
  font-family: var(--font-bn);
  font-size: 14px;
  margin-bottom: 1rem;
  border-left: 4px solid;
}
.alert-success { background: #f0fdf4; border-color: #22c55e; color: #15803d; }
.alert-error   { background: var(--red-light); border-color: var(--red); color: var(--red-dark); }
.alert-info    { background: #eff6ff; border-color: #3b82f6; color: #1d4ed8; }

/* ================================================================
   22. CONTENT SECTION WRAPPER
   ================================================================ */
.content-section { margin-bottom: 2.5rem; animation: fadeUp .5s ease .1s both; }

/* ================================================================
   23. ANIMATIONS
   ================================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: none; }
}

/* ================================================================
   24. RESPONSIVE — TABLET (≤960px)
   ================================================================ */
@media (max-width: 960px) {
  .main-grid, .single-layout {
    grid-template-columns: 1fr;
  }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .sidebar-sticky { position: static; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-main, .hero-side1, .hero-side2 { grid-column: 1; grid-row: auto; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}

/* ================================================================
   25. RESPONSIVE — MOBILE (≤600px)
   ================================================================ */
@media (max-width: 600px) {
  .header-top { padding: 0 1rem; height: 58px; }
  .logo-main  { font-size: 22px; }
  .meta-bar   { display: none; }
  .article-grid  { grid-template-columns: 1fr; }
  .related-grid  { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }
  .sidebar       { grid-template-columns: 1fr; }
  .subscribe-btn .btn-label { display: none; }
  .push-text p   { display: none; }
  .share-bar     { gap: 7px; }
  .article-content { font-size: 16px; }
  .article-main-title { font-size: 1.35rem; }
  .search-box    { margin: 0 1rem; }
}

/* ================================================================
   26. PRINT
   ================================================================ */
@media print {
  .header-wrapper, .ticker-wrap, .meta-bar,
  .sidebar, .footer, .ad-slot, .push-banner,
  .share-bar, .related-section { display: none !important; }
  .single-layout { grid-template-columns: 1fr; }
  body { background: #fff; color: #000; }
  .article-content { font-size: 14pt; }
}
