/* Lunar Nodes pillar. Generated from chiron-pillar.css with its own palette. */
.nod { max-width: 980px; margin: 0 auto; padding: 0 24px 80px; }
.nod h2 { font-size: 1.55rem; line-height: 1.25; margin: 2.4rem 0 0.9rem; }
.nod p { line-height: 1.7; }

/* Hero */
.nod-hero { text-align: center; padding: 56px 16px 40px; }
.nod-hero-glyph { font-size: 3rem; opacity: .85; color: #4b5590; }
.nod-hero-title { font-size: 2.3rem; line-height: 1.15; margin: 10px 0 12px; }
.nod-hero-sub { font-size: 1.1rem; color: var(--text-muted, #5b5b6b); max-width: 640px; margin: 0 auto 22px; line-height: 1.6; }
.nod-hero-cta { display: inline-block; background: #232b55; color: #fff; padding: 12px 26px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.nod-hero-cta:hover { background: #232b55; }
.nod-byline { margin: 18px 0 0; font-size: .86rem; color: #4b5590; }
.nod-byline a { color: #4b5590; text-decoration: none; border-bottom: 1px solid #e0e3f3; }

/* Author / E-E-A-T card (shared markup; teal palette here) */
.author-card { display: flex; gap: 16px; align-items: flex-start; margin: 40px 0 8px; padding: 20px 22px; background: #f5f6fc; border: 1px solid #e0e3f3; border-radius: 16px; }
.author-card-mark { flex: none; width: 42px; height: 42px; border-radius: 50%; background: #232b55; color: #c9cff0; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.author-card-name { margin: 0 0 5px; font-weight: 700; font-size: 1rem; color: #232b55; }
.author-card-bio { margin: 0; font-size: .92rem; line-height: 1.6; color: #4b5590; }
.author-card-bio a { color: #4b5590; }

.nod-intro .nod-note { background: #f5f6fc; border-left: 3px solid #c9cff0; padding: 14px 18px; border-radius: 8px; color: #4b5590; font-size: .98rem; }

/* Diagram — cosmic panel */
.nod-figure { margin: 26px 0 10px; background: #141a36; border: 1px solid #2f3866; border-radius: 18px; padding: 10px 10px 18px; box-shadow: 0 14px 40px rgba(20,26,54,.28); }
.nod-figure svg { display: block; width: 100%; height: auto; margin: 0 auto; }
.nod-figure svg text { font-family: inherit; }
.nod-fig-faint { font-size: 12.5px; fill: #c9cff0; letter-spacing: .02em; }
.nod-fig-chi { font-size: 16px; font-weight: 700; fill: #c9cff0; letter-spacing: .01em; }
.nod-fig-sub { font-size: 12px; fill: #c9cff0; font-style: italic; }
.nod-fig-sat { font-size: 12.5px; fill: #e8d6a8; letter-spacing: .02em; }
.nod-fig-ura { font-size: 12.5px; fill: #9fe6e0; letter-spacing: .02em; }
.nod-figure figcaption { font-size: .92rem; color: #c9cff0; line-height: 1.65; margin: 12px auto 0; text-align: center; max-width: 660px; padding: 0 14px; }
.nod-figure figcaption em { color: #c9cff0; font-style: normal; }

/* Finder */
.nod-finder { background: #141a36; color: #c9cff0; border-radius: 18px; padding: 30px 26px; margin: 34px 0; }
.nod-finder h2 { margin-top: 0; color: #fff; }
.nod-finder-lead { color: #c9cff0; }
.nod-form { display: flex; flex-direction: column; gap: 16px; margin: 20px 0 6px; }
.nod-form-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-start; }
.nod-form-group-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: #c9cff0; flex: 1 1 100%; margin-bottom: -6px; }
.nod-field { display: flex; flex-direction: column; gap: 4px; }
.nod-field label { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: #c9cff0; }
.nod-field select, .nod-field input { padding: 10px 12px; border-radius: 9px; border: 1px solid #2f3866; background: #141a36; color: #c9cff0; font-size: .95rem; min-width: 84px; }
.nod-field--loc { flex: 1 1 100%; }
.nod-field--loc input { width: 100%; box-sizing: border-box; }
.nod-loc-wrap { position: relative; }
.nod-loc-results { position: absolute; top: calc(100% + 4px); left: 0; right: 0; background: #141a36; border: 1px solid #2f3866; border-radius: 10px; z-index: 30; display: none; max-height: 240px; overflow-y: auto; }
.nod-loc-results.active { display: block; }
.nod-loc-item { padding: 9px 12px; cursor: pointer; font-size: .9rem; border-bottom: 1px solid #141a36; }
.nod-loc-item:hover { background: #141a36; }
.nod-loc-selected { font-size: .82rem; color: #d9b25a; margin-top: 5px; min-height: 1em; }
.nod-time-unknown { display: flex; align-items: center; gap: 7px; font-size: .85rem; color: #c9cff0; align-self: center; margin-top: 18px; white-space: nowrap; }
.nod-time-hint { font-size: .82rem; color: #e0c0b0; margin: 6px 0 0; }
.nod-calc-btn { margin-top: 16px; background: #d9b25a; color: #1b1606; border: none; padding: 13px 30px; border-radius: 999px; font-weight: 700; font-size: 1rem; cursor: pointer; }
.nod-calc-btn:disabled { opacity: .45; cursor: not-allowed; }
.nod-calc-btn:not(:disabled):hover { background: #d9b25a; }
.nod-result { margin-top: 20px; background: #141a36; border: 1px solid #2f3866; border-radius: 12px; padding: 20px 22px; scroll-margin-top: 76px; }
.nod-result p { margin: 0; }
.nod-result-head { font-size: 1.25rem; line-height: 1.35; color: #c9cff0; }
.nod-result strong { color: #c9cff0; }
.nod-result-links { margin-top: 10px !important; font-size: .95rem; }
.nod-result-more { margin-top: 12px !important; font-size: .9rem; color: #c9cff0; }
.nod-result a { color: #d9b25a; }

/* Signs */
.nod-signs-lead, .nod-houses-lead { color: var(--text-muted, #5b5b6b); }
.nod-sign { border: 1px solid #e0e3f3; border-radius: 16px; padding: 22px 22px 18px; margin: 18px 0; scroll-margin-top: 80px; transition: box-shadow .25s, border-color .25s; }
.nod-sign.is-yours { border-color: #d9b25a; box-shadow: 0 0 0 3px rgba(217,178,90,.28); }
.nod-sign-head { display: flex; align-items: center; gap: 14px; }
.nod-sign-glyph { font-size: 1.9rem; }
.nod-sign-head h3 { margin: 0; font-size: 1.3rem; }
.nod-sign-tag { margin: 2px 0 0; color: #5c5470; font-style: italic; font-size: .96rem; }
.nod-sign-el { margin-left: auto; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: #4b5590; border: 1px solid #e0e3f3; border-radius: 999px; padding: 3px 10px; }
.nod-sign-arena { font-size: .95rem; color: #4b5590; margin: 14px 0 12px; }
.nod-toggle { display: inline-flex; background: #f5f6fc; border-radius: 999px; padding: 3px; gap: 3px; margin-bottom: 12px; }
.nod-toggle-btn { border: none; background: transparent; padding: 6px 16px; border-radius: 999px; font-size: .85rem; font-weight: 600; color: #4b5590; cursor: pointer; }
.nod-toggle-btn.is-active { background: #232b55; color: #fff; }
.nod-state p { margin: 0 0 2px; }
.nod-looks-h { font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: #4b5590; margin: 16px 0 6px; }
.nod-looks { margin: 0; padding-left: 20px; color: #4b5590; }
.nod-looks li { margin: 4px 0; line-height: 1.5; }

/* Houses */
.nod-houses-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 16px; }
.nod-house { border: 1px solid #e0e3f3; border-radius: 12px; padding: 16px 18px; scroll-margin-top: 80px; }
.nod-house.is-yours { border-color: #d9b25a; box-shadow: 0 0 0 3px rgba(217,178,90,.28); }
.nod-house h3 { margin: 0 0 7px; font-size: 1rem; }
.nod-house-num { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; background: #232b55; color: #fff; border-radius: 999px; font-size: .8rem; margin-right: 4px; }
.nod-house-domain { color: #4b5590; font-weight: 400; font-size: .85rem; }
.nod-house p { margin: 0; font-size: .93rem; color: #4b5590; line-height: 1.6; }

/* Return */
.nod-return { background: #f5f6fc; border-radius: 16px; padding: 26px 24px; margin: 34px 0; }
.nod-return-ages { color: #4b5590; }
.nod-return-dates { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.nod-return-date { background: #fff; border: 1px solid #e0e3f3; border-radius: 999px; padding: 6px 14px; font-size: .88rem; }
.nod-return-date.is-next { background: #232b55; color: #fff; border-color: #232b55; }

/* FAQ */
.nod-faq-item { border-top: 1px solid #e0e3f3; padding: 16px 0; }
.nod-faq-item h3 { margin: 0 0 6px; font-size: 1.05rem; }
.nod-faq-item p { margin: 0; color: #4b5590; }

/* Keep exploring */
.nod-explore { margin: 40px 0 0; }
.nod-explore-lead { color: var(--text-muted, #5b5b6b); }
.nod-explore-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.nod-explore-card { display: flex; flex-direction: column; gap: 6px; border: 1px solid #e0e3f3; border-radius: 14px; padding: 18px; text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s, transform .2s; }
.nod-explore-card:hover { border-color: #d9b25a; box-shadow: 0 8px 24px rgba(35,43,85,.1); transform: translateY(-2px); }
.nod-explore-glyph { font-size: 1.6rem; }
.nod-explore-t { font-weight: 700; font-size: 1.02rem; }
.nod-explore-d { font-size: .88rem; color: #4b5590; line-height: 1.5; }
.nod-result-more a { color: #d9b25a; }

/* Share card */
.nod-share-card { position: fixed; bottom: 18px; right: 18px; z-index: 60; max-width: 300px; }
.nod-share-inner { background: #141a36; color: #c9cff0; border-radius: 14px; padding: 14px 16px; box-shadow: 0 14px 40px rgba(20,26,54,.4); display: flex; align-items: center; gap: 10px; }
.nod-share-glyph { font-size: 1.4rem; }
.nod-share-line { margin: 0; font-size: .85rem; line-height: 1.4; flex: 1; }
.nod-share-btn { background: #d9b25a; color: #1b1606; border: none; border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: .82rem; cursor: pointer; white-space: nowrap; }

@media (max-width: 640px) {
  .nod-hero-title { font-size: 1.8rem; }
  .nod-houses-grid, .nod-explore-grid { grid-template-columns: 1fr; }
  .nod-sign-el { display: none; }
  .nod-share-card { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .nod-fig-chi { font-size: 15px; }
  .nod-fig-sub, .nod-fig-faint, .nod-fig-sat, .nod-fig-ura { font-size: 11px; }
}

/* Extra blocks for this pillar */
.nod-explain { margin: 34px 0; }
.nod-explain h3 { font-size: 1.1rem; margin: 1.6rem 0 .5rem; }
.nod-callout { background: #f5f6fc; border-left: 3px solid #d9b25a; padding: 14px 18px; border-radius: 8px; color: #4b5590; font-size: .98rem; }
.nod-ages { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; padding: 0; list-style: none; }
.nod-ages li { background: #fff; border: 1px solid #e0e3f3; border-radius: 999px; padding: 5px 13px; font-size: .88rem; }
.nod-axis-pair { font-size: .9rem; color: #4b5590; margin: 4px 0 0; }
.nod-axis-pair strong { color: #232b55; }
.nod-periods { font-size: .86rem; color: #4b5590; margin: 14px 0 0; line-height: 1.55; }
.nod-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 14px 0; border: 1px solid #e0e3f3; border-radius: 12px; }
.nod-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.nod-table th, .nod-table td { padding: 8px 12px; text-align: left; border-bottom: 1px solid #e0e3f3; white-space: nowrap; }
.nod-table th { background: #f5f6fc; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: #4b5590; position: sticky; top: 0; }
.nod-table tr.is-yours td { background: #f5f6fc; font-weight: 600; }
.nod-syn-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 14px; }
.nod-syn { border: 1px solid #e0e3f3; border-radius: 12px; padding: 16px 18px; }
.nod-syn h3 { margin: 0 0 6px; font-size: 1rem; }
.nod-syn p { margin: 0; font-size: .93rem; line-height: 1.6; }
.nod-explore-more { font-size: .95rem; margin-top: 14px; }
@media (max-width: 640px) {
  .nod-syn-grid { grid-template-columns: 1fr; }
  .nod-table th, .nod-table td { padding: 7px 9px; font-size: .84rem; }
  .nod { padding: 0 16px 64px; }
}

/* Dark-site overrides: the site body is dark (#0d0d1a), so soften the light
   pillar palette into translucent panels with light text. */
.nod a:not([class]) { color: #d9b25a; }
.nod-hero-sub, .nod-byline, .nod-sign-tag, .nod-looks, .nod-looks-h, .nod-house p, .nod-house-domain,
.nod-faq-item p, .nod-explore-d, .nod-periods, .nod-signs-lead, .nod-houses-lead, .nod-explore-lead,
.nod-sign-el, .nod-syn p, .nod-return-ages { color: rgba(244,241,232,.74); }
.nod-periods strong { color: rgba(244,241,232,.9); }
.nod-hero-cta { background: #d9b25a; color: #1b1606; }
.nod-hero-cta:hover { background: #d9b25a; filter: brightness(1.08); }
.nod-intro .nod-note, .nod-callout, .nod-return, .nod .author-card {
  background: rgba(255,255,255,.045); color: rgba(244,241,232,.84); border-color: rgba(255,255,255,.1); }
.nod .author-card-name { color: #fff; }
.nod .author-card-bio { color: rgba(244,241,232,.78); }
.nod .author-card-mark { background: #d9b25a; color: #1b1606; }
.nod-sign, .nod-house, .nod-faq-item, .nod-explore-card, .nod-syn, .nod-table-wrap, .nod-table th, .nod-table td, .nod-sign-el {
  border-color: rgba(255,255,255,.12); }
.nod-sign, .nod-house, .nod-syn, .nod-explore-card { background: rgba(255,255,255,.025); }
.nod-toggle { background: rgba(255,255,255,.08); }
.nod-toggle-btn { color: rgba(244,241,232,.75); }
.nod-toggle-btn.is-active { background: #d9b25a; color: #1b1606; }
.nod-house-num { background: #d9b25a; color: #1b1606; }
.nod-table th { background: rgba(255,255,255,.06); color: rgba(244,241,232,.75); }
.nod-table tr.is-yours td { background: rgba(255,255,255,.1); color: #fff; }
.nod-ages li, .nod-return-date { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: rgba(244,241,232,.88); }
.nod-return-date.is-next { background: #d9b25a; color: #1b1606; border-color: #d9b25a; }
