.scrollable-cards-slider {
  --scrollable-card-min-height: 450px;
  --scrollable-card-max-height: 65vh;
  --scrollable-card-height: 631px;
  
  --modal-background: rgba(0,0,0,.47);
  --modal-overlay-background: rgb(255,255,255);

  --btn-hover-opacity: .75;
}

.scrollable-cards-slider>.container {
  padding: 0 15px;
}

.scrollable-cards-slider ._card {
  min-width: 300px;
  min-height: var(--scrollable-card-min-height);
  max-height: var(--scrollable-card-max-height);
  height: var(--scrollable-card-height);
  border-radius: var(--card-corner-radius);
  overflow: hidden;
  position: relative;
  will-change: transform;
  transition: transform .3s cubic-bezier(0,0,0.5,1);
  aspect-ratio: 9 / 16;
}

.scrollable-cards-slider ._card:hover {
  transform: scale(1.0161290323);
}

.scrollable-cards-slider ._card>img:not([data-bootstrap-icons-icon]),
.scrollable-cards-slider ._card>video {
  max-height: var(--scrollable-card-max-height);
  min-height: var(--scrollable-card-min-height);
  height: var(--scrollable-card-height);
  object-fit: cover;
}

.scrollable-cards-slider ._card .card-modal-trigger img[data-bootstrap-icons-icon] {
  position: absolute;
  right: 25px;
  bottom: 25px;
  transition: opacity .2s ease-in-out;
}

.scrollable-cards-slider ._card .card-modal-trigger img[data-bootstrap-icons-icon]:hover {
  opacity: var(--btn-hover-opacity);
}

.scrollable-cards-slider ._card .play-video-trigger {
  border: none;
  background: transparent;;
  outline: none;
}
.scrollable-cards-slider ._card .play-video-trigger>img {
  position: absolute;
  right: calc(25px + 36px + 15px);
  bottom: 25px;
  transition: opacity .2s ease-in-out;
  z-index: 0;
  opacity: 0;
}

.scrollable-cards-slider ._card .play-video-trigger>img.visible {
  z-index: 1;
  opacity: 1;
}

.scrollable-cards-slider ._card .play-video-trigger>img.visible:hover {
  opacity: var(--btn-hover-opacity);
}

.scrollable-cards-slider ._card>._card-copy {
  position: absolute;
  top: 0;
  left: 0;
  padding: 12% 7%;
  
}

.scrollable-cards-slider ._card>._card-copy h3 {
  font-weight: 500;
}

.scrollable-cards-slider h3,
.scrollable-cards-slider p {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.scrollable-cards-slider .card-modal-trigger {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  cursor: pointer;
  border-radius: var(--card-corner-radius);
  z-index: 1;
  width: 100%;
  height: 100%;
  background: none;
  border: none;
  outline: none;
  padding: 0;
}

@media (max-width: 768px) {
  .scrollable-cards-slider {
    --scrollable-card-min-height: 533px;
    --scrollable-card-max-height: 533px;
    --scrollable-card-height: 533px;
  }
  
  .scrollable-cards-slider p {
    font-size: 15px;
    line-height: 1.4;
  }
  
  .scrollable-cards-slider ._card .card-modal-trigger img[data-bootstrap-icons-icon] {
    bottom: 15px;
    right: 15px;
    pointer-events: none;
  }
  
  .scrollable-cards-slider ._card .play-video-trigger>img {
    right: calc(15px + 36px + 15px);
    bottom: 15px;
  }
}



@media (max-width: 375px) {
  .scrollable-cards-slider {
    --scrollable-card-min-height: 425px;
    --scrollable-card-max-height: 425px;
    --scrollable-card-height: 425px;
  }
}


