/* Sakete Solutions List 组件样式 */

.sakete_solutions_feature_list {
  padding: var(--spacing-7xl) 0;
  padding-top: 0px;
  width: 100%;
}

.swiper-scrollbar {
  display: none;
}

/* Tabs 切换区域样式 */
.sakete_solutions_feature_list-tabs {
  overflow: hidden;
  padding: var(--spacing-lg) 0!important;
  margin-bottom: var(--spacing-7xl);
  /* 隐藏滚动条 - Firefox */
  scrollbar-width: none;
  /* 隐藏滚动条 - IE 和 Edge (旧版) */
  -ms-overflow-style: none;
  position: relative;
  transform: translate(0px, 0px);
}

.sakete_solutions_feature_list-tabs::after {
  position: sticky;
  content: '';
  display: block;
  height: 1px;
  background: #ddd;
  width: 100%;
  bottom: 0px;
  left: 0px;
  /* transform: translateY(calc(var(--spacing-lg) * -1)); */
}

.sakete_solutions_feature_list-tabs-wrapper {
  min-width: 100%;
  display: flex;
  flex-wrap: nowrap;
  gap: var(--spacing-lg);
  position: relative;
}

/* 隐藏滚动条 - Chrome, Safari, Edge (新版) */
.sakete_solutions_feature_list-tabs::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.sakete_solutions_feature_list-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xl);
  border-radius: 0.375rem;
  color: var(--text-color);
  font-family: var(--font-family);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-lg);
  line-height: 166.67%;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  background-color: transparent;
}

.sakete_solutions_feature_list-tab.active {
  color: var(--color-primary);
}

.sakete_solutions_feature_list-tab.active::after {
  position: absolute;
  content: '';
  bottom: 0px;
  left: 50%;
  width: 10px;
  height: 10px;
  background-color: #fff;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  transform: translate(-50%, 50%);
  z-index: 1;
}

/* Content 内容区域容器 */
.sakete_solutions_feature_list-content-wrapper {
  position: relative;
  min-height: 400px;
}

/* Content 单个内容项 - 左右布局 */
.sakete_solutions_feature_list-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6.25rem;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
  pointer-events: none;
}

.sakete_solutions_feature_list-content.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* 图片区域 - 左侧 */
.sakete_solutions_feature_list-content-image {
  flex: 0 0 43.75rem;
  border-radius: 0.625rem;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sakete_solutions_feature_list-content-image img {
  width: 100%;
  aspect-ratio: 700 / 450;
  height: auto;
  object-fit: cover;
}

/* 文本内容区域 - 右侧，上下布局 */
.sakete_solutions_feature_list-content-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.sakete_solutions_feature_list-content-text_title {
  color: var(--title-text-color);
  font-size: var(--font-size-h3, 1.875rem);
  font-weight: var(--font-weight-lg, 600);
  line-height: 150%;
  font-family: var(--title-font-family);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.sakete_solutions_feature_list-content-text_desc {
  font-family: var(--font-family);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-base);
  line-height: 162.5%;
  color: var(--text-color);
  margin: 0;
}

/* View More 按钮 */
.sakete_solutions_feature_list-content-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: 0.6875rem 1.5625rem;
  border-radius: 0.3125rem;
  background: var(--color-primary);
  color: var(--text-color-light);
  text-decoration: none;
  font-family: var(--font-family);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-base);
  line-height: 162.5%;
  transition: all 0.3s ease;
  cursor: pointer;
  align-self: flex-start;
  margin-top: var(--spacing-3xl);
}

.sakete_solutions_feature_list-content-button:hover {
  background: var(--color-second);
  color: var(--text-color-light);
}

.sakete_solutions_feature_list-content-button-text {
  display: inline-block;
}

.sakete_solutions_feature_list-content-button-icon {
  font-size: var(--font-size-md);
  transition: transform 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.sakete_solutions_feature_list-content-button:hover
  .sakete_solutions_feature_list-content-button-icon {
  transform: translateX(4px);
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .sakete_solutions_feature_list-content {
    flex-direction: column;
    gap: var(--spacing-3xl);
  }

  .sakete_solutions_feature_list-content-image {
    flex: 1;
    width: 70%;
  }

  .sakete_solutions_feature_list-content-text {
    flex: 1;
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .sakete_solutions_feature_list-tabs {
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-4xl);
  }

  .sakete_solutions_feature_list-content {
    flex-direction: column;
    gap: var(--spacing-2xl);
  }

  .sakete_solutions_feature_list-content-image {
    flex: 1;
    width: 100%;
  }

  .sakete_solutions_feature_list-content-text {
    flex: 1;
    width: 100%;
  }
}
