/* ═══════════════════════════════════════════════
   ELITE — Blog Post Styles
   Individual article pages
   ═══════════════════════════════════════════════ */

/* ── Article Header ── */
.article-header {
  padding: calc(var(--nav-height) + 4rem) var(--space-md) 2rem;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.article-category {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-tint);
  padding: 0.35rem 1rem;
  margin-bottom: 1.5rem;
}

.article-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 500;
  color: var(--black);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.article-meta {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.article-meta .separator {
  width: 3px;
  height: 3px;
  background: var(--text-muted);
  border-radius: 50%;
  display: inline-block;
}

/* ── Article Hero Image ── */
.article-hero {
  max-width: 900px;
  margin: 0 auto 0;
  padding: 0 var(--space-md);
}

.article-hero img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

@media (max-width: 600px) {
  .article-hero {
    padding: 0;
  }
}

/* ── Article Body ── */
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem var(--space-md) var(--space-lg);
}

.article-body p {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.article-body h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--black);
  margin: 2.5rem 0 1rem;
  line-height: 1.3;
}

.article-body h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--black);
  margin: 2rem 0 0.75rem;
  line-height: 1.35;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.5rem 1.25rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text);
}

.article-body ul li,
.article-body ol li {
  margin-bottom: 0.5rem;
}

.article-body ul li::marker {
  color: var(--accent);
}

.article-body ol li::marker {
  color: var(--accent-dark);
  font-weight: 500;
}

.article-body strong {
  font-weight: 500;
  color: var(--black);
}

.article-body em {
  font-style: italic;
}

.article-body blockquote {
  border-left: 3px solid var(--accent);
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background: var(--accent-glow);
}

.article-body blockquote p {
  font-style: italic;
  color: var(--black);
  margin-bottom: 0;
  font-weight: 400;
}

.article-body .lead {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--black);
  line-height: 1.75;
}

/* ── Divider ── */
.article-divider {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.article-divider hr {
  border: none;
  border-top: 1px solid var(--border);
}

/* ── Author Box ── */
.article-author {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem var(--space-md) 0;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.article-author-avatar {
  width: 52px;
  height: 52px;
  background: var(--accent-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.article-author-avatar span {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--accent-dark);
}

.article-author-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.article-author-name {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--black);
}

.article-author-title {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--text-muted);
}

/* ── Back Link ── */
.article-back {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem var(--space-md) 0;
}

.article-back a {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.article-back a:hover {
  color: var(--accent-dark);
}

.article-back a::before {
  content: '\2190';
  font-size: 1rem;
}

/* ── Related Posts ── */
.related-posts {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}

.related-posts h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--black);
  text-align: center;
  margin-bottom: 2.5rem;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .related-posts-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .article-header {
    padding: calc(var(--nav-height) + 2.5rem) 1.5rem 1.5rem;
  }

  .article-body {
    padding: 1.5rem 1.5rem var(--space-lg);
  }

  .article-author {
    padding: 2rem 1.5rem 0;
  }

  .article-back {
    padding: 2rem 1.5rem 0;
  }

  .article-divider {
    padding: 0 1.5rem;
  }

  .related-posts {
    padding: var(--space-lg) 1.5rem;
  }

  .related-posts-grid {
    grid-template-columns: 1fr;
  }
}
