/* Editorial treatment for the public reading and directory sections.
   Load after the section stylesheets so the older lavender/card rules do not win. */
:root {
  --ink: #25323b;
  --muted: #5e6971;
  --line: #dce4e9;
  --plum: #245d82;
  --light-plum: #f3f7f9;
  --yellow: #f2f6f8;
}

body { color: var(--ink); }
a:hover { color: #174e70; }

/* The header and footer carry the same site identity on every section. */
.site-header, .header-inner { height: 64px; }
.site-header { background: #285e86; border-bottom: 3px solid #1d4c6b; }
.header-inner { gap: 25px; }
.wordmark { letter-spacing: -.045em; font-size: 22px; }
.main-nav { gap: 18px; }
.main-nav a { font-size: 12px; letter-spacing: .025em; }
.site-footer { background: #f4f7f9; border-top-color: #cddbe4; color: #344956; }
.footer-brand { color: #285e86; }
.footer-inner a:not(.footer-brand) { color: #285e86; text-decoration: underline; text-decoration-color: #a7bdcc; text-underline-offset: 2px; }
.footer-inner p, .footer-bottom { color: #65747e; }
.footer-bottom { border-top-color: #d8e2e8; }
.static-mobile-nav { display: none; }

/* Practical directory geometry and typography. */
.wrap { width: min(calc(100% - 48px), 1160px); }
h1, h2, h3, h4 { color: #253b4c; }
.section-kicker { color: #376e90; letter-spacing: .075em; }
.section-title { margin: 36px 0 19px; }
.section-title h2 { font-size: 28px; font-weight: 700; }
.text-link { color: #245d82; }
.ad-space.inner, .ad-space.side { background: #f7f8f9; }
.editorial-grid, .page-columns, .astro-shell { grid-template-columns: minmax(0, 780px) 280px; gap: 45px; }
.editorial-grid > :first-child, .page-columns > :first-child, .astro-shell > :first-child { min-width: 0; }
.side-heading, .astro-sidebar h3 { font: 700 16px Arial, Helvetica, sans-serif; color: #263e4d; border-bottom: 2px solid #3e789b; padding-bottom: 8px; }
.side-links li, .astro-sidebar li { border-bottom-color: #dce4e9; }
.side-links a, .astro-sidebar a { color: #245d82; text-decoration: underline; text-decoration-color: #a7bdcc; text-underline-offset: 2px; }
.side-links li a:after { color: #6c91a8; }
.side-note { background: #f3f7f9; border: 1px solid #dce6ec; padding: 16px; }
.side-note h3 { font: 700 17px Arial, Helvetica, sans-serif; margin-bottom: 7px; }

/* Keep the zodiac index and shortcuts in the familiar horoscope-publisher style. */
.zodiac-head { margin-bottom: 17px; }
.zodiac-head h1 { color: #253b4c; font-size: 30px; font-weight: 700; }
.zodiac-grid { gap: 0; border-top: 1px solid #dce4e9; border-left: 1px solid #dce4e9; margin-bottom: 35px; }
.zodiac-choice { min-height: 116px; padding: 13px 4px 9px; border-right: 1px solid #dce4e9; border-bottom: 1px solid #dce4e9; }
.zodiac-choice:hover, .zodiac-choice:focus-visible { background: #f5f9fb; }
.zodiac-icon { width: 52px; height: 49px; font-size: 38px; color: #245d82; }
.zodiac-icon:before { display: none; }
.zodiac-choice strong { margin-top: 2px; color: #245d82; font: 700 17px Arial, Helvetica, sans-serif; text-decoration: underline; text-decoration-color: #a8c1d0; text-underline-offset: 2px; }
.zodiac-choice small { color: #667680; font-size: 10px; }

/* Home: link-rich navigation, ruled stories, and a quiet informational band. */
.shortcut-grid { gap: 0; border-top: 1px solid #dce4e9; border-left: 1px solid #dce4e9; margin-bottom: 39px; }
.shortcut, .shortcut:hover { background: #fff; color: #245d82; }
.shortcut { min-height: 58px; border-right: 1px solid #dce4e9; border-bottom: 1px solid #dce4e9; font-size: 11px; letter-spacing: .015em; }
.shortcut:hover { background: #f5f9fb; text-decoration: underline; }
.shortcut-icon { color: #3d789b; font-size: 22px; width: 27px; }
.overview-band { background: #eef4f7; border-color: #d0dfe8; padding: 30px 0; }
.overview-band h2 { font-size: 24px; font-weight: 700; }
.planet-index { color: #3b647f; border-left-color: #bfd1dd; }
.planet-index strong { color: #274d65; font-size: 26px; }
.editorial-grid { margin-top: 35px; margin-bottom: 60px; }
.feature-story { gap: 18px; }
.feature-art { background: #f0f3f5; }
.feature-story h2 { font-size: 27px; line-height: 1.22; }
.feature-story h2 a, .news-list h3 a, .content-band h2 a { color: #245d82; text-decoration: underline; text-decoration-color: #a7bdcc; text-underline-offset: 3px; }
.news-list { padding: 16px 0; }
.news-list h3 { font-size: 20px; }
.astro-home-links { background: #f5f8fa; }
.content-band { padding: 40px 0; }
.content-band h2 { font-size: 25px; font-weight: 700; }
.game-list a { color: #245d82; text-decoration: underline; text-decoration-color: #a7bdcc; text-underline-offset: 2px; }
.game-list a:after { color: #6c91a8; }

/* Section banners, tabs, and article navigation. */
.star-band { height: 76px; color: #fff; background: #2d5e7d; background-image: none; border-top: 1px solid #234f6c; border-bottom: 1px solid #234f6c; }
.star-band h1 { color: #fff; font-size: 31px; font-weight: 700; }
.star-band small { color: #e2edf3; letter-spacing: .07em; }
.star-band select { background: #fff; border: 1px solid #bfd2df; color: #24485d; border-radius: 0; }
.tabs { gap: 22px; border-bottom-color: #cddce5; margin: 18px 0 25px; }
.tabs a, .tabs button { color: #365266; font-size: 12px; font-weight: 700; border-bottom-width: 2px; }
.tabs a.active, .tabs button.active { color: #245d82; border-bottom-color: #245d82; }
.page-columns { margin-top: 23px; margin-bottom: 65px; }
.intro-copy { color: #485861; font-size: 15px; line-height: 1.62; }
.guide-copy { border-top-color: #dce4e9; }
.guide-copy h2 { font-size: 26px; font-weight: 700; }
.guide-copy h3 { font-size: 20px; font-weight: 700; }
.guide-copy p, .article-body p { color: #46545c; }
.guide-copy a, .article-body a, .card-meaning a { color: #245d82; text-decoration: underline; text-underline-offset: 2px; }
.forecast-next a { border-color: #cbdce5; color: #245d82; font-weight: 700; }
.forecast-next a:hover { background: #f3f8fa; }
.related-section h2 { font-size: 25px; font-weight: 700; }
.related-grid { gap: 0 19px; }
.related-grid a, .related-grid a:nth-child(2n), .related-grid a:nth-child(3n) { min-height: 69px; padding: 12px 0; background: #fff; border-bottom: 1px solid #dce4e9; color: #245d82; font: 700 16px Arial, Helvetica, sans-serif; text-decoration: underline; text-decoration-color: #a7bdcc; }
.related-grid small { color: #697983; text-decoration: none; line-height: 1.35; }
.sign-chips a { background: #f1f6f8; border: 1px solid #d4e1e8; color: #245d82; }
.sign-chips a.active { background: #285e86; color: #fff; border-color: #285e86; }

/* Tarot and dream indexes read as reference lists, not product cards. */
.directory-list { gap: 0 20px; margin-top: 15px; }
.directory-item { min-height: 98px; grid-template-columns: 72px 1fr; gap: 13px; padding: 11px 2px; border: 0; border-bottom: 1px solid #dce4e9; box-shadow: none; }
.directory-item:hover { background: #f7fafb; border-color: #c4d8e3; }
.directory-item img { width: 70px; height: 76px; }
.directory-item h3 { margin: 2px 0 5px; color: #245d82; font: 700 17px Arial, Helvetica, sans-serif; text-decoration: underline; text-decoration-color: #a7bdcc; text-underline-offset: 2px; }
.directory-item p { color: #53636c; font-size: 12px; line-height: 1.4; }
.meaning-keywords { background: #f2f7f9; border-left-color: #5a8baa; }
.dream-tools input { border-color: #b8cbd6; }
.dream-tools button, .primary-button { background: #285e86; border-radius: 0; }
.dream-tools button:hover, .primary-button:hover { background: #194d70; }
.alphabet button { color: #245d82; }
.alphabet button.active { background: #285e86; }
.entry-list strong { color: #245d82; font: 700 18px Arial, Helvetica, sans-serif; text-decoration: underline; text-decoration-color: #a7bdcc; text-underline-offset: 2px; }
.entry-list li { padding: 11px 0; }
.tool-panel { background: #f6f9fa; border-top-color: #5a8baa; }
.tool-panel input, .tool-panel select { border-color: #b8cbd6; }

/* Chart directory and forms use the same editorial scale as the other hubs. */
.astro-intro h1 { font: 700 34px/1.18 Georgia, 'Times New Roman', serif; color: #253b4c; }
.astro-section-title { background: #eef4f7; border-left-color: #5a8baa; }
.astro-sidebar { border-left-color: #dce4e9; }
.astro-row h3 a, .astro-home-item a { color: #245d82; }
.chart-form { background: #fff; border-color: #ccdce5; box-shadow: none; }
.chart-form input, .chart-form select { border-radius: 0; }
.chart-form .primary-button { background: #285e86; }
.moon-sign-glyph { font-family: 'Segoe UI Symbol', 'Noto Sans Symbols 2', sans-serif; font-variant-emoji: text; color: #346d91; }

/* Large horoscope sites lead with recognizable zodiac symbols and warm, quick links.
   The directory sections below keep their plainer reference treatment. */
.zodiac-head h1,
.section-title h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
.zodiac-grid { border: 0; row-gap: 18px; margin-bottom: 38px; }
.zodiac-choice { min-height: 126px; border: 0; padding: 0 4px; }
.zodiac-choice:hover,
.zodiac-choice:focus-visible { background: transparent; }
.zodiac-icon { width: 91px; height: 76px; color: #1f3441; font-size: 43px; }
.zodiac-icon:before { display: block; }
.zodiac-choice strong { color: #243847; font: 400 19px Georgia, 'Times New Roman', serif; text-decoration: none; }
.zodiac-choice:hover strong,
.zodiac-choice:focus-visible strong { text-decoration: underline; }
.zodiac-choice small { color: #424b52; font-size: 11px; }
.shortcut-grid { border: 0; gap: 10px; }
.shortcut,
.shortcut:hover { border: 0; background: #ffe6a0; color: #29323a; }
.shortcut { min-height: 49px; padding: 9px 12px; }
.shortcut:hover { background: #ffd875; }
.shortcut-icon { color: #34414a; }

/* Chart and knowledge directories use a standard leaderboard-sized ad opening. */
.ad-space.home { height: 120px; }
main > .ad-space.inner:has(+ .astro-intro) { height: 90px; margin-bottom: 10px; }
.astro-section-title { background: #f7f9fa; border-left: 0; color: #1d2b34; padding: 9px 10px; }
.astro-intro { padding-bottom: 4px; }
.astro-shell { padding-top: 13px; }
.astro-shell > div:has(> .astro-section-title) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; align-content: start; }
.astro-shell > div:has(> .astro-section-title) > .astro-section-title { grid-column: 1 / -1; margin: 22px 0 0; }
.astro-row { display: block; min-width: 0; padding: 0 0 10px; border: 1px solid #dce3e8; border-radius: 3px; background: #fff; }
.astro-row h3 { font-size: 15px; line-height: 1.35; margin: 0 0 9px; padding: 8px 9px; background: #f6f7f8; border-bottom: 1px solid #e5e9ec; }
.astro-row h3 a { color: #1d3648; border-bottom: 0; }
.astro-row-detail { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 10px; padding: 0 9px; align-items: start; }
.astro-row-detail img { width: 70px; height: 70px; object-fit: contain; }
.astro-row p { margin: 0 0 4px; font-size: 12px; line-height: 1.45; }
.astro-row .free-label { font-size: 10px; letter-spacing: .03em; }

@media (max-width: 950px) {
  .editorial-grid, .page-columns, .astro-shell { grid-template-columns: minmax(0, 1fr) 245px; gap: 26px; }
  .main-nav { gap: 11px; }
  .main-nav a { font-size: 10px; }
}

@media (max-width: 1250px) {
  .site-header, .header-inner { height: 58px; }
  .mobile-nav:not([hidden]) { top: 58px; }
  .static-header { height: auto; }
  .static-mobile-nav { display: flex; gap: 20px; overflow-x: auto; padding: 0 18px 10px; background: #285e86; white-space: nowrap; font-size: 12px; font-weight: 700; }
  .static-mobile-nav a { color: #fff; }
}

@media (max-width: 700px) {
  .wrap { width: min(calc(100% - 28px), 1160px); }
  .editorial-grid, .page-columns, .astro-shell { grid-template-columns: minmax(0, 1fr); gap: 23px; }
  .astro-shell > div:has(> .astro-section-title) { grid-template-columns: minmax(0, 1fr); gap: 11px; }
  .editorial-grid aside, .page-columns aside { border-top-color: #dce4e9; }
  .zodiac-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 27px; }
  .zodiac-choice { min-height: 103px; padding: 9px 2px 7px; }
  .zodiac-icon { height: 44px; font-size: 33px; }
  .zodiac-choice strong { font-size: 14px; }
  .zodiac-choice small { font-size: 9px; }
  .shortcut-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shortcut { min-height: 58px; padding: 8px 10px; }
  .star-band { height: auto; min-height: 70px; padding: 10px 0; }
  .star-band h1 { font-size: 27px; }
  .star-band select { min-width: 110px; width: 110px; }
  .tabs { gap: 16px; }
  .directory-list { grid-template-columns: 1fr; }
  .directory-item { grid-template-columns: 70px 1fr; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .overview-inner { grid-template-columns: 1fr; }
  .zodiac-grid { row-gap: 17px; }
  .zodiac-choice { min-height: 108px; padding: 0 2px; }
  .zodiac-icon { width: 73px; height: 67px; font-size: 35px; }
  .zodiac-choice strong { font-size: 18px; }
  .zodiac-choice small { font-size: 9px; }
  .shortcut-grid { gap: 8px; }
  .shortcut { min-height: 51px; padding: 8px; }
  .ad-space.home { height: 72px; }
  main > .ad-space.inner:has(+ .astro-intro) { height: 72px; }
}

@media (max-width: 400px) {
  .star-band h1 { font-size: 24px; }
  .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
  .tarot-article .card-meaning figure { float: none; width: 185px; max-width: 100%; margin: 0 auto 18px; }
  .tarot-article .tarot-lead { font-size: 15px; line-height: 1.65; }
}

/* Publication front page: varied editorial material, not a repeated card grid. */
.home-lede { padding: 30px 0 42px; }
.home-lede-heading { max-width: 920px; margin: 0 auto 24px; text-align: center; }
.home-eyebrow, .home-feature-kicker { color: #37617e; font: 700 11px/1.35 Arial, Helvetica, sans-serif; letter-spacing: .11em; }
.home-lede-heading h1 { margin: 8px 0 9px; color: #233b4b; font: 400 clamp(32px, 3.4vw, 46px)/1.12 Georgia, 'Times New Roman', serif; }
.home-lede-heading .home-lede-deck { max-width: 820px; margin: 0 auto; color: #53616a; font-size: 15px; line-height: 1.55; }
.home-lede-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 26px; margin-top: 10px; }
.home-lede-actions a { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; color: #245d82; font: 700 13px/1.4 Arial, Helvetica, sans-serif; text-decoration: underline; text-underline-offset: 4px; }
.home-lede-actions a:hover { color: #233b4b; }
.home-lede-actions a:focus-visible { outline: 2px solid #37617e; outline-offset: 4px; }
.home-feature-grid { display: grid; grid-template-columns: 1fr 1fr 1.28fr; gap: 18px; align-items: stretch; }
.home-feature { min-width: 0; border-top: 3px solid #44789b; background: #fff; }
.home-feature-image { display: block; height: 196px; overflow: hidden; background: #eae7df; }
.home-feature-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-feature--witchcraft .home-feature-body, .home-feature--spells .home-feature-body { padding: 14px 2px; border-bottom: 1px solid #dce4e9; }
.home-feature--horoscope { display: flex; flex-direction: column; grid-row: span 2; border-top-color: #d5a550; background: #f6f3ec; }
.home-feature-topline { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 8px; padding: 18px 20px 0; color: #65583f; font-size: 10px; font-weight: 700; letter-spacing: .09em; }
.home-feature-topline span { color: #807362; font-size: 9px; }
.home-feature-horoscope-art { position: relative; height: 112px; margin: 11px 20px 0; overflow: hidden; background: #e8e4da; }
.home-feature-horoscope-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 44%; filter: sepia(.14); }
.home-feature-horoscope-art figcaption { position: absolute; right: 0; bottom: 0; max-width: 100%; padding: 3px 6px; background: rgba(246, 243, 236, .93); color: #4f585c; font: 10px/1.3 Arial, Helvetica, sans-serif; }
.home-feature-horoscope-art a { color: #315d78; text-decoration: underline; }
.home-feature-body { padding: 16px 2px 3px; }
.home-feature--horoscope .home-feature-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 19px 24px 25px; }
.home-feature-signs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 3px; width: 100%; margin-bottom: 13px; padding: 0 0 15px; }
.home-feature-forecast-links { width: 100%; margin-top: 22px; border-top: 2px solid #c9b68d; font: 12px/1.4 Arial, Helvetica, sans-serif; }
.home-feature-forecast-links p { margin: 12px 0 3px!important; color: #75613f!important; font: 700 10px/1.4 Arial, Helvetica, sans-serif!important; letter-spacing: .11em; }
.home-feature-forecast-links a { display: block; border-bottom: 1px solid #ddd3bd; padding: 9px 0; color: #285977; text-decoration: none; }
.home-feature-forecast-links a:hover, .home-feature-forecast-links a:focus-visible { background: #f0eadc; }
.home-feature-forecast-links a strong { display: block; font-size: 14px; text-decoration: underline; text-underline-offset: 2px; }
.home-feature-forecast-links a span { display: block; margin-top: 2px; color: #5e625e; }
.home-feature-signs a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 57px; border-bottom: 1px solid #d9cdb6; color: #456d85; text-decoration: none; }
.home-feature-signs a span { font: 24px/1 Georgia, serif; }
.home-feature-signs a strong { color: #315a74; font: 700 11px/1.15 Arial, Helvetica, sans-serif; }
.home-feature-signs a:hover, .home-feature-signs a:focus-visible { background: #e8edf0; color: #1b4f72; }
.home-feature h2 { margin: 7px 0 9px; font: 400 25px/1.18 Georgia, 'Times New Roman', serif; }
.home-feature--witchcraft h2, .home-feature--spells h2 { font-size: 23px; }
.home-feature h2 a { color: #244c68; text-decoration: underline; text-decoration-color: #adbfca; text-underline-offset: 3px; }
.home-feature p:not(.home-feature-kicker) { margin: 0 0 11px; color: #53616a; font-size: 13px; line-height: 1.5; }
.home-feature--horoscope p { max-width: 330px; }
.home-feature--manuscript > a { display: block; height: 196px; overflow: hidden; background: #eae7df; }
.home-feature--manuscript img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 43%; }
.home-feature-chart-art { display: grid; place-items: center; height: 196px; background: #edf3f5; }
.home-feature-chart-art img { width: 186px; height: 186px; object-fit: contain; }
.home-feature--tarot > a, .home-feature--vedic > a { display: grid; place-items: center; height: 196px; overflow: hidden; background: #e9e7e2; }
.home-feature--tarot > a img { display: block; width: auto; max-width: 100%; height: 184px; object-fit: contain; }
.home-feature--vedic > a { background: #edf3f5; }
.home-feature--vedic > a img { display: block; width: 186px; height: 186px; object-fit: contain; }
.home-feature-kicker { margin: 0 0 7px; }
.home-feature .home-feature-credit { margin: 9px 0 0; color: #6c7880; font-size: 10px; }
.home-feature-credit a { color: #355f7b; text-decoration: underline; }
.home-feature--manuscript .home-feature-body, .home-feature--chart .home-feature-body, .home-feature--tarot .home-feature-body, .home-feature--vedic .home-feature-body { border-bottom: 1px solid #dce4e9; padding: 14px 2px 14px; }
.home-feature--manuscript h2, .home-feature--chart h2, .home-feature--tarot h2, .home-feature--vedic h2 { font-size: 21px; }
.home-feature .text-link { color: #245d82; }

/* A compact sign index sits below the lead stories and current-sky band. */
.home-explore { padding: 47px 0 32px; }
.home-explore-intro { margin-bottom: 22px; }
.home-explore-intro h2 { margin: 5px 0 7px; font-size: 31px; }
.home-explore-intro > p:last-child { margin: 0; color: #5d6970; font-size: 14px; }
.home-explore-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(260px, .9fr); gap: 48px; align-items: start; }
.home-sign-index .zodiac-head { margin: 0 0 11px; text-align: left; }
.home-sign-index .zodiac-head h2, .home-topic-index h2 { margin: 0; font: 700 16px Arial, Helvetica, sans-serif; color: #253b4c; }
.zodiac-grid { gap: 0 16px; border-top: 1px solid #dce4e9; margin-bottom: 0; text-align: left; }
.zodiac-choice { display: grid; grid-template-columns: 39px minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; column-gap: 7px; min-height: 72px; padding: 9px 2px; border-bottom: 1px solid #dce4e9; }
.zodiac-choice:hover, .zodiac-choice:focus-visible { background: #f5f8fa; }
.zodiac-icon { display: grid; grid-column: 1; grid-row: 1 / 3; place-items: center; width: 36px; height: 44px; color: #396a8a; font-size: 27px; }
.zodiac-icon:before { display: none; }
.zodiac-choice strong { grid-column: 2; grid-row: 1; margin: 0; color: #254b65; font: 700 15px Arial, Helvetica, sans-serif; text-decoration: none; }
.zodiac-choice small { grid-column: 2; grid-row: 2; color: #68757d; font-size: 10px; white-space: nowrap; }
.home-sign-index .zodiac-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-sign-index .zodiac-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 7px; }
.home-sign-index .zodiac-choice { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 106px; padding: 9px 2px; text-align: center; }
.home-sign-index .zodiac-icon { width: 36px; height: 38px; font-size: 27px; }
.home-sign-index .zodiac-choice strong { font-size: 14px; }
.home-sign-index .zodiac-choice small { font-size: 10px; }
.home-topic-index h2 { padding: 0 0 12px; border-bottom: 2px solid #3e789b; }
.home-topic-index .shortcut-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; border: 0; margin: 0; }
.home-topic-index .shortcut, .home-topic-index .shortcut:hover { min-height: 45px; padding: 8px 0; border: 0; border-bottom: 1px solid #dce4e9; background: #fff; color: #245d82; font-size: 11px; letter-spacing: 0; }
.home-topic-index .shortcut-icon { width: 22px; color: #4a748d; font-size: 16px; }
.home-topic-index .shortcut:hover { text-decoration: underline; }
.companion-home { margin-top: 25px; margin-bottom: 35px; }

/* Chart and library hubs read as indexes with section rules and a quiet right rail. */
.astro-shell > div:has(> .astro-section-title) { display: block; }
.astro-shell > div:has(> .astro-section-title) > .astro-section-title { margin: 28px 0 0; }
.astro-row { display: block; padding: 13px 4px; border: 0; border-bottom: 1px solid #dce4e9; border-radius: 0; background: #fff; }
.astro-row h3 { margin: 0 0 4px; padding: 0; border: 0; background: transparent; font: 700 16px/1.35 Arial, Helvetica, sans-serif; }
.astro-row h3 a { color: #245d82; text-decoration: underline; text-decoration-color: #aac0cd; text-underline-offset: 2px; }
.astro-row-detail { display: block; padding: 0; }
.astro-row-detail img { display: none; }
.astro-row p { margin: 0; color: #4f606a; font-size: 14px; line-height: 1.45; }
.astro-row .free-label { display: inline-block; margin-top: 4px; color: #51738b; font-size: 10px; font-weight: 700; letter-spacing: .07em; }
.chart-invite { margin: 22px 0 25px; }

@media (min-width: 901px) and (max-width: 1200px) {
  .home-feature-signs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .home-feature-grid { grid-template-columns: 1fr 1fr; }
  .home-feature--horoscope { grid-column: 1 / -1; grid-row: auto; min-height: 250px; }
  .home-explore-grid { grid-template-columns: 1fr; gap: 25px; }
}
@media (max-width: 700px) {
  .home-lede { padding: 28px 0 35px; }
  .home-lede-heading { margin-bottom: 22px; text-align: left; }
  .home-lede-actions { justify-content: flex-start; gap: 4px 22px; }
  .home-lede-heading h1 { font-size: 36px; }
  .home-feature-grid { grid-template-columns: 1fr; gap: 20px; }
  .home-feature--horoscope { grid-column: auto; grid-row: auto; min-height: 230px; }
  .home-feature-signs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-feature-image, .home-feature--manuscript > a, .home-feature-chart-art, .home-feature--tarot > a, .home-feature--vedic > a { height: 180px; }
  .home-explore { padding: 34px 0 18px; }
  .zodiac-grid, .home-sign-index .zodiac-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 10px; }
  .zodiac-choice { min-height: 68px; padding: 8px 2px; }
  .zodiac-icon { width: 32px; height: 40px; font-size: 25px; }
  .zodiac-choice strong { font-size: 13px; }
  .zodiac-choice small { font-size: 9px; }
  .home-topic-index .shortcut-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .astro-row { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 14px 2px; }
}

/* Five publisher sections keep Western and Vedic tools in separate directories. */
.site-header .publisher-nav { gap: 9px; }
.publisher-nav-group { position: relative; }
.publisher-nav-group summary { display: flex; align-items: center; gap: 7px; min-height: 43px; padding: 0 10px; color: #fff; cursor: pointer; list-style: none; font: 700 12px Arial, Helvetica, sans-serif; letter-spacing: .025em; white-space: nowrap; }
.publisher-nav-group summary::-webkit-details-marker { display: none; }
.publisher-nav-group summary::after { content: ''; width: 5px; height: 5px; margin-top: -3px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); opacity: .8; }
.publisher-nav-group[open] summary, .publisher-nav-group summary:hover { color: #f5d17d; }
.publisher-nav-group summary:focus-visible, .publisher-nav-panel a:focus-visible { outline: 2px solid #f5d17d; outline-offset: 2px; }
.publisher-nav-panel { position: absolute; top: calc(100% + 10px); left: 0; z-index: 20; min-width: 220px; padding: 7px 0; border: 1px solid #c7d6df; background: #fff; box-shadow: 0 12px 25px #152e4050; }
.publisher-nav-panel::before { content: ''; position: absolute; left: 16px; top: -11px; width: 18px; height: 10px; background: transparent; }
.site-header .publisher-nav-panel a { display: block; padding: 10px 18px; color: #254b65; font: 600 13px/1.25 Arial, Helvetica, sans-serif; letter-spacing: 0; white-space: nowrap; }
.site-header .publisher-nav-panel a:hover { background: #edf4f8; color: #174e70; text-decoration: underline; }

/* Standalone guides and calculators are generated by different builders.
   Their native disclosure menu keeps the same publisher sections. */
.static-publisher-menu { display: none; }
@media (max-width: 1250px) {
  .site-header.static-header { height: auto; min-height: 58px; }
  .static-header .main-nav.publisher-nav { display: none; }
  .static-header .static-publisher-menu { display: block; color: #fff; background: #285e86; border-top: 1px solid #ffffff40; }
  .static-publisher-menu summary { display: flex; align-items: center; min-height: 38px; padding: 0 20px; cursor: pointer; list-style: none; font: 700 12px Arial, Helvetica, sans-serif; letter-spacing: .025em; }
  .static-publisher-menu summary::-webkit-details-marker { display: none; }
  .static-publisher-menu summary::before { content: '☰'; margin-right: 10px; font-size: 17px; font-weight: 400; }
  .static-publisher-menu summary:focus-visible, .static-publisher-menu a:focus-visible { outline: 2px solid #f5d17d; outline-offset: -2px; }
  .static-publisher-menu nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 15px 20px 20px; background: #f5f8fa; color: #254b65; border-bottom: 1px solid #c7d6df; }
  .static-publisher-menu-group strong { display: block; margin: 0 0 6px; color: #284e68; font: 700 11px Arial, Helvetica, sans-serif; letter-spacing: .05em; }
  .static-publisher-menu-group a { display: block; padding: 5px 0; color: #245d82; font: 13px/1.3 Arial, Helvetica, sans-serif; text-decoration: underline; }
}
@media (max-width: 700px) {
  .static-publisher-menu summary { padding: 0 14px; }
  .static-publisher-menu nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; padding: 15px 14px 20px; }
  .home-sign-index .zodiac-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 6px; }
  .home-sign-index .zodiac-choice { min-height: 103px; }
  .home-sign-index .zodiac-choice strong { font-size: 14px; }
  .home-sign-index .zodiac-choice small { font-size: 9px; }
}
