/* ===== LATEST BLOCK: left featured + right list (3) ===== */

.th-news-latest {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: clamp(18.67px, 1.458vw, 28px);
  align-items: start;
  margin-block: clamp(40px, 3.125vw, 60px);
}

/* Trái: ảnh + card nằm cạnh nhau */
.th-news-latest__featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  height: 100%;
}

@media (max-width: 1024px) {
  .th-news-latest__featured {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    height: 100%;
  }

  /* cân 50/50 khi hẹp */
  .th-news-latest__title {
    font-size: 20px;
  }
}

@media (max-width: 640px) {
  .th-news-latest {
    grid-template-columns: 1fr;
  }

  .th-news-latest__featured {
    grid-template-columns: 1fr;
  }

  .th-news-mini.has-divider::after {
    width: 64px;
  }
}

/* Ảnh lớn bo tròn, luôn cover */
.th-news-latest__media {
  display: block;
  border-radius: 24px 0 0 24px;

  overflow: hidden;
  min-height: 260px;
}

.th-news-latest__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  inset: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  display: block;
}

@media (max-width: 640px) {
  .th-news-latest__media {
    border-radius: 24px 24px 0 0;
  }
}

.th-news-latest__media:hover img {
  transform: scale(1.05);
}

/* Card nội dung nền xám nhạt bo tròn */
.th-news-latest__card {
  border-radius: 0 24px 24px 0;
  padding-block: clamp(12px, 0.9375vw, 18px);
  padding-inline: clamp(13.33px, 1.042vw, 20px);
  display: grid;
  gap: 10px;
  background: var(--bg-col);
}

@media (max-width: 640px) {
  .th-news-latest__card {
    border-radius: 0 0 24px 24px;
  }
}

/* Date nhỏ, màu nhấn nhạt */
.th-news-latest__date {
  font-size: clamp(12px, calc(0.3125vw + 8px), 14px);
  line-height: 1;
  font-weight: 400;
  color: var(--blue);

  text-decoration: none;
}

/* Tiêu đề đậm, chữ đen xanh */
.th-news-latest__title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(22px, calc(0.3125vw + 18px), 24px);
  line-height: 1.5;
  letter-spacing: -1px;
}

.th-news-latest__title a {
  color: var(--black);
  text-decoration: none;
}

.th-news-latest__title a:hover {
  color: var(--blue);
}

/* Đoạn mô tả xám */
.th-news-latest__excerpt {
  margin: 0;
  color: var(--gray);
  font-size: clamp(12px, calc(0.625vw + 4px), 16px);
  font-weight: 400;
  line-height: 1.5;
}

/* Link xem thêm xanh */

/* ===== Phải: danh sách 3 tin ===== */
.th-news-latest__list {
  display: grid;

  gap: clamp(12px, calc(0.625vw + 4px), 16px);
}

/* Item + divider */
.th-news-mini {
  position: relative;
  padding-bottom: clamp(12px, calc(0.625vw + 4px), 16px);
  border-bottom: 1px solid var(--line);
  gap: clamp(12px, calc(0.625vw + 4px), 16px);
  grid-template-rows: auto auto auto;
}

/* Date ở list nên trung tính hơn (xám), link vẫn click được */
.th-news-mini__date {
  display: inline-block;
  font-size: clamp(12px, calc(0.3125vw + 8px), 14px);
  font-weight: 400;
  line-height: 1;
  color: var(--black);
  text-decoration: none;
  margin-bottom: 8px;
}

/* Tiêu đề nhỏ gọn */
.th-news-mini__title {
  margin-block: 0 8px;
  font-weight: 500;
  font-size: clamp(14px, calc(0.3125vw + 10px), 16px);
  line-height: 1.5;
  letter-spacing: -1px;
}

.th-news-mini__title a {
  color: var(--black);
  text-decoration: none;
}

.th-news-mini__title a:hover {
  color: var(--blue);
}

/* ===== Responsive ===== */

@media (max-width: 640px) {
  .th-news-latest__title {
    font-size: 18px;
  }

  .th-news-mini.has-divider::after {
    width: 52px;
  }
}
