/**
 * Post carousel block (post_carousel.twig). The content column must fill its grid
 * cell; parent .carousel flex widths otherwise shrink it.
 *
 * Do not set widths on .slick-track / .slick-slide here - Slick sizes the fade
 * track as (slide count x slide width) and offsets each slide by one width.
 */

#content .layout {
  overflow-x: clip;
}

.post-carousel .carousel__content {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
}

.post-carousel .carousel__cards,
.post-carousel .carousel__cards.slick-slider {
  width: 100% !important;
  max-width: 100%;
}

.post-carousel .carousel__cards .carousel__card {
  width: 100%;
  box-sizing: border-box;
}

/* Before Slick runs, show only the first card. */
.post-carousel .carousel__cards:not(.slick-initialized) > .carousel__card ~ .carousel__card {
  display: none;
}
