:root {
  --jy-paper: #f7f2e7;
  --jy-paper-strong: #fffdf8;
  --jy-ink: #142523;
  --jy-muted: #64716e;
  --jy-green: #166d66;
  --jy-green-deep: #0e4743;
  --jy-gold: #b87a32;
  --jy-line: rgba(24, 58, 54, 0.16);
  --jy-shadow: 0 18px 60px rgba(28, 44, 39, 0.08);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body.jyotish-page {
  margin: 0;
  color: var(--jy-ink);
  background:
    radial-gradient(circle at 82% 8%, rgba(63, 123, 111, 0.11), transparent 30rem),
    #eeefe9;
  font-family: Inter, system-ui, sans-serif;
  overflow-x: clip;
}

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

.jyotish-page a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.jyotish-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(247, 242, 231, 0.12);
  background: rgba(13, 30, 29, 0.97);
  backdrop-filter: blur(12px);
}

.jyotish-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.jyotish-header .public-mobile-menu__panel nav {
  display: grid;
}

.jyotish-mobile-account {
  margin-top: 4px;
  color: #d7ad72 !important;
  border-top: 1px solid rgba(247, 242, 231, 0.12);
}

.jyotish-page main {
  padding: 34px 0 96px;
}

.jyotish-shell {
  width: min(1240px, calc(100% - 40px));
  margin-inline: auto;
}

.jyotish-breadcrumbs {
  margin: 0 0 18px;
  color: var(--jy-muted);
  font-size: 0.78rem;
}

.jyotish-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jyotish-breadcrumbs li:not(:last-child)::after {
  content: "·";
  margin-left: 7px;
  color: rgba(20, 37, 35, 0.36);
}

.jyotish-breadcrumbs a {
  color: inherit;
}

.jyotish-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  min-height: 370px;
  overflow: hidden;
  border: 1px solid var(--jy-line);
  border-radius: 28px;
  color: #f8f5ed;
  background:
    radial-gradient(circle at 84% 18%, rgba(210, 167, 102, 0.16), transparent 22rem),
    linear-gradient(130deg, #102b29 0%, #173d38 68%, #244a42 100%);
  box-shadow: var(--jy-shadow);
}

.jyotish-hero::after {
  content: "";
  position: absolute;
  inset: auto auto -78px 43%;
  width: 210px;
  aspect-ratio: 1;
  border: 1px solid rgba(220, 178, 112, 0.14);
  transform: rotate(45deg);
  pointer-events: none;
}

.jyotish-hero__copy {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: clamp(38px, 6vw, 76px);
}

.jyotish-hero__eyebrow,
.jyotish-section__index,
.education-cta__label {
  margin: 0 0 17px;
  color: #d7ad72;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.jyotish-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: Literata, Georgia, serif;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.jyotish-hero__lead {
  max-width: 760px;
  margin: 25px 0 0;
  color: rgba(248, 245, 237, 0.74);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.7;
}

.jyotish-hero__symbol {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  align-items: baseline;
  width: fit-content;
  max-width: 100%;
  margin: 22px 0 0;
  padding: 10px 14px;
  border: 1px solid rgba(215, 173, 114, 0.26);
  border-radius: 12px;
  background: rgba(255, 253, 247, 0.055);
}

.jyotish-hero__symbol span {
  color: rgba(248, 245, 237, 0.5);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.jyotish-hero__symbol strong {
  color: #fffdf7;
  font-family: Literata, Georgia, serif;
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.35;
}

.jyotish-hero__formula {
  display: grid;
  gap: 6px;
  max-width: 650px;
  margin: 23px 0 0;
  padding-left: 17px;
  border-left: 2px solid rgba(215, 173, 114, 0.72);
}

.jyotish-hero__formula span {
  color: rgba(248, 245, 237, 0.5);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.jyotish-hero__formula strong {
  color: #fffdf7;
  font-family: Literata, Georgia, serif;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  font-weight: 500;
  line-height: 1.55;
}

.jyotish-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin: 30px 0 0;
}

.jyotish-hero__facts div {
  min-width: 110px;
}

.jyotish-hero__facts dt {
  margin-bottom: 5px;
  color: rgba(248, 245, 237, 0.48);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.jyotish-hero__facts dd {
  margin: 0;
  color: #fffdf7;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
}

.jyotish-hero__visual {
  position: relative;
  display: grid;
  min-width: 0;
  place-items: center;
  padding: 26px;
  opacity: 0.88;
}

.jyotish-hero__visual::before {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(247, 242, 231, 0.08);
  border-radius: 50%;
}

.jyotish-nakshatra-emblem {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 340px);
  margin: 0;
  place-items: center;
}

.jyotish-nakshatra-emblem__art {
  display: block;
  width: min(100%, 300px);
  height: auto;
  overflow: visible;
}

.jyotish-nakshatra-emblem__halo {
  fill: rgba(245, 216, 167, 0.035);
  stroke: rgba(245, 216, 167, 0.2);
  stroke-width: 1;
}

.jyotish-nakshatra-emblem__orbit {
  fill: none;
  stroke: rgba(245, 216, 167, 0.44);
  stroke-width: 1.4;
  stroke-linecap: round;
}

.jyotish-nakshatra-emblem__orbit--fine {
  stroke: rgba(245, 216, 167, 0.16);
  stroke-dasharray: 2 8;
}

.jyotish-nakshatra-emblem__star {
  fill: #e9bd7d;
  stroke: none;
}

.jyotish-nakshatra-emblem__icon {
  fill: none;
  stroke: #f1d09b;
  stroke-width: 3.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.2));
}

.jyotish-nakshatra-emblem figcaption {
  display: grid;
  gap: 6px;
  max-width: 270px;
  margin-top: -3px;
  text-align: center;
}

.jyotish-nakshatra-emblem figcaption span {
  color: rgba(248, 245, 237, 0.46);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.jyotish-nakshatra-emblem figcaption strong {
  color: #fffdf7;
  font-family: Literata, Georgia, serif;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.4;
}

.jyotish-nakshatra-axis {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  gap: 22px;
  align-items: stretch;
  margin-top: 16px;
  padding: 20px;
  border: 1px solid var(--jy-line);
  border-radius: 19px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 10px 28px rgba(28, 44, 39, 0.04);
}

.jyotish-reviewed-passport {
  margin-top: 16px;
  padding: 20px;
  border: 1px solid var(--jy-line);
  border-radius: 19px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 10px 28px rgba(28, 44, 39, 0.04);
}

.jyotish-reviewed-passport__title {
  margin: 0 0 14px;
  color: var(--jy-green);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.jyotish-reviewed-passport dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--jy-line);
  border-radius: 12px;
  background: var(--jy-line);
}

.jyotish-reviewed-passport dl div {
  min-width: 0;
  padding: 15px;
  background: #fffdf8;
}

.jyotish-reviewed-passport dt {
  margin-bottom: 6px;
  color: var(--jy-green);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.jyotish-reviewed-passport dd {
  margin: 0;
  color: var(--jy-ink);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.5;
}

.jyotish-nakshatra-axis dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--jy-line);
  border-radius: 12px;
  background: var(--jy-line);
}

.jyotish-nakshatra-axis dl div {
  min-width: 0;
  padding: 14px;
  background: #fffdf8;
}

.jyotish-nakshatra-axis dt {
  margin-bottom: 6px;
  color: var(--jy-green);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.jyotish-nakshatra-axis dd {
  margin: 0;
  color: var(--jy-ink);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.45;
}

.jyotish-nakshatra-axis__padas {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(22, 109, 102, 0.18);
  border-radius: 12px;
  background: rgba(22, 109, 102, 0.08);
}

.jyotish-nakshatra-axis__padas span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 12px 10px;
  border-right: 1px solid rgba(22, 109, 102, 0.14);
}

.jyotish-nakshatra-axis__padas span:last-child {
  border-right: 0;
}

.jyotish-nakshatra-axis__padas b {
  display: grid;
  width: 25px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--jy-green);
  font-size: 0.7rem;
}

.jyotish-nakshatra-axis__padas small {
  min-width: 0;
  color: var(--jy-muted);
  font-size: 0.64rem;
  line-height: 1.42;
}

.jyotish-diagram {
  display: block;
  width: min(100%, 420px);
  height: auto;
  fill: none;
  stroke: rgba(231, 221, 195, 0.34);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.jyotish-diagram__node {
  fill: rgba(231, 221, 195, 0.68);
  stroke: none;
}

.jyotish-diagram .jyotish-diagram__accent {
  stroke: #d8a960;
  stroke-width: 2.2;
}

.jyotish-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 34px;
  align-items: start;
  margin-top: 34px;
}

.jyotish-article {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--jy-line);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: var(--jy-shadow);
}

.jyotish-section {
  padding: clamp(36px, 5.5vw, 72px);
  border-bottom: 1px solid var(--jy-line);
}

.jyotish-section__index {
  color: var(--jy-green);
}

.jyotish-section h2,
.education-cta h2 {
  max-width: 850px;
  margin: 0 0 22px;
  color: var(--jy-ink);
  font-family: Literata, Georgia, serif;
  font-size: clamp(1.8rem, 3.6vw, 3.15rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.jyotish-section > p,
.jyotish-section > ul,
.jyotish-section > ol {
  max-width: 790px;
}

.jyotish-section p,
.jyotish-section li {
  color: #53625f;
  font-size: clamp(0.97rem, 1.3vw, 1.08rem);
  line-height: 1.78;
}

.jyotish-section p {
  margin: 0 0 19px;
}

.jyotish-section p:last-child {
  margin-bottom: 0;
}

.jyotish-method-note {
  margin-top: 28px;
  padding: 20px 22px;
  border-left: 2px solid var(--jy-gold);
  border-radius: 0 14px 14px 0;
  background: color-mix(in srgb, var(--jy-gold) 7%, transparent);
}

.jyotish-method-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--jy-green);
  font-size: 0.92rem;
  font-weight: 650;
}

.jyotish-method-note p {
  color: var(--jy-muted);
  font-size: 0.98rem;
}

.jyotish-inline-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  max-width: 860px;
  margin: 30px 0;
  padding: 25px 27px;
  border: 1px solid rgba(22, 109, 102, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 0, rgba(184, 122, 50, 0.11), transparent 14rem),
    rgba(22, 109, 102, 0.055);
}

.jyotish-inline-cta h3 {
  margin: 0 0 8px;
  color: var(--jy-ink);
  font-family: Literata, Georgia, serif;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 500;
  line-height: 1.25;
}

.jyotish-inline-cta p {
  margin: 0;
  color: var(--jy-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.jyotish-inline-cta .button {
  min-height: 46px;
  white-space: nowrap;
}

.jyotish-sidebar {
  position: sticky;
  top: 104px;
  min-width: 0;
}

.jyotish-toc {
  overflow: hidden;
  border: 1px solid var(--jy-line);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.86);
  box-shadow: 0 12px 34px rgba(28, 44, 39, 0.05);
}

.jyotish-toc summary {
  padding: 18px 19px;
  color: var(--jy-ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.jyotish-toc nav {
  display: grid;
  padding: 0 9px 10px;
}

.jyotish-toc a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 11px;
  border-radius: 9px;
  color: var(--jy-muted);
  font-size: 0.84rem;
  line-height: 1.35;
  text-decoration: none;
}

.jyotish-toc a:hover,
.jyotish-toc a:focus-visible,
.jyotish-toc a.is-active {
  color: var(--jy-green-deep);
  background: rgba(22, 109, 102, 0.08);
  outline: none;
}

.education-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  padding: clamp(34px, 5vw, 62px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #f7f2e7;
  background: #123330;
}

.education-cta--consultation {
  background:
    radial-gradient(circle at 85% 0, rgba(212, 162, 91, 0.16), transparent 19rem),
    #203a36;
}

.education-cta--community {
  background: #132827;
}

.education-cta h2 {
  margin-bottom: 12px;
  color: #fffdf8;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
}

.education-cta p {
  max-width: 690px;
  margin: 0;
  color: rgba(247, 242, 231, 0.68);
  line-height: 1.68;
}

.education-cta .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  white-space: nowrap;
}

.education-cta .button-secondary {
  color: #f7f2e7;
  border-color: rgba(247, 242, 231, 0.4);
  background: transparent;
}

.education-cta__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.education-cta__socials a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(247, 242, 231, 0.26);
  border-radius: 999px;
  color: #f7f2e7;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}

.education-cta__socials a:hover,
.education-cta__socials a:focus-visible {
  border-color: #d8a960;
  outline: 2px solid transparent;
}

.jyotish-passport {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 840px;
  margin: 30px 0 0;
  border-top: 1px solid var(--jy-line);
  border-left: 1px solid var(--jy-line);
}

.jyotish-passport div {
  padding: 20px;
  border-right: 1px solid var(--jy-line);
  border-bottom: 1px solid var(--jy-line);
}

.jyotish-passport dt {
  margin-bottom: 8px;
  color: var(--jy-green);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.jyotish-passport dd {
  margin: 0;
  color: var(--jy-ink);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.55;
}

.jyotish-concept-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jyotish-graha-functions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 850px;
  margin: 28px 0;
  overflow: hidden;
  border: 1px solid var(--jy-line);
  border-radius: 15px;
  background: var(--jy-line);
}

.jyotish-graha-functions div {
  min-width: 0;
  padding: 17px;
  background: rgba(246, 246, 239, 0.96);
}

.jyotish-graha-functions dt {
  margin-bottom: 6px;
  color: var(--jy-green-deep);
  font-family: Literata, Georgia, serif;
  font-size: 0.92rem;
  font-weight: 500;
}

.jyotish-graha-functions dd {
  margin: 0;
  color: var(--jy-muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.jyotish-catalog-grid,
.jyotish-entity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.jyotish-catalog-card,
.jyotish-entity-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 260px;
  padding: 27px;
  border: 1px solid var(--jy-line);
  border-radius: 17px;
  color: var(--jy-ink);
  background: rgba(246, 246, 239, 0.72);
  flex-direction: column;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.jyotish-entity-card {
  min-height: 245px;
}

.jyotish-catalog-card:hover,
.jyotish-catalog-card:focus-visible,
.jyotish-entity-card:hover,
.jyotish-entity-card:focus-visible {
  border-color: rgba(22, 109, 102, 0.52);
  box-shadow: 0 14px 40px rgba(21, 67, 60, 0.08);
  transform: translateY(-3px);
  outline: none;
}

.jyotish-catalog-card > span,
.jyotish-entity-card > span {
  color: var(--jy-green);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jyotish-catalog-card h2,
.jyotish-entity-card h2,
.jyotish-entity-card h3 {
  margin: 42px 0 11px;
  font-family: Literata, Georgia, serif;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 500;
  line-height: 1.2;
}

.jyotish-entity-card b {
  position: absolute;
  top: 22px;
  right: 22px;
  max-width: 48%;
  overflow: hidden;
  color: rgba(22, 109, 102, 0.42);
  font-family: Literata, Georgia, serif;
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jyotish-catalog-card p,
.jyotish-entity-card p {
  display: -webkit-box;
  margin: 0 0 24px;
  overflow: hidden;
  color: var(--jy-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.jyotish-catalog-card strong,
.jyotish-entity-card strong {
  margin-top: auto;
  color: var(--jy-green);
  font-size: 0.83rem;
}

.jyotish-page--nakshatras .jyotish-entity-card {
  display: grid;
  grid-template-columns: minmax(170px, 0.75fr) minmax(240px, 1.6fr) auto;
  grid-template-rows: auto auto auto 1fr;
  grid-template-areas:
    "meta summary action"
    "name summary action"
    "range summary action"
    "symbol summary action";
  gap: 4px 24px;
  align-items: center;
  min-height: 0;
  padding: 23px 25px;
}

.jyotish-page--nakshatras .jyotish-nakshatra-catalog .jyotish-entity-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 11px;
}

.jyotish-page--nakshatras .jyotish-entity-card > span {
  grid-area: meta;
  align-self: end;
}

.jyotish-page--nakshatras .jyotish-entity-card h3 {
  grid-area: name;
  margin: 4px 0 7px;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

.jyotish-page--nakshatras .jyotish-entity-card .jyotish-entity-card__range,
.jyotish-page--nakshatras .jyotish-entity-card .jyotish-entity-card__symbol {
  display: block;
  margin: 0 0 8px;
  overflow: visible;
  color: var(--jy-ink);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.5;
  -webkit-line-clamp: unset;
}

.jyotish-page--nakshatras .jyotish-entity-card__range {
  grid-area: range;
}

.jyotish-page--nakshatras .jyotish-entity-card__symbol {
  grid-area: symbol;
  color: var(--jy-muted);
  font-weight: 500;
}

.jyotish-page--nakshatras .jyotish-entity-card .jyotish-entity-card__summary {
  grid-area: summary;
  align-self: center;
  margin: 0;
  -webkit-line-clamp: unset;
}

.jyotish-page--nakshatras .jyotish-entity-card strong {
  grid-area: action;
  margin-top: 0;
  white-space: nowrap;
}

.jyotish-section__lead {
  max-width: 790px;
  color: var(--jy-ink) !important;
  font-size: clamp(1rem, 1.5vw, 1.12rem) !important;
  font-weight: 500;
}

.jyotish-ecliptic-figure {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 1.15fr) minmax(240px, 0.85fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  max-width: 900px;
  margin: 30px 0 34px;
  padding: clamp(22px, 3vw, 38px);
  overflow: hidden;
  border: 1px solid rgba(171, 218, 205, 0.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 10% 18%, rgba(255, 255, 255, 0.55) 0 1px, transparent 1.5px),
    radial-gradient(circle at 77% 13%, rgba(255, 255, 255, 0.38) 0 1px, transparent 1.5px),
    radial-gradient(circle at 89% 72%, rgba(255, 255, 255, 0.42) 0 1px, transparent 1.5px),
    radial-gradient(circle at 16% 82%, rgba(255, 255, 255, 0.32) 0 1px, transparent 1.5px),
    radial-gradient(circle at 34% 31%, rgba(88, 173, 153, 0.16), transparent 32%),
    linear-gradient(145deg, #061918, #0a2623 58%, #0d302b);
  box-shadow: 0 22px 55px rgba(14, 55, 50, 0.18);
}

.jyotish-ecliptic-figure::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.2) 0.7px, transparent 0.8px);
  background-size: 29px 29px;
  content: "";
  opacity: 0.28;
}

.jyotish-ecliptic-figure__stage,
.jyotish-ecliptic-figure__caption {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.jyotish-ecliptic-figure__stage {
  aspect-ratio: 1;
}

.jyotish-ecliptic-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.jyotish-ecliptic-svg__band {
  fill: none;
  stroke: rgba(217, 238, 231, 0.045);
}

.jyotish-ecliptic-svg__band--pada {
  stroke-width: 35px;
}

.jyotish-ecliptic-svg__band--nakshatra {
  stroke-width: 37px;
}

.jyotish-ecliptic-svg__band--sign {
  stroke-width: 36px;
}

.jyotish-ecliptic-svg__sector {
  stroke: none;
}

.jyotish-ecliptic-svg__sector--sign {
  fill: rgba(218, 178, 104, 0.48);
}

.jyotish-ecliptic-svg__sector--nakshatra {
  fill: rgba(86, 184, 157, 0.58);
}

.jyotish-ecliptic-svg__sector--pada {
  fill: rgba(151, 158, 239, 0.72);
}

.jyotish-ecliptic-svg__tick {
  shape-rendering: geometricPrecision;
}

.jyotish-ecliptic-svg__tick--sign {
  stroke: rgba(239, 219, 176, 0.72);
  stroke-width: 1.5;
}

.jyotish-ecliptic-svg__tick--nakshatra {
  stroke: rgba(139, 214, 192, 0.62);
  stroke-width: 1.2;
}

.jyotish-ecliptic-svg__tick--pada {
  stroke: rgba(199, 204, 246, 0.38);
  stroke-width: 0.8;
}

.jyotish-ecliptic-svg__glyph {
  fill: rgba(250, 231, 190, 0.9);
  font-family: Georgia, serif;
  font-size: 17px;
  text-anchor: middle;
  dominant-baseline: central;
}

.jyotish-ecliptic-svg__orbit {
  fill: none;
  stroke: rgba(128, 196, 178, 0.48);
  stroke-width: 1;
  stroke-dasharray: 3 7;
}

.jyotish-ecliptic-svg__orbit-label,
.jyotish-ecliptic-svg__earth-label,
.jyotish-ecliptic-svg__degree {
  fill: rgba(224, 240, 234, 0.72);
  font-family: Inter, Arial, sans-serif;
  text-anchor: middle;
}

.jyotish-ecliptic-svg__orbit-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.jyotish-ecliptic-svg__earth-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jyotish-ecliptic-svg__degree {
  font-size: 10px;
}

.jyotish-ecliptic-svg__earth-backdrop {
  fill: #020a0a;
  filter: drop-shadow(0 0 16px rgba(93, 180, 158, 0.25));
}

.jyotish-ecliptic-svg__earth-outline {
  fill: none;
  stroke: rgba(185, 225, 213, 0.5);
  stroke-width: 1.5;
}

.jyotish-ecliptic-svg__zero {
  stroke: rgba(244, 226, 187, 0.7);
  stroke-width: 1;
  stroke-dasharray: 2 5;
}

.jyotish-ecliptic-figure__caption {
  color: #f3f7f4;
}

.jyotish-ecliptic-figure__eyebrow {
  margin: 0 0 12px !important;
  color: #8acbb8 !important;
  font-size: 0.7rem !important;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.jyotish-ecliptic-figure__caption h3 {
  max-width: 350px;
  margin: 0 0 15px;
  color: #f6f1e7;
  font-family: Literata, Georgia, serif;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  font-weight: 500;
  line-height: 1.18;
}

.jyotish-ecliptic-figure__caption > p:not(.jyotish-ecliptic-figure__eyebrow) {
  margin: 0;
  color: rgba(231, 240, 236, 0.75);
  font-size: 0.84rem;
  line-height: 1.65;
}

.jyotish-ecliptic-legend {
  display: grid;
  gap: 0;
  margin: 25px 0 20px;
}

.jyotish-ecliptic-legend > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 15px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid rgba(223, 239, 233, 0.12);
}

.jyotish-ecliptic-legend > div:last-child {
  border-bottom: 1px solid rgba(223, 239, 233, 0.12);
}

.jyotish-ecliptic-legend dt {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #eef5f1;
  font-size: 0.82rem;
  font-weight: 650;
}

.jyotish-ecliptic-legend dd {
  margin: 0;
  color: rgba(231, 240, 236, 0.62);
  font-size: 0.76rem;
}

.jyotish-ecliptic-legend i {
  display: block;
  width: 22px;
  height: 4px;
  border-radius: 99px;
  background: currentColor;
}

.jyotish-ecliptic-legend__sign i {
  color: #d9b16d;
}

.jyotish-ecliptic-legend__nakshatra i {
  color: #5fc09f;
}

.jyotish-ecliptic-legend__pada i {
  color: #999fe8;
}

.jyotish-ecliptic-figure__note {
  padding-left: 13px;
  border-left: 2px solid rgba(97, 192, 164, 0.62);
  font-size: 0.74rem !important;
}

.jyotish-formula-grid,
.jyotish-concept-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 850px;
  margin: 28px 0 30px;
}

.jyotish-formula-grid > div,
.jyotish-concept-grid > article,
.jyotish-use-grid > article {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--jy-line);
  border-radius: 15px;
  background: rgba(246, 246, 239, 0.7);
}

.jyotish-formula-grid strong {
  display: block;
  margin-bottom: 9px;
  color: var(--jy-green-deep);
  font-family: Literata, Georgia, serif;
  font-size: 1.15rem;
  font-weight: 500;
}

.jyotish-formula-grid span {
  color: var(--jy-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.jyotish-comparison-list {
  display: grid;
  max-width: 850px;
  margin: 28px 0 30px;
  border-top: 1px solid var(--jy-line);
}

.jyotish-comparison-list div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--jy-line);
}

.jyotish-comparison-list dt {
  color: var(--jy-green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jyotish-comparison-list dd {
  margin: 0;
  color: var(--jy-ink);
  font-size: 0.95rem;
  line-height: 1.55;
}

.jyotish-ruler-sequence {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  max-width: 850px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.jyotish-ruler-sequence li {
  position: relative;
  color: var(--jy-ink);
  font-size: 0.9rem;
  font-weight: 600;
}

.jyotish-ruler-sequence li:not(:last-child)::after {
  content: "→";
  position: absolute;
  left: calc(100% + 8px);
  color: rgba(22, 109, 102, 0.55);
}

.jyotish-concept-grid h3,
.jyotish-use-grid h3 {
  margin: 0 0 10px;
  color: var(--jy-ink);
  font-family: Literata, Georgia, serif;
  font-size: 1.08rem;
  font-weight: 500;
}

.jyotish-concept-grid p,
.jyotish-use-grid p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
}

.jyotish-use-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 850px;
  margin-top: 28px;
}

.jyotish-steps {
  display: grid;
  gap: 12px;
  padding-left: 24px;
}

.jyotish-steps--numbered {
  counter-reset: jyotish-reading-step;
  max-width: 790px;
  padding: 0;
  list-style: none;
}

.jyotish-steps--numbered li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.jyotish-steps--numbered li::before {
  counter-increment: jyotish-reading-step;
  content: counter(jyotish-reading-step, decimal-leading-zero);
  color: var(--jy-green);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.jyotish-reviewed-subsections,
.jyotish-reviewed-grahas {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.jyotish-reviewed-subsections article,
.jyotish-reviewed-grahas article,
.jyotish-reviewed-source-group {
  padding: 24px;
  border: 1px solid var(--jy-line);
  border-radius: 16px;
  background: rgba(246, 246, 239, 0.58);
}

.jyotish-reviewed-subsections h3,
.jyotish-reviewed-grahas h3,
.jyotish-reviewed-source-group h3 {
  margin: 0 0 14px;
  color: var(--jy-ink);
  font-family: Literata, Georgia, serif;
  font-size: clamp(1.12rem, 2vw, 1.4rem);
  font-weight: 500;
  line-height: 1.3;
}

.jyotish-reviewed-subsections p:first-of-type,
.jyotish-reviewed-grahas p:first-of-type,
.jyotish-reviewed-source-group p:first-of-type {
  margin-top: 0;
}

.jyotish-reviewed-subsections p:last-child,
.jyotish-reviewed-grahas p:last-child,
.jyotish-reviewed-source-group p:last-child {
  margin-bottom: 0;
}

.jyotish-method-formula {
  max-width: 610px;
  margin: 24px 0;
  padding: 20px 22px;
  overflow-x: auto;
  border-left: 3px solid var(--jy-gold);
  border-radius: 0 12px 12px 0;
  color: var(--jy-ink);
  background: rgba(215, 173, 114, 0.09);
  font: 500 0.9rem/1.8 Inter, sans-serif;
  white-space: pre-wrap;
}

.jyotish-page--ashwini-reviewed .jyotish-pada dl {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jyotish-page--nakshatra-reviewed .jyotish-pada dl {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jyotish-page--ashwini-reviewed .jyotish-pada .jyotish-pada__syllable {
  padding-top: 18px;
  padding-bottom: 0;
}

.jyotish-page--ashwini-reviewed .jyotish-sources .jyotish-reviewed-source-group {
  max-width: 880px;
  margin-top: 18px;
}

.jyotish-padas {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.jyotish-pada {
  overflow: hidden;
  border: 1px solid var(--jy-line);
  border-radius: 17px;
  background: rgba(246, 246, 239, 0.65);
  scroll-margin-top: 100px;
}

.jyotish-pada header {
  padding: 24px 25px 18px;
  border-bottom: 1px solid var(--jy-line);
}

.jyotish-pada header span {
  color: var(--jy-green);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.jyotish-pada h3 {
  margin: 8px 0 0;
  color: var(--jy-ink);
  font-family: Literata, Georgia, serif;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 500;
}

.jyotish-pada dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-bottom: 1px solid var(--jy-line);
}

.jyotish-pada dl div {
  padding: 17px 20px;
  border-right: 1px solid var(--jy-line);
}

.jyotish-pada dl div:last-child {
  border-right: 0;
}

.jyotish-pada dt {
  margin-bottom: 6px;
  color: var(--jy-muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jyotish-pada dd {
  margin: 0;
  color: var(--jy-ink);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
}

.jyotish-pada p {
  margin: 0;
  padding: 19px 24px 0;
  color: #52615e;
  font-size: 0.94rem;
  line-height: 1.72;
}

.jyotish-pada p:last-child {
  padding-bottom: 24px;
}

.jyotish-pada .jyotish-pada__syllable {
  color: var(--jy-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.jyotish-sources ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

.jyotish-faq__item {
  max-width: 840px;
  border-top: 1px solid var(--jy-line);
}

.jyotish-faq__item:last-child {
  border-bottom: 1px solid var(--jy-line);
}

.jyotish-faq__item summary {
  padding: 20px 40px 20px 0;
  color: var(--jy-ink);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
}

.jyotish-faq__item p {
  padding: 0 28px 20px 0;
  font-size: 0.94rem;
}

.jyotish-prev-next {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--jy-line);
}

.jyotish-prev-next a,
.jyotish-prev-next > span {
  min-width: 0;
  min-height: 130px;
  padding: 30px;
  color: var(--jy-ink);
  background: #f5f4ed;
  text-decoration: none;
}

.jyotish-prev-next a {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.jyotish-prev-next__next {
  text-align: right;
}

.jyotish-prev-next span {
  margin-bottom: 7px;
  color: var(--jy-green);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.jyotish-prev-next strong {
  overflow: hidden;
  font-family: Literata, Georgia, serif;
  font-size: 1.05rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.academy-card[href="/jyotish/"] {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 980px) {
  .jyotish-hero {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

  .jyotish-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .jyotish-nakshatra-axis {
    grid-template-columns: 1fr;
  }

  .jyotish-sidebar {
    position: static;
    grid-row: 1;
  }

  .jyotish-toc nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 82px;
  }

  .jyotish-page main {
    padding-top: 22px;
  }

  .jyotish-shell {
    width: min(100% - 24px, 680px);
  }

  .jyotish-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 20px;
  }

  .jyotish-hero__copy {
    padding: 34px 27px 30px;
  }

  .jyotish-hero h1 {
    font-size: clamp(2.25rem, 12vw, 4.2rem);
  }

  .jyotish-hero__lead {
    font-size: 0.98rem;
  }

  .jyotish-hero__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .jyotish-hero__visual {
    position: absolute;
    top: 3px;
    right: -76px;
    width: 250px;
    padding: 0;
    opacity: 0.16;
    pointer-events: none;
  }

  .jyotish-page--nakshatra .jyotish-hero__visual {
    top: -25px;
    right: -60px;
    width: 245px;
    opacity: 0.2;
  }

  .jyotish-page--nakshatra .jyotish-nakshatra-emblem figcaption {
    display: none;
  }

  .jyotish-reviewed-passport {
    padding: 12px;
  }

  .jyotish-reviewed-passport dl {
    grid-template-columns: 1fr;
  }

  .jyotish-reviewed-subsections article,
  .jyotish-reviewed-grahas article,
  .jyotish-reviewed-source-group {
    padding: 20px;
  }

  .jyotish-page--ashwini-reviewed .jyotish-pada dl {
    grid-template-columns: 1fr;
  }

  .jyotish-page--nakshatra-reviewed .jyotish-pada dl {
    grid-template-columns: 1fr;
  }

  .jyotish-page--ashwini-reviewed .jyotish-pada dl div,
  .jyotish-page--nakshatra-reviewed .jyotish-pada dl div {
    border-right: 0;
    border-bottom: 1px solid var(--jy-line);
  }

  .jyotish-page--ashwini-reviewed .jyotish-pada dl div:last-child,
  .jyotish-page--nakshatra-reviewed .jyotish-pada dl div:last-child {
    border-bottom: 0;
  }

  .jyotish-layout {
    gap: 18px;
    margin-top: 18px;
  }

  .jyotish-article {
    border-radius: 18px;
  }

  .jyotish-section {
    padding: 35px 25px;
  }

  .jyotish-section p,
  .jyotish-section li {
    font-size: 0.96rem;
  }

  .jyotish-toc nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .education-cta {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    padding: 34px 25px;
  }

  .education-cta .button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .education-cta__socials a {
    flex: 1 1 100px;
    justify-content: center;
  }

  .jyotish-inline-cta {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px;
  }

  .jyotish-inline-cta .button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .jyotish-ecliptic-figure {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .jyotish-ecliptic-figure__stage {
    width: min(100%, 560px);
    margin: 0 auto;
  }

  .jyotish-ecliptic-figure__caption {
    max-width: 560px;
    margin: 0 auto;
  }

  .jyotish-nakshatra-axis {
    gap: 12px;
    padding: 14px;
  }

  .jyotish-nakshatra-axis dl {
    grid-template-columns: 1fr;
  }

  .jyotish-nakshatra-axis__padas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jyotish-nakshatra-axis__padas span:nth-child(2) {
    border-right: 0;
  }

  .jyotish-nakshatra-axis__padas span:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(22, 109, 102, 0.14);
  }

  .jyotish-passport,
  .jyotish-catalog-grid,
  .jyotish-entity-grid {
    grid-template-columns: 1fr;
  }

  .jyotish-formula-grid,
  .jyotish-concept-grid,
  .jyotish-use-grid,
  .jyotish-graha-functions {
    grid-template-columns: 1fr;
  }

  .jyotish-comparison-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .jyotish-catalog-card,
  .jyotish-entity-card {
    min-height: 220px;
  }

  .jyotish-page--nakshatras .jyotish-entity-card {
    display: flex;
    min-height: 0;
    padding: 22px;
  }

  .jyotish-page--nakshatras .jyotish-entity-card h3 {
    margin: 20px 0 10px;
  }

  .jyotish-page--nakshatras .jyotish-entity-card .jyotish-entity-card__summary {
    margin: 8px 0 24px;
  }

  .jyotish-page--nakshatras .jyotish-entity-card strong {
    margin-top: auto;
  }

  .jyotish-pada dl {
    grid-template-columns: 1fr;
  }

  .jyotish-pada dl div {
    border-right: 0;
    border-bottom: 1px solid var(--jy-line);
  }

  .jyotish-pada dl div:last-child {
    border-bottom: 0;
  }

  .jyotish-prev-next {
    grid-template-columns: 1fr;
  }

  .jyotish-prev-next a,
  .jyotish-prev-next > span {
    min-height: 112px;
  }

  .jyotish-prev-next__next {
    text-align: left;
  }
}

@media (max-width: 679px) {
  .jyotish-desktop-nav,
  .jyotish-account-action {
    display: none;
  }

  .jyotish-header .public-mobile-menu {
    display: block;
  }
}

@media (max-width: 420px) {
  .jyotish-shell {
    width: calc(100% - 18px);
  }

  .jyotish-breadcrumbs {
    font-size: 0.72rem;
  }

  .jyotish-hero__copy,
  .jyotish-section,
  .education-cta {
    padding-right: 21px;
    padding-left: 21px;
  }

  .jyotish-hero__facts {
    grid-template-columns: 1fr;
  }

  .jyotish-toc nav {
    grid-template-columns: 1fr;
  }

  .jyotish-passport div {
    padding: 17px;
  }

  .jyotish-pada header,
  .jyotish-pada p {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .jyotish-catalog-card,
  .jyotish-entity-card {
    transition: none;
  }
}
