/* ============================================================
   ARTICLE PAGE — standalone stylesheet
   Loaded by blog/article-*.html alongside css/styles.css
   ============================================================ */

.article-hero {
  padding: clamp(140px, 20vh, 220px) 0 clamp(6px, 0.85vw, 10px);
  text-align: center;
  position: relative;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(251, 161, 122, 0.1),
    transparent 60%
  );
}

.article-hero .container,
.article-body,
.article-source {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.article-hero .section-label {
  margin: 0 auto 22px;
  width: max-content;
}

.article-hero h1 {
  font-size: clamp(34px, 5.5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--text);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  justify-content: center;
  color: var(--text-sec);
  font-size: 15px;
  font-weight: 400;
}

.article-meta .sep {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  flex: none;
}

/* Image — contained, centered, not overpowering */
.article-image {
  margin: 1px auto clamp(36px, 6vw, 64px);
  width: min(680px, 100%);
}

.article-image img {
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--card-border);
  box-shadow: 0 16px 48px var(--shadow);
  display: block;
}

/* Body typography */
.article-body {
  color: var(--text);
  font-size: 17px;
  line-height: 1.85;
  padding: 0 0 8px;
}

.article-body p {
  margin-bottom: 24px;
  color: var(--text);
}

.article-body strong {
  font-weight: 700;
  color: var(--accent);
}

.article-body h2 {
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 48px 0 18px;
  border-left: 4px solid var(--accent);
  color: var(--text);
}

.article-body h3 {
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 700;
  line-height: 1.3;
  margin: 36px 0 14px;
  color: var(--text);
}

.article-body ul {
  list-style: disc;
  padding-left: 1.4em;
  margin: 0 0 24px;
}

.article-body ul li {
  margin-bottom: 10px;
  line-height: 1.8;
  color: var(--text);
}

.article-body blockquote {
  margin: 36px 0;
  padding: 28px 32px;
  border-left: 4px solid var(--accent);
  background: var(--card-bg);
  border-radius: 0 16px 16px 0;
  font-size: 19px;
  font-style: italic;
  color: var(--text-sec);
  line-height: 1.8;
}

.article-body blockquote p {
  margin: 0;
}

/* Source box */
.article-source {
  margin-top: clamp(48px, 7vw, 80px);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 30px 32px;
  text-align: center;
}

.article-source p {
  color: var(--text-sec);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 22px;
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
}

.article-actions .btn {
  text-decoration: none;
}

@media (max-width: 600px) {
  .article-hero h1 {
    font-size: clamp(28px, 8vw, 38px);
  }
  .article-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .article-actions .btn {
    justify-content: center;
  }
  .article-source {
    padding: 24px 20px;
  }
}
