.hero__intro {
  min-width: 0;
}

.hero-logos {
  width: 100%;
  min-width: 0;
}

.hero-logos__slider {
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
}

.hero-logos__slider .swiper-wrapper {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-logos__slide {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 112px;
  padding: 20px;
  border: 1px solid #e3e8ef;
  border-radius: 16px;
  background: #fff;
}

.hero-logos__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-logos__navigation {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

.hero-logos__prev,
.hero-logos__next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #d5deea;
  border-radius: 50%;
  background: #fff;
  color: #00266a;
  font: inherit;
  font-size: 24px;
  cursor: pointer;
}

.hero-logos__prev:hover,
.hero-logos__next:hover {
  border-color: #00266a;
  background: #00266a;
  color: #fff;
}

.hero-logos__prev:focus-visible,
.hero-logos__next:focus-visible {
  outline: 2px solid #00266a;
  outline-offset: 3px;
}

.hero-logos__navigation .swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

.hero-logos__navigation .swiper-button-lock {
  display: none;
}

/* Keep every logo reachable when JavaScript is unavailable. */
.hero-logos__slider:not(.swiper-initialized) .swiper-wrapper {
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.hero-logos__slider:not(.swiper-initialized) .hero-logos__slide {
  flex: 0 0 55%;
  scroll-snap-align: start;
}

.hero-logos:has(.hero-logos__slider:not(.swiper-initialized)) .hero-logos__navigation {
  display: none;
}

@media (min-width: 1024px) {
  .hero-logos {
    margin-top: 24px;
  }

  .hero-logos__slide {
    height: 136px;
    padding: 24px;
  }

  .hero-logos__slider:not(.swiper-initialized) .swiper-wrapper {
    gap: 16px;
  }

  .hero-logos__slider:not(.swiper-initialized) .hero-logos__slide {
    flex-basis: calc((100% - 48px) / 4);
  }
}
