/* 02 / 03 Tin tức: article list and article detail (the compact title band, chip and related list are shared, Vvs_Site.css).
   Loaded after Vvs_Site.css (Helpers/VvStylesheets.cs). */

/* ---------- News list (02, 03) ---------- */
.vv-news-list {
  display: grid;
  gap: 14px;
}
.vv-news-card {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 20px;
  padding: 14px;
  border: 1px solid var(--vv-border);
  border-radius: var(--vv-radius);
  background: #fff;
  transition:
    box-shadow 0.2s,
    border-color 0.2s;
}
.vv-news-card:hover {
  border-color: #cdd8cb;
  box-shadow: 0 10px 26px rgba(18, 40, 18, 0.08);
}
.vv-news-card__thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 6px;
  background: var(--vv-green);
}
.vv-news-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.vv-news-card:hover .vv-news-card__thumb img {
  transform: scale(1.04);
}
.vv-thumb-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  height: 100%;
  padding: 8px;
  background: linear-gradient(135deg, var(--vv-green), var(--vv-green-dark));
  text-align: center;
}
.vv-thumb-placeholder strong {
  color: var(--vv-yellow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
}
.vv-thumb-placeholder small {
  color: rgba(255, 255, 255, 0.8);
  font-size: 10px;
}
.vv-news-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.vv-news-card__title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--vv-green-dark);
}
.vv-news-card__title a {
  text-decoration: none;
}
.vv-news-card__title a:hover {
  color: var(--vv-green);
  text-decoration: underline;
}
.vv-news-card__summary {
  display: -webkit-box;
  margin: 0 0 8px;
  overflow: hidden;
  color: var(--vv-muted);
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.vv-news-card__more {
  margin-top: auto;
  color: var(--vv-yellow-text);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.vv-news-card__more:hover {
  text-decoration: underline;
}

/* ---------- Article detail ---------- */
.vv-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin: 0 0 18px;
}
.vv-article__date {
  color: var(--vv-muted);
  font-size: 13px;
  font-weight: 500;
}

@media (max-width: 991px) {
  .vv-news-card__title {
    font-size: 15px;
  }
}

@media (max-width: 575px) {
  .vv-news-card {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
  }
  .vv-news-card__summary {
    -webkit-line-clamp: 3;
  }
}
