/* ============================================================
   News: banner carousel, category tabs and the entry list, on
   the light ground of the sections below.
   ============================================================ */
.carousel { position: relative; overflow: hidden; background: var(--row-hover); }
.carousel .bl { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; transition: opacity .45s ease; }
.carousel .bl.visible { opacity: 1; }
.carousel.linked { cursor: pointer; }
.news-dots {
  position: absolute; left: 0; right: 0; bottom: 8px;
  display: flex; align-items: center; justify-content: center; gap: 7px;
}
.news-dots i { width: 6.5px; height: 6.5px; border-radius: 50%; background: rgba(255, 255, 255, 0.6); cursor: pointer; transition: background .15s ease; }
.news-dots i:hover { background: #FFF; }
.news-dots i.active { width: 8px; height: 8px; background: var(--red); }
.news-arrow {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transition: opacity .15s ease, background .15s ease;
}
.news-arrow.prev { left: 8px; }
.news-arrow.next { right: 8px; }
.carousel:hover .news-arrow, .carousel:focus-within .news-arrow { opacity: 1; }
/* Without hover the arrows would be invisible and still take the tap. */
@media (hover: none) {
  .news-arrow { opacity: 1; }
}
.news-arrow:hover { background: #FFFFFF; color: var(--red); }

.news-band {
  display: flex;
  height: 40px;
  margin-top: 10px;
  border-radius: 13px 13px 0 0;
  background: var(--paper-grey);
}
.ntab {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  margin: 5px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink-2);
  transition: background .15s ease, color .15s ease;
}
.ntab:hover { color: var(--ink); }
.ntab[aria-selected="true"] { background: var(--grad-btn); color: #FFFFFF; }

.news-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; }
.big-banner {
  aspect-ratio: 16 / 8.6;
  border-radius: 20px;
  box-shadow: var(--soft-shadow);
}
.big-banner .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 70px 28px 30px;
  font-size: 21px;
  color: #FFFFFF;
  text-shadow: var(--art-shadow);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent);
}
.big-banner .news-dots { bottom: 14px; justify-content: flex-end; padding-right: 22px; }
.big-banner .news-arrow { width: 34px; height: 34px; font-size: 14px; }
.big-banner .news-arrow.prev { left: 14px; }
.big-banner .news-arrow.next { right: 14px; }
.news-side {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--track);
  background: #FFFFFF;
  box-shadow: var(--soft-shadow);
}
.news-side .news-band { margin: 0; height: 52px; border-radius: 0; }
.news-side .ntab { margin: 7px 5px; font-size: 14px; }
.news-rows { list-style: none; padding: 8px; }
.news-rows li {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px;
  border-radius: 999px;
  transition: background .15s ease;
}
.news-rows li.clickable { cursor: pointer; }
.news-rows li.clickable:hover { background: var(--row-hover); }
.kind {
  flex: none;
  font-size: 11px;
  letter-spacing: 1px;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid rgba(126, 47, 220, 0.35);
  background: rgba(126, 47, 220, 0.06);
  color: var(--purple);
}
.kind.notice { color: var(--red); border-color: rgba(236, 71, 39, 0.35); background: rgba(236, 71, 39, 0.06); }
.kind.event { color: #D8612F; border-color: rgba(222, 113, 75, 0.4); background: rgba(222, 113, 75, 0.07); }
.news-rows .t { flex: 1; min-width: 0; font-size: 15.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-rows .d { flex: none; font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
  .news-grid { grid-template-columns: 1fr; }
}

/* With reduced motion the banners still advance, and change without a fade. */
@media (prefers-reduced-motion: reduce) {
  .carousel .bl { transition: none; }
}
