.l-video-carousel {
  margin-left: auto;
  margin-right: auto;
  margin-top: 1rem;
  /*width: 80%;*/
}

.c-video-carousel .splide__slide {
  min-height: 220px;
}

.c-video-carousel__item {
  border-radius: 10px;
  height:100%;
  overflow: hidden;
  padding-top: 56.25%;
  /*padding-top: 40%;*/
  position: relative;
}

.c-video-carousel__item img {
  width: 100%;
  height: 100% !important;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
}

.c-video-carousel .splide__slide .c-video-carousel__item {
  opacity: 0.6;
  transform: scale(0.75);
  transition: all ease-in-out .35s;
}

.c-video-carousel .splide__slide.is-active .c-video-carousel__item {
  opacity: 1;
  transform: scale(.9);
}

.c-video-carousel .splide__track {
  overflow: visible;
}

.c-video-carousel__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 10px 20px;
  background: linear-gradient(0deg, #000000 0%, rgba(255,255,255,0) 100%);
  font-size: 12px;
}

.c-video-carousel__content p {
  display: none;
}

.c-video-carousel__content :last-child {
  margin-bottom: 0;
}

.c-video-carousel__content strong {
  font-weight: 600;
}

.c-video-carousel .splide__video__play {
  width: 60px !important;
  height: 60px !important;
  background-color: white !important;
  transform: translate(-50%,-50%) !important;
  opacity: 1 !important;
  border: 0 none !important;
  padding: 0 !important;
  display: flex;
  top: 40%;
}

.c-video-carousel .splide__video__play:after {
  background-image: url('https://www.allica.bank/hubfs/New%20Website%20Theme%202024/logos-and-icons/icons/play-button.svg');
  background-size: contain;
  background-repeat: no-repeat;
  border: none;
  content: "";
  display: inline-block;
  height: 23px;
  margin-left: 4px;
  width: 20px;
}

@media (min-width: 768px) {
  .l-video-carousel {
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
    width: 75%;
  }

  .c-video-carousel .splide__slide {
    max-width: 75%;
    max-height: 75%;
    min-height: 0;
    height: 50% !important;
  }

  .c-video-carousel__content {
    font-size: 1em;
  }
  .c-video-carousel__content h3 {
    font-size: 1.15em;
    margin-bottom: 12px;
  }

  .c-video-carousel__content h3 + p {
    margin-top: 0;
  }
  .c-video-carousel .splide__video {
    height: 90%;
    left: 5%;
    top: 5%;
    width: 90%;
  }

  .c-video-carousel .splide__slide:not(.is-active) .splide__video {
    height: 75%;
    width: 75%;
    top: 12.5%;
  }
  .c-video-carousel .splide__slide.is-prev:not(.is-active) .splide__video {
    left: calc(12.5% + 50px);
  }
  .c-video-carousel .splide__slide.is-next:not(.is-active) .splide__video {
    left: calc(12.5% - 50px);
  }
  .c-video-carousel .splide__video__wrapper {
    height: 100%;
    width: 100%;
  }

  .c-video-carousel .splide__slide.is-prev .c-video-carousel__item {
    margin-left: 50px;
    margin-right: -50px;
  }

  .c-video-carousel .splide__slide.is-next .c-video-carousel__item {
    margin-left: -50px;
    margin-right: 50px;
  }

  .c-video-carousel .splide__video__play:after {
    height: 28px;
    width: 25px;
  }

  .c-video-carousel__item {
    height: auto;
  }
  .c-video-carousel__item .splide .splide__pagination {
    margin-top: 12px;
  }
}

@media (min-width: 993px) {
  .c-video-carousel .splide__video__play {
    height: 90px !important;
    top: 35%;
    width: 90px !important;
  }

  .c-video-carousel__content h3 {
    font-size: 1.35em;
    margin-bottom: 24px;
  }
  .c-video-carousel__content p {
    display: block;
  }

}

@media (min-width: 1201px) {
  .l-video-carousel {
    /*width: 100%;/*
    margin: 0 auto;
  }

  .c-video-carousel__content h3 {
    font-size: 1.511em;
  }

}
