/* ==========================================================================
   RAJASTHAN.TODAY — Flagship Editorial Newspaper Design System
   Premium Indian Broadsheet Aesthetic + Modern International Digital Journalism
   ========================================================================== */

:root {
  --rt-navy: #0B2545;
  --rt-royal: #133C73;
  --rt-crimson: #B91C1C;
  --rt-saffron: #C2590A;
  --rt-gold: #D97706;
  --rt-paper: #FFFFFF;
  --rt-newsprint: #FAF8F3;
  --rt-tint: #F4F1EA;
  --rt-ink: #111827;
  --rt-ink-2: #374151;
  --rt-muted: #6B7280;
  --rt-rule: #DDD7C9;
  --rt-border: #E5E7EB;
  --rt-font-serif: 'Noto Serif Devanagari', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --rt-font-sans: 'Noto Sans Devanagari', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --rt-font-masthead: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --rt-container: 1360px;
  --rt-radius: 4px;
  --rt-shadow: 0 2px 10px rgba(11, 37, 69, 0.06);
  --rt-shadow-lg: 0 12px 30px rgba(11, 37, 69, 0.12);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--rt-paper);
  color: var(--rt-ink);
  font-family: var(--rt-font-sans);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--rt-crimson);
}

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--rt-container);
  margin: 0 auto;
  padding: 0 18px;
}

/* ---------- TOP UTILITY BAR ---------- */
.utility-bar {
  background: var(--rt-navy);
  color: #E5E7EB;
  font-size: 0.78rem;
  border-bottom: 2px solid var(--rt-saffron);
}

.utility-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
  padding: 5px 0;
  flex-wrap: wrap;
}

.utility-left, .utility-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.utility-link {
  color: #E5E7EB;
  font-weight: 500;
  transition: color 0.15s;
  white-space: nowrap;
}

.utility-link:hover {
  color: #FDE68A;
}

.utility-pill {
  background: var(--rt-crimson);
  color: #fff !important;
  padding: 2px 9px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.75rem;
}

.utility-pill-gold {
  background: var(--rt-saffron);
  color: #fff !important;
  padding: 2px 9px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.75rem;
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 3px;
  overflow: hidden;
}

.lang-toggle button {
  background: transparent;
  color: #E5E7EB;
  border: none;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.lang-toggle button.active {
  background: #FFFFFF;
  color: var(--rt-navy);
}

/* ---------- MAIN MASTHEAD ---------- */
.masthead {
  background: var(--rt-paper);
  padding: 16px 0 12px;
  border-bottom: 1px solid var(--rt-rule);
}

.masthead-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.masthead-meta {
  font-size: 0.8rem;
  color: var(--rt-ink-2);
  line-height: 1.45;
}

.masthead-meta strong {
  color: var(--rt-navy);
  display: block;
}

.masthead-center {
  text-align: center;
}

.masthead-brand {
  display: inline-block;
  font-family: var(--rt-font-masthead);
  font-weight: 900;
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: var(--rt-navy);
}

.masthead-brand .dot {
  color: var(--rt-crimson);
}

.masthead-brand .today {
  color: var(--rt-royal);
}

.masthead-tagline {
  margin-top: 4px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--rt-crimson);
  letter-spacing: 0.02em;
}

.masthead-tagline-sub {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--rt-muted);
  margin-top: 1px;
}

.masthead-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.header-search {
  display: flex;
  align-items: center;
  border: 1px solid var(--rt-rule);
  border-radius: var(--rt-radius);
  overflow: hidden;
  background: var(--rt-newsprint);
}

.header-search input {
  border: none;
  background: transparent;
  padding: 6px 10px;
  font-size: 0.84rem;
  width: 170px;
  outline: none;
}

.header-search button {
  background: var(--rt-navy);
  color: #fff;
  border: none;
  padding: 6px 11px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
}

/* ---------- MAIN NAVIGATION WITH DROPDOWNS ---------- */
.main-nav-wrap {
  background: var(--rt-paper);
  border-top: 3px solid var(--rt-navy);
  border-bottom: 1.5px solid var(--rt-navy);
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: 0 2px 6px rgba(11, 37, 69, 0.05);
}

.main-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 2px;
}

.nav-list::-webkit-scrollbar {
  display: none;
}

.nav-item {
  position: relative;
  flex-shrink: 0;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 10px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--rt-navy);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.nav-link:hover, .nav-link.active {
  color: var(--rt-crimson);
  border-bottom-color: var(--rt-crimson);
}

.nav-link-epaper {
  background: var(--rt-crimson);
  color: #fff !important;
  border-radius: 3px;
  padding: 6px 11px;
  margin-left: 4px;
}

.nav-link-epaper:hover {
  background: #991B1B;
  border-bottom-color: transparent;
}

.nav-dropdown {
  display: none;
  position: fixed;
  background: #fff;
  border: 1px solid var(--rt-rule);
  border-top: 3px solid var(--rt-crimson);
  box-shadow: var(--rt-shadow-lg);
  min-width: 230px;
  max-width: 480px;
  padding: 10px 0;
  z-index: 200;
}

.nav-item.open > .nav-dropdown {
  display: block;
}

.nav-dropdown a {
  display: block;
  padding: 7px 16px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--rt-ink-2);
}

.nav-dropdown a:hover {
  background: var(--rt-newsprint);
  color: var(--rt-crimson);
}

.nav-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  padding: 8px;
  max-height: 360px;
  overflow-y: auto;
}

.mobile-menu-btn {
  display: none;
  background: var(--rt-navy);
  color: #fff;
  border: none;
  padding: 7px 12px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}

/* Mobile Slide Drawer */
.mobile-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 37, 69, 0.55);
  z-index: 300;
}

.mobile-drawer-backdrop.open {
  display: block;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(86vw, 340px);
  background: #fff;
  z-index: 310;
  overflow-y: auto;
  padding: 16px;
  transform: translateX(-105%);
  transition: transform 0.22s ease;
  box-shadow: var(--rt-shadow-lg);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--rt-navy);
  margin-bottom: 12px;
}

.mobile-drawer a {
  display: block;
  padding: 9px 4px;
  border-bottom: 1px solid var(--rt-border);
  font-weight: 700;
  color: var(--rt-navy);
  font-size: 0.94rem;
}

/* ---------- BREAKING NEWS TICKER ---------- */
.breaking-bar {
  background: var(--rt-newsprint);
  border-bottom: 1px solid var(--rt-rule);
}

.breaking-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  overflow: hidden;
}

.breaking-label {
  background: var(--rt-crimson);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 2px;
  flex-shrink: 0;
}

.breaking-track-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.breaking-track {
  display: inline-flex;
  align-items: center;
  gap: 44px;
  white-space: nowrap;
  animation: rt-marquee 42s linear infinite;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--rt-ink);
}

.breaking-track:hover {
  animation-play-state: paused;
}

.breaking-item::before {
  content: "▪";
  color: var(--rt-crimson);
  margin-right: 10px;
}

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

/* ---------- BUTTONS & BADGES ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 15px;
  border-radius: var(--rt-radius);
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--rt-navy);
  color: #fff;
}

.btn-primary:hover {
  background: var(--rt-royal);
  color: #fff;
}

.btn-crimson {
  background: var(--rt-crimson);
  color: #fff;
}

.btn-crimson:hover {
  background: #991B1B;
  color: #fff;
}

.btn-saffron {
  background: var(--rt-saffron);
  color: #fff;
}

.btn-saffron:hover {
  background: #9A3412;
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--rt-navy);
  border-color: var(--rt-navy);
}

.btn-outline:hover {
  background: var(--rt-navy);
  color: #fff;
}

.btn-ghost {
  background: var(--rt-newsprint);
  color: var(--rt-ink);
  border-color: var(--rt-rule);
}

.btn-ghost:hover {
  background: var(--rt-tint);
}

.btn-sm {
  padding: 5px 10px;
  font-size: 0.78rem;
}

.cat-badge {
  display: inline-block;
  font-size: 0.71rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--rt-crimson);
}

.demo-badge {
  display: inline-block;
  font-size: 0.67rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #F59E0B;
}

.demo-editorial-notice {
  background: #FFFBEB;
  border-left: 4px solid #D97706;
  padding: 12px 15px;
  font-size: 0.88rem;
  color: #78350F;
  margin-bottom: 18px;
  border-radius: 0 4px 4px 0;
}

/* ---------- SECTION HEADERS (NEWSPAPER STYLE) ---------- */
.section-block {
  padding: 28px 0;
  border-bottom: 1px solid var(--rt-rule);
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-top: 3px solid var(--rt-navy);
  border-bottom: 1px solid var(--rt-rule);
  padding: 8px 0;
  margin-bottom: 18px;
}

.section-title {
  margin: 0;
  font-family: var(--rt-font-serif);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--rt-navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 22px;
  background: var(--rt-crimson);
}

.view-all-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--rt-royal);
}

/* ---------- EDITORIAL HERO FRONT PAGE (50% LEAD + 2 SECONDARY + 4 SUPPORTING) ---------- */
.hero-section {
  padding: 22px 0 28px;
  border-bottom: 2px solid var(--rt-navy);
}

.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1.15fr 0.95fr;
  gap: 22px;
  align-items: start;
}

.hero-lead {
  padding-right: 20px;
  border-right: 1px solid var(--rt-rule);
}

.hero-lead-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--rt-rule);
  margin-bottom: 12px;
}

.hero-lead h1 {
  font-family: var(--rt-font-serif);
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  font-weight: 900;
  line-height: 1.28;
  margin: 6px 0 10px;
  color: var(--rt-navy);
}

.hero-lead p {
  font-size: 1.02rem;
  color: var(--rt-ink-2);
  margin: 0 0 12px;
}

.hero-secondary-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-right: 20px;
  border-right: 1px solid var(--rt-rule);
}

.secondary-card {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rt-rule);
}

.secondary-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.secondary-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 8px;
  border: 1px solid var(--rt-border);
}

.secondary-card h2 {
  font-family: var(--rt-font-serif);
  font-size: 1.14rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 5px 0 6px;
  color: var(--rt-ink);
}

.secondary-card p {
  font-size: 0.87rem;
  color: var(--rt-ink-2);
  margin: 0 0 6px;
}

.hero-supporting-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.support-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rt-rule);
  align-items: start;
}

.support-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.support-card img {
  width: 96px;
  height: 70px;
  object-fit: cover;
  border: 1px solid var(--rt-border);
}

.support-card h3 {
  font-family: var(--rt-font-serif);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 2px 0 4px;
}

.meta-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--rt-muted);
}

/* ---------- E-PAPER HIGHLIGHT BANNER ---------- */
.epaper-showcase {
  background: var(--rt-newsprint);
  border: 1px solid var(--rt-rule);
  border-top: 4px solid var(--rt-navy);
  padding: 24px;
  margin: 26px 0;
}

.epaper-showcase-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: center;
}

.epaper-cover-frame {
  background: #fff;
  padding: 8px;
  border: 1px solid var(--rt-rule);
  box-shadow: var(--rt-shadow-lg);
  cursor: pointer;
}

.epaper-cover-frame canvas {
  width: 100%;
  height: auto;
  display: block;
}

.epaper-edition-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

/* ---------- NEWS GRIDS & CATEGORY CARDS ---------- */
.news-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.news-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.news-card {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--rt-border);
  padding-right: 16px;
}

.news-card:nth-child(4n), .news-grid-3 .news-card:nth-child(3n) {
  border-right: none;
  padding-right: 0;
}

.news-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--rt-border);
  margin-bottom: 10px;
}

.news-card h3 {
  font-family: var(--rt-font-serif);
  font-size: 1.04rem;
  font-weight: 800;
  line-height: 1.38;
  margin: 5px 0 6px;
}

.news-card p {
  font-size: 0.86rem;
  color: var(--rt-ink-2);
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Dual Column Category Band */
.dual-category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.featured-plus-list .feat-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 10px;
  border: 1px solid var(--rt-border);
}

.featured-plus-list h3 {
  font-family: var(--rt-font-serif);
  font-size: 1.18rem;
  font-weight: 800;
  margin: 5px 0 8px;
}

.compact-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.compact-list li {
  padding: 9px 0;
  border-top: 1px solid var(--rt-border);
  font-family: var(--rt-font-serif);
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 1.4;
}

/* District Strip */
.district-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.district-pill {
  background: var(--rt-newsprint);
  border: 1px solid var(--rt-rule);
  padding: 5px 11px;
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--rt-navy);
  transition: all 0.15s;
}

.district-pill:hover, .district-pill.active {
  background: var(--rt-navy);
  color: #fff;
  border-color: var(--rt-navy);
}

/* Special Editorial Strip */
.special-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.special-card {
  background: var(--rt-navy);
  color: #fff;
  padding: 16px;
  border-top: 4px solid var(--rt-saffron);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 132px;
  transition: transform 0.15s;
}

.special-card:hover {
  transform: translateY(-2px);
  color: #FDE68A;
}

.special-card small {
  color: #FDE68A;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.special-card strong {
  font-family: var(--rt-font-serif);
  font-size: 1.05rem;
  margin-top: 6px;
  line-height: 1.35;
}

/* Advertisement Slot (Clean, Restrained Editorial Presentation) */
.ad-slot {
  background: linear-gradient(135deg, #FAF8F3 0%, #F1ECE0 100%);
  border: 1px dashed #C7BFA9;
  padding: 14px 18px;
  margin: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ad-slot-label {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rt-muted);
  display: block;
  margin-bottom: 2px;
}

/* ---------- ARTICLE DETAIL PAGE ---------- */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 32px;
  padding: 26px 0 42px;
}

.article-headline {
  font-family: var(--rt-font-serif);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 900;
  line-height: 1.28;
  color: var(--rt-navy);
  margin: 8px 0 10px;
}

.article-subtitle {
  font-family: var(--rt-font-serif);
  font-size: 1.15rem;
  color: var(--rt-ink-2);
  margin: 0 0 16px;
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--rt-rule);
  border-bottom: 1px solid var(--rt-rule);
  margin-bottom: 18px;
}

.author-chip {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--rt-navy);
  color: #FDE68A;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
}

.article-body {
  font-family: var(--rt-font-serif);
  font-size: 1.1rem;
  line-height: 1.85;
  color: #1F2937;
}

.article-body h2, .article-body h3 {
  color: var(--rt-navy);
  margin-top: 26px;
}

.article-tools-bar {
  background: var(--rt-newsprint);
  border: 1px solid var(--rt-rule);
  border-top: 3px solid var(--rt-navy);
  padding: 16px;
  margin: 24px 0;
}

.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid var(--rt-rule);
  background: #fff;
  color: var(--rt-ink);
  cursor: pointer;
}

.share-btn:hover {
  background: var(--rt-navy);
  color: #fff;
  border-color: var(--rt-navy);
}

.share-wa { background: #15803D; color: #fff; border-color: #15803D; }
.share-fb { background: #1D4ED8; color: #fff; border-color: #1D4ED8; }
.share-x  { background: #111827; color: #fff; border-color: #111827; }
.share-li { background: #0369A1; color: #fff; border-color: #0369A1; }
.share-tg { background: #0284C7; color: #fff; border-color: #0284C7; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--rt-navy);
  color: #D1D5DB;
  border-top: 4px solid var(--rt-saffron);
  padding: 40px 0 22px;
  margin-top: 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-heading {
  color: #FDE68A;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 7px;
  font-size: 0.86rem;
}

.footer-links a:hover {
  color: #FDE68A;
}

.footer-bottom {
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: #9CA3AF;
}

/* ---------- MODALS & TOASTS ---------- */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 37, 69, 0.72);
  z-index: 400;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  background: #fff;
  border-top: 4px solid var(--rt-navy);
  width: 100%;
  max-width: 820px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 22px;
  box-shadow: var(--rt-shadow-lg);
}

.toast {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: var(--rt-navy);
  color: #fff;
  padding: 11px 18px;
  border-left: 4px solid var(--rt-saffron);
  border-radius: 3px;
  font-size: 0.86rem;
  font-weight: 600;
  z-index: 500;
  box-shadow: var(--rt-shadow-lg);
}

/* ---------- RESPONSIVE BREAKPOINTS (320px to Ultra-Wide / TV) ---------- */
@media (max-width: 1120px) {
  .hero-grid { grid-template-columns: 1.5fr 1fr; }
  .hero-supporting-col { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding-top: 16px; border-top: 1px solid var(--rt-rule); }
  .hero-secondary-col { border-right: none; padding-right: 0; }
  .news-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .special-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .masthead-grid { grid-template-columns: 1fr; text-align: center; gap: 8px; }
  .masthead-meta { display: none; }
  .masthead-actions { justify-content: center; }
  .mobile-menu-btn { display: inline-flex; }
  .nav-list { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-lead { border-right: none; padding-right: 0; border-bottom: 1px solid var(--rt-rule); padding-bottom: 16px; }
  .epaper-showcase-grid { grid-template-columns: 1fr; }
  .dual-category-grid, .article-layout { grid-template-columns: 1fr; }
  .news-grid-3 { grid-template-columns: 1fr; }
  .news-card { border-right: none; padding-right: 0; border-bottom: 1px solid var(--rt-border); padding-bottom: 14px; }
}

@media (max-width: 560px) {
  .container { padding: 0 12px; }
  .hero-supporting-col, .news-grid-4, .special-grid, .footer-grid { grid-template-columns: 1fr; }
  .header-search input { width: 135px; }
  .utility-bar-inner { font-size: 0.72rem; }
}

@media (min-width: 1680px) {
  :root { --rt-container: 1520px; }
  html { font-size: 17px; }
}

/* ---------- PRINT NEWSPAPER STYLESHEET ---------- */
@media print {
  .utility-bar, .main-nav-wrap, .breaking-bar, .article-tools-bar, .ad-slot, .site-footer, .no-print, aside {
    display: none !important;
  }
  body { background: #fff; color: #000; font-family: Georgia, serif; }
  .article-layout { display: block; padding: 0; }
  .article-body { column-count: 2; column-gap: 24px; font-size: 11pt; line-height: 1.55; }
  .masthead { border-bottom: 3px double #000; padding: 8px 0; }
}
