.article-shell {
  padding-bottom: 112px;
}

.article-header {
  position: relative;
  min-height: 455px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 54px;
  align-items: end;
  margin-top: 26px;
  padding: clamp(42px, 6vw, 72px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 84% 18%, rgba(242, 184, 75, .25), transparent 22%),
    linear-gradient(135deg, #321433, var(--deep-plum));
  box-shadow: var(--shadow-md);
  color: rgba(255, 253, 248, .8);
}

.article-header::before {
  position: absolute;
  top: -190px;
  right: -120px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(234, 215, 174, .25);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(234, 215, 174, .035), 0 0 0 76px rgba(234, 215, 174, .018);
  content: "";
}

.article-header > * {
  position: relative;
  z-index: 1;
}

.article-header h1,
.article-header a {
  color: var(--warm-white);
}

.article-header h1 {
  max-width: 820px;
  font-size: clamp(3rem, 5vw, 4rem);
}

.article-header .eyebrow {
  color: var(--gold-pale);
}

.article-header.category-deities {
  background: radial-gradient(circle at 85% 15%, rgba(255, 237, 190, .28), transparent 25%), linear-gradient(135deg, #4d3a1b, #856127);
}

.article-header.category-scriptures {
  background: radial-gradient(circle at 85% 15%, rgba(146, 168, 210, .22), transparent 25%), linear-gradient(135deg, #182136, #314263);
}

.article-header.category-festivals {
  background: radial-gradient(circle at 85% 15%, rgba(255, 226, 153, .3), transparent 25%), linear-gradient(135deg, #8f4505, #c66d0d);
}

.article-header.category-practices {
  background: radial-gradient(circle at 85% 15%, rgba(185, 229, 224, .25), transparent 25%), linear-gradient(135deg, #1f4e4b, #2f706d);
}

.article-header.category-stories,
.article-header.category-traditions {
  background: radial-gradient(circle at 85% 15%, rgba(242, 195, 204, .22), transparent 25%), linear-gradient(135deg, #552630, #7f3d4a);
}

.article-header.category-kids,
.article-header.category-families {
  background: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .32), transparent 25%), linear-gradient(135deg, #e6b54a, #e8aa86);
  color: rgba(23, 21, 27, .78);
}

.article-header.category-kids h1,
.article-header.category-kids a,
.article-header.category-families h1,
.article-header.category-families a {
  color: var(--ink);
}

.article-header.category-kids .eyebrow,
.article-header.category-families .eyebrow {
  color: #6d3f0b;
}

.direct-answer {
  max-width: 820px;
  color: inherit;
  font: 1.26rem/1.58 var(--serif);
}

.header-emblem {
  position: relative;
  width: 210px;
  height: 210px;
  display: grid;
  place-items: center;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  box-shadow: 0 0 0 18px rgba(255, 255, 255, .035);
}

.header-emblem::before,
.header-emblem::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  content: "";
}

.header-emblem::before {
  inset: 23px;
}

.header-emblem::after {
  inset: 48px;
}

.header-emblem span {
  z-index: 1;
  color: var(--warm-white);
  font-size: 4.1rem;
}

.article-header.category-kids .header-emblem span,
.article-header.category-families .header-emblem span {
  color: var(--ink);
}

.article-shell > .context-note {
  max-width: 1040px;
  margin: 30px auto;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--article)) 280px;
  gap: 74px;
  align-items: start;
  justify-content: center;
  margin-top: 48px;
}

.article-body {
  min-width: 0;
}

.article-body > section {
  margin-top: 64px;
}

.article-body p,
.article-body li {
  font-size: 1rem;
}

.article-body p {
  max-width: 72ch;
}

.article-body h2 {
  margin-top: 0;
  padding-top: 4px;
}

.article-body h2::after {
  display: block;
  width: 42px;
  height: 2px;
  margin-top: 15px;
  background: var(--antique-gold);
  content: "";
}

.article-body h3 {
  margin-top: 1.65em;
}

.article-body p a,
.article-body li a {
  text-decoration: underline;
  text-decoration-color: rgba(217, 130, 18, .55);
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

.article-body p a:hover,
.article-body li a:hover {
  text-decoration-color: currentColor;
}

.article-body > p:first-of-type::first-letter {
  float: left;
  margin: .07em .11em 0 0;
  color: var(--plum);
  font: 700 3.6em/.78 var(--display);
}

.article-rail {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 15px;
}

.rail-card {
  position: relative;
  display: block;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  color: var(--charcoal);
  box-shadow: 0 7px 24px rgba(46, 24, 43, .055);
}

.rail-card strong {
  font-family: var(--serif);
}

.rail-card p {
  color: var(--muted-text);
  font-size: .77rem;
}

.rail-card .button {
  width: 100%;
  font-size: .75rem;
}

.rail-daily {
  overflow: hidden;
  border-color: transparent;
  background: var(--deep-plum);
  color: rgba(255, 253, 248, .74);
}

.rail-daily::after {
  position: absolute;
  right: -35px;
  bottom: -45px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(234, 215, 174, .28);
  border-radius: 50%;
  content: "";
}

.rail-daily strong,
.rail-daily small {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--warm-white);
}

.article-toc {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 7px 24px rgba(46, 24, 43, .055);
}

.article-toc summary {
  padding: 18px 20px;
  color: var(--deep-plum);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .08em;
  list-style: none;
  text-transform: uppercase;
}

.article-toc summary::-webkit-details-marker {
  display: none;
}

.article-toc summary::after {
  float: right;
  content: "+";
}

.article-toc[open] summary::after {
  content: "−";
}

.article-toc ol {
  display: grid;
  gap: 2px;
  padding: 0 20px 19px;
  margin: 0;
  list-style: none;
}

.article-toc a {
  display: block;
  padding: 6px 0;
  color: var(--muted-text);
  font-size: .73rem;
  line-height: 1.35;
}

.article-toc a:hover {
  color: var(--plum);
}

.key-takeaways {
  position: relative;
  padding: 32px 34px;
  overflow: hidden;
  border: 1px solid var(--gold-pale);
  border-radius: var(--radius);
  background: linear-gradient(140deg, var(--ivory), var(--warm-white));
}

.key-takeaways::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  background: var(--antique-gold);
  content: "";
}

.key-takeaways h2 {
  font-size: 1.5rem;
}

.key-takeaways h2::after {
  display: none;
}

.reflection {
  position: relative;
  padding: 32px 34px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 90% 20%, rgba(139, 68, 82, .11), transparent 24%),
    var(--rose-light);
}

.reflection::before {
  display: block;
  margin-bottom: 12px;
  color: var(--rose);
  content: "Reflection";
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.reflection p {
  margin: .4em 0;
  font-family: var(--serif);
  font-size: 1.1rem;
}

.faq-list details {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  position: relative;
  padding-right: 30px;
  font-weight: 850;
  list-style: none;
}

.faq-list summary::after {
  position: absolute;
  top: 0;
  right: 0;
  color: var(--antique-gold);
  content: "+";
  font-size: 1.2rem;
}

.faq-list details[open] summary::after {
  content: "−";
}

.sources {
  padding: 34px;
  border-top: 3px solid var(--teal);
  border-radius: var(--radius);
  background: var(--surface-muted);
}

.sources li {
  font-size: .85rem;
}

.editorial-byline,
.blog-byline a {
  color: var(--muted-text);
  font-size: .78rem;
  font-weight: 700;
}

.editorial-byline {
  margin: 10px 0 0;
}

.editorial-byline a,
.blog-byline a {
  color: var(--deep-plum);
  text-decoration-color: color-mix(in srgb, var(--antique-gold) 65%, transparent);
  text-underline-offset: .18em;
}

.editorial-byline a:hover,
.blog-byline a:hover {
  color: var(--saffron-700);
}

.article-header .editorial-byline,
.article-header .editorial-byline a {
  color: rgba(255, 253, 248, .88);
}

.article-header .editorial-byline a {
  text-decoration-color: rgba(232, 210, 157, .78);
}

.article-header .editorial-byline a:hover {
  color: var(--saffron-light);
}

.related {
  padding-top: 22px;
}

.lesson-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.lesson-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--plum);
  font-size: .8rem;
  font-weight: 850;
}

.festival-timeline {
  margin-left: 8px;
  padding: 0;
  border-left: 2px solid var(--antique-gold);
  list-style: none;
}

.festival-timeline li {
  position: relative;
  display: grid;
  padding: 0 0 28px 28px;
}

.festival-timeline li::before {
  position: absolute;
  top: 8px;
  left: -7px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--warm-white);
  border-radius: 50%;
  background: var(--antique-gold);
  box-shadow: 0 0 0 1px var(--antique-gold);
  content: "";
}

.festival-timeline span {
  color: var(--muted-text);
}

.remember-box,
.vocab-box {
  padding: 24px;
  border: 1px solid rgba(217, 130, 18, .18);
  border-radius: var(--radius);
  background: var(--saffron-wash);
}

.age-grid span {
  font-size: .8rem;
}

.hub-hero {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 12%, rgba(242, 184, 75, .2), transparent 26%),
    linear-gradient(135deg, #301230, var(--deep-plum));
  color: rgba(255, 253, 248, .78);
}

.hub-hero::before {
  position: absolute;
  right: -170px;
  bottom: -280px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(234, 215, 174, .21);
  border-radius: 50%;
  box-shadow: 0 0 0 58px rgba(234, 215, 174, .025), 0 0 0 116px rgba(234, 215, 174, .015);
  content: "";
}

.hub-hero.category-deities {
  background: radial-gradient(circle at 78% 12%, rgba(255, 239, 196, .22), transparent 27%), linear-gradient(135deg, #453419, #785824);
}

.hub-hero.category-scriptures {
  background: radial-gradient(circle at 78% 12%, rgba(145, 168, 210, .2), transparent 27%), linear-gradient(135deg, #172035, #304160);
}

.hub-hero.category-festivals {
  background: radial-gradient(circle at 78% 12%, rgba(255, 226, 152, .25), transparent 27%), linear-gradient(135deg, #884004, #bd670c);
}

.hub-hero.category-practices {
  background: radial-gradient(circle at 78% 12%, rgba(190, 231, 226, .19), transparent 27%), linear-gradient(135deg, #214d4b, #2f706d);
}

.hub-hero.category-stories,
.hub-hero.category-traditions {
  background: radial-gradient(circle at 78% 12%, rgba(242, 196, 205, .18), transparent 27%), linear-gradient(135deg, #51252e, #7f3c49);
}

.hub-hero h1,
.hub-hero a {
  color: var(--warm-white);
}

.hub-hero .button-light {
  color: var(--deep-plum);
}

.hub-hero .button-light:hover {
  color: var(--ink);
}

.hub-hero .eyebrow {
  color: var(--gold-pale);
}

.hub-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 76px;
  align-items: center;
}

.hub-hero-grid > div:first-child > p:not(.eyebrow) {
  max-width: 670px;
  font-size: 1.08rem;
}

.hub-orbit {
  position: relative;
  width: min(100%, 405px);
  aspect-ratio: 1;
  margin: auto;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(255, 255, 255, .025), inset 0 0 70px rgba(255, 255, 255, .035);
}

.hub-orbit::before,
.hub-orbit::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  content: "";
}

.hub-orbit::before {
  inset: 16%;
}

.hub-orbit::after {
  inset: 29%;
}

.hub-orbit b {
  position: absolute;
  z-index: 2;
  inset: 36%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--saffron-wash);
  box-shadow: var(--shadow-sm);
  color: var(--deep-plum);
  font-size: 2.7rem;
}

.hub-orbit span {
  position: absolute;
  z-index: 2;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
  background: rgba(255, 253, 248, .92);
  box-shadow: var(--shadow-sm);
  color: var(--deep-plum);
  font-size: .69rem;
  font-weight: 850;
}

.hub-orbit span:nth-of-type(1) { top: 2%; left: 40%; }
.hub-orbit span:nth-of-type(2) { top: 43%; right: -2%; }
.hub-orbit span:nth-of-type(3) { bottom: 2%; left: 38%; }
.hub-orbit span:nth-of-type(4) { top: 43%; left: -2%; }

.hub-path {
  padding: 0;
  list-style: none;
  counter-reset: hub-step;
}

.hub-path li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid var(--border);
  counter-increment: hub-step;
}

.hub-path span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--deep-plum);
  color: var(--white);
  font-weight: 850;
}

.hub-path a {
  color: var(--charcoal);
  font-weight: 850;
}

.hub-path a:hover {
  color: var(--plum);
}

.question-panel {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.question-panel > a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  color: var(--charcoal);
  font-size: .88rem;
}

.question-panel > a::after {
  color: var(--antique-gold);
  content: "→";
}

.question-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 17px;
}

.question-grid > a {
  position: relative;
  min-height: 190px;
  padding: 27px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--charcoal);
}

.question-grid > a::after {
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: var(--antique-gold);
  content: "→";
}

.question-grid > a > span {
  color: var(--saffron-700);
  font-size: .7rem;
  font-weight: 850;
}

.question-grid h2 {
  font-size: 1.42rem;
}

.question-grid p {
  color: var(--muted-text);
}

.question-search {
  display: block;
  max-width: 680px;
  font-weight: 800;
}

.question-search input {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  margin-top: 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
}
