/*
Theme Name: Horoskooppi.app
Theme URI: https://horoskooppi.app
Author: Sakke
Description: Modern luxury app theme for horoskooppi.app — daily horoscopes for 12 zodiac signs in Finnish.
Version: 1.0.0
License: Proprietary
Text Domain: horoskooppi-app
*/

*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg: #050817;
  --bg-2: #0A0E20;
  --bg-elevated: #0F1428;
  --bg-card: rgba(15, 20, 40, 0.6);
  --gold: #D4AF37;
  --gold-bright: #F0CE7A;
  --gold-soft: rgba(212, 175, 55, 0.15);
  --text: #F8F4E3;
  --text-muted: #A8A2BC;
  --text-dim: #6E6586;
  --border: rgba(212, 175, 55, 0.18);
  --border-bright: rgba(212, 175, 55, 0.45);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 32px rgba(212, 175, 55, 0.15);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: var(--bg); }

/* ===== STICKY APP HEADER ===== */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: none;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand { display: flex; align-items: center; gap: 10px; }

.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text);
}

.nav-tabs {
  display: flex;
  gap: 2px;
  background: var(--bg-elevated);
  padding: 4px;
  border-radius: 100px;
  border: 1px solid var(--border);
}

.nav-tabs a {
  padding: 8px 16px;
  font-size: 13px;
  color: var(--text-muted);
  border-radius: 100px;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-tabs a:hover { color: var(--text); }
.nav-tabs a.active {
  background: var(--gold);
  color: var(--bg);
  font-weight: 500;
}

@media (max-width: 800px) {
  .nav-tabs { display: none; }
  .header-inner { padding: 12px 20px; }
}

.mobile-action {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 18px;
  color: var(--gold);
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-elevated);
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  line-height: 1;
}

@media (max-width: 800px) {
  .mobile-action { display: flex; }
}

/* ===== MOBILE DRAWER ===== */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 8, 23, 0.7);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 201;
  width: 78%;
  max-width: 320px;
  height: 100%;
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
  padding: 72px 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}
.mobile-drawer a {
  padding: 14px 16px;
  font-size: 16px;
  color: var(--text);
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}
.mobile-drawer a:hover { background: var(--bg-elevated); }
.mobile-drawer a.active {
  background: var(--gold);
  color: var(--bg);
  font-weight: 500;
}
.mobile-drawer-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  font-size: 28px;
  line-height: 1;
  color: var(--gold);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}
/* Open state — toggled via body class */
body.drawer-open .mobile-drawer-overlay { opacity: 1; }
body.drawer-open .mobile-drawer { transform: translateX(0); }
body.drawer-open { overflow: hidden; }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 64px 24px 48px;
  background-image: 
    radial-gradient(ellipse at 50% 40%, rgba(212,175,55,0.12) 0%, transparent 50%),
    linear-gradient(180deg, transparent 0%, var(--bg) 95%),
    var(--hero-bg, none);
  background-size: cover;
  background-position: center;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-bright);
  border-radius: 100px;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.live-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 8px var(--gold);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.5px;
  margin: 0 0 20px;
}

.hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* ===== ASTRO STATS BAR ===== */
.astro-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  max-width: 800px;
  margin: 0 auto;
  background: rgba(15, 20, 40, 0.4);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 8px;
  backdrop-filter: blur(12px);
}

@media (max-width: 700px) {
  .astro-bar { grid-template-columns: repeat(2, 1fr); }
}

.astro-stat { padding: 14px 12px; border-radius: 10px; transition: background 0.2s; }
.astro-stat:hover { background: rgba(212, 175, 55, 0.05); }

.astro-stat-label {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.astro-stat-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--text);
  line-height: 1.1;
  font-weight: 500;
}

.astro-stat-detail { font-size: 10px; color: var(--gold); margin-top: 2px; }

/* ===== SECTION ===== */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 24px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  gap: 16px;
}

.section-head > div:first-child {
  max-width: 820px;
}

.section-head h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 400;
  margin: 0 0 4px;
}

.section-head .eyebrow {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.section-head-link {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s;
}

.section-head-link:hover { color: var(--gold); }
.section-head-link::after { content: ' →'; color: var(--gold); }

/* Prose-width: text-heavy content readable line length (65-75 chars) */
.prose,
.ascendant-intro,
.ascendant-explainer,
.glossary-cat-desc,
.ascendant-list-intro {
  max-width: 820px;
}

/* ===== SIGN PICKER ===== */
.sign-picker-wrap {
  position: relative;
}

.sign-picker {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

@media (max-width: 1100px) {
  .sign-picker { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 600px) {
  .sign-picker-wrap {
    margin: 0 -24px;
    overflow: hidden;
    width: calc(100% + 48px);
  }
  .sign-picker {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 24px 8px;
    gap: 10px;
    scrollbar-width: none;
    grid-template-columns: none;
  }
  .sign-picker::-webkit-scrollbar { display: none; }
}

.sign-pill {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

@media (max-width: 600px) {
  .sign-pill { flex: 0 0 80px; scroll-snap-align: start; }
}

.sign-pill:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.sign-pill.featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(212,175,55,0.12) 0%, var(--bg-elevated) 70%);
  box-shadow: var(--shadow-glow);
}

.sign-pill.featured::before {
  content: '★';
  position: absolute;
  top: -6px; right: -6px;
  width: 18px; height: 18px;
  background: var(--gold);
  color: var(--bg);
  border-radius: 50%;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.sign-pill-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
}

.sign-pill-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sign-pill:hover .sign-pill-icon img { transform: scale(1.1) rotate(3deg); }

.placeholder-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  color: var(--gold);
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-2));
}

.sign-pill-name {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  font-weight: 500;
}

.sign-pill:hover .sign-pill-name { color: var(--text); }
.sign-pill.featured .sign-pill-name { color: var(--gold); }

/* ===== FEATURED BLOCK ===== */
.featured-block {
  background: linear-gradient(135deg, rgba(212,175,55,0.1) 0%, var(--bg-elevated) 80%);
  border: 1px solid var(--border-bright);
  border-radius: 24px;
  padding: 36px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 56px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

@media (max-width: 700px) {
  .featured-block {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 24px;
    gap: 20px;
  }
}

.featured-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.featured-icon-wrap {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
}

@media (max-width: 700px) {
  .featured-icon-wrap { width: 160px; height: 160px; margin: 0 auto; }
}

.featured-icon-wrap img { width: 100%; height: 100%; object-fit: cover; }

.featured-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.featured-tag::before { content: '★'; font-size: 14px; }

.featured-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px;
  font-weight: 500;
  margin: 0 0 4px;
  line-height: 1;
}

.featured-dates {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.featured-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 24px;
  max-width: 600px;
}

.featured-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--gold);
  color: var(--bg);
  border-radius: 100px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.25s;
}

.featured-link:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
}

@media (max-width: 700px) { .featured-link { margin: 0 auto; } }

/* ===== SIGN CARDS GRID ===== */
.sign-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 1000px) { .sign-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .sign-cards-grid { grid-template-columns: 1fr; } }

.sign-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px 22px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  display: block;
}

.sign-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-bright);
  box-shadow: var(--shadow-glow);
}

.sign-card.featured-card {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(212,175,55,0.08) 0%, var(--bg-elevated) 100%);
}

.card-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--gold);
  color: var(--bg);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}

.sign-card-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--border-bright);
  margin-bottom: 16px;
  background: var(--bg);
}

.sign-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.sign-card:hover .sign-card-icon img { transform: scale(1.08); }

.sign-card-meta { margin-bottom: 14px; }

.sign-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  margin: 0 0 4px;
  line-height: 1.1;
}

.sign-card-dates {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
}

.sign-card-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 16px;
}

.sign-card-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.tag {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--text-muted);
  padding: 4px 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
}

.sign-card-cta {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.arrow { transition: transform 0.2s; display: inline-block; }
.sign-card:hover .arrow { transform: translateX(4px); }

/* ===== QUICK ACTIONS ===== */
.quick-actions {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 56px 0 0;
}

.quick-actions-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 800px) {
  .quick-actions-inner { grid-template-columns: repeat(2, 1fr); }
}

.quick-action {
  padding: 20px 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.25s;
  min-width: 0;
}

.quick-action:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  background: var(--bg-elevated);
}

.quick-action-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--gold);
  background: linear-gradient(135deg, rgba(212,175,55,0.05), transparent);
}

.quick-action-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.quick-action-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quick-action-sub {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 600px) {
  .quick-action {
    padding: 16px 14px;
    gap: 10px;
  }
  .quick-action-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  .quick-action-title {
    font-size: 13px;
  }
  .quick-action-sub {
    font-size: 10px;
  }
}

/* ===== EXPLORE TILES ===== */
.explore-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 800px) { .explore-tiles { grid-template-columns: 1fr; } }

.tile {
  padding: 32px 28px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: all 0.25s;
  display: block;
}

.tile:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.tile-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(212,175,55,0.08), transparent);
}

.tile-eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.tile h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  margin: 0 0 12px;
}

.tile p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 18px;
}

.tile-chips { display: flex; flex-wrap: wrap; gap: 6px; }

.tile-chip {
  font-size: 11px;
  color: var(--text-muted);
  padding: 5px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all 0.2s;
}

.tile-chip:hover { border-color: var(--gold); color: var(--gold); }

/* ===== MOON WIDGET ===== */
.moon-widget {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: calc(100vw - 40px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 12px;
  background: rgba(15, 20, 40, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-bright);
  border-radius: 100px;
  font-size: 12px;
  z-index: 50;
  box-shadow: var(--shadow);
}

.moon-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: 
    radial-gradient(circle at 32% 50%, var(--gold) 0%, var(--gold) 38%, transparent 39%),
    #1a1f3a;
  border: 1px solid var(--gold);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

.moon-text { color: var(--text-muted); white-space: nowrap; }
.moon-text strong { color: var(--gold); font-weight: 500; }

@media (max-width: 600px) { .moon-widget { display: none; } }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 60px 24px 40px;
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
  margin-top: 80px;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.site-footer p { margin: 6px 0; }

.site-footer a {
  color: var(--text-muted);
  margin: 0 12px;
  transition: color 0.2s;
}

.site-footer a:hover { color: var(--gold); }

.footer-divider {
  width: 60px;
  height: 1px;
  background: var(--border-bright);
  margin: 24px auto;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 24px auto;
  text-align: left;
}

.footer-col h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.footer-col p {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

.footer-col a {
  margin: 0 !important;
  font-size: 14px;
  text-align: left;
}

@media (max-width: 700px) {
  .footer-cols {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .footer-col p { align-items: center; }
}

/* ============================================================
   SINGLE MERKKI DAILY — /horoskooppi/{sign}/tanaan/
   ============================================================ */

/* Breadcrumbs */
.breadcrumbs {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  font-size: 12px;
}

.breadcrumbs-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumbs a:hover { color: var(--gold); }

.breadcrumb-sep { color: var(--text-dim); }
.breadcrumb-current { color: var(--gold); }

/* Hero */
.merkki-hero {
  padding: 60px 24px 48px;
  background: 
    radial-gradient(ellipse at 50% 0%, rgba(212,175,55,0.08) 0%, transparent 60%),
    var(--bg);
}

.merkki-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 700px) {
  .merkki-hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
}

.merkki-hero-icon {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.3);
  margin: 0 auto;
  background: var(--bg-elevated);
}

@media (max-width: 700px) {
  .merkki-hero-icon { width: 160px; height: 160px; }
}

.merkki-hero-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.merkki-hero-content { min-width: 0; }

.merkki-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 400;
  line-height: 1;
  margin: 16px 0 12px;
  letter-spacing: -0.5px;
}

.merkki-hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.merkki-hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 20px;
}

@media (min-width: 701px) {
  .merkki-hero-meta { justify-content: flex-start; }
}

.meta-sep { color: var(--gold); }
.meta-item { color: var(--text-muted); }

.merkki-hero-summary {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 2.5vw, 24px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
  margin: 0;
  max-width: 560px;
}

@media (max-width: 700px) {
  .merkki-hero-summary { margin: 0 auto; }
}

/* Date navigation */
.date-nav {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
}

.date-nav-inner {
  max-width: 700px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}

/* Single-day mode: only Tänään-marker shown, centered */
.date-nav-inner.date-nav-single {
  grid-template-columns: auto;
  justify-content: center;
}

.date-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  text-decoration: none;
  color: var(--text-muted);
  transition: all 0.2s;
}

.date-nav-link:first-child { justify-self: start; }
.date-nav-link:last-child  { justify-self: end; }

.date-nav-link:hover {
  border-color: var(--gold);
  color: var(--text);
}

.date-nav-link.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.date-nav-link.disabled:hover {
  border-color: var(--border);
}

.date-arrow { color: var(--gold); font-size: 14px; }
.date-label {
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--text-dim);
}
.date-value { font-weight: 500; }

.date-nav-current {
  text-align: center;
  padding: 8px 18px;
  background: linear-gradient(135deg, rgba(212,175,55,0.15), transparent);
  border: 1px solid var(--border-bright);
  border-radius: 100px;
}

.date-nav-current .date-label { color: var(--gold); display: block; }
.date-nav-current .date-value { color: var(--text); font-weight: 600; font-size: 13px; }

/* Horoscope content */
.horoscope-content {
  padding: 60px 24px;
}

.horoscope-inner {
  max-width: 760px;
  margin: 0 auto;
}

.horoscope-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.horoscope-section:last-child {
  border-bottom: none;
}

.horoscope-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-bright);
  border-radius: 10px;
  font-size: 18px;
  color: var(--gold);
  background: linear-gradient(135deg, rgba(212,175,55,0.08), transparent);
  font-family: 'Inter', sans-serif;
  flex-shrink: 0;
}

.horoscope-section p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  margin: 0;
}

/* Astro background section — slightly different style */
.astro-bg-section {
  background: linear-gradient(135deg, rgba(212,175,55,0.05), transparent 60%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 40px;
}

.astro-bg-section p {
  font-size: 15px;
  color: var(--text-muted);
  font-style: italic;
}

/* Advice section — emphasized */
.advice-section .advice-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-style: italic;
  line-height: 1.5;
  color: var(--gold);
  text-align: center;
  padding: 16px 0;
}

/* Context section — astrological grid */
.context-section .astro-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 16px;
}

@media (max-width: 700px) {
  .context-section .astro-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.astro-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
}

.astro-item .astro-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.astro-item .astro-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}

.astro-item .astro-detail {
  font-size: 10px;
  color: var(--gold);
  margin-top: 2px;
}

/* Author byline */
.horoscope-byline {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-top: 40px;
}

.byline-photo-link {
  flex-shrink: 0;
  display: block;
  line-height: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  transition: transform 0.2s, border-color 0.2s;
}

.byline-photo-link:hover {
  transform: scale(1.05);
  border-color: var(--gold-bright);
}

.byline-photo {
  width: 56px;
  height: 56px;
  object-fit: cover;
  display: block;
}

.byline-content { flex: 1; min-width: 0; }

.byline-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.byline-name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.byline-name a:hover {
  color: var(--gold);
}

.byline-role {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.byline-meta {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 4px;
  letter-spacing: 0.5px;
}

/* Author bio block — bigger, on pillar pages */
.author-bio-block {
  margin: 32px 0 0;
  padding: 32px;
  background: linear-gradient(135deg, rgba(212,175,55,0.06), transparent 60%), var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.author-bio-inner {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  align-items: center;
}

@media (max-width: 600px) {
  .author-bio-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }
}

.author-bio-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: 0 4px 24px rgba(212, 175, 55, 0.25);
  margin: 0 auto;
}

.author-bio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.author-bio-eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.author-bio-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 4px;
  line-height: 1.1;
}

.author-bio-role {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  margin-bottom: 14px;
}

.author-bio-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 12px;
}

.author-bio-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .author-bio-meta {
    justify-content: center;
  }
}

.author-bio-date {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

.author-bio-link {
  display: inline-block;
  font-size: 13px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.3px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.author-bio-link:hover {
  border-bottom-color: var(--gold);
}

/* Other signs grid */
.other-signs-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 60px 24px;
}

.other-signs-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.other-signs-grid {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 8px;
  margin-top: 24px;
}

@media (max-width: 1100px) {
  .other-signs-grid { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 600px) {
  .other-signs-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin: 24px -24px 0;
    padding: 4px 24px;
    gap: 10px;
    scrollbar-width: none;
  }
  .other-signs-grid::-webkit-scrollbar { display: none; }
}

.other-sign-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 8px 10px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

@media (max-width: 600px) {
  .other-sign-card {
    flex: 0 0 80px;
    scroll-snap-align: start;
  }
}

.other-sign-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.other-sign-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
}

.other-sign-icon img { width: 100%; height: 100%; object-fit: cover; }

.other-sign-name {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.other-sign-dates {
  font-size: 9px;
  color: var(--text-dim);
  letter-spacing: 0.3px;
}

.other-sign-card:hover .other-sign-name { color: var(--text); }

/* Related section */
.related-section {
  padding: 60px 24px;
}

.related-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.related-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

@media (max-width: 800px) {
  .related-tiles { grid-template-columns: 1fr; }
}

.related-tile {
  padding: 28px 26px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.25s;
}

.related-tile:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.related-tile.related-tile-soon {
  opacity: 0.6;
  cursor: default;
}

.related-tile.related-tile-soon:hover {
  border-color: var(--border);
  transform: none;
}

.related-tile-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(212,175,55,0.08), transparent);
}

.related-tile-eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.related-tile h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 10px;
}

.related-tile p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   PILLAR PAGE — /{sign}/
   ============================================================ */

/* Hero */
.pillar-hero {
  padding: 80px 24px 60px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212,175,55,0.12) 0%, transparent 60%),
    var(--bg);
}

.pillar-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 800px) {
  .pillar-hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
}

.pillar-hero-icon {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: 0 0 80px rgba(212, 175, 55, 0.4);
  margin: 0 auto;
  background: var(--bg-elevated);
}

@media (max-width: 800px) {
  .pillar-hero-icon { width: 200px; height: 200px; }
}

.pillar-hero-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pillar-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 400;
  line-height: 1;
  margin: 12px 0 16px;
  letter-spacing: -1px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pillar-hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 2.5vw, 24px);
  font-style: italic;
  color: var(--text);
  margin: 0 0 28px;
  line-height: 1.5;
}

.pillar-hero-cta {
  margin-top: 24px;
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.25s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--bg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.1);
}

/* Quick Facts */
.pillar-facts {
  padding: 48px 24px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pillar-facts-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.pillar-facts-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 500;
  margin: 0 0 24px;
  text-align: center;
}

.pillar-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 800px) {
  .pillar-facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.fact-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 14px;
  text-align: center;
}

.fact-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.fact-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--text);
  font-weight: 500;
}

/* Table of Contents — sticky nav */
.pillar-toc {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 8, 23, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px;
}

.pillar-toc-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  font-size: 13px;
}

.pillar-toc-inner::-webkit-scrollbar { display: none; }

.toc-label {
  color: var(--gold);
  font-weight: 500;
  flex-shrink: 0;
}

.pillar-toc a {
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

.pillar-toc a:hover {
  color: var(--gold);
}

/* Main content */
.pillar-content {
  padding: 60px 24px;
}

.pillar-content-inner {
  max-width: 800px;
  margin: 0 auto;
}

.pillar-section {
  margin-bottom: 60px;
  scroll-margin-top: 80px;
}

.pillar-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.pillar-section h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  margin: 28px 0 12px;
  color: var(--gold);
}

.pillar-section p {
  font-size: 17px;
  line-height: 1.75;
  margin: 0 0 16px;
  color: var(--text);
}

/* Strengths & weaknesses */
.strengths-weaknesses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 24px 0;
}

@media (max-width: 700px) {
  .strengths-weaknesses { grid-template-columns: 1fr; }
}

.sw-column {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

.sw-strengths {
  border-left: 3px solid #6ec6a4;
}

.sw-weaknesses {
  border-left: 3px solid #d4a657;
}

.sw-column h3 {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
}

.sw-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
}

.sw-strengths .sw-icon {
  background: rgba(110, 198, 164, 0.2);
  color: #6ec6a4;
}

.sw-weaknesses .sw-icon {
  background: rgba(212, 166, 87, 0.2);
  color: #d4a657;
}

.sw-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sw-column li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.5;
}

.sw-column li:last-child {
  border-bottom: none;
}

.sw-column li strong {
  color: var(--text);
}

.sw-note {
  font-style: italic;
  font-size: 14px;
  color: var(--text-muted);
  background: var(--bg-elevated);
  padding: 16px 20px;
  border-radius: 12px;
  border-left: 3px solid var(--gold);
}

/* Compatibility */
.compat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0 28px;
}

@media (max-width: 700px) {
  .compat-grid { grid-template-columns: 1fr; }
}

.compat-card {
  padding: 16px 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.compat-best { border-left: 3px solid #6ec6a4; }
.compat-challenging { border-left: 3px solid #d4a657; }

.compat-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 4px;
}

.compat-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

.compat-note {
  font-style: italic;
  color: var(--text-muted);
  font-size: 14px;
}

/* Career */
.career-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

@media (max-width: 600px) {
  .career-list { grid-template-columns: 1fr; }
}

.career-list li {
  padding: 12px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
}

.career-avoid li {
  border-left: 3px solid #c97373;
}

/* Famous people */
.famous-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 16px 0 28px;
}

@media (max-width: 700px) {
  .famous-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .famous-grid { grid-template-columns: 1fr; }
}

.famous-card {
  padding: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  border-left: 3px solid var(--gold);
}

.famous-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
}

.famous-role {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.famous-bd {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.5px;
}

/* Algoritminen astro section */
.pillar-section-astro {
  background: linear-gradient(135deg, rgba(212,175,55,0.05), transparent 70%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
}

.astro-intro {
  font-style: italic;
  color: var(--text-muted);
  font-size: 14px;
}

.transit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}

@media (max-width: 800px) {
  .transit-grid { grid-template-columns: 1fr; }
}

.transit-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}

.transit-planet {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 4px;
}

.transit-position {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.transit-effect {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
}

.astro-cta {
  text-align: center;
  margin-top: 24px;
}

/* FAQ — Legacy styles for /kiinalainen-horoskooppi/ pillar page only */
.pillar-faq h2 {
  margin-bottom: 20px;
}

.pillar-faq .faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pillar-faq .faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
}

.pillar-faq .faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pillar-faq .faq-item summary::-webkit-details-marker { display: none; }

.pillar-faq .faq-item summary::after {
  content: '+';
  color: var(--gold);
  font-size: 22px;
  font-weight: 300;
  transition: transform 0.2s;
}

.pillar-faq .faq-item[open] summary::after {
  transform: rotate(45deg);
}

.pillar-faq .faq-item summary:hover {
  color: var(--gold);
}

.pillar-faq .faq-answer {
  padding: 0 20px 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ========================================================================
   INFO PAGES — /tietoa/, /toimitus/, /yhteystiedot/, /tietosuoja/, /helmi-tahtinen/
   ======================================================================== */

.info-page {
  padding: 40px 20px 60px;
  background: var(--bg);
  color: var(--text);
}
.info-page-inner {
  max-width: 760px;
  margin: 0 auto;
}
.info-page-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.info-page-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  color: var(--gold);
  margin: 0 0 12px;
  line-height: 1.1;
}
.info-lead {
  font-size: 18px;
  color: var(--text-muted);
  font-style: italic;
  margin: 0;
}
.info-section {
  margin-bottom: 40px;
}
.info-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--gold);
  margin: 0 0 16px;
}
.info-section h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
  margin: 24px 0 12px;
}
.info-section p,
.info-section li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}
.info-section ul {
  padding-left: 24px;
  margin-bottom: 16px;
}
.info-section li {
  margin-bottom: 8px;
}
.info-section a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(212, 175, 55, 0.4);
}
.info-section a:hover {
  text-decoration-color: var(--gold);
}

/* Team member card */
.team-member-card {
  display: flex;
  gap: 24px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  margin-top: 24px;
}
.team-member-photo {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
}
.team-member-photo img {
  width: 120px;
  height: 120px;
  min-width: 120px;
  min-height: 120px;
  max-width: 120px;
  max-height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  display: block;
  aspect-ratio: 1 / 1;
}
.team-member-info h3 {
  margin: 0 0 4px;
}
.team-member-role {
  color: var(--gold);
  font-size: 14px;
  margin-bottom: 12px;
  font-weight: 500;
}
.team-member-link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 500;
}

/* Author header (helmi-tahtinen) */
.info-author-header {
  display: flex;
  gap: 32px;
  align-items: center;
}
.author-photo-large {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
}
.author-photo-large img {
  width: 180px;
  height: 180px;
  min-width: 180px;
  min-height: 180px;
  max-width: 180px;
  max-height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.15);
  display: block;
  aspect-ratio: 1 / 1;
}
.author-articles-list {
  list-style: none;
  padding: 0;
}
.author-articles-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Mobile responsive */
@media (max-width: 640px) {
  .team-member-card,
  .info-author-header {
    flex-direction: column;
    text-align: center;
  }
  .author-photo-large img {
    width: 140px;
    height: 140px;
  }
}

/* ========================================================================
   SATSI 3+: Weekly, Monthly, Yearly horoscopes + Hub pages + Chinese
   ======================================================================== */

/* Period navigation (today / week / month / year) */
.period-nav {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin: 0 0 32px;
}
.period-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.period-nav-inner::-webkit-scrollbar { display: none; }
.period-nav-inner a {
  flex: 1;
  min-width: max-content;
  padding: 16px 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
}
.period-nav-inner a:hover {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.05);
}
.period-nav-inner a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: rgba(212, 175, 55, 0.05);
}

/* Key dates list (used in weekly + yearly) */
.key-dates-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.key-dates-list li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 15px;
  line-height: 1.7;
}
.key-dates-list li:last-child { border-bottom: none; }
.key-dates-list strong {
  color: var(--gold);
  display: inline-block;
  min-width: 120px;
}

/* Themes list (monthly) */
.themes-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.themes-list li {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--gold);
  margin-bottom: 8px;
  border-radius: 4px;
}

/* Best days list (monthly) */
.best-days-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.best-days-list li {
  padding: 12px 16px;
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 8px;
  font-size: 14px;
}
.best-days-list strong {
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
}

/* Months grid (yearly) */
.months-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.month-card {
  padding: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}
.month-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.month-header strong {
  color: var(--gold);
  font-size: 16px;
}
.rating {
  color: var(--gold);
  letter-spacing: 1px;
  font-size: 14px;
}
.month-theme {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 8px;
  font-style: italic;
}
.month-text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Transit cards (yearly) */
.transit-card {
  margin: 16px 0;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
}
.transit-planet {
  font-size: 18px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
}
.transit-effect {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* Hub hero */
.hub-hero {
  padding: 64px 24px 32px;
  text-align: center;
  background: radial-gradient(ellipse at center top, rgba(212, 175, 55, 0.08), transparent 60%);
}
.hub-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}
.hub-hero-title {
  font-size: clamp(32px, 5vw, 48px);
  margin: 16px 0;
  letter-spacing: -0.01em;
}
.hub-hero-lead {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

/* Hub signs grid */
.hub-signs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.hub-sign-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}
.hub-sign-card:hover {
  background: rgba(212, 175, 55, 0.05);
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-2px);
}
.hub-sign-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hub-sign-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.hub-sign-meta { flex: 1; min-width: 0; }
.hub-sign-name {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--gold);
}
.hub-sign-dates {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 6px;
}
.hub-sign-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.hub-sign-tags .tag {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 4px;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.03em;
}
.hub-sign-cta {
  display: none;
}

/* Hub meta */
.hub-meta {
  max-width: 800px;
  margin: 48px auto;
  padding: 32px 24px;
}
.hub-meta-inner h2 {
  font-size: 24px;
  margin: 0 0 16px;
  color: var(--gold);
}
.hub-meta-inner h3 {
  font-size: 19px;
  margin: 24px 0 12px;
  color: var(--gold);
}
.hub-meta-inner h4 {
  font-size: 16px;
  margin: 20px 0 10px;
}
.hub-meta-inner ul {
  padding-left: 24px;
  line-height: 1.8;
}

/* Animals grid (Chinese pillar) */
.animals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin: 24px 0;
}
.animal-card {
  padding: 18px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 10px;
}
.animal-num {
  font-size: 32px;
  font-weight: 200;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.animal-name {
  font-size: 19px;
  font-weight: 600;
  color: var(--gold);
}
.animal-name-en {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
}
.animal-traits {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
}
.animal-years {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
}

/* Animal forecast cards (2026 page) */
.animals-forecast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.animal-forecast-card {
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}
.animal-forecast-card h3 {
  font-size: 18px;
  color: var(--gold);
  margin: 0 0 4px;
}
.animal-forecast-years {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 12px;
}
.animal-forecast-card p {
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

/* Zodiac year table (Chinese pillar) */
.zodiac-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.zodiac-table th {
  text-align: left;
  padding: 12px 14px;
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
  font-weight: 600;
}
.zodiac-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.zodiac-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}
.zodiac-table strong {
  color: var(--gold);
}

/* Mobile adjustments for SATSI 3 */
@media (max-width: 640px) {
  .period-nav-inner a { padding: 14px 16px; font-size: 13px; }
  .months-grid { grid-template-columns: 1fr; }
  .animals-grid { grid-template-columns: repeat(2, 1fr); }
  .animals-forecast-grid { grid-template-columns: 1fr; }
  .hub-signs-grid { grid-template-columns: 1fr; }
  .zodiac-table { font-size: 13px; }
  .zodiac-table th, .zodiac-table td { padding: 10px 8px; }
}

/* ======================================
   SATSI 4 - Month Pillar Pages
   /tammikuun-horoskooppi/, /toukokuun-horoskooppi/ etc.
   ====================================== */

/* Astrologinen yleiskatsaus - 4 planet cards */
.month-astro-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.month-astro-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.month-astro-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.month-astro-icon {
  font-size: 36px;
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  line-height: 1;
  margin-bottom: 12px;
}

.month-astro-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 12px;
  color: var(--text);
  letter-spacing: -0.3px;
}

.month-astro-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0;
}

@media (max-width: 800px) {
  .month-astro-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* Seasonal advice block */
.seasonal-advice {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.02));
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  padding: 28px 32px;
  margin: 24px 0;
}

.seasonal-advice .eyebrow {
  margin-bottom: 12px;
}

.seasonal-advice p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  line-height: 1.6;
  font-style: italic;
  color: var(--text);
  margin: 0;
}

@media (max-width: 600px) {
  .seasonal-advice { padding: 20px 22px; }
  .seasonal-advice p { font-size: 17px; }
}

/* 12 sign summaries grid */
.month-signs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.month-sign-card {
  display: block;
  text-decoration: none;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.2s;
}

.month-sign-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.1);
}

.month-sign-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.month-sign-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--gold);
  background: var(--bg);
}

.month-sign-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.month-sign-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.3px;
}

.month-sign-house {
  font-size: 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.month-sign-summary {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0 0 16px;
}

.month-sign-cta {
  font-size: 14px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.2px;
}

@media (max-width: 800px) {
  .month-signs-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* Other months grid (12 small cards at bottom) */
.other-months-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.other-month-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 12px;
  transition: all 0.2s;
}

.other-month-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.other-month-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 4px;
}

.other-month-season {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 1000px) {
  .other-months-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 600px) {
  .other-months-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .other-month-card { padding: 14px 8px; }
  .other-month-name { font-size: 16px; }
}

/* FAQ list */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
  width: 100%;
}

.faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 28px;
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: var(--gold);
}

.faq-question {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 40px;
  line-height: 1.4;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 28px;
  font-weight: 300;
  transition: transform 0.2s;
}

.faq-item[open] .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--text-soft);
  line-height: 1.7;
  font-size: 16px;
}

@media (max-width: 700px) {
  .faq-item { padding: 20px 22px; }
  .faq-question { font-size: 19px; padding-right: 32px; }
  .faq-answer { font-size: 15px; }
}

/* ======================================
   SATSI 4 Vaihe 2 — Chinese Animal Pillars
   /kiinalainen-horoskooppi/{animal}/
   ====================================== */

/* Hero with symbol */
.animal-hero {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.06), rgba(212, 175, 55, 0.02));
  padding: 60px 32px 50px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.animal-hero-spotlight {
  background: linear-gradient(135deg, rgba(220, 60, 60, 0.08), rgba(212, 175, 55, 0.04));
}

.animal-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.spotlight-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--bg);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.animal-symbol {
  font-size: 80px;
  line-height: 1;
  margin-bottom: 16px;
}

.animal-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  font-weight: 500;
  color: var(--text);
  margin: 8px 0 12px;
  letter-spacing: -1px;
}

.animal-hero-traits {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-style: italic;
  color: var(--text-soft);
  margin: 0 0 32px;
}

.animal-meta-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}

.animal-meta-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 12px;
}

.animal-meta-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.animal-meta-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--gold);
  font-weight: 500;
}

@media (max-width: 700px) {
  .animal-symbol { font-size: 64px; }
  .animal-hero-title { font-size: 40px; }
  .animal-hero-traits { font-size: 18px; }
  .animal-meta-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .animal-hero { padding: 40px 20px 32px; }
}

/* Traits text */
.animal-traits-text {
  max-width: 800px;
  margin: 24px 0;
}

.animal-traits-text p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
}

/* Strengths/weaknesses grid */
.animal-strengths-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.animal-strengths,
.animal-weaknesses {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 28px;
}

.animal-strengths {
  border-left: 3px solid #4ade80;
}

.animal-weaknesses {
  border-left: 3px solid #f87171;
}

.animal-strengths h3,
.animal-weaknesses h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 16px;
  color: var(--text);
}

.animal-strengths ul,
.animal-weaknesses ul {
  margin: 0;
  padding-left: 22px;
  color: var(--text-soft);
  line-height: 1.7;
}

.animal-strengths li,
.animal-weaknesses li {
  margin-bottom: 6px;
}

@media (max-width: 700px) {
  .animal-strengths-grid { grid-template-columns: 1fr; gap: 14px; }
  .animal-strengths, .animal-weaknesses { padding: 20px 22px; }
}

/* Year cards */
.animal-years-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.animal-year-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 12px;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--text);
  font-weight: 500;
}

.animal-year-current {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold);
  color: var(--gold);
  font-weight: 600;
}

.animal-years-note {
  margin-top: 20px;
  padding: 16px 20px;
  background: rgba(212, 175, 55, 0.05);
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
}

@media (max-width: 700px) {
  .animal-years-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .animal-year-card { padding: 14px 8px; font-size: 18px; }
}

/* Life areas grid */
.animal-life-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.animal-life-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}

.animal-life-icon {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}

.animal-life-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 12px;
  color: var(--text);
}

.animal-life-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-soft);
  margin: 0;
}

@media (max-width: 700px) {
  .animal-life-grid { grid-template-columns: 1fr; gap: 14px; }
  .animal-life-card { padding: 22px; }
}

/* Compatibility grid */
.animal-compat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.animal-compat-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 28px;
}

.animal-compat-good {
  border-left: 3px solid #4ade80;
}

.animal-compat-bad {
  border-left: 3px solid #f87171;
}

.animal-compat-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 16px;
  color: var(--text);
}

.animal-compat-card ul {
  margin: 0;
  padding-left: 22px;
}

.animal-compat-card li {
  margin-bottom: 8px;
  color: var(--text-soft);
  font-size: 15px;
}

.animal-compat-card a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.animal-compat-card a:hover {
  border-bottom-color: var(--gold);
}

@media (max-width: 700px) {
  .animal-compat-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* Famous people block + Lore block */
.famous-block,
.lore-block {
  background: var(--bg-elevated);
  border-left: 3px solid var(--gold);
  border-radius: 14px;
  padding: 28px 32px;
  margin: 24px 0;
}

.famous-block h3,
.lore-block h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 500;
  margin: 8px 0 16px;
  color: var(--text);
}

.famous-block p,
.lore-block p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
}

.lore-block p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-style: italic;
}

@media (max-width: 700px) {
  .famous-block, .lore-block { padding: 22px 24px; }
}

/* Other animals grid */
.other-animals-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.other-animal-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 12px;
  transition: all 0.2s;
}

.other-animal-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.other-animal-symbol {
  font-size: 32px;
  margin-bottom: 8px;
  line-height: 1;
}

.other-animal-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--text);
}

.other-animal-year {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 4px;
}

@media (max-width: 1000px) {
  .other-animals-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 600px) {
  .other-animals-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .other-animal-card { padding: 12px 8px; }
  .other-animal-symbol { font-size: 28px; }
  .other-animal-name { font-size: 15px; }
}

/* Make existing animal-card on chinese pillar link-clickable */
.animal-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: all 0.2s;
}

.animal-card-link:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.animal-card-cta {
  margin-top: 12px;
  font-size: 13px;
  color: var(--gold);
  font-weight: 500;
}

/* ======================================
   SATSI 4 Vaihe 3 — Glossary + Ascendant
   /sanasto/, /nousumerkki/
   ====================================== */

/* GLOSSARY */

.glossary-nav-section {
  padding-top: 16px;
  padding-bottom: 16px;
}

.glossary-cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.glossary-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 50px;
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  transition: all 0.2s;
}

.glossary-cat-pill:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}

.glossary-cat-pill-icon {
  font-size: 16px;
  line-height: 1;
}

.glossary-cat-pill-count {
  background: var(--gold);
  color: var(--bg);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
}

.glossary-section {
  scroll-margin-top: 80px;
}

.glossary-cat-desc {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 8px 0 0;
  max-width: 800px;
}

.glossary-list {
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.glossary-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 80px;
}

.glossary-item:last-child {
  border-bottom: none;
}

.glossary-term {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--gold);
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.glossary-link {
  color: var(--gold);
  text-decoration: none;
  font-size: 18px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.glossary-link:hover {
  opacity: 1;
}

.glossary-def {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  margin: 0;
  padding: 0;
}

.glossary-readmore {
  display: block;
  margin-top: 8px;
  font-size: 13px;
}

.glossary-readmore a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.glossary-readmore a:hover {
  border-bottom-color: var(--gold);
}

@media (max-width: 600px) {
  .glossary-term { font-size: 20px; }
  .glossary-cat-pill { font-size: 13px; padding: 8px 14px; }
}

/* ASCENDANT PAGE */

.ascendant-intro {
  max-width: 800px;
  margin: 16px 0;
}

.ascendant-intro-lead {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  line-height: 1.55;
  color: var(--text);
  margin: 0 0 20px;
}

.ascendant-intro p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-soft);
}

.ascendant-explainer {
  max-width: 800px;
  margin: 20px 0 0;
}

.ascendant-explainer p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 16px;
}

.ascendant-explainer a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  transition: border-color 0.2s;
}

.ascendant-explainer a:hover {
  border-bottom-color: var(--gold);
}

.ascendant-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.ascendant-compare-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 32px;
}

.ascendant-compare-card:first-child {
  border-left: 3px solid #fbbf24;
}

.ascendant-compare-card:last-child {
  border-left: 3px solid #d4af37;
}

.ascendant-compare-icon {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}

.ascendant-compare-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 16px;
}

.ascendant-compare-card ul {
  margin: 0;
  padding-left: 22px;
  color: var(--text-soft);
  line-height: 1.7;
  font-size: 15px;
}

.ascendant-compare-card li {
  margin-bottom: 8px;
}

@media (max-width: 700px) {
  .ascendant-compare-grid { grid-template-columns: 1fr; gap: 16px; }
  .ascendant-compare-card { padding: 22px 24px; }
}

.ascendant-tip {
  margin-top: 24px;
  padding: 18px 24px;
  background: rgba(212, 175, 55, 0.06);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.65;
}

.ascendant-list-intro {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-soft);
  margin: 16px 0 24px;
  max-width: 800px;
}

.ascendants-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.ascendant-card {
  display: block;
  text-decoration: none;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 28px;
  transition: all 0.2s;
}

.ascendant-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.ascendant-card-icon {
  font-size: 36px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
  font-family: 'Cormorant Garamond', 'Apple Symbols', 'Segoe UI Symbol', serif;
}

.ascendant-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 12px;
}

.ascendant-card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0 0 12px;
}

.ascendant-card-cta {
  font-size: 13px;
  color: var(--gold);
  font-weight: 500;
}

@media (max-width: 700px) {
  .ascendants-grid { grid-template-columns: 1fr; gap: 12px; }
  .ascendant-card { padding: 20px 22px; }
}

.ascendant-howto-list {
  margin: 24px 0;
  padding-left: 24px;
  max-width: 800px;
}

.ascendant-howto-list li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 14px;
}

.ascendant-howto-list a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.ascendant-warning {
  margin-top: 24px;
  padding: 18px 24px;
  background: rgba(248, 113, 113, 0.06);
  border-left: 3px solid #f87171;
  border-radius: 8px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.65;
  max-width: 800px;
}

/* ======================================
   SATSI 5 — Compatibility Pair Pages
   /yhteensopivuus/{sign1-sign2}/
   ====================================== */

.compat-hero {
  padding: 60px 24px 40px;
  text-align: center;
  background: radial-gradient(ellipse at top, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
}

.compat-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.compat-hero-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.compat-hero-sign {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.compat-hero-sign img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.3);
  transition: all 0.2s;
}

.compat-hero-sign a:hover img {
  border-color: var(--gold);
  transform: scale(1.03);
}

.compat-hero-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--text);
}

.compat-hero-plus {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  color: var(--gold);
  font-weight: 300;
  line-height: 1;
}

.compat-hero-content {
  margin-top: 16px;
}

.compat-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 400;
  color: var(--text);
  margin: 8px 0 16px;
  line-height: 1.1;
}

.compat-hero-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.compat-rating-stars {
  display: flex;
  gap: 4px;
  font-size: 22px;
}

.compat-star {
  color: rgba(255, 255, 255, 0.15);
  transition: color 0.2s;
}

.compat-star.filled {
  color: var(--gold);
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

.compat-rating-label {
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-soft);
}

@media (max-width: 600px) {
  .compat-hero-sign img { width: 120px; height: 120px; }
  .compat-hero-name { font-size: 20px; }
  .compat-hero-plus { font-size: 40px; }
  .compat-hero-icons { gap: 16px; }
}

/* Info grid */
.compat-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
}

.compat-info-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  text-align: center;
}

.compat-info-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.compat-info-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--gold);
}

@media (max-width: 700px) {
  .compat-info-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Pros & Cons */
.compat-pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.compat-pros, .compat-cons {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 32px;
}

.compat-pros {
  border-left: 3px solid #6dd16d;
}

.compat-cons {
  border-left: 3px solid #f87171;
}

.compat-pros h3, .compat-cons h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 16px;
}

.compat-pros ul, .compat-cons ul {
  margin: 0;
  padding-left: 22px;
  color: var(--text-soft);
  line-height: 1.7;
  font-size: 15px;
}

.compat-pros li, .compat-cons li {
  margin-bottom: 8px;
}

@media (max-width: 700px) {
  .compat-pros-cons-grid { grid-template-columns: 1fr; gap: 16px; }
  .compat-pros, .compat-cons { padding: 22px 24px; }
}

/* Advice block */
.compat-advice {
  background: rgba(212, 175, 55, 0.06);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 22px 28px;
  font-size: 16px;
  line-height: 1.7;
}

/* SATSI 5 Vaihe B - deep content styles */
.compat-situations-list,
.compat-turning-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.compat-situations-list li,
.compat-turning-list li {
  background: rgba(255, 255, 255, 0.03);
  border-left: 2px solid rgba(212, 175, 55, 0.4);
  padding: 14px 20px;
  border-radius: 6px;
  line-height: 1.7;
}

.compat-flags-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}

.compat-green-flags,
.compat-red-flags {
  background: rgba(255, 255, 255, 0.025);
  border-radius: 12px;
  padding: 24px 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.compat-green-flags {
  border-left: 3px solid #4ade80;
}

.compat-red-flags {
  border-left: 3px solid #f87171;
}

.compat-green-flags h3,
.compat-red-flags h3 {
  margin: 0 0 14px 0;
  font-size: 18px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
}

.compat-green-flags ul,
.compat-red-flags ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.compat-green-flags li,
.compat-red-flags li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  line-height: 1.6;
}

.compat-green-flags li:last-child,
.compat-red-flags li:last-child {
  border-bottom: none;
}

@media (max-width: 700px) {
  .compat-flags-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .compat-green-flags,
  .compat-red-flags {
    padding: 20px 22px;
  }
}

/* Prose for compatibility content */
.section .prose {
  max-width: 800px;
}

.section .prose p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  margin: 0;
}

/* SATSI 5: Pair selector grid on /yhteensopivuus/ hub */
.compat-pairs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.compat-pair-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s;
}

.compat-pair-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.compat-pair-names {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 500;
}

.compat-pair-stars {
  display: flex;
  gap: 2px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.15);
}

.compat-pair-stars .filled {
  color: var(--gold);
}
