/* Static news layout: desktop 3 columns, tablet 2, phone 1. */
#news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 24px;
  width: 100%;
}
#news-grid .news-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e3ecec;
  border-radius: 12px;
  background: #fff;
}
#news-grid .news-card > a { display: block; }
#news-grid .news-card__media { overflow: hidden; aspect-ratio: 2 / 1; }
#news-grid .news-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}
#news-grid .news-card > a:hover img { transform: scale(1.025); }
#news-grid .news-card__content { padding: 22px; }
#news-grid .news-card__meta { margin-bottom: 12px; font-size: 13px; line-height: 1.6; color: #61747b; }
#news-grid h3.news-card__title { margin: 0 0 14px; padding: 0; font-size: 22px; line-height: 1.35; color: #17384a; }
#news-grid .news-card__content > a:hover h3 { color: #178e9c; }
#news-grid .news-card__content p { font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }
#news-grid a:focus-visible { outline: 3px solid #1daebf; outline-offset: -3px; }
@media (max-width: 980px) {
  #news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 767px) {
  #news-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  #news-grid .news-card__content { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  #news-grid .news-card__media img { transition: none; }
}
