/* 场景化解决方案列表页面样式 */
.product-article {
  min-height: 100vh;
  background-color: #F7F8FA;
}

/* 为所有锚点元素设置滚动偏移，避免被顶部固定导航遮挡 */
.section-item {
  scroll-margin-top: 12rem;
}

/* banner区域 */
.article-banner {
  position: relative;
  width: 100%;
  height: 56rem;
}

.article-banner .banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-content {
  position: absolute;
  top: 17.4rem;
  left: 24rem;
}

.banner-title h1 {
  font-family: "SourceHanSansCN-Medium";
  font-weight: normal;
  font-size: 6rem;
  line-height: 9rem;
  color: #1D2129;
  margin: 2rem 0;
  width: 42rem;
}

.banner-title p {
  font-family: "SourceHanSansCN-Medium";
  font-weight: normal;
  font-size: 2.4rem;
  line-height: 2.8rem;
  width: 21.6rem;
  color: #4E5969;
}

.breadcrumb {
  margin-bottom: 2.4rem;
}

.breadcrumb-container {
  display: flex;
  align-items: center;
  /* height: 2.4rem; */
  /* width: 30.4rem; */
}

.breadcrumb-container a:hover {
  text-decoration: underline;
  color: #1D2129;
}

.breadcrumb-container a {
  position: relative;
  font-family: "SourceHanSansCN-Regular";
  font-size: 1.4rem;
  color: #86909C;
  margin-right: 2.4rem;
}

.breadcrumb-container a::after {
  content: "";
  position: absolute;
  top: 50%;
  margin-top: -0.8rem;
  right: -2.2rem;
  width: 1.6rem;
  height: 1.6rem;
  background: url('../../../images/product/arrow.png') no-repeat center center;
  background-size: 100% 100%;
}

.breadcrumb-container a:last-child::after {
  content: none;
}

.breadcrumb-container span {
  font-family: "SourceHanSansCN-Regular";
  font-size: 1.4rem;
  color: #1D2129;
}

.breadcrumb-separator {
  color: #86909C;
  font-size: 1.4rem;
}

/* 标签导航栏 */
.tabs-bar {
  position: relative;
  top: -3.64rem;
  padding: 0 24rem;
}

.tabs-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  border-radius: 2.4rem;
  padding: 1.4rem 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.banner-tabs {
  display: flex;
  gap: 1.6rem;
}

.banner-tab {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  font-family: "SourceHanSansCN-Regular";
  font-size: 1.6rem;
  line-height: 1;
  color: #1D1D1FF2;
  border-radius: 3rem;
  transition: all 0.3s ease;
}

.banner-tab:hover {
  border-color: var(--red-light-1);
  color: var(--red-light-1);
}

.banner-tab.active {
  background-color: var(--red-light-1);
  border-color: var(--red-light-1);
  color: #fff;
}

/* 搜索框 */
.search-box {
  display: flex;
  align-items: center;
  width: 29.3rem;
  height: 3.6rem;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid #E5E6EB;
  border-radius: 3.2rem;
  padding: 0.7rem 0.4rem 0.7rem 1.6rem;
  gap: 1rem;
}

.search-icon {
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 1.4rem;
  color: #1D2129;
}

.search-input::placeholder {
  color: #8F959E;
}

/* 内容区域 */
.article-content {
  padding: 14rem 24rem;
}

.content-wrapper {
  display: flex;
  gap: 2rem;
}

/* 左侧导航 */
.side-nav {
  width: 41.6rem;
  flex-shrink: 0;
  position: sticky;
  top: 15rem;
  height: fit-content;
  padding: 0;
  border-right: 1px solid #E5E6EB;
}

.nav-title {
  font-size: 1.4rem;
  line-height: 2rem;
  color: #86909C;
  margin-bottom: 1.6rem;
  padding: 0 2.4rem;
  position: relative;
}

.nav-title::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1.6rem;
  height: 1px;
  background-color: #E5E6EB;
}

.nav-list {
  padding: 2rem 0;
}

.nav-item {
  padding: 1.4rem 2.4rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-item a {
  font-size: 1.4rem;
  line-height: 2rem;
  color: #4E5969;
  display: block;
  transition: color 0.2s ease;
}

.nav-item:hover {
  background-color: #F5F6F7;
}

.nav-item:hover a {
  color: #1D2129;
}

.nav-item a:focus {
  outline: none;
}

.nav-item:focus-within {
  background-color: #E5E6EB;
}

.nav-item:focus-within a {
  color: #1D2129;
  font-weight: normal;
}

.nav-item.active {
  background-color: #E5E6EB;
}

.nav-item.active a {
  color: #1D2129;
  font-weight: normal;
}

/* 右侧内容 */
.main-content {
  flex: 1;
  min-width: 0;
}

.section-item {
  background-color: #fff;
  border-radius: 1.2rem;
  padding: 2.4rem;
  margin-bottom: 2rem;
}

.section-title {
  font-family: "SourceHanSansCN-Medium";
  font-weight: normal;
  font-size: 2rem;
  line-height: 2.8rem;
  color: #1D2129;
  margin-bottom: 2rem;
  padding-left: 0.8rem;
  border-left: 4px solid var(--red-light-1);
}

.section-title1 {
  font-family: "SourceHanSansCN-Medium";
  font-weight: normal;
  font-size: 2rem;
  line-height: 2.8rem;
  color: #1D2129;
  padding-left: 0.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-left: 4px solid var(--red-light-1);
}

.section-title1 a {
  color: #1D2129;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.article-item {
  background-color: #fff;
  border: 1px solid #E5E6EB;
  border-radius: 1.2rem;
  padding: 1.4rem 1.6rem;
  transition: all 0.2s ease;
  overflow: hidden;
}

.article-item:hover {
  border-color: #D0D3D8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.article-item a {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.article-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #C0C4CC;
  flex-shrink: 0;
}

.article-title {
  font-size: 1.4rem;
  line-height: 2rem;
  color: #4E5969;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.article-arrow {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C0C4CC;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.article-arrow::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1px solid #000000D9;
  border-bottom: 1px solid #000000D9;
  transform: rotate(-45deg);
  transition: all 0.2s ease;
}

.article-arrow1 {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C0C4CC;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.article-arrow1::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 1px solid #000000D9;
  border-bottom: 1px solid #000000D9;
  transform: rotate(-45deg);
  transition: all 0.2s ease;
}

.article-item:hover .article-title {
  color: #1D2129;
}

.article-item:hover .article-arrow {
  color: #8F959E;
  transform: translateX(0.4rem);
}

@media screen and (max-width: 1280px) {
  .banner-content {
    left: 8rem;
  }

  .tabs-bar {
    padding: 0 8rem;
  }

  .article-content {
    padding: 14rem 8rem;
  }

  .nav-item a {
    font-size: 1.6rem;
  }

  .article-title {
    font-size: 1.6rem;
  }

  .side-nav {
    width: 14rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .content-wrapper {
    gap: 3rem;
  }
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
  .section-item {
    scroll-margin-top: 50px;
  }

  /* banner区域 */
  .article-banner {
    height: 170px;
  }

  .banner-content {
    top: 30px;
    left: 12px;
  }

  .banner-title h1 {
    font-size: 16px;
    line-height: 15px;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
  }

  .banner-title p {
    font-size: 10px;
    line-height: 30px;
  }

  .breadcrumb {
    margin-bottom: 0 !important;
  }

  .breadcrumb-container {
    height: 60px;
    gap: 5px;
  }

  .breadcrumb-item,
  .breadcrumb-separator {
    font-size: 11px;
    height: 20px;
    margin-top: 30px;
  }

  .breadcrumb-item.active {
    font-size: 12px;
  }

  /* 标签导航栏 */
  .tabs-bar {
    top: -35px;
    padding: 0 10px;
    position: relative;
    z-index: 10;
  }

  .tabs-container {
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    background-color: #fff;
  }

  .banner-tabs {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 4px;
    width: 100%;
    justify-content: center;
  }

  .banner-tab {
    flex: 1;
    min-width: 70px;
    max-width: 100px;
    padding: 6px 8px;
    font-size: 10px;
    text-align: center;
    border-radius: 12px;
    background-color: #F7F8FA;
    color: #4E5969;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .banner-tab.active {
    background-color: var(--red-light-1);
    color: #fff;
  }

  /* 搜索框 */
  .search-box {
    width: 100%;
    height: 32px;
    padding: 4px 4px 4px 12px;
    gap: 8px;
    background-color: #F7F8FA;
    border-radius: 16px;
    border: 1px solid #E5E6EB;
    transition: all 0.3s ease;
  }

  .search-box:focus-within {
    border-color: var(--red-light-1);
    background-color: #fff;
  }

  .search-input {
    display: block;
    font-size: 10px;
  }

  .search-icon {
    width: 14px;
    height: 14px;
    color: #86909C;
  }

  /* 内容区域 */
  .article-content {
    padding: 10px 8px 25px;
  }

  .content-wrapper {
    flex-direction: column;
    gap: 8px;
  }

  /* 左侧导航 */
  .side-nav {
    width: 100%;
    position: relative;
    top: auto;
    border-right: none;
    border-bottom: 1px solid #E5E6EB;
    padding-bottom: 8px;
    background-color: #fff;
    padding: 8px;
    border-radius: 6px;
    margin-bottom: 4px;
  }

  .nav-title {
    font-size: 9px;
    padding: 0 8px 6px;
    margin-bottom: 4px;
    font-weight: normal;
    color: #86909C;
    border-bottom: 1px solid #F0F1F2;
  }

  .nav-title::after {
    display: none;
  }

  .nav-list {
    padding: 4px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
  }

  .nav-item {
    padding: 3px 8px;
    border-radius: 3px;
    flex-shrink: 0;
  }

  .nav-item a {
    font-size: 12px;
    line-height: 13px;
    color: #4E5969;
  }

  .nav-item.active {
    background-color: #F5F6F7;
  }

  .nav-item.active a {
    color: #1D2129;
    font-weight: normal;
  }

  /* 右侧内容 */
  .main-content {
    width: 100%;
  }

  .section-item {
    width: 100%;
    padding: 8px;
    margin-bottom: 8px;
    border-radius: 5px;
    background-color: #fff;
    border: 1px solid #F0F1F2;
  }

  .section-title {
    font-size: 11px;
    line-height: 15px;
    margin-bottom: 8px;
    padding-left: 4px;
    border-left-width: 3px;
    font-weight: normal;
  }

  .article-grid {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .article-item {
    padding: 6px 8px;
    border-radius: 3px;
    border: 1px solid #F0F1F2;
    background-color: #fff;
  }

  .article-item a {
    gap: 5px;
    display: flex;
    align-items: center;
  }

  .article-dot {
    width: 3px;
    height: 3px;
    flex-shrink: 0;
  }

  .article-title {
    font-size: 12px;
    line-height: 13px;
    color: #4E5969;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .article-arrow {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }

  .article-arrow::after {
    width: 3px;
    height: 3px;
  }

  .section-title1 {
    gap: 5px;
    font-size: 14px;
    line-height: 15px;
    margin-bottom: 8px;
    padding-left: 4px;
    border-left-width: 3px;
    font-weight: normal;
  }

  .article-arrow1 {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .article-arrow1::after {
    width: 5px;
    height: 5px;
  }
}