/* ============================================================
   247 CLOSERS — Articles (AEO)
   Adds article-specific styles on top of the site's /style.css
   (which supplies tokens, nav, footer, buttons, eyebrow, display, faq).
   ============================================================ */

.article-main { padding: var(--sp-2xl) 0; background: var(--bg); }
.article-wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 var(--pad-x); }

.article-cat {
  font-family: var(--font-display); font-weight: 900;
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: var(--sp-md);
}
.article-wrap h1 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08;
  letter-spacing: -0.5px; color: var(--ink); margin-bottom: var(--sp-md);
}
.byline {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 14px; color: var(--muted); margin-bottom: var(--sp-lg);
  padding-bottom: var(--sp-lg); border-bottom: 1px solid var(--line);
}
.byline strong { color: var(--ink); font-weight: 600; }
.byline .dot { color: var(--line); }

/* Short-answer callout — what AI engines quote */
.short-answer {
  background: var(--bg-alt);
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: var(--sp-md) var(--sp-lg);
  margin: 0 0 var(--sp-xl);
}
.short-answer p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink); }
.short-answer .sa-label {
  display: block;
  font-family: var(--font-display); font-weight: 900;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 8px;
}

/* Article prose */
.prose h2 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(23px, 2.8vw, 30px); line-height: 1.15;
  color: var(--ink); margin: var(--sp-xl) 0 var(--sp-sm);
}
.prose h3 { font-family: var(--font-serif); font-weight: 600; font-size: 21px; color: var(--ink); margin: var(--sp-lg) 0 8px; }
.prose p { color: var(--ink-2); margin-bottom: var(--sp-md); line-height: 1.7; }
.prose ul, .prose ol { margin: 0 0 var(--sp-md) 22px; color: var(--ink-2); }
.prose li { margin-bottom: 8px; line-height: 1.6; }
.prose a { color: var(--gold-deep); border-bottom: 1px solid var(--gold-soft); }
.prose a:hover { color: var(--ink); }
.prose strong { color: var(--ink); }

.disclaimer {
  font-size: 13.5px; color: var(--muted); line-height: 1.6;
  background: var(--bg-alt); border-radius: 8px;
  padding: var(--sp-md) var(--sp-lg); margin: var(--sp-xl) 0;
}
.disclaimer a { color: var(--gold-deep); border-bottom: 1px solid var(--gold-soft); }

/* Related links */
.related { margin: var(--sp-xl) 0; padding-top: var(--sp-lg); border-top: 1px solid var(--line); }
.related h2 { font-family: var(--font-serif); font-size: 22px; color: var(--ink); margin-bottom: 12px; }
.related a { display: inline-block; margin: 4px 0; color: var(--gold-deep); font-weight: 600; border-bottom: 2px solid var(--gold); padding-bottom: 1px; }

/* Author box */
.author-box {
  display: flex; gap: 18px; align-items: center;
  background: var(--bg-alt); border-radius: 10px;
  padding: var(--sp-lg); margin: var(--sp-xl) 0;
}
.author-box .avatar {
  position: relative; overflow: hidden;
  width: 56px; height: 56px; border-radius: 50%; flex: none;
  background: linear-gradient(150deg, #2e2e2e, #1b1b1b);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-weight: 700; font-size: 22px; color: var(--gold);
}
.author-box .avatar-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.author-box .a-name { font-weight: 700; color: var(--ink); font-size: 15px; }
.author-box .a-bio { font-size: 14px; color: var(--muted); line-height: 1.5; margin-top: 3px; }

/* ============================================================
   Articles hub
   ============================================================ */
.hub-head { text-align: center; max-width: 640px; margin: 0 auto var(--sp-2xl); }
.hub-head .display { margin-top: 4px; }
.hub-head .lead { color: var(--muted); margin-top: var(--sp-sm); }
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-lg); }
.article-card {
  display: flex; flex-direction: column;
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: 10px; padding: var(--sp-lg);
  transition: transform var(--ease), border-color var(--ease);
}
.article-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.article-card .c-cat {
  font-family: var(--font-display); font-weight: 900;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 10px;
}
.article-card h2 {
  font-family: var(--font-serif); font-weight: 600; font-size: 22px;
  line-height: 1.2; color: var(--ink); margin-bottom: 10px;
}
.article-card p { font-size: 14px; color: var(--ink-2); line-height: 1.55; margin-bottom: 16px; flex: 1; }
.article-card .c-more { font-size: 14px; font-weight: 600; color: var(--gold-deep); }
.article-card:hover .c-more { color: var(--ink); }

@media (max-width: 720px) {
  .card-grid { grid-template-columns: 1fr; }
  .author-box { flex-direction: column; text-align: center; }
}
