.hc-carousel-section {
  width: 100%;
  padding: 60px 0 60px;
  background-color: #141414;
  overflow: hidden;
}

.hc-carousel-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0px;
}

.hc-carousel-title { 
  font-size: 50px;
  font-weight: bold;
  color: #ffffff;
  text-align: center;
  margin: 0 0 50px 0;
  letter-spacing: 0.5px;
}

/* 轮播外层容器 */
.hc-carousel-wrapper {
  position: relative;
}

/* theme-carousel 容器 */
.hc-theme-carousel {
  position: relative;
  display: block;
}

/* 轨道样式（覆盖组件默认） */
.hc-carousel-track {
  display: flex !important;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 单个幻灯片 — 每页：左露半张 + 中间4张完整 + 右露半张 = 共5张可见 */
.hc-slide-item {
  flex-shrink: 0;
  width: calc((100% - 96px) / 6);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


/* ==============================
   卡片样式
   ============================== */
.hc-card {
  height: 100%;
}

.hc-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.hc-card-image-wrap {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background-color: #1e1e1e;
  margin-bottom: 18px;
}

/* 使用 component image 的图片类 */
.hc-card-image-wrap img,
.hc_card_img_class {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block !important;
  border-radius: 12px;
}

.hc-card-placeholder {
  width: 100%;
  height: 100%;
  background-color: #2a2a2a;
  border-radius: 12px;
}

.hc-card-link:hover .hc-card-image-wrap img,
.hc-card-link:hover .hc_card_img_class {
  transform: scale(1.05);
}

.hc-card-body {
  padding: 0 4px;
}

.hc-card-title {
  font-size: 19px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 10px 0;
  line-height: 1.35;
  letter-spacing: 0.2px;
}

.hc-card-desc {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 14px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hc-card-action {
  font-size: 14.5px;
  color: #ffffff;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.hc-card-link:hover .hc-card-action {
  opacity: 0.7;
}

/* ==============================
   左右箭头按钮（匹配设计图圆形半透明风格）
   ============================== */
.hc-arrows {
  position: absolute;
  top: 38%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.hc-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background-color: rgba(30, 30, 30, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease, opacity 0.3s ease;
  position: absolute;
}

.hc-arrow:hover:not(:disabled) {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.45);
  /* transform: scale(1.06); */
}

.hc-arrow:active:not(:disabled) {
  /* transform: scale(0.96); */
}

.hc-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.hc-arrow svg {
  width: 20px;
  height: 20px;
}

.hc-arrow-prev {
  transform: translateX(-50%) translateY(-50%);
  left: 5%;
}

.hc-arrow-next {
  transform: translateX(50%) translateY(-50%);
  right: 5%;
}

/* ==============================
   响应式适配
   ============================== */

@media (max-width: 1280px) {
  /* 中屏：左半张 + 3完整 + 右半张 = 共4张可见 */
  .hc-slide-item {
    width: calc((100% - 60px) / 4);
  }

  .hc-carousel-container {
    padding: 0 48px;
  }

  .hc-carousel-title {
    font-size: 32px;
    margin-bottom: 42px;
  }

  .hc-carousel-track {
    gap: 20px;
  }
}

@media (max-width: 992px) {
  /* 平板：左半张 + 2完整 + 右半张 = 共3张可见 */
  .hc-slide-item {
    width: calc((100% - 40px) / 3);
  }

  .hc-carousel-container {
    padding: 0 36px;
  }

  .hc-carousel-title {
    font-size: 28px;
    margin-bottom: 36px;
  }

  .hc-card-title {
    font-size: 17px;
  }

  .hc-card-desc {
    font-size: 13px;
  }

  .hc-arrow {
    width: 40px;
    height: 40px;
  }

  .hc-arrow svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 640px) {
  /* 手机：左侧展示完整1张 + 右侧露出0.2张 */
  .hc-carousel-section {
    padding: 30px 0 30px;
  }

  .hc-slide-item {
    width: calc(100% - 52px);
  }

  .hc-carousel-track {
    gap: 16px;
  }

  .hc-carousel-container {
    padding: 0 24px;
  }

  .hc-carousel-title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .hc-card-image-wrap {
    border-radius: 10px;
    margin-bottom: 14px;
  }

  .hc-card-title {
    font-size: 16.5px;
    margin-bottom: 8px;
  }

  .hc-card-desc {
    font-size: 13px;
    margin-bottom: 10px;
    -webkit-line-clamp: 3;
  }

  .hc-card-action {
    font-size: 14px;
  }

  .hc-arrow {
    width: 36px;
    height: 36px;
    background-color: rgba(40, 40, 40, 0.85);
    border-color: rgba(255, 255, 255, 0.3);
  }

  /* 移动端箭头位置调整 */
  .hc-arrows {
    top: 35%;
  }
}

@media (max-width: 400px) {
  .hc-carousel-container {
    padding: 0 16px;
  }

  .hc-carousel-title {
    font-size: 22px;
  }

  .hc-arrow {
    width: 32px;
    height: 32px;
  }

  .hc-arrow svg {
    width: 16px;
    height: 16px;
  }
}