#elm-home-hero .elm-hero-slide--shonei {
  background: #071217;
}

#elm-home-hero .elm-shonei-hero-link {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  background: #071217;
  color: #fff !important;
  text-decoration: none !important;
}

#elm-home-hero .elm-shonei-hero-media {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

#elm-home-hero .elm-shonei-hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

#elm-home-hero .elm-shonei-hero-media img {
  display: block;
  width: 100%;
  height: 100% !important;
  max-height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0;
  background: #071217 !important;
  box-shadow: none;
}

#elm-home-hero .elm-shonei-hero-copy {
  display: none;
}

#elm-home-hero .elm-shonei-hero-link:focus-visible {
  outline: 4px solid #f3c84b;
  outline-offset: -6px;
}

@media (max-width: 767px) {
  #elm-home-hero .elm-shonei-hero-link {
    display: block;
    aspect-ratio: 1043 / 1600;
    background: #071217;
  }

  #elm-home-hero .elm-shonei-hero-media {
    position: absolute;
    inset: 0;
    padding: 0;
  }

  #elm-home-hero .elm-hero-slide--shonei .elm-shonei-hero-media img {
    width: 100%;
    height: 100% !important;
    max-height: none;
    aspect-ratio: auto !important;
    object-fit: cover;
  }

  #elm-home-hero .elm-shonei-hero-copy {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 1;
    display: block;
    padding: 0;
  }

  #elm-home-hero .elm-shonei-hero-kicker,
  #elm-home-hero .elm-shonei-hero-copy strong,
  #elm-home-hero .elm-shonei-hero-copy small {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  #elm-home-hero .elm-shonei-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 40px;
    margin: 0;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 999px;
    background: rgba(4, 18, 25, .78);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
  }
}

@media (prefers-reduced-motion: reduce) {
  #elm-home-hero .elm-hero-track {
    transition: none;
  }
}
