﻿.page {
  --ar-title-font: 'Noto Sans Thai', sans-serif;
  --ar-title-lh: 1.26;
  --ar-body-lh: 1.7;
  --ar-track: .02em;
}

html[lang="en"] .page {
  --ar-title-lh: 1.32;
  --ar-body-lh: 1.62;
  --ar-track: .01em;
}

.articles-container {
  padding-top: 36px;
}

.articles-grid2 {
  gap: 24px;
}

.article-card {
  display: block;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 138, 0, 0.35);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.article-thumb {
  height: 230px;
  background: #dce5f0;
  overflow: hidden;
}

.article-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-thumb::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 68px;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.48), rgba(15, 23, 42, 0));
}

.article-thumb-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: #ff8a00;
  font-size: 19px;
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}

.article-body {
  padding: 18px 20px 20px;
}

.article-meta {
  margin-bottom: 12px;
}

.article-tag {
  background: rgba(255, 138, 0, 0.14);
}

.article-title {
  font-family: var(--ar-title-font);
  font-size: 20px;
  color: #0b1a33;
  margin-bottom: 9px;
  line-height: var(--ar-title-lh);
  letter-spacing: var(--ar-track);
}

.article-excerpt {
  font-size: 14px;
  color: #4f6078;
  line-height: var(--ar-body-lh);
  letter-spacing: var(--ar-track);
}

@media (max-width: 900px) {
  .article-thumb {
    height: 220px;
  }
}

@media (max-width: 600px) {
  .article-title {
    font-size: 18px;
  }

  .article-excerpt {
    font-size: 13px;
  }
}

