/* ==========================================================================
   Video Carousel block (blocks/video-carousel)
   Colors follow the section text color (currentColor), so the block works
   on dark and light backgrounds. 1rem = 10px in this theme.
   ========================================================================== */
.video-carousel {
  position: relative;
  padding: 0 6.5rem;
}
@media (min-width: 1025px) {
  .video-carousel {
    padding: 0 9.9rem;
  }
}
.video-carousel__track {
  margin: 0 -1.2rem;
  padding: 0;
}
.video-carousel__track:not(.slick-initialized) {
  display: flex;
  overflow: hidden;
}
.video-carousel__track:not(.slick-initialized) .video-carousel__item {
  flex: 0 0 100%;
}
@media (min-width: 768px) {
  .video-carousel__track:not(.slick-initialized) .video-carousel__item {
    flex-basis: 50%;
  }
}
@media (min-width: 1025px) {
  .video-carousel__track:not(.slick-initialized) .video-carousel__item {
    flex-basis: 33.333%;
  }
}
.video-carousel__track .slick-track {
  display: flex;
}
.video-carousel__item {
  margin: 0;
  padding: 0 1.2rem;
}
.video-carousel__frame {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border: 0.3rem solid #0B5F6B;
  border-radius: 2rem;
  background: #0B5F6B;
}
.video-carousel__play, .video-carousel__player {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-carousel__play {
  position: relative;
}
.video-carousel__play img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.3s ease;
}
.video-carousel__play:hover img, .video-carousel__play:focus-visible img {
  transform: scale(1.04);
}
.video-carousel__play:focus-visible {
  outline: 0.3rem solid currentColor;
  outline-offset: -0.6rem;
}
.video-carousel__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6rem;
  height: 6rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='32' r='32' fill='%23fff' fill-opacity='.85'/%3E%3Cpath d='M25 19.5v25L45 32z' fill='%230E6D80'/%3E%3C/svg%3E") no-repeat center/contain;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
  pointer-events: none;
}
.video-carousel__play:hover .video-carousel__icon, .video-carousel__play:focus-visible .video-carousel__icon {
  transform: translate(-50%, -50%) scale(1.1);
}
.video-carousel__arrow {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0.25rem solid currentColor;
  border-radius: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
@media (min-width: 1025px) {
  .video-carousel__arrow {
    width: 7.4rem;
    height: 7.4rem;
    border-width: 0.3rem;
  }
}
.video-carousel__arrow svg {
  width: 55%;
  height: 55%;
}
.video-carousel__arrow:hover, .video-carousel__arrow:focus-visible {
  background: rgba(255, 255, 255, 0.15);
}
.video-carousel__arrow:focus-visible {
  outline: 0.2rem solid currentColor;
  outline-offset: 0.3rem;
}
.video-carousel__arrow--prev {
  left: 0;
}
.video-carousel__arrow--next {
  right: 0;
}
.video-carousel__arrow[hidden], .video-carousel__arrow.slick-hidden {
  display: none;
}
@media (max-width: 767px) {
  .video-carousel {
    padding: 0 0 6.4rem;
  }
  .video-carousel__arrow {
    top: auto;
    bottom: 0;
    width: 4.8rem;
    height: 4.8rem;
    transform: none;
  }
  .video-carousel__arrow--prev {
    left: calc(50% - 6rem);
  }
  .video-carousel__arrow--next {
    right: calc(50% - 6rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  .video-carousel__play img, .video-carousel__icon, .video-carousel__arrow {
    transition: none;
  }
  .video-carousel__play:hover img, .video-carousel__play:focus-visible img {
    transform: none;
  }
  .video-carousel__play:hover .video-carousel__icon, .video-carousel__play:focus-visible .video-carousel__icon {
    transform: translate(-50%, -50%);
  }
}
