/*
Theme Name: 安诊环保 Anzhen Medical
Theme URI: https://example.com/themes/anzhen-medical
Author: 白大褂
Author URI: https://example.com/author/baidagua
Description: 体检报告风中文企业主题,为虚构演示公司「淮安安诊环保科技有限公司」定制。诊室白与病历纸打底,医疗青绿 #0e8a74 主色;区块以体检报告页呈现(报告抬头+条形码占位),参数表为四列检验报告表,心电图折线讲述治理前后曲线,喷淋塔画成透视片,CTA 是带撕裂线的复诊预约单。含 CPT product(体检套餐)、演示兜底与无障碍降级。
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: anzhen-medical
Tags: business, custom-menu, custom-logo, featured-images, translation-ready, two-columns, sticky-post
*/

/* --------------------------------------------------
   0. 设计变量(体检报告配色卡)
-------------------------------------------------- */
:root {
  --az-white: #ffffff;      /* 诊室白 */
  --az-paper: #f6f9f8;      /* 病历纸 */
  --az-teal: #0e8a74;       /* 医疗青绿(主识别:线条/色条/图标) */
  --az-teal-fill: #0d7f6b;  /* 青绿实底(白字对比 ≥4.5:1) */
  --az-deep: #085e50;       /* 深诊断绿(标题/重点/深底) */
  --az-ink: #2f3634;        /* 石墨正文 */
  --az-muted: #5b6a66;      /* 次要说明 */
  --az-line: #cfe3dc;       /* 浅青分隔线 */
  --az-line-soft: #e3eeea;  /* 更浅表格线 */
  --az-red: #c4453c;        /* 指标红:仅表格超标值 */
  --az-pass: #2f9e63;       /* 合格绿徽:仅达标章/徽记 */
  --az-pass-text: #1e7245;  /* 达标文字(对比达标) */
  --az-film: #0b332d;       /* 透视片深底 */
  --az-film-line: #bfe9de;  /* 透视片影像线 */
  --az-radius: 6px;
  --az-radius-lg: 10px;
  --az-shadow: 0 1px 2px rgba(8, 94, 80, 0.06), 0 6px 18px rgba(8, 94, 80, 0.07);
  --az-font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --az-header-h: 72px;
}

/* --------------------------------------------------
   1. 基础重置与排版
-------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--az-font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--az-ink);
  background: var(--az-paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.6em;
  line-height: 1.3;
  color: var(--az-deep);
  font-weight: 700;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }

a { color: var(--az-deep); text-decoration-color: var(--az-teal); text-underline-offset: 3px; }
a:hover { color: var(--az-teal); }

ul, ol { margin: 0 0 1.2em; padding-left: 1.4em; }

img { max-width: 100%; height: auto; }

hr {
  border: 0;
  border-top: 1px dashed var(--az-line);
  margin: 2em 0;
}

blockquote {
  margin: 1.4em 0;
  padding: 0.8em 1.2em;
  background: var(--az-paper);
  border-left: 4px solid var(--az-teal);
  border-radius: 0 var(--az-radius) var(--az-radius) 0;
}

code, pre, kbd {
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: var(--az-paper);
}

pre { padding: 1em; overflow: auto; border: 1px solid var(--az-line); border-radius: var(--az-radius); }

table {
  border-collapse: collapse;
  width: 100%;
  font-variant-numeric: tabular-nums;
}

th, td {
  padding: 0.6em 0.85em;
  border: 1px solid var(--az-line-soft);
  text-align: left;
}

th { background: var(--az-paper); color: var(--az-deep); }

::selection { background: rgba(14, 138, 116, 0.18); }

/* --------------------------------------------------
   2. 无障碍
-------------------------------------------------- */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  clip: auto;
  clip-path: none;
  height: auto;
  width: auto;
  display: block;
  left: 8px;
  top: 8px;
  z-index: 100000;
  padding: 12px 20px;
  background: var(--az-white);
  color: var(--az-deep);
  border: 1px solid var(--az-teal);
  border-radius: var(--az-radius);
  box-shadow: var(--az-shadow);
}

.skip-link { position: absolute; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--az-teal);
  outline-offset: 2px;
}

/* --------------------------------------------------
   3. 布局容器
-------------------------------------------------- */
.az-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.az-section { padding: 72px 0; }
.az-section--tight { padding: 48px 0; }
.az-section--alt { background: var(--az-white); border-top: 1px solid var(--az-line-soft); border-bottom: 1px solid var(--az-line-soft); }

[id^="az-"] { scroll-margin-top: calc(var(--az-header-h) + 16px); }

/* 区块标头:化验单眉栏 */
.az-sechead { max-width: 720px; margin-bottom: 40px; }
.az-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--az-deep);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.az-kicker::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: none;
  background:
    linear-gradient(var(--az-teal), var(--az-teal)) center / 14px 3px no-repeat,
    linear-gradient(var(--az-teal), var(--az-teal)) center / 3px 14px no-repeat;
}
.az-sechead h2 { margin-bottom: 0.35em; }
.az-sechead p { color: var(--az-muted); margin-bottom: 0; }

/* --------------------------------------------------
   4. 按钮
-------------------------------------------------- */
.az-btn {
  display: inline-block;
  padding: 12px 26px;
  background: var(--az-teal-fill);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  border: 1px solid var(--az-teal-fill);
  border-radius: var(--az-radius);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.az-btn:hover { background: var(--az-deep); border-color: var(--az-deep); color: #ffffff; transform: translateY(-1px); }

.az-btn--ghost {
  background: transparent;
  color: var(--az-deep);
  border: 1px solid var(--az-teal);
}
.az-btn--ghost:hover { background: rgba(14, 138, 116, 0.08); color: var(--az-deep); transform: translateY(-1px); }

.az-btn--line {
  display: inline-block;
  font-weight: 600;
  color: var(--az-deep);
  text-decoration: none;
  border-bottom: 2px solid var(--az-teal);
  padding-bottom: 2px;
}
.az-btn--line:hover { color: var(--az-teal); }

/* --------------------------------------------------
   5. 页头(挂号台)
-------------------------------------------------- */
.az-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--az-white);
  border-bottom: 1px solid var(--az-line);
}
.az-header.is-scrolled { box-shadow: 0 4px 16px rgba(8, 94, 80, 0.1); }

.az-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--az-header-h);
}

.az-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--az-deep);
}
.az-brand:hover { color: var(--az-deep); }

.az-brand__mark {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--az-deep);
  border-radius: 9px;
  color: #ffffff;
}
.az-brand__mark svg { display: block; }

.az-brand__name { font-size: 1.15rem; font-weight: 800; line-height: 1.2; }
.az-brand__slogan {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--az-muted);
}

.az-brand .custom-logo { max-height: 42px; width: auto; border-radius: 6px; }

/* 导航 */
.az-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.az-nav a {
  display: block;
  padding: 10px 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--az-ink);
  text-decoration: none;
  border-radius: var(--az-radius);
}
.az-nav a:hover { color: var(--az-deep); background: var(--az-paper); }
.az-nav .current-menu-item > a,
.az-nav .current_page_item > a { color: var(--az-deep); box-shadow: inset 0 -2px 0 var(--az-teal); border-radius: var(--az-radius) var(--az-radius) 0 0; }

.az-nav__cta a {
  background: var(--az-teal-fill);
  color: #ffffff;
  margin-left: 8px;
}
.az-nav__cta a:hover { background: var(--az-deep); color: #ffffff; }

/* 汉堡 */
.az-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--az-line);
  border-radius: var(--az-radius);
  cursor: pointer;
}
.az-burger__bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--az-deep);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-open .az-burger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .az-burger__bar:nth-child(2) { opacity: 0; }
.nav-open .az-burger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .az-burger { display: flex; }
  .az-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--az-white);
    border-bottom: 1px solid var(--az-line);
    box-shadow: 0 18px 30px rgba(8, 94, 80, 0.12);
    display: none;
    padding: 10px 24px 18px;
  }
  .nav-open .az-nav { display: block; }
  .az-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .az-nav a { padding: 12px 10px; border-bottom: 1px dashed var(--az-line-soft); border-radius: 0; }
  .az-nav li:last-child a { border-bottom: 0; }
  .az-nav .current-menu-item > a { box-shadow: inset 3px 0 0 var(--az-teal); }
  .az-nav__cta a { margin-left: 0; border-radius: var(--az-radius); text-align: center; }
}

/* --------------------------------------------------
   6. 报告单公共件:报告页/抬头/条形码/印章
-------------------------------------------------- */
.az-sheet {
  background: var(--az-white);
  border: 1px solid var(--az-line);
  border-radius: var(--az-radius-lg);
  box-shadow: var(--az-shadow);
}

.az-report-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 24px;
  padding: 18px 24px;
  border-bottom: 1px dashed var(--az-line);
}
.az-report-head__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--az-deep);
  letter-spacing: 0.35em;
  margin: 0;
}
.az-report-head__fields {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  font-size: 0.82rem;
  color: var(--az-muted);
  font-variant-numeric: tabular-nums;
}
.az-report-head__fields b { color: var(--az-deep); font-weight: 700; margin-right: 4px; }

/* 条形码占位:竖线组 */
.az-barcode {
  display: inline-block;
  width: 96px;
  height: 30px;
  flex: none;
  background: repeating-linear-gradient(
    90deg,
    var(--az-ink) 0 2px,
    transparent 2px 5px,
    var(--az-ink) 5px 6px,
    transparent 6px 11px,
    var(--az-ink) 11px 14px,
    transparent 14px 17px
  );
  opacity: 0.82;
}

/* 圆形复检合格章(青绿,非红) */
.az-stamp {
  width: 108px;
  height: 108px;
  flex: none;
  display: grid;
  place-items: center;
  text-align: center;
  border: 2px solid var(--az-pass);
  border-radius: 50%;
  color: var(--az-pass-text);
  box-shadow: inset 0 0 0 3px rgba(47, 158, 99, 0.16);
  transform: rotate(-9deg);
  font-weight: 800;
  line-height: 1.35;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  background: rgba(47, 158, 99, 0.05);
}
.az-stamp small {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--az-pass-text);
}

/* 病历卡:白底 + 浅青边 + 左侧 4px 青绿色条 */
.az-card {
  position: relative;
  background: var(--az-white);
  border: 1px solid var(--az-line);
  border-left: 4px solid var(--az-teal);
  border-radius: var(--az-radius);
  padding: 22px 24px;
  box-shadow: var(--az-shadow);
}

/* 心电图分隔线 */
.az-ecg { display: block; width: 100%; }
.az-ecg svg { display: block; width: 100%; height: auto; }
.az-ecg-line {
  fill: none;
  stroke: var(--az-teal);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.js .az-ecg-line { transition: stroke-dashoffset 2.8s cubic-bezier(0.4, 0, 0.2, 1); }
.az-ecg__labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--az-muted);
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------
   7. 首页首屏(初诊台)
-------------------------------------------------- */
.az-hero {
  background: var(--az-white);
  border-bottom: 1px solid var(--az-line-soft);
  padding: 40px 0 0;
}

.az-hero__intake {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 12px 18px;
  border: 1px solid var(--az-line);
  border-radius: var(--az-radius);
  background: var(--az-paper);
  font-size: 0.8rem;
  color: var(--az-muted);
  font-variant-numeric: tabular-nums;
}
.az-hero__intake b { color: var(--az-deep); margin-right: 4px; }
.az-hero__intake-fields { display: flex; flex-wrap: wrap; gap: 6px 20px; }

.az-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
  padding: 48px 0 34px;
}

.az-hero__tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--az-deep);
  border: 1px solid var(--az-teal);
  border-radius: 999px;
  padding: 5px 16px;
  margin-bottom: 18px;
  background: rgba(14, 138, 116, 0.06);
}

.az-hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  letter-spacing: 0.04em;
  margin-bottom: 0.4em;
}
.az-hero h1 em { font-style: normal; color: var(--az-teal); }

.az-hero__lead { font-size: 1.05rem; color: var(--az-muted); max-width: 34em; }

.az-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 34px; }

/* 生命体征行 */
.az-vitals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--az-line);
  border-radius: var(--az-radius);
  overflow: hidden;
  background: var(--az-white);
}
.az-vitals__item {
  padding: 14px 16px;
  border-left: 1px dashed var(--az-line);
}
.az-vitals__item:first-child { border-left: 0; }
.az-vitals__num {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--az-deep);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.az-vitals__num small { font-size: 0.72rem; font-weight: 600; color: var(--az-teal); margin-left: 2px; }
.az-vitals__label { font-size: 0.78rem; color: var(--az-muted); }

/* 透视片(X光片) */
.az-film {
  position: relative;
  background: var(--az-film);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 24px 48px rgba(8, 51, 45, 0.35);
}
.az-film svg { display: block; width: 100%; height: auto; border-radius: 8px; }
.az-film__caption {
  margin-top: 10px;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--az-film-line);
}

.az-hero__ecg { padding: 6px 0 18px; }

@media (max-width: 960px) {
  .az-hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .az-film { max-width: 460px; margin: 0 auto; }
  .az-vitals { grid-template-columns: repeat(2, 1fr); }
  .az-vitals__item:nth-child(3) { border-left: 0; }
  .az-vitals__item { border-top: 1px dashed var(--az-line); }
  .az-vitals__item:nth-child(-n+2) { border-top: 0; }
}

/* --------------------------------------------------
   8. 体检套餐(产品卡)
-------------------------------------------------- */
.az-packs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.az-pack {
  display: flex;
  flex-direction: column;
  background: var(--az-white);
  border: 1px solid var(--az-line);
  border-radius: var(--az-radius-lg);
  overflow: hidden;
  box-shadow: var(--az-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.az-pack:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(8, 94, 80, 0.14); }

.az-pack__head {
  padding: 20px 24px 16px;
  border-bottom: 1px dashed var(--az-line);
  border-left: 4px solid var(--az-teal);
}
.az-pack__code {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--az-teal);
  font-variant-numeric: tabular-nums;
}
.az-pack__head h3 { margin: 4px 0 2px; font-size: 1.3rem; }
.az-pack__grade { font-size: 0.8rem; color: var(--az-muted); }

.az-pack--hot .az-pack__head { background: var(--az-deep); border-left-color: var(--az-teal); }
.az-pack--hot .az-pack__head h3 { color: #ffffff; }
.az-pack--hot .az-pack__code { color: #a9dccf; }
.az-pack--hot .az-pack__grade { color: #cfe4de; }

.az-pack__flag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--az-deep);
  background: rgba(14, 138, 116, 0.12);
  border: 1px solid var(--az-teal);
  border-radius: 999px;
  padding: 2px 10px;
  margin-bottom: 8px;
}
.az-pack--hot .az-pack__flag { color: #ffffff; background: rgba(14, 138, 116, 0.38); }

.az-pack__body { padding: 18px 24px 22px; display: flex; flex-direction: column; flex: 1; }
.az-pack__desc { color: var(--az-muted); font-size: 0.92rem; }

.az-pack__list { list-style: none; margin: 0 0 18px; padding: 0; }
.az-pack__list li {
  position: relative;
  padding: 7px 0 7px 26px;
  border-bottom: 1px dashed var(--az-line-soft);
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}
.az-pack__list li:last-child { border-bottom: 0; }
.az-pack__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--az-teal);
  border-bottom: 2px solid var(--az-teal);
  transform: rotate(-48deg);
}
.az-pack__list b { color: var(--az-deep); font-weight: 700; }

.az-pack__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.az-pack__note { font-size: 0.75rem; color: var(--az-muted); }

@media (max-width: 960px) {
  .az-packs { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

/* --------------------------------------------------
   9. 诊疗方案(四步)
-------------------------------------------------- */
.az-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  counter-reset: az-step;
}

.az-step {
  position: relative;
  background: var(--az-white);
  border: 1px solid var(--az-line);
  border-radius: var(--az-radius);
  padding: 24px 22px 20px;
  box-shadow: var(--az-shadow);
}
.az-step::after {
  content: "";
  position: absolute;
  top: 42px;
  right: -22px;
  width: 22px;
  border-top: 2px dashed var(--az-line);
}
.az-step:last-child::after { display: none; }

.az-step__no {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 1.6rem;
  font-weight: 800;
  color: rgba(14, 138, 116, 0.22);
  font-variant-numeric: tabular-nums;
}

.az-step__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--az-teal);
  border-radius: 50%;
  color: var(--az-deep);
  background: rgba(14, 138, 116, 0.07);
  margin-bottom: 14px;
}
.az-step__icon svg { display: block; }

.az-step h3 { font-size: 1.05rem; margin-bottom: 0.35em; }
.az-step p { font-size: 0.88rem; color: var(--az-muted); margin: 0; }

@media (max-width: 960px) {
  .az-steps { grid-template-columns: repeat(2, 1fr); }
  .az-step:nth-child(2)::after { display: none; }
}
@media (max-width: 560px) {
  .az-steps { grid-template-columns: 1fr; }
  .az-step::after { display: none; }
}

/* --------------------------------------------------
   10. 检验报告表
-------------------------------------------------- */
.az-lab { position: relative; }
.az-lab__table-wrap { overflow-x: auto; padding: 6px 24px 8px; }

.az-lab table { min-width: 640px; font-size: 0.92rem; }
.az-lab th {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  border-bottom: 2px solid var(--az-teal);
  white-space: nowrap;
}
.az-lab td { border-left: 0; border-right: 0; }

.az-lab .az-row-group td {
  background: var(--az-paper);
  color: var(--az-deep);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
}

/* 指标红:仅超标值 */
.az-lab .is-high td:nth-child(2),
.az-lab .is-high td:nth-child(4) { color: var(--az-red); font-weight: 700; }
.az-lab .is-pass td:nth-child(2),
.az-lab .is-pass td:nth-child(4) { color: var(--az-pass-text); font-weight: 700; }

.az-lab__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 24px 22px;
  border-top: 1px dashed var(--az-line);
}
.az-lab__concl { font-size: 0.92rem; max-width: 42em; margin: 0; }
.az-lab__concl b { color: var(--az-pass-text); }
.az-lab__sign {
  font-size: 0.8rem;
  color: var(--az-muted);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-variant-numeric: tabular-nums;
}

.az-lab .az-stamp { position: absolute; right: 34px; bottom: 88px; z-index: 2; }

@media (max-width: 768px) {
  .az-lab .az-stamp { position: static; transform: rotate(-9deg) scale(0.9); margin: 0 24px 12px auto; }
}

/* --------------------------------------------------
   11. 康复档案(案例)
-------------------------------------------------- */
.az-cases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.az-case {
  background: var(--az-white);
  border: 1px solid var(--az-line);
  border-left: 4px solid var(--az-teal);
  border-radius: var(--az-radius);
  padding: 22px 24px;
  box-shadow: var(--az-shadow);
}
.az-case__no {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--az-muted);
  font-variant-numeric: tabular-nums;
}
.az-case h3 { font-size: 1.05rem; margin: 6px 0 4px; }
.az-case__model {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--az-deep);
  border: 1px solid var(--az-teal);
  border-radius: 999px;
  padding: 1px 10px;
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}

.az-case dl { margin: 0; }
.az-case dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--az-teal);
  margin-top: 10px;
}
.az-case dd {
  margin: 2px 0 0;
  font-size: 0.9rem;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--az-line-soft);
}
.az-case dd:last-child { border-bottom: 0; padding-bottom: 0; }
.az-case dd.is-ok { color: var(--az-pass-text); font-weight: 700; }
.az-case dd.is-ok::after {
  content: "达标";
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--az-pass-text);
  border: 1px solid var(--az-pass);
  border-radius: 3px;
  padding: 0 6px;
  margin-left: 8px;
  vertical-align: 1px;
}

@media (max-width: 960px) {
  .az-cases { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

/* --------------------------------------------------
   12. 材质处方笺(金浩丰)
-------------------------------------------------- */
.az-rx {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  background: var(--az-white);
  border: 1px solid var(--az-line);
  border-radius: var(--az-radius-lg);
  box-shadow: var(--az-shadow);
  padding: 30px 34px;
  position: relative;
  overflow: hidden;
}
.az-rx::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed var(--az-line);
  border-radius: var(--az-radius);
  pointer-events: none;
}
.az-rx__badge {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  background: var(--az-deep);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.3rem;
  border-radius: 10px;
  letter-spacing: 0.02em;
}
.az-rx__title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--az-teal);
  margin-bottom: 6px;
}
.az-rx__text { font-size: 1.02rem; margin: 0 0 10px; max-width: 46em; }
.az-rx__meta { font-size: 0.78rem; color: var(--az-muted); font-variant-numeric: tabular-nums; margin: 0; }

@media (max-width: 640px) {
  .az-rx { grid-template-columns: 1fr; }
}

/* --------------------------------------------------
   13. 门诊公告(新闻卡)
-------------------------------------------------- */
.az-notices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 960px) {
  .az-notices { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

.az-notice {
  display: flex;
  gap: 18px;
  background: var(--az-white);
  border: 1px solid var(--az-line);
  border-left: 4px solid var(--az-teal);
  border-radius: var(--az-radius);
  padding: 20px 22px;
  box-shadow: var(--az-shadow);
}
.az-notice__date {
  flex: none;
  text-align: center;
  border: 1px solid var(--az-line);
  border-radius: var(--az-radius);
  padding: 8px 12px;
  min-width: 62px;
  background: var(--az-paper);
  font-variant-numeric: tabular-nums;
  align-self: flex-start;
}
.az-notice__day { display: block; font-size: 1.3rem; font-weight: 800; color: var(--az-deep); line-height: 1.1; }
.az-notice__ym { display: block; font-size: 0.7rem; color: var(--az-muted); letter-spacing: 0.06em; }

.az-notice__body { min-width: 0; }
.az-notice h3 { font-size: 1.02rem; margin-bottom: 0.3em; }
.az-notice h3 a { text-decoration: none; }
.az-notice h3 a:hover { color: var(--az-teal); }
.az-notice p { font-size: 0.88rem; color: var(--az-muted); margin: 0 0 8px; }
.az-notice__meta { font-size: 0.75rem; color: var(--az-muted); letter-spacing: 0.06em; }
.az-notice.sticky { border-left-color: var(--az-teal); }
.az-notice.sticky h3::after {
  content: "置顶";
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--az-deep);
  border: 1px solid var(--az-teal);
  border-radius: 3px;
  padding: 0 6px;
  margin-left: 8px;
  vertical-align: 2px;
}

/* --------------------------------------------------
   14. 复诊预约单(CTA 双联单)
-------------------------------------------------- */
.az-appt {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  background: var(--az-white);
  border: 1px solid var(--az-line);
  border-radius: var(--az-radius-lg);
  box-shadow: var(--az-shadow);
  overflow: hidden;
  position: relative;
}

.az-appt__main { padding: 40px 44px; }
.az-appt__main h2 { margin-bottom: 0.4em; }
.az-appt__main > p { color: var(--az-muted); max-width: 36em; }

.az-appt__rows { list-style: none; margin: 22px 0 26px; padding: 0; }
.az-appt__rows li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px dashed var(--az-line-soft);
  font-variant-numeric: tabular-nums;
}
.az-appt__rows li:last-child { border-bottom: 0; }
.az-appt__rows b {
  flex: none;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--az-teal);
  font-weight: 700;
}
.az-appt__rows a { text-decoration: none; font-weight: 600; }
.az-appt__rows a:hover { text-decoration: underline; }

/* 撕裂线(骑缝打孔) */
.az-appt__stub {
  position: relative;
  padding: 40px 34px;
  background: var(--az-paper);
  border-left: 2px dashed var(--az-teal);
}
.az-appt__stub::before,
.az-appt__stub::after {
  content: "";
  position: absolute;
  left: -12px;
  width: 22px;
  height: 22px;
  background: var(--az-paper);
  border: 1px solid var(--az-line);
  border-radius: 50%;
}
.az-appt__stub::before { top: -12px; }
.az-appt__stub::after { bottom: -12px; }

.az-appt__stub-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--az-deep);
  margin-bottom: 14px;
}
.az-appt__stub-no { font-size: 0.78rem; color: var(--az-muted); font-variant-numeric: tabular-nums; margin-bottom: 18px; }

.az-appt__blank { list-style: none; margin: 0 0 18px; padding: 0; }
.az-appt__blank li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 0.85rem;
  color: var(--az-muted);
  padding: 10px 0;
}
.az-appt__blank span { flex: none; }
.az-appt__blank i {
  font-style: normal;
  flex: 1;
  border-bottom: 1px solid var(--az-line);
  min-height: 1em;
}
.az-appt__stub small { display: block; font-size: 0.72rem; color: var(--az-muted); line-height: 1.7; }

@media (max-width: 860px) {
  .az-appt { grid-template-columns: 1fr; }
  .az-appt__stub { border-left: 0; border-top: 2px dashed var(--az-teal); }
  .az-appt__stub::before,
  .az-appt__stub::after { left: auto; width: 22px; height: 22px; }
  .az-appt__stub::before { top: -12px; left: -12px; }
  .az-appt__stub::after { top: -12px; bottom: auto; right: -12px; left: auto; }
  .az-appt__main { padding: 32px 26px; }
}

/* --------------------------------------------------
   15. 页脚(住院部)
-------------------------------------------------- */
.az-footer {
  background: var(--az-deep);
  color: #e8f3ef;
  margin-top: 0;
}
.az-footer a { color: #ffffff; text-decoration: none; }
.az-footer a:hover { color: #b8e4d6; text-decoration: underline; }

.az-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 40px;
  padding: 56px 0 40px;
}

.az-footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.az-footer__brand .az-brand__mark { background: rgba(255, 255, 255, 0.12); }
.az-footer__brand b { font-size: 1.1rem; color: #ffffff; }

.az-footer p { font-size: 0.88rem; color: #cfe4de; }
.az-footer h4 {
  color: #ffffff;
  font-size: 0.85rem;
  letter-spacing: 0.26em;
  margin-bottom: 16px;
}

.az-footer__menu ul { list-style: none; margin: 0; padding: 0; }
.az-footer__menu li { padding: 5px 0; font-size: 0.9rem; }
.az-footer__menu a { color: #d9ece6; }

.az-footer__contact { list-style: none; margin: 0; padding: 0; font-size: 0.9rem; }
.az-footer__contact li {
  display: flex;
  gap: 10px;
  padding: 5px 0;
  color: #d9ece6;
  font-variant-numeric: tabular-nums;
}
.az-footer__contact b { color: #ffffff; font-weight: 700; flex: none; }

.az-footer__supply {
  border-top: 1px dashed rgba(255, 255, 255, 0.25);
  padding: 18px 0;
  font-size: 0.82rem;
  color: #cfe4de;
}
.az-footer__supply p { margin: 0; color: #cfe4de; }

.az-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding: 18px 0 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 0.78rem;
  color: #b9d6ce;
}
.az-footer__bottom p { margin: 0; color: #b9d6ce; font-size: 0.78rem; }

@media (max-width: 860px) {
  .az-footer__grid { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 26px; }
}

/* --------------------------------------------------
   16. 内页通用(病历页)
-------------------------------------------------- */
.az-page { padding: 48px 0 72px; }

.az-page-head { margin-bottom: 28px; }
.az-page-head .az-report-head { border: 1px solid var(--az-line); border-radius: var(--az-radius); background: var(--az-white); }
.az-page-head h1 { font-size: 1.9rem; margin: 20px 0 8px; }
.az-page-head__desc { color: var(--az-muted); max-width: 46em; }

.az-entry { padding: 34px 38px; }
.az-entry-content > :first-child { margin-top: 0; }
.az-entry-content > :last-child { margin-bottom: 0; }
.az-entry-content h2 { font-size: 1.35rem; padding-left: 14px; border-left: 4px solid var(--az-teal); }
.az-entry-content h3 { font-size: 1.1rem; }
.az-entry-content a { text-decoration: underline; }

.az-entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 0.82rem;
  color: var(--az-muted);
  padding-bottom: 18px;
  margin-bottom: 24px;
  border-bottom: 1px dashed var(--az-line);
  font-variant-numeric: tabular-nums;
}
.az-entry-meta b { color: var(--az-deep); font-weight: 700; margin-right: 4px; }

.az-tags { margin-top: 26px; font-size: 0.82rem; }
.az-tags a {
  display: inline-block;
  border: 1px solid var(--az-line);
  border-radius: 999px;
  padding: 2px 12px;
  margin: 0 6px 6px 0;
  text-decoration: none;
  color: var(--az-muted);
}
.az-tags a:hover { border-color: var(--az-teal); color: var(--az-deep); }

/* 列表布局(主栏 + 侧栏) */
.az-listing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}
@media (max-width: 960px) {
  .az-listing { grid-template-columns: 1fr; }
}
.az-listing__feed { display: grid; gap: 20px; }

/* 侧栏(值班台) */
.az-sidebar { display: grid; gap: 20px; }
.az-widget {
  background: var(--az-white);
  border: 1px solid var(--az-line);
  border-left: 4px solid var(--az-teal);
  border-radius: var(--az-radius);
  padding: 20px 22px;
  box-shadow: var(--az-shadow);
}
.az-widget .widget-title,
.az-widget h4 {
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  color: var(--az-deep);
  margin-bottom: 14px;
}
.az-widget ul { list-style: none; margin: 0; padding: 0; }
.az-widget li { padding: 7px 0; border-bottom: 1px dashed var(--az-line-soft); font-size: 0.9rem; }
.az-widget li:last-child { border-bottom: 0; }
.az-widget a { text-decoration: none; }
.az-widget a:hover { color: var(--az-teal); }
.az-widget__hours { font-variant-numeric: tabular-nums; }

/* 搜索表单(病历检索) */
.az-search-form { display: flex; gap: 10px; }
.az-search-form input[type="search"] {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  font: inherit;
  font-size: 0.92rem;
  color: var(--az-ink);
  background: var(--az-white);
  border: 1px solid var(--az-line);
  border-radius: var(--az-radius);
}
.az-search-form input[type="search"]:focus { border-color: var(--az-teal); outline: none; box-shadow: 0 0 0 3px rgba(14, 138, 116, 0.15); }
.az-search-form button {
  flex: none;
  padding: 11px 20px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--az-teal-fill);
  border: 0;
  border-radius: var(--az-radius);
  cursor: pointer;
}
.az-search-form button:hover { background: var(--az-deep); }

/* 分页 */
.az-pagination { margin-top: 36px; }
.az-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.az-pagination .page-numbers {
  display: inline-block;
  min-width: 40px;
  padding: 8px 12px;
  text-align: center;
  border: 1px solid var(--az-line);
  border-radius: var(--az-radius);
  background: var(--az-white);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  font-size: 0.9rem;
}
.az-pagination .page-numbers.current { background: var(--az-deep); border-color: var(--az-deep); color: #ffffff; }
.az-pagination a.page-numbers:hover { border-color: var(--az-teal); color: var(--az-deep); }

/* 上一篇/下一篇 */
.az-postnav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.az-postnav a {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--az-line);
  border-radius: var(--az-radius);
  background: var(--az-white);
  text-decoration: none;
  font-size: 0.9rem;
}
.az-postnav a:hover { border-color: var(--az-teal); }
.az-postnav span { display: block; font-size: 0.72rem; letter-spacing: 0.2em; color: var(--az-muted); margin-bottom: 4px; }
.az-postnav .az-postnav__next { text-align: right; }
@media (max-width: 640px) { .az-postnav { grid-template-columns: 1fr; } }

/* 空状态(未建档) */
.az-empty {
  text-align: center;
  padding: 56px 30px;
}
.az-empty__code {
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  color: var(--az-teal);
  font-weight: 700;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.az-empty h2 { margin-bottom: 0.4em; }
.az-empty p { color: var(--az-muted); max-width: 34em; margin-left: auto; margin-right: auto; }
.az-empty .az-search-form { max-width: 420px; margin: 24px auto; }
.az-empty__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }

/* --------------------------------------------------
   17. 产品单页(报告样张)
-------------------------------------------------- */
.az-product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  margin-bottom: 40px;
}
@media (max-width: 860px) { .az-product-hero { grid-template-columns: 1fr; } }

.az-product-hero__thumb img {
  width: 100%;
  border-radius: var(--az-radius-lg);
  border: 1px solid var(--az-line);
  display: block;
}

.az-cta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

/* --------------------------------------------------
   18. 评论区(留言登记)
-------------------------------------------------- */
.az-comments { margin-top: 36px; padding: 30px 34px; }
.az-comments > h2, .comment-reply-title { font-size: 1.15rem; }
.comment-list { list-style: none; margin: 0 0 24px; padding: 0; }
.comment-list .comment { padding: 16px 0; border-bottom: 1px dashed var(--az-line-soft); }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-author { font-weight: 700; color: var(--az-deep); }
.comment-metadata { font-size: 0.75rem; }
.comment-metadata a { color: var(--az-muted); text-decoration: none; }
.comment-form label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; color: var(--az-deep); }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 10px 12px;
  font: inherit;
  border: 1px solid var(--az-line);
  border-radius: var(--az-radius);
  margin-bottom: 14px;
  background: var(--az-white);
  color: var(--az-ink);
}
.comment-form textarea:focus,
.comment-form input:focus { border-color: var(--az-teal); outline: none; }
.comment-form .submit {
  padding: 11px 26px;
  font: inherit;
  font-weight: 700;
  color: #ffffff;
  background: var(--az-teal-fill);
  border: 0;
  border-radius: var(--az-radius);
  cursor: pointer;
}
.comment-form .submit:hover { background: var(--az-deep); }

/* --------------------------------------------------
   19. WordPress 核心样式钩子
-------------------------------------------------- */
.alignleft { float: left; margin: 0.4em 1.4em 1em 0; }
.alignright { float: right; margin: 0.4em 0 1em 1.4em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text {
  font-size: 0.8rem;
  color: var(--az-muted);
  text-align: center;
  padding: 6px 0;
}
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-item { margin: 0; }
.bypostauthor { display: block; }
.post-password-form input[type="password"] {
  padding: 10px 12px;
  border: 1px solid var(--az-line);
  border-radius: var(--az-radius);
}

/* --------------------------------------------------
   20. 入场动效(reveal)与降级
-------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .az-packs .reveal:nth-child(2),
.js .az-steps .reveal:nth-child(2),
.js .az-cases .reveal:nth-child(2),
.js .az-notices .reveal:nth-child(2) { transition-delay: 0.1s; }
.js .az-packs .reveal:nth-child(3),
.js .az-steps .reveal:nth-child(3),
.js .az-cases .reveal:nth-child(3),
.js .az-notices .reveal:nth-child(3) { transition-delay: 0.2s; }
.js .az-steps .reveal:nth-child(4) { transition-delay: 0.3s; }

.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .az-ecg-line { transition: none; }
  .az-btn, .az-pack { transition: none; }
  *, *::before, *::after { animation-duration: 0.001s !important; }
}

/* 打印:按报告单出纸 */
@media print {
  .az-header, .az-footer, .az-burger, .az-hero__cta, .az-appt { display: none; }
  body { background: #ffffff; }
  .az-sheet, .az-card { box-shadow: none; }
}
