.nav-section-active { text-decoration: underline; text-underline-offset: 6px; }
.inner-page { padding-bottom: 20px; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; padding-block: 22px 0; color: var(--muted); font-size: 13px; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs a:hover { color: var(--accent); text-decoration: underline; }
.breadcrumbs [aria-current] { max-width: 650px; }
.page-hero { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding-block: 37px 33px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.page-hero > div:first-child { max-width: 870px; }
.page-hero h1 { font: 400 clamp(31px,4.3vw,49px)/1.18 var(--serif); letter-spacing: -1.6px; margin: 0 0 17px; overflow-wrap: anywhere; }
.page-intro { max-width: 730px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.page-symbol { width: 130px; height: 130px; display: grid; place-items: center; flex-shrink: 0; background: var(--soft); color: var(--accent); border-radius: 50%; font: 68px/1 Georgia,serif; }
.sign-period { margin-top: 20px; }
.sign-period > span { font-size: 18px; color: var(--accent); font-weight: 600; white-space: nowrap; }
.article-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; margin: -8px 0 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.article-author { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.article-author img { width: 48px; height: 48px; flex-shrink: 0; object-fit: cover; object-position: center 20%; border-radius: 50%; }
.article-author strong { text-decoration: underline; text-underline-offset: 3px; }
.article-author small { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; }
.article-dates p { line-height: 1.7; }
.article-layout { display: grid; grid-template-columns: 240px minmax(0,1fr); gap: 46px; align-items: start; }
.article-sidebar { position: sticky; top: 22px; min-width: 0; }
.page-toc { padding: 19px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.page-toc summary { font-size: 15px; font-weight: 600; cursor: pointer; color: var(--accent); }
.page-toc ol { margin: 14px 0 0; padding-left: 18px; font-size: 13px; line-height: 1.5; }
.page-toc li { padding-block: 5px; }
.page-toc a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sidebar-next { margin-top: 27px; }
.sidebar-next .eyebrow { font-size: 10px; }
.sidebar-next .topic-grid { grid-template-columns: 1fr; gap: 9px; margin-top: 12px; }
.sidebar-next .topic-link { padding: 13px; font-size: 13px; }
.article-body { min-width: 0; font-size: 17px; line-height: 1.8; overflow-wrap: break-word; }
.article-body h2 { font: 400 29px/1.3 var(--serif); letter-spacing: -.65px; margin: 35px 0 17px; scroll-margin-top: 25px; }
.article-body > h2:first-child, .article-body > div:first-child > h2:first-child { margin-top: 0; }
.article-body h3 { font: 400 22px/1.4 var(--serif); margin: 28px 0 13px; scroll-margin-top: 25px; }
.article-body p { margin-block: 0 17px; }
.article-body strong { font-weight: 600; }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article-body ul, .article-body ol { padding-left: 25px; margin-block: 12px 23px; }
.article-body li { margin-block: 7px; }
.article-body figure { margin: 23px 0; }
.article-body img { max-width: min(100%,420px); height: auto; border-radius: 6px; }
.article-body figcaption { margin-top: 9px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.article-body .article-illustration { margin: 0 0 30px; }
.article-body .article-illustration img { display: block; width: 100%; max-width: 100%; height: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; }
.article-body .table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 5px; margin-block: 22px 30px; }
.article-body table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.6; }
.article-body table a { display: inline-block; min-width: 24px; min-height: 24px; padding-block: 3px; overflow-wrap: normal; }
.article-body th, .article-body td { border-bottom: 1px solid var(--line); padding: 12px 15px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.article-body td:first-child { width: 30%; min-width: 135px; background: var(--soft); }
.article-body tr:last-child td { border-bottom: 0; }
.wide-reading, .narrow { max-width: 800px; margin-inline: auto; }
.people-body .person { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 35px; padding-block: 35px; border-bottom: 1px solid var(--line); }
.people-body > p { max-width: 800px; }
.people-body .person figure { margin: 0; }
.people-body .person img { width: 100%; max-width: 210px; aspect-ratio: 4/5; object-fit: cover; object-position: top; }
.people-body .person h2 { margin-top: 0; }
.people-body .person h3 { font-size: 20px; }
.topic-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,210px),1fr)); gap: 13px; margin-block: 0 32px; }
.topic-link { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 54px; padding: 17px 19px; border: 1px solid var(--line); border-radius: 5px; font-size: 15px; background: var(--surface); }
.topic-link:hover { background: var(--soft); color: var(--accent); }
.topic-link > span:last-child { flex-shrink: 0; }
.related { margin-top: 45px; padding-top: 27px; border-top: 1px solid var(--line); }
.related .topic-grid { margin-top: 17px; margin-bottom: 10px; }
.package-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-bottom: 38px; }
.package { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; min-width: 0; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); padding: 25px; }
.package h2 { font: 400 27px/1.25 var(--serif); letter-spacing: -.5px; overflow-wrap: anywhere; }
.package > p:not(.price):not(.eyebrow) { color: var(--muted); font-size: 15px; }
.package .price { font: 400 29px/1.5 var(--serif); margin-top: auto; padding-top: 10px; color: var(--accent); }
.package .button { font-size: 14px; width: 100%; margin-top: 5px; }
.package-astrologers { margin-block: 56px 42px; padding-top: 30px; border-top: 1px solid var(--line); }
.package-astrologers h2 { font: 400 31px/1.3 var(--serif); margin-bottom: 12px; }
.package-astrologers > p { color: var(--muted); font-size: 16px; }
.course-choices { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-bottom: 40px; }
.course-choice { display: flex; flex-direction: column; gap: 12px; padding: 23px; background: var(--soft); border-radius: 6px; }
.course-choice strong { font: 400 25px/1.3 var(--serif); }
.course-choice > span:last-child { font-size: 13px; color: var(--accent); margin-top: auto; }
.course-choice:hover { outline: 1px solid var(--accent); }
.request-box { max-width: 740px; margin: 40px auto 0; padding: 32px; border: 1px solid var(--line); background: var(--surface); border-radius: 7px; scroll-margin-top: 20px; }
.request-box h2 { font: 400 31px/1.3 var(--serif); margin-block: 15px; }
.request-box > p { color: var(--muted); font-size: 16px; }
.request-box a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.email-request { margin-top: 23px; }
.request-fields { min-width: 0; margin: 0; padding: 0; border: 0; }
.request-legend { padding: 0; color: var(--muted); font-size: 13px; }
.request-birth { min-width: 0; margin: 24px 0 0; padding: 10px 0 0; border: 0; border-top: 1px solid var(--line); }
.request-birth legend { padding: 0 12px 0 0; font-weight: 600; color: var(--accent); }
.email-request label { display: block; font-weight: 500; margin-block: 16px 7px; }
.email-request label span { font-weight: 400; color: var(--muted); font-size: 13px; }
.email-request .button { margin-top: 21px; }
.request-consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; }
.email-request .request-consent label { margin: 0; font-size: 14px; font-weight: 400; line-height: 1.6; }
.form-status { color: var(--accent); font-size: 14px; margin-top: 13px; }
.form-status.is-error { color: #963b36; }
.email-request .button:disabled { opacity: .65; cursor: wait; }
.notice { max-width: 800px; margin: 25px auto; padding: 20px 23px; background: var(--soft); border-left: 3px solid var(--accent); font-size: 15px; }
.contact-highlight { max-width: 740px; margin-inline: auto; padding: 10px 0; }
.contact-highlight > a { font: 400 clamp(25px,4vw,38px)/1.5 var(--serif); color: var(--accent); }
.contact-highlight p { color: var(--muted); }
.calculator-method { max-width: 800px; margin: 12px auto 28px; font-size: 13px; color: var(--muted); }
.calculator-method a { text-decoration: underline; }
.package-featured { border: 2px solid var(--accent); background: var(--soft); }
.package-featured .eyebrow { padding: 5px 10px; border-radius: 3px; background: var(--accent); color: var(--surface); }
@media (max-width:900px) {
  .article-layout { grid-template-columns: 195px minmax(0,1fr); gap: 28px; }
  .page-toc { padding: 15px; }
  .page-hero h1 { font-size: 39px; }
  .page-symbol { width: 110px; height: 110px; font-size: 55px; }
  .package-grid { gap: 13px; }
  .package { padding: 19px; }
  .package h2 { font-size: 23px; }
  .package .eyebrow { font-size: 10px; letter-spacing: 1px; }
  .package .button { font-size: 13px; padding-inline: 10px; }
  .course-choice { padding: 18px; }
  .course-choice strong { font-size: 22px; }
  .people-body .person { grid-template-columns: 160px minmax(0,1fr); gap: 25px; }
}
@media (max-width:680px) {
  .breadcrumbs { font-size: 12px; padding-top: 20px; }
  .page-hero { padding-block: 27px; gap: 20px; margin-bottom: 25px; }
  .page-hero h1 { font-size: 34px; letter-spacing: -1px; }
  .page-intro { font-size: 16px; }
  .page-symbol { width: 83px; height: 83px; font-size: 43px; }
  .page-hero:has(.page-symbol) { display: block; position: relative; }
  .page-hero:has(.page-symbol) h1 { min-height: 83px; padding-right: 100px; }
  .page-hero .page-symbol { position: absolute; right: 0; top: 27px; }
  .article-layout { display: block; }
  .article-sidebar { position: static; margin-bottom: 28px; }
  .sidebar-next { display: none; }
  .page-toc ol { columns: 2; column-gap: 25px; }
  .page-toc li { break-inside: avoid; }
  .article-body { font-size: 16px; line-height: 1.8; }
  .article-body h2 { font-size: 26px; margin-top: 30px; }
  .article-body h3 { font-size: 21px; }
  .package-grid, .course-choices { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .package { padding: 23px; }
  .package h2 { font-size: 28px; }
  .package .price { padding-top: 0; }
  .package .button { font-size: 15px; }
  .course-choice { padding: 22px; }
  .people-body .person { display: block; }
  .people-body .person img { max-width: 210px; margin-bottom: 24px; }
  .request-box { padding: 24px; }
  .request-box h2 { font-size: 29px; }
  .article-body td:first-child { min-width: 104px; }
}
@media (max-width:400px) {
  .page-toc ol { columns: 1; }
  .page-hero:has(.page-symbol) { gap: 12px; }
  .page-hero:has(.page-symbol) h1 { min-height: 64px; font-size: 30px; padding-right: 77px; }
  .page-symbol { width: 64px; height: 64px; font-size: 36px; }
  .request-box { padding: 19px; }
  .request-box h2 { font-size: 25px; }
  .article-body table { font-size: 13px; }
  .article-body td, .article-body th { padding: 9px 11px; }
}
