/* report-carousel.css — structural only. Fonts and colors inherit from
   the page; adjust borders/backgrounds to match the existing site. */

.report-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
}

.rc-track {
  min-width: 0;                 /* lets the grid cell shrink so it can scroll */
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0.25rem 0 1rem;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.rc-track:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.rc-card {
  flex: 0 0 min(22rem, 85%);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem;
  border: 1px solid rgba(127, 127, 127, 0.35);
  border-radius: 6px;
}

.rc-date  { font-size: 0.85rem; opacity: 0.75; }
.rc-title { margin: 0; font-size: 1.1rem; line-height: 1.3; }

.rc-desc {                      /* descriptions run long; clamp them */
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  overflow: hidden;
}

.rc-link { margin-top: auto; }

.rc-btn {
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.rc-btn:disabled { opacity: 0.25; cursor: default; }
.rc-btn:focus-visible { outline: 2px solid currentColor; }

@media (max-width: 600px) {     /* phones: swipe only */
  .report-carousel { grid-template-columns: 1fr; }
  .rc-btn { display: none; }
}
