/* 医院概况内页 — Figma 02医院概况 1920×2995 1:1 还原 */

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

/* ========== 内页头图 277px ========== */
.page-hero {
  position: relative;
  height: 277px;
  overflow: hidden;
  background: #053e31;
}

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

.page-hero__mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 106, 63, 0.03) 0%,
    rgba(0, 106, 63, 0.57) 50%,
    rgba(0, 106, 63, 0.6) 100%
  );
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  height: 277px;
  display: flex;
  flex-direction: column;
  padding: 34px 0 26px;
}

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

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

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

.crumb span {
  color: rgba(111, 219, 157, 0.6);
}

.crumb em {
  font-style: normal;
  color: #fff;
}

.page-hero__copy {
  margin-top: 38px;
}

.page-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 26px;
  padding: 0 12px;
  border-radius: 9999px;
  background: rgba(0, 106, 63, 0.4);
  backdrop-filter: blur(2px);
  color: #34d399;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-family: var(--font-en);
}

.page-hero__badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  flex-shrink: 0;
}

.page-hero__copy h1 {
  margin-top: 8px;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  line-height: 44px;
  letter-spacing: -0.9px;
  white-space: nowrap;
}

.page-hero__copy h1 span {
  font-size: 22px;
  font-weight: 400;
  color: #6fdb9d;
  line-height: 30px;
  letter-spacing: 0;
  margin-left: 4px;
}

.page-hero__copy p {
  margin-top: 8px;
  font-size: 16px;
  line-height: 26px;
  color: #c9dfd4;
}

/* ========== 主体布局 ========== */
.profile {
  padding: 40px 0 56px;
}

.profile__layout {
  display: flex;
  align-items: flex-start;
  gap: 54px;
}

.profile__aside {
  width: 266px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 27px;
}

@media (min-width: 1025px) {
  .profile__aside {
    position: sticky;
    top: 24px;
  }
}

/* 侧栏导航 — Figma 17:126 */
.side-nav {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(15, 90, 71, 0.06);
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.side-nav a {
  display: flex;
  align-items: center;
  height: 44px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  color: #4b5563;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  gap: 12px;
  transition: background 0.2s ease, color 0.2s ease;
}

.side-nav a:hover:not(.is-active) {
  background: #e8f5ee;
  color: var(--green);
}

.side-nav a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.side-nav a.is-active {
  background: var(--green);
  color: #fff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.side-nav__icon,
.side-nav__arrow {
  flex-shrink: 0;
  display: block;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.side-nav__icon {
  width: 20px;
  height: 20px;
  color: #9ca3af;
}

.side-nav a.is-active .side-nav__icon,
.side-nav a.is-active .side-nav__arrow {
  color: #fff;
}

.side-nav a:hover:not(.is-active) .side-nav__icon,
.side-nav a:hover:not(.is-active) .side-nav__arrow {
  color: var(--green);
}

.side-nav__icon--intro {
  -webkit-mask-image: url("../img/51675.svg");
  mask-image: url("../img/51675.svg");
  -webkit-mask-size: 15px 13.5px;
  mask-size: 15px 13.5px;
}

.side-nav__icon--org {
  -webkit-mask-image: url("../img/292b3.svg");
  mask-image: url("../img/292b3.svg");
  -webkit-mask-size: 20px 20px;
  mask-size: 20px 20px;
}

.side-nav__icon--culture {
  -webkit-mask-image: url("../img/culture.svg");
  mask-image: url("../img/culture.svg");
  -webkit-mask-size: 20px 20px;
  mask-size: 20px 20px;
}

.side-nav__arrow {
  width: 6px;
  height: 9px;
  margin-left: auto;
  color: #bdcabe;
  -webkit-mask-image: url("../img/9d0ea.svg");
  mask-image: url("../img/9d0ea.svg");
  -webkit-mask-size: 5.55px 9px;
  mask-size: 5.55px 9px;
}

/* 便民热线 */
.hotline {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(15, 90, 71, 0.06);
  padding: 20px;
}

.hotline h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #053e31;
  line-height: 24px;
  margin-bottom: 16px;
}

.hotline h3 img {
  width: 15px;
  height: 17.5px;
}

.hotline__card {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 70.5px;
  padding: 0 14px;
  border-radius: 8px;
}

.hotline__card + .hotline__card {
  margin-top: 16px;
}

.hotline__card--red {
  background: rgba(186, 26, 26, 0.1);
}

.hotline__card--green {
  background: #e8f5ee;
}

.hotline__ico {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hotline__ico--red {
  background: #ba1a1a;
}

.hotline__ico--green {
  background: var(--green);
}

.hotline__ico img {
  display: block;
}

.hotline__card em {
  display: block;
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.55px;
  line-height: 16.5px;
}

.hotline__card--red em,
.hotline__card--red strong {
  color: #ba1a1a;
}

.hotline__card--green em,
.hotline__card--green strong {
  color: var(--green);
}

.hotline__card strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 26px;
  letter-spacing: -0.45px;
}

/* ========== 右侧文章卡片 ========== */
.article {
  flex: 1;
  min-width: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(15, 90, 71, 0.06);
  padding: 40px 40px 40px;
}

.article__head {
  margin-bottom: 32px;
}

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

.article-badge {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  white-space: nowrap;
  position: static;
}

.article-badge--green {
  background: var(--green);
  color: #fff;
}

.article-badge--mint {
  background: #acf1d7;
  color: #2c705b;
}

.article__head h2 {
  margin-top: 15px;
  font-size: 28px;
  font-weight: 700;
  color: #053e31;
  line-height: 36px;
  letter-spacing: -0.7px;
}

.article__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 19px;
  color: #9ca3af;
  font-size: 12px;
  line-height: 18px;
}

.article__meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-en);
}

.article__meta span:last-of-type {
  font-family: var(--font);
  font-weight: 500;
}

.article__meta img {
  flex-shrink: 0;
}

.article-print {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: none;
  cursor: pointer;
  color: #4b5563;
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  font-family: var(--font);
}

/* 数据看板 */
.metrics {
  border-radius: 12px;
  padding: 24px;
  background: linear-gradient(164.83deg, #e3f9ed 0%, #e8f5ee 50%, #ddf3e8 100%);
}

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

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

.metrics__head h3 img {
  width: 15px;
  height: 15px;
}

.metrics__head span {
  font-size: 12px;
  font-weight: 500;
  color: #9ca3af;
  line-height: 16px;
}

.metrics__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.metric-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  min-height: 140px;
  padding: 28px 8px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.metric-card--tall {
  padding-top: 16px;
}

.metric-card p {
  font-size: 16px;
  font-weight: 500;
  color: #4b5563;
  line-height: 24px;
}

.metric-card__num {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  margin-top: 4px;
  font-size: 28px;
  font-weight: 500;
  color: var(--green);
  line-height: 36px;
}

.metric-card__num small {
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  margin-bottom: 5px;
}

.metric-card__num img {
  margin-bottom: 10px;
  margin-left: 2px;
}

.metric-card__unit {
  font-size: 28px;
  font-weight: 500;
  line-height: 36px;
  margin-left: 2px;
}

.metric-card__28 {
  width: 31px;
  height: 20px;
  margin-bottom: 6px !important;
}

.metric-card span {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 500;
  color: #9ca3af;
  line-height: 16.5px;
}

.metric-card--tall .metric-card__num {
  margin-top: 4px;
}

.metric-card--tall span {
  margin-top: 8px;
}

/* 章节 */
.chapter {
  margin-top: 40px;
}

.chapter h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 500;
  color: #053e31;
  line-height: 30px;
}

.chapter h3::before {
  content: "";
  width: 6px;
  height: 24px;
  border-radius: 9999px;
  background: var(--green);
  flex-shrink: 0;
}

.chapter > p {
  margin-top: 18px;
  font-size: 16px;
  font-weight: 500;
  color: #4b5563;
  line-height: 29px;
  text-align: justify;
}

.chapter__p2 {
  line-height: 26px !important;
}

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

.chapter__photos figure {
  background: #e3f9ed;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.chapter__photo {
  height: 224px;
  overflow: hidden;
}

.chapter__photo img {
  width: 107.33%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.chapter__photo img.is-shift {
  margin-left: -3.66%;
}

.chapter__photos figcaption {
  height: 40px;
  background: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: #4b5563;
  line-height: 40px;
}

/* 学科中心卡片 */
.centers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
  margin-top: 16px;
}

.center-card {
  background: #e3f9ed;
  border-radius: 12px;
  padding: 16px;
  min-height: 162px;
}

.center-card__ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(0, 106, 63, 0.1);
}

.center-card__ico img {
  max-width: 22px;
  max-height: 18px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.center-card h5 {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #053e31;
  line-height: 20px;
}

.center-card p {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #4b5563;
  line-height: 18px;
}

/* 医教协同 */
.teach {
  display: flex;
  gap: 24px;
  margin-top: 16px;
  align-items: center;
}

.teach__photo {
  width: 326px;
  height: 240px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.teach__photo img {
  width: 135%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  margin-left: -18%;
  object-position: center 20%;
}

.teach__copy {
  flex: 1;
  min-width: 0;
  max-width: 432px;
}

.teach__copy p {
  font-size: 16px;
  font-weight: 400;
  color: #4b5563;
  line-height: 26px;
}

.teach__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.teach__tags span {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 12px;
  border-radius: 6px;
  background: #ddf3e8;
  color: var(--green);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  white-space: nowrap;
}

/* 文化纲领 */
.culture {
  position: relative;
  margin-top: 40px;
  background: #053e31;
  border-radius: 16px;
  padding: 32px;
  overflow: hidden;
  min-height: 274px;
}

.culture__deco {
  position: absolute;
  right: 0;
  bottom: -48px;
  width: 200px;
  height: 206px;
  max-width: none;
  pointer-events: none;
  opacity: 0.85;
}

.culture h4 {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  line-height: 30px;
  margin-bottom: 24px;
}

.culture h4 img {
  width: 20px;
  height: 20px;
}

.culture__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.culture-card {
  background: rgba(0, 106, 63, 0.3);
  border-radius: 12px;
  padding: 16px;
  min-height: 156px;
}

.culture-card em {
  display: block;
  font-style: normal;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  color: #34d399;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  line-height: 16px;
}

.culture-card strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  line-height: 26px;
  letter-spacing: 0.4px;
}

.culture-card:first-child strong {
  letter-spacing: 1.8px;
}

.culture-card:nth-child(2) strong,
.culture-card:nth-child(3) strong {
  font-weight: 500;
  letter-spacing: 0;
}

.culture-card p {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #c9dfd4;
  line-height: 18px;
}

/* ========== 自适应 ========== */
@media (max-width: 1280px) {
  .profile__layout {
    gap: 24px;
  }

  .metrics__grid {
    gap: 12px;
  }

  .centers {
    gap: 12px;
  }
}

@media (max-width: 1024px) {
  .page-hero {
    height: auto;
    min-height: 220px;
  }

  .page-hero__inner {
    height: auto;
    min-height: 220px;
    padding: 24px 0 28px;
  }

  .page-hero__copy h1 {
    font-size: 28px;
    line-height: 36px;
    white-space: normal;
  }

  .page-hero__copy h1 span {
    display: inline-block;
    font-size: 16px;
    line-height: 24px;
  }

  .profile__layout {
    flex-direction: column;
  }

  .profile__aside {
    width: 100%;
    flex-direction: row;
    align-items: stretch;
    gap: 16px;
  }

  .side-nav,
  .hotline {
    flex: 1;
  }

  .article {
    width: 100%;
    padding: 28px 24px;
  }

  .metrics__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .centers {
    grid-template-columns: 1fr 1fr;
  }

  .teach {
    flex-direction: column;
    align-items: stretch;
  }

  .teach__photo {
    width: 100%;
    height: 220px;
  }

  .culture__grid {
    grid-template-columns: 1fr;
  }

  .culture {
    min-height: 0;
  }
}

@media (max-width: 768px) {
  .page-hero__badge {
    font-size: 10px;
    letter-spacing: 0.3px;
  }

  .page-hero__copy {
    margin-top: 24px;
  }

  .profile {
    padding: 24px 0 40px;
  }

  .profile__aside {
    flex-direction: column;
  }

  .article__head h2 {
    font-size: 22px;
    line-height: 30px;
  }

  .article-print {
    margin-left: 0;
    min-height: 36px;
  }

  .metrics {
    padding: 16px;
  }

  .metrics__grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .metric-card {
    min-height: 120px;
    padding: 16px 8px;
  }

  .chapter__photos {
    grid-template-columns: 1fr;
  }

  .centers {
    grid-template-columns: 1fr;
  }

  .chapter > p,
  .teach__copy p {
    font-size: 14px;
    line-height: 26px;
    text-align: left;
  }

  .culture {
    padding: 24px 16px;
  }

  .side-nav a {
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  .crumb {
    flex-wrap: wrap;
  }

  .page-hero__copy h1 {
    font-size: 24px;
  }

  .metrics__grid {
    grid-template-columns: 1fr;
  }

  .metrics__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .article {
    padding: 20px 16px;
    border-radius: 12px;
  }

  .hotline__card strong {
    font-size: 16px;
  }
}

@media print {
  .topbar,
  .header,
  .nav,
  .page-hero,
  .profile__aside,
  .footer,
  .article-print,
  .nav-toggle {
    display: none !important;
  }

  .page-about {
    background: #fff;
  }

  .article {
    box-shadow: none;
    padding: 0;
  }
}
