/* =========================================================
   Research Gorkha — Public Site Styles
   Palette: ink #181A1F, paper #EFEDE6, crimson #8F2A2A,
            brass #B8862E, slate #565A63
   Display: Noto Serif Devanagari | Body: Noto Sans Devanagari
   Labels/UI: Archivo
   ========================================================= */

:root {
  --ink: #181A1F;
  --ink-soft: #565A63;
  --paper: #EFEDE6;
  --paper-2: #E4E1D6;
  --white: #FFFFFF;
  --crimson: #8F2A2A;
  --crimson-dark: #6E1F1F;
  --brass: #B8862E;
  --line: #DAD6C9;
  --radius: 8px;
  --shadow: 0 2px 14px rgba(24, 26, 31, .08);
  --font-serif: 'Noto Serif Devanagari', 'Georgia', serif;
  --font-sans: 'Noto Sans Devanagari', 'Segoe UI', sans-serif;
  --font-label: 'Archivo', 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  max-width: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Topbar ---------- */
.site-head-flex {
  display: flex;
  flex-direction: column;
}

.topbar {
  background: var(--ink);
  color: #C9CAD1;
  font-family: var(--font-label);
  font-size: 12.5px;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
  gap: 14px;
  flex-wrap: wrap;
}

.topbar-clock {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  overflow: hidden;
}

.topbar-clock span {
  opacity: .92;
}

.topbar-clock span:not(:last-child)::after {
  content: "·";
  margin-left: 10px;
  opacity: .5;
}

#clockTime {
  color: var(--brass);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
}

.lang-switch a {
  color: #9C9EA6;
  padding: 2px 4px;
}

.lang-switch a.active {
  color: #fff;
}

.lang-switch span {
  color: #5A5C64;
}

.topbar-social {
  display: flex;
  gap: 10px;
}

.social-ic {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  position: relative;
  transition: background .2s;
}

.social-ic:hover {
  background: var(--crimson);
}

.social-ic::after {
  content: "";
  width: 11px;
  height: 11px;
  background: #fff;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.ic-fb::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M24 12c0-6.627-5.373-12-12-12S0 5.373 0 12c0 5.99 4.388 10.954 10.125 11.854V15.47H7.078V12h3.047V9.356c0-3.007 1.792-4.668 4.533-4.668 1.312 0 2.686.234 2.686.234v2.953H15.83c-1.491 0-1.956.925-1.956 1.875V12h3.328l-.532 3.47h-2.796v8.384C19.612 22.954 24 17.99 24 12z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M24 12c0-6.627-5.373-12-12-12S0 5.373 0 12c0 5.99 4.388 10.954 10.125 11.854V15.47H7.078V12h3.047V9.356c0-3.007 1.792-4.668 4.533-4.668 1.312 0 2.686.234 2.686.234v2.953H15.83c-1.491 0-1.956.925-1.956 1.875V12h3.328l-.532 3.47h-2.796v8.384C19.612 22.954 24 17.99 24 12z'/%3E%3C/svg%3E");
}

.ic-x::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E");
}

.ic-yt::after {
  width: 13px;
  height: 10px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3E%3C/svg%3E");
}

.ic-ig::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 1 0 0 12.324 6.162 6.162 0 0 0 0-12.324zM12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm6.406-11.845a1.44 1.44 0 1 0 0 2.881 1.44 1.44 0 0 0 0-2.881z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 1 0 0 12.324 6.162 6.162 0 0 0 0-12.324zM12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm6.406-11.845a1.44 1.44 0 1 0 0 2.881 1.44 1.44 0 0 0 0-2.881z'/%3E%3C/svg%3E");
}

.ic-tk::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z'/%3E%3C/svg%3E");
}

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--ink);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 6px;
}

.brand-logo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--crimson);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 24px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 28px;
  color: var(--ink);
  letter-spacing: .3px;
}

.brand-name.light {
  color: var(--white);
  font-size: 20px;
}

.brand-tagline {
  font-family: var(--font-sans);
  font-size: 12.5px;
  color: var(--crimson);
  font-weight: 600;
}

.header-search {
  margin-left: auto;
  display: flex;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  overflow: hidden;
}

.header-search input {
  border: none;
  padding: 10px 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  width: 220px;
  background: var(--paper);
}

.header-search input:focus {
  outline: none;
  background: #fff;
}

.header-search button {
  border: none;
  background: var(--ink);
  color: #fff;
  padding: 0 16px;
  font-size: 18px;
  cursor: pointer;
}

.header-search button:hover {
  background: var(--crimson);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
}

.main-nav {
  background: var(--ink);
}

.nav-inner ul {
  display: flex;
  flex-wrap: wrap;
}

.main-nav a {
  display: block;
  padding: 13px 16px;
  color: #E7E7E9;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .2px;
  border-bottom: 3px solid transparent;
  transition: .2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: #fff;
  border-bottom-color: var(--crimson);
  background: rgba(255, 255, 255, .04);
}

/* ---------- Breaking ticker ---------- */
.breaking-strip {
  background: var(--crimson, #8F2A2A);
  color: #fff;
  border-bottom: 2px solid rgba(255,255,255,.15);
}

.breaking-inner {
  display: flex;
  align-items: center;
  height: 44px;
  gap: 0;
  overflow: hidden;
}

.breaking-label {
  flex-shrink: 0;
  background: var(--ink, #1a1a1a);
  color: #fff;
  font-family: var(--font-label, 'Archivo', sans-serif);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 7px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  z-index: 2;
  position: relative;
}
.breaking-label::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #e53935;
  border-radius: 50%;
  animation: blinkDot 1.2s ease-in-out infinite;
}

@keyframes blinkDot {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

.breaking-track-wrap {
  overflow: hidden;
  flex: 1;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 20px, black calc(100% - 20px), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 20px, black calc(100% - 20px), transparent);
}

.breaking-track {
  display: flex;
  white-space: nowrap;
  will-change: transform;
  animation: scrollTicker var(--ticker-speed, 35s) linear infinite;
}
.breaking-track:hover {
  animation-play-state: paused;
}

.breaking-item {
  padding: 0 24px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 44px;
  flex-shrink: 0;
  position: relative;
}
.breaking-item a {
  color: #fff;
  text-decoration: none;
  transition: opacity .2s;
}
.breaking-item a:hover {
  opacity: .8;
  text-decoration: underline;
}

.breaking-item::after {
  content: "◆";
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, .35);
  font-size: 7px;
}

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

@media (prefers-reduced-motion: reduce) {
  .breaking-track {
    animation: none;
    overflow-x: auto;
  }
}

/* ---------- Ads ---------- */
.ad-strip {
  padding: 16px 20px;
  text-align: center;
}

.ad-block {
  display: inline-block;
  position: relative;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  line-height: 0;
}

.ad-block img {
  max-width: 100%;
  max-height: 320px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  background: #fafaf7;
}

.ad-label {
  position: absolute;
  top: 6px;
  left: 6px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: .5px;
  padding: 2px 7px;
  border-radius: 3px;
  z-index: 2;
}

.card-grid-ad {
  grid-column: 1/-1;
  text-align: center;
  padding: 10px 0;
}

/* ---------- Layout grid ---------- */
.page-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 36px;
  padding: 32px 20px 60px;
}

.main-col {
  min-width: 0;
}

/* Full-width content pages (no sidebar, no ads) */
.page-full {
  padding: 32px 20px 60px;
}
.page-full .main-col {
  max-width: 900px;
  margin: 0 auto;
}

/* ---------- Hero ---------- */
.hero-section {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.hero-main {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  min-height: 420px;
}

.hero-main img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  opacity: .88;
}

.hero-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 26px 24px;
  background: linear-gradient(0deg, rgba(0, 0, 0, .88) 10%, rgba(0, 0, 0, .35) 70%, transparent 100%);
  color: #fff;
}

.hero-overlay h1 {
  font-family: var(--font-serif);
  font-size: 32px;
  line-height: 1.25;
  margin: 10px 0 8px;
  font-weight: 700;
}

.hero-overlay p {
  font-size: 14.5px;
  color: #E7E5DD;
  max-width: 640px;
  margin: 0 0 8px;
}

.cat-pill {
  display: inline-block;
  background: var(--crimson);
  color: #fff;
  font-family: var(--font-label);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .4px;
  padding: 4px 11px;
  border-radius: 20px;
}

.cat-pill.small {
  font-size: 10.5px;
  padding: 3px 9px;
  position: absolute;
  top: 10px;
  left: 10px;
}

.meta-line {
  color: var(--ink-soft);
  font-size: 12.5px;
}

.hero-overlay .meta-line {
  color: #CFCDC5;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-side-item {
  display: flex;
  gap: 12px;
  background: #fff;
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow);
}

.hero-side-item img {
  width: 96px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.hero-side-item h3 {
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.3;
  margin: 4px 0 6px;
  font-weight: 700;
}

/* ---------- Section headers ---------- */
.section-block {
  margin-bottom: 44px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 2.5px solid var(--ink);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.section-head h2 {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 800;
  margin: 0;
  position: relative;
  padding-left: 14px;
}

.section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 5px;
  background: var(--crimson);
  border-radius: 2px;
}

.see-all {
  font-family: var(--font-label);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--crimson);
}

.page-title-head {
  border-bottom: 2.5px solid var(--ink);
}

.page-title-head h1 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 800;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card-grid.four-col {
  grid-template-columns: repeat(4, 1fr);
}

.news-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .18s;
}

.news-card:hover {
  transform: translateY(-3px);
}

.news-card-img {
  position: relative;
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--paper-2);
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-body {
  padding: 14px 15px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.news-card-body h3 {
  font-family: var(--font-serif);
  font-size: 16.5px;
  line-height: 1.35;
  margin: 0;
  font-weight: 700;
}

.news-card-body h3 a:hover {
  color: var(--crimson);
}

.news-card-body p {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0;
  flex: 1;
}

.news-card.compact .news-card-body h3 {
  font-size: 14.5px;
}

.empty-msg {
  color: var(--ink-soft);
  font-style: italic;
  padding: 20px 0;
}

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 30px;
}

.pagination a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 13.5px;
}

.pagination a.active,
.pagination a:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ---------- Sidebar ---------- */
.side-col {
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: sticky;
  top: 20px;
  align-self: start;
}

.widget {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.widget-title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--paper-2);
}

.trending-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.trending-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.trending-list .rank {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 800;
  color: var(--brass);
  width: 26px;
  flex-shrink: 0;
}

.t-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 3px;
}

.cat-list li {
  border-bottom: 1px solid var(--paper-2);
}

.cat-list a {
  display: flex;
  justify-content: space-between;
  padding: 10px 2px;
  font-weight: 600;
  font-size: 14px;
}

.cat-list a:hover {
  color: var(--crimson);
}

.fb-follow-btn {
  display: block;
  text-align: center;
  background: var(--ink);
  color: #fff;
  padding: 11px;
  border-radius: 6px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 13.5px;
}

.fb-follow-btn:hover {
  background: var(--crimson);
}

/* ---------- Article page ---------- */
.article-full {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  margin-bottom: 30px;
}

.article-full h1 {
  font-family: var(--font-serif);
  font-size: 32px;
  line-height: 1.3;
  margin: 14px 0;
  font-weight: 800;
}

.article-meta {
  display: flex;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 13px;
  margin-bottom: 18px;
  font-family: var(--font-label);
}

.article-hero-img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 18px;
}

.share-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 13px;
  color: var(--ink-soft);
}

.share-btn {
  padding: 6px 14px;
  border-radius: 20px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 12px;
  color: #fff;
}

.share-btn.fb {
  background: #3b5998;
}

.share-btn.wa {
  background: #25D366;
}

.article-content {
  font-size: 17px;
  line-height: 1.9;
  color: #26282E;
}

.article-content p {
  margin: 0 0 18px;
}

.article-content img {
  border-radius: 6px;
  margin: 14px 0;
}

.in-article-ad {
  margin: 26px 0;
  text-align: center;
}

/* ---------- Comments ---------- */
.comments-section {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}

.comments-section h2 {
  font-family: var(--font-serif);
  font-size: 20px;
  margin-top: 0;
}

.comment-item {
  border-top: 1px solid var(--paper-2);
  padding: 14px 0;
}

.comment-item p {
  margin: 6px 0 0;
  font-size: 14.5px;
}

.comment-form {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comment-form h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  margin: 0;
}

.comment-form input,
.comment-form textarea {
  border: 1.5px solid var(--line);
  border-radius: 6px;
  padding: 11px 13px;
  font-family: var(--font-sans);
  font-size: 14px;
  background: var(--paper);
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--crimson);
  background: #fff;
}

.comment-form button {
  align-self: flex-start;
  background: var(--crimson);
  color: #fff;
  border: none;
  padding: 11px 22px;
  border-radius: 6px;
  font-family: var(--font-label);
  font-weight: 700;
  cursor: pointer;
}

.comment-form button:hover {
  background: var(--crimson-dark);
}

.form-success {
  background: #E7F5EA;
  color: #276B36;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
}

.form-error {
  background: #FBE7E7;
  color: #9E2B2B;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
}

/* ---------- Contact / About ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 26px;
}

.contact-info,
.contact-form {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.contact-info h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  margin-top: 0;
}

.contact-info ul {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  border: 1.5px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  background: var(--paper);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--crimson);
  background: #fff;
}

.contact-form button {
  background: var(--crimson);
  color: #fff;
  border: none;
  padding: 13px;
  border-radius: 6px;
  font-family: var(--font-label);
  font-weight: 700;
  cursor: pointer;
  font-size: 14.5px;
}

.contact-form button:hover {
  background: var(--crimson-dark);
}

.about-content {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  margin-bottom: 24px;
}

.lead-text {
  font-size: 17px;
  line-height: 1.85;
}

.tagline-quote {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--crimson);
  border-left: 4px solid var(--crimson);
  padding-left: 18px;
  font-weight: 700;
  margin: 18px 0 0;
}

/* ---------- Legal pages (Privacy Policy / Terms & Conditions) ---------- */
.legal-page {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  font-size: 15.5px;
  line-height: 1.85;
  color: #26282E;
}

.legal-page h1,
.legal-page h2,
.legal-page h3 {
  font-family: var(--font-serif);
  margin-top: 26px;
  margin-bottom: 10px;
}

.legal-page h1:first-child,
.legal-page h2:first-child,
.legal-page h3:first-child {
  margin-top: 0;
}

.legal-page p {
  margin: 0 0 14px;
}

.legal-page ul,
.legal-page ol {
  margin: 0 0 14px;
  padding-left: 22px;
}

.legal-page a {
  color: var(--crimson);
  text-decoration: underline;
}

/* ---------- Media ads (per-article sidebar ad, supports video/gif) ----------
   FIX: was `display:block`, which stretched this wrapper to fill its parent
   (the sidebar widget, or the .content-flow-ad column) at 100% width no
   matter how small `width_px` was, leaving the actual ad image floating in
   a big empty bordered/shadowed box. `inline-block` makes the card shrink
   to the image's real rendered size, so text-align:center on the parent
   (.article-sidebar-ad / .content-flow-ad) can center it properly. */
.media-ad {
  display: inline-block;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  max-width: 100%;
}

.media-ad img,
.media-ad video {
  width: 100%;
  height: auto;
  display: block;
}

.article-sidebar-ad {
  margin-bottom: 0;
  text-align: center;
}

.article-sidebar-ad .ad-label {
  position: absolute;
  top: 6px;
  left: 6px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: .5px;
  padding: 2px 7px;
  border-radius: 3px;
  z-index: 2;
}

.content-flow-ad {
  margin: 26px 0;
  text-align: center;
}

.content-flow-ad .media-ad {
  max-width: 480px;
}

/* ---------- Skippable interstitial ad overlay ---------- */
html.interstitial-lock,
html.interstitial-lock body {
  overflow: hidden !important;
  height: 100%;
}

.interstitial-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 12, .92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.interstitial-box {
  position: relative;
  max-width: min(90vw, 720px);
  max-height: 85vh;
}

.interstitial-media {
  max-width: 100%;
  max-height: 85vh;
  display: block;
  border-radius: 6px;
  margin: 0 auto;
}

.interstitial-clicklayer {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.interstitial-label {
  position: absolute;
  top: -28px;
  left: 0;
  color: #C9CAD1;
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: .5px;
}

.interstitial-skip {
  position: absolute;
  top: -40px;
  right: 0;
  z-index: 3;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .4);
  border-radius: 20px;
  padding: 7px 16px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 13px;
  cursor: not-allowed;
}

.interstitial-skip:not(:disabled) {
  cursor: pointer;
  background: rgba(255, 255, 255, .95);
  color: var(--ink);
}

.interstitial-skip:not(:disabled):hover {
  background: #fff;
}

/* -- media wrapper (holds image/video + click-through) -- */
#interstitialMediaWrap {
  position: relative;
}

.interstitial-media {
  transition: opacity .25s ease;
}

/* -- progress bar -- */
.interstitial-progress-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255,255,255,.15);
  border-radius: 0 0 6px 6px;
  overflow: hidden;
}

.interstitial-progress {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #39e6ff, #a78bfa);
  border-radius: inherit;
  transform-origin: left;
}

/* -- ad counter (e.g. 1/3) -- */
.interstitial-counter {
  position: absolute;
  top: -28px;
  right: 0;
  color: #8a8d94;
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: .3px;
}

.founder-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

.founder-card img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.founder-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  margin: 0 0 2px;
}

.founder-role {
  color: var(--crimson);
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .4px;
}

.founder-card p {
  margin-top: 10px;
  color: var(--ink-soft);
}

/* ---------- Team profile grid (हाम्रो बारेमा) ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.team-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.team-card img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 8px;
}

.team-photo-fallback {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 34px;
  margin-bottom: 8px;
}

.team-card h3 {
  font-family: var(--font-serif);
  font-size: 16px;
  margin: 0;
}

.team-post {
  color: var(--crimson);
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3px;
}

.team-contact {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 2px;
}

.team-contact:hover {
  color: var(--crimson);
}

/* ---------- Founder strip (site-wide, above footer) ---------- */
.founder-strip {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.founder-inner {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 26px 20px;
}

.founder-photo {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.founder-photo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--crimson);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 30px;
}

.founder-photo-fallback-lg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 130px;
  border-radius: 10px;
  background: var(--crimson);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 48px;
  flex-shrink: 0;
}

.founder-text h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  margin: 0 0 4px;
}

.founder-text p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13.5px;
  max-width: 760px;
}

/* ---------- Homepage ad zones ---------- */
.home-main-banner {
  margin-bottom: 30px;
  text-align: center;
}

.home-main-banner .ad-block {
  width: 100%;
}

.home-main-banner .ad-block img {
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: contain;
}

/* ---------- Inline ads embedded directly in article content ---------- */
.inline-ad-block {
  margin: 22px auto;
  text-align: center;
  max-width: 100%;
}

.inline-ad-block a {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.inline-ad-block a::before {
  content: "विज्ञापन";
  position: absolute;
  top: 6px;
  left: 6px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: .5px;
  padding: 2px 7px;
  border-radius: 3px;
  z-index: 2;
}

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

/* ---------- Freeform ads placed via the click-to-place admin tool ---------- */
.freeform-ad {
  position: absolute;
  z-index: 40;
  display: block;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.freeform-ad img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Horoscope (राशिफल) page — mode switcher ---------- */
.horoscope-mode-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  background: #fff;
  border-radius: 24px;
  padding: 5px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--line);
}

.mode-tab {
  flex: 1;
  text-align: center;
  padding: 10px 14px;
  border-radius: 20px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 13px;
  color: var(--ink-soft);
  transition: all .2s;
  letter-spacing: .2px;
}

.mode-tab:hover {
  background: var(--paper-2);
  color: var(--ink);
}

.mode-tab.active {
  background: var(--crimson);
  color: #fff;
  box-shadow: 0 2px 8px rgba(143, 42, 42, .25);
}

.mode-badge {
  display: inline-block;
  background: var(--paper-2);
  color: var(--crimson);
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 4px;
}

.rashi-period-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--paper-2);
}

.rashi-period-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.rashi-period-item .meta-line {
  display: inline-block;
  font-weight: 700;
  color: var(--crimson);
  font-family: var(--font-label);
  font-size: 12.5px;
  margin-bottom: 6px;
}

.rashi-period-item p {
  margin: 0;
}

/* ---------- Admin panel: entry type badges ---------- */
.type-badge {
  display: inline-block;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .3px;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.type-daily {
  background: #E5F3EA;
  color: #2E7D4F;
}

.type-weekly {
  background: #E8F0FE;
  color: #2B5EA8;
}

.type-monthly {
  background: #FBF1DD;
  color: #8A6417;
}

.type-yearly {
  background: #F3E8FD;
  color: #7A3EA8;
}

/* ========== Horoscope (राशिफल) Page — Redesigned ========== */

/* ---- Wrapper ---- */
.rashifal-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 60px;
}

/* ---- Hero ---- */
.rashifal-hero {
  text-align: center;
  margin-bottom: 18px;
}

.rashifal-title {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}

.rashifal-subtitle {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 4px 0 0;
}

/* ---- Mode Switcher ---- */
.horoscope-mode-bar {
  display: flex;
  gap: 0;
  margin-bottom: 14px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--line);
}

.mode-tab {
  flex: 1;
  text-align: center;
  padding: 13px 10px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink-soft);
  transition: all .2s;
  border-right: 1px solid var(--line);
}

.mode-tab:last-child { border-right: none; }

.mode-tab:hover {
  background: var(--paper-2);
  color: var(--ink);
}

.mode-tab.active {
  background: var(--crimson);
  color: #fff;
}

/* ---- Date Navigation Bar ---- */
.rashifal-date-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 10px 14px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.date-nav-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 20px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 12.5px;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1.5px solid var(--line);
  white-space: nowrap;
  transition: .15s;
}

.date-nav-pill:hover {
  border-color: var(--crimson);
  color: var(--crimson);
}

.date-center {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}

.date-icon { font-size: 18px; }

.date-today-badge {
  background: #E5F3EA;
  color: #2E7D4F;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
}

/* ---- Main Content Grid ---- */
.rashifal-content {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 20px;
  align-items: start;
}

/* ---- Rashi Grid (left) ---- */
.rashi-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.rashi-card-v2 {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 18px 8px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 2px solid transparent;
  transition: all .2s;
}

.rashi-card-v2:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(24, 26, 31, .12);
}

.rashi-card-v2.active {
  border-color: var(--crimson);
  background: #FDF5F5;
}

.rashi-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rashi-card-icon img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
}

.rashi-card-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}

/* ---- Rashi Icon Fallback ---- */
.rashi-icon-fallback {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 24px;
}

.rashi-icon-fallback.lg {
  width: 76px;
  height: 76px;
  font-size: 32px;
  flex-shrink: 0;
}

/* ---- Detail Panel (right) ---- */
.detail-panel {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: sticky;
  top: 20px;
}

.detail-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px 16px;
  background: linear-gradient(135deg, #FDF5F5, #fff);
  border-bottom: 2px solid var(--paper-2);
}

.detail-rashi-icon img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--crimson);
}

.detail-rashi-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 800;
  color: var(--crimson);
  margin: 0;
}

.detail-date {
  font-family: var(--font-label);
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 2px;
  display: block;
}

.detail-body {
  padding: 20px 22px 24px;
  font-size: 15.5px;
  line-height: 1.9;
  color: #26282E;
}

.detail-body p { margin: 0 0 14px; }

.detail-fallback {
  background: #FBF1DD;
  color: #8A6417;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 14px;
}

.detail-empty {
  color: var(--ink-soft);
  font-style: italic;
  padding: 30px 0;
  text-align: center;
}

.detail-period {
  padding: 14px 0;
  border-bottom: 1px solid var(--paper-2);
}

.detail-period:last-child { border-bottom: none; }

.detail-period-date {
  display: inline-block;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 12px;
  color: var(--crimson);
  background: #FBF1DD;
  padding: 2px 10px;
  border-radius: 12px;
  margin-bottom: 6px;
}

.detail-period p { margin: 4px 0 0; }

.detail-empty-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  color: var(--ink-soft);
  font-size: 16px;
}

/* ---- Disclaimer ---- */
.rashifal-disclaimer {
  text-align: center;
  margin-top: 28px;
  padding: 14px 20px;
  background: #FFF8E7;
  border: 1px solid #E8D5A4;
  border-radius: 10px;
  font-size: 13.5px;
  color: #8A6417;
}

/* ---- Next Update ---- */
.rashifal-next-update {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  padding: 18px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.next-update-icon {
  font-size: 36px;
}

.next-update-text {
  font-family: var(--font-label);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.next-update-text strong {
  color: var(--ink);
  font-size: 15px;
}

.next-update-date {
  color: var(--ink-soft);
  font-size: 13px;
}

/* ---- Responsive ---- */
@media (max-width: 1080px) {
  .rashifal-content {
    grid-template-columns: 1fr;
  }

  .rashi-grid-v2 {
    grid-template-columns: repeat(4, 1fr);
  }

  .detail-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .rashifal-title { font-size: 26px; }
  .rashi-grid-v2 { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .rashi-card-v2 { padding: 12px 6px 10px; }
  .rashi-card-icon { width: 44px; height: 44px; }
  .rashi-card-icon img { width: 44px; height: 44px; }
  .rashi-card-name { font-size: 13px; }
  .mode-tab { font-size: 12px; padding: 11px 6px; }
  .date-nav-pill { font-size: 11px; padding: 6px 10px; }
  .date-center { font-size: 12px; }
  .detail-header { padding: 16px; }
  .detail-body { padding: 16px; font-size: 14.5px; }
}

@media (max-width: 480px) {
  .rashi-grid-v2 { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .horoscope-mode-bar { flex-wrap: wrap; }
  .mode-tab { flex: 0 0 calc(50%); }
}

/* ---------- Tools page ---------- */
.tool-section {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 24px;
}

.tool-section h2 {
  font-family: var(--font-serif);
  font-size: 20px;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tool-section .hint {
  margin-bottom: 16px;
}

.tool-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.tool-tab {
  padding: 7px 16px;
  border-radius: 20px;
  font-family: var(--font-label);
  font-size: 12.5px;
  font-weight: 700;
  background: var(--paper);
  color: var(--ink-soft);
  cursor: pointer;
  border: none;
}

.tool-tab.active {
  background: var(--ink);
  color: #fff;
}

.tool-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.tool-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tool-field label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
}

.tool-field input,
.tool-field select,
.tool-field textarea {
  border: 1.5px solid var(--line);
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 14px;
  font-family: var(--font-sans);
  background: var(--paper);
}

.tool-field input:focus,
.tool-field select:focus,
.tool-field textarea:focus {
  outline: none;
  border-color: var(--crimson);
  background: #fff;
}

.tool-btn {
  background: var(--crimson);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  height: fit-content;
}

.tool-btn:hover {
  background: var(--crimson-dark);
}

.tool-result {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--paper);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  min-height: 20px;
}

.tool-translate-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}

.tool-translate-grid textarea {
  width: 100%;
  min-height: 120px;
  resize: vertical;
}

.swap-btn {
  background: var(--paper-2);
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 16px;
  cursor: pointer;
}

.tool-counter-row {
  display: flex;
  gap: 24px;
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.tool-counter-row strong {
  color: var(--ink);
  font-size: 16px;
}

/* ---- Counter Stats Cards ---- */
.counter-stats {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.counter-stat-card {
  flex: 1;
  min-width: 100px;
  background: linear-gradient(135deg, #faf7f4, #f3ece5);
  border: 1px solid #ebe4db;
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.counter-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.counter-stat-num {
  display: block;
  font-family: var(--font-label, 'Archivo', sans-serif);
  font-size: 28px;
  font-weight: 800;
  color: var(--crimson);
  line-height: 1.1;
}
.counter-stat-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #C9CAD1;
  margin-top: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 30px;
  padding: 44px 20px 30px;
}

.footer-col h4 {
  font-family: var(--font-label);
  color: #fff;
  font-size: 14px;
  letter-spacing: .4px;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--brass);
}

.footer-about p {
  font-size: 13.5px;
  line-height: 1.7;
  margin: 14px 0;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.contact-list li {
  font-size: 13.5px;
  color: #A9ABB3;
}

.newsletter-form {
  display: flex;
  margin-top: 14px;
  border-radius: 6px;
  overflow: hidden;
}

.newsletter-form input {
  flex: 1;
  border: none;
  padding: 10px 12px;
  font-size: 13.5px;
}

.newsletter-form button {
  background: var(--crimson);
  color: #fff;
  border: none;
  padding: 0 16px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 12.5px;
  cursor: pointer;
}

.newsletter-form button:hover {
  background: var(--crimson-dark);
}

.newsletter-msg {
  font-size: 12.5px;
  margin-top: 8px;
  color: var(--brass);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 16px 20px;
  text-align: center;
  font-size: 12.5px;
  color: #8B8D96;
}

/* ---------- Responsive ---------- */
@media(max-width:1080px) {
  .page-grid {
    grid-template-columns: 1fr;
  }
  .page-full .main-col {
    max-width: 100%;
  }

  .hero-section {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid.four-col {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media(max-width:720px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .header-search {
    order: 3;
    width: 100%;
    margin-left: 0;
  }

  .header-search input {
    width: 100%;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .main-nav {
    display: none;
  }

  .main-nav.open {
    display: block;
  }

  .nav-inner ul {
    flex-direction: column;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .card-grid.four-col {
    grid-template-columns: 1fr;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .founder-card {
    flex-direction: column;
    text-align: center;
  }

  .founder-card img {
    margin: 0 auto;
  }

  .article-full {
    padding: 18px;
  }

  .article-full h1 {
    font-size: 24px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    font-size: 20px;
  }

  .brand-tagline {
    font-size: 11px;
  }

  .header-inner {
    padding: 12px 16px;
    gap: 10px;
  }

  .hero-main {
    min-height: 260px;
  }

  .hero-main img {
    height: 260px;
  }

  .hero-overlay {
    padding: 18px 16px 16px;
  }

  .hero-overlay h1 {
    font-size: 21px;
  }

  .hero-overlay p {
    font-size: 13px;
  }

  .hero-side-item img {
    width: 70px;
    height: 60px;
  }

  .hero-side-item h3 {
    font-size: 13px;
  }

  .section-head h2 {
    font-size: 19px;
  }

  .page-title-head h1 {
    font-size: 22px;
  }

  .comments-section {
    padding: 18px;
  }



  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tool-translate-grid {
    grid-template-columns: 1fr;
  }

  .swap-btn {
    justify-self: center;
    transform: rotate(90deg);
  }

  .tool-row {
    flex-direction: column;
    align-items: stretch;
  }

  .rashi-detail-head {
    flex-direction: column;
    text-align: center;
  }

  /* Move the date/time + language switch + social row below the logo/bio,
     and restyle it to sit comfortably under the masthead on small screens. */
  .topbar {
    order: 2;
    background: var(--paper-2);
    color: var(--ink);
    border-top: 1px solid var(--line);
  }

  .site-header {
    order: 1;
  }

  .topbar-inner {
    flex-direction: column;
    height: auto;
    padding: 10px 0;
    gap: 8px;
  }

  .topbar-clock {
    order: 1;
    font-size: 12px;
  }

  .topbar-clock span:not(:last-child)::after {
    opacity: .35;
  }

  #clockTime {
    color: var(--crimson);
  }

  .topbar-right {
    order: 2;
    gap: 14px;
  }

  .lang-switch {
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 20px;
    padding: 3px 4px;
    gap: 0;
  }

  .lang-switch a {
    padding: 4px 12px;
    border-radius: 16px;
    color: var(--ink-soft);
    font-size: 11.5px;
  }

  .lang-switch a.active {
    background: var(--crimson);
    color: #fff;
  }

  .lang-switch span {
    display: none;
  }

  .social-ic {
    background: rgba(24, 26, 31, .08);
  }

  .social-ic::after {
    background: var(--ink);
  }

  .social-ic:hover {
    background: var(--crimson);
  }

  .social-ic:hover::after {
    background: #fff;
  }

  /* ── Article page mobile improvements ── */
  .article-full {
    padding: 14px 12px;
    border-radius: 0;
  }

  .article-full h1 {
    font-size: 20px;
    line-height: 1.35;
    margin-bottom: 10px;
  }

  .article-meta {
    font-size: 12px;
    flex-wrap: wrap;
    gap: 6px 2px;
    line-height: 1.6;
    align-items: center;
  }

  .article-meta .meta-author {
    color: var(--crimson);
    font-weight: 600;
  }

  .article-meta .meta-sep {
    color: #ccc;
    font-size: 10px;
  }

  .article-meta .meta-date {
    color: #666;
  }

  .article-meta .meta-read {
    background: #f5f0eb;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    color: #555;
    font-weight: 500;
  }

  .article-meta .meta-views {
    color: #888;
    font-size: 11px;
  }

  .article-hero-img {
    margin: 14px -12px;
    width: calc(100% + 24px);
    border-radius: 0;
  }

  .article-content {
    font-size: 15.5px;
    line-height: 1.75;
  }

  .article-content p {
    margin-bottom: 16px;
  }

  .article-content h2 {
    font-size: 19px;
    margin: 24px 0 10px;
  }

  .article-content h3 {
    font-size: 17px;
    margin: 20px 0 8px;
  }

  .article-content blockquote {
    margin: 16px 0;
    padding: 12px 14px;
    font-size: 14.5px;
  }

  .article-content img {
    border-radius: 8px;
    margin: 14px 0;
  }

  .share-row {
    padding: 10px 0;
    gap: 6px;
  }

  .share-row span:first-child {
    font-size: 12px;
  }

  .share-btn {
    padding: 5px 12px;
    font-size: 12px;
    border-radius: 16px;
  }

  .tts-listen-btn {
    font-size: 11px;
    padding: 3px 8px;
    margin-left: 0;
    margin-top: 4px;
    display: inline-flex;
  }

  .cat-pill {
    font-size: 11px;
    padding: 3px 10px;
  }

  .news-card {
    border-radius: 10px;
  }

  .news-card-img {
    aspect-ratio: 16/9;
  }

  .news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .news-card-body h3 {
    font-size: 13.5px;
    line-height: 1.35;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .comments-section {
    padding: 14px 12px;
  }

  .comment-form input,
  .comment-form textarea {
    font-size: 14px;
    padding: 10px;
  }

  .comment-form button {
    width: 100%;
    padding: 12px;
  }

  .section-head h2 {
    font-size: 17px;
  }

  /* TTS player full width on mobile */
  .tts-player {
    width: calc(100vw - 16px);
    bottom: -120px;
  }

  .tts-player--visible {
    bottom: 12px;
  }

  .tts-player-inner {
    padding: 8px 14px;
    border-radius: 40px;
  }

  .tts-ctrl {
    width: 36px;
    height: 36px;
  }

  .tts-ctrl-main {
    width: 44px;
    height: 44px;
  }

  /* Back to top smaller on mobile */
  .back-to-top {
    width: 36px;
    height: 36px;
    bottom: 20px;
    right: 16px;
  }
}

/* Extra small (below 380px) */
@media (max-width: 380px) {
  .article-full h1 {
    font-size: 18px;
  }

  .article-content {
    font-size: 14.5px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .news-card-img {
    aspect-ratio: 16/10;
  }
}

/* ---------- Sidebar: Weather widget (styled) ---------- */
.weather-widget {
  padding: 0;
  overflow: hidden;
}

.weather-widget .widget-title {
  padding: 16px 18px 0;
  border-bottom: none;
  margin-bottom: 10px;
}

.weather-widget .weather-search {
  display: flex;
  gap: 0;
  margin: 0 18px 14px;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--paper);
  transition: border-color .15s;
}

.weather-widget .weather-search:focus-within {
  border-color: var(--crimson);
  background: #fff;
}

.weather-widget .weather-search input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 9px 6px 9px 14px;
  font-size: 13px;
  font-family: var(--font-sans);
}

.weather-widget .weather-search input:focus {
  outline: none;
}

.weather-widget .weather-search button {
  border: none;
  background: var(--crimson);
  color: #fff;
  width: 34px;
  height: 34px;
  margin: 2px;
  border-radius: 50%;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .15s;
}

.weather-widget .weather-search button:hover {
  background: var(--crimson-dark);
}

.weather-loading {
  display: block;
  text-align: center;
  color: var(--ink-soft);
  font-size: 13px;
  padding: 24px 18px;
}

.weather-error {
  color: var(--crimson);
  font-size: 13px;
  text-align: center;
  padding: 20px 18px;
  margin: 0;
}

.weather-body {
  background: linear-gradient(160deg, var(--ink) 0%, #2B2E36 55%, var(--crimson-dark) 130%);
  color: #fff;
  padding: 20px 18px 18px;
}

.weather-body .weather-loading,
.weather-body .weather-error {
  color: #E7E5DD;
}

.weather-main {
  display: flex;
  align-items: center;
  gap: 14px;
}

.weather-icon-lg {
  font-size: 46px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .35));
}

.weather-temp-block {
  display: flex;
  flex-direction: column;
}

.weather-temp {
  font-family: var(--font-label);
  font-weight: 800;
  font-size: 32px;
  line-height: 1.1;
}

.weather-cond {
  font-size: 12.5px;
  color: #D8D6CC;
  margin-top: 2px;
}

.weather-place {
  margin-top: 14px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 15px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .15);
}

.weather-extra {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 12px;
  color: #C9C7BC;
}

.weather-extra span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ---------- Sidebar: Gold-Silver / Petroleum widgets ---------- */
.metal-widget,
.fuel-widget {
  padding-bottom: 16px;
}

.metal-list,
.fuel-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.metal-list li,
.fuel-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 13px;
  background: var(--paper-2);
  border-radius: 6px;
  border-left: 3px solid var(--brass);
}

.metal-label,
.fuel-label {
  font-size: 13.5px;
  font-weight: 600;
}

.metal-value,
.fuel-value {
  font-family: var(--font-label);
  font-weight: 800;
  color: var(--crimson);
  font-size: 15px;
}

/* ---- Forex Widget ---- */
.forex-widget .widget-title {
  color: var(--crimson);
  margin-bottom: 10px;
}
.forex-widget select,
.forex-widget input {
  font-family: inherit;
}
.forex-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.forex-table th {
  text-align: left;
  padding: 6px 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #666;
  border-bottom: 2px solid var(--cr-light, #f0ebe6);
}
.forex-table td {
  padding: 6px 8px;
  border-bottom: 1px solid var(--cr-light, #f0ebe6);
}
.forex-table tr:last-child td {
  border-bottom: none;
}
.forex-table tr:hover {
  background: var(--cr-light, #f8f4f0);
}
.fx-flag {
  font-size: 16px;
  margin-right: 4px;
}
.fx-code {
  font-weight: 700;
  font-size: 12px;
  color: #444;
}
.fx-unit {
  font-size: 11px;
  color: #888;
}
.fx-buy {
  font-weight: 600;
  color: #2e7d32;
}
.fx-sell {
  font-weight: 600;
  color: var(--crimson);
}
.forex-widget .meta-line {
  display: block;
  margin-top: 8px;
  text-align: right;
  font-style: italic;
}

/* ---- Forex Full Table (Tools page) ---- */
.forex-full-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.forex-full-table th {
  text-align: left;
  padding: 14px 16px;
  background: var(--crimson);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.forex-full-table th:first-child { border-radius: 12px 0 0 0; }
.forex-full-table th:last-child { border-radius: 0 12px 0 0; }
.forex-full-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f0ebe6;
  transition: background 0.15s;
}
.forex-full-table tbody tr:nth-child(even) {
  background: #faf7f4;
}
.forex-full-table tbody tr:hover {
  background: #f3ece5;
}
.forex-full-table tbody tr:last-child td:first-child {
  border-radius: 0 0 0 12px;
}
.forex-full-table tbody tr:last-child td:last-child {
  border-radius: 0 0 12px 0;
}
.forex-full-table .fx-code {
  display: inline-block;
  background: var(--cr-light, #f0ebe6);
  color: var(--crimson);
  font-weight: 800;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  letter-spacing: 0.5px;
}
.forex-full-table .fx-buy {
  color: #2e7d32;
  font-weight: 700;
  font-size: 15px;
}
.forex-full-table .fx-sell {
  color: var(--crimson);
  font-weight: 700;
  font-size: 15px;
}
.forex-full-table th:nth-child(3),
.forex-full-table th:nth-child(4) {
  text-align: right;
}
.forex-full-table td:nth-child(3),
.forex-full-table td:nth-child(4) {
  font-family: var(--font-label, 'Archivo', sans-serif);
  text-align: right;
}

.metal-widget .meta-line {
  display: block;
  margin-top: 10px;
  text-align: right;
  font-style: italic;
}
.ad-block-custom img {
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
}

/* ---------- Podcast page ---------- */
.podcast-featured {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  margin-bottom: 44px;
}

.podcast-featured-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 6px;
  overflow: hidden;
  background: var(--ink);
  display: block;
}

.podcast-featured-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.podcast-featured-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.podcast-featured-body {
  padding: 14px 4px 2px;
}

.podcast-featured-body h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.35;
  margin: 0 0 8px;
  font-weight: 800;
}

.podcast-featured-body p {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.75;
  margin: 0 0 12px;
}

.podcast-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-size: 12.5px;
  margin-bottom: 8px;
}

.ep-badge {
  display: inline-block;
  background: var(--crimson);
  color: #fff;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .3px;
  padding: 3px 10px;
  border-radius: 20px;
}

.ep-badge.upcoming {
  background: var(--brass);
}

.podcast-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(143, 42, 42, .92);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  padding-left: 4px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .35);
  transition: transform .15s;
}

.news-card-img:hover .podcast-play {
  transform: translate(-50%, -50%) scale(1.12);
}

.watch-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--crimson);
  color: #fff;
  font-family: var(--font-label);
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 15px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}

.watch-link:hover {
  background: var(--crimson-dark);
  color: #fff;
}

.watch-link.vote-submit {
  margin-top: 8px;
  align-self: flex-start;
}

/* ---- Upcoming guest (reveal / surprise) ---- */
.guest-card {
  margin-top: 14px;
  padding: 14px 16px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.guest-card.surprise {
  background: #FBF3E0;
  border-color: #E8D5A4;
}

.guest-card.surprise h4 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
  color: #7A5B12;
}

.guest-card.surprise p {
  margin: 0;
  font-size: 13px;
  color: #6B5B2E;
  line-height: 1.6;
}

.guest-photo {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  border: 1px solid var(--line);
}

.guest-card-photo-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  background: var(--paper);
  color: var(--line);
}

.guest-info {
  min-width: 0;
}

.guest-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 4px;
}

.guest-info h4 {
  margin: 0 0 4px;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}

.guest-tagline {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--crimson);
  margin: 0 0 6px;
}

.guest-info p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0 0 6px;
}

.guest-ach-label {
  font-size: 12px !important;
  font-weight: 800;
  color: var(--ink) !important;
  margin-bottom: 2px !important;
}

.guest-achievements {
  margin: 0;
  padding-left: 18px;
}

.guest-achievements li {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---- Podcast Q&A ---- */
.qa-item {
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
}

.qa-item:first-of-type {
  padding-top: 6px;
}

.qa-item:last-child {
  border-bottom: none;
}

.qa-pod-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  background: #FBF1DD;
  color: #8A6A1F;
  border-radius: 20px;
  padding: 2px 10px;
  vertical-align: middle;
  margin-left: 6px;
}

.qa-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qa-name {
  max-width: 260px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13.5px;
  background: var(--paper);
}

.qa-name:focus,
.qa-answer:focus {
  outline: none;
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(143, 42, 42, .1);
}

.qa-answer {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13.5px;
  line-height: 1.6;
  background: var(--paper);
  resize: vertical;
}

.vote-box {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 44px;
}

.vote-box .section-head h2 {
  padding-left: 0;
}

.vote-box .section-head h2::before {
  display: none;
}

.vote-question {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.4;
  font-weight: 800;
  margin: 0 0 16px;
}

.vote-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vote-option {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 600;
  transition: border-color .15s, background .15s;
}

.vote-option:hover {
  border-color: var(--crimson);
  background: #FBF6F1;
}

.vote-option input {
  width: auto;
  accent-color: var(--crimson);
  margin: 0;
  flex-shrink: 0;
}

.vote-bar-row {
  margin-bottom: 14px;
}

.vote-bar-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 6px;
}

.vote-bar {
  height: 10px;
  background: var(--paper-2);
  border-radius: 6px;
  overflow: hidden;
}

.vote-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--crimson), #C65B4A);
  border-radius: 6px;
  transition: width .4s;
}

.vote-total {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--ink-soft);
}

.vote-msg {
  background: #E5F3EA;
  color: #2E7D4F;
  padding: 11px 15px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 16px;
}

.vote-msg.dup {
  background: #FBF1DD;
  color: #8A6417;
}
/* ---- Branded loading screen ---- */
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity .45s ease, visibility .45s ease;
}
.site-loader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.site-loader-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.site-loader-logo {
  width: 86px;
  height: 86px;
  border-radius: 18px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 10px 34px rgba(0, 0, 0, .35);
  animation: siteLoaderFloat 1.6s ease-in-out infinite;
}
.site-loader-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.site-loader-fallback {
  font-size: 40px;
}
.site-loader-name {
  color: #fff;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .3px;
}
.site-loader-bar {
  width: 130px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .14);
  overflow: hidden;
  margin-top: 2px;
}
.site-loader-bar span {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 3px;
  background: var(--crimson);
  animation: siteLoaderSlide 1.1s ease-in-out infinite;
}
@keyframes siteLoaderFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes siteLoaderSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(320%); }
}
@media (prefers-reduced-motion: reduce) {
  .site-loader-logo,
  .site-loader-bar span {
    animation: none;
  }
}

/* ═══════════════════════════════════════════
   BACK TO TOP BUTTON
   ═══════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--crimson);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s;
  z-index: 9990;
  box-shadow: 0 4px 16px rgba(180,30,45,0.3);
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: #b01a30;
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(180,30,45,0.4);
}

/* ═══════════════════════════════════════════
   COOKIE CONSENT BANNER
   ═══════════════════════════════════════════ */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 20px;
  pointer-events: none;
  animation: cookieFadeIn 0.4s ease;
}
@keyframes cookieFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-consent-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
  border-radius: 20px;
  padding: 20px 28px;
  max-width: 860px;
  width: 100%;
  pointer-events: auto;
  box-shadow: 0 12px 48px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
  border: none;
  position: relative;
  overflow: hidden;
}
.cookie-consent-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--crimson, #b41e2d), #d4385a);
  border-radius: 20px 0 0 20px;
}
.cookie-consent-logo {
  flex-shrink: 0;
}
.cookie-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid #f5f0ec;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}
.cookie-logo:hover {
  transform: scale(1.05) rotate(-2deg);
}
.cookie-logo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--crimson, #b41e2d) 0%, #d4385a 100%);
  color: #fff;
  border-radius: 14px;
  font-size: 26px;
  box-shadow: 0 4px 12px rgba(180,30,45,0.25);
}
.cookie-consent-text {
  flex: 1;
  padding-right: 10px;
}
.cookie-consent-text p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: #555;
  font-weight: 450;
}
.cookie-consent-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 11px 22px;
  border: none;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  white-space: nowrap;
  letter-spacing: 0.2px;
}
.cookie-btn-accept {
  background: linear-gradient(135deg, var(--crimson, #b41e2d) 0%, #c92a42 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(180,30,45,0.25);
}
.cookie-btn-accept:hover {
  background: linear-gradient(135deg, #9a1826 0%, #b41e2d 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(180,30,45,0.35);
}
.cookie-btn-accept:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(180,30,45,0.2);
}
.cookie-btn-decline {
  background: #f5f5f5;
  color: #666;
  border: 1px solid #e8e8e8;
}
.cookie-btn-decline:hover {
  background: #eee;
  border-color: #ddd;
  transform: translateY(-1px);
}
.cookie-btn-decline:active {
  transform: translateY(0);
}

/* Mobile */
@media (max-width: 640px) {
  .cookie-consent {
    padding: 12px;
    align-items: flex-end;
  }
  .cookie-consent-inner {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 16px;
    border-radius: 16px;
  }
  .cookie-consent-inner::before {
    width: 100%;
    height: 3px;
    border-radius: 16px 16px 0 0;
  }
  .cookie-logo, .cookie-logo-fallback {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }
  .cookie-consent-text p {
    font-size: 13px;
  }
  .cookie-consent-actions {
    width: 100%;
    justify-content: center;
    gap: 12px;
  }
  .cookie-btn {
    flex: 1;
    max-width: 160px;
    padding: 12px 20px;
  }
}

/* Dark mode */
body.dark .cookie-consent-inner {
  background: linear-gradient(135deg, #1e1e1e 0%, #252525 100%);
  box-shadow: 0 12px 48px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.05);
}
body.dark .cookie-logo {
  border-color: #333;
}
body.dark .cookie-consent-text p {
  color: #aaa;
}
body.dark .cookie-btn-decline {
  background: #333;
  color: #ccc;
  border-color: #444;
}
body.dark .cookie-btn-decline:hover {
  background: #3a3a3a;
  border-color: #555;
}

/* ═══════════════════════════════════════════
   AUTHOR PROFILE PAGE
   ═══════════════════════════════════════════ */
.author-profile {
  margin-bottom: 30px;
}
.author-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 30px;
  background: linear-gradient(135deg, #fff 0%, #fefefe 100%);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid #f0ebe6;
}
.author-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--crimson);
  box-shadow: 0 4px 16px rgba(180,30,45,0.15);
}
.author-photo-fallback {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--crimson) 0%, #d4385a 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  font-weight: 700;
  font-family: var(--font-serif);
  box-shadow: 0 4px 16px rgba(180,30,45,0.2);
}
.author-info {
  flex: 1;
}
.author-name {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.2;
}
.author-bio {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0 0 12px;
  line-height: 1.6;
}
.author-stats {
  display: flex;
  gap: 16px;
}
.author-stat {
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
}

/* Article meta author link */
.meta-author-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 6px;
  border: 2px solid #f0ebe6;
}
.meta-author-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.meta-author {
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.meta-author:hover {
  color: var(--crimson);
}

/* Dark mode */
body.dark .author-header {
  background: linear-gradient(135deg, #1e1e1e 0%, #252525 100%);
  border-color: rgba(255,255,255,0.05);
}
body.dark .author-photo {
  border-color: var(--crimson);
}
body.dark .author-name {
  color: #e0e0e0;
}
body.dark .author-bio {
  color: #999;
}

/* Mobile */
@media (max-width: 640px) {
  .author-header {
    flex-direction: column;
    text-align: center;
    padding: 24px 16px;
  }
  .author-photo, .author-photo-fallback {
    width: 80px;
    height: 80px;
    font-size: 36px;
  }
  .author-name {
    font-size: 22px;
  }
  .author-stats {
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════
   TEXT-TO-SPEECH (TTS)
   ═══════════════════════════════════════════ */

/* Listen button (in article-meta area) */
.tts-listen-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border: 1px solid #ddd;
  border-radius: 14px;
  background: #fafafa;
  color: #555;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  font-family: inherit;
  margin-left: 8px;
  vertical-align: middle;
}
.tts-listen-btn:hover {
  border-color: var(--crimson);
  color: var(--crimson);
  background: #fff0f3;
}
.tts-listen-btn svg {
  width: 13px;
  height: 13px;
}

/* Floating player bar */
.tts-player {
  position: fixed;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: min(420px, 94vw);
  z-index: 9999;
  transition: bottom 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.tts-player--visible {
  bottom: 20px;
  pointer-events: auto;
}
.tts-player-inner {
  background: #fff;
  border-radius: 50px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.08);
  padding: 10px 20px;
  border: 1px solid rgba(180,30,45,0.1);
  display: flex;
  align-items: center;
  gap: 14px;
}
.tts-player-info {
  display: none;
}
.tts-player-progress-bar {
  display: none;
}
.tts-player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}
.tts-ctrl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #f5f0eb;
  color: #444;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.tts-ctrl:hover {
  background: #eee;
  transform: scale(1.08);
}
.tts-ctrl-main {
  width: 50px;
  height: 50px;
  background: var(--crimson);
  color: #fff;
  font-size: 20px;
}
.tts-ctrl-main:hover {
  background: #b01a30;
  color: #fff;
}

/* Voice toggle */
.tts-voice-wrap { position: relative; }
.tts-voice-btn { font-size: 16px !important; line-height: 1; padding: 0 10px !important; }
.tts-voice-popup {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 4px;
  min-width: 110px;
  z-index: 1001;
}
.tts-voice-popup.show { display: flex; }
.tts-voice-opt {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  white-space: nowrap;
  transition: background 0.15s;
}
.tts-voice-opt:hover { background: #f5f5f5; }
.tts-voice-opt.active { background: #fce4ec; color: #b41e2d; font-weight: 600; }

/* Mobile: full width */
@media (max-width: 540px) {
  .tts-player { width: calc(100vw - 16px); }
  .tts-listen-btn { font-size: 12px; padding: 5px 12px; }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  .tts-listen-btn { background: #2a2a2a; border-color: var(--crimson); }
  .tts-listen-btn:hover { background: var(--crimson); }
  .tts-player-inner { background: #1e1e1e; border-color: rgba(180,30,45,0.2); }
  .tts-ctrl { background: #333; color: #ccc; }
  .tts-ctrl:hover { background: #444; }
  .tts-voice-popup { background: #2a2a2a; }
  .tts-voice-opt { color: #ccc; }
  .tts-voice-opt:hover { background: #3a3a3a; }
  .tts-voice-opt.active { background: #3a1a1e; color: #ff6b7a; }
}
@media (prefers-reduced-motion: reduce) {
  .tts-player { transition: none; }
}

/* ═══════════════════════════════════════════
   THEME TOGGLE BUTTON
   ═══════════════════════════════════════════ */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: inherit;
  cursor: pointer;
  transition: all 0.3s;
  margin-left: 8px;
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: rgba(255,255,255,0.15);
  transform: scale(1.1);
}
.theme-icon-moon { display: none; }
body.dark .theme-icon-sun { display: none; }
body.dark .theme-icon-moon { display: block; }

/* ═══════════════════════════════════════════
   DARK MODE
   ═══════════════════════════════════════════ */
body.dark {
  --paper: #121212;
  --paper-2: #1a1a1a;
  --ink: #e8e8e8;
  --ink-soft: #aaa;
  --line: #2a2a2a;
  --crimson: #e63950;
  --shadow: 0 2px 12px rgba(0,0,0,0.4);
  background: #121212;
  color: #e0e0e0;
}

body.dark .site-header {
  background: #1a1a1a;
  border-bottom-color: #2a2a2a;
}

body.dark .topbar {
  background: #161616;
  border-bottom-color: #2a2a2a;
}

body.dark .topbar-clock { color: #ccc; }
body.dark #clockTime { color: var(--crimson); }

body.dark .topbar-right .lang-switch a {
  color: #999;
}
body.dark .topbar-right .lang-switch a.active {
  background: var(--crimson);
  color: #fff;
}

body.dark .theme-toggle {
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
}
body.dark .theme-toggle:hover {
  background: rgba(255,255,255,0.12);
}

/* Nav */
body.dark .main-nav {
  background: #1a1a1a;
  border-bottom-color: #2a2a2a;
}
body.dark .main-nav a { color: #ccc; }
body.dark .main-nav a:hover,
body.dark .main-nav a.active { color: var(--crimson); }

/* Cards */
body.dark .news-card {
  background: #1e1e1e;
  border-color: #2a2a2a;
}
body.dark .news-card h3 a { color: #e0e0e0; }
body.dark .news-card-body p { color: #999; }

/* Hero */
body.dark .hero-overlay { background: rgba(0,0,0,0.8); }
body.dark .hero-side-item { background: #1e1e1e; border-color: #2a2a2a; }
body.dark .hero-side-item h3 { color: #e0e0e0; }

/* Article */
body.dark .article-full { background: #1a1a1a; border-color: #2a2a2a; }
body.dark .article-full h1 { color: #f0f0f0; }
body.dark .article-content { color: #d0d0d0; }
body.dark .article-content a { color: var(--crimson); }
body.dark .article-meta .meta-read { background: #2a2a2a; color: #bbb; }
body.dark .article-meta .meta-views { color: #888; }

/* Share buttons */
body.dark .share-row span:first-child { color: #999; }
body.dark .share-btn { border-color: #333; color: #ccc; }
body.dark .share-btn.fb:hover { background: #1877f2; color: #fff; }
body.dark .share-btn.wa:hover { background: #25d366; color: #fff; }

/* Section blocks */
body.dark .section-block { background: transparent; }
body.dark .section-head h2 { color: #e0e0e0; }

/* Sidebar */
body.dark .widget {
  background: #1a1a1a;
  border-color: #2a2a2a;
}
body.dark .widget-title { color: #e0e0e0; border-bottom-color: #2a2a2a; }
body.dark .meta-line { color: #888; }

/* Weather widget */
body.dark .weather-result { border-color: #2a2a2a; }
body.dark .weather-detail { border-color: #2a2a2a; }

/* Comments */
body.dark .comments-section { background: #1a1a1a; }
body.dark .comment-item { border-bottom-color: #2a2a2a; }
body.dark .comment-item strong { color: #e0e0e0; }
body.dark .comment-item p { color: #bbb; }

body.dark .comment-form input,
body.dark .comment-form textarea {
  background: #1e1e1e;
  border-color: #333;
  color: #e0e0e0;
}
body.dark .comment-form input::placeholder,
body.dark .comment-form textarea::placeholder { color: #666; }

/* Footer */
body.dark .site-footer { background: #0e0e0e; border-top-color: #2a2a2a; }
body.dark .site-footer h4 { color: #e0e0e0; }
body.dark .site-footer li a { color: #999; }
body.dark .site-footer li a:hover { color: var(--crimson); }
body.dark .footer-about p { color: #888; }
body.dark .footer-bottom { background: #0a0a0a; }

/* Breaking news */
body.dark .breaking-strip { background: #1a1a1a; }
body.dark .breaking-label { background: var(--crimson); }

/* Ad strips */
body.dark .ad-strip { background: transparent; }

/* Forms */
body.dark .contact-form input,
body.dark .contact-form textarea,
body.dark .newsletter-form input {
  background: #1e1e1e;
  border-color: #333;
  color: #e0e0e0;
}

/* Tools */
body.dark .tool-section {
  background: #1a1a1a;
  border-color: #2a2a2a;
}
body.dark .tool-section h2 { color: #e0e0e0; }
body.dark .tool-field input,
body.dark .tool-field select {
  background: #1e1e1e;
  border-color: #333;
  color: #e0e0e0;
}
body.dark .tool-tab { background: #1e1e1e; color: #999; }
body.dark .tool-tab.active { background: var(--crimson); color: #fff; }

/* Horoscope */
body.dark .detail-body { background: #1a1a1a; border-color: #2a2a2a; color: #d0d0d0; }
body.dark .rashi-card { background: #1e1e1e; border-color: #2a2a2a; }
body.dark .rashi-card.active { border-color: var(--crimson); }

/* Founder strip */
body.dark .founder-strip { background: #161616; border-top-color: #2a2a2a; border-bottom-color: #2a2a2a; }
body.dark .founder-text h3 { color: #e0e0e0; }
body.dark .founder-text p { color: #999; }

/* Podcast */
body.dark .podcast-card { background: #1e1e1e; border-color: #2a2a2a; }
body.dark .podcast-card h3 { color: #e0e0e0; }

/* Search */
body.dark .search-box input {
  background: #1e1e1e;
  border-color: #333;
  color: #e0e0e0;
}

/* TTS player */
body.dark .tts-player-inner { background: #1e1e1e; border-color: #2a2a2a; }
body.dark .tts-player-title { color: #e0e0e0; }
body.dark .tts-ctrl { background: #2a2a2a; border-color: #333; color: #ccc; }
body.dark .tts-ctrl:hover { border-color: var(--crimson); background: #333; }

/* Back to top */
body.dark .back-to-top { box-shadow: 0 4px 16px rgba(0,0,0,0.5); }

/* Category pills */
body.dark .cat-pill a { color: #ccc; }

/* Tags / badges */
body.dark .type-badge { background: #2a2a2a; color: #ccc; }

/* Tables */
body.dark table.forex-full-table th { background: #1a1a1a; color: #e0e0e0; }
body.dark table.forex-full-table td { border-color: #2a2a2a; color: #d0d0d0; }
body.dark table.forex-full-table tr:nth-child(even) { background: #161616; }

/* Page title */
body.dark .page-title-head { color: #e0e0e0; }
body.dark .page-title-head p { color: #999; }

/* Loader */
body.dark .site-loader { background: #121212; }

/* ══ DARK MODE FIX — article text must be white ══ */
body.dark .article-content,
body.dark .article-content p,
body.dark .article-content li,
body.dark .article-content td,
body.dark .article-content th,
body.dark .article-content span,
body.dark .article-content strong,
body.dark .article-content em {
  color: #e0e0e0 !important;
}

body.dark .article-content h2,
body.dark .article-content h3,
body.dark .article-content h4 {
  color: #f0f0f0 !important;
}

body.dark .share-row span { color: #bbb !important; }

/* Force all inline-styled text to override */
body.dark .article-content * {
  color: inherit;
}
body.dark .article-content h2,
body.dark .article-content h3,
body.dark .article-content h4,
body.dark .article-content strong {
  color: #f0f0e0 !important;
}
body.dark .article-content a {
  color: var(--crimson) !important;
}
body.dark .article-content a:hover {
  color: #ff6b7a !important;
}
body.dark .article-content blockquote {
  border-left-color: var(--crimson) !important;
  color: #ccc !important;
}
