/* REPROOBCHOD: pouze homepage, pouze desktop od 992 px. */
@media (min-width: 992px) {
  body.in-index.type-index .before-carousel {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 10px 0 30px !important;
    overflow: visible !important;
    background: transparent !important;
  }

  body.in-index.type-index .before-carousel .content-wrapper-in,
  body.in-index.type-index .before-carousel .container,
  body.in-index.type-index .before-carousel .banners-row,
  body.in-index.type-index .before-carousel .wide-carousel {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  body.in-index.type-index .before-carousel #carousel {
    display: block !important;
    width: 100% !important;
    max-width: 1270px !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    overflow: visible !important;
  }

  body.in-index.type-index .before-carousel #carousel .carousel-inner {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 310px)) !important;
    gap: 10px !important;
    justify-content: center !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    transform: none !important;
  }

  body.in-index.type-index .before-carousel #carousel .carousel-inner > .item {
    display: block !important;
    position: relative !important;
    float: none !important;
    inset: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 310px !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: none !important;
  }

  body.in-index.type-index .before-carousel #carousel .carousel-inner > .item > a {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 31 / 50 !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .11) !important;
    transform: scale(1) !important;
    transition: transform .22s ease, box-shadow .22s ease !important;
  }

  body.in-index.type-index .before-carousel #carousel .carousel-inner > .item img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    object-fit: cover !important;
  }

  body.in-index.type-index .before-carousel #carousel .carousel-control,
  body.in-index.type-index .before-carousel #carousel .carousel-indicators,
  body.in-index.type-index .before-carousel #carousel .extended-banner-texts {
    display: none !important;
  }

  @media (hover: hover) and (pointer: fine) {
    body.in-index.type-index .before-carousel #carousel .carousel-inner > .item > a:is(:hover, :focus-visible) {
      z-index: 2 !important;
      transform: scale(1.025) !important;
      box-shadow: 0 7px 20px rgba(0, 0, 0, .16) !important;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    body.in-index.type-index .before-carousel #carousel .carousel-inner > .item > a {
      transition: none !important;
    }
  }
}
