/* ----- Mixins ----- */
.logos-slider {
  --image-size: 150px;
  justify-content: center;
  border-radius: var(--border-radius);
  margin-top: var(--gap);
  gap: var(--gap) clamp(20px, 7cqw, 60px);
  overflow: hidden;
}
.logos-slider::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  mask-image: linear-gradient(to right, #000000, rgba(0, 0, 0, 0) 5cqw, rgba(0, 0, 0, 0) calc(100% - 5cqw), #000000);
  mask-type: alpha;
  pointer-events: none;
  z-index: 6;
  background-color: var(--color-white);
}
.logos-slider__item {
  display: flex;
  align-items: center;
  justify-content: center;
}
.logos-slider__item:hover {
  opacity: 1;
}
.logos-slider img {
  width: 100%;
  height: 100%;
  max-width: 150px;
  max-height: 60px;
}
@media screen and (max-width: 1200px) {
  .logos-slider {
    --image-size: 120px;
  }
}
@media screen and (max-width: 1024px) {
  .logos-slider {
    --image-size: 100px;
  }
}
@media screen and (max-width: 768px) {
  .logos-slider {
    --image-size: 80px;
  }
}
.logos-slider .embla__viewport {
  margin: 0 auto;
  width: 100%;
}
.logos-slider .embla__container {
  gap: 0 clamp(20px, 4cqw, 60px);
}
.logos-slider .embla__slide {
  max-width: calc(var(--image-size) + 4em);
  padding: 0 2em;
  flex-grow: 1;
  flex-shrink: 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 768px) {
  .logos-slider {
    margin-left: calc(var(--padding-on-side) * -1);
    margin-right: calc(var(--padding-on-side) * -1);
    border-radius: 0;
  }
  .logos-slider .embla__container {
    gap: 0 clamp(15px, 3cqw, 30px);
  }
  .logos-slider .embla__slide {
    padding: 0 1em;
  }
}
.logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: calc(var(--gap) * 0.5);
  grid-auto-rows: 1fr;
}
.logos-grid__item {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  border-radius: var(--border-radius-smaller);
  border: 1px solid var(--color-border);
  padding: clamp(10px, 3cqw, 20px);
  box-shadow: var(--shadow-lighter);
}
.logos-grid__item img {
  max-width: 120px;
  max-height: 80px;
  width: auto;
}
.logos-grid__item--text {
  font-size: var(--font-size-16);
  text-align: center;
}
@media screen and (max-width: 768px) {
  .logos-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}
.logos-normal {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 10cqw, 40px);
  flex-wrap: wrap;
  margin: var(--gap) auto;
}
.logos-normal__item {
  display: flex;
  align-items: center;
  justify-content: center;
}
.logos-normal__item img {
  max-width: 120px;
  max-height: 80px;
  width: 100%;
  height: auto;
}
@media screen and (max-width: 768px) {
  .logos-normal {
    gap: clamp(15px, 5cqw, 30px);
  }
  .logos-normal__item img {
    max-width: 80px;
    max-height: 50px;
  }
}
.block-editor-inner-blocks .logos-slider .embla__container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 2em;
}
