.mhz-carousel {
  color: var(--text-color, #000);
}

.mhz-carousel:not(:has(.is-initialized)) {
  opacity: 0;
  pointer-events: none;
}

.mhz-carousel h1,
.mhz-carousel h2,
.mhz-carousel h3,
.mhz-carousel h4,
.mhz-carousel h5 {
  color: var(--title-color, #000);
}

.mhz-carousel .splide__pagination {
  gap: 6px;
  margin: 0;
  padding-bottom: 7px;
  bottom: 0;
  z-index: 2;
}

.mhz-carousel .splide__pagination li {
  padding: 0;
}

.mhz-carousel .splide__pagination li::before {
  content: none;
}

.mhz-carousel .splide__pagination li .splide__pagination__page {
  margin: 0;
  border-radius: 0;
  height: 3px;
  width: 30px;
  opacity: 0.5;
  background-color: var(--pagination-color);
  transition: opacity 0.3s ease 0s;
}

.mhz-carousel .splide__pagination li .splide__pagination__page.is-active {
  transform: none;
  opacity: 1;
}

.mhz-carousel .splide__arrow {
  height: 100%;
  width: 10%;
  min-width: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
}

@media (any-hover: hover) {
  .mhz-carousel .splide__arrow {
      opacity: 0.3;
      transition: opacity 0.3s ease 0s;
  }

  .mhz-carousel .splide__arrow:hover {
      opacity: 1;
  }
}

.mhz-carousel .splide__arrow svg {
  fill: var(--arrows-color, #000);
}

.mhz-carousel .splide__arrow--prev {
  left: 0;
}

.mhz-carousel .splide__arrow--next {
  right: 0;
}

.mhz-carousel__slide {
  display: flex;
  position: relative;
  color: inherit;
  width: 100%;
  max-height: calc(100dvh - 130px);
}

.mhz-carousel__slide:hover{
  color: inherit;
}

.mhz-carousel .mhz-carousel__slide img {
  display: block;
  margin: 0;
  margin: 0 auto;
  width: var(--image-width, 100%);
  height: var(--image-height, 100%);
  object-fit: var(--object-fit, cover);
}

.mhz-carousel__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding-bottom: 5px;
  text-align: center;
  background: var(--content-bg);
}

.mhz-carousel__content h2, 
.f-caption h2 {
  margin: 10px 0 5px;
  font-size: calc(8px + 10 * (100vw / 1280));
}

.mhz-carousel__content p,
.f-caption p {
  font-size: calc(6px + 5 * (100vw / 1280));
}

.f-caption {
  color: #fff;
  text-align: center;
}

.f-caption h2 {
  color: #fff;
}

.f-caption p {
  margin: 0;
}

@media (max-width: 550px){
  .mhz-carousel__content h2{
    margin: 0;
  }
  .mhz-carousel__content p{
    margin: 0px 0px 10px;
  }
}

.mhz-carousel__thumbslider {
  margin: 0 auto;
}

.mhz-carousel__thumbslide {
  opacity: 0.5;
  transition: opacity 0.3s ease 0s;
}

@media (any-hover: hover) {
  .mhz-carousel__thumbslide:hover {
      opacity: 1;
  }
}

.mhz-carousel__thumbslide.is-active,
.splide__track--nav>.splide__list>.mhz-carousel__thumbslide.is-active {
  border: none;
  opacity: 1;
}

.mhz-carousel__thumbslide img {
  width: 100%;
  height: 100%;
}

[data-fancybox]::before {
  content: '';
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29' fill='none'%3E%3Cpath d='M28 28L21.6252 21.6138L28 28ZM25.1579 13.0789C25.1579 16.2825 23.8853 19.3548 21.6201 21.6201C19.3548 23.8853 16.2825 25.1579 13.0789 25.1579C9.87541 25.1579 6.80308 23.8853 4.53784 21.6201C2.2726 19.3548 1 16.2825 1 13.0789C1 9.87541 2.2726 6.80308 4.53784 4.53784C6.80308 2.2726 9.87541 1 13.0789 1C16.2825 1 19.3548 2.2726 21.6201 4.53784C23.8853 6.80308 25.1579 9.87541 25.1579 13.0789V13.0789Z' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M13 9V13M13 13V17M13 13H17M13 13H9' stroke='white' stroke-width='2' stroke-linecap='square'/%3E%3C/svg%3E"), var(--content-bg, rgba(0, 0, 0, 0.5));
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% - var(--content-height, 0px));
  transition: opacity 0.3s ease 0s;
  opacity: 0;
  pointer-events: none;
}

@media (any-hover: hover){
  [data-fancybox]:hover::before{
    opacity: 1;
  }
}