/* ============================================
   ARTICLE PAGE STYLES
   ============================================ */

.article-page {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-16, 4rem) var(--space-6, 1.5rem) var(--space-8, 2rem);
}

.article-page__back {
  display: inline-block;
  font-family: var(--font-body, 'Satoshi', sans-serif);
  font-size: var(--text-sm, 0.875rem);
  color: var(--color-text-muted, rgba(255,255,255,0.6));
  margin-bottom: var(--space-6, 1.5rem);
  transition: color 0.2s;
}
.article-page__back:hover {
  color: var(--color-gold, #c9952e);
}

.article-page__category {
  font-family: var(--font-body, 'Satoshi', sans-serif);
  font-size: var(--text-xs, 0.75rem);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold, #c9952e);
  margin-bottom: var(--space-3, 0.75rem);
}

.article-page__title {
  font-family: var(--font-display, 'Cormorant', serif);
  font-size: var(--text-2xl, clamp(2rem, 1.4rem + 2vw, 3rem));
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text, #fff);
  margin-bottom: var(--space-4, 1rem);
}

.article-page__meta {
  font-family: var(--font-body, 'Satoshi', sans-serif);
  font-size: var(--text-sm, 0.875rem);
  color: var(--color-text-muted, rgba(255,255,255,0.6));
  margin-bottom: var(--space-8, 2rem);
}

.article-page__content {
  font-family: var(--font-body, 'Satoshi', sans-serif);
  font-size: var(--text-base, 1rem);
  line-height: 1.8;
  color: var(--color-text-secondary, rgba(255,255,255,0.85));
}
.article-page__content p {
  margin-bottom: 1.25rem;
}
.article-page__content a {
  color: var(--color-gold, #c9952e);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-page__content a:hover {
  color: var(--color-gold-light, #e0b94e);
}
.article-page__content ul,
.article-page__content ol {
  margin: 1rem 0 1.25rem 1.5rem;
  list-style: disc;
}
.article-page__content li {
  margin-bottom: 0.5rem;
}

.article-divider {
  border: none;
  height: 1px;
  background: var(--color-border, rgba(255,255,255,0.1));
  margin: 2rem 0;
}

.article-page__sources {
  font-family: var(--font-body, 'Satoshi', sans-serif);
  font-size: var(--text-sm, 0.875rem);
  color: var(--color-text-muted, rgba(255,255,255,0.6));
  margin-bottom: var(--space-6, 1.5rem);
}
.article-page__sources h3 {
  font-family: var(--font-display, 'Cormorant', serif);
  font-size: var(--text-lg, 1.25rem);
  color: var(--color-text, #fff);
  margin-bottom: var(--space-3, 0.75rem);
}
.article-page__sources ul {
  list-style: disc;
  padding-left: 1.5rem;
}
.article-page__sources li {
  margin-bottom: 0.5rem;
}
.article-page__sources a {
  color: var(--color-gold, #c9952e);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-page__sources a:hover {
  color: var(--color-gold-light, #e0b94e);
}

.article-page__cta {
  text-align: center;
  padding: var(--space-8, 2rem) 0;
  margin-top: var(--space-4, 1rem);
}
.article-page__cta h3 {
  font-family: var(--font-display, 'Cormorant', serif);
  font-size: var(--text-lg, 1.25rem);
  color: var(--color-text, #fff);
  margin-bottom: var(--space-3, 0.75rem);
}
.article-page__cta p {
  color: var(--color-text-muted, rgba(255,255,255,0.6));
  margin-bottom: var(--space-4, 1rem);
}

.article-cta__btn {
  display: inline-block;
  padding: 0.625rem 1.5rem;
  background: linear-gradient(135deg, var(--color-gold, #c9952e), var(--color-gold-dark, #a07924));
  color: #0a0e17;
  font-family: var(--font-body, 'Satoshi', sans-serif);
  font-weight: 600;
  font-size: var(--text-sm, 0.875rem);
  border-radius: var(--radius-md, 0.5rem);
  transition: transform 0.2s, box-shadow 0.2s;
}
.article-cta__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201,149,46,0.3);
}

.article-footer {
  padding: var(--space-8, 2rem) var(--space-6, 1.5rem);
  text-align: center;
  border-top: 1px solid var(--color-border, rgba(255,255,255,0.1));
  font-family: var(--font-body, 'Satoshi', sans-serif);
  font-size: var(--text-xs, 0.75rem);
  color: var(--color-text-faint, rgba(255,255,255,0.35));
}

/* ============================================
   ARTICLE CTA — GHOST BUTTON VARIANT
   ============================================ */

.article-cta__btn--ghost {
  background: transparent;
  color: var(--color-gold, #c9952e);
  border: 1px solid var(--color-gold, #c9952e);
}
.article-cta__btn--ghost:hover {
  background: rgba(201,149,46,0.1);
  box-shadow: 0 4px 16px rgba(201,149,46,0.15);
}

/* ============================================
   ARTICLE CONTENT GATE
   ============================================ */

.article-page__content.gated {
  max-height: 400px;
  overflow: hidden;
  position: relative;
}

.article-gate {
  position: relative;
  margin-top: -2rem;
  margin-bottom: 2rem;
}

.article-gate.hidden {
  display: none;
}

.article-gate__fade {
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--color-bg, #060a12));
  pointer-events: none;
}

.article-gate__form-wrapper {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--color-surface, #0f1525);
  border: 1px solid var(--color-border, rgba(255,255,255,0.1));
  border-radius: var(--radius-lg, 0.75rem);
}

.article-gate__form-wrapper h3 {
  font-family: var(--font-display, 'Cormorant', serif);
  font-size: var(--text-xl, 1.5rem);
  font-weight: 600;
  color: var(--color-text, #fff);
  margin-bottom: 0.5rem;
}

.article-gate__form-wrapper > p {
  font-family: var(--font-body, 'Satoshi', sans-serif);
  font-size: var(--text-sm, 0.875rem);
  color: var(--color-text-muted, rgba(255,255,255,0.6));
  margin-bottom: 1rem;
}

.article-gate__form {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.article-gate__form input[type="email"] {
  flex: 1;
  max-width: 280px;
  padding: 0.5rem 0.75rem;
  background: var(--color-bg, #060a12);
  border: 1px solid var(--color-border, rgba(255,255,255,0.15));
  border-radius: var(--radius-md, 0.5rem);
  color: var(--color-text, #fff);
  font-family: var(--font-body, 'Satoshi', sans-serif);
  font-size: var(--text-sm, 0.875rem);
}
.article-gate__form input[type="email"]::placeholder {
  color: var(--color-text-faint, rgba(255,255,255,0.35));
}
.article-gate__form input[type="email"]:focus {
  outline: none;
  border-color: var(--color-gold, #c9952e);
  box-shadow: 0 0 0 2px rgba(201,149,46,0.2);
}

.article-gate__note {
  font-family: var(--font-body, 'Satoshi', sans-serif);
  font-size: 0.75rem;
  color: var(--color-text-faint, rgba(255,255,255,0.35));
}

@media (max-width: 480px) {
  .article-gate__form {
    flex-direction: column;
    align-items: center;
  }
  .article-gate__form input[type="email"] {
    max-width: 100%;
    width: 100%;
  }
}
