/* ==========================================================================
   IT'S MY ZODIAC — CONSOLIDATED SITE THEME (gold / cream)
   Based on the supplied site-theme.css. Existing layout, colours, typography,
   responsive breakpoints, zodiac-card flip behaviour and homepage refinements
   are retained. The stylesheet relies on normal cascade order (no !important).
   All styles are local; no utility framework or runtime is required.
   ========================================================================== */

/* 1. TOKENS ------------------------------------------------------------- */
:root {
  --site-ink: #252a35;
  --site-cream: #fffdf8;
  --site-card-shadow: 0 20px 60px rgba(0, 0, 0, .06);

  /* Page border: the gold rounded outline lives on <body>. */
  --page-radius: 26px;
  --page-border: 2px;
  --page-border-color: #d9ae4a;

  --nav-inset: 1px;                                          /* border -> floating nav */
  --nav-offset: calc(var(--page-border) + var(--nav-inset)); /* viewport edge -> nav   */
  --nav-radius: calc(var(--page-radius) - 2px);
  --nav-height: 72px;
  --nav-space: calc(var(--nav-height) + 2px);                /* room reserved for nav  */
  --drawer-inset: 24px;                                      /* mobile drawer margin   */
  --page-margin: 0px;                                        /* side margin around the page (lg+) */

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --font-sans: "Inter", "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
}
@media (min-width: 1024px) {
  :root { --page-margin: 24px; }
}
@media (max-width: 639px) {
  :root {
    --page-radius: 22px;
    --nav-height: 66px;
  }
}

/* 2. BASE & PAGE BORDER -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

/* Normal document scrolling: the browser viewport scrolls, not an inner box. */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-space) + 8px);   /* anchors clear the fixed nav */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 248, 223, .9), transparent 30%),
    linear-gradient(135deg, #eef1f5 0%, #e6ebf2 100%);
}
/* Scrollbar: same gold colour and thin design everywhere, always rounded.
   - Firefox: standard properties (it ignores ::-webkit-scrollbar).
   - Desktop Chrome/Edge/Safari: rounded ::-webkit-scrollbar thumb. They must not
     also see scrollbar-width/color, or Chrome ignores these rules.
   - Touch devices (Android Chrome etc.): the page-level scrollbar cannot be
     styled by any CSS, so it is hidden here and replaced by a rounded gold
     overlay thumb (.site-scrolltrack, created by scrollbar-thumb.js). It floats
     over the page, so it never takes layout width. */
@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-width: thin; scrollbar-color: #d8c28c transparent; }
}
html::-webkit-scrollbar { width: 10px; }
html::-webkit-scrollbar-track { background: transparent; }
html::-webkit-scrollbar-thumb { border: 3px solid transparent; border-radius: 20px; background: #d8c28c; background-clip: padding-box; }

.site-scrolltrack { display: none; }
@media (hover: none), (pointer: coarse) {
  html { scrollbar-width: none; }
  html::-webkit-scrollbar { display: none; width: 0; height: 0; }
  .site-scrolltrack {
    display: block;
    position: fixed;
    top: calc(var(--nav-space) - 8px);
    bottom: 8px;
    right: 2px;
    z-index: 40;
    width: 4px;
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
  }
  .site-scrolltrack.visible { opacity: 1; }
  .site-scrollthumb {
    width: 100%;
    height: 0;
    border-radius: 20px;
    background: #d8c28c;
    will-change: transform;
  }
}
html.menu-open { overflow: hidden; }                   /* set by app.js while the mobile drawer is open */

body.site-body {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;                                  /* svh does not change while the mobile URL bar collapses, so no re-layout mid-scroll */
  margin: 0 var(--page-margin);
  border: var(--page-border) solid var(--page-border-color);
  border-radius: var(--page-radius);
  color: var(--site-ink);
  font-family: var(--font-sans);
  line-height: 1.6;
  /* The first layer is footer navy, padding-box only. It sits behind the
     footer's bottom corners so the curve meets the gold border with no light
     anti-aliasing fringe. The light gradient below is the original. */
  background:
    linear-gradient(#172235, #172235) left bottom / 100% 64px no-repeat padding-box,
    linear-gradient(180deg, #f8fbff 0%, #f8fafc 34%, #fbfaf6 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: auto;
}
a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

/* Main content: reserves room for the fixed nav and clips the hero's top
   corners to the body's rounded border (clip, not hidden, so no scroll box). */
.site-scroll {
  position: relative;
  min-width: 0;
  padding-top: var(--nav-space);
  overflow: clip;
  border-radius: calc(var(--page-radius) - var(--page-border));
}

:focus-visible { outline: 3px solid #e9c66a; outline-offset: 2px; }

/* 3. FLOATING NAV (fixed to the viewport, inside the page border) ------- */
.site-header {
  position: fixed;
  top: var(--nav-offset);
  right: calc(var(--page-margin) + var(--nav-offset));
  left: calc(var(--page-margin) + var(--nav-offset));
  z-index: 35;
  max-width: 1240px;
  min-height: var(--nav-height);
  margin-inline: auto;
  border: 1px solid rgba(226, 215, 190, .85);
  border-radius: var(--nav-radius);
  background: rgba(255, 255, 255, .8);
  box-shadow: 0 10px 30px rgba(30, 41, 59, .12), 0 1px 0 rgba(255, 255, 255, .9) inset;
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: 100%;
  min-height: var(--nav-height);
  padding: 0 22px 0 16px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #b77d0b;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  color: #fff7df;
  font-size: 21px;
  line-height: 1;
  background: linear-gradient(135deg, #fbbf24, #f59e0b 55%, #d97706);
  box-shadow: 0 6px 16px rgba(245, 158, 11, .26);
  border: 3px solid #ffffff;
}
.desktop-nav {
  display: none;
  align-items: center;
  gap: clamp(16px, 1.8vw, 28px);
  color: #334155;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.nav-link { position: relative; padding-block: 6px; color: #334155; text-decoration: none; white-space: nowrap; transition: color .2s ease; }
.nav-link::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #fbbf24, #d97706);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease-out);
}
.nav-link:hover { color: #b77908; }
.nav-link:hover::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 12px;
  color: #211807;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .04em;
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(110deg, #fcd34d, #f59e0b);
  box-shadow: 0 5px 14px rgba(211, 164, 60, .28);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 9px 20px rgba(211, 164, 60, .34); }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 9px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  color: #334155;
  background: #fff;
  cursor: pointer;
}

/* 4. MOBILE DRAWER (hamburger bars live in head.php) ---------------------
   Fixed to the viewport. Slide/opacity transitions are set in head.php. */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  visibility: hidden;
}
.mobile-overlay.open,
.mobile-overlay[aria-hidden="false"] { visibility: visible; }

.mobile-menu {
  position: fixed;
  top: calc(var(--page-border) + var(--drawer-inset));
  right: calc(var(--page-border) + var(--drawer-inset));
  left: calc(var(--page-border) + var(--drawer-inset));
  z-index: 90;
  width: auto;
  max-height: calc(100vh - (var(--page-border) + var(--drawer-inset)) * 2);
  max-height: calc(100dvh - (var(--page-border) + var(--drawer-inset)) * 2);
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #e8dfc9;
  border-radius: var(--nav-radius);
  background: #fffdf8;
  box-shadow: 0 22px 56px rgba(23, 32, 51, .22);
  visibility: hidden;
}

.mobile-menu.open,
.mobile-menu[aria-hidden="false"] { visibility: visible; }
.mobile-menu p, .mobile-menu span, .mobile-menu a { color: #465064; line-height: 1.45; }
.mobile-menu .text-starlight { color: #354052; }
.mobile-menu .text-moonlight { color: #697384; }
.mobile-menu .text-comet { color: #b77d0b; }
.mobile-menu .border-b, .mobile-menu .border-t { border-color: #eee7d8; }
.mobile-menu a:hover { background: #f7f0df; }
.mobile-menu .bg-comet { color: #30250e; background: linear-gradient(110deg, #f4d46d, #dda12a); }

/* 5. HOME — HERO & QUICK LINKS ------------------------------------------ */
.home-page { padding-bottom: 40px; color: var(--site-ink); }

/* Hero slides up under the floating nav so its background reaches the top */
.home-hero {
  position: relative;
  margin-top: calc(var(--nav-space) * -1);
  overflow: hidden;
  padding: calc(var(--nav-space) + 20px) 24px 64px;
  text-align: center;
  background:
    radial-gradient(ellipse 68% 80% at 50% 0%, rgba(255, 255, 255, .98), transparent 76%),
    linear-gradient(145deg, #f8fbff 0%, #f5f8fc 55%, #fff8e7 100%);
}
.home-hero::before, .home-hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(201, 154, 40, .12);
  border-radius: 50%;
  pointer-events: none;
}
.home-hero::before { width: 330px; height: 330px; top: -220px; left: calc(50% - 165px); }
.home-hero::after  { width: 500px; height: 500px; top: -330px; left: calc(50% - 250px); }

.hero-inner { position: relative; z-index: 1; max-width: 940px; margin: 0 auto; }
.hero-orb { position: absolute; border-radius: 50%; opacity: .48; }
.hero-orb-one { top: calc(var(--nav-space) + 20px); left: 7%; width: 78px; height: 78px; background: linear-gradient(135deg, #d9c4ff, #f0e8ff); }
.hero-orb-two { top: calc(var(--nav-space) + 60px); right: 8%; width: 52px; height: 52px; background: linear-gradient(135deg, #f7d68d, #fff0d1); }

/* Roomy line-height + bottom padding: gradient-clipped text no longer loses
   descenders (g, p, y) and lines stop pressing against each other. */
.home-hero h1 {
  max-width: 940px;
  margin: 0 auto;
  padding: .04em 0 .14em;
  color: #b77d0b;
  background: linear-gradient(95deg, #a86f08 0%, #d6ad48 35%, #f0d68b 52%, #b77d0b 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-sans);
  font-size: clamp(36px, 5.2vw, 62px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.home-hero h1 span {
  display: block;
  padding-bottom: .04em;
  color: #b77d0b;
  background: linear-gradient(90deg, #a86f08, #e7c568 48%, #a87308);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-tagline {
  display: inline-block;
  margin: 20px auto 14px;
  padding: 8px 22px;
  border: 1.5px solid #e5b93f;
  border-radius: 999px;
  color: #a8790c;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .04em;
  background: linear-gradient(135deg, rgba(255, 248, 220, .86), rgba(255, 236, 179, .42));
  box-shadow: 0 4px 12px rgba(212, 175, 55, .14);
}
.hero-copy { max-width: 800px; margin: 0 auto; color: #475569; font-size: 19px; font-weight: 500; line-height: 1.75; }
.hero-updated { margin: 16px 0 0; color: #85817a; font-size: 13px; font-weight: 700; line-height: 1.5; letter-spacing: .03em; }
.hero-updated span { padding-right: 4px; color: #c08a13; }

.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }
.btn-gold, .btn-outline {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 30px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .2s ease;
}
.btn-gold { color: #211807; background: linear-gradient(105deg, #fcd34d, #f59e0b 68%, #ea8a0c); box-shadow: 0 9px 20px rgba(216, 156, 41, .28); }
.btn-outline { border: 1px solid #d1d5db; color: #334155; background: rgba(255, 255, 255, .88); box-shadow: 0 4px 11px rgba(51, 65, 85, .06); }
.btn-gold:hover, .btn-outline:hover { transform: translateY(-3px); }
.btn-gold:hover { box-shadow: 0 14px 26px rgba(216, 156, 41, .36); }
.btn-outline:hover { border-color: #d5b45f; }

.hero-shortcuts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.hero-shortcuts a {
  padding: 9px 16px;
  border: 1px solid #e4e8ee;
  border-radius: 10px;
  color: #4d5665;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  background: rgba(255, 255, 255, .78);
  transition: border-color .2s ease, transform .3s var(--ease-out);
}
.hero-shortcuts a:nth-child(1) { border-color: #f0df9c; background: #fff9df; }
.hero-shortcuts a:nth-child(2) { background: #f1f4ff; }
.hero-shortcuts a:nth-child(3) { background: #fff0f4; }
.hero-shortcuts a:hover { border-color: #d5b45f; transform: translateY(-2px); }

.quick-links {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: min(1200px, calc(100% - 52px));
  margin: 0 auto;
  padding: 32px 0 48px;
}
.quick-card {
  display: flex;
  min-height: 224px;
  flex-direction: column;
  align-items: center;
  padding: 24px 20px 22px;
  border: 1px solid rgba(0, 0, 0, .16);
  border-radius: 26px;
  color: inherit;
  text-align: center;
  text-decoration: none;
  background: #fff;
  box-shadow: var(--site-card-shadow);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s ease;
}
.quick-icon { display: grid; height: 48px; place-items: center; margin-bottom: 12px; font-size: 32px; line-height: 1; }
.quick-card strong { color: #1f2937; font-size: 18px; font-weight: 800; line-height: 1.4; }
.quick-card > span:not(.quick-icon) { max-width: 250px; margin-top: 10px; color: #334155; font-size: 14px; font-weight: 500; line-height: 1.65; }
.quick-card em { margin-top: auto; padding-top: 16px; color: #f59e0b; font-size: 13px; font-style: normal; font-weight: 800; line-height: 1.4; }
.quick-card-calendar em { color: #6b65bd; }
.quick-card-moon em     { color: #c05b88; }
.quick-card-chart em    { color: #c07839; }

/* 6. ZODIAC FLIP CARDS (flip only — no lift) ----------------------------- */
.zodiac-section, .timeframe-section, .elements-section, .topic-section,
.latest-section, .trust-section, .faq-section { width: min(1200px, calc(100% - 52px)); margin: 0 auto; }
.zodiac-section { padding: 28px 0 68px; }

.zodiac-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 28px;
  background: linear-gradient(145deg, #f8fafc, #e9edf2);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .13);
}
.zodiac-flip-card {
  min-width: 0;
  min-height: 224px;
  aspect-ratio: .8 / 1;
  perspective: 1200px;
  -webkit-perspective: 1200px;
}
.zodiac-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform: rotateY(0deg);
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform .75s var(--ease-out);
}
.zodiac-flip-card.is-flipped .zodiac-flip-inner { transform: rotateY(180deg); }

.zodiac-face {
  position: absolute;
  inset: 0;
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .14);
}
.zodiac-front {
  width: 100%;
  margin: 0;
  padding: 14px 8px;
  color: #f8fafc;
  cursor: pointer;
  background: #202a3a;
}
.zodiac-front:hover { border-color: rgba(202, 158, 83, .5); background: #202a3a; }
.zodiac-symbol-wrap { display: grid; width: 62%; aspect-ratio: 1; place-items: center; margin: 0 0 10px; flex: 0 0 auto; }
.zodiac-symbol-wrap img { display: block; width: 100%; height: 100%; object-fit: contain; }
.zodiac-name {
  max-width: 100%;
  color: #f8fafc;
  font-size: clamp(13px, 1.25vw, 16px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .09em;
  text-align: center;
  text-transform: uppercase;
}
.zodiac-dates, .zodiac-front .flip-hint { display: none; }

.zodiac-back {
  padding: 14px 10px;
  color: #fff8e8;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, #526078, #263247 64%, #182231);
  transform: rotateY(180deg);
}
.back-kicker { display: none; color: #e9c66a; font-size: 10px; font-weight: 600; line-height: 1.3; letter-spacing: .1em; text-transform: uppercase; }
.zodiac-back h3 { margin: 0 0 6px; color: #fff; font-size: 19px; font-weight: 800; line-height: 1.25; }
.back-trait {
  display: none;
  max-width: 100%;
  margin: 0 auto 10px;
  overflow: hidden;
  color: #d9dee7;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.back-facts { display: flex; flex-direction: column; gap: 4px; width: 100%; margin: 0 0 10px; }
.back-facts span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
  min-height: 26px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
}
.back-facts small, .back-facts b { display: block; min-width: 0; overflow: hidden; font-size: 11px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.back-facts small { color: #c4cbd7; font-weight: 500; }
.back-facts b { color: #f2d486; font-weight: 700; }
.back-read-link {
  display: inline-flex;
  min-height: 32px;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #283043;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(100deg, #f4d98b, #d8ad4c);
}
.back-flip { margin-top: 6px; padding: 4px 8px; border: 0; color: #dce1e8; font-size: 11px; font-weight: 500; line-height: 1.3; background: transparent; cursor: pointer; }

.zodiac-front, .zodiac-back { pointer-events: none; }
.zodiac-front { pointer-events: auto; }
.zodiac-flip-card.is-flipped .zodiac-front { pointer-events: none; }
.zodiac-flip-card.is-flipped .zodiac-back  { pointer-events: auto; }

/* 7. HOME — OTHER SECTIONS ----------------------------------------------- */
.section-heading { max-width: 790px; margin: 0 auto 36px; text-align: center; }
.section-heading-left { max-width: none; margin-left: 0; text-align: left; }
.section-kicker { display: inline-block; color: #D3AC4C; font-size: 12px; font-weight: 800; line-height: 1.5; letter-spacing: .16em; text-transform: uppercase; }
.section-heading h2 {
  margin: 12px 0;
  color: #D3AC4C;
  font-size: clamp(30px, 3.3vw, 42px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.section-heading p { max-width: 720px; margin: 0 auto; color: #475569; font-size: 16px; font-weight: 500; line-height: 1.75; }
.section-heading-left p { margin-left: 0; }
.compact-heading { margin-bottom: 28px; }

.timeframe-section { padding: 6px 0 62px; }
.timeframe-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.timeframe-card {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid #e9e5db;
  border-radius: 16px;
  text-decoration: none;
  background: #fff;
  box-shadow: 0 5px 14px rgba(32, 42, 59, .055);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s ease;
}
.timeframe-card > span { font-size: 27px; line-height: 1; }
.timeframe-card div { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 4px; }
.timeframe-card strong { color: #30394a; font-size: 15px; font-weight: 800; line-height: 1.4; }
.timeframe-card small { color: #7b8492; font-size: 12px; font-weight: 500; line-height: 1.5; }
.timeframe-card > b { color: #bd912b; font-size: 18px; }

.elements-section, .topic-section, .latest-section, .trust-section, .faq-section { padding: 34px 0 58px; }
.elements-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.element-card {
  position: relative;
  min-height: 215px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid #e8e5dc;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(32, 42, 59, .055);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.element-mark { float: right; color: #c59a39; font-size: 32px; line-height: 1; }
.element-card h3 { margin: 0 0 10px; color: #343d4d; font-size: 20px; font-weight: 800; line-height: 1.35; }
.element-card p { min-height: 72px; margin: 0 0 16px; color: #747d89; font-size: 14px; font-weight: 500; line-height: 1.7; }
.element-signs { display: flex; flex-wrap: wrap; gap: 8px; }
.element-signs a { padding: 7px 12px; border-radius: 99px; color: #7e621e; font-size: 12px; font-weight: 700; line-height: 1.3; text-decoration: none; background: #faf4e5; transition: background .2s ease; }
.element-signs a:hover { background: #f4e7c5; }
.element-fire  { background: linear-gradient(140deg, #fff, #fff8f0); }
.element-earth { background: linear-gradient(140deg, #fff, #f6f8ef); }
.element-air   { background: linear-gradient(140deg, #fff, #f2f7fc); }
.element-water { background: linear-gradient(140deg, #fff, #f1f7fa); }

.topic-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.topic-chips a { padding: 10px 16px; border: 1px solid #e8e1d1; border-radius: 99px; color: #596274; font-size: 13px; font-weight: 700; line-height: 1.3; text-decoration: none; background: #fff; transition: border-color .2s ease, background .2s ease; }
.topic-chips a:hover { border-color: #d8bd72; background: #fffaf0; }
.topic-chips span { margin-left: 5px; color: #b58719; }

.section-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.view-all-link { color: #a67b19; font-size: 14px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.view-all-link:hover { color: #79570b; }

.latest-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.latest-card {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #e7e5df;
  border-radius: 20px;
  text-decoration: none;
  background: #fff;
  box-shadow: 0 6px 18px rgba(32, 42, 59, .055);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.latest-card > img, .latest-placeholder { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.latest-placeholder { display: grid; place-items: center; color: #d3aa4d; font-size: 52px; background: linear-gradient(135deg, #263247, #48546a); }
.latest-card-body { padding: 20px; }
.latest-meta { color: #a17a23; font-size: 11px; font-weight: 800; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; }
.latest-card h3 { margin: 8px 0; color: #30394a; font-size: 19px; font-weight: 800; line-height: 1.4; }
.latest-card p { display: -webkit-box; overflow: hidden; margin: 0 0 14px; color: #747d89; font-size: 14px; font-weight: 500; line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.latest-read { color: #a67b19; font-size: 13px; font-weight: 800; }

.trust-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.trust-points > div { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 16px; border: 1px solid #e9e4d8; border-radius: 18px; text-align: center; background: #fff; }
.trust-points b { color: #c19a36; font-size: 25px; line-height: 1; }
.trust-points strong { color: #3c4553; font-size: 15px; font-weight: 800; line-height: 1.4; }
.trust-points span { color: #7a8290; font-size: 13px; font-weight: 500; line-height: 1.6; }
.method-note { margin-top: 20px; padding: 26px; border: 1px solid #eadfbe; border-radius: 20px; background: linear-gradient(135deg, #fffdf7, #fff); box-shadow: 0 6px 18px rgba(32, 42, 59, .04); }
.method-note h3 { margin: 0 0 12px; color: #394252; font-size: 21px; font-weight: 800; line-height: 1.35; }
.method-note p { margin: 0 0 12px; color: #6f7886; font-size: 14px; font-weight: 500; line-height: 1.8; }
.method-note p:last-child { margin-bottom: 0; }
.method-note a { color: #a57b19; font-weight: 800; }

.faq-list { display: grid; max-width: 900px; gap: 10px; margin: 0 auto; }
.faq-item { overflow: hidden; border: 1px solid #e8e4da; border-radius: 16px; background: #fff; transition: border-color .2s ease, box-shadow .3s ease; }
.faq-item:hover { border-color: #e4d4aa; box-shadow: 0 8px 20px rgba(0, 0, 0, .045); }
.faq-trigger { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border: 0; color: #374151; font-size: 15px; font-weight: 700; line-height: 1.5; text-align: left; background: #fff; cursor: pointer; }
.faq-trigger .accordion-icon { flex: 0 0 auto; color: #b58a28; font-size: 22px; line-height: 1; }
.faq-item .accordion-panel { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s var(--ease-out), opacity .25s ease; }
.faq-item .accordion-panel.open { max-height: 480px; opacity: 1; }
.faq-item .accordion-panel-inner { padding: 0 20px 18px; }
.faq-item .accordion-panel p { margin: 0; color: #717b89; font-size: 14px; font-weight: 500; line-height: 1.75; }

/* Hover lift for NON-zodiac cards, only with a real pointer */
@media (hover: hover) and (pointer: fine) {
  .quick-card:hover     { transform: translateY(-6px); border-color: #e4c66f; box-shadow: 0 18px 36px rgba(31, 41, 55, .12); }
  .timeframe-card:hover { transform: translateY(-3px); border-color: #e1c36d; box-shadow: 0 12px 24px rgba(32, 42, 59, .1); }
  .element-card:hover   { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(32, 42, 59, .1); }
  .latest-card:hover    { transform: translateY(-4px); box-shadow: 0 15px 30px rgba(32, 42, 59, .12); }
}

/* 8. FOOTER ---------------------------------------------------------------
   Footer-only theme: deep navy surface, warm gold accents, readable body text.
   All other site sections and responsive rules remain unchanged.
   ------------------------------------------------------------------------- */
.site-scroll footer {
  border-bottom-left-radius: calc(var(--page-radius) - var(--page-border));
  border-bottom-right-radius: calc(var(--page-radius) - var(--page-border));
  border-top: 1px solid rgba(226, 190, 104, .28);
  color: #d5dbe5;
  background: #172235;
}

.site-scroll footer .border-nebula-light {
  border-color: rgba(226, 190, 104, .22);
}

.site-scroll footer .bg-nebula,
.site-scroll footer .bg-nebula\\/60 {
  background: #1e2c42;
}

.site-scroll footer .text-starlight {
  color: #fff8e8;
}

.site-scroll footer .text-moonlight {
  color: #c2cad6;
}

.site-scroll footer .text-comet {
  color: #e9c66a;
}

.site-scroll footer a {
  color: #d5dbe5;
  transition: color .2s ease;
}

.site-scroll footer a:hover {
  color: #f2d486;
}

.site-scroll footer .rounded-lg.border {
  border-color: rgba(226, 190, 104, .24);
}

.site-scroll footer ul {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.site-scroll footer p.text-xs {
  font-size: 14px;
  line-height: 1.6;
}

.site-scroll footer .grid a.truncate {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.site-scroll footer .accordion-trigger span {
  font-weight: 600;
  line-height: 1.4;
}

/* 9. RESPONSIVE ---------------------------------------------------------- */
@media (min-width: 560px) {
  .zodiac-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 18px; }
}
@media (min-width: 640px) {
  .quick-links { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
  .elements-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .latest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-points { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .desktop-nav { display: flex; }
  .menu-toggle { display: none; }
  .zodiac-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding: 24px; }
  .timeframe-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .latest-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* 4-column cards are wide enough for the kicker and trait */
@media (min-width: 900px) and (max-width: 1199px) {
  .back-kicker { display: block; margin-bottom: 2px; }
  .back-trait  { display: -webkit-box; }
  .zodiac-flip-card { aspect-ratio: .86 / 1; }
}
/* 6 columns = exactly two full rows of 12 */
@media (min-width: 1200px) {
  .zodiac-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; padding: 26px; }
}

@media (max-width: 639px) {
  .site-header-inner { padding: 0 8px 0 12px; }
  .brand-mark { gap: 8px; font-size: 22px; }
  
  .brand-icon { width: 42px; height: 42px; font-size: 21px; }

  .home-hero { padding: calc(var(--nav-space) + 20px) 18px 44px; }
  .hero-orb-one { top: calc(var(--nav-space) + 8px); left: 3%; width: 48px; height: 48px; }
  .hero-orb-two { top: calc(var(--nav-space) + 40px); right: 4%; width: 34px; height: 34px; }
  .home-hero h1 { font-size: clamp(32px, 8.6vw, 44px); line-height: 1.22; }
  .hero-tagline { margin-top: 16px; padding: 7px 16px; font-size: 14px; }
  .hero-copy { font-size: 16px; line-height: 1.7; }
  .hero-updated { font-size: 12px; }
  .hero-actions { gap: 10px; margin-top: 24px; }
  .btn-gold, .btn-outline { min-height: 50px; padding: 0 22px; border-radius: 13px; font-size: 15px; }
  .hero-shortcuts { gap: 8px; margin-top: 22px; }
  .hero-shortcuts a { padding: 8px 12px; font-size: 13px; }

  .quick-links, .zodiac-section, .timeframe-section, .elements-section,
  .topic-section, .latest-section, .trust-section, .faq-section { width: calc(100% - 28px); }
  .quick-links { gap: 10px; padding: 20px 0 38px; }
  .quick-card { min-height: 204px; padding: 18px 12px 16px; border-radius: 18px; }
  .quick-icon { height: 40px; margin-bottom: 8px; font-size: 26px; }
  .quick-card strong { font-size: 15px; }
  .quick-card > span:not(.quick-icon) { margin-top: 8px; font-size: 13px; line-height: 1.6; }
  .quick-card em { padding-top: 12px; font-size: 12px; }

  .zodiac-section { padding: 16px 0 48px; }
  .section-heading { margin-bottom: 26px; }
  .section-kicker { font-size: 11px; letter-spacing: .12em; }
  .section-heading h2 { font-size: 28px; }
  .section-heading p { font-size: 15px; line-height: 1.7; }
  .zodiac-grid { gap: 10px; padding: 12px; border-radius: 22px; }
  .zodiac-face { border-radius: 16px; }
  .zodiac-front { padding: 12px 6px; }
  .zodiac-symbol-wrap { width: 58%; margin-bottom: 8px; }
  .zodiac-name { font-size: 13px; letter-spacing: .08em; }
  .zodiac-back { padding: 12px 8px; }
  .zodiac-back h3 { font-size: 17px; }

  .timeframe-section { padding-bottom: 40px; }
  .timeframe-grid, .elements-grid { gap: 10px; }
  .timeframe-card { gap: 10px; padding: 14px 12px; border-radius: 14px; }
  .timeframe-card > span { font-size: 22px; }
  .timeframe-card strong { font-size: 13px; }
  .timeframe-card small { font-size: 11px; }
  .timeframe-card > b { font-size: 16px; }

  .elements-section, .topic-section, .latest-section, .trust-section, .faq-section { padding: 26px 0 40px; }
  .element-card { min-height: 0; padding: 16px 14px; border-radius: 16px; }
  .element-mark { font-size: 24px; }
  .element-card h3 { margin-bottom: 8px; font-size: 16px; }
  .element-card p { min-height: 0; margin-bottom: 12px; font-size: 13px; line-height: 1.6; }
  .element-signs { gap: 6px; }
  .element-signs a { padding: 6px 9px; font-size: 11px; }
  .topic-chips { gap: 8px; }
  .topic-chips a { padding: 9px 13px; font-size: 11px; }
  .view-all-link { padding-bottom: 4px; font-size: 12px; }
  .latest-grid { gap: 14px; }
  .latest-card { border-radius: 16px; }
  .latest-card-body { padding: 16px; }
  .latest-card h3 { font-size: 17px; }
  .latest-card p { font-size: 13px; }
  .trust-points { gap: 10px; }
  .trust-points > div { gap: 6px; padding: 16px 10px; border-radius: 14px; }
  .trust-points strong { font-size: 13px; }
  .trust-points span { font-size: 12px; line-height: 1.55; }
  .method-note { margin-top: 14px; padding: 18px; border-radius: 16px; }
  .method-note h3 { font-size: 18px; }
  .method-note p { font-size: 13px; line-height: 1.7; }
  .faq-list { gap: 8px; }
  .faq-item { border-radius: 14px; }
  .faq-trigger { padding: 15px 16px; font-size: 14px; }
  .faq-item .accordion-panel-inner { padding: 0 16px 16px; }
  .faq-item .accordion-panel p { font-size: 13px; }
}
@media (max-width: 380px) {
  .home-hero { padding-inline: 14px; }
  .home-hero h1 { font-size: 31px; }
  .hero-copy { font-size: 15px; }
}

/* 10. REDUCED MOTION ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto;
    transition-duration: .01ms;
    animation-duration: .01ms;
  }
}


/* ==========================================================================
   FINAL REFINEMENTS — compact floating nav, balanced type, reliable card flip
   ========================================================================== */

/* Balanced hierarchy: keep headings distinct without making everything heavy.
   No text colours are changed in this section. */
.brand-mark { font-weight: 700; }
.desktop-nav { font-weight: 500; }
.nav-cta { font-weight: 650; }
.home-hero h1 { font-weight: 800; }
.hero-tagline { font-weight: 600; }
.hero-copy { font-weight: 500; }
.hero-updated { font-weight: 600; }
.btn-gold, .btn-outline { font-weight: 650; }
.hero-shortcuts a { font-weight: 600; }
.quick-card strong { font-weight: 650; }
.quick-card em { font-weight: 650; }
.zodiac-name { font-weight: 600; }
.zodiac-back h3 { font-weight: 700; }
.back-read-link { font-weight: 650; }
.section-kicker { font-weight: 800; }
.section-heading h2 { font-weight: 750; }
.section-heading p { font-weight: 450; }
.timeframe-card strong { font-weight: 650; }
.element-card h3 { font-weight: 700; }
.element-signs a { font-weight: 600; }
.topic-chips a { font-weight: 600; }
.view-all-link { font-weight: 650; }
.latest-meta { font-weight: 650; }
.latest-card h3 { font-weight: 700; }
.latest-read { font-weight: 650; }
.trust-points strong { font-weight: 650; }
.method-note h3 { font-weight: 700; }
.method-note a { font-weight: 650; }
.faq-trigger { font-weight: 600; }

/* Zodiac cards: the card itself stays still; only the inner panel rotates.
   Explicit sizing and 3-D declarations prevent a collapsed/flattened flip. */
.zodiac-flip-card {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  min-height: 224px;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  perspective: 1200px;
  -webkit-perspective: 1200px;
}
.zodiac-flip-inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  transform: rotateY(0deg);
  transform-origin: center center;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform .7s cubic-bezier(.2, .75, .25, 1);
  will-change: transform;
}
.zodiac-flip-card.is-flipped .zodiac-flip-inner {
  transform: rotateY(180deg);
}
.zodiac-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.zodiac-front {
  transform: rotateY(0deg) translateZ(1px);
  -webkit-transform: rotateY(0deg) translateZ(1px);
}
.zodiac-back {
  transform: rotateY(180deg) translateZ(1px);
  -webkit-transform: rotateY(180deg) translateZ(1px);
}
.zodiac-front, .zodiac-back {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.zodiac-flip-card,
.zodiac-flip-card:hover,
.zodiac-flip-card:active,
.zodiac-flip-card.is-flipped,
.zodiac-flip-card.is-flipped:hover {
  translate: none;
  scale: none;
  rotate: none;
  filter: none;
}
@media (prefers-reduced-motion: reduce) {
  .zodiac-flip-inner { transition-duration: .01ms; }
}


/* ==========================================================================
   FINAL LAYOUT ADJUSTMENTS — card dimensions from site-theme-old.css
   ========================================================================== */

/* Zodiac card proportions and grid copied from the final responsive rules in
   site-theme-old.css: 3 columns on phones, 4 on tablets, 5 on wide screens. */
.zodiac-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.8vw, 20px);
  padding: clamp(12px, 2.2vw, 22px);
}
.zodiac-flip-card {
  min-width: 0;
  min-height: 0;
  height: auto;
  aspect-ratio: .78 / 1;
}
.zodiac-flip-inner,
.zodiac-face {
  min-width: 0;
  min-height: 0;
}
.zodiac-face {
  overflow: hidden;
  border-radius: 22px;
}
.zodiac-front {
  justify-content: center;
  gap: 0;
  padding: 14px 8px;
}
.zodiac-symbol-wrap {
  width: 68%;
  height: auto;
  aspect-ratio: 1;
  margin: 0 0 8px;
  flex: 0 0 auto;
}
.zodiac-symbol-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.zodiac-dates,
.zodiac-front .flip-hint {
  display: none;
}
.zodiac-back {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: 12px 10px;
  overflow: hidden;
}
.zodiac-back .back-kicker {
  max-width: 100%;
  font-size: clamp(7px, .7vw, 9px);
  line-height: 1.2;
  text-align: center;
}
.zodiac-back h3 {
  margin: 5px 0;
  font-size: clamp(14px, 1.35vw, 19px);
  line-height: 1.1;
}
.zodiac-back .back-trait {
  max-width: 100%;
  margin: 0 auto 7px;
  font-size: clamp(9px, .8vw, 11px);
  line-height: 1.3;
  -webkit-line-clamp: 2;
}
.zodiac-back .back-facts {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  width: 100%;
  margin: 0 0 7px;
}
.zodiac-back .back-facts span {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  width: 100%;
  min-width: 0;
  min-height: 22px;
  padding: 3px 7px;
  border-radius: 7px;
}
.zodiac-back .back-facts small,
.zodiac-back .back-facts b {
  display: block;
  min-width: 0;
  overflow: hidden;
  font-size: clamp(8px, .72vw, 10px);
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.zodiac-back .back-read-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 27px;
  max-width: 100%;
  padding: 6px 10px;
  font-size: clamp(9px, .78vw, 11px);
  line-height: 1.1;
  white-space: nowrap;
}
.zodiac-back .back-flip {
  margin-top: 4px;
  padding: 2px 6px;
  font-size: 8px;
  line-height: 1.1;
}

@media (min-width: 640px) {
  .zodiac-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .zodiac-flip-card {
    aspect-ratio: .82 / 1;
  }
  .zodiac-face,
  .zodiac-back {
    border-radius: 20px;
  }
  .zodiac-symbol-wrap {
    width: 64%;
  }
}
@media (min-width: 1024px) {
  .zodiac-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .zodiac-flip-card {
    aspect-ratio: .84 / 1;
  }
}
@media (max-width: 639px) {
  .zodiac-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
    border-radius: 26px;
  }
  .zodiac-flip-card {
    aspect-ratio: .68 / 1;
  }
  .zodiac-face,
  .zodiac-back {
    border-radius: 16px;
  }
  .zodiac-front {
    padding: 10px 4px;
  }
  .zodiac-symbol-wrap {
    width: 72%;
    margin-bottom: 7px;
  }
  .zodiac-name {
    font-size: clamp(9px, 3vw, 12px);
    letter-spacing: .08em;
  }
  .zodiac-back {
    padding: 8px 6px;
  }
  .zodiac-back .back-kicker {
    font-size: 6.5px;
    letter-spacing: .04em;
  }
  .zodiac-back h3 {
    margin: 4px 0;
    font-size: clamp(12px, 3.5vw, 15px);
  }
  .zodiac-back .back-trait {
    margin-bottom: 5px;
    font-size: 8px;
    line-height: 1.2;
  }
  .zodiac-back .back-facts {
    gap: 0;
    margin: 1px 0 5px;
  }
  .zodiac-back .back-facts span:first-child,
  .zodiac-back .back-facts span:last-child {
    display: none;
  }
  .zodiac-back .back-facts span {
    min-height: 21px;
    padding: 3px 5px;
  }
  .zodiac-back .back-facts small,
  .zodiac-back .back-facts b {
    font-size: 8px;
  }
  .zodiac-back .back-read-link {
    min-height: 23px;
    padding: 5px 7px;
    font-size: 8px;
  }
  .zodiac-back .back-flip {
    margin-top: 3px;
    font-size: 7px;
  }
}
@media (max-width: 380px) {
  .zodiac-flip-card {
    aspect-ratio: .68 / 1;
  }
}

/* ==========================================================================
   MOBILE REFINEMENTS — restore the old hero rhythm and zodiac-card back
   ========================================================================== */

/* Reduce the oversized blank space between the floating header and hero H1.
   Keep the nav clearance while removing the extra 32px mobile spacer. */
@media (max-width: 639px) {
  .home-hero {
    padding-top: calc(var(--nav-space) + 4px);
  }
}

/* The new stylesheet initially hides these two back-face elements. Restore
   the old card-back content: cosmic snapshot kicker and short sign trait. */
.zodiac-back .back-kicker {
  display: block;
  margin-bottom: 2px;
}
.zodiac-back .back-trait {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* Keep the compact, old-style back layout readable on phone-sized cards. */
@media (max-width: 639px) {
  .zodiac-back .back-kicker {
    font-size: 6.5px;
    line-height: 1.15;
    letter-spacing: .04em;
  }
  .zodiac-back .back-trait {
    margin: 0 auto 5px;
    font-size: 8px;
    line-height: 1.2;
  }
}


/* ==========================================================================
   MOBILE HERO — tighter title spacing and single-row action/navigation links
   ========================================================================== */
@media (max-width: 639px) {
  /* Keep the H1 just below the floating header, without the old oversized gap. */
  .home-hero {
    padding-top: calc(var(--nav-space) + 4px);
  }

  /* Primary actions: two equal-width buttons on one row. */
  .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr);
    align-items: stretch;
    gap: 8px;
    margin-top: 20px;
  }
  .hero-actions .btn-gold,
  .hero-actions .btn-outline {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 7px 6px;
    border-radius: 12px;
    font-size: clamp(11px, 3.1vw, 13px);
    line-height: 1.2;
    white-space: normal;
  }

  /* Keep Daily, Weekly, Monthly, Love Compatibility and Panchang in one row.
     Compact labels fit typical phone widths while remaining individually tappable. */
  .hero-shortcuts {
    display: grid;
    grid-template-columns: .78fr .88fr .94fr 1.55fr .92fr;
    gap: 5px;
    width: 100%;
    margin-top: 16px;
  }
  .hero-shortcuts a {
    display: flex;
    min-width: 0;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 5px 3px;
    border: 1px solid #e5c65f;
    border-radius: 9px;
    color: #79570b;
    background: linear-gradient(135deg, #fff8d9, #f7e5a8);
    font-size: clamp(8px, 2.55vw, 10px);
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

/* ==========================================================================
   RESPONSIVE POLISH — centered shortcuts, gold CTAs, tighter SM+ rhythm
   ========================================================================== */

/* Keep the three hero shortcut groups centered and consistently sized.
   Fixed max widths prevent uneven, stretched pills on tablets and desktops. */
.hero-shortcuts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-inline: auto;
}
.hero-shortcuts a {
  display: inline-flex;
  flex: 0 0 150px;
  width: 150px;
  min-width: 0;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  text-align: center;
  white-space: normal;
  overflow-wrap: normal;
  background: linear-gradient(135deg, #fff8d9, #f7e5a8);
  border: 1px solid #e5c65f;
  color: #79570b;
}

/* Tablet and desktop: reduce the oversized hero top/bottom whitespace,
   tighten the gaps between homepage sections, and use gold for both CTAs. */
@media (min-width: 640px) {
  .home-hero {
    padding-top: calc(var(--nav-space) + 4px);
    padding-bottom: 34px;
  }

  .hero-actions {
    gap: 12px;
    margin-top: 22px;
  }

  .hero-actions .btn-gold,
  .hero-actions .btn-outline {
    min-width: 170px;
    min-height: 50px;
    border: 1px solid #e5b93f;
    color: #211807;
    background: linear-gradient(105deg, #fcd34d, #f59e0b 68%, #ea8a0c);
    box-shadow: 0 8px 18px rgba(216, 156, 41, .22);
  }

  .hero-actions .btn-gold:hover,
  .hero-actions .btn-outline:hover {
    border-color: #d49a24;
    box-shadow: 0 11px 22px rgba(216, 156, 41, .30);
  }

  .hero-shortcuts {
    margin-top: 16px;
  }

  .quick-links {
    padding-top: 18px;
    padding-bottom: 30px;
  }

  .zodiac-section {
    padding-top: 18px;
    padding-bottom: 40px;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .timeframe-section {
    padding-top: 4px;
    padding-bottom: 38px;
  }

  .elements-section,
  .topic-section,
  .latest-section,
  .trust-section,
  .faq-section {
    padding-top: 24px;
    padding-bottom: 38px;
  }

  .compact-heading {
    margin-bottom: 20px;
  }
}

/* Small phones: keep all three shortcut links centered at the same fixed
   width, without forcing the labels to break awkwardly mid-word. */
@media (max-width: 639px) {
  .hero-shortcuts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 112px));
    justify-content: center;
    gap: 7px;
    width: 100%;
  }

  .hero-shortcuts a {
    width: 112px;
    min-height: 40px;
    padding: 6px 5px;
    font-size: 11px;
    line-height: 1.2;
    overflow-wrap: break-word;
  }
}

@media (max-width: 380px) {
  .hero-shortcuts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 340px;
  }
  .hero-shortcuts a {
    width: auto;
    font-size: 10px;
  }
}

/* ==========================================================================
   HEADER NAVIGATION UPDATE
   Desktop: brand | icon navigation | WhatsApp CTA
   Mobile drawer: centered panel with fade-only entrance
   ========================================================================== */

/* The desktop CTA is a sibling of the desktop navigation. Keep it hidden
   alongside the desktop navigation until the desktop breakpoint. */
.site-header-inner > .nav-cta {
  display: none;
}

.desktop-nav .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 750;
}

.desktop-nav .desktop-nav-icon {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: #b77d0b;
  stroke: currentColor;
}



@media (min-width: 900px) {
  .site-header-inner {
    gap: clamp(14px, 2vw, 28px);
  }

  .desktop-nav {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 1.55vw, 24px);
    font-size: 14px;
    font-weight: 750;
  }

  .desktop-nav .nav-link {
    gap: 6px;
    font-size: 14px;
    font-weight: 750;
  }

  .desktop-nav .desktop-nav-icon {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
  }

  .site-header-inner > .nav-cta {
    display: inline-flex;
    flex: 0 0 auto;
    margin-left: 0;
  }

  .menu-toggle {
    display: none;
  }

  /* The mobile drawer is not part of desktop navigation. */
  .mobile-overlay,
  .mobile-menu {
    display: none;
  }
}

@media (max-width: 899px) {
  .desktop-nav,
  .site-header-inner > .nav-cta {
    display: none;
  }

  .mobile-menu {
    border-radius: var(--nav-radius);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-overlay,
  .mobile-menu {
    transition-duration: .01ms;
  }
}








/* LATEST ARTICLES — editorial layout */

.latest-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.latest-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    min-width: 0;
}

.latest-card {
    min-width: 0;
    height: 100%;
    border-radius: 16px;
}

.latest-card > img,
.latest-card > .latest-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
}

.latest-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 14px;
}

.latest-meta {
    display: block;
    font-size: 9px;
    line-height: 1.45;
}

.latest-card h3 {
    display: -webkit-box;
    min-height: 4.2em;
    margin: 7px 0;
    overflow: hidden;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.latest-card p {
    display: -webkit-box;
    min-height: 4.5em;
    margin: 0 0 12px;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.latest-read {
    margin-top: auto;
    padding-top: 5px;
    font-size: 11px;
}

/* Recommended sidebar */

.latest-sidebar {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.recommended-panel {
    padding: 14px;
    border: 1px solid #e8e5df;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(32, 42, 59, .055);
}

.sidebar-heading {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 12px;
    color: #374151;
    font-size: 14px;
    font-weight: 800;
}

.sidebar-heading span {
    color: #c19a36;
}

.recommended-list {
    display: grid;
    gap: 8px;
}

.recommended-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    min-width: 0;
    padding: 6px;
    border: 1px solid #f0eee8;
    border-radius: 11px;
    color: #394252;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.35;
    text-decoration: none;
}

.recommended-item img,
.recommended-placeholder {
    display: grid;
    width: 72px;
    aspect-ratio: 3 / 2;
    place-items: center;
    overflow: hidden;
    border-radius: 7px;
    object-fit: cover;
}

.recommended-item span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.recommended-placeholder {
    color: #e5c66f;
    background: linear-gradient(135deg, #263247, #48546a);
}

/* Promotional card */

.latest-promo {
    padding: 18px;
    border: 1px solid #ead18b;
    border-radius: 16px;
    color: #49370f;
    background: linear-gradient(135deg, #fff0b8, #e0b84e);
    box-shadow: 0 8px 20px rgba(183, 141, 43, .13);
}

.promo-kicker {
    display: block;
    margin-bottom: 7px;
    color: #8b6817;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.latest-promo h3 {
    margin: 0 0 7px;
    color: #35280d;
    font-size: 15px;
    font-weight: 850;
    line-height: 1.35;
}

.latest-promo p {
    margin: 0 0 12px;
    color: #594719;
    font-size: 11px;
    line-height: 1.55;
}

.latest-promo a {
    color: #392909;
    font-size: 11px;
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Tablet and desktop */

@media (min-width: 640px) {
    .latest-layout {
        grid-template-columns: minmax(0, 1.8fr) minmax(190px, .9fr);
        gap: 16px;
    }

    .latest-grid {
        gap: 12px;
    }

    .latest-card-body {
        padding: 11px;
    }

    .latest-card h3 {
        font-size: 14px;
    }

    .latest-card p {
        font-size: 11px;
    }

    .recommended-panel {
        padding: 11px;
    }

    .recommended-item {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 7px;
        font-size: 12px;
    }

    .recommended-item img,
    .recommended-placeholder {
        width: 58px;
    }
}

@media (min-width: 1100px) {
    .latest-layout {
        grid-template-columns: minmax(0, 2fr) minmax(230px, .85fr);
        gap: 20px;
    }

    .latest-grid {
        gap: 14px;
    }

    .latest-card-body {
        padding: 13px;
    }

    .latest-card h3 {
        font-size: 14px;
    }
}

/* Mobile */

@media (max-width: 639px) {
    .latest-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .latest-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .latest-card-body {
        padding: 10px;
    }

    .latest-card h3 {
        min-height: 4.2em;
        font-size: 13px;
        line-height: 1.4;
    }

    .latest-card p {
        min-height: 4.5em;
        font-size: 10px;
        line-height: 1.5;
    }

    .latest-meta {
        font-size: 8px;
    }
}



/* Latest articles section — boxed design */
.latest-section {
    margin: 20px auto;
    padding: 28px;
    border: 1px solid #e8e5dc;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(32, 42, 59, .06);
}

/* Heading and button alignment */
.latest-section .section-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.latest-section .section-heading h2 {
    margin-bottom: 0;
}

/* Gold rounded View All button */
.latest-section .view-all-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 18px;
    border: 1px solid #e5bd50;
    border-radius: 999px;
    color: #49360c;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    background: linear-gradient(135deg, #ffe58b, #e9b52e);
    box-shadow: 0 4px 12px rgba(190, 145, 35, .16);
    transition: transform .2s ease, box-shadow .2s ease;
}

.latest-section .view-all-link:hover {
    color: #49360c;
    transform: translateY(-2px);
    box-shadow: 0 7px 16px rgba(190, 145, 35, .23);
}


@media (max-width: 639px) {
    .latest-section {
        padding: 18px 12px;
        border-radius: 18px;
    }

    .latest-section .section-heading-row {
        gap: 8px;
        margin-bottom: 18px;
    }

    .latest-section .section-heading h2 {
        font-size: 21px;
        line-height: 1.3;
    }

    .latest-section .view-all-link {
        padding: 9px 11px;
        font-size: 11px;
    }
}

/* Space between the floating nav and the hero h1 (all screen sizes). */
.home-hero {
  padding-top: calc(var(--nav-space) + 20px);
}


/* ==========================================================================
   X. 2026-11 ADDITIONS - accessibility, contrast and new homepage sections
   (appended last so they win by cascade order; no !important)
   ========================================================================== */
.skip-link {
  position: absolute; left: 12px; top: -64px; z-index: 100;
  padding: 10px 16px; border-radius: 10px;
  background: #252a35; color: #fff; font-weight: 700; text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid #8a6a12; outline-offset: 2px; }

/* Text contrast: bring small gold/grey accents up to WCAG AA (4.5:1) */
.section-kicker,
.latest-meta,
.latest-read,
.view-all-link,
.hero-tagline { color: #8a6a12; }
.view-all-link:hover { color: #6b520d; }
.hero-updated { color: #6a655d; }
.quick-card-sun em   { color: #8a6a12; }
.quick-card-moon em  { color: #a8456f; }
.quick-card-chart em { color: #a0612c; }

/* New homepage blocks */
.sign-chips { justify-content: center; margin-top: 28px; }
/*.home-intro { max-width: 1024px; margin: 0 auto; padding: 40px 20px 8px; }*/

.home-intro {
  max-width: 1024px;
  margin: 0 auto;
  padding: 40px 20px 8px;
}

@media (min-width: 640px) {
  .home-intro {
    padding-left: 32px;
    padding-right: 32px;
  }
}


.home-intro-body p { margin: 0 0 16px; color: #3b4351; font-size: 16px; line-height: 1.8; }
.home-intro-body a { color: #8a6a12; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.home-intro-body a:hover { color: #6b520d; }

/* "What's my zodiac sign?" finder (gold theme) */
.sign-finder { max-width: 760px; margin: 0 auto; padding: 8px 20px 24px; }
.sign-finder-box {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: 14px;
  padding: 22px; border: 1px solid #e8dfc9; border-radius: 20px; background: #fff;
  box-shadow: 0 14px 40px rgba(190, 145, 35, .10);
}
.sign-finder-field { display: flex; flex-direction: column; gap: 6px; min-width: 140px; flex: 1 1 140px; text-align: left; }
.sign-finder-field > span { color: #4b5160; font-size: 13px; font-weight: 700; }
.sign-finder-field select {
  min-height: 48px; padding: 0 14px; border: 1px solid #e0d4b3; border-radius: 12px;
  color: #252a35; font: inherit; font-size: 16px; background: #fffdf8;
}
.sign-finder-box .btn-gold { flex: 0 0 auto; min-height: 48px; padding: 0 24px; border: 0; border-radius: 12px; cursor: pointer; }
.sign-finder-result {
  margin: 16px 0 0; padding: 14px 18px; border-radius: 14px; text-align: center;
  color: #252a35; font-size: 16px; line-height: 1.6; background: #fff8e8;
}
.sign-finder-result a { color: #8a6a12; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }



.footer-zodiac-link img,
.zodiac-symbol-wrap img {
    filter: brightness(0) saturate(100%) invert(72%) sepia(38%) saturate(600%) hue-rotate(5deg) brightness(90%) contrast(90%);
}

/*
.brand-mark {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}
*/

.brand-logo {
    display: block;
    width: 162px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 480px) {
    .brand-logo {
        width: 156px;
    }
}




/* ==========================================================================
   Finder: compact custom dropdowns (month grid + day grid) replacing the
   full-screen native picker. Native <select>s remain as fallback / data source.
   ========================================================================== */
.sign-finder-field { position: relative; }
.sign-finder-field > label { color: #4b5160; font-size: 13px; font-weight: 700; }

.sf-enhanced .sign-finder-field select {
  position: absolute; width: 1px; height: 1px; min-height: 0; margin: 0; padding: 0; border: 0;
  opacity: 0; overflow: hidden; clip-path: inset(50%); pointer-events: none;
}
.sf-dd { position: relative; }
.sf-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; height: 48px; min-height: 48px; padding: 0 14px;
  border: 1px solid #e0d4b3; border-radius: 12px; color: #252a35;
  font: inherit; font-size: 16px; font-weight: 600; text-align: left; cursor: pointer;
  background: #fffdf8; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 1px 2px rgba(120, 90, 20, .06);
  transition: border-color .2s ease, box-shadow .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.sf-trigger:hover { border-color: #d9ae4a; }
.sf-dd.is-open .sf-trigger,
.sf-trigger:focus-visible { border-color: #d9ae4a; box-shadow: 0 0 0 3px rgba(217, 174, 74, .25); outline: 0; }
.sf-trigger.is-placeholder .sf-value { color: #6b7280; font-weight: 500; }
.sf-caret { flex: 0 0 auto; width: 16px; height: 16px; color: #a8790c; transition: transform .2s ease; }
.sf-dd.is-open .sf-caret { transform: rotate(180deg); }

.sf-panel {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 60;
  width: min(var(--sf-w, 250px), calc(100vw - 24px)); padding: 12px;
  border: 1px solid #eadfc4; border-radius: 16px; background: #fff;
  box-shadow: 0 18px 40px rgba(70, 50, 10, .16), 0 2px 8px rgba(70, 50, 10, .06);
  transform-origin: top left; animation: sfPop .16s ease-out;
}
.sf-panel[hidden] { display: none; }
.sf-panel.sf-up { top: auto; bottom: calc(100% + 8px); transform-origin: bottom left; }
.sf-panel[data-type="month"] { --sf-w: 252px; }
.sf-panel[data-type="day"] { --sf-w: 288px; }
.sf-panel-title { margin: 0 2px 10px; color: #8a6a12; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.sf-grid { display: grid; grid-template-columns: repeat(var(--sf-cols, 3), minmax(0, 1fr)); gap: 6px; }
.sf-panel[data-type="day"] .sf-grid { gap: 4px; }
.sf-option {
  display: flex; align-items: center; justify-content: center; min-height: 38px; padding: 0;
  border: 0; border-radius: 10px; color: #3b4351; font: inherit; font-size: 14px; font-weight: 600;
  background: transparent; cursor: pointer; transition: background-color .15s ease, color .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.sf-panel[data-type="day"] .sf-option { min-height: 34px; }
.sf-option:hover { color: #252a35; background: #fff4d6; }
.sf-option:focus-visible { outline: 2px solid #8a6a12; outline-offset: 1px; }
.sf-option.is-selected {
  color: #211807; font-weight: 800;
  background: linear-gradient(105deg, #fcd34d, #f59e0b 68%, #ea8a0c);
  box-shadow: 0 4px 10px rgba(216, 156, 41, .30);
}
.sf-option:disabled { color: #b9b4a6; background: transparent; cursor: not-allowed; }
@keyframes sfPop {
  from { opacity: 0; transform: translateY(-6px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sf-panel { animation: none; }
  .sf-trigger, .sf-caret, .sf-option { transition: none; }
}


/* Keep both finder fields identical in height and aligned at the top */
.sf-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* ---- Smooth accordions: animate real content height (no max-height lag) ---- */

/* Footer (mobile accordion only; desktop columns stay always open) */
/*
@media (max-width: 639.98px) {
  .site-footer .footer-accordion .footer-accordion-panel {
    display: grid;
    grid-template-rows: 0fr;
    max-height: none;
    overflow: hidden;
    transition: grid-template-rows .25s cubic-bezier(.4, 0, .2, 1);
  }
  .site-footer .footer-accordion .footer-accordion-panel.open {
    grid-template-rows: 1fr;
    max-height: none;
  }
  .site-footer .footer-accordion .footer-accordion-panel > .accordion-panel-inner {
    min-height: 0;
    overflow: hidden;
  }
}
*/

/* Homepage FAQ */
/*
.faq-item .accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  max-height: none;
  transition: grid-template-rows .25s cubic-bezier(.4, 0, .2, 1), opacity .2s ease;
}
.faq-item .accordion-panel.open {
  grid-template-rows: 1fr;
  max-height: none;
}
.faq-item .accordion-panel-inner {
  min-height: 0;
  overflow: hidden;
  transition: padding-bottom .25s cubic-bezier(.4, 0, .2, 1);
}
*/
/* FAQ padding would otherwise stay visible while closed */
/*
.faq-item .accordion-panel:not(.open) .accordion-panel-inner { padding-bottom: 0; }


.site-footer [class*="blur-3xl"] {
  filter: none;
  background: radial-gradient(circle at center, rgba(251, 191, 36, .14), transparent 70%);
}
*/






/* Accordions: same timing as the reference page (300ms ease-in-out) */
.faq-item .accordion-panel,
.site-footer .footer-accordion-panel {
  transition: max-height .1s ease-in-out;
}
.faq-item .accordion-panel { opacity: 1; } /* height clips it; no fade needed */





/* Local design tokens for the site theme. */
:root {
  --color-void: #0A0918;
  --color-nebula: #16142E;
  --color-nebula-light: #1F1C40;
  --color-comet: #D9AE61;
  --color-comet-soft: #E8CB94;
  --color-starlight: #F1EDFB;
  --color-moonlight: #A79FD1;
  --color-aurora: #7C6FE0;
}

/* Former head-level styling, now maintained in this stylesheet. */
html { scroll-behavior: smooth; }
    @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
    body { font-family: var(--font-sans); }

    .wheel-item { transition: transform 0.25s ease, filter 0.25s ease; }
    .wheel-item:hover { transform: translate(-50%, -50%) scale(1.12); filter: drop-shadow(0 0 14px rgba(217,174,97,0.55)); }

    .no-scrollbar::-webkit-scrollbar { display: none; }
    .no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
    details > summary { list-style: none; }
    details > summary::-webkit-details-marker { display: none; }

    /* Mobile drawer: slides in from the left, narrow (not full-width),
       floats a small distance from the top edge rather than touching it. */
    #mobileMenu {
        transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
        transform: translateX(-115%);
        opacity: 0;
        pointer-events: none;
    }
    #mobileMenu.open {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }
    #mobileOverlay {
        transition: opacity 0.3s ease;
        opacity: 0;
        pointer-events: none;
        background: rgba(15, 23, 42, .42);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
    #mobileOverlay.open {
        opacity: 1;
        pointer-events: auto;
    }

    /* Hamburger <-> X, three bars animated with plain CSS transforms.
       display:flex on the wrapper is required — a bare <span> is inline
       by default and silently ignores width/height, which is what made
       the button invisible before. */
    .hamburger {
        display: flex;
        position: relative;
        width: 20px;
        height: 14px;
        flex-shrink: 0;
    }
    .hamburger span {
        position: absolute; left: 0; width: 100%; height: 2px;
        background: currentColor; border-radius: 2px;
        transition: transform 0.3s ease, opacity 0.25s ease, top 0.3s ease;
    }
    .hamburger span:nth-child(1) { top: 0; }
    .hamburger span:nth-child(2) { top: 6px; }
    .hamburger span:nth-child(3) { top: 12px; }
    .hamburger.open span:nth-child(1) { top: 6px; transform: rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

    /* Smooth accordion via max-height transition (grid-rows alternative
       kept simpler here since it tested more reliably). */
    .accordion-panel {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }
    .accordion-panel.open {
        max-height: 400px;
    }
    .accordion-panel-inner {
        overflow: hidden;
        min-height: 0;
    }
    .accordion-icon { transition: transform 0.3s ease; }
    .accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); }

/* Footer component styling, moved out of footer.php. */
/* Footer-only styling; does not affect other site sections. */
    .site-footer .footer-quick-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 36px;
        padding: 8px 13px;
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 999px;
        background: rgba(255,255,255,.07);
        color: #e2e8f0;
        font-size: 11px;
        font-weight: 700;
        text-decoration: none;
        transition: background .2s ease, border-color .2s ease, color .2s ease;
    }
    .site-footer .footer-quick-link:hover {
        border-color: rgba(251,191,36,.45);
        background: rgba(251,191,36,.12);
        color: #fde68a;
    }
    .site-footer .footer-nav-card {
        min-width: 0;
    }
    .site-footer .footer-nav-link {
        color: #cbd5e1;
        text-decoration: none;
        transition: color .2s ease;
    }
    .site-footer .footer-nav-link:hover {
        color: #fcd34d;
    }
    .site-footer .footer-social-link {
        display: inline-flex;
        width: 38px;
        height: 38px;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255,255,255,.1);
        border-radius: 11px;
        background: rgba(255,255,255,.08);
        color: #e2e8f0;
        transition: background .2s ease, color .2s ease, transform .2s ease;
    }
    .site-footer .footer-social-link:hover {
        transform: translateY(-2px);
        background: rgba(251,191,36,.16);
        color: #fcd34d;
    }
    @media (min-width: 640px) {
        .site-footer .footer-accordion .footer-accordion-panel {
            max-height: none !important;
            overflow: visible !important;
        }
    }

/* Standalone site utility rules: authored locally; no external utility framework required. */
.flex {display:flex;}
.inline-flex {display:inline-flex;}
.grid {display:grid;}
.flex-wrap {flex-wrap:wrap;}
.flex-col {flex-direction:column;}
.flex-1 {flex:1 1 0%;}
.flex-shrink-0 {flex-shrink:0;}
.shrink-0 {flex-shrink:0;}
.isolate {isolation:isolate;}
.relative {position:relative;}
.absolute {position:absolute;}
.inset-0 {inset:0;}
.-z-10 {z-index:-10;}
.pointer-events-none {pointer-events:none;}
.overflow-hidden {overflow:hidden;}
.items-center {align-items:center;}
.items-start {align-items:flex-start;}
.justify-between {justify-content:space-between;}
.justify-center {justify-content:center;}
.content-start {align-content:flex-start;}
.place-items-center {place-items:center;}
.mx-auto {margin-left:auto;margin-right:auto;}
.min-w-0 {min-width:0;}
.w-full {width:100%;}
.w-11 {width:2.75rem;}
.w-6 {width:1.5rem;}
.w-5 {width:1.25rem;}
.w-4 {width:1rem;}
.w-72 {width:18rem;}
.w-64 {width:16rem;}
.w-3\\\.5 {width:.875rem;}
.w-\\\[18px\\\] {width:18px;}
.h-72 {height:18rem;}
.h-64 {height:16rem;}
.h-11 {height:2.75rem;}
.h-6 {height:1.5rem;}
.h-5 {height:1.25rem;}
.h-4 {height:1rem;}
.h-3\\\.5 {height:.875rem;}
.h-\\\[18px\\\] {height:18px;}
.max-w-7xl {max-width:80rem;}
.max-w-xl {max-width:36rem;}
.grid-cols-1 {grid-template-columns:repeat(1,minmax(0,1fr));}
.grid-cols-2 {grid-template-columns:repeat(2,minmax(0,1fr));}
.grid-cols-3 {grid-template-columns:repeat(3,minmax(0,1fr));}
.gap-2 {gap:.5rem;}
.gap-3 {gap:.75rem;}
.gap-5 {gap:1.25rem;}
.gap-1\\\.5 {gap:.375rem;}
.gap-x-3 {column-gap:.75rem;}
.gap-x-4 {column-gap:1rem;}
.gap-y-2 {row-gap:.5rem;}
.gap-y-3 {row-gap:.75rem;}
.gap-y-1\\\.5 {row-gap:.375rem;}
.mb-2 {margin-bottom:.5rem;}
.mb-3 {margin-bottom:.75rem;}
.mb-4 {margin-bottom:1rem;}
.mt-1 {margin-top:.25rem;}
.mt-3 {margin-top:.75rem;}
.mt-5 {margin-top:1.25rem;}
.my-5 {margin-top:1.25rem;margin-bottom:1.25rem;}
.pb-4 {padding-bottom:1rem;}
.pb-5 {padding-bottom:1.25rem;}
.pb-6 {padding-bottom:1.5rem;}
.pt-5 {padding-top:1.25rem;}
.px-2 {padding-left:.5rem;padding-right:.5rem;}
.px-2\\\.5 {padding-left:.625rem;padding-right:.625rem;}
.px-3 {padding-left:.75rem;padding-right:.75rem;}
.px-4 {padding-left:1rem;padding-right:1rem;}
.px-5 {padding-left:1.25rem;padding-right:1.25rem;}
.py-2 {padding-top:.5rem;padding-bottom:.5rem;}
.py-2\\\.5 {padding-top:.625rem;padding-bottom:.625rem;}
.py-3 {padding-top:.75rem;padding-bottom:.75rem;}
.py-4 {padding-top: 1.5rem;padding-bottom:1rem;}
.py-6 {padding-top:1.5rem;padding-bottom:1.5rem;}
.py-7 {padding-top:1.75rem;padding-bottom:1.75rem;}
.rounded-full {border-radius:9999px;}
.rounded-lg {border-radius:.5rem;}
.rounded-xl {border-radius:.75rem;}
.rounded-\\\[24px\\\] {border-radius:24px;}
.border {border-width:1px;border-style:solid;}
.border-b {border-bottom-width:1px;border-bottom-style:solid;}
.border-t {border-top-width:1px;border-top-style:solid;}
.border-l-2 {border-left-width:2px;border-left-style:solid;}
.border-r-2 {border-right-width:2px;border-right-style:solid;}
.text-left {text-align:left;}
.text-center {text-align:center;}
.text-justify {text-align:justify;}
.uppercase {text-transform:uppercase;}
.underline {text-decoration-line:underline;}
.no-underline {text-decoration:none;}
.underline-offset-2 {text-underline-offset:2px;}
.truncate {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.font-bold {font-weight:700;}
.font-semibold {font-weight:600;}
.font-medium {font-weight:500;}
.font-extrabold {font-weight:800;}
.font-display {font-family:var(--font-display);}
.leading-none {line-height:1;}
.leading-5 {line-height:1.25rem;}
.leading-6 {line-height:1.5rem;}
.tracking-tight {letter-spacing:-.025em;}
.tracking-wide {letter-spacing:.025em;}
.tracking-\[\\\.14em\] {letter-spacing:.14em;}
.tracking-\[\\\.17em\] {letter-spacing:.17em;}
.text-xs {font-size:.75rem;line-height:1rem;}
.text-sm {font-size:.875rem;line-height:1.25rem;}
.text-xl {font-size:1.25rem;line-height:1.75rem;}
.text-2xl {font-size:1.5rem;line-height:2rem;}
.text-\\\[10px\\\] {font-size:10px;}
.text-\\\[11px\\\] {font-size:11px;}
.text-\\\[27px\\\] {font-size:27px;}
.opacity-40 {opacity:.4;}
.opacity-90 {opacity:.9;}
.opacity-\\\[\\\.12\\\] {opacity:.12;}
.shadow-lg {box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);}
.blur-3xl {filter:blur(64px);}
.transition-colors {transition:color .15s ease,background-color .15s ease,border-color .15s ease;}
.transition-smooth {transition:all .2s ease;}
.decoration-amber-300\\\/40 {text-decoration-color:rgba(252,211,77,.4);}
.bg-comet {background-color:var(--color-comet,#D9AE61);}
.text-comet {color:var(--color-comet,#D9AE61);}
.text-moonlight {color:var(--color-moonlight,#A79FD1);}
.text-starlight {color:var(--color-starlight,#F1EDFB);}
.text-void {color:var(--color-void,#0A0918);}
.bg-nebula-light {background-color:var(--color-nebula-light,#1F1C40);}
.border-nebula-light {border-color:var(--color-nebula-light,#1F1C40);}
.text-amber-300 {color:#fcd34d;}
.text-amber-300\\\/90 {color:rgba(252,211,77,.9);}
.text-amber-200 {color:#fde68a;}
.text-slate-200 {color:#e2e8f0;}
.text-slate-300 {color:#cbd5e1;}
.text-slate-300\\\/80 {color:rgba(203,213,225,.8);}
.text-slate-300\\\/85 {color:rgba(203,213,225,.85);}
.text-slate-400 {color:#94a3b8;}
.text-slate-950 {color:#020617;}
.bg-violet-500\\\/10 {background-color:rgba(139,92,246,.1);}
.bg-amber-400\\\/10 {background-color:rgba(251,191,36,.1);}
.bg-white\\\/\\\[\\\.045\\\] {background-color:rgba(255,255,255,.045);}
.border-slate-800 {border-color:#1e293b;}
.border-white\\\/10 {border-color:rgba(255,255,255,.1);}
.border-amber-300\\\/15 {border-color:rgba(252,211,77,.15);}
.border-amber-300\\\/40 {border-color:rgba(252,211,77,.4);}
.from-amber-300 {--gradient-from:#fcd34d;--gradient-stops:var(--gradient-from),var(--gradient-to);}
.to-amber-500 {--gradient-to:#f59e0b;}
.from-\\\[\#101827\\\] {--gradient-from:#101827;--gradient-stops:var(--gradient-from),var(--gradient-to);}
.via-\\\[\#151b35\\\] {--gradient-via:#151b35;--gradient-stops:var(--gradient-from),var(--gradient-via),var(--gradient-to);}
.to-\\\[\#211b43\\\] {--gradient-to:#211b43;}
.shadow-amber-500\\\/15 {box-shadow:0 10px 15px -3px rgba(245,158,11,.15);}
.bg-gradient-to-br {background-image:linear-gradient(to bottom right,var(--gradient-stops));}
.left-1\\\/4 {left:25%;}
.-right-20 {right:-5rem;}
.-top-24 {top:-6rem;}
.-bottom-28 {bottom:-7rem;}
.shadow-\\\[0_18px_50px_rgba\\\(15\\\,23\\\,42\\\,\\\.22\\\)\\\] {box-shadow:0 18px 50px rgba(15,23,42,.22);}
.hover\:bg-amber-300\/10:hover {background-color:rgba(252,211,77,.1);}
.hover\:border-amber-300\/40:hover {border-color:rgba(252,211,77,.4);}
.hover\:text-amber-200:hover {color:#fde68a;}
.hover\:bg-nebula-light:hover {background-color:var(--color-nebula-light,#1F1C40);}
.hover\:opacity-90:hover {opacity:.9;}
.hover\:text-starlight:hover {color:var(--color-starlight,#F1EDFB);}
@media (min-width:640px){.sm\:gap-6 {gap:1.5rem;}}
@media (min-width:640px){.sm\:gap-8 {gap:2rem;}}
@media (min-width:640px){.sm\:grid-cols-1 {grid-template-columns:repeat(1,minmax(0,1fr));}}
@media (min-width:640px){.sm\:grid-cols-4 {grid-template-columns:repeat(4,minmax(0,1fr));}}
@media (min-width:640px){.sm\:grid-cols-6 {grid-template-columns:repeat(6,minmax(0,1fr));}}
@media (min-width:640px){.sm\:grid-cols-\[1\.1fr_\.9fr\] {grid-template-columns:1.1fr .9fr;}}
@media (min-width:640px){.sm\:hidden {display:none;}}
/*@media (min-width:640px){.sm\:items-start {align-items:flex-start;}}*/
@media (min-width: 640px) {
    .sm\:items-start {
        align-items: flex-start;
    }

    .sm\:items-center {
        align-items: center;
    }
}
@media (min-width: 640px) {
    .sm\:gap-y-2 {
        row-gap: .5rem;
    }
}
@media (min-width: 640px) {
  .zodiac-back {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media (min-width: 640px) {
  .zodiac-back .back-facts {
    margin-top: 10px;
    margin-bottom: 14px;
  }
}
@media (min-width: 640px) {
  .zodiac-back .back-flip {
    margin-top: 12px;
  }
}

@media (min-width:640px){.sm\:justify-start {justify-content:flex-start;}}
@media (min-width:640px){.sm\:my-6 {margin-top:1.5rem;margin-bottom:1.5rem;}}
@media (min-width:640px){.sm\:pb-0 {padding-bottom:0;}}
@media (min-width:640px){.sm\:pointer-events-none {pointer-events:none;}}
@media (min-width:640px){.sm\:px-5 {padding-left:1.25rem;padding-right:1.25rem;}}
@media (min-width:640px){.sm\:px-8 {padding-left:2rem;padding-right:2rem;}}
@media (min-width:640px){.sm\:py-7 {padding-top:1.75rem;padding-bottom:1.75rem;}}
@media (min-width:640px){.sm\:py-9 {padding-top:2.25rem;padding-bottom:2.25rem;}}
@media (min-width:640px){.sm\:text-\[27px\] {font-size:27px;}}
@media (min-width:640px){.lg\:px-10 {padding-left:2.5rem;padding-right:2.5rem;}}


.border-l-\\[\\#D3AC4C\\] { border-left-color:#D3AC4C; }
.border-r-\\[\\#D3AC4C\\] { border-right-color:#D3AC4C; }
.mx-3 { margin-left:.75rem; margin-right:.75rem; }


/* ==========================================================================
   MOBILE + FOOTER REFINEMENTS — November 2026
   Targeted fixes for the supplied ItsMyZodiac mobile screenshots.
   ========================================================================== */

/* Avoid the blue/grey Android tap flash while preserving keyboard focus. */
a,
button,
[role="button"] {
  -webkit-tap-highlight-color: transparent;
}
button:focus:not(:focus-visible) {
  outline: none;
}
.faq-trigger,
.footer-accordion-trigger {
  -webkit-appearance: none;
  appearance: none;
}
.faq-trigger:active,
.faq-trigger:focus,
.faq-trigger:focus-visible {
  color: #374151;
  background: #fff;
}
.faq-item:focus-within {
  border-color: #e8e4da;
}

/* The daily-horoscope intro needs its gold side rails independent of utility classes. */
.home-intro-body {
  border-left: 2px solid #d3ac4c;
  border-right: 2px solid #d3ac4c;
  border-radius: 12px;
}
.home-intro-body a {
  text-decoration: none;
}
.home-intro-body a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Keep the birthday fields and action aligned on desktop/tablet. */
.sign-finder-box {
  align-items: flex-end;
}
.sign-finder-field {
  min-width: 0;
}
.sign-finder-field select,
.sign-finder-field .sf-trigger {
  width: 100%;
}
.sign-finder-box .btn-gold {
  align-self: flex-end;
  white-space: nowrap;
}

/* Mobile navigation: explicit sizing avoids reliance on arbitrary utility selectors. */
/*.mobile-menu {
  box-sizing: border-box;
  width: min(520px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0;
}*/

/* Mobile navigation: preserve equal left and right margins. */
.mobile-menu {
  box-sizing: border-box;
  width: auto;
  max-width: none;
  padding: 0;
}


.mobile-menu > div:first-child {
  min-height: 76px;
  align-items: center;
  padding: 18px 20px;
}
.mobile-menu > div:first-child p {
  margin: 0;
  color: #354052;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.25;
}
.mobile-menu > div:first-child button {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: #647084;
  background: transparent;
}
.mobile-menu > div:first-child button svg {
  display: block;
  width: 22px;
  height: 22px;
}
.mobile-menu nav {
  display: block;
  padding: 10px 12px;
}
.mobile-menu nav > a {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  color: #465064;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
}
.mobile-menu nav > a > svg {
  display: block;
  width: 18px;
  height: 18px;
  min-width: 18px;
  max-width: 18px;
  flex: 0 0 18px;
  color: #b77d0b;
}
.mobile-menu nav > a > span {
  display: block;
  min-width: 0;
  color: #354052;
  font-size: 14px;
  line-height: 1.4;
}
.mobile-menu nav > a:last-child {
  justify-content: center;
  min-height: 44px;
  margin: 10px 0 2px;
  padding: 10px 14px;
  color: #30250e;
  font-size: 14px;
}
.mobile-menu nav > a:last-child svg {
  width: 16px;
  height: 16px;
  min-width: 16px;
  flex-basis: 16px;
  color: currentColor;
}
.mobile-menu nav > a:hover,
.mobile-menu nav > a:active {
  background: #f7f0df;
}
.mobile-menu > div:last-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding: 12px 20px;
}
.mobile-menu > div:last-child a {
  color: #697384;
  font-size: 12px;
  line-height: 1.4;
  text-decoration: none;
}
.mobile-menu > div:last-child a:hover {
  color: #a8790c;
}

/* Footer accordion headers stay transparent; opening adds only a gold outline. */
.site-footer .footer-accordion {
  gap: 8px;
}
.site-footer .footer-nav-card {
  min-width: 0;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
}
.site-footer .footer-accordion-trigger {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #e9c66a;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.site-footer .footer-accordion-trigger:hover,
.site-footer .footer-accordion-trigger:active,
.site-footer .footer-accordion-trigger:focus {
  color: #f2d486;
  background: transparent;
}
.site-footer .footer-nav-card:has(.footer-accordion-trigger[aria-expanded="true"]) {
  border-color: rgba(217, 174, 74, .72);
}
.site-footer .footer-nav-card:has(.footer-accordion-trigger[aria-expanded="true"]) .footer-accordion-trigger {
  border-color: transparent;
  border-bottom-color: rgba(217, 174, 74, .28);
  border-radius: 10px 10px 0 0;
}
.site-footer .footer-accordion-panel {
  background: transparent;
}
.site-footer .footer-accordion-panel .accordion-panel-inner {
  padding: 8px 10px 10px;
}
.site-footer .footer-accordion-panel ul {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 7px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer .footer-accordion-panel li {
  min-width: 0;
  margin: 0;
  padding: 0;
}
.site-footer .footer-accordion-panel .footer-nav-link {
  display: block;
  min-width: 0;
  padding: 3px 0;
  color: #cbd5e1;
  font-size: 12px;
  line-height: 1.45;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.site-footer .footer-accordion-panel .footer-nav-link:hover {
  color: #f2d486;
}
.site-footer .footer-accordion-trigger .accordion-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: #e9c66a;
}
.site-footer .footer-responsible-notice,
.site-footer .footer-responsible-notice p {
  font-size: 12px;
  line-height: 1.6;
}
.site-footer .footer-sign-heading {
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 1.5;
}
.site-footer .footer-zodiac-link {
  min-width: 0;
  gap: 6px;
  padding: 7px 8px;
  font-size: 11px;
  line-height: 1.3;
  text-decoration: none;
  font-weight: 600;
}
.site-footer .footer-zodiac-link img {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}
.site-footer .footer-disclaimer,
.site-footer .footer-disclaimer a {
  font-size: 11px;
  line-height: 1.55;
  text-decoration: none;
}
.site-footer .footer-disclaimer a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Small screens: compact finder layout and full-width mobile accordion content. */
@media (max-width: 639px) {
  .site-footer .footer-accordion-panel ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sign-finder-box {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
    gap: 12px 10px;
    padding: 16px;
  }
  .sign-finder-field {
    width: 100%;
    min-width: 0;
  }
  .sign-finder-field select,
  .sign-finder-field .sf-trigger {
    min-width: 0;
    width: 100%;
    font-size: 14px;
  }
  .sign-finder-box .btn-gold {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 46px;
    justify-self: stretch;
    padding: 0 16px;
  }
  .site-footer .footer-accordion {
    gap: 6px;
  }
  .site-footer .footer-accordion-panel .accordion-panel-inner {
    padding: 7px 9px 9px;
  }
  .site-footer .footer-accordion-panel ul {
    column-gap: 8px;
    row-gap: 6px;
  }
  .site-footer .footer-accordion-panel .footer-nav-link {
    font-size: 11px;
  }
  .site-footer .footer-responsible-notice {
    margin-top: 16px;
    margin-bottom: 16px;
    padding: 10px 12px;
  }
  .site-footer .footer-sign-heading {
    margin-bottom: 8px;
    font-size: 10px;
    letter-spacing: .12em;
  }
  .site-footer .footer-zodiac-link {
    padding: 6px 6px;
    font-size: 10px;
  }
}

@media (max-width: 380px) {
  /*.mobile-menu {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }*/
  
  .site-footer .footer-accordion-panel ul {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* Footer accordion: sm:grid-cols-1 must win from the 640px breakpoint upward. */
@media (min-width: 640px) {
  .site-footer .footer-accordion-panel ul {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* Header WhatsApp icon: explicit dimensions for the local-CSS build. */
.site-header .nav-cta .nav-whatsapp-icon {
  display: inline-block;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  vertical-align: middle;
}


/* Footer shortcut links: exactly two rows on sm+ (three columns). */
.site-footer .footer-quick-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 8px;
  min-width: 0;
}
.site-footer .footer-quick-links .footer-quick-link {
  min-width: 0;
  padding: 8px 9px;
  white-space: nowrap;
  font-size: 10px;
}
@media (max-width: 639px) {
  .site-footer .footer-quick-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-footer .footer-quick-links .footer-quick-link {
    white-space: normal;
    font-size: 11px;
  }
}


/* Soft rounded footer dividers. */
.site-footer .footer-divider {
  position: relative;
  border-bottom: 0 !important;
}
.site-footer .footer-divider::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .28);
  pointer-events: none;
}


/* Footer copyright and disclaimer treatment. */
.site-footer .footer-copyright {
  font-size: 10px;
  line-height: 1.45;
}
.site-footer .footer-disclaimer {
  font-size: 9px;
  line-height: 1.5;
}
.site-footer .footer-disclaimer-link {
  color: #e9c66a;
  text-decoration: underline;
  text-decoration-color: rgba(233, 198, 106, .8);
  text-underline-offset: 2px;
}
.site-footer .footer-disclaimer-link:hover {
  color: #f6d98b;
}
@media (min-width: 640px) {
  .site-footer .footer-accordion {
    padding-top: 14px;
    padding-bottom: 14px;
    row-gap: 14px;
  }
  .site-footer .footer-accordion .footer-accordion-trigger {
    padding-top: 7px;
    padding-bottom: 7px;
  }
  .site-footer .footer-accordion .footer-accordion-panel .accordion-panel-inner {
    padding-top: 5px;
    padding-bottom: 6px;
  }
  .site-footer .footer-responsible-notice {
    margin-top: 14px;
    margin-bottom: 14px;
  }
}



/* Newsletter subscription */
.newsletter-card {
    padding: 24px;
    margin: 4px 0;
    border: 1px solid rgba(160, 125, 65, .22);
    border-radius: 16px;
    background: linear-gradient(145deg, #fffdf8, #f8f1e5);
}

.newsletter-kicker {
    display: block;
    margin-bottom: 10px;
    color: #98743c;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.newsletter-card h3 {
    margin: 0 0 9px;
    color: #342d25;
    font-family: var(--font-display);
    font-size: 22px;
    line-height: 1.3;
}

.newsletter-card > p {
    margin: 0 0 18px;
    color: #71685d;
    font-size: 13px;
    line-height: 1.65;
}

.newsletter-card form {
    display: grid;
    gap: 10px;
}

.newsletter-card input[type="email"] {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 12px 13px;
    border: 1px solid #e4d9c7;
    border-radius: 9px;
    outline: none;
    background: #fff;
    color: #342d25;
    font: inherit;
    font-size: 13px;
}

.newsletter-card input[type="email"]:focus {
    border-color: #a78349;
    box-shadow: 0 0 0 3px rgba(167, 131, 73, .12);
}

.newsletter-card button {
    width: 100%;
    padding: 12px 16px;
    border: 0;
    border-radius: 9px;
    background: #8b682e;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, opacity .2s ease;
}

.newsletter-card button:hover {
    background: #705123;
}

.newsletter-card button:disabled {
    cursor: wait;
    opacity: .65;
}

.newsletter-card small {
    display: block;
    margin-top: 13px;
    color: #82786b;
    font-size: 10px;
    line-height: 1.5;
}

.newsletter-message {
    display: none;
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
}

.newsletter-message.is-success,
.newsletter-message.is-error {
    display: block;
}

.newsletter-message.is-success {
    color: #287447;
}

.newsletter-message.is-error {
    color: #b33b32;
}

.newsletter-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}



/* ------ BACK TO TOP BUTTON ------ */

.back-to-top {
    position: fixed;
    right: 16px;
    bottom: 18px;
    z-index: 100;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 215, 120, 0.75);
    border-radius: 12px;
    background: linear-gradient(145deg, #ffe08a 0%, #fbbf24 48%, #d99016 100%);
    color: #172033;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.22);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease,
                visibility .25s ease, background .2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.back-to-top:hover {
    background: linear-gradient(145deg, #ffebad, #fbbf24);
}

.back-to-top:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

@media (max-width: 600px) {
    .back-to-top {
        right: 12px;
        bottom: 14px;
        width: 42px;
        height: 42px;
        border-radius: 11px;
    }
}


