/* Horoscope SEO pages — extends zodiac-sign editorial tokens */

body.hz-page {
  margin: 0;
  min-height: 100vh;
  color: var(--zs-ink, #152033);
  font-family: var(--zs-font, "Outfit", "Noto Sans", sans-serif);
  background:
    radial-gradient(720px 360px at 0% 0%, rgba(47, 111, 237, 0.06), transparent 55%),
    radial-gradient(560px 320px at 100% 0%, rgba(232, 107, 107, 0.05), transparent 50%),
    var(--zs-bg, #fff);
  background-attachment: fixed;
}

.hz-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 20px 64px;
}

.hz-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.hz-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.hz-brand__logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.hz-brand__title {
  margin: 0;
  font-family: var(--zs-display, "Fraunces", Georgia, serif);
  font-size: 1.15rem;
  font-weight: 700;
}

.hz-brand__sub {
  margin: 2px 0 0;
  font-size: 0.82rem;
  color: var(--zs-muted, #5f6b80);
}

.hz-period-nav {
  display: flex;
  gap: 4px;
  margin: 0 0 18px;
  padding: 4px;
  border-radius: 12px;
  background: var(--zs-soft, #f5f7fb);
}

.hz-period-nav a {
  flex: 1;
  text-align: center;
  text-decoration: none;
  color: var(--zs-muted, #5f6b80);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 8px;
  border-radius: 10px;
}

.hz-period-nav a.is-active {
  background: var(--zs-bg, #fff);
  color: var(--zs-ink, #152033);
  box-shadow: 0 1px 2px rgba(21, 32, 51, 0.08);
}

.hz-hero {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--zs-line, rgba(21, 32, 51, 0.1));
}

.hz-hero__mark {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
}

.hz-hero__mark svg {
  width: 72px;
  height: 72px;
  display: block;
}

.hz-hero__kicker {
  margin: 0 0 4px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--zs-muted, #5f6b80);
}

.hz-hero__title {
  margin: 0;
  font-family: var(--zs-display, "Fraunces", Georgia, serif);
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
}

.hz-hero__when {
  margin: 6px 0 0;
  color: var(--zs-muted, #5f6b80);
  font-size: 0.95rem;
}

/* SVG sign rail — newspaper jump nav */
.hz-sign-rail {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin: 0 0 22px;
  padding: 10px 8px;
  background: color-mix(in srgb, var(--zs-bg, #fff) 92%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--zs-line, rgba(21, 32, 51, 0.1));
  border-radius: 14px;
}

@media (min-width: 560px) {
  .hz-sign-rail {
    grid-template-columns: repeat(12, 1fr);
  }
}

.hz-sign-rail a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  color: var(--zs-ink, #152033);
  padding: 4px 2px;
  border-radius: 10px;
  transition: background 0.15s ease;
}

.hz-sign-rail a:hover,
.hz-sign-rail a.is-current {
  background: var(--zs-soft, #f5f7fb);
}

.hz-sign-rail svg {
  width: 36px;
  height: 36px;
  display: block;
}

.hz-sign-rail__name {
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  color: var(--zs-muted, #5f6b80);
}

.hz-article {
  margin: 0 0 28px;
  padding: 0 0 24px;
  border-bottom: 1px solid var(--zs-line, rgba(21, 32, 51, 0.1));
  scroll-margin-top: 96px;
}

.hz-article__head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}

.hz-article__head svg {
  width: 56px;
  height: 56px;
}

.hz-article__name {
  margin: 0;
  font-family: var(--zs-display, "Fraunces", Georgia, serif);
  font-size: 1.45rem;
  font-weight: 700;
}

.hz-article__en {
  margin: 2px 0 0;
  font-size: 0.85rem;
  color: var(--zs-muted, #5f6b80);
}

.hz-section {
  margin: 1.1rem 0;
}

.hz-section h2 {
  margin: 0 0 0.45rem;
  font-family: var(--zs-display, "Fraunces", Georgia, serif);
  font-size: 1.15rem;
  font-weight: 700;
}

.hz-section h2.hz-love { color: var(--zs-love, #e86b6b); }
.hz-section h2.hz-career { color: var(--zs-career, #2f6fed); }
.hz-section h2.hz-finance { color: var(--zs-finance, #1f9d6a); }
.hz-section h2.hz-health { color: var(--zs-health, #e08a2e); }

.hz-section p {
  margin: 0 0 0.7rem;
  line-height: 1.65;
  font-size: 1.02rem;
  white-space: pre-line;
}

.hz-lucky {
  background: var(--zs-soft, #f5f7fb);
  border-radius: 14px;
  padding: 14px 16px;
}

.hz-lucky p {
  margin: 0.25rem 0;
}

.hz-links {
  margin-top: 1.5rem;
}

.hz-links ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
}

.hz-links a {
  color: var(--zs-career, #2f6fed);
}

.hz-footer {
  margin-top: 28px;
  font-size: 0.82rem;
  color: var(--zs-muted, #5f6b80);
}

.hz-edition-lead {
  margin: 0 0 18px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--zs-muted, #5f6b80);
}

.hz-to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--zs-line, rgba(21, 32, 51, 0.1));
  background: var(--zs-bg, #fff);
  color: var(--zs-ink, #152033);
  font-size: 1.1rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(21, 32, 51, 0.12);
}
