.ddmhero-slider {
  position: relative;
  display: block;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  background: #f5f5f5;
  box-sizing: border-box;
}

@supports (width: 100dvw) {
  .ddmhero-slider {
    width: 100dvw;
    max-width: 100dvw;
    margin-left: calc(50% - 50dvw);
    margin-right: calc(50% - 50dvw);
  }
}

/* The JS class is applied to the whole hero section so it can break out of
   theme wrappers such as .inner-wrapper/.container and become true 100vw. */
.ddmhero-parent-fullbleed {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  overflow: visible !important;
}


#inner-wrapper.ddmhero-parent-fullbleed {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.ddmhero-slider.ddmhero-js-fullbleed {
  width: var(--ddmhero-vw, 100vw) !important;
  max-width: var(--ddmhero-vw, 100vw) !important;
  margin-left: var(--ddmhero-ml, calc(50% - 50vw)) !important;
  margin-right: 0 !important;
  left: auto !important;
  right: auto !important;
}

.ddmhero-track,
.ddmhero-slide,
.ddmhero-picture,
.ddmhero-image {
  width: 100%;
}

.ddmhero-slide {
  display: none;
  position: relative;
}

.ddmhero-slide.is-active {
  display: block;
}

.ddmhero-picture {
  display: block;
}

.ddmhero-slide-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  text-indent: -9999px;
  overflow: hidden;
}

.ddmhero-slide-link-mobile {
  display: none;
}

.ddmhero-image {
  display: block;
  object-fit: contain;
}

.ddmhero-content {
  position: absolute;
  z-index: 2;
  max-width: 560px;
  padding: 24px;
  color: inherit;
}

.ddmhero-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.08;
  font-weight: 700;
}

.ddmhero-text {
  margin: 0 0 20px;
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.35;
}

.ddmhero-text p {
  margin: 0 0 10px;
}

.ddmhero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border: 0 solid transparent;
  border-radius: 4px;
  background: #111;
  color: #fff !important;
  text-transform: uppercase;
  text-decoration: none !important;
  font-weight: 600;
  line-height: normal;
  transition: opacity .2s ease, transform .2s ease;
}

.ddmhero-btn:hover,
.ddmhero-btn:focus {
  opacity: .86;
  transform: translateY(-1px);
}

.ddmhero-copy-mobile {
  display: none;
}

@media (min-width: 769px) {
  .desktop-position-left-top { left: 8%; top: 12%; text-align: left; }
  .desktop-position-left-center { left: 8%; top: 50%; transform: translateY(-50%); text-align: left; }
  .desktop-position-left-bottom { left: 8%; bottom: 12%; text-align: left; }
  .desktop-position-center-top { left: 50%; top: 12%; transform: translateX(-50%); text-align: center; }
  .desktop-position-center-center { left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; }
  .desktop-position-center-bottom { left: 50%; bottom: 16%; transform: translateX(-50%); text-align: center; }
  .desktop-position-right-top { right: 8%; top: 12%; text-align: right; }
  .desktop-position-right-center { right: 8%; top: 50%; transform: translateY(-50%); text-align: right; }
  .desktop-position-right-bottom { right: 8%; bottom: 12%; text-align: right; }
  .desktop-position-manual { top: var(--ddmhero-desktop-top, auto); right: var(--ddmhero-desktop-right, auto); bottom: var(--ddmhero-desktop-bottom, auto); left: var(--ddmhero-desktop-left, auto); text-align: left; }
}

.ddmhero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 46px;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .82);
  color: #111;
  transform: translateY(-50%);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity .2s ease, background-color .2s ease, transform .2s ease;
}

.ddmhero-arrow:hover,
.ddmhero-arrow:focus {
  background: rgba(255, 255, 255, .96);
  opacity: .95;
}

.ddmhero-arrow-icon {
  display: block;
  width: 13px;
  aspect-ratio: 1 / 1;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
}

.ddmhero-prev { left: 18px; }
.ddmhero-next { right: 18px; }
.ddmhero-prev .ddmhero-arrow-icon { transform: rotate(-135deg); margin-left: 4px; }
.ddmhero-next .ddmhero-arrow-icon { transform: rotate(45deg); margin-right: 4px; }

.ddmhero-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 5;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.ddmhero-dot {
  width: 10px;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.6);
  cursor: pointer;
}

.ddmhero-dot.is-active {
  background: rgba(255,255,255,1);
}

@media (max-width: 768px) {
  .ddmhero-slide-link-desktop {
    display: none;
  }

  .ddmhero-slide-link-mobile {
    display: block;
  }

  .ddmhero-content {
    max-width: 92%;
    padding: 16px;
  }

  .ddmhero-copy-desktop {
    display: none;
  }

  .ddmhero-copy-mobile {
    display: block;
  }

  .ddmhero-copy h2 {
    font-size: clamp(24px, 8vw, 38px);
  }

  .ddmhero-text {
    font-size: clamp(14px, 4vw, 18px);
    margin-bottom: 14px;
  }

  .mobile-position-left-top { left: 5%; top: 8%; text-align: left; }
  .mobile-position-left-center { left: 5%; top: 50%; transform: translateY(-50%); text-align: left; }
  .mobile-position-left-bottom { left: 3%; bottom: 12%; text-align: left; }
  .mobile-position-center-top { left: 50%; top: 8%; transform: translateX(-50%); text-align: center; }
  .mobile-position-center-center { left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; }
  .mobile-position-center-bottom { left: 50%; bottom: 8%; transform: translateX(-50%); text-align: center; }
  .mobile-position-right-top { right: 5%; top: 8%; text-align: right; }
  .mobile-position-right-center { right: 5%; top: 50%; transform: translateY(-50%); text-align: right; }
  .mobile-position-right-bottom { right: 5%; bottom: 8%; text-align: right; }
  .mobile-position-manual { top: var(--ddmhero-mobile-top, auto); right: var(--ddmhero-mobile-right, auto); bottom: var(--ddmhero-mobile-bottom, auto); left: var(--ddmhero-mobile-left, auto); text-align: left; }

  .ddmhero-arrow {
    top: auto;
    bottom: 10px;
    width: 38px;
    aspect-ratio: 1 / 1;
    transform: none;
    background: rgba(255, 255, 255, .86);
  }

  .ddmhero-arrow:hover,
  .ddmhero-arrow:focus {
    transform: none;
  }

  .ddmhero-arrow-icon {
    width: 11px;
    aspect-ratio: 1 / 1;
    border-top-width: 2px;
    border-right-width: 2px;
  }

  .ddmhero-prev { left: calc(50% - 46px); }
  .ddmhero-next { right: calc(50% - 46px); }
  .ddmhero-dots { bottom: 56px; }
}

@media (min-width: 769px) {
  .ddmhero-hide-arrows-desktop .ddmhero-arrow {
    display: none !important;
  }

  .ddmhero-hide-dots-desktop .ddmhero-dots {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .ddmhero-hide-arrows-mobile .ddmhero-arrow {
    display: none !important;
  }

  .ddmhero-hide-dots-mobile .ddmhero-dots {
    display: none !important;
  }
}

/* Subtle animations. Kept CSS-only and disabled for users who prefer reduced motion. */
.ddmhero-transition-fade .ddmhero-slide.is-active {
  animation: ddmheroFadeIn .42s ease both;
}

.ddmhero-transition-slide .ddmhero-slide.is-active {
  animation: ddmheroSlideIn .46s ease both;
}

.ddmhero-cta-fade-up .ddmhero-slide.is-active .ddmhero-btn {
  animation: ddmheroCtaFadeUp .48s ease .12s both;
}

.ddmhero-cta-zoom .ddmhero-slide.is-active .ddmhero-btn {
  animation: ddmheroCtaZoom .42s ease .12s both;
}

@keyframes ddmheroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes ddmheroSlideIn {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes ddmheroCtaFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ddmheroCtaZoom {
  from { opacity: 0; transform: scale(.96); }
  to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .ddmhero-transition-fade .ddmhero-slide.is-active,
  .ddmhero-transition-slide .ddmhero-slide.is-active,
  .ddmhero-cta-fade-up .ddmhero-slide.is-active .ddmhero-btn,
  .ddmhero-cta-zoom .ddmhero-slide.is-active .ddmhero-btn {
    animation: none !important;
  }

  .ddmhero-btn {
    transition: none !important;
  }
}

/* v1.0.15: final mobile bottom-left override */
@media (max-width: 768px) {
  .ddmhero-slider .mobile-position-left-bottom,
  .mobile-position-left-bottom {
    left: 3%;
    bottom: 15%;
    text-align: left;
  }
}
