/* Bharat Times Live — original editorial theme (not TOI / Republic). */
:root {
  --ink: #10233a;
  --ink-2: #173049;
  --ink-3: #23415f;
  --gold: #c4a35a;
  --gold-2: #e8c872;
  --gold-dim: #8a7033;
  --paper: #f3efe4;
  --paper-2: #e8e2d4;
  --card: #fffcf6;
  --text: #1c1917;
  --muted: #57534e;
  --line: #ddd4c4;
  --saffron: #c05621;
  --teal: #0f766e;
  --up: #047857;
  --down: #b91c1c;
  --shadow: 0 10px 30px rgba(16, 35, 58, 0.08);
  --radius: 14px;
  --header-h: 4.25rem;
  --max: 1180px;
  --sans: "Mukta", "Noto Sans Devanagari", "Segoe UI", system-ui, sans-serif;
  --serif: "Noto Serif Devanagari", "Noto Serif", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  font-size: 1.05rem;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--ink);
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* Tricolor hairline — a thin rule, not a flag reproduction */
.tricolor {
  height: 3px;
  background: linear-gradient(90deg, #c05621 0 33.33%, #f7f4ee 33.33% 66.66%, #0f766e 66.66%);
}

/* Market ticker */
.market-bar {
  background: var(--ink);
  color: #f6f0e4;
  border-bottom: 1px solid rgba(196, 163, 90, 0.35);
  position: sticky;
  top: 0;
  z-index: 40;
}
.market-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.45rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 2.6rem;
}
.market-label {
  flex: none;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  border-right: 1px solid rgba(196, 163, 90, 0.35);
  padding-right: 0.85rem;
  text-decoration: none;
}
a.market-label:hover { color: var(--gold-2); }
.market-track {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
}
.market-move {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  width: max-content;
  animation: market-tick 42s linear infinite;
  will-change: transform;
}
.market-track:hover .market-move,
.market-track.is-paused .market-move {
  animation-play-state: paused;
}
@keyframes market-tick {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .market-move { animation: none; }
  .market-track { overflow-x: auto; scrollbar-width: none; }
  .market-track::-webkit-scrollbar { display: none; }
}
.rate {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  white-space: nowrap;
  font-size: 0.92rem;
}
.rate .name { color: #c9d4e0; font-weight: 600; }
.rate .value { font-variant-numeric: tabular-nums; font-weight: 700; color: #fff; }
.rate .chg { font-size: 0.8rem; font-variant-numeric: tabular-nums; font-weight: 600; }
.rate.up .chg { color: #34d399; }
.rate.down .chg { color: #fca5a5; }
.rate.flat .chg { color: #d6d3d1; }
.rate.missing .value,
.rate.missing .chg { color: #a8a29e; font-weight: 500; }
.market-meta {
  flex: none;
  font-size: 0.72rem;
  color: #b8c0c8;
  text-align: right;
  line-height: 1.3;
  max-width: 14rem;
}
.market-meta strong { color: var(--gold-2); font-weight: 600; }

/* Header */
.site-header {
  background: var(--ink-2);
  color: #f7f3ea;
  position: relative;
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.7rem 1rem 0.55rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
}
.brand img {
  width: 44px;
  height: 44px;
  flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.01em;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.brand-name .live {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.18rem 0.48rem 0.08rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}
.brand-name .live .dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #7f1d1d;
  box-shadow: 0 0 0 0 rgba(127, 29, 29, 0.6);
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 6px rgba(127, 29, 29, 0); }
}
.brand-tag {
  margin-top: 0.22rem;
  font-size: 0.78rem;
  color: #c9d0d8;
  letter-spacing: 0.02em;
}
.header-tools {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.today {
  font-size: 0.85rem;
  color: #d6d3d1;
  text-align: end;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(196, 163, 90, 0.45);
  color: var(--gold-2);
  border-radius: 8px;
  width: 2.6rem;
  height: 2.6rem;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  position: relative;
  margin: 0 auto;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-wrap, .nav-toggle { display: none; } /* replaced by .section-bar below the breaking strip */
.site-nav {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  gap: 0.2rem;
  padding: 0 0.5rem;
  overflow-x: auto;
}
.site-nav a {
  text-decoration: none;
  color: #e7e5e4;
  padding: 0.7rem 0.95rem 0.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a:focus-visible { color: var(--gold-2); }
.site-nav a[aria-current="page"] {
  color: var(--gold-2);
  border-bottom-color: var(--gold);
}

/* Breaking */
.breaking {
  background: #fff8eb;
  border-bottom: 1px solid var(--line);
}
.breaking-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.45rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 2.5rem;
  overflow: hidden;
}
.breaking-kicker {
  flex: none;
  background: var(--saffron);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.22rem 0.5rem;
  border-radius: 4px;
}
.breaking-track {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
}
.breaking-move {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: tick 40s linear infinite;
}
.breaking-track:hover .breaking-move { animation-play-state: paused; }
.breaking-move a {
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  font-size: 0.95rem;
}
.breaking-move a:hover { color: var(--saffron); }

/* Always-visible section tabs, directly under the breaking strip */
.section-bar {
  background: var(--ink);
  border-bottom: 1px solid rgba(196, 163, 90, 0.4);
}
.section-bar-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: 0.15rem;
  padding: 0.15rem 0.35rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.section-bar-inner::-webkit-scrollbar { display: none; }
.section-bar a {
  flex: 1 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: #e7e5e4;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  min-height: 48px;
  min-width: 4.4rem;
  padding: 0.7rem 0.95rem;
  border-bottom: 3px solid transparent;
}
.section-bar a:hover,
.section-bar a:focus-visible { color: var(--gold-2); }
.section-bar a[aria-current="page"] {
  color: var(--gold-2);
  border-bottom-color: var(--gold);
  background: rgba(196, 163, 90, 0.08);
}

@media (max-width: 480px) {
  .section-bar-inner { padding: 0.15rem 0.2rem; gap: 0; }
  .section-bar a {
    font-size: 0.9rem;
    padding: 0.7rem 0.48rem;
    min-width: 0;
  }
}
@keyframes tick {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

main { max-width: var(--max); margin: 0 auto; padding: 1.25rem 1rem 3rem; }
.page-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 0.35rem;
  line-height: 1.25;
}
.lede { color: var(--muted); margin: 0 0 1.25rem; }

/* Hero */
.hero {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}
.hero-feature,
.story-card,
.side-item {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-feature { overflow: hidden; display: flex; flex-direction: column; }
.hero-feature .card-link, .story-card .card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  min-height: 0;
}
.hero-feature .media {
  background: var(--ink-3);
  min-height: 220px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: auto;
  display: block;
}
.hero-feature .media.placeholder,
.thumb.placeholder {
  display: grid;
  place-items: center;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 700;
}
.hero-body, .card-body { padding: 1rem 1.1rem 1.15rem; }
.kicker {
  color: var(--gold-dim);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-feature h2,
.story-card h3,
.side-item h3 {
  font-family: var(--serif);
  line-height: 1.35;
  margin: 0.3rem 0 0.45rem;
  font-weight: 700;
}
.hero-feature h2 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
.meta { color: var(--muted); font-size: 0.82rem; display: flex; gap: 0.55rem; flex-wrap: wrap; }
.hero-side { display: flex; flex-direction: column; gap: 0.75rem; }
.side-item {
  padding: 0.55rem;
  overflow: hidden;
}
.side-item .card-link {
  text-decoration: none;
  color: inherit;
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 0.7rem;
  align-items: center;
  min-width: 0;
  padding-right: 2.5rem;
}
.side-item .thumb {
  width: 112px;
  height: 84px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  background: var(--ink-3);
  display: block;
}
.side-item .side-copy { min-width: 0; }
.side-item .kicker { margin: 0; }
.side-item h3 { font-size: 1.02rem; margin: 0.15rem 0 0.2rem; }
.story-card { overflow: hidden; display: flex; flex-direction: column; height: 100%; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.story-card:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(16, 35, 58, 0.12); }
.story-card .thumb {
  background: var(--ink-3);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: auto;
  display: block;
}
.story-card h3 { font-size: 1.08rem; }
.story-card .card-body { flex: 1; display: flex; flex-direction: column; }
.story-card .summary { color: var(--muted); font-size: 0.92rem; margin: 0 0 0.6rem; }
.story-card .meta { margin-top: auto; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.5rem 0 0.85rem;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 0.3rem;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: 1.45rem;
  margin: 0;
}
.section-head a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}
.section-head a:hover { text-decoration: underline; }
.section-head .wa-share:hover { text-decoration: none; }
.section-head-tools {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Static pages */
.prose {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.8rem;
  box-shadow: var(--shadow);
  max-width: 46rem;
}
.prose h2 { font-family: var(--serif); margin-top: 1.4rem; }
.prose p { margin: 0.7rem 0; }
.form-grid { display: grid; gap: 0.8rem; margin-top: 1rem; }
.form-grid label { font-weight: 600; display: grid; gap: 0.3rem; }
.form-grid input,
.form-grid textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  background: #fff;
}
.form-grid button,
.btn {
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 0.65rem 1.1rem;
  font-weight: 700;
  cursor: pointer;
  width: fit-content;
}
.form-note { color: var(--muted); font-size: 0.9rem; }

.status {
  padding: 1rem;
  color: var(--muted);
  text-align: center;
}
.status.error { color: var(--down); }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #d6d3d1;
  padding: 2rem 1rem 1.4rem;
  margin-top: auto;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}
.footer-brand { font-family: var(--serif); color: #f6f0e4; font-size: 1.2rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.9rem 1.2rem; }
.footer-links a { color: var(--gold-2); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-note { font-size: 0.85rem; color: #a8a29e; margin: 0; }
.copy { font-size: 0.8rem; color: #78716c; margin: 0.8rem 0 0; }

@media (min-width: 700px) {
  .hero { grid-template-columns: 1.45fr 1fr; align-items: stretch; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hero-feature { height: 100%; }
  .hero-feature .media { min-height: 320px; }
}
@media (min-width: 980px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .cards.dense { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 799px) {
  .today { display: none; }
  .market-meta { display: none; }
  .brand-name { font-size: 1.2rem; }
  .breaking-move { animation-duration: 55s; }
  .market-move { animation-duration: 48s; }
}

/* —— धर्म: पंचांग, राशिफल, त्योहार —— */
.dharm-page .lede { max-width: 46rem; }
.dharm-block { margin: 2rem 0 2.6rem; }
.dharm-sub, .credit {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 1rem;
}
.credit { margin-top: 0.85rem; font-size: 0.82rem; }
.dharm-city {
  color: var(--gold-dim);
  font-size: 0.92rem;
  font-weight: 600;
}
.panchang-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.panchang-tile, .panchang-time {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1rem 1rem;
  box-shadow: var(--shadow);
}
.panchang-tile .lbl, .panchang-time .lbl {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dim);
  font-weight: 700;
}
.panchang-tile .val, .panchang-time .val {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--ink);
  margin-top: 0.2rem;
  line-height: 1.35;
}
.panchang-time .val { font-size: 1.08rem; }
.panchang-tile .until, .panchang-time .until {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.panchang-meta-row {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  background: var(--ink);
  color: #f6f0e4;
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
}
.panchang-meta-row span { font-size: 0.95rem; }
.panchang-meta-row strong { color: var(--gold-2); font-weight: 700; }

.rashi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}
.rashi-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 3.05rem 1.1rem 1.05rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: inherit;
}
.rashi-card .card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
  min-width: 0;
}
.rashi-card:hover { border-color: var(--gold); }
.rashi-card h3 {
  font-family: var(--serif);
  margin: 0;
  font-size: 1.25rem;
  color: var(--ink);
}
.rashi-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
  flex: 1;
}
.rashi-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 0.5rem;
  margin-top: 0.3rem;
}
.rashi-meta b { color: var(--ink-3); font-weight: 700; }

.fest-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.fest-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.15rem 1.15rem;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1rem;
}
.fest-card.today {
  border-color: var(--gold);
  background: linear-gradient(180deg, #fff8e8 0%, var(--card) 50%);
}
.fest-date {
  background: var(--ink);
  color: var(--gold-2);
  border-radius: 10px;
  min-width: 4.4rem;
  text-align: center;
  padding: 0.45rem 0.4rem;
  line-height: 1.2;
}
.fest-date .d { display: block; font-family: var(--serif); font-size: 1.55rem; font-weight: 700; }
.fest-date .m { display: block; font-size: 0.72rem; letter-spacing: 0.04em; }
.fest-card h3 {
  font-family: var(--serif);
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  color: var(--ink);
}
.fest-card p { margin: 0; font-size: 0.95rem; color: var(--text); }
.fest-card .fest-note { margin-top: 0.4rem; font-size: 0.82rem; color: var(--muted); }
.fest-empty { color: var(--muted); margin: 0; }

.home-dharm {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.1rem 1.15rem;
  margin: 0 0 1.25rem;
}
.home-dharm-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  margin-bottom: 0.7rem;
}
.home-dharm-top h3 {
  font-family: var(--serif);
  margin: 0;
  font-size: 1.15rem;
  color: var(--ink);
}
.home-dharm-top a { color: var(--gold-dim); font-weight: 700; font-size: 0.92rem; text-decoration: none; }
.home-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.home-chip {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.85rem;
}
.home-chip b { color: var(--ink); }
.home-fest {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}
.home-fest strong { font-family: var(--serif); color: var(--ink); }

@media (max-width: 900px) {
  .panchang-grid { grid-template-columns: repeat(2, 1fr); }
  .rashi-grid { grid-template-columns: repeat(2, 1fr); }
  .fest-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .rashi-grid { grid-template-columns: 1fr; }
  .panchang-tile .val, .panchang-time .val { font-size: 1.12rem; }
}

/* WhatsApp share */
.wa-share {
  position: absolute;
  right: 0.65rem;
  top: 0.65rem;
  z-index: 3;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(16, 35, 58, 0.22);
  text-decoration: none !important;
  line-height: 0;
  -webkit-tap-highlight-color: transparent;
}
.side-item .wa-share {
  right: 0.45rem;
  top: 0.45rem;
  width: 36px;
  height: 36px;
}
.section-head .wa-share,
.wa-share-inline {
  position: static;
  width: 36px;
  height: 36px;
  flex: none;
}
.wa-share:hover,
.wa-share:focus-visible {
  background: #1ebe57;
  color: #fff !important;
  transform: scale(1.06);
}
.wa-share:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.wa-share .wa-icon,
.wa-float .wa-icon {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
}
.side-item .wa-share .wa-icon { width: 18px; height: 18px; }

.wa-float {
  position: fixed;
  right: max(0.85rem, env(safe-area-inset-right));
  bottom: max(0.85rem, env(safe-area-inset-bottom));
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.2;
  padding: 0.65rem 1.05rem 0.65rem 0.7rem;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(16, 35, 58, 0.28);
  -webkit-tap-highlight-color: transparent;
  max-width: calc(100vw - 1.5rem);
}
.wa-float:hover,
.wa-float:focus-visible {
  background: #1ebe57;
  color: #fff;
  text-decoration: none;
}
.wa-float:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.wa-float span { white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .wa-share:hover,
  .wa-share:focus-visible { transform: none; }
}

/* Home rashifal teaser + landing pages */
.home-rashifal {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.1rem 1.15rem;
  margin: 0 0 1.25rem;
}
.home-rashifal-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  margin-bottom: 0.45rem;
}
.home-rashifal-top h3 {
  font-family: var(--serif);
  margin: 0;
  font-size: 1.15rem;
  color: var(--ink);
}
.home-rashifal-top a { color: var(--gold-dim); font-weight: 700; font-size: 0.92rem; text-decoration: none; }
.home-rashifal-top a:hover { text-decoration: underline; }
.home-rashifal-date { margin: 0 0 0.7rem; color: var(--muted); font-size: 0.92rem; }
.rashi-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.rashi-chips a {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.22rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}
.rashi-chips a:hover { border-color: var(--gold); color: var(--ink); }

.panchang-brief { margin: 0 0 1.75rem; }
.rashi-card[id] { scroll-margin-top: 5.5rem; }

.rate-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin: 0 0 1.6rem;
}
.rate-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.05rem 1.15rem 1.15rem;
}
.rate-card .lbl {
  color: var(--gold-dim);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}
.rate-card .amt {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin: 0.25rem 0 0.15rem;
  font-variant-numeric: tabular-nums;
}
.rate-card .unit { color: var(--muted); font-size: 0.86rem; margin: 0; }
.rate-card .chg {
  margin: 0.45rem 0 0;
  font-weight: 700;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}
.rate-card .chg.up { color: var(--up); }
.rate-card .chg.down { color: var(--down); }
.rate-card .chg.flat { color: var(--muted); }
.rate-card .src { margin: 0.4rem 0 0; font-size: 0.78rem; color: var(--muted); }
.rate-card.approx { background: linear-gradient(180deg, #fff8e8 0%, var(--card) 55%); }

.markets-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 0 0 1.5rem;
}
.markets-mini .rate-card .amt { font-size: 1.35rem; }

.rate-meta, .rate-disclaimer {
  color: var(--muted);
  font-size: 0.92rem;
}
.rate-meta { margin: 0 0 1.1rem; }
.rate-disclaimer { margin: 0 0 1.75rem; }
.rate-disclaimer a { color: var(--teal); font-weight: 700; }

@media (max-width: 700px) {
  .rate-grid, .markets-mini { grid-template-columns: 1fr; }
}

.rate-faq { margin: 1.5rem 0 1.75rem; }
.rate-faq h2 { font-family: var(--serif); font-size: 1.35rem; margin: 0 0 0.6rem; }
.rate-faq details { border-bottom: 1px solid var(--line); padding: 0.7rem 0; }
.rate-faq summary { font-weight: 700; cursor: pointer; color: var(--ink); }
.rate-faq details p { margin: 0.45rem 0 0; color: var(--muted); }
.kicker a { color: var(--gold-dim); font-weight: 700; text-decoration: none; }
.kicker a:hover { text-decoration: underline; }
.landing-sub { font-family: var(--serif); font-size: 1.45rem; margin: 0.4rem 0 0.9rem; color: var(--ink); }
