/* ==============================================================================
   VINASTECH DESIGN SYSTEM — NEWS & CONTENT ARCHIVE (CONCEPT A+ MASTER REDESIGN)
   ============================================================================== */

@import url('vst-tokens.css');

.vst-news-archive {
  background-color: var(--vst-white);
  color: var(--vst-black);
  font-family: var(--font-body);
}

/* EDITORIAL NEWS HERO */
.vst-news-hero {
  padding: clamp(4rem, 7vw, 7.5rem) 0 clamp(3rem, 5vw, 5rem) 0;
  background-color: var(--vst-off-white);
  border-bottom: 1px solid var(--vst-line);
}

.vst-news-hero h1 {
  max-width: 980px;
  font-size: clamp(3.25rem, 6.5vw, 6.75rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  font-weight: 700;
  color: var(--vst-black);
  margin-top: 0.75rem;
}

.vst-news-hero h1 span {
  color: var(--vst-blue);
}

/* FEATURED STORY GRID */
.vst-featured-story {
  padding: clamp(3.5rem, 6vw, 6.5rem) 0;
  border-bottom: 1px solid var(--vst-line);
}

.vst-featured-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(24px, 3.5vw, 56px);
  align-items: center;
}

.vst-featured-media {
  grid-column: span 7;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--vst-line);
  background-color: var(--vst-off-white);
}

.vst-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--transition-smooth);
}

.vst-featured-grid:hover .vst-featured-media img {
  transform: scale(1.025);
}

.vst-featured-content {
  grid-column: span 5;
}

.vst-featured-content h2 {
  font-size: clamp(2rem, 3.8vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0.75rem 0 1.25rem 0;
}

.vst-featured-content h2 a {
  color: var(--vst-black);
  text-decoration: none;
  transition: color 0.2s;
}

.vst-featured-content h2 a:hover {
  color: var(--vst-blue);
}

/* CONTENT NAVIGATION RAIL */
.vst-news-nav-rail {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--vst-line);
  display: flex;
  gap: 2rem;
  align-items: center;
  overflow-x: auto;
  white-space: nowrap;
}

.vst-news-nav-rail a {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--vst-black);
  text-decoration: none;
  padding-bottom: 0.5rem;
  position: relative;
  transition: color 0.2s var(--transition-smooth);
}

.vst-news-nav-rail a:hover,
.vst-news-nav-rail a.active {
  color: var(--vst-blue);
}

.vst-news-nav-rail a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--vst-blue);
  transition: width 0.25s var(--transition-smooth);
}

.vst-news-nav-rail a.active::after,
.vst-news-nav-rail a:hover::after {
  width: 100%;
}

/* EDITORIAL MAGAZINE ROWS */
.vst-news-rows-section {
  padding: clamp(3rem, 5vw, 5.5rem) 0;
}

.vst-news-row {
  display: grid;
  grid-template-columns: 60px 240px 1fr 50px;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  padding: 2.25rem 0;
  border-top: 1px solid var(--vst-line);
  text-decoration: none;
  color: var(--vst-black);
  transition: background-color 0.25s var(--transition-smooth);
}

.vst-news-row:last-child {
  border-bottom: 1px solid var(--vst-line);
}

.vst-news-row:hover {
  background-color: var(--vst-off-white);
}

.vst-news-index {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--vst-blue);
}

.vst-news-row-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  background-color: var(--vst-off-white);
  border: 1px solid var(--vst-line);
}

.vst-news-row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--transition-smooth);
}

.vst-news-row:hover .vst-news-row-media img {
  transform: scale(1.03);
}

.vst-news-row-content h2 {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0.35rem 0 0.5rem 0;
}

.vst-news-row:hover .vst-news-row-content h2 {
  color: var(--vst-blue);
}

.vst-news-row-arrow {
  color: var(--vst-blue);
  font-size: 1.5rem;
  text-align: right;
  transition: transform 0.25s var(--transition-smooth);
}

.vst-news-row:hover .vst-news-row-arrow {
  transform: translateX(6px);
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) {
  .vst-featured-media, .vst-featured-content {
    grid-column: span 12;
  }
  .vst-news-row {
    grid-template-columns: 40px 180px 1fr 40px;
  }
}

@media (max-width: 640px) {
  .vst-news-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .vst-news-row-media {
    aspect-ratio: 16 / 9;
  }
  .vst-news-index {
    display: none;
  }
  .vst-news-row-arrow {
    display: none;
  }
}
