@charset "UTF-8";
/* ============================================================
   Section 6 — Bài viết (grid desktop / carousel Swiper mobile)
   Nguồn: section-6/style.css — toàn bộ scope trong .section-6
   ============================================================ */
.section-6 {
  /* Biến :root gốc → scope theo section */
  --ink: #000000;
  --bg: #fafafa;
  --border: #f2f2f2;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
}
.section-6,
.section-6 *,
.section-6 *::before,
.section-6 *::after {
  box-sizing: border-box;
}
.section-6.articles-section {
  background: var(--bg);
  padding: 100px 20px 100px;
}
.section-6 .articles-section__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.section-6 .articles-section__title {
  align-self: flex-start;
  margin: 0;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
}
.section-6 {
  /* ---------- Thẻ bài viết (dùng chung cho cả desktop lẫn slide mobile) ---------- */
}
.section-6 .article-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  padding-bottom: 20px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  text-decoration: none;
  color: inherit;
  min-height: 370px;
}
.section-6 .article-card__media {
  width: 100%;
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
}
.section-6 .article-card__media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.section-6 .article-card__title {
  margin: 0;
  padding: 0 20px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  /* Giới hạn 3 dòng, khớp box cố định 90px của Figma cho tiêu đề dài. */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.section-6 {
  /* ---------- Desktop/tablet: grid 3 thẻ tĩnh ---------- */
}
.section-6 .articles-grid {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: nowrap;
}
.section-6 {
  /* ---------- Mobile: carousel Swiper ---------- */
}
.section-6 .articles-carousel {
  display: none;
}
.section-6 .articles-swiper .article-card {
  width: 100%;
}
.section-6 .articles-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}
.section-6 .articles-carousel__nav {
  width: 35px;
  height: 35px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 5px rgba(188, 188, 188, 0.5);
  display: grid;
  place-items: center;
  cursor: pointer;
  /* Icon gốc "angle down": xoay -90deg để chỉ sang phải (next), 90deg để chỉ
     sang trái (prev) — giống hệt kỹ thuật đã dùng ở các section trước. */
}
.section-6 .articles-carousel__nav[data-action=next] img {
  transform: rotate(-90deg);
}
.section-6 .articles-carousel__nav[data-action=prev] img {
  transform: rotate(90deg);
}
.section-6 .articles-pagination {
  position: static !important;
  display: flex;
  align-items: center;
  gap: 4px;
  width: auto !important;
}
.section-6 .articles-pagination .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  margin: 0 !important;
  background: #e4e4e4;
  opacity: 0.5;
}
.section-6 .articles-pagination .swiper-pagination-bullet-active {
  background: #fdb814;
  opacity: 1;
}
@media (min-width: 1025px) {
  .section-6 .article-card__media img {
    transition: transform 0.3s ease;
  }
  .section-6 .article-card:hover .article-card__media img {
    transform: scale(1.08);
  }
}
@media (max-width: 767px) {
  .section-6.articles-section {
    padding: 60px 20px 60px;
  }
  .section-6 .articles-section__title {
    font-size: 28px;
  }
  .section-6 .articles-grid {
    display: none;
  }
  .section-6 .articles-carousel {
    display: block;
    width: 100%;
  }
  .section-6 .article-card {
    width: 100%;
    height: 350px;
    min-height: unset;
  }
  .section-6 .articles-section__inner {
    gap: 20px;
  }
}/*# sourceMappingURL=section-6.css.map */