/* ── News Hero ─────────────────────────────────────────────────────────────── */
.news-hero {
  position: relative;
  height: 380px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.news-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
}
.news-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,20,50,.82) 0%, rgba(10,20,50,.45) 55%, rgba(10,20,50,.2) 100%);
}
.news-hero-content {
  position: relative; z-index: 1;
  color: #fff;
  padding-bottom: 3rem;
}
.news-hero-content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: .75rem;
  color: #fff !important;
  text-shadow: 0 2px 16px rgba(0,0,0,.6);
}
.news-hero-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.9);
  max-width: 560px;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}

/* ── News Grid ─────────────────────────────────────────────────────────────── */
.news-section { background: var(--light-bg); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
.news-empty {
  text-align: center;
  color: var(--text-secondary);
  padding: 4rem 0;
  font-size: 1.05rem;
  grid-column: 1 / -1;
}

/* ── News Card ─────────────────────────────────────────────────────────────── */
.news-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.news-card-img { height: 200px; overflow: hidden; }
.news-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.news-card:hover .news-card-img img { transform: scale(1.03); }
.news-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-date {
  font-size: .75rem;
  color: var(--text-secondary);
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.news-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: .75rem;
}
.news-card-excerpt {
  font-size: .9rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  flex: 1;
}
.btn-news-read {
  font-size: .88rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  align-self: flex-start;
}
.btn-news-read:hover { color: var(--primary-dark); }

/* ── Spinner for news grid ─────────────────────────────────────────────────── */
.news-grid .loader {
  display: flex; justify-content: center; align-items: center;
  padding: 4rem; grid-column: 1 / -1;
}
.news-grid .spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .news-hero { height: 300px; }
  .news-grid { grid-template-columns: 1fr; }
}
