/* Editorial interior-magazine layout for the Tin tức category only. */
.m4h-news-magazine {
  --m4h-ink: #1d2925;
  --m4h-muted: #6c756f;
  --m4h-line: #dfe4df;
  --m4h-paper: #f7f6f1;
  --m4h-accent: #996b45;
  background: var(--m4h-paper);
  color: var(--m4h-ink);
  padding-bottom: 72px;
}

.m4h-news-hero {
  background: #26342e;
  color: #fff;
  padding: clamp(48px, 8vw, 96px) 24px clamp(54px, 8vw, 100px);
}

.m4h-news-hero-inner,
.m4h-news-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.m4h-news-kicker,
.m4h-news-meta {
  color: var(--m4h-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.m4h-news-hero h1 {
  color: inherit;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(42px, 7vw, 74px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: .98;
  margin: 0;
}

.m4h-news-description {
  color: rgba(255,255,255,.76);
  font-size: 17px;
  line-height: 1.6;
  margin: 22px 0 0;
  max-width: 620px;
}

.m4h-news-shell { margin-top: -40px; }
.m4h-news-feature { background: #fff; box-shadow: 0 18px 45px rgba(25,42,33,.09); }
.m4h-news-lead { display: grid; grid-template-columns: 1.2fr 1fr; min-height: 420px; }
.m4h-news-image { background: #d9ddd8; display: block; overflow: hidden; }
.m4h-news-image img { height: 100%; object-fit: cover; transition: transform .45s ease; width: 100%; }
.m4h-news-lead:hover .m4h-news-image img,
.m4h-news-card:hover .m4h-news-image img { transform: scale(1.035); }
.m4h-news-image-placeholder { display: block; height: 100%; min-height: 240px; background: linear-gradient(135deg,#d2d9d1,#a8b6a9); }
.m4h-news-copy { display: flex; flex-direction: column; padding: clamp(25px,4vw,52px); }
.m4h-news-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 15px; }
.m4h-news-meta span + span::before { color: #a8afa9; content: '•'; margin-right: 9px; }
.m4h-news-title { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(22px,2.7vw,38px); font-weight: 500; letter-spacing: -.025em; line-height: 1.12; margin: 0; }
.m4h-news-title a { color: var(--m4h-ink); }
.m4h-news-title a:hover { color: var(--m4h-accent); }
.m4h-news-excerpt { color: var(--m4h-muted); font-size: 15px; line-height: 1.65; margin: 18px 0; }
.m4h-news-read { align-items: center; color: var(--m4h-ink); display: inline-flex; font-size: 12px; font-weight: 700; gap: 9px; letter-spacing: .1em; margin-top: auto; text-transform: uppercase; }
.m4h-news-read span { color: var(--m4h-accent); font-size: 18px; line-height: 1; }
.m4h-news-grid { display: grid; gap: 26px; grid-template-columns: repeat(3, 1fr); margin-top: 48px; }
.m4h-news-card { background: #fff; border: 1px solid var(--m4h-line); display: flex; flex-direction: column; min-width: 0; }
.m4h-news-card .m4h-news-image { aspect-ratio: 4 / 3; }
.m4h-news-card .m4h-news-copy { flex: 1; padding: 22px; }
.m4h-news-card .m4h-news-title { font-size: 23px; }
.m4h-news-card .m4h-news-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.m4h-news-pagination { margin-top: 42px; text-align: center; }
.m4h-news-pagination .page-numbers { border: 1px solid var(--m4h-line); color: var(--m4h-ink); display: inline-grid; height: 38px; margin: 0 3px; place-items: center; width: 38px; }
.m4h-news-pagination .page-numbers.current,
.m4h-news-pagination a.page-numbers:hover { background: #26342e; border-color: #26342e; color: #fff; }
.m4h-news-empty { padding: 80px 0; text-align: center; }

@media (max-width: 849px) {
  .m4h-news-magazine { padding-bottom: 38px; }
  .m4h-news-hero { padding-left: 20px; padding-right: 20px; }
  .m4h-news-hero-inner, .m4h-news-shell { width: min(100% - 28px, 640px); }
  .m4h-news-shell { margin-top: -22px; }
  .m4h-news-lead { grid-template-columns: 1fr; }
  .m4h-news-lead .m4h-news-image { aspect-ratio: 16 / 10; }
  .m4h-news-grid { gap: 16px; grid-template-columns: repeat(2, 1fr); margin-top: 28px; }
  .m4h-news-card .m4h-news-copy { padding: 15px; }
  .m4h-news-card .m4h-news-title { font-size: 18px; }
  .m4h-news-card .m4h-news-excerpt { display: none; }
  .m4h-news-card .m4h-news-meta { font-size: 9px; gap: 5px; letter-spacing: .08em; }
  .m4h-news-card .m4h-news-meta span + span::before { margin-right: 5px; }
}

@media (max-width: 440px) {
  .m4h-news-hero h1 { font-size: 42px; }
  .m4h-news-description { font-size: 15px; }
  .m4h-news-grid { gap: 10px; }
  .m4h-news-card .m4h-news-title { font-size: 16px; line-height: 1.18; }
  .m4h-news-card .m4h-news-read { font-size: 10px; gap: 5px; }
}
