.active {
  color: var(--color-main) !important;
}
/* 文章头部 */
.tab-switch {
  background: #fff;
  border-radius: 6px;
  padding: 20px 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.tab-switch__bar {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tab-switch__tabs {
  display: flex;
  align-items: center;
  gap: 18px;
}
.tab-switch__tab {
  max-width: 240px;
  line-height: 1.1;
}
.tab-switch__link {
  display: inline-block;
  color: #1d2a2f;
  text-decoration: none;
  font: 700 24px/1.1 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    PingFang SC, Microsoft YaHei;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 6px 2px;
}
.tab-switch__link--active {
  color: #0e9898;
}
.tab-switch__divider {
  width: 1px;
  height: 26px;
  background: #d9ebea;
}

.tab-switch__sort {
  position: relative;
  flex: 0 0 auto;
}
.tab-switch__btn {
  height: 36px;
  min-width: 120px;
  padding: 0 12px;
  border: 1px solid var(--color-main);
  border-radius: 6px;
  background: #fff;
  color: var(--color-main);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  line-height: 1.4;
  font: 16px;
  cursor: default;
}
.tab-switch__menu {
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  width: 140px;
  background: #fff;
  border: 1px solid #e6ecef;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  padding: 6px 0;
  display: none;
  z-index: 10;
  margin-top: 5px;
}
.tab-switch__sort .tab-switch__menu.active,
.tab-switch__menu:hover,
.tab-switch__btn:focus + .tab-switch__menu {
  display: block;
}
.tab-switch__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: #223038;
  text-decoration: none;
  font: 500 14px/1.1 inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tab-switch__option:hover {
  background: #f1f7f7;
}
.tab-switch__icon {
  color: #0e9898;
  min-width: 16px;
  text-align: center;
}
.tab-switch__icon--off {
  color: #b0bcc2;
}
.article-list {
  max-width: 1100px;
  background: #fff;
  margin: 0 auto;
  box-shadow: none !important;
}
.article-list__item {
  padding: 18px 14px;
  border-bottom: none !important;
}
.article-list__item:not(:first-child) {
  border-top: 1px solid #e8eff0;
}
.article-list__item:first-child {
  border-top: 0;
}
.article-list__border--none .article-list__item:not(:first-child) {
  border-top: none !important;
}
.article-card {
  display: grid;
  grid-template-columns: 160px 1fr 0px;
  gap: 18px;
  align-items: start;
  text-decoration: none;
  color: #1f2a30;
}
.article-card__thumb {
  width: 160px;
  height: 105px ;
  border-radius: 6px;
  object-fit: cover;
  background: #dfe7ea;
}
.article-card__body {
  min-width: 0;
}
.article-card__title {
  margin: 0 0 6px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: "HarmonyOS Sans";
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  /* or 240% */

  color: #333333;
}
.article-card__excerpt {
  margin: 0 0 10px;
  font-family: "HarmonyOS Sans";
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 160%;
  color: #191919;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card__tags {
  display: flex;
  gap: 8px;
  align-items: center;
}
.article-card__badge {
  font-family: "HarmonyOS Sans";
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 14px;
  text-align: center;
  color: #00858d;
  padding: 4px 20px;
  background: #ebf7f8;
  border-radius: 51px;
}
.article-card__date {
  justify-self: end;
  align-self: start;
  white-space: nowrap;
  color: #7a8a92;
  font-size: 13px;
}

.article-card:hover .article-card__title {
  color: #0e9898;
}

/* search */

.search-tags__title {
  /* HOT TAGS */

  font-family: "HarmonyOS Sans";
  font-style: normal;
  font-weight: 700;
  font-size: 28px;
  line-height: 33px;
  /* margin-top: 12px; */
  color: #191919;
}
.search-tags__list{
  margin-top: 20px;
  display: flex;
  align-items: center;
  /* justify-content: center; */
  gap: 12px;
  flex-wrap: wrap;
}
.search-tags__item {
  border: 1px solid var(--color-main);
  font-family: "HarmonyOS Sans";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  text-align: center;
  border: 1px solid var(--color-main);
  border-radius: 51px;
  color: var(--color-main);
  padding: 2px 8px;
  margin-top: 2px;
}
.search-tags__item:hover {
  background: var(--color-main);
  color: #fff;
}