/* 07医院动态详情 — Figma 26:13316 */

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

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

.nd__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.nd__crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: #4b5563;
}

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

.nd__crumb img {
  width: 10.67px;
  height: 12px;
}

.nd__crumb span {
  color: #bdcabe;
}

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

.nd__tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.nd__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  background: #fff;
  color: #006a3f;
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

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

.nd__fs button {
  min-width: 28px;
  height: 24px;
  border: 0;
  background: transparent;
  border-radius: 6px;
  color: #4b5563;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
}

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

.nd__action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #4b5563;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.nd-paper {
  background: #fff;
  border-radius: 16px;
  padding: 40px 80px 48px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.nd-paper.is-fs-s {
  font-size: 14px;
}

.nd-paper.is-fs-m {
  font-size: 16px;
}

.nd-paper.is-fs-l {
  font-size: 18px;
}

.nd-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.nd-tags span {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 9999px;
  background: #e3f9ed;
  color: #006a3f;
  font-size: 12px;
  font-weight: 500;
}

.nd-paper h1 {
  font-size: 32px;
  font-weight: 500;
  color: #053e31;
  line-height: 44px;
  letter-spacing: -0.4px;
}

.nd-lead {
  margin-top: 16px;
  padding: 16px 20px;
  background: #e3f9ed;
  border-radius: 12px;
  color: #1f2937;
  line-height: 26px;
}

.nd-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ddf3e8;
  font-size: 12px;
  color: #4b5563;
}

.nd-meta em {
  font-style: normal;
  color: #9ca3af;
}

.nd-body {
  margin-top: 28px;
  color: #1f2937;
  line-height: 26px;
}

.nd-body h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 28px 0 12px;
  font-size: 22px;
  font-weight: 500;
  color: #053e31;
  line-height: 30px;
}

.nd-body h2::before {
  content: "";
  width: 8px;
  height: 20px;
  border-radius: 9999px;
  background: #006a3f;
  flex-shrink: 0;
}

.nd-figure {
  margin: 20px 0;
  text-align: center;
}

.nd-figure img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
  background: #ddf3e8;
}

.nd-figure figcaption {
  margin-top: 8px;
  display: inline-block;
  padding: 4px 16px;
  background: #e3f9ed;
  border-radius: 9999px;
  font-size: 12px;
  color: #4b5563;
  line-height: 18px;
}

.nd-quote {
  margin: 20px 0;
  padding: 20px 24px;
  background: #e3f9ed;
  border-left: 4px solid #006a3f;
  border-radius: 0 12px 12px 0;
}

.nd-quote p {
  color: #053e31;
  line-height: 26px;
}

.nd-quote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 12px;
  color: #006a3f;
}

.nd-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  margin: 20px 0;
  align-items: start;
}

.nd-stats {
  background: #e3f9ed;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.nd-stats__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #053e31;
}

.nd-stats__head span {
  display: inline-flex;
  align-items: center;
  height: 23px;
  padding: 0 8px;
  border-radius: 9999px;
  background: #006a3f;
  color: #fff;
  font-size: 10px;
}

.nd-stat {
  margin-bottom: 12px;
}

.nd-stat__row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #4b5563;
  margin-bottom: 6px;
}

.nd-stat__row em {
  font-style: normal;
  color: #006a3f;
  font-weight: 500;
}

.nd-stat__bar {
  height: 8px;
  border-radius: 9999px;
  background: #ddf3e8;
  overflow: hidden;
}

.nd-stat__bar i {
  display: block;
  height: 100%;
  border-radius: 9999px;
  background: #006a3f;
}

.nd-tip {
  margin-top: 24px;
  padding: 16px 20px;
  background: #e3f9ed;
  border-radius: 12px;
  font-size: 14px;
  line-height: 24px;
  color: #1f2937;
}

.nd-end {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  color: #9ca3af;
  font-size: 12px;
}

.nd-end::before,
.nd-end::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #ddf3e8;
}

.nd-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0 32px;
}

.nd-nav a.nd-nav__item {
  display: block;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  color: inherit;
  text-decoration: none;
}

.nd-nav a.nd-nav__item:hover strong {
  color: #006a3f;
}

.nd-nav a.nd-nav__item.is-next {
  text-align: right;
}

.nd-nav__empty {
  display: flex;
  align-items: center;
  min-height: 96px;
  padding: 24px;
  border-radius: 16px;
  background: #f9fafb;
  font-size: 13px;
  color: #9ca3af;
}

.nd-nav__empty--end {
  justify-content: flex-end;
  text-align: right;
}

.nd-nav small {
  display: block;
  font-size: 12px;
  color: #9ca3af;
}

.nd-nav strong {
  display: block;
  margin: 8px 0;
  font-size: 16px;
  font-weight: 500;
  color: #053e31;
  line-height: 24px;
}

.nd-nav span {
  font-size: 12px;
  color: #4b5563;
}

.nd-related__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.nd-related__head h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 500;
  color: #053e31;
}

.nd-related__head h3::before {
  content: "";
  width: 10px;
  height: 24px;
  border-radius: 9999px;
  background: #006a3f;
}

.nd-related__head a {
  font-size: 12px;
  color: #006a3f;
}

.nd-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.nd-rel {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  color: inherit;
}

.nd-rel img {
  width: 100%;
  height: 176px;
  object-fit: cover;
  background: #ddf3e8;
}

.nd-rel__body {
  padding: 16px;
}

.nd-rel__cat {
  font-size: 12px;
  font-weight: 500;
  color: #006a3f;
}

.nd-rel__cat--blue {
  color: #0051d5;
}

.nd-rel__cat--teal {
  color: #2c705b;
}

.nd-rel h4 {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #053e31;
  line-height: 24px;
}

.nd-rel__meta {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 12px;
  color: #9ca3af;
}

@media (max-width: 900px) {
  .nd-paper {
    padding: 24px 16px;
  }

  .nd__top,
  .nd-nav,
  .nd-split,
  .nd-related__grid {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .nd-nav a.nd-nav__item.is-next {
    text-align: left;
  }
}

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

  .nd-paper h1 {
    font-size: 24px;
    line-height: 34px;
  }

  .nd__tools {
    width: 100%;
  }

  .nd__tools a,
  .nd__tools button {
    min-height: 36px;
  }

  .nd-lead {
    padding: 12px 14px;
    line-height: 24px;
  }
}

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

@media print {
  .topbar,
  .header,
  .nav,
  .footer,
  .nd__tools,
  .nd-nav,
  .nd-related {
    display: none !important;
  }

  .nd-paper {
    box-shadow: none;
    padding: 0;
  }
}
