.wpbce-logo-carousel {
  --wpbce-lc-accent: #008c8c;
  --wpbce-lc-title: #17313b;
  --wpbce-lc-bg: #f7fbfd;
  position: relative;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  padding: 38px 0 34px;
  background: var(--wpbce-lc-bg);
}

.wpbce-logo-carousel *,
.wpbce-logo-carousel *::before,
.wpbce-logo-carousel *::after {
  box-sizing: border-box;
}

.wpbce-lc-header {
  max-width: 720px;
  margin: 0 auto 24px;
  padding: 0 18px;
  text-align: center;
}

.wpbce-lc-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--wpbce-lc-accent);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.wpbce-lc-eyebrow span {
  display: block;
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.wpbce-lc-title {
  margin: 0;
  color: var(--wpbce-lc-title);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0;
}

.wpbce-lc-subtitle {
  max-width: 620px;
  margin: 10px auto 0;
  color: #5f6c76;
  font-size: 15px;
  line-height: 1.65;
}

.wpbce-lc-slider-wrap {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 56px;
}

.wpbce-lc-swiper {
  border: 1px solid rgba(28, 49, 59, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 38px rgba(24, 49, 59, 0.08);
}

.wpbce-lc-swiper .swiper-wrapper {
  align-items: stretch;
}

.wpbce-lc-swiper .swiper-slide {
  height: auto;
}

.wpbce-lc-card {
  position: relative;
  display: flex;
  min-height: 128px;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 18px;
  color: inherit;
  text-align: center;
  text-decoration: none;
}

.wpbce-lc-card::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 0;
  bottom: 22px;
  width: 1px;
  background: rgba(28, 49, 59, 0.1);
}

.wpbce-lc-swiper .swiper-slide:last-child .wpbce-lc-card::after {
  display: none;
}

.wpbce-lc-logo {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
}

.wpbce-lc-logo img {
  display: block;
  width: auto;
  max-width: 132px;
  max-height: 54px;
  object-fit: contain;
  filter: grayscale(1) saturate(0) contrast(1.08);
  opacity: 0.9;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.wpbce-lc-logo-text {
  display: block;
  max-width: 100%;
  color: #111820;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-transform: uppercase;
  transition: color 0.25s ease, transform 0.25s ease;
}

.wpbce-lc-card:hover .wpbce-lc-logo img,
.wpbce-lc-card:focus-visible .wpbce-lc-logo img {
  filter: grayscale(0) saturate(1) contrast(1.04);
  opacity: 1;
  transform: translateY(-1px);
}

.wpbce-lc-card:hover .wpbce-lc-logo-text,
.wpbce-lc-card:focus-visible .wpbce-lc-logo-text {
  color: var(--wpbce-lc-accent);
  transform: translateY(-1px);
}

.wpbce-lc-card:focus-visible {
  outline: 2px solid var(--wpbce-lc-accent);
  outline-offset: -4px;
}

button[type=button].wpbce-lc-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  color: #111111;
  background: #ffffff;
  box-shadow: none;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

button[type=button].wpbce-lc-nav:hover,
button[type=button].wpbce-lc-nav:focus-visible {
  border-color: var(--wpbce-lc-accent);
  color: #ffffff;
  background: var(--wpbce-lc-accent);
  box-shadow: 0 16px 40px rgba(23, 20, 15, 0.17);
  transform: translateY(-50%) scale(1.06);
}

button[type=button].wpbce-lc-nav.swiper-button-disabled {
  opacity: 0.45;
  pointer-events: none;
}

button[type=button].wpbce-lc-nav i {
  font-size: 24px;
  line-height: 1;
}

.wpbce-lc-prev {
  left: 32px;
}

.wpbce-lc-next {
  right: 32px;
}

.wpbce-lc-pagination {
  position: static;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.wpbce-logo-carousel .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  background: rgba(28, 49, 59, 0.22);
  opacity: 1;
}

.wpbce-logo-carousel .swiper-pagination-bullet-active {
  background: var(--wpbce-lc-accent);
}

@media (max-width: 1024px) {
  .wpbce-logo-carousel {
    padding: 34px 0 30px;
  }

  .wpbce-lc-title {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .wpbce-logo-carousel {
    padding: 30px 0 28px;
  }

  .wpbce-lc-header {
    margin-bottom: 20px;
  }

  .wpbce-lc-eyebrow {
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0;
  }

  .wpbce-lc-eyebrow span {
    width: 18px;
  }

  .wpbce-lc-title {
    font-size: 24px;
  }

  .wpbce-lc-subtitle {
    font-size: 14px;
  }

  .wpbce-lc-slider-wrap {
    padding: 0 16px;
  }

  .wpbce-lc-swiper {
    border-radius: 8px;
  }

  .wpbce-lc-card {
    min-height: 116px;
    padding: 18px 16px;
  }

  .wpbce-lc-card::after {
    display: none;
  }

  .wpbce-lc-logo-text {
    font-size: 22px;
  }

  .wpbce-lc-nav {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  .wpbce-lc-prev {
    left: -6px;
  }

  .wpbce-lc-next {
    right: -6px;
  }
}
