.page-top-bg-news {
  background-image: url("../src/tags/bg-top.png") !important;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.tags-anchor-box {
  width: 100%;
  padding: 25px 0;
  margin: 0 auto;
  background: #f7f7f7;
  box-sizing: border-box;
}

.tag-anchor-item {
  padding: 4px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  color: #5b5c60;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 16px;
}
.tag-anchor-item:hover {
  background: rgba(134, 190, 30, 0.1);
  color: #86be1e;
  text-decoration: none;
}
.tag-anchor-item.index-service-tab-ck {
  background: #86be1e;
  color: #fff !important;
  border-radius: 16px;
}
.tag-anchor-item.index-service-tab-ck .index-service-tab-txt {
  color: #fff !important;
}

.tag-anchor-item .icon-color {
  width: 24px;
  height: 24px;
}

.tag-anchor-item .icon-white {
  width: 24px;
  height: 24px;
}

.tag-title {
  font-weight: 500;
  font-size: 24px;
  color: #293a4c;
  line-height: 46px;
  text-align: left;
  margin: 0;
}

.tag-list {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.tag-content-area {
  /* margin-top: 24px; */
  margin-bottom: 48px;
  /* padding-top: 20px; */
  transition: opacity 0.3s ease, transform 0.3s ease;
  scroll-margin-top: 100px; /* CSS原生滚动偏移，适配固定头部 */
}
.tag-content-area:last-child {
  margin-bottom: 0;
}
.tag-content-area.hide {
  display: none;
}

.tag-item {
  padding: 4px 12px;
  background: #f6f7f7;
  font-weight: 400;
  font-size: 16px;
  color: #293a4c;
  line-height: 30px;
  position: relative;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: inline-block;
}
.tag-item:hover {
  background: #e8f5d1;
  color: #86be1e;
  text-decoration: none;
  transform: translateY(-1px);
}
.tag-item.new::after {
  content: "";
  position: absolute;
  top: -6px;
  right: -4px;
  width: 25px;
  height: 14px;
  background: url("../src/tags/new.png") no-repeat center center;
  background-size: 100% 100%;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}
.tag-item.hot::after {
  content: "";
  position: absolute;
  top: -6px;
  right: -4px;
  width: 25px;
  height: 14px;
  background: url("../src/tags/hot.png") no-repeat center center;
  background-size: 100% 100%;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}
/* 移动端下拉选择器样式 */
.tags-anchor-mobile {
  display: none;
  width: 100%;
  position: relative;
}

.mobile-tags-dropdown {
  position: relative;
  width: 100%;
}

.mobile-tags-selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* .mobile-tags-selected:hover {
  border-color: #86be1e;
  box-shadow: 0 2px 8px rgba(134, 190, 30, 0.2);
} */

.mobile-tags-selected-text {
  font-size: 16px;
  color: #293a4c;
  font-weight: 500;
}

.mobile-tags-arrow {
  font-size: 12px !important;
  /* color: #86be1e !important; */
  transition: transform 0.3s ease;
}

.mobile-tags-dropdown.open .mobile-tags-arrow {
  transform: rotate(180deg);
}

.mobile-tags-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  max-height: 300px;
  overflow-y: auto;
}

.mobile-tags-option {
  display: block;
  padding: 12px 16px;
  color: #293a4c;
  text-decoration: none;
  border-bottom: 1px solid #f5f5f5;
  transition: all 0.2s ease;
  cursor: pointer;
}

.mobile-tags-option:last-child {
  border-bottom: none;
}

.mobile-tags-option:hover {
  background: #f8f9fa;
  color: #86be1e;
  text-decoration: none;
}

.mobile-tags-option.active {
  background: #86be1e;
  color: #fff;
}

.mobile-tags-option.active:hover {
  background: #7aa91c;
  color: #fff;
}
.tag-banner-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 0px 48px;
  gap: 64px;
}
.tag-banner-left {
  flex: 1;
}
.tag-banner-title {
  font-weight: 500;
  font-size: 14px;
  color: #f4202e;
  line-height: 20px;
  text-align: left;
}
.tag-banner-left h2 {
  margin: 12px 0;
  font-weight: 500;
  font-size: 24px;
  color: #293a4c;
  line-height: 32px;
}
.tag-banner-left-txt {
  font-weight: 400;
  font-size: 16px;
  color: #5b5c60;
  line-height: 24px;
  text-align: left;
}
.recommend-box {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 32px;
}
.recommend-box span {
  font-weight: 500;
  font-size: 16px;
  color: #5b5c60;
  line-height: 24px;
  text-align: left;
}
.recommend-tag-list {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  width: calc(100% - 81px);
}
.recommend-tag-list a {
  padding: 6px 8px;
  background: #e5f1fe;
  color: #0077d5;
}
.tag-banner-left-btn {
  width: 120px;
  height: 40px;
  background: #ffffff;
  border: 1px solid #86be1e;
  color: #86be1e;
}
.tag-banner-left-btn.subscribed {
  background: #86be1e;
  color: #fff;
}
.tag-banner-right {
  width: 300px;
  height: 200px;
}

/* Article Tabs 样式 */
.article-tabs-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e5e5e5;
}

.article-tabs {
  display: flex;
  align-items: center;
  gap: 32px;
}

.article-tabs-item {
  position: relative;
  padding: 12px 0px;
  font-size: 16px;
  font-weight: 500;
  color: #5b5c60;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.article-tabs-item:hover {
  color: #86be1e;
  text-decoration: none;
}

.article-tabs-item.active {
  color: #86be1e;
  border-bottom-color: #86be1e;
}

/* 自定义下拉筛选器 */
.article-list-filter-dropdown {
  position: relative;
  display: inline-block;
  width: 120px;
}

.article-list-filter-selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  background: #fff;
  color: #5b5c60;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}

.article-list-filter-selected:hover {
  border-color: #86be1e;
}

.article-list-filter-selected-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-list-filter-arrow {
  font-size: 12px;
  color: #5b5c60;
  transition: transform 0.3s ease, color 0.3s ease;
  margin-left: 8px;
}

.article-list-filter-dropdown.open .article-list-filter-selected {
  border-color: #86be1e;
}

.article-list-filter-dropdown.open .article-list-filter-arrow {
  transform: rotate(180deg);
  color: #86be1e;
}

/* 下拉选项容器 */
.article-list-filter-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-top: none;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
}

.article-list-filter-options.hide {
  display: none;
}

.article-list-filter-option {
  display: block;
  padding: 8px 12px;
  color: #5b5c60;
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 1px solid #f5f5f5;
}

.article-list-filter-option:last-child {
  border-bottom: none;
}

.article-list-filter-option:hover {
  background-color: #f8f9fa;
  color: #86be1e;
  text-decoration: none;
}

.article-list-filter-option.active {
  background-color: #86be1e;
  color: #fff;
}

/* 文章列表容器 */
.article-list-li {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.article-list-li.hide {
  display: none;
}

.article-list-li-content {
  display: flex;
  flex-direction: column;
}

.article-list-li-bottom {
  flex: 1;
  align-items: flex-end;
}

.article-list-li-bottom {
  position: relative;
  margin-top: 8px;
}

.article-list-li-title {
  height: auto;
  max-height: 48px;
  line-clamp: 2;
  -webkit-line-clamp: 2;
}

.article-list-li-text {
  height: auto;
  max-height: 40px;
  line-clamp: 2;
  -webkit-line-clamp: 2;
}

.download-item-country {
  border-right: none;
}
.focus-topic-recommend a {
  /* display: flex; */
  position: relative;
  padding-left: 12px;
  /* font-weight: 500; */
  color: #293a4c;
}
.focus-topic-recommend a::before {
  width: 6px;
  height: 6px;
  background: #dee2e6;
  border-radius: 1px;
  content: "";
  display: block;
  margin-right: 4px;
  position: absolute;
  left: 0;
  top: 7px;
}
.public-page-right-hot-item-tags {
  width: 100%;
  background: #f7f7f7;
  padding: 12px;
  margin-top: 8px;
}
.public-page-right-hot-item-tags p {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  font-weight: 400;
  font-size: 14px;
  color: #5b5c60;
  line-height: 22px;
  margin: 0;
}

@media (max-width: 768px) {
  .page-top-bg-news {
    background-image: url("../src/tags/mobile-bg.png") !important;
  }
  .news-page-main {
    margin-top: 16px;
  }
  .article-list-li-content {
    padding: 0;
  }
  .recommend-box {
    flex-direction: column;
  }
  .tag-banner-right {
    width: 100%;
    height: auto;
  }
  .tag-banner-box {
    flex-direction: column-reverse;
    gap: 16px;
    padding: 16px 10px;
  }
  .tag-banner-left {
    width: 100%;
  }
  .page-top-center {
    max-width: 100%;
  }
  .tags-anchor-box {
    padding: 16px 10px;
  }
  .footer-main-center {
    padding: 40px 10px 30px 10px;
  }

  /* 移动端隐藏PC端标签列表，显示下拉选择器 */
  .tags-anchor-list-pc {
    display: none !important;
  }

  .tags-anchor-mobile {
    display: block !important;
  }

  .tag-title {
    font-size: 20px;
    line-height: 32px;
  }

  .tag-list {
    gap: 12px;
  }

  .tag-item {
    font-size: 14px;
    padding: 6px 10px;
    line-height: 24px;
  }

  /* 移动端文章标签样式 */
  .article-tabs-box {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .article-tabs {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
  }

  /* .article-tabs-item {
    padding: 8px 16px;
    font-size: 14px;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    border-bottom: 1px solid #e5e5e5 !important;
  } */

  /* .article-tabs-item.active {
    background: #86be1e;
    color: #fff;
    border-color: #86be1e;
    border-bottom: 1px solid #86be1e !important;
  } */

  .article-list-filter-dropdown {
    width: 100%;
  }
}
