.rdeco-brand-carousel {
  --rdeco-carousel-ink: #111111;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.rdeco-brand-carousel__swiper {
  width: 100%;
  overflow: hidden;
}

.rdeco-brand-carousel__slide {
  height: auto;
  min-width: 0;
}

.rdeco-brand-carousel__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none !important;
}

.rdeco-brand-carousel__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  padding: 22px clamp(18px, 3vw, 54px);
}

.rdeco-brand-carousel__logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.rdeco-brand-carousel__image {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #f1f1f1;
  transform: translateZ(0);
}

.rdeco-brand-carousel__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 700ms cubic-bezier(.2, .7, .2, 1), filter 400ms ease;
}

.rdeco-brand-carousel__card:hover .rdeco-brand-carousel__image img,
.rdeco-brand-carousel__card:focus-visible .rdeco-brand-carousel__image img {
  transform: scale(1.025);
}

.rdeco-brand-carousel__card:focus-visible {
  outline: 2px solid #b32126;
  outline-offset: 4px;
}

.rdeco-brand-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
}

.rdeco-brand-carousel__fraction,
.rdeco-brand-carousel__arrows {
  display: flex;
  align-items: center;
}

.rdeco-brand-carousel__fraction {
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.rdeco-brand-carousel__fraction-line {
  display: block;
  width: 44px;
  height: 1px;
  opacity: .72;
}

.rdeco-brand-carousel__arrows {
  gap: 10px;
}

.rdeco-brand-carousel__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--rdeco-carousel-ink);
  cursor: pointer;
  transition: color 180ms ease, opacity 180ms ease;
}

.rdeco-brand-carousel__arrow svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rdeco-brand-carousel__arrow:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 2px;
}

.rdeco-brand-carousel__arrow.swiper-button-disabled {
  cursor: default;
  opacity: .28;
}

@media (max-width: 767px) {
  .rdeco-brand-carousel__logo {
    padding-inline: 24px;
  }

  .rdeco-brand-carousel__controls {
    min-height: 42px;
  }

  .rdeco-brand-carousel__arrow {
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rdeco-brand-carousel__image img {
    transition: none;
  }
}

