/* nakshatra.css — 二十七宿內容頁（/nakshatra/ 索引＋單宿頁）。
   奶油底 SAṄGA 皮；沿用 legal.css 的 breadcrumb/header/footnote。 */

.nk-page { max-width: 780px; margin: 0 auto; }
.nk-intro { color: var(--ink-soft); margin-top: 8px; }
.nk-intro + .nk-intro { margin-top: 6px; }

/* ── 索引頁 grid ── */
.nk-index-grid { list-style: none; margin: 28px 0 40px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.nk-index-card a { display: flex; flex-direction: column; gap: 6px; padding: 16px; text-decoration: none; color: var(--ink); height: 100%; }
.nk-index-card { transition: box-shadow .15s ease, transform .15s ease; }
.nk-index-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.nk-num { font-family: var(--font-mono); font-size: 11px; color: var(--gold-deep); letter-spacing: .1em; }
.nk-index-name { font-family: var(--font-sanskrit); font-size: 19px; font-weight: 700; color: var(--accent); }
.nk-index-name small { font-family: var(--font-sans); font-size: 12px; color: var(--gold-deep); margin-left: 8px; font-weight: 500; }
.nk-index-line { font-size: 13px; line-height: 1.55; color: var(--ink); }
.nk-index-meta { font-size: 11px; color: var(--ink-faint); margin-top: auto; }

/* ── 單宿頁 header ── */
.nk-title { color: var(--accent); font-family: var(--font-sanskrit), var(--font-serif); }
.nk-gloss { font-family: var(--font-serif); font-size: 20px; color: var(--gold-deep); margin-left: 12px; font-weight: 700; }
.nk-tagline { color: var(--ink-soft); margin-top: 8px; }
.nk-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0; padding: 14px 16px; background: var(--cream-2); border-radius: var(--radius-md); }
.nk-meta div { display: flex; gap: 8px; align-items: baseline; }
.nk-meta dt { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--ink-soft); }
.nk-meta dd { margin: 0; font-size: 13px; color: var(--ink); }

.nk-check { margin: 22px 0; padding: 14px 18px; }
.nk-check a { color: var(--accent); }

/* ── 正文 ── */
.nk-body .t-h2 { margin: 36px 0 10px; color: var(--ink); }
.nk-body .t-body { line-height: 1.75; }
.nk-advice { margin-top: 32px; padding: 18px 20px; border-left: 3px solid var(--gold); background: var(--cream-2); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.nk-advice-label { font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--gold-deep); margin-bottom: 6px; }

/* ── CTA / pager ── */
.nk-upsell { margin: 36px 0 24px; padding: 22px; text-align: center; background: linear-gradient(180deg, var(--cream), var(--cream-2)); }
.nk-cta-btn { display: inline-block; margin: 12px 0 8px; background: var(--accent); color: #fff; border-radius: var(--radius-pill); font-size: 15px; font-weight: 700; letter-spacing: .08em; padding: 12px 32px; text-decoration: none; box-shadow: var(--shadow-md); transition: background .15s ease; }
.nk-cta-btn:hover { background: var(--accent-soft); }
.nk-hint { font-size: 11px; color: var(--ink-faint); }

.nk-pager { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 8px; padding-top: 18px; border-top: 1px dashed var(--cream-3); }
.nk-pager-link { font-size: 13px; color: var(--accent); text-decoration: none; }
.nk-pager-link:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .nk-gloss { display: block; margin: 6px 0 0; font-size: 16px; }
  .nk-meta { flex-direction: column; gap: 8px; }
}
