.f-logo-carousel {
  background-color: var(--bg-color);
  padding: 80px 0;
}

.f-logo-carousel__wrapper {
  width: 100%;
}

/* 标题部分 */
.f-logo-carousel__header {
  text-align: left;
  margin-bottom: 20px;
}

.f-logo-carousel__heading {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
  color: #1a1a1a;
}

/* 描述部分 */
.f-logo-carousel__description-wrapper {
  max-width: 700px;
  margin: 0 0 60px 0;
  text-align: left;
}

.f-logo-carousel__description {
  font-size: 16px;
  line-height: 1.7;
  color: #4a4a4a;
}

/* 轮播容器 */
.f-logo-carousel__slider-wrapper {
  position: relative;
  overflow: hidden;
}

.f-logo-carousel__slider {
  width: 100%;
}

.f-logo-carousel__inner {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--column-gap, 40px);
  align-items: center;
}

/* 轮播模式下的样式 */
.swiper-container .f-logo-carousel__inner {
  display: flex;
  flex-wrap: nowrap;
}

/* Logo项 */
.f-logo-carousel__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  min-height: 100px;
  height: 100px;
  flex-shrink: 0;
}

.f-logo-carousel__image {
  max-width: 100%;
  max-height: 80px;
  height: auto;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.f-logo-carousel__logo:hover .f-logo-carousel__image {
  filter: grayscale(0%);
  opacity: 1;
}

.f-logo-carousel__placeholder {
  width: 150px;
  height: 80px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Swiper样式覆盖 */
.f-logo-carousel .swiper-slide {
  height: auto;
  width: auto;
  flex-shrink: 0;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .f-logo-carousel__heading {
    font-size: 28px;
  }

  .f-logo-carousel__description-wrapper {
    max-width: 600px;
    margin-bottom: 50px;
  }
}

@media (max-width: 768px) {
  .f-logo-carousel {
    padding: 50px 0;
  }

  .f-logo-carousel__heading {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .f-logo-carousel__description-wrapper {
    max-width: 100%;
    margin: 0 0 40px 0;
    padding: 0;
  }

  .f-logo-carousel__description {
    font-size: 15px;
  }

  .f-logo-carousel__logo {
    padding: 15px;
    min-height: 80px;
    height: 80px;
  }

  .f-logo-carousel__image {
    max-height: 60px;
  }
}
