/* Homepage Carousel only: keep the existing native banner and use readable
   language-specific artwork at mobile width. No second banner is inserted. */
@media (max-width: 767px) {
  body.in-index #carousel .carousel-inner {
    min-height: 0 !important;
  }

  body.in-index #carousel .carousel-inner > .item {
    position: relative;
    height: calc(100vw * 50 / 39);
    max-height: 600px;
    background-position: center;
    background-size: cover;
    overflow: hidden;
  }

  body.in-index #carousel .carousel-inner > .item > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
  }

  html[lang="sk"] body.in-index #carousel .carousel-inner > .item {
    background-image: url("/user/documents/upload/homepage-hero-sk-mobile-20261030.png");
  }
  html[lang="cs"] body.in-index #carousel .carousel-inner > .item {
    background-image: url("/user/documents/upload/homepage-hero-cs-mobile-20261030.png");
  }
  html[lang="de"] body.in-index #carousel .carousel-inner > .item {
    background-image: url("/user/documents/upload/homepage-hero-de-mobile-20261030.png");
  }
  html[lang="en"] body.in-index #carousel .carousel-inner > .item {
    background-image: url("/user/documents/upload/homepage-hero-en-mobile-20261030.png");
  }
}
