/* ============================================================
   NEWS PAGE
   (.page-hero and .badge are defined once, in style.css)
   Cards are built at runtime by js/news.js — class names unchanged.
   ============================================================ */

.news-section {
  padding: var(--section-y) 0;
  background: var(--bg);
}

/* ── Featured article ───────────────────────────────────────── */
.featured-article {
  display: flex;
  flex-direction: column;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.featured-img {
  min-height: 260px;
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
}

.featured-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.featured-content .news-meta { margin-bottom: 0.5rem; }

.featured-content .news-card-title {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.featured-content .news-card-excerpt { flex: none; font-size: 1.05rem; }

/* ── Filters ────────────────────────────────────────────────── */
.news-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  min-height: 42px;
  padding: 0.5rem 1.35rem;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.filter-btn:hover { border-color: var(--navy); }

.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #FFFFFF;
}

/* ── Grid & cards ───────────────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
  gap: 1.5rem;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--transition), border-color var(--transition), translate var(--transition);
}

.news-card:hover {
  translate: 0 -4px;
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 164, 76, 0.6);
}

.news-card-img {
  background: linear-gradient(135deg, var(--gray-200), var(--gray-300));
}

.news-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.4rem 1.5rem 1.6rem;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  font-size: 0.85rem;
}

.news-card-title {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.012em;
  color: var(--navy);
  margin-bottom: 0.75rem;
  text-wrap: pretty;
}

.news-card-excerpt {
  flex: 1;
  margin-bottom: 1.1rem;
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--gray-600);
}

.news-card-link {
  align-self: flex-start;
  color: var(--gold-ink);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.3s var(--ease);
}

.news-card-link:hover { background-size: 100% 1.5px; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (min-width: 992px) {
  .featured-article { flex-direction: row; }
  .featured-img     { flex: 0 0 48%; min-height: 380px; }
  .featured-content { flex: 1; }
}
