.home-logos {
  position: relative;
}
.home-logos__background {
  position: absolute;
  inset: 0;
}
.home-logos__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.home-logos__container {
  padding: 0 10px;
  max-width: 1360px;
  margin: 0 auto;
}
.home-logos__content {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}
@media screen and (max-width: 768.98px) {
  .home-logos__content {
    padding: 40px 0 60px;
  }
}
.home-logos__title {
  margin: 0 0 40px;
  text-align: center;
  font-size: 44px;
  line-height: 50px;
  font-weight: 700;
}
@media screen and (max-width: 768.98px) {
  .home-logos__title {
    margin-bottom: 24px;
    font-size: 26px;
    line-height: 30px;
    max-width: 20ch;
    margin-inline: auto;
  }
}
.home-logos__rows {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media screen and (max-width: 768.98px) {
  .home-logos__rows {
    gap: 28px;
  }
}
.home-logos__row {
  display: flex;
  flex-direction: column;
}
.home-logos__marquee {
  width: 100%;
  min-height: 66px;
}
@media screen and (min-width: 769px) {
  .home-logos__marquee {
    min-height: 122px;
  }
}
.home-logos__viewport {
  overflow: hidden;
  width: 100%;
  min-height: inherit;
  cursor: grab;
  touch-action: none;
  user-select: none;
  container-type: inline-size;
}
.home-logos__viewport.is-dragging {
  cursor: grabbing;
}
.home-logos__track {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: max-content;
  will-change: transform;
  touch-action: none;
}
@media screen and (min-width: 769px) {
  .home-logos__track {
    gap: 50px;
  }
}
.home-logos__marquee--partners {
  --visible-count: 3;
  --item-gap: 8px;
}
@media screen and (min-width: 769px) {
  .home-logos__marquee--partners {
    --visible-count: 5;
    --item-gap: 50px;
  }
}
.home-logos__marquee--brands {
  --visible-count: 4;
  --item-gap: 8px;
}
@media screen and (min-width: 769px) {
  .home-logos__marquee--brands {
    --visible-count: 6;
    --item-gap: 50px;
  }
}
.home-logos__item {
  flex: 0 0 calc((100cqw - (var(--visible-count) - 1) * var(--item-gap)) / var(--visible-count));
  width: calc((100cqw - (var(--visible-count) - 1) * var(--item-gap)) / var(--visible-count));
  max-width: none;
}
@media screen and (max-width: 768.98px) {
  .home-logos__item--desktop-only {
    display: none;
  }
}
.home-logos__card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 66px;
  padding: 4px;
  border: 1px solid #d6d6d8;
  border-radius: 8px;
  background-color: var(--white);
  text-decoration: none;
  box-sizing: border-box;
  -webkit-user-drag: none;
  user-select: none;
}
@media screen and (min-width: 769px) {
  .home-logos__card {
    height: 122px;
  }
}
.home-logos__card img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}
