:root {
  --prizma-safe-width: 1440px;
  --prizma-page-gutter: clamp(20px, 4vw, 64px);
}

.prizma-hero-carousel {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  height: clamp(420px, 26vw, 640px);
  margin-left: -50vw;
  overflow: hidden;
  background: #dfdfdf;
  outline: none;
  touch-action: pan-y pinch-zoom;
}

.prizma-hero-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.prizma-hero-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.prizma-hero-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.prizma-hero-image-link {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

.prizma-hero-carousel .prizma-hero-slide picture > img.prizma-hero-art {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 100% !important;
  object-fit: cover;
  object-position: 50% 50%;
  user-select: none;
}

.prizma-hero-video {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 100% !important;
  border: 0;
  background: #000000;
  object-fit: cover;
  object-position: 50% 50%;
  pointer-events: none;
  user-select: none;
}

.prizma-hero-cta {
  --prizma-button-rgb: 33, 49, 48;
  --prizma-button-opacity: 0.88;
  --prizma-button-text: #ffffff;
  --prizma-button-hover: #d40000;
  --prizma-button-hover-text: #ffffff;
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  min-width: 112px;
  padding: 12px 20px;
  border: 0;
  border-radius: 16px;
  background: rgba(var(--prizma-button-rgb), var(--prizma-button-opacity));
  color: var(--prizma-button-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transform: translate(-50%, -50%);
  transition:
    background-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.prizma-hero-cta.position-left {
  left: max(
    var(--prizma-page-gutter),
    calc((100vw - var(--prizma-safe-width)) / 2 + 32px)
  );
  transform: translateY(-50%);
}

.prizma-hero-cta.position-right {
  right: max(
    var(--prizma-page-gutter),
    calc((100vw - var(--prizma-safe-width)) / 2 + 32px)
  );
  left: auto;
  transform: translateY(-50%);
}

.prizma-hero-cta:hover,
.prizma-hero-cta:focus {
  background: var(--prizma-button-hover);
  color: var(--prizma-button-hover-text);
  transform: translate(-50%, calc(-50% - 2px));
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.24);
}

.prizma-hero-cta.position-left:hover,
.prizma-hero-cta.position-left:focus,
.prizma-hero-cta.position-right:hover,
.prizma-hero-cta.position-right:focus {
  transform: translateY(calc(-50% - 2px));
}

.prizma-hero-cta:focus-visible,
.prizma-hero-image-link:focus-visible,
.prizma-hero-arrow:focus-visible,
.prizma-hero-dot:focus-visible,
.prizma-hero-carousel:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.prizma-hero-image-link:focus-visible {
  outline-offset: -6px;
}

.prizma-hero-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.22);
  color: #ffffff;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%);
  transition:
    opacity 200ms ease,
    background-color 180ms ease,
    scale 180ms ease;
}

.prizma-hero-carousel:hover .prizma-hero-arrow,
.prizma-hero-carousel:focus-within .prizma-hero-arrow {
  opacity: 1;
}

.prizma-hero-arrow:hover {
  background: rgba(10, 10, 10, 0.55);
  scale: 1.06;
}

.prizma-hero-arrow-previous {
  left: clamp(12px, 2.2vw, 42px);
}

.prizma-hero-arrow-next {
  right: clamp(12px, 2.2vw, 42px);
}

.prizma-hero-arrow span {
  display: block;
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  rotate: 45deg;
}

.prizma-hero-arrow-previous span {
  rotate: -135deg;
}

.prizma-hero-pagination {
  position: absolute;
  z-index: 4;
  bottom: 82px;
  left: 50%;
  display: flex;
  gap: 5px;
  transform: translateX(-50%);
}

.prizma-hero-dot {
  width: 48px;
  height: 16px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.prizma-hero-dot-fill {
  position: relative;
  display: block;
  width: 100%;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.24);
  transition: transform 180ms ease;
}

.prizma-hero-dot-fill::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #111111;
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
}

.prizma-hero-dot:hover .prizma-hero-dot-fill {
  transform: scaleY(1.6);
}

.prizma-hero-dot.is-active .prizma-hero-dot-fill::after {
  animation: prizma-hero-progress var(--prizma-autoplay, 6000ms) linear forwards;
  animation-delay: var(--prizma-progress-offset, 0ms);
}

.prizma-hero-carousel.is-paused .prizma-hero-dot.is-active .prizma-hero-dot-fill::after {
  animation-play-state: paused;
}

.prizma-hero-carousel.is-single .prizma-hero-arrow,
.prizma-hero-carousel.is-single .prizma-hero-pagination {
  display: none;
}

@keyframes prizma-hero-progress {
  to {
    transform: scaleX(1);
  }
}

.et_pb_row.prizma-featured-overlap {
  position: relative !important;
  z-index: 6 !important;
  margin-top: -72px !important;
}

.et_pb_section.prizma-featured-section {
  position: relative !important;
  z-index: 20 !important;
  margin-top: 0 !important;
  margin-bottom: -72px !important;
  padding-top: 0 !important;
  overflow: visible !important;
  background: transparent !important;
}

.et_pb_section.prizma-featured-section > .et_pb_row {
  position: relative !important;
  z-index: 21 !important;
  margin-top: 0 !important;
  transform: translate3d(0, -72px, 0) !important;
}

.prizma-hero-empty {
  width: min(calc(100% - 40px), 1280px);
  margin: 24px auto;
  padding: 20px;
  border: 1px dashed #a6a6a6;
  background: #ffffff;
  color: #333333;
}

@media (max-width: 1023px) {
  .prizma-hero-carousel {
    height: clamp(400px, 52.083vw, 560px);
  }

  .prizma-hero-pagination {
    bottom: 58px;
  }

  .prizma-hero-arrow {
    width: 44px;
    height: 44px;
    background: rgba(10, 10, 10, 0.32);
    opacity: 0.82;
  }

  .prizma-hero-arrow-previous {
    left: 14px;
  }

  .prizma-hero-arrow-next {
    right: 14px;
  }

  .prizma-hero-arrow span {
    width: 10px;
    height: 10px;
  }

  .et_pb_row.prizma-featured-overlap {
    margin-top: -48px !important;
  }

  .et_pb_section.prizma-featured-section {
    margin-bottom: -48px !important;
  }

  .et_pb_section.prizma-featured-section > .et_pb_row {
    transform: translate3d(0, -48px, 0) !important;
  }
}

@media (max-width: 767px) {
  .prizma-hero-carousel {
    height: clamp(600px, 175vw, 760px);
  }

  .prizma-hero-cta {
    min-width: 104px;
    padding: 11px 17px;
    font-size: 13px;
  }

  .prizma-hero-cta.position-left {
    left: 18px;
  }

  .prizma-hero-cta.position-right {
    right: 18px;
  }

  .prizma-hero-arrow {
    display: grid;
    width: 38px;
    height: 38px;
    background: rgba(10, 10, 10, 0.36);
    opacity: 0.84;
  }

  .prizma-hero-arrow-previous {
    left: 10px;
  }

  .prizma-hero-arrow-next {
    right: 10px;
  }

  .prizma-hero-arrow span {
    width: 9px;
    height: 9px;
  }

  .prizma-hero-pagination {
    bottom: 26px;
    gap: 4px;
  }

  .prizma-hero-dot {
    width: 38px;
  }

  .et_pb_row.prizma-featured-overlap {
    margin-top: -16px !important;
  }

  .et_pb_section.prizma-featured-section {
    margin-bottom: -16px !important;
  }

  .et_pb_section.prizma-featured-section > .et_pb_row {
    transform: translate3d(0, -16px, 0) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .prizma-hero-track,
  .prizma-hero-cta,
  .prizma-hero-arrow,
  .prizma-hero-dot-fill {
    transition-duration: 1ms;
  }

  .prizma-hero-dot.is-active .prizma-hero-dot-fill::after {
    animation: none;
    transform: scaleX(1);
  }
}
