/* ─── NEWS ARCHIVE (news.html) ─── */

.news-archive {
  background: var(--off-white);
  padding: 64px 0 96px;
}

.news-archive-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

.news-archive-intro {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 680px;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

/* Year divider between groups of stories */

.news-year {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 56px 0 20px;
}

.news-year:first-of-type { margin-top: 0; }

.news-year::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Stacked story rows — hairline grid, same treatment as the home page cards */

.news-list {
  background: var(--white);
  border: 1px solid var(--border);
}

/* Hairline between stories. Drawn on the rows rather than as a gap in a grid
   background, so a row that has not scroll-revealed yet reads as white space. */
.news-row + .news-row {
  border-top: 1px solid var(--border);
}

.news-row {
  display: grid;
  grid-template-columns: 38% 1fr;
  background: var(--white);
  transition: transform 0.25s, box-shadow 0.25s;
}

.news-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.1);
  position: relative;
  z-index: 2;
}

.news-row:target {
  box-shadow: inset 4px 0 0 var(--blue);
}

.news-row-photo {
  position: relative;
  overflow: hidden;
  min-height: 230px;
}

.news-row-photo-bg {
  position: absolute;
  inset: 0;
}

.news-row-photo-bg.blue-dark {
  background: linear-gradient(135deg, #0a1f3c 0%, #1a3a6a 100%);
}

.news-row-photo-bg.green-dark {
  background: linear-gradient(135deg, #001f12 0%, #014a28 100%);
}

.news-row-photo-bg.red-dark {
  background: linear-gradient(135deg, #2a0008 0%, #5c001a 100%);
}

.news-row-photo-bg.yellow-dark {
  background: linear-gradient(135deg, #332600 0%, #6b5000 100%);
}

.news-row-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-55deg, transparent, transparent 30px, rgba(255,255,255,0.03) 30px, rgba(255,255,255,0.03) 31px);
  z-index: 1;
}

.news-row-body {
  padding: 32px 36px;
  align-self: center;
}

.news-date-tag {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 3px 10px;
  margin-bottom: 12px;
}

.news-date-tag.blue { background: var(--blue-pale); color: var(--blue); }

.news-date-tag.green { background: var(--green-pale); color: var(--green); }

.news-date-tag.red { background: var(--red-pale); color: var(--red); }

.news-date-tag.yellow { background: var(--yellow-pale); color: #8a6d00; }

.news-row-title {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
  color: var(--text);
}

.news-row-excerpt {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ─── SCROLL ANIMATIONS ─── */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ─── RESPONSIVE ─── */

@media (max-width: 768px) {
  .news-archive { padding: 40px 0 64px; }
  .news-archive-container { padding: 0 20px; }
  .news-archive-intro { margin-bottom: 32px; padding-bottom: 28px; }
  .news-year { margin: 40px 0 16px; }
  .news-row { grid-template-columns: 1fr; }
  .news-row-photo { min-height: 0; height: 180px; }
  .news-row-body { padding: 24px 22px; }
  .news-row-title { font-size: 17px; }
}

/* Page header eyebrow in the news accent color */

.page-header-eyebrow.red { color: var(--red); }

.page-header-eyebrow.red::before { background: var(--red); }
