/* 04科室导航——详情 — Figma 23:9820 */

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

.detail {
  padding: 0 0 56px;
}

.detail__bar {
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
}

.detail__bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 50px;
}

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

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

.detail__crumb span {
  color: #bdcabe;
}

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

.detail__tools {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  line-height: 16px;
  flex-shrink: 0;
}

.detail__share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 8px;
  background: #e3f9ed;
  color: var(--green);
  font-weight: 500;
}

.detail__print {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: none;
  color: #4b5563;
  cursor: pointer;
  font-family: var(--font);
  font-size: 12px;
}

.detail-hero {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 90, 71, 0.06);
  margin-bottom: 24px;
}

.detail-hero__body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: 320px;
}

.detail-hero__visual {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  background: #e3f9ed;
}

.detail-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 40%;
}

.detail-hero__visual::after {
  content: none;
}

.detail-hero__copy {
  min-width: 0;
  padding: 32px 32px 24px;
  display: flex;
  flex-direction: column;
}

.detail-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-hero__tags span {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 10px;
  border-radius: 4px;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  line-height: 16px;
}

.detail-hero__tags span:nth-child(2) {
  background: #256956;
}

.detail-hero__tags span:nth-child(3) {
  background: #008651;
}

.detail-hero__copy h1 {
  margin-top: 16px;
  font-size: 32px;
  font-weight: 700;
  color: #053e31;
  line-height: 44px;
  letter-spacing: -0.6px;
}

.detail-hero__copy h1 em {
  display: block;
  font-style: normal;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 500;
  color: #9ca3af;
  line-height: 1.5;
  margin-top: 6px;
}

.detail-hero__copy > p {
  margin-top: 8px;
  font-size: 12px;
  color: #4b5563;
  line-height: 18px;
}

.detail-hero__quote {
  margin-top: auto;
  padding-top: 12px;
  font-size: 13px;
  font-weight: 500;
  color: #4b5563;
  line-height: 22px;
}

.detail-metrics--figure {
  width: 100%;
  background: #e3f9ed;
  padding: 12px 16px;
  line-height: 0;
}

.detail-metrics__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 88px;
  object-fit: contain;
  object-position: center;
}

.detail-metrics--grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  background: #e3f9ed;
  min-height: 76px;
}

.detail-metric {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  min-width: 0;
}

.detail-metric + .detail-metric {
  border-left: 1px solid rgba(0, 106, 63, 0.12);
}

.detail-metric__ico {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

.detail-metric > div {
  flex: 1;
  min-width: 0;
}

.detail-metric strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--green);
  line-height: 30px;
}

.detail-metric strong small {
  font-size: 12px;
  font-weight: 500;
  margin-left: 2px;
}

.detail-metric > div > span {
  display: block;
  font-size: 12px;
  color: #4b5563;
  line-height: 16px;
}

.detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 365px;
  align-items: start;
  gap: 24px;
}

.detail__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.detail-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  padding: 28px 32px 32px;
}

.detail-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.detail-card__head h2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #053e31;
  line-height: 26px;
}

.detail-card__head h2::before {
  content: "";
  width: 10px;
  height: 24px;
  border-radius: 4px;
  background: var(--green);
  flex-shrink: 0;
  align-self: center;
}

.detail-card__head em {
  font-style: normal;
  font-size: 12px;
  color: #9ca3af;
  font-weight: 500;
}

.detail-card__head a {
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  white-space: nowrap;
}

.detail-card__lead {
  font-size: 15px;
  font-weight: 500;
  color: #4b5563;
  line-height: 28px;
  text-align: justify;
}

.detail-equip {
  margin-top: 28px;
}

.detail-equip__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #053e31;
  line-height: 22px;
  margin-bottom: 16px;
}

.detail-equip__title::before {
  content: "";
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: url("/img/dept/equip-title.svg") center / contain no-repeat;
}

.equip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.equip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 12px;
  border-radius: 8px;
  background: #e3f9ed;
}

img.equip-item__ico {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  object-fit: contain;
  display: block;
}

.equip-item__text {
  flex: 1;
  min-width: 0;
}

.equip-item strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #006a3f;
  line-height: 18px;
  word-break: break-word;
}

.equip-item span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #4b5563;
  line-height: 16px;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tech-card {
  padding: 20px;
  border-radius: 12px;
  background: #006a3f;
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 246px;
  box-shadow: none;
  border: 0;
  overflow: hidden;
}

.tech-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.tech-card__no {
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border-radius: 8px;
  background: #256956;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tech-card__tag {
  height: 20px;
  padding: 0 8px;
  border-radius: 4px;
  background: #256956;
  color: #fff;
  font-size: 11px;
  line-height: 20px;
  font-weight: 500;
}

.tech-card h3 {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 24px;
}

.tech-card p {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 20px;
}

.tech-card__meta {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.doc-card {
  padding: 16px;
  border-radius: 12px;
  background: #e3f9ed;
  border: 0;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.doc-card__top {
  display: flex;
  gap: 14px;
}

.doc-card__photo {
  width: 80px;
  height: 96px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #fff;
  border: 0;
}

.doc-card__photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.doc-card__intro {
  min-width: 0;
}

.doc-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #053e31;
  line-height: 24px;
}

.doc-card h3 em {
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  color: #9ca3af;
  margin-left: 6px;
}

.doc-card__role {
  margin-top: 2px;
  font-size: 12px;
  color: #4b5563;
  line-height: 18px;
}

.doc-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}

.doc-card__tags span {
  height: 21px;
  padding: 0 8px;
  border-radius: 4px;
  background: #fff;
  color: var(--green);
  font-size: 11px;
  line-height: 21px;
}

.doc-card__bio {
  margin-top: 14px;
  font-size: 13px;
  color: #4b5563;
  line-height: 20px;
  flex: 1;
}

.doc-card time {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--green);
  font-weight: 500;
}

.doc-card time::before {
  content: "";
  width: 14px;
  height: 14px;
  background: url("/img/dept/clock.svg") center / contain no-repeat;
  flex-shrink: 0;
}

.detail__aside {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sos-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  padding: 20px;
  color: #fff;
  background: linear-gradient(147.58deg, #ba1a1a 0%, #ba1a1a 50%, #053e31 100%);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.sos-card__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.sos-card__live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}

.sos-card h3 {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 26px;
  letter-spacing: -0.45px;
}

.sos-card > p {
  margin-top: 8px;
  font-size: 12px;
  line-height: 19.5px;
  color: rgba(255, 255, 255, 0.88);
}

.sos-card__call {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
}

.sos-card__call em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 16.5px;
}

.sos-card__call strong {
  display: block;
  font-size: 18px;
  letter-spacing: 0.9px;
  line-height: 26px;
}

.sos-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 8px;
  background: #fff;
  color: #ba1a1a;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.side-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  padding: 20px;
}

.side-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #053e31;
  line-height: 24px;
}

.side-card h3 img {
  width: 15px;
  height: 16.67px;
}

.side-card__hint {
  margin-left: auto;
  font-size: 12px;
  font-weight: 500;
  color: #9ca3af;
}

.week-pills {
  display: flex;
  margin-top: 16px;
  padding: 4px;
  border-radius: 8px;
  background: #e3f9ed;
}

.week-pill {
  flex: 1;
  height: 28px;
  border: 0;
  background: transparent;
  color: #4b5563;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  font-family: var(--font);
}

.week-pill.is-active {
  background: var(--green);
  color: #fff;
}

.shift-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.shift-item {
  padding: 12px;
  border-radius: 8px;
  background: #006d41;
  color: #fff;
}

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

.shift-item__time span {
  display: inline-flex;
  align-items: center;
  height: 21px;
  padding: 0 8px;
  border-radius: 4px;
  background: #006a3f;
  font-size: 11px;
  font-weight: 600;
}

.shift-item__time em {
  font-style: normal;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.44);
}

.shift-item strong {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.shift-item b {
  font-weight: 500;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.44);
  margin-left: 8px;
}

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

.side-card__foot a {
  font-weight: 600;
  color: var(--green);
  white-space: nowrap;
}

.loc-box {
  margin-top: 16px;
  padding: 12px;
  border-radius: 8px;
  background: #e3f9ed;
}

.loc-box + .loc-box {
  margin-top: 12px;
}

.loc-box strong {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--green);
  line-height: 18px;
}

.loc-box strong::before {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: url("/img/dept/loc-pin.svg") center / contain no-repeat;
}

.loc-box strong.is-alt {
  color: #256956;
}

.loc-box p {
  margin-top: 8px;
  padding-left: 20px;
  font-size: 12px;
  color: #4b5563;
  line-height: 16px;
}

.phone-dir {
  margin-top: 16px;
  padding: 12px;
  border-radius: 8px;
  background: #006d41;
  color: #fff;
}

.phone-dir p {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  line-height: 18px;
}

.phone-dir p + p {
  margin-top: 6px;
}

.phone-dir strong {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
}

.nav3d {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  height: 40px;
  border-radius: 8px;
  background: #e8f5ee;
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
}

.nav3d::before {
  content: "";
  width: 16px;
  height: 16px;
  background: url("/img/dept/nav3d.svg") center / contain no-repeat;
  flex-shrink: 0;
}

.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

.edu-grid a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #e3f9ed;
  font-size: 12px;
  color: #1f2937;
  line-height: 1.3;
}

.edu-grid img {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

@media (max-width: 1200px) {
  .detail__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .detail-hero__body {
    grid-template-columns: 1fr;
  }

  .detail-hero__visual {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .detail-metrics--grid {
    grid-template-columns: 1fr 1fr;
  }

  .detail-metric + .detail-metric {
    border-left: 0;
  }

  .detail-metric:nth-child(odd) {
    border-right: 1px solid rgba(0, 106, 63, 0.08);
  }

  .equip-grid,
  .tech-grid,
  .doc-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .detail__bar .wrap {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .detail-card {
    padding: 20px 16px;
  }

  .detail-metrics--grid {
    grid-template-columns: 1fr;
  }

  .detail-metric:nth-child(odd) {
    border-right: 0;
  }

  .detail-metric + .detail-metric {
    border-top: 1px solid rgba(0, 106, 63, 0.08);
  }

  .sos-card__call {
    flex-direction: column;
    align-items: flex-start;
  }

  .week-pills {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
  }

  .week-pill {
    flex: 1 0 auto;
    min-width: 40px;
  }
}

@media print {
  .topbar,
  .header,
  .nav,
  .footer,
  .detail__aside,
  .nav-toggle,
  .detail__print,
  .detail__share {
    display: none !important;
  }
}
