/* ==========================================================================
   DOT TIMES - Master Stylesheet
   Typography: Playfair Display (headings) + Inter (body)
   Palette: Background #e9e9eb, Frame #ffffff, Accents: Red #e11d1d, Green #12a150
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --ink: #111111;
  --muted: #666666;
  --faint: #888888;
  --line: #e4e4e4;
  --line-strong: #d0d0d0;
  --red: #e11d1d;
  --green: #12a150;
  --pink: #fde9e9;
  --peach: #fff8f2;
  --bg-page: #e9e9eb;
  --disp: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-card: 18px;
  --radius-frame: 42px;
}

html {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  background: var(--bg-page);
  font-family: var(--sans);
  color: var(--ink);
  padding: 40px 16px;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

/* Master Rounded Frame */
.frame {
  max-width: 1396px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: var(--radius-frame);
  padding: 42px 48px 36px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
  position: relative;
}

/* Common Icon styling */
.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: inline-block;
  vertical-align: middle;
}

.chev {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   Header / Masthead
   -------------------------------------------------------------------------- */
.top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-bottom: 24px;
}

.left-bar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.date-display {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.1px;
}

.edition-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: #555;
  background: #f0f0f2;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: -3px;
}

.sub-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--ink);
  border-radius: 20px;
  height: 32px;
  padding: 0 14px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  transition: all 0.2s ease;
}

.sub-btn:hover {
  background: var(--ink);
  color: #fff;
}

.sub-btn .icon {
  width: 12px;
  height: 12px;
}

.masthead {
  text-align: center;
}

.masthead .brand-link {
  display: inline-block;
  text-align: center;
}

.masthead-logo {
  max-height: 56px;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
}

.masthead-text .the {
  font-family: var(--disp);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.18em;
  line-height: 1;
  color: #333;
}

.masthead-text h1 {
  font-family: var(--disp);
  font-weight: 800;
  font-size: 48px;
  letter-spacing: 0.12em;
  line-height: 1;
  margin-top: 6px;
  text-transform: uppercase;
}

.top-icons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 22px;
}

.top-icons a, .top-icons button {
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.top-icons a:hover, .top-icons button:hover {
  background: #f4f4f6;
}

.top-icons .live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #dc2626;
  background: #fee2e2;
  border: 1px solid #fca5a5;
  padding: 4px 10px;
  border-radius: 14px;
  width: auto;
  height: auto;
  text-decoration: none;
  transition: all 0.2s ease;
}

.top-icons .live-pill:hover {
  background: #dc2626;
  color: #ffffff;
  border-color: #dc2626;
}

.top-icons .live-pill .live-pulse-dot {
  width: 7px;
  height: 7px;
  background: #dc2626;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.6s infinite;
  flex-shrink: 0;
}

.top-icons .live-pill:hover .live-pulse-dot {
  background: #ffffff;
}

.top-icons .lang-pill {
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 10px;
  border: 1px solid #ccc;
  border-radius: 14px;
  width: auto;
  height: auto;
}

/* Breaking Ticker */
.ticker-strip {
  display: flex;
  align-items: center;
  background: #fff8f8;
  border: 1px solid #ffdcdc;
  border-radius: 8px;
  padding: 6px 14px;
  margin-bottom: 16px;
  font-size: 13.5px;
  gap: 12px;
}

.ticker-tag {
  background: var(--red);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 3px;
  flex-shrink: 0;
}

.ticker-text {
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

.ticker-text a:hover {
  color: var(--red);
}

/* --------------------------------------------------------------------------
   Navigation Bar (Exact Order)
   -------------------------------------------------------------------------- */
nav.primary-nav {
  margin: 0 auto 24px;
  max-width: 100%;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  height: 40px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 16px;
}

nav.primary-nav::-webkit-scrollbar {
  display: none;
}

nav.primary-nav a {
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 500;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  height: 100%;
  flex-shrink: 0;
  transition: color 0.15s ease;
}

nav.primary-nav a:hover, nav.primary-nav a.active {
  color: #000;
  font-weight: 600;
}

nav.primary-nav a.live {
  color: var(--red);
  font-weight: 700;
}

nav.primary-nav a.live::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  margin-right: 6px;
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

/* --------------------------------------------------------------------------
   Homepage Master Grid Layout (Froglet Times Structure)
   Col 1: Hero (spans 4 rows on desktop)
   Col 2, 3: Live, Horoscope, Headlines, Most Read, Stock/Forex
   -------------------------------------------------------------------------- */
.main-grid {
  display: grid;
  grid-template-columns: 580fr 330fr 330fr;
  grid-template-rows: auto auto auto;
  gap: 16px 16px;
  margin-bottom: 28px;
  align-items: stretch;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #ffffff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.card-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--ink);
}

/* 1. Hero Card (Rows 1/3 in Col 1) - Dynamic Auto-Slider */
.card-hero {
  grid-column: 1;
  grid-row: 1 / 3;
  border-radius: 20px;
  background-color: #0c0e14;
  position: relative;
  color: #ffffff;
  min-height: 420px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  -webkit-user-drag: none;
  padding: 0;
  display: block;
}

.card-hero .hero-slides-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 100%;
  height: 100%;
  min-height: 420px;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  touch-action: pan-y;
}

.card-hero .hero-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 420px;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px 34px 34px;
  box-sizing: border-box;
  touch-action: pan-y;
  opacity: 1 !important;
  visibility: visible !important;
}

.card-hero .hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(4, 6, 10, 0.4) 30%, rgba(4, 6, 10, 0.9) 60%, #030508 100%);
  z-index: 1;
}

.card-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 90%;
}

.card-hero {
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.card-hero:active {
  cursor: grabbing;
}

.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.hero-breaking-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dc2626;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
  line-height: 1.2;
}

.hero-breaking-badge .pulse-dot {
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  animation: pulse 1.6s infinite;
}

.card-hero .kicker {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
  margin-bottom: 0;
  line-height: 1.2;
}

/* Dots Indicator (Kept clean at bottom right) */
.hero-dots {
  position: absolute;
  bottom: 14px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
}

.hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.hero-dot.active {
  width: 22px;
  background: #dc2626;
}

@media (max-width: 600px) {
  .card-hero {
    min-height: 350px;
    height: 360px;
    padding: 0 !important;
  }
  .card-hero .hero-slides-track {
    min-height: 350px;
    height: 360px;
  }
  .card-hero .hero-slide {
    padding: 18px 16px 20px;
    min-height: 350px;
    height: 360px;
  }
  .card-hero .hero-slide::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(3, 5, 8, 0.45) 28%, rgba(3, 5, 8, 0.94) 52%, #020406 100%);
  }
  .card-hero .hero-content {
    max-width: 100%;
    padding-right: 68px;
  }
  .card-hero .hero-badge-row {
    margin-bottom: 6px;
  }
  .card-hero h2 {
    font-size: 18.5px !important;
    line-height: 1.32 !important;
    font-weight: 700 !important;
    margin-bottom: 6px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9) !important;
  }
  .card-hero p {
    display: none !important;
  }
  .card-hero .meta-row {
    font-size: 11px !important;
    color: #cbd5e1 !important;
    gap: 4px !important;
    margin-top: 4px;
  }
  .hero-dots {
    right: 14px;
    bottom: 14px;
  }
}

.card-hero h2 {
  font-family: var(--disp);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: 0.2px;
  color: #ffffff;
}

.card-hero h2 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.card-hero p {
  font-size: 15px;
  line-height: 1.45;
  margin-top: 10px;
  color: #e0e0e4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  margin-top: 14px;
  color: #c4c4cc;
}

.meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.meta-row .icon {
  width: 13px;
  height: 13px;
}

/* 2. Live Card (Row 1, Col 2) */
.card-live {
  grid-column: 2;
  grid-row: 1;
  background: var(--pink);
  border: 1px solid #ffd8d8;
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 115px;
}

.card-live .live-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.card-live .live-badge-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
}

.card-live .live-pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.6s infinite;
}

.card-live .live-time-ago {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

.card-live .live-headline {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
  margin: 0 0 6px 0;
  color: var(--ink);
}

.card-live .live-headline a:hover {
  color: var(--red);
}

.card-live .live-excerpt {
  font-size: 12px;
  line-height: 1.4;
  color: #4b5563;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 3. Compact Headlines Card (Row 1, Col 3) */
.card-headlines-compact {
  grid-column: 3;
  grid-row: 1;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 115px;
}

.card-headlines-compact .headlines-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.card-headlines-compact .live-time-ago {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

.card-headlines-compact .headlines-headline {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
  margin: 0 0 6px 0;
  color: var(--ink);
}

.card-headlines-compact .headlines-headline a:hover {
  color: var(--red);
}

.card-headlines-compact .headlines-excerpt {
  font-size: 12px;
  line-height: 1.4;
  color: #4b5563;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 4. Peach Horoscope Widget Card (Row 2, Col 2) */
.card-horoscope {
  grid-column: 2;
  grid-row: 2;
  background: #fff8f2;
  border: 1px solid #fed7aa;
  border-radius: 16px;
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.04);
}

.home-cat-section .card-horoscope,
.rf-zodiac-system-card.card-horoscope {
  grid-column: auto !important;
  grid-row: auto !important;
  width: 100%;
  box-sizing: border-box;
}

.horo-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.horo-heading-title {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  color: #1c1917;
  letter-spacing: -0.2px;
  margin: 0;
}

.horo-pin-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  border: 1px solid #fed7aa;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  color: #9a3412;
  cursor: pointer;
  transition: all 0.15s;
}

.horo-pin-toggle-btn:hover {
  background: #fff3e8;
  border-color: #f97316;
}

.horo-pin-toggle-btn.pinned {
  background: #eef8f1;
  border-color: #bbf7d0;
  color: #166534;
}

/* 12 Signs Carousel Container */
.horo-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}

.horo-arrow-btn {
  flex: 0 0 18px;
  height: 32px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #fed7aa;
  border-radius: 6px;
  color: #9a3412;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
  padding: 0;
  z-index: 2;
}

.horo-arrow-btn:hover {
  background: #ea580c;
  color: #ffffff;
  border-color: #ea580c;
}

.horo-sign-track {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 1px;
  flex-grow: 1;
}

.horo-sign-track::-webkit-scrollbar {
  display: none;
}

.horo-sign-card {
  flex: 0 0 calc((100% - 15px) / 4);
  min-width: 54px;
  background: #ffffff;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  padding: 5px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.horo-sign-card:hover {
  border-color: #f97316;
  transform: translateY(-1px);
}

.horo-sign-card.active {
  background: #fff1e6;
  border: 1.5px solid #f97316;
  box-shadow: 0 2px 6px rgba(249, 115, 22, 0.15);
}

.horo-icon-box {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}

.horo-sign-svg {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.06));
}

.horo-sign-label {
  font-size: 10.5px;
  font-weight: 600;
  color: #9a3412;
  text-align: center;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.horo-sign-card.active .horo-sign-label {
  color: #c2410c;
  font-weight: 700;
}

/* Pinned Sign Pill Banner (Shown ONLY if user explicitly pins) */
.horo-pinned-bar {
  background: #eef8f1;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  margin: 4px 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.horo-pinned-left {
  display: flex;
  align-items: center;
  gap: 5px;
}

.horo-pin-icon {
  width: 12px;
  height: 12px;
  stroke: #166534;
  flex-shrink: 0;
}

.horo-unpin-action {
  background: none;
  border: none;
  color: #15803d;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  padding: 0 2px;
  transition: color 0.15s;
}

.horo-unpin-action:hover {
  color: #dc2626;
  text-decoration: underline;
}

/* Tabs: Underlined Minimalist Style */
.horo-tabs {
  display: flex;
  gap: 14px;
  border-bottom: 1px solid #fed7aa;
  margin-bottom: 8px;
  padding-bottom: 0;
}

.horo-tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 3px 2px 5px;
  font-size: 12px;
  font-weight: 600;
  color: #78716c;
  cursor: pointer;
  transition: all 0.15s;
  margin-bottom: -1px;
}

.horo-tab-btn:hover {
  color: #c2410c;
}

.horo-tab-btn.active {
  color: #c2410c;
  font-weight: 700;
  border-bottom-color: #ea580c;
}

/* Content Area */
.horo-content-area {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.horo-content-heading {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  color: #1c1917;
  margin: 0 0 3px 0;
  line-height: 1.3;
}

.horo-content-body {
  font-size: 12px;
  line-height: 1.45;
  color: #44403c;
  margin: 0 0 6px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.horo-read-more {
  align-self: flex-start;
  font-size: 12.5px;
  font-weight: 700;
  color: #c2410c;
  text-decoration: none;
  transition: color 0.15s;
  margin-top: auto;
}

.horo-read-more:hover {
  text-decoration: underline;
  color: #9a3412;
}

/* 5. Most Read Card (Row 2, Col 3) - Harmonized with Headlines and Grid Cards */
.card-most-read {
  grid-column: 3;
  grid-row: 2;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.card-most-read .card-label-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 10px;
}

.card-most-read .card-label {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
  line-height: 1;
}

.most-read-list {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.most-read-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s ease;
}

.most-read-row:first-child {
  padding-top: 0;
}

.most-read-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.most-read-row .mr-rank {
  display: none !important;
}

.most-read-row .mr-thumb-wrap {
  width: 72px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f1f5f9;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: block;
}

.most-read-row .mr-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.most-read-row:hover .mr-thumb-wrap img {
  transform: scale(1.06);
}

.most-read-row .mr-details {
  flex: 1;
  min-width: 0;
}

.most-read-row .mr-details h5 {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 4px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s ease;
}

.most-read-row .mr-details h5 a {
  color: inherit;
  text-decoration: none;
}

.most-read-row:hover .mr-details h5 a {
  color: var(--red);
}

.most-read-row .mr-details .reads {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--sans);
  font-weight: 500;
}

[data-theme="dark"] .card-most-read {
  background: #141824;
  border-color: #273042;
}

[data-theme="dark"] .card-most-read .card-label {
  color: #f1f5f9;
}

[data-theme="dark"] .most-read-row {
  border-color: #1f293d;
}

[data-theme="dark"] .most-read-row:hover {
  background: #1b2234;
}

[data-theme="dark"] .mr-rank {
  color: #93b2d2;
}

[data-theme="dark"] .most-read-row .mr-details h5 {
  color: #e2e8f0;
}

/* 6. TradingView Live Ticker Tape Container (Full Width, Row 3) - Theme Harmonized */
.ticker-tape-container {
  grid-column: 1 / 4;
  grid-row: 3;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--peach-border, #fed7aa);
  min-height: 48px;
  box-shadow: var(--shadow-card, 0 4px 20px rgba(0, 0, 0, 0.04));
  display: flex;
  align-items: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ticker-tape-container .tradingview-widget-container {
  width: 100%;
  height: 46px;
}

.ticker-tape-container .tradingview-widget-copyright {
  display: none !important;
}


/* Transparent shield overlay: completely prevents click redirection to TradingView */
.ticker-tape-shield {
  position: absolute;
  inset: 0;
  z-index: 50;
  background: transparent;
  cursor: default;
  pointer-events: auto;
}

/* --------------------------------------------------------------------------
   Section Heading Row (Standard Editorial Theme)
   -------------------------------------------------------------------------- */
.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 10px;
  margin-top: 40px;
  margin-bottom: 20px;
}

.section-heading-row h3 {
  font-family: var(--disp);
  font-weight: 800;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.section-heading-row a {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.section-heading-row a:hover {
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   Web Stories Slider Strip (Compact, True Vertical Ratio)
   -------------------------------------------------------------------------- */
.web-stories-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 14px 2px;
  margin-bottom: 28px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.web-stories-grid::-webkit-scrollbar {
  display: none;
}

/* Individual Story Card (Compact 190px x 320px Portrait Format) */
.story-card-item {
  flex: 0 0 190px;
  width: 190px;
  height: 320px;
  border-radius: 14px;
  overflow: hidden;
  background: #0f172a;
  position: relative;
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease;
  user-select: none;
  display: block;
  scroll-snap-align: start;
}

.story-card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.story-card-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}

.story-card-item:hover img {
  transform: scale(1.05);
}

.story-card-item .story-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.7) 70%, rgba(0,0,0,0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px 12px;
  color: #ffffff;
  box-sizing: border-box;
}

.story-card-item .story-badge {
  align-self: flex-start;
  background: var(--red, #e11d1d);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 2.5px 7px;
  border-radius: 3px;
  margin-bottom: 7px;
  display: inline-block;
}

.story-card-item h4 {
  font-family: var(--disp, 'Playfair Display', Georgia, serif);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.32;
  color: #ffffff;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}

/* Web Stories Directory Grid (/web-stories page) */
.web-stories-directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 18px;
  margin-bottom: 48px;
}

.web-stories-directory-grid .story-card-item {
  width: 100%;
  height: 310px;
  flex: none;
}

/* --------------------------------------------------------------------------
   Category Sections (4 Cards Each)
   -------------------------------------------------------------------------- */
.category-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 44px;
}

.cat-article-card {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.cat-article-card .thumb-wrap {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #f0f0f2;
}

.cat-article-card .thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.cat-article-card:hover .thumb-wrap img {
  transform: scale(1.03);
}

.cat-tag,
.cat-article-card .cat-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
  font-family: var(--sans);
}

.cat-article-card h4 {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.35;
  margin-bottom: 8px;
}

.cat-article-card h4 a {
  color: var(--ink);
  text-decoration: none;
}

.cat-article-card h4 a:hover {
  color: var(--red);
}

.cat-article-card p {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.45;
  color: #555;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cat-article-card .byline {
  font-size: 11.5px;
  color: var(--muted);
  font-family: var(--sans);
  font-weight: 400;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* --------------------------------------------------------------------------
   Article Detail Page
   -------------------------------------------------------------------------- */
.article-breadcrumbs {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  overflow: hidden;
}

@media (max-width: 600px) {
  .article-breadcrumbs .breadcrumb-title,
  .article-breadcrumbs span:nth-of-type(2) {
    display: none;
  }
}

.article-breadcrumbs a:hover {
  color: var(--ink);
}

.article-kicker {
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

.article-title-h1 {
  font-family: var(--disp);
  font-weight: 800;
  font-size: 40px;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.article-excerpt {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: #475569;
  margin-top: 14px;
  margin-bottom: 20px;
  padding: 10px 14px;
  background: #f8fafc;
  border-left: 3px solid #dc2626;
  border-radius: 0 6px 6px 0;
  font-weight: 400;
}

[data-theme="dark"] .article-excerpt {
  background: #111520;
  color: #94a3b8;
  border-left-color: #dc2626;
}

@media (max-width: 600px) {
  .article-excerpt {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    padding: 8px 12px !important;
    margin-top: 10px !important;
    margin-bottom: 16px !important;
  }
}

.article-hero-media {
  margin: 0 0 16px 0;
  width: 100%;
}

.article-hero-media img {
  width: 100%;
  border-radius: 8px;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.article-hero-media figcaption {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: #6b7280;
  margin-top: 8px;
  margin-bottom: 0;
  text-align: left;
  font-style: normal;
}

[data-theme="dark"] .article-hero-media figcaption {
  color: #9ca3af;
}

.article-meta-bar {
  border-top: 1px dashed #d1d5db;
  border-bottom: 1px dashed #d1d5db;
  padding: 9px 0;
  margin: 12px 0 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 13.5px;
}

.meta-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.meta-author {
  color: #f04a2a;
  font-weight: 600;
}

.meta-sep {
  color: #9ca3af;
}

.meta-date {
  color: #374151;
}

.meta-share-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #111827;
  display: flex;
  align-items: center;
  padding: 6px;
  border-radius: 50%;
  transition: background 0.15s;
}

.meta-share-btn:hover {
  background: #f3f4f6;
  color: #f04a2a;
}

.google-follow-box {
  background: #f9fafb;
  border: 1px solid #f3f4f6;
  border-radius: 8px;
  padding: 10px 18px;
  margin: 18px 0 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14.5px;
  color: #374151;
}

.google-follow-btn {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: all 0.15s;
}

.google-follow-btn:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  align-items: start;
}

.article-body {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18.5px;
  line-height: 1.8;
  color: #1f2937;
}

/* Proper outlined drop cap matching reference design */
.article-body > p:first-of-type::first-letter,
.article-body p:first-of-type::first-letter {
  float: left;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 4.3rem;
  line-height: 0.8;
  font-weight: 800;
  margin-right: 12px;
  margin-top: 5px;
  margin-bottom: 0px;
  color: #e53e1a;
  -webkit-text-stroke: 2.2px #181818;
  paint-order: stroke fill;
  text-transform: uppercase;
}

/* Prevent broken ligatures/matras on Hindi/Devanagari text */
[lang="hi"] .article-body > p:first-of-type::first-letter,
[lang="hi"] .article-body p:first-of-type::first-letter,
html[lang="hi"] .article-body p:first-of-type::first-letter {
  float: none;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  margin: 0;
  color: inherit;
  -webkit-text-stroke: 0;
}

[data-theme="dark"] .article-excerpt {
  color: #9ca3af;
}

[data-theme="dark"] .article-meta-bar {
  border-color: #374151;
}

[data-theme="dark"] .meta-author {
  color: #ff6b4a;
}

[data-theme="dark"] .meta-date {
  color: #d1d5db;
}

[data-theme="dark"] .meta-share-btn {
  color: #f3f4f6;
}

[data-theme="dark"] .meta-share-btn:hover {
  background: #1f293d;
}

[data-theme="dark"] .google-follow-box {
  background: #1b202c;
  border-color: #273042;
  color: #e5e7eb;
}

[data-theme="dark"] .google-follow-btn {
  background: #242c3d;
  border-color: #374151;
  color: #f3f4f6;
}

[data-theme="dark"] .article-body {
  color: #e5e7eb;
}

[data-theme="dark"] .article-body > p:first-of-type::first-letter,
[data-theme="dark"] .article-body p:first-of-type::first-letter {
  color: #ff5e3a;
  -webkit-text-stroke: 2.2px #111827;
  paint-order: stroke fill;
}

.article-body p {
  margin-bottom: 22px;
}

.article-body h2, .article-body h3, .article-body h4 {
  font-family: var(--disp);
  font-weight: 700;
  margin: 32px 0 14px;
  color: var(--ink);
}

.article-body blockquote {
  border-left: 4px solid var(--red);
  padding: 12px 20px;
  margin: 28px 0;
  font-family: var(--disp);
  font-style: italic;
  font-size: 21px;
  color: #333;
  background: #fafafa;
}

.article-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 36px 0 24px;
}

.tag-pill {
  background: #f0f0f3;
  color: #444;
  font-size: 12.5px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 14px;
  transition: all 0.15s;
}

.tag-pill:hover {
  background: var(--ink);
  color: #fff;
}

/* Author Bio Box */
.author-box {
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  margin: 36px 0;
  display: flex;
  gap: 20px;
  align-items: center;
}

.author-box img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.author-box h4 {
  font-family: var(--disp);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.author-box p {
  font-size: 13.5px;
  line-height: 1.5;
  color: #555;
}

/* Sidebar Articles */
.sidebar-box {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  background: #fff;
  margin-bottom: 28px;
}

.sidebar-box h4 {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 18px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.sidebar-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.sidebar-item:last-child {
  border-bottom: none;
}

.sidebar-item img {
  width: 80px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.sidebar-item h5 {
  font-family: var(--disp);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.sidebar-item h5 a:hover {
  color: var(--red);
}

/* --------------------------------------------------------------------------
   Listing / Category / Tag / Search Pages
   -------------------------------------------------------------------------- */
.archive-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 28px;
}

.category-pills-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 0 14px 0;
  margin-bottom: 16px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.category-pills-bar::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  background: #f1f5f9;
  color: #475569;
  text-decoration: none;
  transition: all 0.15s ease;
  border: 1px solid #e2e8f0;
}

.cat-pill:hover,
.cat-pill.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.archive-title-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 10px 0 20px 0;
}

.archive-title-wrap h1 {
  font-family: var(--disp);
  font-size: 32px;
  font-weight: 800;
  margin: 0;
  white-space: nowrap;
  letter-spacing: -0.5px;
}

.archive-rule-lines {
  flex: 1;
  height: 8px;
  border-top: 3px double #0f172a;
  border-bottom: 1px solid #cbd5e1;
  opacity: 0.85;
}

.archive-header h1 {
  font-family: var(--disp);
  font-weight: 800;
  font-size: 36px;
  text-transform: uppercase;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.pager-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 36px 0;
}

.pager-btn {
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  background: #fff;
  color: var(--ink);
  transition: all 0.15s;
}

.pager-btn:hover, .pager-btn.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* --------------------------------------------------------------------------
   Horoscope Directory & Full Page
   -------------------------------------------------------------------------- */
.horoscope-grid-12 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 32px 0 48px;
}

.sign-card {
  border: 1px solid #ebd9c8;
  background: var(--peach);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.sign-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.sign-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  background: #775533;
  color: #fff;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.sign-card h3 {
  font-family: var(--disp);
  font-size: 22px;
  font-weight: 700;
  color: #332211;
  margin-bottom: 4px;
}

.sign-card .date-range {
  font-size: 12px;
  color: #776655;
  margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   Search Modal / Bar
   -------------------------------------------------------------------------- */
.search-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.search-modal.open {
  display: flex;
}

.search-box-card {
  background: #fff;
  border-radius: 20px;
  max-width: 620px;
  width: 90%;
  padding: 32px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
  position: relative;
}

.search-box-card .close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 24px;
  line-height: 1;
}

.search-input-wrap {
  display: flex;
  border: 2px solid var(--ink);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 16px;
}

.search-input-wrap input {
  flex-grow: 1;
  border: 0;
  padding: 14px 18px;
  font-size: 16px;
  outline: none;
}

.search-input-wrap button {
  background: var(--ink);
  color: #fff;
  padding: 0 24px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Footer (4 Columns + Bottom Bar)
   -------------------------------------------------------------------------- */
footer.main-footer {
  border-top: 1px solid var(--line-strong);
  margin-top: 60px;
  padding-top: 42px;
}

.footer-cols {
  display: grid;
  grid-template-columns: 360px 1.4fr 1.1fr;
  gap: 28px;
  margin-bottom: 20px;
}

.footer-col h5 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--ink);
}

.footer-sub-group {
  margin-bottom: 16px;
}

.footer-divider-line {
  display: none;
  height: 1px;
  background: var(--line);
  margin: 16px 0;
}

/* Multi-Column Links Grid (Matches reference image arrangement) */
.footer-links-grid {
  display: grid;
  column-gap: 14px;
  row-gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-grid.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-links-grid.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-links-grid li {
  margin: 0;
}

.footer-links-grid a {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  display: inline-block;
  transition: color 0.15s ease;
}

.footer-links-grid a:hover {
  color: var(--ink);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 7px;
}

.footer-col a {
  color: var(--muted);
  font-size: 13px;
  transition: color 0.15s;
}

.footer-col a:hover {
  color: var(--ink);
}

@media (max-width: 600px) {
  footer.main-footer {
    margin-top: 28px;
    padding-top: 20px;
  }
  .footer-cols {
    gap: 16px !important;
    margin-bottom: 16px !important;
  }
  .footer-col h5 {
    font-size: 12px !important;
    margin-bottom: 6px !important;
    letter-spacing: 0.6px;
  }
  .footer-sub-group {
    margin-bottom: 14px !important;
  }
  .footer-divider-line {
    display: block;
  }
  .footer-links-grid.grid-3,
  .footer-links-grid.grid-2 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    column-gap: 8px !important;
    row-gap: 6px !important;
  }
  .footer-links-grid a {
    font-size: 12px !important;
    line-height: 1.35 !important;
  }
}

@media (max-width: 380px) {
  .footer-links-grid.grid-3,
  .footer-links-grid.grid-2 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    column-gap: 6px !important;
    row-gap: 5px !important;
  }
  .footer-links-grid a {
    font-size: 11.5px !important;
  }
}

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 12px 0 16px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--faint);
}

/* --------------------------------------------------------------------------
   Responsive Media Queries (1100px and 700px)
   Strict: No horizontal overflow on 390px phones (min-width: 0 on grid children)
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  body {
    padding: 16px 8px;
  }
  .frame {
    padding: 24px 20px;
    border-radius: 26px;
    max-width: 100%;
    overflow-x: clip;
  }
  .top {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    row-gap: 12px;
    column-gap: 8px;
    align-items: center;
    padding-bottom: 14px;
  }
  .masthead {
    grid-column: 1 / -1;
    grid-row: 1;
    margin: 0 0 6px 0;
    text-align: center;
  }
  .left-bar {
    grid-column: 1;
    grid-row: 2;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
  }
  .left-bar .date-display {
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
    color: var(--muted);
  }
  .left-bar .edition-badge {
    font-size: 10px;
    padding: 2px 6px;
    margin: 0;
    white-space: nowrap;
  }
  /* Hide the bulky 160px newsletter button in the top mobile utility row */
  .left-bar .sub-btn {
    display: none;
  }
  .top-icons {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 0;
  }
  .top-icons .live-pill {
    padding: 3px 8px;
    font-size: 11px;
    gap: 4px;
    white-space: nowrap;
  }
  .top-icons .lang-pill {
    padding: 3px 8px;
    font-size: 11.5px;
    height: 28px;
    line-height: 20px;
  }
  .top-icons a:not(.live-pill):not(.lang-pill),
  .top-icons button {
    width: 28px;
    height: 28px;
    padding: 4px;
  }
  .top-icons .icon {
    width: 15px;
    height: 15px;
  }
  .main-grid {
    display: flex;
    flex-direction: column;
  }
  .card-hero {
    min-height: 380px;
  }
  .market-strip {
    grid-template-columns: 1fr;
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-cols {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .horoscope-grid-12 {
    grid-template-columns: repeat(2, 1fr);
  }
  .web-stories-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  body {
    padding: 8px 4px;
  }
  .frame {
    padding: 18px 14px;
    border-radius: 20px;
  }
  .masthead-logo {
    max-height: 42px;
  }
  .masthead-text h1 {
    font-size: 32px;
  }
  .most-read-grid {
    grid-template-columns: 1fr;
  }
  .most-read-item {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
    margin-bottom: 12px;
  }
  .category-cards-grid {
    grid-template-columns: 1fr;
  }
  /* Mobile Horizontal Web Stories Slider (|| | | | swipeable compact cards) */
  .web-stories-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch;
    gap: 12px !important;
    padding-bottom: 12px;
    margin: 0 -10px 20px -10px;
    padding-left: 10px;
    padding-right: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .web-stories-grid::-webkit-scrollbar {
    display: none;
  }
  .web-stories-grid .story-card-item {
    flex: 0 0 135px !important;
    width: 135px !important;
    height: 225px !important;
    aspect-ratio: unset !important;
    border-radius: 12px;
    scroll-snap-align: start;
  }
  .web-stories-grid .story-card-item .story-overlay {
    padding: 10px 8px;
  }
  .web-stories-grid .story-card-item h4 {
    font-family: var(--disp, 'Playfair Display', Georgia, serif);
    font-size: 12px;
    line-height: 1.3;
    -webkit-line-clamp: 3;
  }
  .web-stories-grid .story-card-item .story-badge {
    font-size: 8.5px;
    padding: 2px 5px;
    margin-bottom: 5px;
  }
  /* Web stories directory page (/web-stories): 2 columns grid on mobile instead of 1 */
  .web-stories-directory-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .web-stories-directory-grid .story-card-item {
    aspect-ratio: 9 / 16 !important;
    height: auto !important;
  }
  .archive-grid {
    grid-template-columns: 1fr;
  }
  .footer-cols {
    grid-template-columns: 1fr;
    gap: 16px !important;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .horoscope-grid-12 {
    grid-template-columns: 1fr;
  }
  .article-title-h1 {
    font-size: 28px;
  }
  .article-byline-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* --------------------------------------------------------------------------
   Photo News / Gallery Cards & Social Share Bar
   -------------------------------------------------------------------------- */
.photo-news-container {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin: 28px 0;
}

.photo-news-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.photo-news-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.photo-card-media {
  position: relative;
  width: 100%;
  background: #0f172a;
  cursor: pointer;
  overflow: hidden;
}

.photo-card-media img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.photo-card-media:hover img {
  transform: scale(1.02);
}

.photo-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.photo-watermark {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.photo-expand-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.photo-card-media:hover .photo-expand-hint {
  opacity: 1;
}

.photo-caption-bar {
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  color: #475569;
  font-size: 13px;
  padding: 8px 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.photo-desc-box {
  padding: 16px 20px 14px;
  font-size: 16px;
  line-height: 1.7;
  color: #1e293b;
  font-style: normal;
}

.photo-desc-box p {
  margin: 0;
}

/* Social Row underneath each slide card */
.photo-social-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-top: 1px solid #f1f5f9;
  background: #fafafa;
  gap: 12px;
  flex-wrap: wrap;
}

.photo-social-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.photo-social-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Channel pill buttons */
.channel-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.channel-btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.whatsapp-channel-btn {
  background: #25d366;
  color: #ffffff;
}

.google-news-btn {
  background: #1a73e8;
  color: #ffffff;
}

/* Circular share buttons */
.circle-share-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.circle-share-btn:hover {
  transform: scale(1.08);
}

.share-wa { background: #25d366; }
.share-fb { background: #1877f2; }
.share-copy { background: #ef4444; }
.share-x { background: #000000; border: 1px solid rgba(255, 255, 255, 0.25); }

/* --------------------------------------------------------------------------
   Fullscreen Photo Lightbox Modal
   -------------------------------------------------------------------------- */
.photo-lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  max-height: 100vh;
  background: #0a0c10;
  z-index: 999999;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  user-select: none;
}

.photo-lightbox.active {
  display: flex;
}

/* Top bar: counter and close button */
.lightbox-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  z-index: 20;
  flex-shrink: 0;
}

.lightbox-counter {
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  line-height: 1;
}

.lightbox-close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.lightbox-close-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.08);
}

/* Center main stage with image & navigation arrows */
.lightbox-main {
  flex: 1;
  min-height: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  overflow: hidden;
}

.lightbox-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
}

.lightbox-image-wrap img {
  max-width: 90vw;
  max-height: calc(100vh - 165px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  transition: opacity 0.2s ease;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.lightbox-nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* Bottom Bar: pause/play button, yellow title, white description, real social icons */
.lightbox-bottombar {
  background: rgba(14, 17, 23, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 20;
  flex-shrink: 0;
  min-height: 64px;
  box-sizing: border-box;
}

.lightbox-play-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.lightbox-play-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
  transform: scale(1.06);
}

.lightbox-text {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #ffffff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lightbox-caption {
  color: #facc15; /* Vibrant gold/yellow matching Screenshot 2 */
  font-weight: 700;
  margin-right: 8px;
  display: inline;
}

.lightbox-desc {
  color: #f1f5f9;
  font-weight: 400;
  display: inline;
}

.lightbox-social {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .lightbox-nav-btn {
    width: 38px;
    height: 38px;
  }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-main { padding: 0 10px; }
  .lightbox-bottombar {
    padding: 10px 14px;
    gap: 10px;
  }
  .lightbox-text {
    font-size: 12.5px;
    line-height: 1.4;
    -webkit-line-clamp: 2;
  }
  .lightbox-play-btn {
    width: 34px;
    height: 34px;
  }
  .circle-share-btn {
    width: 32px;
    height: 32px;
  }
}

/* --------------------------------------------------------------------------
   Interactive FAQ Accordion Section (Google FAQPage Schema compatible)
   -------------------------------------------------------------------------- */
.article-faq-wrapper {
  margin: 40px 0 30px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
}

.faq-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 12px;
}

.faq-section-header h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: #0f172a;
}

.faq-section-header svg {
  color: #0284c7;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-accordion-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-accordion-item[open] {
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 15.5px;
  color: #1e293b;
  cursor: pointer;
  user-select: none;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  width: 18px;
  height: 18px;
  stroke: #64748b;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-accordion-item[open] .faq-chevron {
  transform: rotate(180deg);
  stroke: #0284c7;
}

.faq-answer {
  padding: 0 18px 16px;
  font-size: 14.5px;
  line-height: 1.65;
  color: #475569;
  border-top: 1px solid #f1f5f9;
  margin-top: 4px;
}

.faq-answer p {
  margin: 8px 0 0;
}

/* --------------------------------------------------------------------------
   Article CMS Components: Embeds, Media Figures & Also Read Interlinks
   -------------------------------------------------------------------------- */
.article-embed-wrapper {
  margin: 28px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  background: #000000;
}

.article-embed-wrapper.embed-youtube {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
}

.article-embed-wrapper.embed-youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.article-embed-wrapper.embed-instagram,
.article-embed-wrapper.embed-twitter {
  background: transparent;
  box-shadow: none;
  display: flex;
  justify-content: center;
  margin: 28px auto;
  max-width: 550px;
}

.article-embed-wrapper.embed-instagram iframe,
.article-embed-wrapper.embed-twitter iframe {
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  width: 100% !important;
  max-width: 540px;
  background: #ffffff;
}

/* In-body Media Figure with Caption */
.article-media-figure {
  margin: 28px 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.article-media-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px 10px 0 0;
}

.article-media-figure .media-caption {
  font-size: 13px;
  color: #64748b;
  font-style: italic;
  padding: 8px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-top: none;
  border-radius: 0 0 10px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-media-figure.align-left {
  float: left;
  width: 48%;
  margin: 8px 24px 18px 0;
}

.article-media-figure.align-right {
  float: right;
  width: 48%;
  margin: 8px 0 18px 24px;
}

.article-media-figure.align-center {
  text-align: center;
}

/* Unified Also Read Callout Box (Used for both in-between and bottom Also Read) */
.article-also-read-box {
  margin: 16px 0;
  padding: 12px 16px;
  background: #fff8f8;
  border-left: 4px solid var(--red, #e11d1d);
  border-radius: 0 8px 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  transition: transform 0.15s ease, background 0.15s ease;
}

.article-also-read-box:hover {
  background: #fef2f2;
  transform: translateX(2px);
}

.article-also-read-box .also-read-tag,
.article-also-read-box .also-read-badge {
  background: var(--red, #e11d1d);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  line-height: 1.2;
}

.article-also-read-box .also-read-thumb {
  width: 58px;
  height: 42px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.article-also-read-box .also-read-link {
  font-family: var(--disp, 'Playfair Display', serif);
  font-weight: 700;
  color: var(--ink, #111111);
  text-decoration: none;
  line-height: 1.35;
  font-size: 15px;
  transition: color 0.15s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-also-read-box .also-read-link:hover {
  color: var(--red, #e11d1d);
  text-decoration: underline;
}

[data-theme="dark"] .article-also-read-box {
  background: #141822;
  border-left-color: #dc2626;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .article-also-read-box:hover {
  background: #1a202d;
}

[data-theme="dark"] .article-also-read-box .also-read-link {
  color: #f1f5f9;
}

[data-theme="dark"] .article-also-read-box .also-read-link:hover {
  color: #ff5e3a;
}

@media (max-width: 600px) {
  .article-also-read-box {
    padding: 10px 12px;
    gap: 10px;
    margin: 12px 0;
  }
  .article-also-read-box .also-read-link {
    font-size: 13.5px;
  }
  .article-also-read-box .also-read-thumb {
    width: 48px;
    height: 36px;
  }
}

/* Bottom Also Read Section (Clean List Style Matching Sidebar & Related Stories) */
.article-also-read-section {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  background: #ffffff;
  margin: 28px 0 24px 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.also-read-header-title {
  font-family: var(--disp, 'Playfair Display', serif);
  font-weight: 800;
  font-size: 17px;
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 8px;
  margin: 0 0 14px 0;
  letter-spacing: -0.2px;
}

.also-read-list {
  display: flex;
  flex-direction: column;
}

.also-read-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.also-read-row:first-child {
  padding-top: 0;
}

.also-read-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.also-read-thumb-wrap {
  width: 82px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f5f9;
  display: block;
}

.also-read-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}

.also-read-row:hover .also-read-thumb-wrap img {
  transform: scale(1.05);
}

.also-read-details {
  flex: 1;
  min-width: 0;
}

.also-read-details h5 {
  font-family: var(--disp, 'Playfair Display', serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 5px 0;
  color: var(--ink);
}

.also-read-details h5 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.also-read-details h5 a:hover {
  color: var(--red);
  text-decoration: underline;
}

.also-read-meta {
  font-size: 11.5px;
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Dark Mode for Bottom Also Read */
[data-theme="dark"] .article-also-read-section {
  background: #111520;
  border-color: #262e3d;
}

[data-theme="dark"] .also-read-header-title {
  color: #f1f5f9;
  border-bottom-color: #f1f5f9;
}

[data-theme="dark"] .also-read-row {
  border-bottom-color: #262e3d;
}

[data-theme="dark"] .also-read-details h5,
[data-theme="dark"] .also-read-details h5 a {
  color: #f1f5f9;
}

[data-theme="dark"] .also-read-details h5 a:hover {
  color: #ff5e3a;
}

@media (max-width: 600px) {
  .article-also-read-section {
    padding: 14px 16px;
    margin: 20px 0;
    border-radius: 12px;
  }
  .also-read-header-title {
    font-size: 15px;
    margin-bottom: 10px;
    padding-bottom: 6px;
  }
  .also-read-row {
    gap: 10px;
    padding: 9px 0;
  }
  .also-read-thumb-wrap {
    width: 72px;
    height: 52px;
  }
  .also-read-details h5 {
    font-size: 13.5px;
    line-height: 1.32;
  }
}

/* ==========================================================================
   Live Blog & Real-Time Sports Scorecard Styles (News18 & Prabhat Khabar)
   ========================================================================== */

.live-portal-container {
  width: 100%;
}

.live-timeline-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.live-timeline-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.live-timeline-card.key-event {
  background: #fffdf5 !important;
}

.live-update-body p {
  margin: 0 0 10px 0;
}

.live-update-body p:last-child {
  margin-bottom: 0;
}

.live-update-body blockquote {
  border-left: 3px solid var(--red);
  padding-left: 12px;
  margin: 8px 0;
  color: #4b5563;
  font-style: italic;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 880px) {
  .live-portal-container > div[style*="grid-template-columns: 2fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .live-scoreboard-banner > div[style*="grid-template-columns: 1fr auto 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .live-scoreboard-banner > div[style*="grid-template-columns: 1fr auto 1fr"] > div:nth-child(2) {
    display: none !important;
  }
  .live-scoreboard-banner > div[style*="grid-template-columns: 1fr auto 1fr"] > div:nth-child(3) {
    justify-content: flex-start !important;
    text-align: left !important;
    flex-direction: row-reverse !important;
  }
}

/* ==============================================================
   EDITORIAL HOROSCOPE & ASTROLOGY HUB (HOMEPAGE CENTERPIECE)
   Clean, matching all other sections with zero orange borders
   ============================================================== */
.editorial-horoscope-hub {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1.62fr 1fr;
  gap: 28px;
  align-items: stretch;
  box-sizing: border-box;
  width: 100%;
}

/* Left Spotlight Reading Column */
.hub-spotlight-col {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.hub-spotlight-layout {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.hub-spotlight-text {
  flex: 1;
  min-width: 0;
}

/* Celestial Zodiac Wheel Showcase Card */
.hub-spotlight-wheel {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 14px;
  background: linear-gradient(180deg, #fffcf8 0%, #faf5ee 100%);
  border: 1px solid #fed7aa;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.04);
  transition: all 0.25s ease;
}

.hub-spotlight-wheel:hover {
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.08);
  transform: translateY(-2px);
}

.hub-wheel-disc-wrap {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-wheel-meta {
  margin-top: 8px;
  text-align: center;
}

.hub-wheel-en {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #78350f;
  line-height: 1.2;
}

.hub-wheel-hi {
  font-size: 12px;
  font-weight: 600;
  color: #92400e;
  margin-top: 1px;
}

/* Celestial Smooth Continuous Rotating Dial */
.celestial-rotating-dial {
  transform-box: view-box;
  transform-origin: 110px 110px;
  animation: celestial-dial-spin 60s linear infinite;
  will-change: transform;
}

@keyframes celestial-dial-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .celestial-rotating-dial {
    animation: none;
  }
}

.hub-pin-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fafaf9;
  border: 1px solid #e7e5e4;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: #57534e;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hub-pin-action-btn:hover {
  background: #f4f4f5;
  border-color: #d4d4d8;
  color: var(--ink);
}

.hub-pin-action-btn.pinned {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.hub-hero-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.hub-emblem-wrap {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-emblem-svg {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.hub-title-box h3 {
  margin: 0 0 2px 0;
  font-family: var(--serif, Georgia, serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.hub-body-text {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 16px 0;
  max-width: 680px;
}

/* 3 Quick Vitals Chips */
.hub-vitals-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.hub-vital-chip {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.hub-vital-chip .v-label {
  color: #64748b;
  font-weight: 500;
}

.hub-vital-chip .v-value {
  color: #1c1917;
  font-weight: 700;
}

.hub-action-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hub-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hub-primary-cta:hover {
  background: #27272a;
  transform: translateY(-1px);
}

.hub-secondary-cta {
  font-size: 13px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.hub-secondary-cta:hover {
  text-decoration: underline;
}

/* Right Matrix Column: 12 Signs Grid */
.hub-matrix-col {
  background: #fafaf9;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
}

.hub-matrix-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.hub-matrix-heading h4 {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #44403c;
  text-transform: uppercase;
}

.hub-matrix-heading a {
  font-size: 11.5px;
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
}

.hub-matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.hub-sign-tile {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.hub-sign-tile:hover {
  border-color: #a1a1aa;
  background: #f4f4f5;
  transform: translateY(-1px);
}

.hub-sign-tile.active {
  background: #f1f5f9;
  border: 1.5px solid var(--ink);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.hub-tile-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  margin-bottom: 3px;
}

.hub-tile-name-en {
  font-size: 11.5px;
  font-weight: 700;
  color: #1c1917;
  line-height: 1.1;
}

.hub-tile-name-hi {
  font-size: 10px;
  color: #78716c;
  line-height: 1.1;
  margin-top: 1px;
}

/* ==============================================================
   CATEGORY CUSTOM LAYOUTS (INDIA, ENTERTAINMENT, LIFESTYLE)
   Box arrangements matching user reference images
   ============================================================== */

/* 1. ENTERTAINMENT 3-COLUMN LAYOUT (Image 1 reference) */
.cat-layout-entertainment {
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 0.85fr;
  gap: 20px;
  align-items: start;
}

.ent-lead-card {
  display: flex;
  flex-direction: column;
}

.ent-lead-card .thumb-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}

.ent-lead-card .thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.ent-lead-card:hover .thumb-wrap img {
  transform: scale(1.02);
}

.ent-lead-card h4 {
  font-family: var(--disp);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.32;
  margin: 0 0 8px 0;
}

.ent-lead-card h4 a {
  color: var(--ink);
  text-decoration: none;
}

.ent-lead-card h4 a:hover {
  color: var(--red);
}

.ent-lead-card p {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.45;
  color: #555;
  margin: 0 0 10px 0;
}

/* Center 2x2 Grid */
.ent-center-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 14px;
}

.ent-sub-card {
  display: flex;
  flex-direction: column;
}

.ent-sub-card .thumb-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 8px;
}

.ent-sub-card .thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ent-sub-card h5 {
  font-family: var(--disp);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 6px 0;
}

.ent-sub-card h5 a {
  color: var(--ink);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ent-sub-card h5 a:hover {
  color: var(--red);
}

/* Right Pink-Themed Specials Box */
.ent-specials-box {
  background: #fff5f7;
  border: 1px solid #fce7eb;
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
}

.ent-special-lead {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #fecdd3;
}

.ent-special-lead .thumb-wrap {
  width: 100%;
  aspect-ratio: 16 / 9.5;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 8px;
}

.ent-special-lead .thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ent-special-lead h5 {
  font-family: var(--disp);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 6px 0;
}

.ent-special-lead h5 a {
  color: #1c1917;
  text-decoration: none;
}

.ent-special-lead h5 a:hover {
  color: #e11d48;
}

.ent-specials-text-row {
  padding: 10px 0;
  border-bottom: 1px solid #fecdd3;
}

.ent-specials-text-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ent-specials-text-row h5 {
  font-family: var(--disp);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 5px 0;
}

.ent-specials-text-row h5 a {
  color: #27272a;
  text-decoration: none;
}

.ent-specials-text-row h5 a:hover {
  color: #e11d48;
}

/* 2. INDIA 3-COLUMN LAYOUT (Matches Entertainment layout without pink tint, identical typography) */
.cat-layout-india {
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 0.9fr;
  gap: 20px;
  align-items: start;
}

.india-lead-card {
  display: flex;
  flex-direction: column;
}

.india-lead-card .thumb-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}

.india-lead-card .thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.india-lead-card:hover .thumb-wrap img {
  transform: scale(1.02);
}

.india-lead-card h4 {
  font-family: var(--disp);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.32;
  margin: 0 0 8px 0;
}

.india-lead-card h4 a {
  color: var(--ink);
  text-decoration: none;
}

.india-lead-card h4 a:hover {
  color: var(--red);
}

.india-lead-card p {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.45;
  color: #555;
  margin: 0 0 10px 0;
}

/* Center 2x2 Grid for India */
.india-center-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 14px;
}

.india-sub-card {
  display: flex;
  flex-direction: column;
}

.india-sub-card .thumb-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 8px;
}

.india-sub-card .thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.india-sub-card h5 {
  font-family: var(--disp);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 6px 0;
}

.india-sub-card h5 a {
  color: var(--ink);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.india-sub-card h5 a:hover {
  color: var(--red);
}

/* Right Side Box for India - Clean Neutral Canvas (No pink, matching broadsheet wire style) */
.india-side-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.india-side-lead {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.india-side-lead .thumb-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 10px;
}

.india-side-lead .thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.india-side-lead h5 {
  font-family: var(--disp);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 6px 0;
}

.india-side-lead h5 a {
  color: var(--ink);
  text-decoration: none;
}

.india-side-lead h5 a:hover {
  color: var(--red);
}

.india-side-text-row {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.india-side-text-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.india-side-text-row h5 {
  font-family: var(--disp);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 5px 0;
}

.india-side-text-row h5 a {
  color: var(--ink);
  text-decoration: none;
}

.india-side-text-row h5 a:hover {
  color: var(--red);
}

/* Universal Byline Format (Matches Sports and World exactly: Author • time ago, never big font) */
.byline {
  font-size: 11.5px !important;
  color: var(--muted) !important;
  font-family: var(--sans) !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  margin-top: 6px !important;
}

.byline span {
  font-size: 11.5px !important;
  color: var(--muted) !important;
  font-family: var(--sans) !important;
  font-weight: 400 !important;
}

/* 3. LIFESTYLE LAYOUT (Image 3 reference) */
.cat-layout-lifestyle {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 22px;
  align-items: start;
}

.life-lead-card {
  display: flex;
  flex-direction: column;
}

.life-lead-card .thumb-wrap {
  width: 100%;
  aspect-ratio: 16 / 9.5;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
}

.life-lead-card .thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.life-lead-card:hover .thumb-wrap img {
  transform: scale(1.02);
}

.life-lead-card h4 {
  font-family: var(--disp);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 8px 0;
}

.life-lead-card h4 a {
  color: var(--ink);
  text-decoration: none;
}

.life-lead-card h4 a:hover {
  color: var(--red);
}

.life-lead-card p {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.45;
  color: #555;
  margin: 0 0 10px 0;
}

.life-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

.life-sub-card {
  display: flex;
  flex-direction: column;
}

.life-sub-card .thumb-wrap {
  width: 100%;
  aspect-ratio: 16 / 9.5;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 6px;
}

.life-sub-card .thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.life-sub-card h5 {
  font-family: var(--disp);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 6px 0;
}

.life-sub-card h5 a {
  color: var(--ink);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.life-sub-card h5 a:hover {
  color: var(--red);
}

/* Responsive adjustments */
@media (max-width: 960px) {
  .editorial-horoscope-hub {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 0;
  }
  .hub-matrix-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .cat-layout-entertainment,
  .cat-layout-india {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .cat-layout-lifestyle {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hub-spotlight-layout {
    flex-direction: column-reverse;
    gap: 20px;
    align-items: center;
  }
}

@media (max-width: 580px) {
  .hub-matrix-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hub-vitals-row {
    flex-direction: column;
    gap: 6px;
  }
  .ent-center-grid,
  .india-center-grid,
  .life-sub-grid {
    grid-template-columns: 1fr;
  }
}
/* --------------------------------------------------------------------------
   Dot Times - Web Push Notification Permission Component
   (Compact, Professional Bottom-Right News Publisher Toast)
   -------------------------------------------------------------------------- */
.dt-push-prompt-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  width: 380px;
  max-width: calc(100vw - 48px);
  animation: dtSlideUpPrompt 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--sans);
  pointer-events: auto;
}

@keyframes dtSlideUpPrompt {
  from {
    transform: translateY(14px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dt-push-prompt-wrap {
    animation: none;
  }
}

.dt-push-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
  padding: 16px 18px 14px;
  color: #111111;
}

.dt-push-card-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  font-size: 18px;
  line-height: 1;
  color: #888888;
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.15s ease, background 0.15s ease;
}

.dt-push-card-close:hover {
  color: #111111;
  background: #f4f4f4;
}

.dt-push-card-close:focus-visible {
  outline: 2px solid #e11d1d;
  outline-offset: 1px;
}

.dt-push-card-body {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  padding-right: 18px;
}

.dt-push-card-logo {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #eeeeee;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dt-push-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.dt-push-card-content {
  flex: 1;
  min-width: 0;
}

.dt-push-card-title {
  margin: 0 0 3px 0;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.25;
  color: #111111;
  letter-spacing: -0.01em;
}

.dt-push-card-desc {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #555555;
}

.dt-push-card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid #f2f2f2;
}

.dt-push-btn-secondary {
  background: transparent;
  color: #555555;
  border: 1px solid #d4d4d4;
  border-radius: 5px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.dt-push-btn-secondary:hover {
  background: #f4f4f4;
  color: #111111;
  border-color: #c4c4c4;
}

.dt-push-btn-secondary:focus-visible {
  outline: 2px solid #555555;
  outline-offset: 1px;
}

.dt-push-btn-primary-news {
  background: #e11d1d;
  color: #ffffff;
  border: 1px solid #c91818;
  border-radius: 5px;
  padding: 5px 16px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.dt-push-btn-primary-news:hover {
  background: #c91818;
  border-color: #b91515;
}

.dt-push-btn-primary-news:active {
  transform: translateY(1px);
}

.dt-push-btn-primary-news:focus-visible {
  outline: 2px solid #e11d1d;
  outline-offset: 1px;
}

@media (max-width: 480px) {
  .dt-push-prompt-wrap {
    bottom: 16px;
    right: 16px;
    left: 16px;
    width: auto;
    max-width: calc(100vw - 32px);
  }
  .dt-push-card {
    padding: 14px 14px 12px;
  }
  .dt-push-card-logo {
    width: 34px;
    height: 34px;
  }
  .dt-push-card-title {
    font-size: 13px;
  }
  .dt-push-card-desc {
    font-size: 11.5px;
  }
  .dt-push-btn-secondary,
  .dt-push-btn-primary-news {
    padding: 6px 12px;
    font-size: 11.5px;
  }
}

/* --------------------------------------------------------------------------
   Newsletter Subscription inside Footer Column 1 (Reference Exact)
   -------------------------------------------------------------------------- */
.footer-newsletter-box {
  margin-top: 22px;
  max-width: 420px;
}

.footer-nl-title {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin: 0 0 6px 0;
  line-height: 1.25;
}

.footer-nl-sub {
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted);
  margin: 0 0 14px 0;
}

.newsletter-input-group {
  display: flex;
  align-items: stretch;
  gap: 6px;
  width: 100%;
  max-width: 400px;
}

.newsletter-input {
  flex: 1;
  min-width: 0;
  height: 42px;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  padding: 0 12px;
  font-size: 13.5px;
  font-family: var(--sans);
  color: var(--ink);
  background: #ffffff;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}

.newsletter-input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.12);
}

.newsletter-submit-btn {
  height: 42px;
  padding: 0 22px;
  background: var(--ink);
  color: #ffffff;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.newsletter-submit-btn:hover {
  background: var(--red);
  border-color: var(--red);
}

.newsletter-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.newsletter-microcopy {
  font-size: 11.5px;
  color: var(--muted);
  margin: 8px 0 0 0;
  font-family: var(--sans);
}

.newsletter-status {
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
}

.newsletter-status.status-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.newsletter-status.status-error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

/* On mobile phones: keep clean side-by-side alignment, no clunky vertical breaking */
@media (max-width: 480px) {
  .footer-newsletter-box {
    margin-top: 14px;
  }
  .newsletter-input-group {
    gap: 6px;
  }
  .newsletter-input {
    height: 40px;
    padding: 0 10px;
    font-size: 13px;
  }
  .newsletter-submit-btn {
    height: 40px;
    padding: 0 16px;
    font-size: 12px;
  }
}

/* Dark Mode Support */
[data-theme="dark"] .footer-nl-title {
  color: #f8fafc;
}

[data-theme="dark"] .footer-nl-sub {
  color: #94a3b8;
}

[data-theme="dark"] .newsletter-input {
  background: #0f1219;
  border-color: #64748b;
  color: #f8fafc;
}

[data-theme="dark"] .newsletter-submit-btn {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #f1f5f9;
}

[data-theme="dark"] .newsletter-submit-btn:hover {
  background: var(--red);
  color: #ffffff;
  border-color: var(--red);
}

[data-theme="dark"] .newsletter-microcopy {
  color: #94a3b8;
}

/* Pulsing focus glow when activated from header "Subscribe Newsletter" */
.newsletter-input.newsletter-focus-glow {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.28) !important;
  outline: none !important;
  animation: nlPulse 1.2s ease-in-out;
}

@keyframes nlPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(37, 99, 235, 0.35);
  }
  100% {
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.28);
  }
}








