/* ═══════════════════════════════════════════════════════════════════
   css/chinese-astrology-animal.css — the 12 animal profile pages
   (/chinese-astrology/year-of-the-{animal}/). Brand-v2 manuscript chrome.
   Self-contained layout; relies on chinese-astrology.css for the
   body.cn-page CSS variables + BaziGlyphs @font-face + shared medallions.
   Buster lives in chinese-astrology-animal.php (?v=…).
═══════════════════════════════════════════════════════════════════ */

body.cn-animal-body {
  /* One continuous peach ground (round 2) — the #F0DFC8 hero tone runs the whole
     page, no lighter-cream step. Bands that used to sit on top are neutralised. */
  background: linear-gradient(180deg, #F0DFC8 0%, #EBD6BD 100%);
  background-attachment: fixed;
  color: #2D1F38;
}

.cna-wrap { max-width: 940px; margin: 0 auto; padding: 0 1.25rem; }
.cna-wrap--narrow { max-width: 760px; }

/* ── Section rhythm ── */
.cna-section { padding: 3rem 0; }
.cna-eyebrow {
  /* Round 2: promoted to the large wine section heading (was small italic kicker). */
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-style: normal;
  font-size: clamp(1.8rem, 4vw, 2.3rem);   /* round 3: larger still */
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: #6B1F2C;
  text-align: center;
  margin: 0 0 0.55rem;
}
.cna-h2 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3.6vw, 2.05rem);
  letter-spacing: 0.02em;
  color: #2D1F38;
  text-align: center;
  margin: 0 0 1.4rem;
}
.cna-h2 em { color: #8E6E3A; font-style: italic; }
.cna-rule {
  width: 82px; height: 1px; margin: 0.9rem auto 1.6rem;
  background: linear-gradient(90deg, transparent, #B89150, transparent);
  position: relative;
}
.cna-rule::after {
  content: '\2726';
  position: absolute; top: -0.72em; left: 50%; transform: translateX(-50%);
  color: #B89150; font-size: 0.78rem;
  background: transparent; padding: 0 0.45rem;   /* round 4: no cream chip on peach ground */
}

/* ═══════════════ HERO ═══════════════ */
.cna-hero {
  position: relative;
  text-align: center;
  padding: 2.2rem 1.25rem 1.9rem;   /* round 4: tighter bottom now the CTA sub-line is gone */
  /* Peach hero band — matches /tarot/yes-no-tarot-reading/ (#F0DFC8 peach →
     #FBF3DC parchment) with the same rose + gold glows, transitioning into the
     cream body below. */
  background:
    radial-gradient(680px 340px at 50% 12%, rgba(212,172,104,0.14), rgba(212,172,104,0) 70%),
    radial-gradient(70% 50% at 14% 8%, rgba(217,150,143,0.10), rgba(217,150,143,0) 65%),
    radial-gradient(55% 40% at 88% 22%, rgba(184,145,80,0.10), rgba(184,145,80,0) 55%),
    linear-gradient(180deg, #F0DFC8 0%, #F0DFC8 100%);
  overflow: hidden;
}
/* Back link — exact clone of /tarot/ .page-hero-back: small-caps burgundy with a
   persistent burgundy underline, arrow via ::before, hanging off the left of the
   centered hero column and collapsing to centered on mobile. */
.cna-back {
  position: absolute;
  top: 2rem;
  left: clamp(1.25rem, calc(50% - 470px), 40%);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-family: 'EB Garamond', serif;
  font-variant: small-caps;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  color: #6B1F2C;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid #6B1F2C;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  z-index: 3;
}
.cna-back::before { content: "\2190"; font-style: italic; }
.cna-back:hover { color: #92505E; border-color: #B96B7A; text-decoration: none; }
@media (max-width: 640px) {
  .cna-back { position: static; left: auto; margin: 0 auto 1.2rem; }
}
.cna-dept {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #8E6E3A;
}
.cna-hero-rule {
  width: 64px; height: 1px; margin: 0.9rem auto;
  background: linear-gradient(90deg, transparent, #B89150, transparent);
  position: relative;
}
.cna-hero-rule .m {
  position: absolute; top: -0.62em; left: 50%; transform: translateX(-50%);
  color: #B89150; font-size: 0.7rem; background: transparent; padding: 0 0.4rem;
}
.cna-hero h1 {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: #2D1F38;
  margin: 0.2rem 0 0.5rem;
}
.cna-hero h1 em { color: #6B1F2C; font-style: italic; }
.cna-hero-script {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  line-height: 1.5;
  color: #4A1620;
  max-width: 46ch;
  margin: 0 auto 1.1rem;
}
.cna-hero-fleuron { color: #B89150; font-size: 1.35rem; margin: 0.2rem 0 1.4rem; }

/* Large framed portrait — the hero's presence */
.cna-portrait {
  position: relative;
  width: clamp(220px, 54vw, 320px);
  aspect-ratio: 1 / 1;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  padding: 10px;
  background:
    radial-gradient(circle at 50% 30%, #FFF8E0 0%, #F0D89A 55%, #D4AC68 100%);
  box-shadow:
    0 18px 46px rgba(45, 31, 56, 0.28),
    0 0 0 1px rgba(184,145,80,0.55),
    inset 0 0 0 1px rgba(255,251,239,0.6);
}
.cna-portrait::before {
  content: '';
  position: absolute; inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,172,104,0.34) 0%, rgba(212,172,104,0) 68%);
  z-index: -1;
}
.cna-portrait img {
  display: block;
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,251,239,0.85);
}

/* Fixed attributes plate under the portrait */
.cna-attrs {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  margin: 0 auto 1.6rem;
  border: 1px solid rgba(184,145,80,0.55);
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(180deg, #FFFBEF 0%, #FBF3DC 100%);
  box-shadow: 0 3px 12px rgba(45,31,56,0.08);
}
.cna-attr {
  padding: 0.7rem 1.15rem 0.75rem;
  text-align: center;
  min-width: 92px;
}
.cna-attr + .cna-attr { border-left: 1px solid rgba(184,145,80,0.35); }
.cna-attr .k {
  display: block;
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 0.82rem;
  color: #8E6E3A;
  margin-bottom: 0.15rem;
}
.cna-attr .v {
  display: block;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.02rem;
  color: #6B1F2C;
  letter-spacing: 0.02em;
}
.cna-attr .glyph {
  font-family: 'BaziGlyphs', serif;
  font-size: 1.7rem;
  color: #6B1F2C;
  line-height: 1;
}

/* CTA button (hero + closing) */
.cna-cta-wrap { text-align: center; margin: 0.4rem 0 0.2rem; }
.cna-cta {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  color: #FBF3DC;
  text-decoration: none;
  padding: 0.92rem 1.9rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #7A2531 0%, #6B1F2C 100%);
  border: 1px solid rgba(212,172,104,0.7);
  box-shadow: 0 6px 18px rgba(107,31,44,0.32), inset 0 0 0 1px rgba(255,251,239,0.15);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.cna-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(107,31,44,0.4); }
.cna-cta-sub {
  display: block;
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 0.98rem;
  color: #6B1F2C;
  margin-top: 0.7rem;
}

/* ═══════════════ YEARS BAND ═══════════════ */
.cna-years-band {
  background: linear-gradient(180deg, #2D1F38 0%, #3A1F38 100%);
  padding: 2.4rem 1.25rem 2.6rem;
  text-align: center;
}
.cna-years-band .cna-eyebrow { color: #D4AC68; }
.cna-years-band .cna-h2 { color: #FBF3DC; }
.cna-years-band .cna-h2 em { color: #D4AC68; }
.cna-years {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  max-width: 720px;
  margin: 0 auto 1.2rem;
}
.cna-year {
  font-family: 'EB Garamond', serif;
  font-size: 1.12rem;
  font-weight: 600;
  color: #FBF3DC;
  padding: 0.42rem 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(212,172,104,0.4);
  background: rgba(251,243,220,0.05);
}
.cna-year.is-current {
  color: #2D1F38;
  background: linear-gradient(180deg, #F0D89A 0%, #D4AC68 100%);
  border-color: #F0D89A;
  box-shadow: 0 3px 14px rgba(212,172,104,0.45);
  font-weight: 700;
}
.cna-years-note {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 1.06rem;
  color: rgba(251,243,220,0.9);
  margin: 0;
}
.cna-years-note strong { color: #F0D89A; font-style: normal; }

/* ═══════════════ PROSE SECTIONS ═══════════════ */
.cna-prose p {
  font-family: 'EB Garamond', serif;
  font-size: 1.2rem;
  line-height: 1.75;
  color: #2D1F38;
  margin: 0 0 1.1rem;
}
.cna-prose { text-align: left; }

.cna-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}
.cna-card {
  background: linear-gradient(180deg, #FFFBEF 0%, #FBF3DC 100%);
  border: 1px solid rgba(184,145,80,0.5);
  border-radius: 14px;
  padding: 1.7rem 1.7rem 1.8rem;
  box-shadow: 0 3px 14px rgba(45,31,56,0.07);
}
.cna-card h3 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.28rem;
  color: #6B1F2C;
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
}
.cna-card .cna-card-mark { color: #B89150; font-size: 1.1rem; }
.cna-card p {
  font-family: 'EB Garamond', serif;
  font-size: 1.2rem;              /* round 3: match .cna-prose p exactly */
  line-height: 1.75;
  color: #2D1F38;
  margin: 0;
}

/* ═══════════════ HARMONY PANEL ═══════════════ */
.cna-harmony { background: transparent; }  /* round 2: no band step — peach runs through */
.cna-harmony-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  align-items: stretch;
}
.cna-harmony-block {
  background: linear-gradient(180deg, #FFFBEF 0%, #FBF3DC 100%);
  border: 1px solid rgba(184,145,80,0.5);
  border-radius: 14px;
  padding: 1.6rem 1.5rem 1.8rem;
  text-align: center;
  box-shadow: 0 3px 14px rgba(45,31,56,0.07);
}
.cna-harmony-block h3 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.28rem;              /* round 4: match .cna-card h3 (In Love / In Work) */
  color: #6B1F2C;
  margin: 0 0 0.3rem;
  letter-spacing: 0.03em;
}
.cna-harmony-block .cna-hb-deck {
  /* Round 2: bold intro lines. Round 3: a touch smaller, still bold. */
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.55;
  color: #4A1620;
  margin: 0 0 1.2rem;
}
.cna-medallions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.cna-med-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  width: 96px;
}
.cna-med-link img {
  display: block;
  width: 88px; height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(184,145,80,0.9);
  box-shadow: 0 3px 10px rgba(45,31,56,0.2), inset 0 0 0 1px rgba(255,251,239,0.5);
  background: #FBF3DC;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.cna-med-link:hover img {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 20px rgba(45,31,56,0.28);
  border-color: #D4AC68;
}
.cna-med-name {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6B1F2C;
  margin-top: 0.6rem;
}
.cna-clash {
  /* Round 3: marked as the big clash — brand fire/wine red border, soft red-tinted
     shadow, and clear breathing room above the two allies/secret boxes. */
  margin-top: 2.8rem;
  background: linear-gradient(180deg, #FFFBEF 0%, #F7EFD8 100%);
  border: 2px solid #9E2B25;
  border-radius: 14px;
  padding: 1.6rem 1.6rem 1.7rem;
  box-shadow: 0 4px 18px rgba(158,43,37,0.18);
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.cna-clash img {
  flex: 0 0 auto;
  width: 84px; height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(158,43,37,0.45);
  box-shadow: 0 3px 10px rgba(45,31,56,0.16);
  background: #FBF3DC;
  transition: transform 0.16s ease;
}
a.cna-clash:hover img { transform: translateY(-2px); }
.cna-clash-text { text-align: left; }
.cna-clash-text h3 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.16rem;              /* round 2: match allies/secret box h3 */
  color: #9E2B25;
  margin: 0 0 0.35rem;
  letter-spacing: 0.02em;
}
.cna-clash-text p {
  font-family: 'EB Garamond', serif;
  font-size: 1.16rem;              /* round 2: normalise box body sizing */
  line-height: 1.7;
  color: #2D1F38;
  margin: 0;
}
a.cna-clash { text-decoration: none; }

/* ═══════════════ LICHUN CAVEAT ═══════════════ */
.cna-caveat {
  max-width: 900px;              /* round 4: match the classical-clash box (940 wrap − 40 padding) */
  margin: 0 auto;
  background: linear-gradient(180deg, #FFFBEF 0%, #FBF3DC 100%);
  border: 1px solid rgba(184,145,80,0.6);
  border-left: 4px solid #B89150;
  border-radius: 12px;
  padding: 1.5rem 1.7rem;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}
.cna-caveat .cna-caveat-mark { color: #B89150; font-size: 1.5rem; line-height: 1; flex: 0 0 auto; }
.cna-caveat p {
  font-family: 'EB Garamond', serif;
  font-size: 1.12rem;
  line-height: 1.65;
  color: #2D1F38;
  margin: 0;
}
.cna-caveat p strong { color: #6B1F2C; }
.cna-caveat a { color: #77592B; font-weight: 600; }

/* ═══════════════ FAQ ═══════════════ */
.cna-faq { max-width: 760px; margin: 0 auto; }
.cna-faq .faq-item {
  border: 1px solid rgba(184,145,80,0.5);
  border-radius: 10px;
  margin-bottom: 0.85rem;
  background: linear-gradient(180deg, #FFFBEF 0%, #FBF3DC 100%);
  overflow: hidden;
}
.cna-faq .faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 1.3rem;
  font-family: 'Cinzel', serif;
  font-weight: 700;              /* round 2: bold question headers */
  font-size: 1.1rem;
  color: #6B1F2C;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.cna-faq .faq-item summary::-webkit-details-marker { display: none; }
.cna-faq .faq-icon svg { width: 20px; height: 20px; fill: #B89150; transition: transform 0.2s ease; }
.cna-faq .faq-item[open] .faq-icon svg { transform: rotate(180deg); }
.cna-faq .faq-body {
  padding: 0 1.3rem 1.15rem;
  font-family: 'EB Garamond', serif;
  font-size: 1.18rem;           /* round 2: match page body sizing */
  line-height: 1.7;
  color: #2D1F38;
}

/* ═══════════════ CLOSING CTA ═══════════════ */
.cna-close-cta {
  text-align: center;
  padding: 3rem 1.25rem 3.2rem;
  background:
    radial-gradient(620px 300px at 50% 100%, rgba(212,172,104,0.16), rgba(212,172,104,0) 70%);
}
.cna-close-cta .cna-h2 { margin-bottom: 0.6rem; }
.cna-close-deck {
  font-family: 'EB Garamond', serif;
  font-size: 1.16rem;
  line-height: 1.65;
  color: #2D1F38;
  max-width: 54ch;
  margin: 0 auto 1.6rem;
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 680px) {
  .cna-two, .cna-harmony-grid { grid-template-columns: 1fr; }
  .cna-clash { flex-direction: column; text-align: center; }
  .cna-clash-text { text-align: center; }
  .cna-attrs { flex-wrap: wrap; }
}
