/* 06医院动态 — Figma 26:12606 */

.page-news {
  background: var(--green-mint);
}

.news {
  padding: 24px 0 56px;
}

.news__crumb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: #4b5563;
}

.news__crumb-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.news__crumb-left a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #4b5563;
}

.news__crumb-left img {
  width: 10.67px;
  height: 12px;
}

.news__crumb-left span {
  color: #bdcabe;
}

.news__crumb-left em {
  font-style: normal;
  color: var(--green);
}

.news__crumb-right {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #9ca3af;
  white-space: nowrap;
}

.news__crumb-right i {
  font-style: normal;
  color: #006a3f;
}

.news__head {
  background: #fff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  padding: 24px 0;
}

.news__head .wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.news__title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.news__title i {
  display: block;
  width: 6px;
  height: 28px;
  border-radius: 9999px;
  background: #006a3f;
}

.news__title h1 {
  font-size: 28px;
  font-weight: 500;
  color: #1f2937;
  line-height: 36px;
  letter-spacing: -0.7px;
}

.news__title em {
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  color: #9ca3af;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-left: 8px;
}

.news__sub {
  margin: 8px 0 0 20px;
  font-size: 14px;
  line-height: 22px;
  color: #4b5563;
}

.news__tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.news__year {
  height: 33px;
  border: 0;
  background: #e3f9ed;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 14px;
  color: #1f2937;
  font-family: inherit;
  font-weight: 500;
}

.news__search {
  position: relative;
  width: 288px;
}

.news__search input {
  width: 100%;
  height: 40px;
  border: 0;
  background: #e3f9ed;
  border-radius: 8px;
  padding: 0 88px 0 16px;
  font-size: 12px;
  color: #1f2937;
  font-family: inherit;
}

.news__search input::placeholder {
  color: #9ca3af;
}

.news__search button {
  position: absolute;
  right: 4px;
  top: 4px;
  height: 32px;
  width: 80px;
  border: 0;
  border-radius: 8px;
  background: #006a3f;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.news__tabs-wrap {
  padding: 24px 0 0;
}

.news__tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.news__tab {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: #4b5563;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
}

.news__tab em {
  font-style: normal;
  font-size: 12px;
  color: #9ca3af;
}

.news__tab.is-active {
  background: #006a3f;
  color: #fff;
}

.news__tab.is-active em {
  color: #fff;
}

.news__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0 12px;
  font-size: 12px;
  color: #9ca3af;
}

.news__meta strong {
  color: #006a3f;
  font-weight: 700;
}

.news__sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 24px;
  padding: 0 8px;
  background: #e3f9ed;
  border-radius: 8px;
  color: #4b5563;
}

.news__sort button {
  border: 0;
  background: none;
  font-size: 12px;
  font-weight: 500;
  color: #4b5563;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
}

.news__sort button.is-active {
  color: #006a3f;
}

.news__sort-link {
  font-size: 12px;
  font-weight: 500;
  color: #4b5563;
  text-decoration: none;
}

.news__sort-link.is-active {
  color: #006a3f;
}

.news-list__empty {
  margin: 24px 0;
  padding: 32px 16px;
  text-align: center;
  font-size: 14px;
  color: #9ca3af;
  background: #fff;
  border-radius: 12px;
}

.news-card {
  display: grid;
  grid-template-columns: minmax(180px, 360px) minmax(0, 1fr);
  gap: 24px;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  margin-bottom: 16px;
  text-decoration: none;
  color: inherit;
}

.news-card.is-hidden {
  display: none;
}

.news-card__cover {
  position: relative;
  width: 100%;
  height: 210px;
  border-radius: 8px;
  overflow: hidden;
  background: #ddf3e8;
}

.news-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__cat {
  position: absolute;
  left: 10px;
  top: 10px;
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.news-card__cat--news {
  background: #006a3f;
}

.news-card__cat--notice {
  background: #d97706;
}

.news-card__cat--media {
  background: #0051d5;
}

.news-card__tag {
  position: absolute;
  right: 10px;
  bottom: 10px;
  height: 21px;
  padding: 0 8px;
  border-radius: 4px;
  background: rgba(5, 62, 49, 0.8);
  color: #fff;
  font-size: 11px;
  line-height: 21px;
}

.news-card__body {
  display: flex;
  flex-direction: column;
  min-height: 210px;
}

.news-card__row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #4b5563;
}

.news-card__chip {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.news-card__chip--green {
  background: #e8f5ee;
  color: #006a3f;
}

.news-card__chip--amber {
  background: #fffbeb;
  color: #d97706;
}

.news-card__chip--blue {
  background: #eff6ff;
  color: #0051d5;
}

.news-card__chip--teal {
  background: #ecfdf5;
  color: #047857;
}

.news-card__body h2 {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 500;
  color: #1f2937;
  line-height: 24.75px;
}

.news-card__body p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 22.75px;
  color: #4b5563;
}

.news-card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #9ca3af;
}

.news-card__more {
  color: #006a3f;
  font-weight: 500;
}

.news-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  font-size: 12px;
  color: #4b5563;
}

.news-pager__pages {
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-pager__pages button,
.news-pager__pages span,
.news-pager__pages .news-pager__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #4b5563;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
}

.news-pager__pages button.is-active,
.news-pager__pages .news-pager__link.is-active {
  background: #006a3f;
  color: #fff;
}

.news-pager__jump {
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-pager__jump input {
  width: 48px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  font-family: inherit;
}

@media (max-width: 1280px) {
  .news__head {
    padding: 20px 0;
  }
}

@media (max-width: 900px) {
  .news__head .wrap,
  .news__crumb,
  .news__meta,
  .news-pager {
    flex-direction: column;
    align-items: flex-start;
  }

  .news__search {
    width: 100%;
  }

  .news__tools {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .news__tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
  }

  .news__tabs::-webkit-scrollbar {
    display: none;
  }

  .news__tab {
    flex: 0 0 auto;
    min-height: 40px;
  }

  .news-card {
    grid-template-columns: 1fr;
  }

  .news-card__cover {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .news {
    padding: 16px 0 40px;
  }

  .news__title {
    flex-wrap: wrap;
  }

  .news__title h1 {
    font-size: 24px;
    line-height: 32px;
  }

  .news-pager {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
  }

  .news-pager__pages button,
  .news-pager__pages span {
    min-width: 36px;
    min-height: 36px;
  }

  .news-pager__jump {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .news__title h1 {
    font-size: 22px;
    line-height: 30px;
  }

  .news__title em {
    margin-left: 0;
    display: block;
    width: 100%;
  }
}
