/* ============================================================================
   horoscopes-content.css — Astrology Encyclopedia (detail + category-hub pages)

   ADDITIVE stylesheet on top of brand-v2 base (yes-no-tarot.css). It provides
   ONLY the elements unique to the encyclopedia:
     · plate eyebrow ("Plate III · The 12 Houses")
     · breadcrumbs (deep enough that the hub `.page-hero-back` isn't enough)
     · roundel cartouche (aubergine night-sky disc framing the topic glyph)
     · folio prose panel (illuminated drop-cap, gold double-rule, manuscript text)
     · marginalia FAQ rail (gold-bead vertical guide along the left)
     · category-hub directory grid (illuminated tiles for each category)
     · detail list (manuscript bullet rows on a category hub)
     · single-CTA gold-leaf-on-aubergine band

   The page-hero, fleuron, h1+em, script tagline, faq-item, yn-colophon, and
   apothecary grid all come from the brand-v2 base CSS.  Don't redefine them.
   ============================================================================ */

:root {
  --hc-parchment-warm: #F8EFD3;
  --hc-ink: #2A1825;
  --hc-ink-soft: #4A3540;
  --hc-gold: #D4AC68;
  --hc-gold-deep: #B89150;
  --hc-gold-pale: #E5CC93;
  --hc-gold-bright: #F0D9A1;
  --hc-burgundy: #6B1F2C;
  --hc-burgundy-deep: #4a0e1d;
  --hc-night: #2A1428;
  --hc-night-mid: #1d0d1d;
  --hc-night-deep: #150515;

  --hc-display: 'Cinzel', 'EB Garamond', Georgia, serif;
  --hc-decor:   'Cinzel Decorative', 'Cinzel', serif;
  --hc-script:  'Italianno', 'Tangerine', cursive;
  --hc-body:    'EB Garamond', Georgia, 'Times New Roman', serif;
}

/* ─── HERO GLYPH (giant gold gradient — mirrors .num-archetype-numeral) ──── */

.hc-hero-glyph {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.4rem 0 0;
  line-height: 1;
}
/* Pull the title block + fleuron tight together */
.hc-page .page-hero h1 { margin: 0.1rem 0 0.1rem; }
.hc-page .page-hero-script { margin: 0 0 1.1rem; }
.hc-page .page-hero-fleuron { margin: 0.5rem auto 1.4rem; }
.hc-page .page-hero { padding-bottom: 0.3rem; }
.hc-hero-glyph-mark {
  /* inline-block + a touch of padding so the background-clip:text region
     is slightly larger than the em-box (lets the full glyph's descenders
     show without clipping while keeping the layout box small enough that
     siblings don't sit miles away). */
  display: inline-block;
  padding: 0.08em 0.1em;
  font-family: var(--hc-decor);
  font-weight: 900;
  font-size: clamp(7rem, 18vw, 12rem);
  line-height: 1.1;
  /* Smooth dark-gold → gold → burgundy gradient. NO pale-cream stop —
     at the hero's huge 12rem size a near-cream stop fades into the
     parchment background and reads as a horizontal clip stripe. */
  background: linear-gradient(180deg,
    #8E6E3A 0%,
    #C9A05E 50%,
    #6B1F2C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  filter: drop-shadow(0 4px 18px rgba(74, 28, 38, 0.18));
}
/* SVG illustration variant — sits in the same slot as the gold glyph,
   sized to match its visual footprint. */
.hc-hero-illus {
  width: clamp(160px, 24vw, 240px);
  height: clamp(160px, 24vw, 240px);
  filter: drop-shadow(0 6px 18px rgba(212, 172, 104, 0.35));
  animation: hcHeroFloat 5.5s ease-in-out infinite;
}
.hc-hero-illus svg { width: 100%; height: 100%; display: block; }
@keyframes hcHeroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .hc-hero-illus { animation: none; }
}

.hc-hero-tag {
  font-family: var(--hc-body);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: var(--hc-gold-deep);
  letter-spacing: 0.03em;
  text-align: center;
  margin: 0.6rem 0 0;
}

/* ─── ROUNDEL CARTOUCHE (kept for reference, no longer used in template) ── */

.hc-cartouche {
  width: clamp(170px, 28vw, 220px);
  height: clamp(170px, 28vw, 220px);
  margin: 1.6rem auto 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, rgba(212, 172, 104, 0.14), transparent 55%),
    radial-gradient(circle at 70% 75%, rgba(107, 31, 44, 0.18), transparent 60%),
    radial-gradient(ellipse at center, var(--hc-night-mid) 0%, var(--hc-night-deep) 100%);
  box-shadow:
    0 0 0 1px var(--hc-gold-deep),
    0 0 0 5px var(--hc-night-deep),
    0 0 0 6px var(--hc-gold),
    0 0 0 10px transparent,
    0 0 0 11px var(--hc-gold-deep),
    0 18px 36px -14px rgba(42, 20, 40, 0.55);
  isolation: isolate;
}
/* star-dust noise overlay */
.hc-cartouche::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background-image:
    radial-gradient(circle, rgba(212, 172, 104, 0.85) 0.6px, transparent 0.7px),
    radial-gradient(circle, rgba(229, 204, 147, 0.55) 0.4px, transparent 0.5px),
    radial-gradient(circle, rgba(255, 240, 200, 0.4) 0.3px, transparent 0.4px);
  background-size: 28px 28px, 17px 17px, 11px 11px;
  background-position: 0 0, 8px 12px, 5px 4px;
  opacity: 0.7;
  z-index: 1;
  pointer-events: none;
  animation: hc-twinkle 6s ease-in-out infinite;
}
@keyframes hc-twinkle {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 0.85; }
}
.hc-cartouche-glyph {
  position: relative;
  z-index: 2;
  width: 60%; height: 60%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--hc-display);
  font-size: clamp(2.6rem, 7vw, 4rem);
  color: var(--hc-gold);
  text-shadow:
    0 0 12px rgba(212, 172, 104, 0.55),
    0 0 24px rgba(212, 172, 104, 0.25);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
  line-height: 1;
}
.hc-cartouche-glyph svg {
  width: 100%; height: 100%;
  fill: var(--hc-gold);
  stroke: var(--hc-gold);
  filter: drop-shadow(0 0 8px rgba(212, 172, 104, 0.45));
}
@media (prefers-reduced-motion: reduce) {
  .hc-cartouche::before { animation: none; }
}

/* ─── FOLIO (prose body panel) ───────────────────────────────────────────── */

.hc-folio {
  max-width: 760px;
  margin: 0 auto 0;
  background:
    radial-gradient(ellipse at top, rgba(212, 172, 104, 0.04), transparent 60%),
    var(--hc-parchment-warm);
  border: 1px solid rgba(184, 145, 80, 0.32);
  border-radius: 2px;
  padding: clamp(2rem, 4vw, 3.4rem) clamp(1.6rem, 4vw, 3.4rem);
  position: relative;
  box-shadow:
    inset 0 0 0 1px rgba(212, 172, 104, 0.18),
    inset 0 0 28px rgba(184, 145, 80, 0.08),
    0 2px 14px -6px rgba(42, 20, 40, 0.18);
}
/* gold double-rule top + bottom */
.hc-folio::before,
.hc-folio::after {
  content: '';
  position: absolute;
  left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent, var(--hc-gold-deep) 15%, var(--hc-gold-deep) 85%, transparent);
}
.hc-folio::before { top: 12px; }
.hc-folio::after  { bottom: 12px; box-shadow: 0 -3px 0 -2px var(--hc-gold-deep); }

/* drop cap on first paragraph of intro */
.hc-intro > p:first-of-type::first-letter {
  font-family: var(--hc-decor);
  font-weight: 700;
  font-size: 4.4em;
  line-height: 0.85;
  float: left;
  color: var(--hc-burgundy);
  padding: 0.1em 0.12em 0 0;
  margin: 0.05em 0.08em 0 0;
  text-shadow:
    1px 1px 0 var(--hc-gold-pale),
    2px 2px 0 var(--hc-gold-deep);
}

.hc-folio p {
  font-family: var(--hc-body);
  font-size: 1.075rem;
  line-height: 1.78;
  color: var(--hc-ink);
  margin: 0 0 1.15em;
}
.hc-folio p:last-child { margin-bottom: 0; }
.hc-folio em { color: var(--hc-burgundy); font-style: italic; }
.hc-folio strong { color: var(--hc-ink); font-weight: 700; }

.hc-folio a {
  color: var(--hc-burgundy);
  text-decoration: none;
  border-bottom: 1px dotted var(--hc-burgundy);
  transition: color .25s, border-color .25s;
}
.hc-folio a:hover { color: var(--hc-gold-deep); border-bottom-color: var(--hc-gold-deep); }

/* section headers — Cinzel small-caps with gold flourish */
.hc-section { margin-top: 3rem; position: relative; }
.hc-section-head {
  font-family: var(--hc-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--hc-burgundy);
  text-align: center;
  margin: 0 0 1.7rem;
  display: flex; align-items: center; justify-content: center; gap: 1rem;
}
.hc-section-head::before,
.hc-section-head::after {
  content: ''; flex: 0 0 80px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--hc-gold-deep), transparent);
}

.hc-folio ul, .hc-folio ol {
  font-family: var(--hc-body);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0 0 1.2em;
  padding-left: 1.4em;
  color: var(--hc-ink);
}
.hc-folio li { margin-bottom: 0.4em; }
.hc-folio li::marker { color: var(--hc-gold-deep); font-family: var(--hc-decor); }

.hc-folio table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4rem 0 2rem;
  font-family: var(--hc-body);
  font-size: 1.075rem;          /* match .hc-folio p body size */
  line-height: 1.65;
  background: rgba(255, 247, 222, 0.4);
}
.hc-folio thead { background: var(--hc-burgundy); color: #FBF3DC; }
.hc-folio th, .hc-folio td {
  text-align: left;
  padding: 0.7em 0.9em;
  border-bottom: 1px solid rgba(184, 145, 80, 0.35);
  font-size: 1.075rem;
  line-height: 1.65;
  font-family: 'EB Garamond', Georgia, serif;
}
.hc-folio th {
  font-family: var(--hc-display);
  font-weight: 600;
  font-size: 0.85rem !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.4;
}
/* First column (sign name etc) — bold burgundy for emphasis */
.hc-folio tbody td:first-child {
  font-weight: 700;
  color: var(--hc-burgundy);
}
.hc-folio tbody tr:nth-child(even) { background: rgba(212, 172, 104, 0.06); }

.hc-fleuron {
  text-align: center;
  margin: 2.2rem 0;
  font-family: var(--hc-decor);
  color: var(--hc-gold);
  font-size: 1.4rem;
  letter-spacing: 0.6em;
  opacity: 0.75;
}

/* ─── CATEGORY-HUB DIRECTORY GRID (glyph cards) ──────────────────────────── */
/* Sits OUTSIDE the .hc-folio panel — full-width, breathing.
   Each tile is a small framed manuscript card with topic glyph + name + tag. */

.hc-directory {
  max-width: 920px;
  margin: 3.5rem auto 0;
}
.hc-directory-eyebrow {
  /* matches .hc-cta-eyebrow */
  font-family: 'EB Garamond', serif;
  font-variant: small-caps;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.36em;
  color: var(--hc-gold-deep);
  text-align: center;
  margin: 0 0 0.5rem;
}
.hc-directory-head {
  /* matches .hc-cta-head */
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  color: var(--hc-burgundy);
  text-align: center;
  margin: 0 0 0.6rem;
  line-height: 1.1;
}
.hc-directory-head em { color: var(--hc-gold-deep); font-weight: 600; }
.hc-directory-script {
  /* matches .hc-cta-script */
  font-family: var(--hc-script);
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  color: var(--hc-burgundy);
  text-align: center;
  margin: 0 0 1.8rem;
  line-height: 1;
}

.hc-detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: stretch;
}
.hc-detail-list li { margin: 0; display: flex; }
.hc-detail-list a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 175px;
  padding: 1.6rem 0.9rem 1.4rem;
  background:
    radial-gradient(ellipse at top, rgba(212, 172, 104, 0.1), transparent 60%),
    var(--hc-parchment-warm);
  border: 1px solid rgba(184, 145, 80, 0.5);
  border-radius: 2px;
  text-decoration: none;
  text-align: center;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  box-shadow:
    inset 0 0 0 3px var(--hc-parchment-warm),
    inset 0 0 0 4px rgba(184, 145, 80, 0.28),
    0 1px 4px -2px rgba(42, 20, 40, 0.12);
}
.hc-detail-list a:hover {
  transform: translateY(-2px);
  border-color: var(--hc-burgundy);
  box-shadow:
    inset 0 0 0 3px var(--hc-parchment-warm),
    inset 0 0 0 4px var(--hc-burgundy),
    0 8px 18px -8px rgba(42, 20, 40, 0.28);
}
.hc-detail-glyph {
  font-family: var(--hc-display);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--hc-gold);
  text-shadow: 0 0 8px rgba(212, 172, 104, 0.45);
  margin: 0;
}
.hc-detail-name {
  font-family: var(--hc-display);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hc-ink);
  margin: 0.3rem 0 0;
  line-height: 1.25;
}
.hc-detail-tag {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  color: var(--hc-burgundy);
  line-height: 1.25;
  margin: 0.1rem 0 0;
}

/* ─── ENCYCLOPEDIA DIRECTORY (used on /horoscopes/ hub later) ─────────────── */

.hc-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
  margin: 2.5rem 0 0;
  list-style: none;
  padding: 0;
}
.hc-cat-card {
  position: relative;
  display: block;
  padding: 1.6rem 1.2rem 1.4rem;
  background:
    radial-gradient(ellipse at top, rgba(212, 172, 104, 0.1), transparent 60%),
    var(--hc-parchment-warm);
  border: 1px solid var(--hc-gold-deep);
  border-radius: 2px;
  text-decoration: none;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow:
    inset 0 0 0 3px var(--hc-parchment-warm),
    inset 0 0 0 4px rgba(184, 145, 80, 0.4),
    0 1px 4px -2px rgba(42, 20, 40, 0.15);
}
.hc-cat-card:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 0 3px var(--hc-parchment-warm),
    inset 0 0 0 4px var(--hc-burgundy),
    0 8px 20px -8px rgba(42, 20, 40, 0.3);
}
.hc-cat-card-glyph {
  font-family: var(--hc-decor);
  font-size: 2.1rem;
  color: var(--hc-gold);
  line-height: 1;
  margin: 0 0 0.4rem;
  text-shadow: 0 0 6px rgba(212, 172, 104, 0.4);
}
.hc-cat-card-title {
  font-family: var(--hc-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hc-ink);
  margin: 0 0 0.3rem;
}
.hc-cat-card-script {
  font-family: var(--hc-script);
  font-size: 1.25rem;
  color: var(--hc-burgundy);
  line-height: 1;
}

/* ─── FAQ SECTION (matches site-wide brand-v2 pattern) ──────────────────── */

.hc-faqs-wrap {
  max-width: 760px;
  margin: 5rem auto 0;
  padding: 0 1rem;
}
.hc-faqs-head {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  color: var(--hc-burgundy);
  text-align: center;
  margin: 0 0 0.8rem;
  line-height: 1.1;
}
.hc-faqs-head em { color: var(--hc-gold-deep); font-weight: 600; }
.hc-faqs-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 0 auto 2rem;
  max-width: 320px;
  color: var(--hc-gold-deep);
}
.hc-faqs-rule::before,
.hc-faqs-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hc-gold-deep) 50%, transparent);
}
.hc-faqs-rule-mark {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  color: var(--hc-gold);
  font-size: 1.1rem;
  line-height: 1;
}

/* ─── CTA BAND ───────────────────────────────────────────────────────────── */

.hc-cta {
  max-width: 760px;
  margin: 4rem auto 0;
  text-align: center;
  padding: 2.4rem 1.5rem;
  background:
    radial-gradient(ellipse at center, rgba(212, 172, 104, 0.16), transparent 70%),
    var(--hc-night);
  border-top: 1px solid var(--hc-gold);
  border-bottom: 1px solid var(--hc-gold);
  color: #FBF3DC;
  position: relative;
}
.hc-cta::before, .hc-cta::after {
  content: '✦';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--hc-gold);
  font-size: 1.4rem;
  opacity: 0.75;
}
.hc-cta::before { left: 1.5rem; }
.hc-cta::after  { right: 1.5rem; }
.hc-cta-script {
  font-family: var(--hc-script);
  font-size: 1.7rem;
  color: var(--hc-gold-pale);
  margin: 0 0 0.6rem;
  line-height: 1;
}
.hc-cta-button {
  display: inline-block;
  font-family: var(--hc-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--hc-night);
  background: linear-gradient(180deg, var(--hc-gold-bright), var(--hc-gold) 50%, var(--hc-gold-deep));
  padding: 0.95rem 1.8rem;
  border: 1px solid var(--hc-gold-deep);
  border-radius: 1px;
  text-decoration: none;
  margin-top: 0.6rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 240, 200, 0.6),
    inset 0 -1px 0 rgba(107, 31, 44, 0.25),
    0 4px 12px -4px rgba(0, 0, 0, 0.4);
  transition: transform .25s, box-shadow .25s;
}
.hc-cta-button:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 240, 200, 0.7),
    inset 0 -1px 0 rgba(107, 31, 44, 0.25),
    0 8px 18px -6px rgba(0, 0, 0, 0.5);
}

/* ─── PREV / NEXT NAV (within category) ─────────────────────────────────── */
/* Ported visually from .num-archetype-nav-* on /numerology/numbers/{N}/.    */

.hc-pagenav {
  max-width: 1080px;
  margin: 4rem auto 0;
  padding: 0 1.5rem;
}
.hc-pagenav-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 1.4rem;
}

/* Prev / Next pills — substantial illuminated cards */
.hc-pagenav-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  padding: 1.1rem 1.4rem;
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, #FDFAEE 0%, transparent 70%),
    linear-gradient(160deg, #FAF3E0 0%, #F0E0BD 100%);
  box-shadow:
    inset 0 0 0 1px rgba(212, 172, 104, 0.4),
    inset 0 0 0 5px #FAF3E0,
    inset 0 0 0 6px #B89150,
    0 6px 18px rgba(74, 28, 38, 0.12);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.3, 1), box-shadow 0.4s ease;
}
.hc-pagenav-prev { text-align: left; }
.hc-pagenav-next {
  grid-template-columns: 1fr auto;
  text-align: right;
}
.hc-pagenav-card:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 0 0 1px rgba(212, 172, 104, 0.5),
    inset 0 0 0 5px #FAF3E0,
    inset 0 0 0 6px #6B1F2C,
    0 14px 30px rgba(74, 28, 38, 0.25);
}

.hc-pagenav-arrow {
  font-family: 'EB Garamond', serif;
  font-size: clamp(2.2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #D4AC68;
  line-height: 1;
  transition: transform 0.3s ease, color 0.3s ease;
  text-shadow: 0 1px 0 rgba(255, 251, 232, 0.55);
}
.hc-pagenav-card:hover .hc-pagenav-arrow { color: #6B1F2C; }
.hc-pagenav-prev:hover .hc-pagenav-arrow { transform: translateX(-3px); }
.hc-pagenav-next:hover .hc-pagenav-arrow { transform: translateX(3px); }

.hc-pagenav-inner {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
}

.hc-pagenav-eyebrow {
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #8E6E3A;
}

/* Main label — burgundy italic, primary weight */
.hc-pagenav-roman {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  letter-spacing: 0.01em;
  color: #6B1F2C;
  line-height: 1.15;
  text-shadow: 0 1px 0 rgba(255, 251, 232, 0.55);
}

/* Sub-label (the tagline) — gold-deep, smaller */
.hc-pagenav-title {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  letter-spacing: 0.02em;
  color: #8E6E3A;
  line-height: 1.2;
}

/* Center burgundy filled pill */
.hc-pagenav-home {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1rem 1.6rem;
  text-decoration: none;
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #F4DCA6;
  background: linear-gradient(180deg, #6B1F2C 0%, #4A1620 100%);
  border: 1px solid #8E6E3A;
  box-shadow:
    inset 0 1px 0 rgba(244, 220, 166, 0.18),
    0 6px 18px rgba(74, 28, 38, 0.3);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  white-space: nowrap;
}
.hc-pagenav-home:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #4A1620 0%, #2D0E15 100%);
  box-shadow:
    inset 0 1px 0 rgba(244, 220, 166, 0.25),
    0 12px 26px rgba(74, 28, 38, 0.45);
}
.hc-pagenav-home-orn {
  font-size: 0.85rem;
  color: #D4AC68;
  letter-spacing: 0;
  text-shadow: 0 0 8px rgba(212, 172, 104, 0.5);
}
.hc-pagenav-home-text { display: inline-block; }

@media (max-width: 700px) {
  .hc-pagenav-row { grid-template-columns: 1fr; gap: 0.8rem; }
  .hc-pagenav-prev, .hc-pagenav-next { justify-self: stretch; }
  .hc-pagenav-card { padding: 0.95rem 1.1rem; }
  .hc-pagenav-home { width: 100%; }
}

/* ─── RELATED CROSS-LINK CHIPS ───────────────────────────────────────────── */

.hc-related {
  max-width: 880px;
  margin: 4rem auto 0;
  text-align: center;
  padding: 0 1.5rem;
}
.hc-related-head {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  color: var(--hc-burgundy);
  margin: 0 0 0.6rem;
  line-height: 1.1;
}
.hc-related-head em { color: var(--hc-gold-deep); font-weight: 600; }
.hc-related-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 0 auto 1.6rem;
  max-width: 280px;
  color: var(--hc-gold-deep);
}
.hc-related-rule::before,
.hc-related-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hc-gold-deep) 50%, transparent);
}
.hc-related-rule-mark {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  color: var(--hc-gold);
  font-size: 1.05rem;
  line-height: 1;
}
.hc-related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.hc-related-list a {
  display: inline-block;
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1rem;
  color: #FBF3DC;
  padding: 0.65rem 1.2rem;
  border: 1px solid var(--hc-burgundy-deep);
  border-radius: 2px;
  text-decoration: none;
  background: linear-gradient(180deg, var(--hc-burgundy) 0%, var(--hc-burgundy-deep) 100%);
  box-shadow:
    inset 0 1px 0 rgba(244, 220, 166, 0.2),
    0 4px 10px -3px rgba(74, 28, 38, 0.3);
  transition: transform .25s, box-shadow .25s, background .25s;
}
.hc-related-list a:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, var(--hc-burgundy-deep) 0%, #2D0E15 100%);
  box-shadow:
    inset 0 1px 0 rgba(244, 220, 166, 0.28),
    0 8px 16px -4px rgba(74, 28, 38, 0.45);
  color: var(--hc-gold-bright);
}

/* ═══════════════════════════════════════════════════════════════════════════
   CTA BLOCKS — sit on every encyclopedia page.
   1) 12-sign daily-horoscope grid
   2) Featured birth-chart card with chart-wheel illustration
   ═══════════════════════════════════════════════════════════════════════════ */

.hc-cta-block {
  max-width: 920px;
  margin: 4.5rem auto 0;
  padding: 0 1rem;
}
.hc-cta-eyebrow {
  font-family: 'EB Garamond', serif;
  font-variant: small-caps;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.36em;
  color: var(--hc-gold-deep);
  text-align: center;
  margin: 0 0 0.5rem;
}
.hc-cta-head {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  color: var(--hc-burgundy);
  text-align: center;
  margin: 0 0 0.6rem;
  line-height: 1.1;
}
.hc-cta-head em { color: var(--hc-gold-deep); font-weight: 600; }
.hc-cta-script {
  font-family: var(--hc-script);
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  color: var(--hc-burgundy);
  text-align: center;
  margin: 0 0 1.8rem;
  line-height: 1;
}

/* ─── 12-SIGN GRID ──────────────────────────────────────────────────────── */

.hc-signs-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (max-width: 880px) { .hc-signs-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .hc-signs-grid { grid-template-columns: repeat(3, 1fr); } }
.hc-signs-grid li { margin: 0; }
.hc-signs-grid a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.4rem 0.5rem 1.15rem;
  background:
    radial-gradient(ellipse at top, rgba(212, 172, 104, 0.12), transparent 65%),
    var(--hc-parchment-warm);
  border: 1px solid rgba(184, 145, 80, 0.5);
  border-radius: 2px;
  text-decoration: none;
  text-align: center;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  box-shadow:
    inset 0 0 0 2px var(--hc-parchment-warm),
    inset 0 0 0 3px rgba(184, 145, 80, 0.28);
}
.hc-signs-grid a:hover {
  transform: translateY(-2px);
  border-color: var(--hc-burgundy);
  box-shadow:
    inset 0 0 0 2px var(--hc-parchment-warm),
    inset 0 0 0 3px var(--hc-burgundy),
    0 6px 14px -6px rgba(42, 20, 40, 0.25);
}
.hc-sign-glyph {
  font-family: var(--hc-display);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--hc-gold);
  text-shadow: 0 0 8px rgba(212, 172, 104, 0.45);
}
.hc-sign-name {
  font-family: var(--hc-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hc-ink);
  margin: 0.3rem 0 0;
}

/* ─── FEATURED BIRTH-CHART CARD ─────────────────────────────────────────── */

.hc-birthchart-feature {
  margin-top: 1.4rem;
  padding: 2.2rem 2rem;
  background:
    radial-gradient(ellipse at center, rgba(212, 172, 104, 0.18), transparent 70%),
    linear-gradient(160deg, var(--hc-night) 0%, var(--hc-night-deep) 100%);
  border: 1px solid var(--hc-gold);
  border-radius: 3px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
  color: #FBF3DC;
  text-decoration: none;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow:
    inset 0 0 0 4px var(--hc-night-deep),
    inset 0 0 0 5px var(--hc-gold-deep),
    0 6px 22px -8px rgba(42, 20, 40, 0.45);
}
.hc-birthchart-feature:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 0 4px var(--hc-night-deep),
    inset 0 0 0 5px var(--hc-gold-bright),
    0 12px 28px -10px rgba(42, 20, 40, 0.55);
}
.hc-birthchart-wheel {
  width: 130px;
  height: 130px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 14px rgba(212, 172, 104, 0.35));
}
.hc-birthchart-body {
  min-width: 0;
}
.hc-birthchart-eyebrow {
  font-family: 'EB Garamond', serif;
  font-variant: small-caps;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.32em;
  color: #FBF3DC;
  margin: 0 0 0.55rem;
}
.hc-birthchart-title {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  color: #FBF3DC;
  line-height: 1.1;
  margin: 0 0 0.5rem;
}
.hc-birthchart-title em { color: var(--hc-gold-bright); }
.hc-birthchart-blurb {
  font-family: 'EB Garamond', serif;
  font-size: 1.02rem;
  line-height: 1.55;
  color: rgba(251, 243, 220, 0.85);
  margin: 0;
}
.hc-birthchart-action {
  font-family: 'EB Garamond', serif;
  font-variant: small-caps;
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: 0.22em;
  padding: 1.1rem 1.95rem;
  color: var(--hc-night);
  background: linear-gradient(180deg, var(--hc-gold-bright), var(--hc-gold) 50%, var(--hc-gold-deep));
  border: 1px solid var(--hc-gold-deep);
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
  text-shadow: 0 1px 0 rgba(255, 240, 200, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 240, 200, 0.6),
    inset 0 -1px 0 rgba(107, 31, 44, 0.25);
}
@media (max-width: 720px) {
  .hc-birthchart-feature {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.8rem 1.4rem;
  }
  .hc-birthchart-wheel { margin: 0 auto; width: 110px; height: 110px; }
  .hc-birthchart-action { justify-self: center; }
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */

@media (max-width: 720px) {
  .hc-folio   { padding: 1.8rem 1.2rem; }
  .hc-faqs-wrap { padding-left: 1.6rem; }
  .hc-cta::before, .hc-cta::after { display: none; }
  .hc-section-head::before, .hc-section-head::after { flex-basis: 30px; }
  .hc-pagenav-row {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
  .hc-pagenav-prev, .hc-pagenav-next { text-align: center; }
  .hc-cartouche {
    box-shadow:
      0 0 0 1px var(--hc-gold-deep),
      0 0 0 4px var(--hc-night-deep),
      0 0 0 5px var(--hc-gold),
      0 0 0 8px transparent,
      0 0 0 9px var(--hc-gold-deep),
      0 14px 28px -12px rgba(42, 20, 40, 0.5);
  }
}
