/* Progressive enhancement: without JavaScript, every article stays visible. */
.home-news-carousel [hidden] { display: none !important; }
.home-news-carousel .home-news-slides { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.home-news-carousel.is-enhanced .home-news-slides { display: block; }
.home-news-carousel.is-enhanced .home-news-card {
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px;
}
.home-news-carousel.is-enhanced .home-news-media { flex: 1 1 240px; max-width: 420px; min-width: 0; }
.home-news-carousel.is-enhanced .home-news-copy { flex: 2 1 240px; min-width: 0; overflow-wrap: anywhere; }
.home-news-photo { display: block; width: 100%; height: auto; max-height: 280px; object-fit: contain; border-radius: 8px; }
.home-news-carousel:not(.is-enhanced) .home-news-media { margin-bottom: 16px; }
.home-news-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; margin-bottom: 16px; }
.home-news-controls button {
  font: inherit; font-weight: 600; color: #14304a; background: #fff;
  border: 1px solid #36536b; border-radius: 8px; padding: 10px 14px;
  min-height: 44px; cursor: pointer;
}
.home-news-controls button:hover { background: #eaf0f5; }
.home-news-controls button:focus-visible { outline: 3px solid #245a82; outline-offset: 3px; }
.home-news-controls [data-news-status] { color: #14304a; font-variant-numeric: tabular-nums; }
.home-news-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 600px) {
  .home-news-carousel.is-enhanced .home-news-card { flex-direction: column; align-items: stretch; gap: 16px; padding: 22px !important; }
  .home-news-carousel.is-enhanced .home-news-media,
  .home-news-carousel.is-enhanced .home-news-copy { flex: 0 1 auto; max-width: none; }
  .home-news-controls { justify-content: center; }
}
