/* Sanatan Bliss — home festival spotlight (Patch 31) · पर्व विशेष हीरो */
.sbs { position: relative; isolation: isolate; overflow: hidden; color: #fff; min-height: clamp(560px, 82vh, 720px);
  display: flex; align-items: center; background: linear-gradient(160deg, var(--c1), var(--c2)); }
.sbs ~ .hero { display: none; }
body:has(#sb-spotlight) #sb-greet.sbg-home { display: none; }

/* the festival scene, right-weighted; text side fades into the sky colour */
.sbs-art { position: absolute; inset: 0; z-index: -3; }
.sbs-art svg { position: absolute; right: 0; top: 0; height: 100%; width: min(100%, 1100px); }
.sbs-shade { position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(90deg, var(--c1) 0%, color-mix(in srgb, var(--c1) 88%, transparent) 30%, color-mix(in srgb, var(--c1) 35%, transparent) 58%, transparent 78%),
              linear-gradient(0deg, color-mix(in srgb, var(--c1) 80%, transparent) 0%, transparent 30%); }

/* rising sparks */
.sbs-sparks { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sbs-sparks i { position: absolute; bottom: -10px; left: var(--x); width: 4px; height: 4px; border-radius: 50%;
  background: var(--acc); box-shadow: 0 0 10px 2px color-mix(in srgb, var(--acc) 70%, transparent); opacity: 0; }

.sbs-inner { position: relative; width: 100%; max-width: 1200px; margin: 0 auto; padding: 48px max(24px, 4vw) 36px; }
.sbs-inner > * { max-width: 600px; }
/* 2.5.2: line the hero text up with the logo in the navbar (full-width nav, 40px padding) instead of a centred 1200px column */
/* 2.5.3: the extra left-ledge diyas (for the full-width festival page) sat behind the hero buttons */
@media (min-width: 761px) { .sbs .sbs-art .sbf-wide { display: none; } }
/* 2.9.11: same left edge as the inner-page heroes (aarti, festivals …: 5vw) — the old 24px fallback hugged the screen edge */
@media (min-width: 1025px) { .sbs-inner { max-width: none; margin: 0; padding-left: var(--sbs-left, 5vw); padding-right: 5vw; } }
.sbs-kicker { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid color-mix(in srgb, var(--acc) 45%, transparent);
  font-family: var(--font-hindi, serif); font-size: .9rem; color: var(--acc); letter-spacing: .02em; backdrop-filter: blur(6px); }
.sbs-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 0 var(--acc); }
.sbs-when { margin: 22px 0 4px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; font-size: .95rem; color: rgba(255,255,255,.78); letter-spacing: .04em; text-transform: uppercase; }
.sbs-rel:empty { display: none; }
.sbs-rel { font-weight: 700; color: #fff; padding: 2px 10px; border-radius: 6px; background: color-mix(in srgb, var(--acc2) 75%, transparent); text-transform: none; letter-spacing: .02em; }
.sbs-title { margin: 0; font-family: var(--font-hindi, serif); font-weight: 400; font-size: clamp(3rem, 7.4vw, 5.6rem); line-height: 1.12;
  background: linear-gradient(100deg, #fff4cf 0%, var(--acc) 40%, #fff 55%, var(--acc) 70%, var(--acc2) 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 24px color-mix(in srgb, var(--acc) 35%, transparent)); }
.sbs-en { margin: 2px 0 14px; font-family: var(--font-display, serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.1rem); color: #fff; }
.sbs-line { margin: 0 0 26px; font-size: 1.02rem; line-height: 1.65; color: rgba(255,255,255,.84); }
.sbs-line span { display: block; margin-top: 4px; font-family: var(--font-hindi, serif); color: rgba(255,255,255,.66); font-size: .98rem; }

/* muhurat card */
.sbs-mu { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 16px 20px; margin-bottom: 24px;
  border-radius: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 18px 40px rgba(0,0,0,.25); }
.sbs-mu-l { display: flex; flex-direction: column; gap: 3px; }
.sbs-mu-label { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--acc); font-weight: 700; }
.sbs-mu-label span { text-transform: none; letter-spacing: 0; font-weight: 400; font-family: var(--font-hindi, serif); }
.sbs-mu-time { font-family: var(--font-display, serif); font-size: 1.7rem; font-weight: 700; color: #fff; line-height: 1.1; }
.sbs-mu-time small { font-family: var(--font-body, sans-serif); font-size: .72rem; font-weight: 500; color: rgba(255,255,255,.6); margin-left: 4px; }
.sbs-mu-r { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.sbs-cd { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 1rem; color: #fff; }
.sbs-cd.is-live { color: #0b2a16; background: #7ef0a8; padding: 3px 10px; border-radius: 999px; font-size: .86rem; }
.sbs-mu-r a { font-size: .8rem; color: var(--acc); text-decoration: none; }
.sbs-mu-r a:hover { text-decoration: underline; }

/* buttons */
.sbs-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.sbs-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-size: .9rem; font-weight: 600;
  text-decoration: none; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.24); transition: transform .2s, background .2s, box-shadow .2s; }
.sbs-btn:hover { transform: translateY(-2px); background: rgba(255,255,255,.18); }
.sbs-btn-p { color: #2a1400; border: 0; background: linear-gradient(135deg, #fff1c1, var(--acc) 55%, var(--acc2));
  box-shadow: 0 10px 28px color-mix(in srgb, var(--acc2) 45%, transparent); }
.sbs-btn-p:hover { background: linear-gradient(135deg, #fff6d8, var(--acc) 50%, var(--acc2)); box-shadow: 0 14px 34px color-mix(in srgb, var(--acc2) 55%, transparent); }
.sbs-wa { background: #25d366; border-color: #25d366; color: #0b2a16; }
.sbs-wa:hover { background: #3be07a; }

/* Diwali-week strip */
.sbs-week { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; max-width: 680px !important; }
.sbs-week li a { display: flex; flex-direction: column; min-width: 92px; white-space: nowrap; padding: 9px 12px; border-radius: 12px; text-decoration: none;
  background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.8); transition: all .2s; }
.sbs-week b { font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.sbs-week span { font-size: .88rem; font-weight: 600; }
.sbs-week li a:hover { border-color: var(--acc); color: #fff; }
.sbs-week li.is-past a { opacity: .45; }
.sbs-week li.is-today a, .sbs-week li.is-focus a { background: color-mix(in srgb, var(--acc) 22%, transparent); border-color: var(--acc); color: #fff; }
.sbs-week li.is-today b { color: var(--acc); }

@media (prefers-reduced-motion: no-preference) {
  .sbs-title { animation: sbsShine 7s ease-in-out infinite; }
  .sbs-dot { animation: sbsPulse 2.2s ease-out infinite; }
  .sbs-sparks i { animation: sbsRise var(--d) linear infinite; animation-delay: var(--w); }
  .sbs-inner > * { animation: sbsUp .8s cubic-bezier(.2,.7,.2,1) both; }
  .sbs-inner > :nth-child(2) { animation-delay: .08s; } .sbs-inner > :nth-child(3) { animation-delay: .16s; }
  .sbs-inner > :nth-child(4) { animation-delay: .24s; } .sbs-inner > :nth-child(5) { animation-delay: .32s; }
  .sbs-inner > :nth-child(6) { animation-delay: .4s; } .sbs-inner > :nth-child(7) { animation-delay: .48s; } .sbs-inner > :nth-child(8) { animation-delay: .56s; }
}
@keyframes sbsShine { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
@keyframes sbsPulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--acc) 70%, transparent); } 100% { box-shadow: 0 0 0 12px transparent; } }
@keyframes sbsRise { 0% { transform: translateY(0) scale(1); opacity: 0; } 10% { opacity: .9; } 100% { transform: translateY(-80vh) scale(.4); opacity: 0; } }
@keyframes sbsUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* phones: scene on top, text below */
@media (max-width: 760px) {
  .sbs { flex-direction: column; align-items: stretch; min-height: 0; }
  .sbs-art { position: relative; inset: auto; height: 250px; z-index: 0; }
  .sbs-art svg { width: 100%; }
  .sbs-shade { background: linear-gradient(180deg, transparent 0, transparent 130px, var(--c1) 250px, var(--c1) 100%); z-index: 0; }
  .sbs-sparks { z-index: 0; }
  .sbs-inner { margin-top: -54px; padding: 0 18px 28px; z-index: 1; }
  .sbs-when { margin-top: 16px; font-size: .82rem; }
  .sbs-line { font-size: .95rem; }
  .sbs-mu { padding: 14px 16px; }
  .sbs-mu-r { align-items: flex-start; text-align: left; }
  .sbs-mu-time { font-size: 1.4rem; }
  .sbs-ctas { display: grid; grid-template-columns: 1fr 1fr; }
  .sbs-btn { padding: 11px 14px; font-size: .84rem; justify-content: center; text-align: center; }
  .sbs-btn-p { grid-column: 1 / -1; padding: 14px; font-size: .95rem; }
  .sbs-week { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -18px; padding: 0 18px; }
  .sbs-week li a { min-width: 86px; }
}

/* ── Daily darshan (quiet days) · आज का दर्शन ── */
.sbs-darshan { min-height: clamp(540px, 78vh, 700px); }
.sbs-halo { position: absolute; z-index: -1; left: 50%; top: 50%; width: 190%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--acc) 38%, transparent), transparent 70%); }
.sbs-halo::before, .sbs-halo::after { content: ""; position: absolute; inset: 12%; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--acc) 40%, transparent); }
.sbs-halo::after { inset: 24%; border-style: solid; border-color: color-mix(in srgb, var(--acc) 22%, transparent); }
.sbs-dgrid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.sbs-dgrid > * { max-width: none; }
.sbs-title-mantra { font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.2; }
.sbs-dart { justify-self: center; width: 100%; max-width: 400px; position: relative; isolation: isolate; }
.sbs-arch { aspect-ratio: 4 / 5; border-radius: 220px 220px 30px 30px; overflow: hidden; border: 5px solid color-mix(in srgb, var(--acc) 70%, #fff);
  box-shadow: 0 0 0 10px rgba(255,255,255,.05), 0 40px 80px rgba(0,0,0,.45), 0 0 80px color-mix(in srgb, var(--acc) 35%, transparent); }
.sbs-arch img { width: 100%; height: 100%; display: block; }
.sbs-next { display: flex; align-items: center; gap: 14px; max-width: 520px; padding: 12px 16px; border-radius: 16px; text-decoration: none; color: #fff;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); transition: background .2s; }
.sbs-next:hover { background: rgba(255,255,255,.13); }
.sbs-next-em { font-size: 1.6rem; }
.sbs-next small { display: block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--acc); font-weight: 700; }
.sbs-next b { font-family: var(--font-display, serif); font-size: 1.2rem; }
.sbs-next-d { margin-left: auto; font-size: .8rem; color: rgba(255,255,255,.7); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .sbs-halo::before { animation: sbsSpin 60s linear infinite; }
  .sbs-arch { animation: sbsFloat 7s ease-in-out infinite; }
}
@keyframes sbsSpin { to { transform: rotate(360deg); } }
@keyframes sbsFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 760px) {
  .sbs-darshan { flex-direction: column; }
  .sbs-dgrid { grid-template-columns: 1fr; margin-top: 0; padding-top: 28px; }
  .sbs-dart { order: -1; max-width: 220px; margin-bottom: 8px; }
  .sbs-halo { width: 170%; }
  .sbs-next-d { display: none; }
}
@media (max-width: 760px) { .sbs-darshan .sbs-inner { margin-top: 0; padding: 26px 18px 34px; } }

/* 2.5.3: laptop-height screens — keep the whole hero (title → day strip) above the fold */
@media (min-width: 1025px) and (max-height: 860px) {
  .sbs { min-height: 0; }
  .sbs-inner { padding-top: 20px; padding-bottom: 20px; }
  .sbs-when { margin-top: 12px; }
  .sbs-title { font-size: clamp(3rem, 5.2vw, 4.1rem); line-height: 1.06; }
  .sbs-en { margin: 0 0 8px; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
  .sbs-line { margin-bottom: 16px; line-height: 1.55; }
  .sbs-mu { padding: 12px 18px; margin-bottom: 16px; }
  .sbs-mu-time { font-size: 1.5rem; }
  .sbs-ctas { margin-bottom: 14px; gap: 8px; }
  .sbs-btn { padding: 10px 18px; }
}
