/* ============================================
   News & Events page (loaded only by news-events.html)
   ============================================ */

.news-container {
  max-width: 1000px;
}

/* ---------- Upcoming banner ---------- */
.news-upcoming {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  padding: 1.75rem 2rem;
  background:
    linear-gradient(135deg, rgba(59, 99, 204, 0.1), rgba(59, 99, 204, 0) 55%),
    var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 20px;
}

.news-upcoming-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent-glow);
  color: var(--accent-primary);
  font-size: 1.4rem;
}

.news-upcoming-body {
  flex: 1 1 280px;
  min-width: 0;
}

.news-upcoming-label {
  margin: 0 0 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-primary);
}

.news-upcoming-title {
  margin: 0;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.news-upcoming-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.news-upcoming-actions .btn {
  padding: 0.7rem 1.3rem;
  font-size: 0.9rem;
}

/* ---------- Section header (photo strip) ---------- */
.news-gallery-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin: 0 0 2.5rem;
}

.news-archive-title {
  margin: 0.5rem 0 0;
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  text-align: left;
}

/* ---------- Photo strip ---------- */
.news-photos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.news-photo {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 14px;
}

.news-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.news-photo:hover img,
.news-photo:focus-visible img {
  transform: scale(1.05);
}

.news-photo:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 3px;
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .news-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-upcoming {
    padding: 1.5rem;
  }
}
