/* 明德眼科 — 仿医院官网布局与动效 */
@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/noto-sans-sc-400.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/noto-sans-sc-600.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/noto-sans-sc-700.woff2") format("woff2");
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/sora-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/sora-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/sora-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --md-blue: #1677ff;
  --md-danger: #f53f3f;
  --md-green: #1677ff;
  --md-orange: #1677ff;
  --md-bg: #e6f4ff;
  --md-tint: #e6f4ff;
  --md-ink: #1f2937;
  --md-muted: rgba(31, 41, 55, .55);
  --md-line: rgba(22, 119, 255, .12);
  --md-head: 4.5rem;
  --md-gutter: clamp(16px, 2vw, 24px);
  --md-ease: .4s ease;
  --md-max: min(92vw, 1600px);
  --md-radius: 8px;
  --md-shadow: 0 2px 10px rgba(22, 119, 255, .08);
  --md-band: #e6f4ff;
  --md-page-hero-h: clamp(240px, min(28vw, 50vh), 540px);
}

html {
  overflow-x: hidden;
  max-width: 100%;
  scroll-padding-top: calc(var(--md-head) + 16px);
}
.md-body {
  margin: 0;
  padding: 0 !important;
  background: #fff;
  color: #334155;
  line-height: 1.5;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Heiti SC", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

.md-body a { text-decoration: none; color: inherit; }
.md-body a.md-btn--solid { color: var(--md-blue); }
.md-body a.md-btn--ghost { color: var(--md-blue); }
.md-hero a.md-btn--solid { color: var(--md-blue) !important; }
.md-hero--photo .md-hero__copy { display: none; }
.md-hero--photo .md-hero__slide::after { display: none; }
.md-body img { max-width: 100%; display: block; }
.md-wh {
  width: min(100% - 2 * var(--md-gutter), var(--md-max));
  margin-inline: auto;
}

/* —— Header —— */
.md-head { position: relative; z-index: 200; }
.md-head__bar {
  background: var(--md-blue);
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  line-height: 2.5rem;
}
.md-head__bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.md-head__bar a { color: #fff; opacity: .92; transition: opacity var(--md-ease); }
.md-head__bar a:hover { opacity: 1; }
.md-head__hours {
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  white-space: nowrap;
}
.md-head__cta { display: flex; gap: .65rem; align-items: center; }
.md-head__btn {
  display: inline-flex;
  align-items: center;
  padding: .15rem .85rem;
  border-radius: 999px;
  line-height: 1.7;
  font-size: .8125rem;
  color: #fff !important;
  opacity: 1 !important;
  border: 1px solid rgba(255,255,255,.45);
}
.md-head__btn--ghost { background: transparent; }
.md-head__btn--solid {
  background: var(--md-green);
  border-color: var(--md-green);
  color: #fff !important;
}
.md-head__btn:hover { background: #fff; color: var(--md-blue) !important; }
.md-head__btn--solid:hover { color: var(--md-green) !important; }
.md-head__main {
  position: relative;
  background: #fff;
  min-height: var(--md-head);
  display: flex;
  align-items: center;
  box-shadow: 0 1px 0 var(--md-line);
  transition: box-shadow var(--md-ease);
}
.md-head__main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.md-head__tools {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex: 0 0 auto;
  min-width: 0;
}
.md-hotline {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-width: 0;
  color: var(--md-ink);
}
.md-hotline__ico {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--md-blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 1rem;
}
.md-hotline__txt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.3;
  min-width: 0;
}
.md-hotline__label {
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--md-ink);
  white-space: nowrap;
}
.md-hotline__num,
a.md-hotline__num {
  color: inherit;
  text-decoration: none;
}
.md-hotline__num {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--md-blue);
  letter-spacing: .02em;
  white-space: nowrap;
}
.md-hotline__num:empty { display: none; }
.md-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
}
.md-logo img {
  display: block;
  height: clamp(32px, 6.4vw, 46px);
  width: auto;
  max-width: min(240px, calc(100vw - 5.5rem));
  object-fit: contain;
}
.md-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  gap: .25rem;
  min-width: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.md-nav > li { position: relative; }
.md-nav > li > a,
.md-nav > li > span {
  display: block;
  padding: 1.35rem .55rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--md-ink);
  white-space: nowrap;
  transition: color .25s ease;
}
.md-nav > li > span { cursor: default; }
.md-nav > li > a:hover,
.md-nav > li.is-active > a,
.md-nav > li > a.is-active,
.md-nav > li.has-sub:hover > a { color: var(--md-blue); }
.md-nav > li.is-active > a,
.md-nav > li > a.is-active,
.md-nav > li.has-sub:hover > a {
  box-shadow: inset 0 -2px 0 var(--md-blue);
}
.md-nav > li.has-sub > a::after {
  content: "";
  display: inline-block;
  width: .34em;
  height: .34em;
  margin-left: .4em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .25s ease;
}
.md-nav > li.has-sub:hover > a::after {
  transform: rotate(225deg) translateY(-1px);
}
.md-head,
.md-head__main { overflow: visible; }
.md-nav > li.md-mega { position: static; }
.md-nav .md-sub {
  position: absolute;
  left: 0; top: calc(100% - 2px);
  min-width: 15rem;
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: none;
  transition: opacity .22s ease, visibility .22s;
  list-style: none;
  margin: 0;
  padding: .5rem 0;
  z-index: 40;
}
.md-nav > li:hover > .md-sub,
.md-nav > li:focus-within > .md-sub,
.md-nav > li.is-open > .md-sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.md-nav > li.md-mega > .md-sub {
  left: 0;
  right: 0;
  top: 100%;
  width: 100%;
  max-width: none;
  min-width: 0;
  box-sizing: border-box;
  padding: 24px max(var(--md-gutter), calc((100% - var(--md-max)) / 2));
  border-radius: 0;
  border-top: 1px solid rgba(15, 23, 42, .08);
  box-shadow: none;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(24px, 4vw, 56px);
  z-index: 220;
  transform: none;
}
.md-nav > li.md-mega:hover > .md-sub,
.md-nav > li.md-mega:focus-within > .md-sub,
.md-nav > li.md-mega.is-open > .md-sub {
  transform: none;
}
.md-mega-visual {
  flex: 0 0 32%;
  max-width: 340px;
  aspect-ratio: 460 / 284;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  border-radius: 8px;
  background-color: #e6f4ff;
  background-image: url("/upload/portal/20260908/mingde/env-nurse.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.md-mega--about .md-mega-visual {
  background-image: url("/upload/portal/20260908/mingde/hero-building.jpg");
  background-position: center 42%;
}
.md-mega--svc .md-mega-visual {
  background-image: url("/upload/portal/20260908/mingde/env-lobby.jpg");
  background-position: center 40%;
}
.md-mega-visual span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: .28rem .7rem;
  background: rgba(255, 255, 255, .9);
  color: #1677ff;
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.4;
}
.md-mega-links {
  flex: 1 1 auto;
  max-width: 36rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.md-mega-links > ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
}
.md-mega-links > ul > li {
  width: 48%;
  border-bottom: 1px solid rgba(15, 23, 42, .08);
}
.md-nav .md-sub a {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .55rem 1.1rem;
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--md-ink);
  line-height: 1.5;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.md-nav .md-sub a::before {
  content: "";
  width: .38rem;
  height: .38rem;
  flex: 0 0 auto;
  border-top: 1.5px solid #c0c4cc;
  border-right: 1.5px solid #c0c4cc;
  transform: rotate(45deg);
  opacity: 1;
  transition: transform .2s ease, border-color .2s ease;
}
.md-nav .md-sub a:hover {
  color: var(--md-blue);
  background: var(--md-bg);
}
.md-nav .md-sub a:hover::before {
  border-color: var(--md-blue);
  transform: rotate(45deg) translate(3px, -3px);
}
.md-nav > li.md-mega .md-mega-links a {
  min-height: 44px;
  padding: 10px 8px 10px 4px;
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .01em;
  background: transparent;
}
.md-nav > li.md-mega .md-mega-links a:hover {
  color: #1677ff;
  background: #e6f4ff;
}

.md-head.is-sticky .md-head__main {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 210;
  animation: md-sticky-in .55s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}
.md-head.is-sticky::after {
  content: "";
  display: block;
  height: var(--md-head);
}
@keyframes md-sticky-in {
  from { transform: translateY(-100%); }
  to { transform: none; }
}

.md-m-toggle {
  display: none;
  width: 2.5rem; height: 2.5rem;
  border: 0; background: transparent;
  flex-direction: column; justify-content: center; gap: 5px;
  cursor: pointer;
}
.md-m-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--md-ink); transition: var(--md-ease);
}
.md-m-menu {
  display: none;
  background: #fff;
  border-top: 1px solid var(--md-line);
  padding: .75rem var(--md-gutter) 1.25rem;
}
.md-m-acc { border-bottom: 1px solid var(--md-line); }
.md-m-acc__row {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.md-m-acc__row > a {
  flex: 1;
  border-bottom: 0;
}
.md-m-acc__btn {
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  color: var(--md-blue);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.md-m-acc__sub { display: none; padding: 0 0 .4rem .8rem; }
.md-m-acc.is-open .md-m-acc__sub { display: block; }
.md-m-acc.is-open .md-m-acc__btn { transform: rotate(45deg); }
.md-m-acc__sub a { font-size: .9rem; color: #475569; }
.md-m-menu a,
.md-m-menu > span {
  display: block;
  padding: .7rem 0;
  border-bottom: 1px solid var(--md-line);
  color: var(--md-ink);
  font-size: .95rem;
  font-weight: 600;
}
.md-m-menu > span { cursor: default; }

@media (max-width: 1360px) {
  .md-logo img { max-width: 200px; height: 40px; }
  .md-nav > li > a,
  .md-nav > li > span {
    padding: 1.2rem .4rem;
    font-size: .9375rem;
    font-weight: 600;
  }
  .md-head__main-inner { gap: 1.1rem; }
  .md-hotline { gap: .4rem; }
  .md-hotline__ico { width: 2rem; height: 2rem; font-size: .9rem; }
  .md-hotline__label { font-size: .875rem; font-weight: 600; }
}
@media (max-width: 1199px) {
  .md-logo img { max-width: 168px; height: 34px; }
  .md-nav { gap: 0; }
  .md-nav > li > a,
  .md-nav > li > span {
    padding: 1.05rem .28rem;
    font-size: .75rem;
  }
  .md-head__main-inner { gap: .75rem; }
  .md-mega-visual {
    flex-basis: 26%;
    max-width: 260px;
  }
  .md-nav > li.md-mega .md-mega-links a {
    min-height: 42px;
    font-size: .875rem;
    font-weight: 600;
  }
}
@media (min-width: 990px) {
  .md-m-toggle { display: none !important; }
  .md-m-menu,
  .md-m-menu.is-open { display: none !important; }
}
@media (max-width: 989px) {
  .md-pc-only { display: none !important; }
  .md-m-toggle { display: flex; }
  .md-m-menu.is-open { display: block; }
  .md-head__bar { font-size: .8rem; line-height: 2rem; }
  .md-head__main { min-height: 3.75rem; }
  .md-logo img { max-width: min(200px, calc(100vw - 7.5rem)); height: 36px; }
  .md-head__tools { gap: .35rem; }
  .md-hotline__txt { display: none; }
  .md-hotline__ico { width: 2rem; height: 2rem; }
}

/* —— Hero —— */
.md-hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  background: #0c4a6e;
  height: min(64vh, 600px);
  min-height: 320px;
}
.md-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: #0c4a6e;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.md-hero__media--building {
  background-position: center 92%;
}
.md-hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 74%, rgba(15, 23, 42, .2) 100%);
}
.md-hero .swiper,
.md-hero .swiper-wrapper,
.md-hero .swiper-slide {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.md-hero__slide {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
}
.md-hero__copy {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 44rem;
  padding: 0 0 3.25rem;
  border-radius: 0;
  background: none;
}
.md-hero__brand,
.md-hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 .65rem;
  letter-spacing: -.02em;
  color: #fff !important;
  text-shadow: 0 2px 10px rgba(15, 23, 42, .55);
}
.md-hero__lead {
  font-size: clamp(.95rem, 1.7vw, 1.08rem);
  opacity: .95;
  margin: 0 0 1.25rem;
  line-height: 1.5;
  max-width: 34rem;
  color: #fff !important;
  text-shadow: 0 1px 8px rgba(15, 23, 42, .5);
}
.md-hero .swiper-pagination-bullet {
  width: .65rem; height: .65rem;
  background: #fff; opacity: .45;
}
.md-hero .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--md-orange);
}

.md-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .85rem 1.75rem;
  border-radius: .5rem;
  border: 1px solid currentColor;
  font-weight: 600;
  font-size: .95rem;
  transition: background var(--md-ease), color var(--md-ease), border-color var(--md-ease), transform var(--md-ease);
}
.md-btn:hover { transform: translateY(-1px); }
.md-hero .md-btn--solid {
  min-width: 10.5rem;
  box-shadow: 0 10px 28px rgba(7, 47, 82, .22);
}
.md-hero .swiper-button-prev,
.md-hero .swiper-button-next {
  color: #fff;
  width: 2.5rem;
  height: 2.5rem;
  margin-top: 0;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.16);
  border-radius: 50%;
}
.md-hero .swiper-button-prev:after,
.md-hero .swiper-button-next:after { font-size: 1rem; }
.md-hero .swiper-button-prev { left: clamp(.75rem, 2vw, 1.5rem); }
.md-hero .swiper-button-next { right: clamp(.75rem, 2vw, 1.5rem); }
.md-hero.is-single .swiper-pagination,
.md-hero.is-single .swiper-button-prev,
.md-hero.is-single .swiper-button-next { display: none; }
@media (max-width: 1199px) {
  .md-hero { height: min(56vh, 500px); }
}
@media (max-width: 989px) {
  .md-hero { height: min(50vh, 400px); min-height: 260px; }
}
@media (max-width: 767px) {
  .md-hero { height: min(44vh, 340px); min-height: 240px; }
  .md-hero__copy { padding-bottom: 1.5rem; }
  .md-hero__brand,
  .md-hero h1 { font-size: clamp(1.5rem, 7vw, 2rem); }
  .md-hero__lead { font-size: .95rem; margin-bottom: .85rem; }
}
.md-btn--solid {
  background: #fff;
  color: var(--md-blue);
  border-color: #fff;
}
.md-btn--solid:hover { background: var(--md-blue); color: #fff; border-color: var(--md-blue); }
.md-btn--ghost {
  background: transparent;
  color: var(--md-blue);
  border-color: var(--md-blue);
}
.md-btn--ghost:hover { background: var(--md-blue); color: #fff; }
.md-btn--light {
  color: #fff;
  border-color: rgba(255,255,255,.85);
  background: transparent;
}
.md-btn--light:hover { background: #fff; color: var(--md-blue); }

/* —— Sections —— */
.md-sec { padding: 16px 0; position: relative; }
#md-services,
#md-tech,
#md-doctors,
#md-why,
#md-honors,
#md-env,
#md-news,
#md-faq,
#md-welfare,
#md-contact {
  scroll-margin-top: calc(var(--md-head) + 16px);
}
.md-sec--svc,
.md-sec--docs,
.md-sec--news,
.md-sec--faq,
.md-sec--welfare,
#md-honors,
#md-env,
#md-why,
#md-about-honors,
#md-about-env,
.md-sec--about-cards { background: var(--md-band); }

.md-sec--atmos::before,
.md-sec--atmos::after { display: none; }
.md-title { text-align: center; margin-bottom: 16px; }
.md-title--left { text-align: left; }
.md-title h1,
.md-title h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--md-ink);
  letter-spacing: -.01em;
}
.md-entit {
  margin-top: .35rem;
  color: var(--md-blue);
  font-family: "Sora", "Noto Sans SC", sans-serif;
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: .72;
}
.md-sub {
  margin: .4rem auto 0;
  max-width: 36rem;
  color: var(--md-muted);
  font-size: .95rem;
  line-height: 1.5;
}
.md-title--left .md-sub { margin-left: 0; }

/* reveal */
.md-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s ease, transform .75s ease;
}
.md-hero .md-reveal,
.md-title.md-reveal {
  opacity: 1;
  transform: none;
}
.md-reveal.is-in { opacity: 1; transform: none; }
.md-reveal-d1 { transition-delay: .1s; }
.md-reveal-d2 { transition-delay: .2s; }
.md-reveal-d3 { transition-delay: .3s; }
.md-reveal-d4 { transition-delay: .4s; }

.md-fang { overflow: hidden; }
.md-fang img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.md-fang:hover img { transform: none; }

/* Services */
.md-svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.md-svc-card {
  background: #fff;
  border-radius: var(--md-radius);
  box-shadow: var(--md-shadow);
  overflow: hidden;
}
.md-svc-card a {
  display: block;
  text-align: left;
  padding: 20px;
  color: inherit;
}
.md-svc-card__photo {
  margin: -20px -20px 14px;
  height: 132px;
  background: var(--md-tint);
}
.md-svc-card:has(.md-svc-card__photo) .md-svc-ico { display: none; }
.md-svc-ico {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0 0 .7rem;
  color: var(--md-blue);
}
.md-svc-ico svg { width: 100%; height: 100%; display: block; }
.md-svc-card h3 {
  margin: 0 0 .35rem;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--md-ink);
  transition: color var(--md-ease);
}
.md-svc-card p {
  margin: 0;
  font-size: .88rem;
  color: var(--md-muted);
  line-height: 1.5;
}
.md-svc-card a:hover h3,
.md-svc-card a:hover .md-svc-ico { color: var(--md-blue); }
@media (max-width: 1360px) {
  .md-svc-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 767px) {
  .md-svc-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* Tech — one scene, translucent cards overlap the lower edge */
.md-sec--tech {
  padding: 24px 0 40px;
  background: #fff;
}
.md-tech-wall {
  position: relative;
  width: min(100% - 2 * var(--md-gutter), var(--md-max));
  margin-inline: auto;
  overflow-x: clip;
  overflow-y: visible;
  border-radius: var(--md-radius);
  padding-bottom: 80px;
}
.md-tech-banner {
  position: relative;
  height: 580px;
  overflow: hidden;
  border-radius: var(--md-radius);
  background-color: #d7e9ff;
  background-image: var(--md-tech-photo, linear-gradient(135deg, #e6f4ff, #1677ff));
  background-size: cover;
  background-position: center 36%;
  background-repeat: no-repeat;
  color: #fff;
  display: flex;
  align-items: flex-start;
}
.md-tech-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, .22) 0%, rgba(15, 23, 42, .04) 38%, rgba(15, 23, 42, 0) 62%),
    linear-gradient(90deg, rgba(15, 23, 42, .18) 0%, rgba(15, 23, 42, 0) 42%);
}
.md-tech-banner__fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .12;
}
.md-tech-banner__copy {
  position: relative;
  z-index: 1;
  padding: 36px 40px 0;
  max-width: 36rem;
}
.md-tech-banner h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.5;
  text-shadow: 0 1px 10px rgba(15, 23, 42, .35);
}
.md-tech-banner .md-entit {
  color: rgba(255, 255, 255, .92);
  letter-spacing: .2em;
  text-shadow: 0 1px 8px rgba(15, 23, 42, .28);
}
.md-tech-banner .md-sub {
  color: rgba(255, 255, 255, .9);
  text-shadow: 0 1px 8px rgba(15, 23, 42, .28);
}
.md-tech-cards {
  list-style: none;
  position: relative;
  z-index: 2;
  margin: -260px 20px 0;
  padding: 0 0 8px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: transparent;
}
.md-tech-card {
  position: relative;
  min-height: 200px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: var(--md-radius);
  background-color: rgba(230, 244, 255, .34);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .28) 0%, rgba(230, 244, 255, .42) 100%);
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .12);
  overflow: hidden;
  backdrop-filter: blur(6px);
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.md-tech-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--md-tech-card);
  background-size: cover;
  background-position: center;
  opacity: .16;
  pointer-events: none;
}
.md-tech-card a {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: 200px;
  padding: 22px 20px;
  color: var(--md-ink);
  background: transparent;
}
.md-tech-card:hover {
  transform: translateY(-4px);
  background-color: rgba(230, 244, 255, .78);
  box-shadow: 0 14px 32px rgba(15, 23, 42, .16);
  z-index: 1;
}
.md-tech-card:hover a { background: transparent; }
.md-tech-card h3 {
  margin: 0 0 .4rem;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--md-ink);
}
.md-tech-card p {
  margin: 0;
  font-size: .88rem;
  color: rgba(31, 41, 55, .72);
  line-height: 1.5;
}
@media (max-width: 1360px) {
  .md-tech-banner { height: 440px; }
  .md-tech-cards {
    margin: 16px 0 0;
    grid-template-columns: 1fr 1fr;
  }
  .md-tech-card,
  .md-tech-card a { min-height: 168px; }
}
@media (max-width: 989px) {
  .md-tech-banner { height: 280px; }
  .md-tech-banner__copy { padding: 24px 20px 0; }
  .md-tech-cards { margin: 12px 0 0; }
}
@media (max-width: 767px) {
  .md-tech-banner { height: 220px; }
  .md-tech-cards {
    margin-top: 12px;
    grid-template-columns: 1fr;
  }
}

/* Doctors — left copy + right swiper */
.md-sec--news,
.md-sec--faq,
.md-sec--docs { background: var(--md-band); }
.md-docs-layout {
  display: flex;
  align-items: center;
  gap: 24px;
}
.md-docs-copy {
  flex: 0 0 min(26%, 280px);
  max-width: 280px;
}
.md-docs-copy .md-title { margin-bottom: 16px; }
.md-docs-copy .md-sub {
  margin: .5rem 0 0;
  max-width: none;
  text-align: left;
  line-height: 1.5;
}
.md-docs-copy .md-btn { margin-top: 4px; }
.md-doc-nav {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.md-doc-nav__btn {
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(22, 119, 255, .22);
  background: #fff;
  color: var(--md-blue);
  box-shadow: var(--md-shadow);
  cursor: pointer;
  position: relative;
}
.md-doc-nav__btn:hover { background: var(--md-blue); color: #fff; }
.md-doc-nav__btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: .45rem;
  height: .45rem;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
}
.md-doc-nav__prev::before { transform: translate(-30%, -50%) rotate(-45deg); }
.md-doc-nav__next::before { transform: translate(-70%, -50%) rotate(135deg); }
.md-doc-nav__btn.swiper-button-disabled { opacity: .35; cursor: default; }
#md-doctors,
#md-doctors .md-split,
#md-doctors .md-split__main {
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}
#md-doctors .md-doc-swiper,
.md-docs-layout .md-doc-swiper {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 0 0 4px;
}
#md-doctors .md-doc-swiper .swiper-wrapper {
  transition-timing-function: cubic-bezier(.22, .82, .22, 1) !important;
}
.md-doc-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.md-doc-grid--page { margin-top: 1.25rem; }
.md-page-hero {
  position: relative;
  width: 100%;
  height: var(--md-page-hero-h);
  overflow: hidden;
}
.md-page-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.md-doc-hero {
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
  background-color: #0c4a6e;
  display: flex;
  align-items: flex-end;
  color: #fff;
}
.md-doc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 20, 39, .15), rgba(6, 20, 39, .72));
}
.md-doc-hero .md-wh {
  position: relative;
  z-index: 1;
  padding: 24px 0;
}
.md-doc-hero h1 {
  margin: 0;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.5;
  color: #fff;
}
.md-doc-hero .md-entit { color: rgba(230, 244, 255, .85); }
.md-list--docs { background: #f7fafc; }
.md-list--docs .md-crumb { padding-top: 16px; }
.md-doc-cats {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.md-doc-cat {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--md-line);
  border-radius: var(--md-radius);
  overflow: hidden;
  text-align: center;
  color: var(--md-ink);
  box-shadow: var(--md-shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.md-doc-cat:hover { transform: translateY(-2px); }
.md-doc-cat__img {
  display: block;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: var(--md-tint);
}
.md-doc-cat__name {
  display: block;
  padding: 10px 8px;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.5;
}
.md-doc-cat.is-current {
  background: var(--md-blue);
  border-color: var(--md-blue);
  color: #fff;
}
.md-doc-card__skill {
  margin: .5rem 0 0;
  font-size: .88rem;
  line-height: 1.5;
  color: #475569;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#md-doctors .md-doc-card .md-role {
  -webkit-line-clamp: 2;
}
#md-doctors .md-doc-card__skill {
  -webkit-line-clamp: 3;
}
.md-doc-empty {
  margin: 24px 0;
  padding: 20px;
  text-align: center;
  color: var(--md-muted);
  background: #fff;
  border-radius: var(--md-radius);
  line-height: 1.5;
}
@media (max-width: 1199px) {
  .md-doc-cats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 989px) {
  .md-doc-cats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 767px) {
  .md-doc-cats { grid-template-columns: 1fr; }
}
.md-sec-more {
  margin: 16px 0 0;
  text-align: center;
}
.md-doc-card {
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--md-radius);
  overflow: hidden;
  box-shadow: var(--md-shadow);
  color: inherit;
  transition: transform .25s ease, box-shadow .25s ease;
}
.md-doc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(22, 119, 255, .12);
}
#md-doctors .md-doc-card { padding: 20px; }
.md-doc-card__photo {
  aspect-ratio: 3/4;
  background: rgb(241, 245, 248);
  overflow: hidden;
  border-radius: 4px;
}
.md-doc-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}
.md-doc-card .md-doc-card__photo.md-fang:hover img {
  transform: none;
}
.md-doc-card__body { padding: 12px 0 0; }
.md-doc-grid .md-doc-card__body { padding: 1rem 1rem 1.15rem; }
.md-doc-card h2,
.md-doc-card h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--md-ink);
}
.md-doc-card__who {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .2rem .65rem;
}
.md-doc-card .md-role {
  font-size: .88rem;
  color: var(--md-blue);
  margin: 0;
  font-weight: 600;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.md-doc-swiper .swiper-slide { height: auto; }
.md-honor-swiper .swiper-button-prev,
.md-honor-swiper .swiper-button-next {
  color: var(--md-blue);
  width: 2.25rem;
  height: 2.25rem;
  margin-top: 0;
  top: 42%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid rgba(22, 119, 255, .22);
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .06);
}
.md-honor-swiper .swiper-button-prev:after,
.md-honor-swiper .swiper-button-next:after { font-size: .85rem; }
.md-honor-swiper .swiper-button-prev { left: 0; }
.md-honor-swiper .swiper-button-next { right: 0; }
.md-honor-swiper .swiper-pagination { bottom: 0; }
.md-honor-swiper .swiper-pagination-bullet {
  background: var(--md-blue);
  opacity: .28;
}
.md-honor-swiper .swiper-pagination-bullet-active { opacity: 1; }
@media (max-width: 1199px) {
  .md-doc-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 989px) {
  .md-docs-layout { flex-direction: column; align-items: stretch; gap: 16px; min-width: 0; }
  .md-docs-copy { flex: none; max-width: none; width: 100%; }
  .md-docs-layout .md-doc-swiper {
    flex: none;
    width: 100%;
    max-width: 100%;
  }
  .md-doc-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .md-honor-swiper { padding-left: 2rem; padding-right: 2rem; }
}
@media (max-width: 767px) {
  .md-doc-grid { grid-template-columns: 1fr; gap: 16px; }
}

.md-split {
  display: flex;
  gap: 20px;
  align-items: stretch;
  justify-content: space-between;
  min-width: 0;
}
.md-split__side { flex: 0 0 min(26%, 280px); }
.md-split__main { flex: 1; min-width: 0; }
@media (max-width: 989px) {
  .md-split { flex-direction: column; }
  .md-split__side { flex: none; width: 100%; }
}

/* Why */
.md-why-media {
  position: relative;
  min-height: 16rem;
  background-color: #0c4a6e;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 48%;
  overflow: hidden;
}
.md-why-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(22, 119, 255, .16), rgba(9, 88, 217, .32));
}
.md-why-stamp {
  position: absolute;
  z-index: 1;
  left: 8%;
  bottom: 12%;
  color: rgba(255,255,255,.88);
  font-weight: 700;
  line-height: 1.05;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.md-why-copy p { line-height: 1.5; color: #475569; margin: .75rem 0 1rem; }

.md-honor-wall { margin: 0; }
.md-honor-wall__full {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.md-honor-marquee {
  --md-honor-card-w: clamp(168px, 18vw, 220px);
  --md-honor-gap: 16px;
  --md-honor-duration: 48s;
  overflow: hidden;
  max-height: none;
}
.md-honor-marquee__viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent);
}
.md-honor-marquee__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  width: max-content;
  animation: md-honor-scroll var(--md-honor-duration) linear infinite;
  will-change: transform;
}
.md-honor-marquee:hover .md-honor-marquee__track {
  animation-play-state: paused;
}
@keyframes md-honor-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .md-honor-marquee__track { animation: none; }
  .md-honor-marquee__viewport { mask-image: none; overflow-x: auto; }
}
.md-honor-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: var(--md-honor-gap);
  padding-right: var(--md-honor-gap);
}
.md-honor-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 var(--md-honor-card-w, 200px);
  width: var(--md-honor-card-w, 200px);
  height: auto;
  min-height: 0;
  padding: 8px 8px 12px;
  border-radius: var(--md-radius);
  background: #fff;
  box-shadow: var(--md-shadow);
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}
.md-honor-card .md-honor-badge { display: none; }
.md-honor-card h3 {
  margin: 8px 0 0;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  color: var(--md-ink);
}
.md-honor-card::after {
  content: "";
  display: block;
  order: -1;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  background-color: var(--md-tint);
  background-image: url("/upload/portal/20260908/mingde/honor-grid.jpg");
  background-repeat: no-repeat;
  background-size: 400% 500%;
  background-position: calc(var(--hc) * 33.333%) calc(var(--hr) * 25%);
}
.md-honor-card:nth-child(1) { --hc: 1; --hr: 2; }
.md-honor-card:nth-child(2) { --hc: 1; --hr: 1; }
.md-honor-card:nth-child(3) { --hc: 0; --hr: 1; }
.md-honor-card:nth-child(4) { --hc: 2; --hr: 0; }
.md-honor-card:nth-child(5) { --hc: 3; --hr: 1; }
.md-honor-card:nth-child(6) { --hc: 1; --hr: 4; }
.md-honor-card--photo::after {
  background-image: var(--md-honor-photo);
  background-size: cover;
  background-position: center;
}
@media (max-width: 767px) {
  .md-honor-marquee { --md-honor-card-w: 168px; --md-honor-gap: 12px; }
  .md-honor-marquee__viewport { mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent); }
}

#md-honors {
  padding-bottom: 32px;
  z-index: 1;
}
#md-honors + .md-sec--stats {
  margin-top: 24px;
  z-index: 0;
}

/* Stats */
.md-sec--stats {
  position: relative;
  z-index: 0;
  background: var(--md-blue);
  color: #fff;
  padding: 28px 0;
  margin-top: 0;
}
.md-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}
.md-stats .md-counter {
  display: block;
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 700;
  line-height: 1.1;
}
.md-stats p { margin: .45rem 0 0; opacity: .88; font-size: .92rem; }
@media (max-width: 989px) {
  .md-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 479px) {
  .md-stats { grid-template-columns: 1fr; }
}

/* Environment — multi-card swiper */
#md-env,
#md-about-env {
  overflow-x: hidden;
}
.md-env-stage {
  position: relative;
  min-width: 0;
  padding: 0 2.4rem;
}
.md-env-swiper {
  overflow: hidden;
  padding: 0 0 4px;
}
.md-env-swiper .swiper-wrapper {
  transition-timing-function: cubic-bezier(.22, .82, .22, 1) !important;
}
.md-env-swiper .swiper-slide {
  height: auto;
}
.md-env-item {
  position: relative;
  overflow: hidden;
  margin: 0;
  min-height: 11.5rem;
  aspect-ratio: 16 / 10;
  border-radius: .5rem;
  background-color: #e0f2fe;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 70%;
}
.md-env-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: .75rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
  color: #fff;
  font-size: .9rem;
  font-weight: 500;
}
.md-env-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid rgba(22, 119, 255, .22);
  border-radius: 50%;
  background: #fff;
  color: var(--md-blue);
  box-shadow: var(--md-shadow);
  cursor: pointer;
  transform: translateY(-50%);
}
.md-env-nav::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: .45rem;
  height: .45rem;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
}
.md-env-nav--prev { left: 0; }
.md-env-nav--next { right: 0; }
.md-env-nav--prev::before { transform: translate(-30%, -50%) rotate(-45deg); }
.md-env-nav--next::before { transform: translate(-70%, -50%) rotate(135deg); }
.md-env-nav:hover { background: var(--md-blue); color: #fff; }
.md-env-nav.swiper-button-disabled { opacity: .35; cursor: default; }
.md-env-nav.swiper-button-lock { display: none; }
@media (max-width: 989px) {
  .md-env-stage { padding: 0 2rem; }
  .md-env-item { min-height: 10rem; }
}

/* News */
.md-news {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 16px;
}
.md-news-col {
  background: #fff;
  padding: 20px;
  min-height: 100%;
  border-radius: var(--md-radius);
  box-shadow: var(--md-shadow);
}
.md-news-col h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  color: var(--md-ink);
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--md-blue);
}
.md-news-col .md-entit { font-size: .75rem; margin: -.5rem 0 .85rem; }
.md-news-list { list-style: none; margin: 0; padding: 0; }
.md-news-list li { border-bottom: 1px solid var(--md-line); }
.md-news-list a {
  display: block;
  padding: .7rem 0;
  font-size: .92rem;
  color: #334155;
  line-height: 1.5;
  transition: color var(--md-ease);
}
.md-news-list a:hover { color: var(--md-blue); }
.md-news-feature {
  display: block;
  color: inherit;
}
.md-news-feature__img {
  aspect-ratio: 16/10;
  background: var(--md-tint);
  margin-bottom: .75rem;
}
.md-news-feature h4 {
  margin: 0 0 .5rem;
  font-size: 1.05rem;
  color: var(--md-ink);
  line-height: 1.5;
}
.md-news-feature p {
  margin: 0;
  font-size: .88rem;
  color: var(--md-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.md-news-feature time { display: block; margin-top: .75rem; font-size: .8rem; color: var(--md-blue); }
@media (max-width: 1360px) {
  .md-news { grid-template-columns: 1fr; }
}

/* FAQ */
.md-faq__list { list-style: none; margin: 0; padding: 0; }
.md-faq__item {
  background: #fff;
  margin-bottom: 16px;
  border: 1px solid var(--md-line);
  border-radius: var(--md-radius);
  box-shadow: var(--md-shadow);
}
.md-faq__q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 1.1rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--md-ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: inherit;
}
.md-faq__q i {
  width: 1.5rem; height: 1.5rem;
  border-radius: 50%;
  background: var(--md-tint);
  color: var(--md-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-weight: 700;
  flex-shrink: 0;
  transition: var(--md-ease);
}
.md-faq__item.is-open .md-faq__q i {
  background: var(--md-blue);
  color: #fff;
  transform: rotate(45deg);
}
.md-faq__a {
  display: none;
  padding: 0 1.25rem 1rem;
  color: var(--md-muted);
  line-height: 1.5;
  font-size: .95rem;
}
.md-faq__item.is-open .md-faq__a { display: block; }
.md-faq__more {
  margin: .25rem 0 0;
}
.md-faq__more a {
  color: var(--md-blue);
  font-size: .95rem;
  font-weight: 600;
}
.md-faq__list--page { margin-top: 1.25rem; }
.md-list-card:not(:has(img)) .md-list-card__img { display: none; }
.md-article__cover:not(:has(img)) { display: none; }

/* Welfare */
.md-sec--welfare { background: var(--md-tint); }
#md-welfare { overflow-x: hidden; }
.md-welfare-swiper { overflow: hidden; }
.md-welfare-swiper .swiper-wrapper {
  transition-timing-function: cubic-bezier(.22, .82, .22, 1) !important;
}
.md-welfare-swiper .swiper-slide { height: auto; }
.md-welfare-card {
  background: #fff;
  overflow: hidden;
  height: 100%;
  border-radius: var(--md-radius);
  box-shadow: var(--md-shadow);
  transition: transform var(--md-ease);
}
.md-welfare-card a {
  color: inherit;
  display: block;
  text-decoration: none;
}
.md-welfare-card:hover { transform: translateY(-4px); }
.md-welfare-card__img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #e2e8f0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.md-welfare-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.md-welfare-card h3 {
  margin: 0;
  padding: 1rem 1.1rem 1.2rem;
  font-size: .98rem;
  line-height: 1.45;
  color: var(--md-ink);
}
@media (max-width: 1360px) {
  .md-welfare-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}

/* Footer */
.md-foot {
  background: #0f172a;
  color: #fff;
  padding: 3.5rem 0 0;
  font-size: .9rem;
}
.md-foot a { color: #fff; transition: color var(--md-ease); }
.md-foot a:hover { color: #fff; }
.md-foot__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.md-foot__brand { font-size: 1.35rem; font-weight: 700; color: #fff; margin-bottom: .75rem; }
.md-foot__brand span { color: #fff; }
.md-foot h4 {
  color: #fff;
  font-size: .95rem;
  margin: 0 0 1rem;
  font-weight: 600;
}
.md-foot ul { list-style: none; margin: 0; padding: 0; }
.md-foot li { margin-bottom: .45rem; }
.md-foot__bar {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1rem 0;
  font-size: .82rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
@media (max-width: 1199px) {
  .md-foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .md-foot__grid { grid-template-columns: 1fr; }
}

/* Float */
.md-float {
  position: fixed;
  right: 1rem;
  bottom: 1.5rem;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .5rem;
}
.md-float > a,
.md-float > .md-backtop {
  width: 3rem; height: 3rem;
  border-radius: 50%;
  border: 0;
  background: var(--md-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(22, 119, 255, .28);
  transition: background var(--md-ease), transform var(--md-ease);
}
.md-float > a:hover,
.md-float > .md-backtop:hover { background: #0958d9; transform: translateY(-2px); }
.md-backtop[hidden] { display: none !important; }

/* Inner pages (list/article) keep readable content */
.md-body .container {
  width: min(100% - 2 * var(--md-gutter), var(--md-max));
  margin-inline: auto;
  padding: 20px 0 24px;
}
.md-body .navbar.fixed-top { display: none; }
.md-body .article,
.md-body .article-content,
.md-body .page-content {
  background: #fff;
  border-radius: .75rem;
  padding: 1.75rem 1.5rem 2rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}
.md-body .article h1,
.md-body .article-title {
  color: var(--md-ink);
  font-weight: 700;
}
.md-body .article-content p,
.md-body .page-content p {
  line-height: 1.5;
  color: #475569;
}

.md-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
  margin: 0 0 1.25rem;
  font-size: .875rem;
  line-height: 1.7;
  color: #94a3b8;
}
.md-crumb__label { color: #94a3b8; }
.md-crumb__sep { margin: 0 .4em; color: #cbd5e1; }
.md-crumb a { color: #64748b; }
.md-crumb a:hover { color: var(--md-blue); }
.md-crumb em { font-style: normal; color: #64748b; font-weight: 500; }
.md-article, .md-list { padding: 20px 0 24px; }
.md-article__card {
  background: #fff;
  border-radius: .75rem;
  padding: 1.75rem 1.5rem 2rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}
.md-article__title {
  margin: 0 0 .5rem;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  color: var(--md-ink);
  line-height: 1.35;
}
.md-article__meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0 0 1.15rem;
  color: var(--md-muted);
  font-size: .86rem;
}
.md-article__cover {
  aspect-ratio: 16/8;
  border-radius: .5rem;
  margin: 0 0 1.25rem;
  background: #e0f2fe;
}
.md-article__excerpt {
  margin: 0 0 1.15rem;
  padding: .85rem 1rem;
  background: var(--md-tint);
  border-left: 3px solid var(--md-blue);
  color: #334155;
  line-height: 1.7;
}
.md-article__content {
  max-width: 42rem;
  font-size: 1.02rem;
  line-height: 1.9;
  color: #334155;
  word-wrap: break-word;
}
.md-article__content img {
  height: auto !important;
  max-width: 100%;
  margin: .75rem 0;
}
.md-article__album { margin: 1.75rem 0 0; }
.md-article__album h2 {
  margin: 0 0 .85rem;
  font-size: 1.15rem;
  color: var(--md-ink);
}
.md-article__album ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: .75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.md-article__album li {
  background: var(--md-tint);
  border-radius: .45rem;
  overflow: hidden;
}
.md-article__album img { height: 140px; }
.md-article__album span {
  display: block;
  padding: .4rem .55rem .55rem;
  font-size: .8rem;
  color: var(--md-muted);
}
.md-list-grid {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.md-list-card {
  display: flex;
  gap: 1.1rem;
  background: #fff;
  border-radius: .75rem;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
  color: inherit;
}
.md-list-card__img {
  flex: 0 0 200px;
  width: 200px;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #bae6fd, #e0f2fe);
  border-radius: .5rem;
}
.md-list-card__body { min-width: 0; }
.md-list-card h2 {
  margin: 0 0 .45rem;
  font-size: 1.15rem;
  color: var(--md-ink);
}
.md-list-card p {
  margin: 0;
  color: var(--md-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.md-list-card time { display: block; margin-top: .65rem; font-size: .82rem; color: var(--md-blue); }
.md-list--docs { background: #f7fafc; }
.md-list--docs .md-wh { background: transparent; }
.md-article--doc .md-article__dochead {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin: 0 0 1.25rem;
}
.md-article--doc .md-article__cover {
  flex: 0 0 200px;
  width: 200px;
  max-width: 200px;
  aspect-ratio: 3/4;
  margin: 0;
  background: #f0f9ff;
}
.md-article--doc .md-article__cover img {
  object-fit: contain;
  object-position: center bottom;
}
.md-article--doc .md-article__docmeta { min-width: 0; flex: 1; }
.md-article--doc .md-article__excerpt { margin-bottom: 0; }
@media (max-width: 767px) {
  .md-article--doc .md-article__dochead { flex-direction: column; align-items: center; text-align: center; }
  .md-article--doc .md-article__cover { flex-basis: 180px; width: 180px; }
}
.md-pager-wrap {
  display: flex;
  justify-content: center;
  margin: 2.25rem 0 .25rem;
}
.md-pager-wrap:not(:has(a.page-link)):not(.md-pager-wrap--keep) { display: none; }
ul.pagination.md-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.pagination.md-pager .page-item {
  display: block;
  margin: 0;
}
ul.pagination.md-pager .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 40px;
  min-width: 40px;
  height: 40px;
  padding: 0;
  margin: 0 !important;
  border: 1px solid transparent !important;
  border-radius: 50% !important;
  background: #f1f5f9;
  color: #334155;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  box-shadow: none !important;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
ul.pagination.md-pager .page-item:not(.disabled):not(.active) .page-link:hover {
  background: #e6f4ff;
  color: var(--md-blue);
}
ul.pagination.md-pager .page-item.active .page-link,
ul.pagination.md-pager .page-item.active.disabled .page-link {
  background: var(--md-blue) !important;
  border-color: var(--md-blue) !important;
  color: #fff !important;
}
ul.pagination.md-pager .page-item.disabled:not(.active) .page-link {
  background: #f8fafc;
  color: #cbd5e1;
  cursor: default;
  pointer-events: none;
}
ul.pagination.md-pager .page-item:first-child .page-link,
ul.pagination.md-pager .page-item:last-child .page-link {
  font-size: 0;
  background: #fff;
  border-color: #e2e8f0 !important;
}
ul.pagination.md-pager .page-item:first-child .page-link::before,
ul.pagination.md-pager .page-item:last-child .page-link::before {
  content: "";
  width: 8px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}
ul.pagination.md-pager .page-item:first-child .page-link::before {
  transform: rotate(45deg);
  margin-left: 3px;
}
ul.pagination.md-pager .page-item:last-child .page-link::before {
  transform: rotate(-135deg);
  margin-right: 3px;
}
ul.pagination.md-pager .page-item:first-child:not(.disabled) .page-link,
ul.pagination.md-pager .page-item:last-child:not(.disabled) .page-link {
  color: #334155;
}
ul.pagination.md-pager .page-item:first-child:not(.disabled) .page-link:hover,
ul.pagination.md-pager .page-item:last-child:not(.disabled) .page-link:hover {
  background: #fff;
  border-color: var(--md-blue) !important;
  color: var(--md-blue);
}

/* —— 走进明德独立页 —— */
.md-about-hero {
  background: #0c4a6e;
}
.md-about-hero img {
  object-position: center 42%;
}
.md-about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, .12) 0%, rgba(15, 23, 42, .48) 100%);
}
.md-about-hero__copy {
  position: absolute;
  left: 0; right: 0;
  bottom: 28px;
  z-index: 1;
  color: #fff;
}
.md-about-hero__copy .md-entit { color: rgba(255,255,255,.82); }
.md-about-hero__copy h1 {
  margin: .2rem 0 .35rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.md-about-hero__copy p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.5;
  color: rgba(255,255,255,.88);
}
.md-subnav {
  background: #fff;
  border-bottom: 1px solid var(--md-line);
  position: sticky;
  top: 0;
  z-index: 190;
}
.md-head.is-sticky ~ .md-subnav { top: var(--md-head); }
.md-subnav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 14px 0;
  scrollbar-width: none;
}
.md-subnav__inner::-webkit-scrollbar { display: none; }
.md-subnav a {
  flex: 0 0 auto;
  font-size: .9rem;
  font-weight: 500;
  color: #475569;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  line-height: 1.5;
}
.md-subnav a:hover,
.md-subnav a.is-current {
  color: var(--md-blue);
  border-bottom-color: var(--md-blue);
}
.md-page--about .md-crumb { padding-top: 20px; margin-bottom: 0; }
.md-page--about .md-sec { padding: 32px 0; }
.md-page--about #md-about-intro,
.md-page--about #md-about-honors,
.md-page--about #md-about-env {
  scroll-margin-top: calc(var(--md-head) + 72px);
}
.md-page--about .md-sec--stats {
  background: #f0f7ff;
  color: var(--md-ink);
  padding: 28px 0;
  border-top: 1px solid var(--md-line);
  border-bottom: 1px solid var(--md-line);
}
.md-page--about .md-stats .md-counter { color: var(--md-blue); }
.md-page--about .md-stats p { opacity: .7; color: var(--md-ink); }
.md-about-prose p {
  margin: 0 0 16px;
  line-height: 1.5;
  color: #475569;
  font-size: 1rem;
}
.md-about-prose p:last-child { margin-bottom: 0; }
.md-about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.md-about-card {
  background: #fff;
  border-radius: var(--md-radius);
  box-shadow: var(--md-shadow);
  padding: 20px;
}
.md-about-card h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--md-ink);
  line-height: 1.5;
}
.md-about-card p {
  margin: 0;
  line-height: 1.5;
  color: #475569;
}
.md-about-card a {
  display: inline-block;
  margin-top: 16px;
  color: var(--md-blue);
  font-size: .9rem;
  font-weight: 500;
}
.md-about-honor {
  margin: 0 auto;
  max-width: 680px;
  background: #fff;
  border-radius: var(--md-radius);
  box-shadow: var(--md-shadow);
  padding: 16px;
}
.md-about-honor img {
  width: 100%;
  height: auto;
  display: block;
}
.md-m-menu a.is-active { color: var(--md-blue); }
@media (max-width: 989px) {
  .md-about-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .md-about-hero__copy { bottom: 16px; }
  .md-about-cards { grid-template-columns: 1fr; }
  .md-list-card { flex-direction: column; }
  .md-list-card__img { width: 100%; flex-basis: auto; }
  .md-list--docs .md-list-card { flex-direction: row; align-items: stretch; }
  .md-list--docs .md-list-card__img { width: 110px; flex: 0 0 110px; }
}

/* —— 眼科设备 —— */
.md-equip-banner {
  background: #e6f4ff;
}
.md-equip-banner__copy {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: 28px;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, .28) 100%);
  pointer-events: none;
}
.md-equip-banner__copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(15, 23, 42, .45);
}
.md-list--equip { padding-top: 16px; }
.md-equip-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.md-equip-card {
  position: relative;
  display: block;
  background: #fff;
  border-radius: var(--md-radius);
  overflow: hidden;
  box-shadow: var(--md-shadow);
  color: inherit;
}
.md-equip-card__photo {
  aspect-ratio: 428 / 385;
  background: #f3f4f6;
}
.md-equip-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.md-equip-card__name {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  color: var(--md-ink);
}
.md-equip-card__hover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 20px;
  background: rgba(22, 119, 255, .88);
  color: #fff;
  opacity: 0;
  transition: opacity .22s ease;
}
.md-equip-card:hover .md-equip-card__hover,
.md-equip-card:focus-within .md-equip-card__hover { opacity: 1; }
.md-equip-card__hover h2 {
  margin: 0 0 .55rem;
  font-size: 1.1rem;
  line-height: 1.4;
  color: #fff;
}
.md-equip-card__hover p {
  margin: 0 0 1rem;
  font-size: .92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .92);
}
.md-equip-card__hover span {
  display: inline-flex;
  align-self: flex-start;
  padding: .4rem .85rem;
  border: 1px solid #fff;
  border-radius: .35rem;
  font-size: .88rem;
  font-weight: 600;
}
.md-article--equip .md-equip-cover,
.md-page--equip .md-equip-cover {
  aspect-ratio: 16 / 10;
  background: #f3f4f6;
  margin: 0 0 1.25rem;
}
.md-article--equip .md-equip-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
@media (max-width: 989px) {
  .md-equip-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .md-equip-card__name { min-height: 64px; font-size: .98rem; }
}
@media (max-width: 767px) {
  .md-equip-banner__copy { padding-bottom: 16px; }
  .md-equip-grid { grid-template-columns: 1fr; }
}

/* 医院稿件阅读页：知识 / 动态 / 学术 / 公益，以及诊疗、设备详情 */
.md-article--news .md-article__card {
  max-width: 820px;
  margin: 0 auto;
  padding: 8px 8px 40px;
  box-shadow: none;
  background: transparent;
}
.md-newshead { margin: 0 0 1.35rem; }
.md-article--news .md-article__title {
  margin: 0 0 .65rem;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  line-height: 1.4;
  font-weight: 700;
}
.md-article--news .md-article__meta {
  margin: 0 0 .85rem;
  color: #94a3b8;
  font-size: .88rem;
}
.md-article--news .md-article__excerpt {
  margin: 0;
  padding: .9rem 1rem;
  background: #f8fafc;
  border-left: 3px solid var(--md-blue);
  color: #475569;
  line-height: 1.7;
}
.md-article--news .md-news-cover {
  aspect-ratio: 16 / 9;
  margin: 0 0 1.5rem;
  border-radius: .6rem;
  overflow: hidden;
  background: #e8f1fb;
}
.md-article--news .md-news-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.md-article--news .md-article__content {
  max-width: none;
  font-size: 1.05rem;
  line-height: 1.95;
  color: #334155;
}
.md-article--news .md-article__content::after {
  content: "";
  display: block;
  clear: both;
}
.md-article--news .md-article__content p {
  margin: 0 0 1.05em;
}
.md-article--news .md-article__content > h1:first-child {
  display: none;
}
.md-article--news .md-article__content h2 {
  margin: 1.75em 0 .7em;
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--md-ink);
  line-height: 1.45;
}
.md-article--news .md-article__content h3 {
  margin: 1.35em 0 .5em;
  font-size: 1.08rem;
  font-weight: 700;
  color: #1e3a5f;
}
.md-article--news .md-article__content img,
.md-article--news .md-article__content .md-fang {
  display: block;
  float: none !important;
  width: auto !important;
  max-width: 100%;
  max-height: 26rem;
  height: auto !important;
  margin: 1.15rem auto;
  border-radius: .5rem;
  object-fit: contain;
}
.md-page--equip .md-article--news .md-news-cover img {
  object-fit: contain;
  background: #f3f4f6;
}
