/* Gift guides & affiliate article styles */

.affiliate-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  background: rgba(20, 25, 41, 0.95);
  border-bottom: 1px solid var(--border);
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 8px 16px;
}

.affiliate-banner a {
  color: var(--accent-soft);
  text-decoration: underline;
}

.nav-affiliate {
  top: 33px;
}

.hero-hub {
  min-height: 72vh;
  padding-top: 140px;
}

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.chapter-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}

.chapter-card:hover {
  border-color: rgba(201, 169, 98, 0.35);
  transform: translateY(-2px);
}

.chapter-icon {
  font-size: 1.75rem;
  margin-bottom: 12px;
  display: block;
}

.chapter-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--moon-glow);
}

.chapter-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

.chapter-link {
  font-size: 0.8rem;
  color: var(--accent-gold);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.guide-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.guide-card:hover {
  border-color: rgba(201, 169, 98, 0.3);
}

.guide-card a {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.guide-card-body {
  padding: 24px;
}

.guide-tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 10px;
}

.guide-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--moon-glow);
  line-height: 1.35;
}

.guide-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.guide-meta {
  margin-top: 14px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Article layout */
.article-header {
  padding: 140px 0 48px;
  border-bottom: 1px solid var(--border);
}

.article-header .container {
  max-width: 760px;
}

.article-breadcrumb {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.article-breadcrumb a {
  color: var(--accent-soft);
  text-decoration: none;
}

.article-breadcrumb a:hover {
  text-decoration: underline;
}

.article-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--moon-glow);
  margin-bottom: 16px;
}

.article-deck {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.article-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.article-body {
  padding: 48px 0 80px;
}

.article-body .container {
  max-width: 760px;
}

.article-body h2 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--moon-glow);
  margin: 40px 0 16px;
}

.article-body h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--moon-silver);
  margin: 28px 0 12px;
}

.article-body p {
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.75;
}

.article-body ul,
.article-body ol {
  color: var(--text-secondary);
  margin: 0 0 20px 1.25rem;
  line-height: 1.7;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body a {
  color: var(--accent-soft);
}

.disclosure-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-gold);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 32px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.pick-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
}

.pick-card h3 {
  margin-top: 0 !important;
  color: var(--accent-gold) !important;
}

.pick-card .pick-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.pick-card p {
  margin-bottom: 12px;
}

.btn-amazon {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 20px;
  background: rgba(201, 169, 98, 0.15);
  border: 1px solid var(--accent-gold);
  border-radius: 6px;
  color: var(--accent-gold) !important;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none !important;
}

.btn-amazon:hover {
  background: rgba(201, 169, 98, 0.25);
}

.related-guides {
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.related-guides h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.related-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.related-list li {
  margin-bottom: 12px;
}

.related-list a {
  color: var(--accent-soft);
  text-decoration: none;
  font-size: 0.95rem;
}

.related-list a:hover {
  text-decoration: underline;
}

.legal-page {
  padding: 140px 0 80px;
}

.legal-page .container {
  max-width: 720px;
}

.legal-page h1 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.legal-page .updated {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 32px;
}

.legal-page h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin: 32px 0 12px;
  color: var(--moon-glow);
}

.legal-page p,
.legal-page li {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 12px;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
}

.footer-legal a:hover {
  color: var(--accent-soft);
}

@media (max-width: 900px) {
  .chapter-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .chapter-grid {
    grid-template-columns: 1fr;
  }
}
