﻿.scrollableCarouselWidget .swiper-slide {
  overflow: hidden;
}

  .scrollableCarouselWidget .swiper-slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background-color: var(--site-black);
    z-index: 3;
  }

  .scrollableCarouselWidget .swiper-slide::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #25282980;
    z-index: 2;
    transition: 0.15s linear;
  }

  .scrollableCarouselWidget .swiper-slide:hover::after {
    background-color: #1B657FCC;
  }

  .scrollableCarouselWidget .swiper-slide .name {
    z-index: 3;
    position: absolute;
    bottom: 7%;
    left: 10%;
    color: #FFF;
    font-family: var(--font-museoslab);
    font-size: 2rem;
    font-weight: 400;
    line-height: 2.21933rem;
    transition: 0.15s linear;
  }

.scrollableCarouselWidget .imageWrapper {
  max-height: 1033px;
}

.scrollableCarouselWidget img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: 0.15s linear;
}

.scrollableCarouselWidget .swiper-slide:hover img {
  scale: 1.02;
}

.scrollableCarouselWidget .swiper-slide:hover .name {
  transform: translate(10px, -10px);
}

@media (min-width: 767px) {
  .scrollableCarouselWidget .swiper-slide .name {
    font-size: 2.5rem;
    line-height: 2.71933rem;
  }
}

.scrollableCarouselWidget .swiper .swiper-button-next,
.scrollableCarouselWidget .swiper .swiper-button-prev {
  opacity: 0;
  scale: 0.75;
  transition: 0.2s linear;
  border: 2px solid var(--site-black);
  border-radius: 50%;
  color: var(--site-black);
  padding: 10px;
  background-color: var(--site-lightblue);
  margin: 0 20px;
}

.scrollableCarouselWidget .swiper:hover .swiper-button-next,
.scrollableCarouselWidget .swiper:hover .swiper-button-prev,
.scrollableCarouselWidget .swiper:focus-within .swiper-button-next,
.scrollableCarouselWidget .swiper:focus-within .swiper-button-prev {
  opacity: 1;
  scale: 1;
}