/* ===== Article page (article.html) – loaded after style.css + home.css + news.css ===== */

.article {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto 60px;
  padding: 26px 13% 60px;
  background: url("../images/news/article-bg.webp") center top / 100% 100% no-repeat;
}
.article__title { color: #3a0b7a; font-size: clamp(22px, 2.2vw, 34px); font-weight: 700; text-align: center; }
.article__date {
  display: block;
  padding: 4px 0 6px;
  background: url("../images/news/title-line.png") center bottom / 100% 1px no-repeat;
  color: #9d8bb8;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}
.article__content { padding-top: 18px; color: #111; font-size: 18px; line-height: 1.7; }
.article__content h3 { color: #e00000; font-size: inherit; font-weight: 700; }
.article__content img { width: 100%; margin: 10px 0 24px; }

@media (max-width: 768px) {
  .article { margin-bottom: 14vw; padding: 5vw 5vw 10vw; }
  .article__title { font-size: 5vw; }
  .article__date { font-size: 3.6vw; }
  .article__content { font-size: 3.8vw; }
}

/*
  Cỡ chữ đặt sẵn từ trình soạn bài admin (span.text-size-*, xem html-sanitize.js).
  Dùng em để co theo chữ thân bài — trên mobile thân bài tính theo vw nên
  các mức này co theo luôn.
*/
.article__content .text-size-sm { font-size: 0.875em; }
.article__content .text-size-lg { font-size: 1.25em; }
.article__content .text-size-xl { font-size: 1.5em; }
