/* =============================================
   ARTICLE DETAIL PAGE
   ============================================= */

/* ===== WRAPPER ===== */
.article-detail {
  padding: 32px 0 64px;
}

/* ===== BACK LINK ===== */
.article-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--yellow);
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  margin-bottom: 28px;
  transition: gap .2s;
}

.article-detail__back:hover { gap: 10px; }

/* ===== HEADER ===== */
.article-detail__header {
  margin-bottom: 28px;
}

.article-detail__header h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.25;
  color: #0a0a0a;
  margin-bottom: 20px;
}

.article-badge {
  display: inline-block;
  background: #fff8e7;
  color: #efba1b;
  font-size: 16px;
  font-weight: 400;
  padding: 8px 16px;
  border-radius: 2px;
  margin-bottom: 14px;
}

.article-card { border-radius: 4px; }

/* ===== META ===== */
.article-detail__meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.article-detail__meta .meta-author,
.article-detail__meta .meta-date,
.article-detail__meta .meta-share {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  color: #4a5565;
  white-space: nowrap;
}

.meta-date svg, .meta-author svg {
    flex-shrink: 0;
    color: #4a5565;
}

.article-detail__meta .meta-share {
  cursor: pointer;
  transition: color .2s;
}

.article-detail__meta .meta-share:hover { color: var(--yellow); }

/* ===== HERO IMAGE ===== */
.article-detail__img {
  width: 100%;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 40px;
  /* aspect-ratio: 16 / 9; */
}

.article-detail__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== BODY ===== */
.article-detail__body {
  max-width: 896px;
  margin: 0 auto;
}

.article-detail__lead {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 24px;
}

.article-detail__body p {
  font-size: 1rem;
  line-height: 1.85;
  color: #4B5563;
  margin-bottom: 20px;
}

.article-detail__body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #111827;
  margin: 32px 0 12px;
}

.article-detail__body img { height: auto !important; }

/* ===== RELATED ARTICLES ===== */
.related-articles {
  background: #F9FAFB;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .article-detail { padding: 32px 16px; }
  .article-detail__img { border-radius: 2px; }
  .article-detail__meta { gap: 14px; }
  .article-detail__body { max-width: 100%; }
  .article-detail__header h1 { font-size: 36px !important; }
  .article-detail__img img { object-position: top; }
  .article-detail__body img { height: auto !important; }
  .section-header h2 { font-size: 30px !important; }
  .article-card__body h3 { font-size: 18px !important; line-height: 27px !important; }
}
