/* Traditional hospital layout. Loaded after the shared medical base styles. */
:root {
    --brand: #006fbe;
    --brand-dark: #025d9e;
    --brand-deep: #024a7e;
    --brand-soft: #f5f7f9;
    --ink: #333333;
    --text: #333333;
    --text-light: #666666;
    --bg-soft: #f5f7f9;
    --border: #d5dce2;
    --navy: #006fbe;
    --header-h: 50px;
}
body { font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif; font-size: 14px; }
/* The shared sticky wrapper keeps both rows together and reserves their natural height. */
.fixed-site-top { position: sticky; top: 0; z-index: 400; background: #fff; }
html { scroll-padding-top: var(--site-top-height, 110px); }
.container { width: min(1200px, calc(100% - 40px)); padding-left: 0; padding-right: 0; }
.top-strip { font-size: 14px; color: #666; border: 0; }
.top-strip-inner { min-height: 40px; gap: 12px; }
.top-welcome, .top-action { color: #666; }
.top-actions { gap: 12px; }
.top-icon { border: 0; border-radius: 0; }
.site-header { position: relative; background: var(--brand); border: 0; box-shadow: none; }
.header-inner { height: auto; min-height: 50px; }
.header-inner .brand { display: none; }
.site-nav { width: 100%; gap: 0; justify-content: space-between; }
.site-nav > .nav-item, .site-nav > .nav-group { flex: 1; min-width: 0; }
.nav-item { color: #fff; font-size: 16px; height: 50px; line-height: 50px; padding: 0 8px; justify-content: center; }
.nav-group > .nav-item { width: 100%; }
.nav-item:hover, .nav-item.is-active, .nav-group.is-active > .nav-parent { color: #fff; background: var(--brand-dark); }
.nav-sub { border-radius: 4px; box-shadow: 0 3px 8px #0001; }
.nav-group:focus-within .nav-sub { opacity: 1; visibility: visible; transform: translateX(-50%); }
.banner-slide, .banner-img { height: 530px; }
.banner-img { object-fit: cover; object-position: center; }
.banner-slide { background: #eef3f6 url('/static/img/medical_default/patient-care.png') center / cover no-repeat; }
.inner-banner { position: relative; height: 280px; background: #eef3f6 url('/static/img/medical_default/patient-care.png') center / cover no-repeat; overflow: hidden; }
.inner-banner picture, .inner-banner img { display: block; width: 100%; height: 100%; }
.inner-banner img { object-fit: cover; object-position: center; }
.care-copy { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #174d70; pointer-events: none; }
.care-copy p { margin: 0 0 12px; font-size: 30px; font-weight: 500; }
.care-copy span { font-size: 16px; }
img.image-unavailable { visibility: hidden; }
.banner-caption { bottom: 12%; }
.banner-title { font-size: 30px; font-weight: 600; letter-spacing: 0; }
.banner-dot { width: 12px; height: 12px; }
.section { padding: 28px 0; }
.hospital-overview { padding: 28px 0; }
.hospital-columns { display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); gap: 30px; }
.column-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; border-bottom: 2px solid var(--brand); margin-bottom: 20px; min-height: 45px; }
.column-heading h2 { font-size: 20px; font-weight: 500; margin: 0; padding: 8px 16px; background: var(--brand); color: #fff; }
.column-heading > a { color: var(--text-light); white-space: nowrap; }
.column-heading > a:hover { color: var(--brand-dark); }
.hospital-news-row { padding: 12px 0; border-bottom: 1px dashed #d6d6d6; }
.hospital-news-row h3 { font-size: 18px; font-weight: 500; margin: 0 0 6px; }
.hospital-news-row p { font-size: 14px; line-height: 24px; margin: 0 0 4px; color: #666; }
.hospital-news-row time { font-size: 12px; color: #999; }
.hospital-news-row a:hover { color: var(--brand); }
.service-entries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.service-entries a { min-height: 80px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px 4px; background: #e6e8ec; font-size: 16px; }
.service-entries a:hover, .service-entries a:focus-visible { background: var(--brand); color: #fff; }
.medical-icon { display: inline-block; width: 20px; height: 20px; flex: 0 0 auto; fill: currentColor; vertical-align: middle; }
.service-entries a { flex-direction: column; gap: 8px; }
.service-entries .medical-icon { width: 30px; height: 30px; }
.float-item .medical-icon { width: 26px; height: 26px; }
.float-item:focus-within .float-pop { opacity: 1; visibility: visible; transform: translateY(-50%); }
.float-item:focus-visible { outline: 2px solid #333; outline-offset: 3px; }
.section-title { text-align: left; font-size: 24px; font-weight: 500; padding-bottom: 12px; border-bottom: 0; margin: 0 0 20px; }
.section-title::after { display: none; }
.section-lead { text-align: left; max-width: none; margin: 0 0 20px; }
.intro-title { font-size: 24px; font-weight: 500; }
.home-intro, .intro-summary { text-align: left; }
.intro-summary { max-width: none; line-height: 26px; }
.intro-tags { justify-content: flex-start; }
.tag { padding: 0; border: 0; background: none; }
.stats-band { background: #f5f7f9; border-block: 0; padding: 18px 0; }
.stat-num { font-size: 24px; color: var(--brand); font-weight: 500; }
.stat-label { color: #666; }
.slogan-bar {
    padding: 22px 0 8px;
    border-block: 0;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0;
}
.card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card, .doctor-card, .leader-card, .explore-card, .dept-item, .faq-item, .intro-photo, .news-cover, .topic-item, .article-cover img { border-radius: 4px; }
.card:hover, .doctor-card:hover, .dept-item:hover, .explore-card:hover, .topic-item:hover { box-shadow: none; }
/* Match the base selectors so image zoom cannot survive through specificity. */
.card:hover .card-cover img, .news-item:hover .news-cover img, .intro-photo:hover img { transform: none; }
.card, .doctor-card, .dept-item, .explore-card, .topic-item, .card-cover img, .news-cover img, .intro-photo img { transition: none; }
.card:hover, .doctor-card:hover, .dept-item:hover, .explore-card:hover, .topic-item:hover { transform: none; }
.float-pop, .caret { transition: none; }
/* Open chevrons share the same stroke for navigation and disclosure controls. */
.caret { display: inline-block; flex: 0 0 auto; width: 7px; height: 7px; border: 0; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); }
.site-nav .caret { width: 0; height: 0; border: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; transform: none; transition: transform .2s ease; }
@media (min-width: 769px) {
    .site-nav .nav-sub { transform: translate(-50%, 6px); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
    .site-nav .nav-group:hover .nav-sub, .site-nav .nav-group:focus-within .nav-sub { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition-delay: 0s; }
    .site-nav .nav-group:hover .caret, .site-nav .nav-group:focus-within .caret { transform: rotate(180deg); }
}
.btn-more { transition: background-color .15s, color .15s, border-color .15s; }
.card-title, .news-title { font-size: 18px; font-weight: 500; }
.doctor-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; max-width: none; }
.doctor-card { padding: 16px 12px; border: 0; }
.doctor-photo { aspect-ratio: 1; }
.doctor-photo img { object-fit: contain; object-position: center top; }
.doctor-name { color: var(--brand); font-weight: 500; }
.doctor-title, .doctor-desc { font-size: 14px; color: #666; }
.doctor-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.section-more { justify-content: flex-end; margin-top: 20px; }
.btn-more { border-radius: 4px; font-size: 14px; padding: 7px 20px; }
/* Explicit states prevent inherited blue text on a blue ghost-button background. */
.btn-more, .float-call { background: var(--brand); color: #fff; border: 1px solid var(--brand); }
.btn-more:hover, .float-call:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; transform: none; }
.btn-more.btn-ghost { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn-more.btn-ghost:hover { background: var(--brand); color: #fff; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #333; outline-offset: 3px; }
.site-header a:focus-visible, .site-footer a:focus-visible { outline-color: #fff; }
.btn-more:active, .float-call:active { background: var(--brand-deep); color: #fff; }
button:disabled { cursor: not-allowed; opacity: .55; }
.page-hero, .page-hero-banner { background: #f5f7f9; color: #333; padding: 24px 0; border-bottom: 0; text-align: left; }
.page-hero-title { font-size: 26px; font-weight: 500; letter-spacing: 0; }
.page-hero-sub, .breadcrumb, .breadcrumb a { color: #666; }
.breadcrumb a:hover { color: var(--brand); }
.article-title { font-size: 26px; font-weight: 500; }
.article-summary { border-left-color: var(--brand); border-radius: 4px; }
.leader-tag { background: #edf4fa; color: var(--brand); border-radius: 4px; }
.about-heading { letter-spacing: 0; }
.about-watermark { display: none; }
.map-card { width: 100%; text-align: left; background: transparent; border: 0; padding: 0; }
.home-contact .contact-list { text-align: left; }
.site-footer { background: var(--brand-dark); color: #fff; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 40px; }
.footer-col { min-width: 0; }
.footer-line, .footer-line a, .footer-bottom .container, .footer-bottom a { color: #fff; }
.footer-company { font-size: 20px; font-weight: 500; }
.float-item { border-radius: 4px; box-shadow: none; }
.service-entries a, .news-tag, input, select, textarea { border-radius: 4px; }
.medical-notice { margin-top: 24px; padding: 14px 18px; background: #f5f7f9; border: 1px solid #dce3e9; border-radius: 4px; color: #555; line-height: 1.8; }
.article-container { max-width: 900px; }
.article-content, .rich-article { color: #333; font-size: 16px; line-height: 1.9; overflow-wrap: anywhere; }
.article-content img, .rich-article img { max-width: 100%; height: auto; margin: 16px auto; }
.article-content table, .rich-article table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.article-content td, .article-content th { padding: 8px 12px; border: 1px solid var(--border); }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { overflow-wrap: anywhere; }
.ci-label { flex-shrink: 0; letter-spacing: 0; }
.topic-body, .news-body, .about-main, .leader-body { min-width: 0; }
.topic-cover a, .news-cover a { display: block; height: 100%; }
.topic-title, .leader-name, .contact-name { font-weight: 500; }
.catalog-icon { width: 80px; height: 80px; object-fit: contain; margin: 0 auto 12px; }
.feature-grid { gap: 16px; }
.feature-item { text-align: left; padding: 16px; border-bottom: 1px solid var(--border); }
.feature-idx { display: none; }
.rich-center { text-align: left; }
.page-hero-inner { padding: 0; }
.page-hero, .page-hero-banner { position: relative; isolation: isolate; min-height: 220px; display: flex; align-items: center; padding-block: 32px; background: #f3f6f8; }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #f3f6f8; }
.page-hero-media::after { content: ''; position: absolute; inset: 0; background: rgba(247,250,252,.78); }
.page-hero-media picture, .page-hero-media img { display: block; width: 100%; height: 100%; }
.page-hero-media img { object-fit: contain; object-position: right center; }
/* Feather the photograph boundary without cropping people or shrinking the banner. */
.page-hero-media picture { position: absolute; right: 0; width: min(100%, 660px); mask-image: linear-gradient(to right, transparent, #000 18%, #000 92%, transparent); }
.page-hero-slim { min-height: 120px; }
.page-hero-title { margin: 0; line-height: 1.35; }
.page-hero-sub { letter-spacing: 0; margin: 8px 0 0; line-height: 1.6; }
.page-hero .breadcrumb { margin: 12px 0 0; line-height: 1.5; }
.page-hero-title, .news-title, .card-title, .topic-title, .doctor-name { overflow-wrap: anywhere; }
/* Shared list geometry keeps optional copy from moving actions between rows. */
.section + .section { border-top: 0; }
/* Alternate selected homepage bands; headings and white cards keep their existing colors. */
.home-main, .home-main > .section, .home-main > .stats-band, .home-main > .slogan-bar { background: #fff; }
.home-main > .home-team, .home-main > .home-topics { background: #f5f7f9; }
.home-support-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 32px; align-items: start; }
.home-support-grid > div { min-width: 0; }
.home-support-grid.without-faq { grid-template-columns: minmax(0, 1fr); }
.home-support .faq-list { max-width: none; margin: 0; }
@media (max-width: 768px) {
    .home-support-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
.section > .container > :first-child { margin-top: 0; }
.section > .container > :last-child { margin-bottom: 0; }
.section .rich-article > :last-child { margin-bottom: 0; }
.card-grid-top { margin-top: 24px; }
.intro-gallery { margin-block: 24px; }
.topic-intro { margin-bottom: 24px; }
.card, .doctor-card, .feature-item, .explore-card { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--border); border-radius: 4px; }
.doctor-card { padding: 16px; }
.card-body { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 20px; }
.card-body .card-title, .card-body .card-summary { margin: 0; }
.card-body .card-time { margin-top: auto; padding-top: 6px; color: #666; }
.card-body > .news-tag, .feature-item > .news-tag { margin-top: auto; }
.feature-item { gap: 12px; padding: 20px; }
.feature-name, .feature-desc { margin: 0; }

/* Light panda palette: off-white introduction, white content and charcoal typography. */
.home-main > .home-intro {
    padding: 52px 0;
    background: #f3f4f4;
    color: #25292c;
}

.home-intro .intro-title {
    margin: 0 0 20px;
    color: #181b1d;
    font-size: 30px;
    line-height: 1.35;
}

.home-intro .intro-tags { gap: 8px 22px; margin-bottom: 24px; }

.home-intro .tag { color: #394146; }

.home-intro .intro-summary {
    margin-bottom: 26px;
    color: #555d62;
    font-size: 15px;
    line-height: 1.9;
}

.home-intro .btn-more {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.home-intro .btn-more:hover,
.home-intro .btn-more:focus-visible {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.home-intro .intro-photo {
    border: 1px solid #d7dadd;
    background: #e8eaeb;
}

.home-intro-layout .intro-photo picture { display: block; width: 100%; height: 100%; }

.home-main > .home-features { padding-block: 46px; background: var(--bg); }

.home-features .section-title {
    margin-bottom: 8px;
    text-align: center;
}

.home-features .section-title::after {
    display: block;
    width: 36px;
    height: 2px;
    margin: 14px auto 0;
    background: var(--brand);
    content: "";
}

.feature-lead {
    margin: 0;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
    text-align: center;
}

.home-features .feature-grid { margin-top: 26px; }

.home-features .feature-item {
    position: relative;
    justify-content: flex-start;
    min-height: 138px;
    padding: 28px 24px 22px;
    overflow: hidden;
    background: var(--bg);
}

.home-features .feature-idx {
    position: absolute;
    top: 12px;
    right: 20px;
    display: block;
    width: auto;
    height: auto;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--brand);
    font-size: 64px;
    font-weight: 300;
    line-height: 1;
    opacity: .09;
    pointer-events: none;
    transition: opacity .15s ease;
}

.home-features .feature-name {
    position: relative;
    z-index: 1;
    max-width: calc(100% - 82px);
    margin-top: 12px;
    color: var(--ink);
    font-size: 19px;
    line-height: 1.45;
}

.home-features .feature-desc {
    position: relative;
    z-index: 1;
    max-width: calc(100% - 54px);
    margin-top: 18px;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.75;
}

/* Keep the homepage content order while pairing its introduction with real imagery. */
@media (min-width: 769px) {
    .home-intro-layout.has-media {
        display: grid;
        grid-template-columns: minmax(0, 3fr) minmax(320px, 2fr);
        grid-template-rows: auto auto auto 1fr;
        gap: 40px;
        align-items: center;
    }

    .home-intro-layout.has-media > .intro-title,
    .home-intro-layout.has-media > .intro-tags,
    .home-intro-layout.has-media > .intro-summary,
    .home-intro-layout.has-media > .btn-more {
        grid-column: 1;
        min-width: 0;
    }

    .home-intro-layout .intro-gallery {
        grid-column: 2;
        grid-row: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        max-width: none;
        margin: 0;
    }

    .home-intro-layout .intro-photo { aspect-ratio: 16 / 10; }

    .home-intro-layout .intro-photo:first-child { grid-column: 1 / -1; }

    .home-intro-layout .intro-gallery-fallback .intro-photo { aspect-ratio: 4 / 3; }

    .home-features .feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-auto-rows: 1fr;
        gap: 18px;
    }

    .home-features .feature-item { min-height: 138px; }
}

.home-intro-layout > .btn-more { justify-self: start; margin-top: 2px; }

/* Feature items remain explanatory content, with only a restrained desktop hover cue. */
.home-features .feature-item {
    transition: border-color .15s ease, box-shadow .15s ease;
}

@media (hover: hover) and (pointer: fine) {
    .home-features .feature-item:hover {
        border-color: var(--brand);
        box-shadow: 0 8px 18px color-mix(in srgb, var(--brand) 8%, transparent);
    }

    .home-features .feature-item:hover .feature-idx { opacity: .14; }
}

/* Preserve native details semantics while JS animates only the answer wrapper. */
.faq-q {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding-right: 58px;
}

.faq-q::after {
    right: 18px;
    content: "+";
    font-size: 18px;
    line-height: 1;
    transition: color .15s ease;
}

.faq-item[open] .faq-q::after {
    content: "−";
}

.faq-a-wrap { overflow: hidden; }

.faq-item.faq-motion-ready .faq-a-wrap {
    height: 0;
    opacity: 0;
    transition: height .22s ease, opacity .18s ease;
}

.faq-item.faq-motion-ready[open] .faq-a-wrap { opacity: 1; }

.faq-a { padding-bottom: 18px; }
.doctor-photo { width: 100%; flex-shrink: 0; background: #f5f7f9; border-radius: 4px; overflow: hidden; }
.doctor-photo a, .card-cover a { display: block; width: 100%; height: 100%; }
.doctor-card > .section-more { margin-top: auto; padding-top: 16px; justify-content: flex-start; }
.doctor-title { margin: 0 0 12px; line-height: 1.6; }
.btn-more, .news-tag { display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; min-height: 40px; max-width: 100%; padding: 8px 18px; margin-top: 0; line-height: 1.5; text-align: center; overflow-wrap: anywhere; }
.news-tag { min-height: 28px; padding: 3px 0; gap: 6px; border: 0; border-radius: 0; background: transparent; color: var(--brand); font-size: 13px; transition: color .15s; }
.news-tag::after, .explore-link::after { content: ''; display: inline-block; flex: 0 0 auto; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(-45deg); }
.explore-link { display: inline-flex; align-items: center; gap: 6px; }
.news-tag:hover, .news-tag:active { background: transparent; color: var(--brand-dark); text-decoration: underline; text-underline-offset: 3px; }
.section-more { align-items: center; }
.news-list { border-top: 1px solid var(--border); }
.news-item { padding: 24px 20px; align-items: flex-start; }
.news-cover { width: 240px; }
.news-body { gap: 10px; }
.news-row-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-top: auto; padding-top: 8px; }
.news-row-footer .news-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0; }
.news-date { display: inline-flex; align-items: center; gap: 6px; }
.news-date .medical-icon { width: 14px; height: 14px; }
.news-row-footer .news-tag { margin-left: auto; }
.news-body .news-summary { -webkit-line-clamp: 3; }
.news-body > p, .news-body > h2 { margin: 0; }
.news-meta:empty, .topic-meta:empty { display: none; }
.news-body > .news-tag { margin-top: 4px; }
.topic-item { gap: 0; }
.topic-cover { width: 260px; aspect-ratio: 4 / 3; align-self: flex-start; }
.topic-body { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.topic-body > h3, .topic-body > p { margin: 0; }
.topic-body > .news-tag { margin-top: auto; }
.explore-card { border-top: 3px solid var(--brand); }
.explore-link { margin-top: auto; }
.empty-tip { margin: 0; padding: 32px 16px; background: #f5f7f9; border-block: 1px solid var(--border); }
.about-split { gap: 32px; }
.about-side { width: 180px; }
.about-heading-line { background: var(--brand); }
.contact-grid { align-items: flex-start; }
.contact-info .contact-list li, .map-card .contact-list li { padding: 16px 0; border-bottom-style: solid; }
.article-head { padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.article-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 12px; }
.leader-card { max-width: none; }
.leader-body { flex: 1; }
.leader-photo img { object-fit: contain; object-position: top center; }
@media (max-width: 1000px) {
    .top-strip-inner { flex-wrap: wrap; padding-block: 6px; }
    .nav-item { font-size: 14px; padding-inline: 5px; }
    .doctor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .container { width: calc(100% - 32px); }
    .top-strip { font-size: 12px; }
    .top-actions { flex-wrap: wrap; white-space: normal; overflow: visible; }
    .header-inner { min-height: 54px; gap: 16px; }
    .header-inner .brand { display: block; min-width: 0; }
    .brand-name { font-size: 16px; color: #fff; letter-spacing: 0; overflow-wrap: anywhere; }
    .brand-logo { max-width: 220px; object-fit: contain; }
    .nav-toggle { flex-shrink: 0; }
    .nav-toggle span { background: #fff; }
    .site-nav { width: 100%; top: 100%; background: var(--brand); }
    .site-nav > .nav-item, .site-nav > .nav-group { flex: none; }
    .nav-item { justify-content: space-between; padding-inline: 16px; }
    .site-nav .nav-sub { background: #fff; transition: max-height .25s ease; }
    .site-nav .nav-group:hover .nav-sub, .site-nav .nav-group:focus-within .nav-sub { transform: none; }
    .site-nav .nav-group .caret { transform: none; }
    .site-nav .nav-group.is-open .caret { transform: rotate(180deg); }
    .banner-slide, .banner-img { height: 300px; }
    .banner-title { font-size: 20px; }
    .inner-banner { height: 180px; }
    .page-hero, .page-hero-banner { min-height: 180px; padding-block: 24px; }
    .page-hero-slim { min-height: 100px; }
    .page-hero-media img { object-fit: contain; object-position: right center; }
    .inner-banner img { object-position: 65% center; }
    .care-copy { top: auto; bottom: 12px; transform: translateX(-50%); color: #173d55; }
    .care-copy p { display: inline-block; padding: 5px 8px; border-radius: 4px; background: rgba(255,255,255,.94); font-size: 20px; margin: 0; }
    .care-copy span { display: none; }
    .hospital-columns { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .hospital-overview, .section { padding: 20px 0; }
    .section-title, .intro-title { font-size: 22px; }
    .card-grid, .doctor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .doctor-card { padding: 10px 6px; }
    .doctor-name, .card-title { font-size: 16px; }
    .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .article-title { font-size: 22px; overflow-wrap: anywhere; }
    .article-content, .rich-article { font-size: 16px; line-height: 1.85; }
    .news-item { flex-direction: row; gap: 14px; padding: 20px 16px; }
    .news-cover { width: 110px; height: 84px; aspect-ratio: auto; }
    .news-title { font-size: 17px; }
    .news-meta { font-size: 12px; }
    .news-summary { -webkit-line-clamp: 2; }
    .leader-card { border: 0; }
    .leader-photo { width: 100%; aspect-ratio: 1; max-height: 320px; }
    .leader-photo img { object-fit: contain; }
    .leader-body { padding: 20px 0; }
    .contact-info { min-width: 0; width: 100%; }
    .section-more { justify-content: flex-start; }
    .btn-more { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
    .news-tag { min-height: 44px; }
    .topic-body { padding: 16px; }
    .float-bar { right: 8px; bottom: 12px; gap: 4px; }
    .float-item { width: 40px; height: 40px; }
    .float-item .medical-icon { width: 22px; height: 22px; }
    .footer-inner { padding-bottom: 80px; }
    .site-nav.is-open { max-height: calc(100dvh - var(--site-top-height, 150px)); overflow-y: auto; }
    .card-grid { grid-template-columns: minmax(0, 1fr); }
    .feature-grid, .explore-grid, .dept-grid { grid-template-columns: minmax(0, 1fr); }
    .doctor-card { padding: 12px; }
    .doctor-card .btn-more { width: 100%; padding-inline: 8px; }
    .doctor-card > .section-more { width: 100%; }
    .card-body { padding: 16px; }
    .topic-item { flex-direction: column; }
    .topic-cover { width: 100%; aspect-ratio: 16 / 9; }
    .topic-body { width: 100%; }
    .about-split { flex-direction: column; gap: 20px; }
    .about-side { width: 100%; }
    .leader-card { border: 1px solid var(--border); }
    .leader-body { padding: 20px; }
    .contact-info .contact-list li { gap: 10px; }
    .article-foot .btn-more { margin-top: 12px; }
    .section-title { margin-bottom: 16px; }
    .card-grid-top, .section-more { margin-top: 20px; }
    .intro-gallery { margin-block: 20px; }
}
/* Traditional inner pages share a navigation rail without framing entire sections. */
.interior-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; padding-block: 28px; }
@media (min-width: 1280px) {
    .interior-layout, .site-main:has(.interior-layout) > .page-hero > .container { width: calc(100% - 64px); max-width: 1360px; }
}
.interior-sidebar, .interior-content { min-width: 0; }
/* Follow the header's measured height and remain inside the two-column section. */
@media (min-width: 769px) {
    .interior-sidebar {
        position: sticky;
        top: var(--site-top-height, 110px);
        max-height: calc(100vh - var(--site-top-height, 110px) - 16px);
        max-height: calc(100dvh - var(--site-top-height, 110px) - 16px);
        overflow-y: auto;
        scrollbar-width: thin;
    }
}
.column-panel { border: 1px solid var(--border); border-radius: 4px; overflow: hidden; background: #fff; }
.column-heading-title { margin: 0; padding: 16px 20px; background: var(--brand); color: #fff; font-size: 20px; line-height: 1.5; font-weight: 500; }
.column-menu { border: 0; border-radius: 0; }
.column-menu summary { display: none; align-items: center; gap: 10px; color: var(--brand-dark); font-weight: 500; cursor: pointer; list-style: none; }
.column-menu summary::-webkit-details-marker { display: none; }
.column-menu summary .caret { margin-left: auto; }
.column-menu[open] summary .caret { transform: rotate(225deg); }
.column-menu nav a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 12px 17px; line-height: 1.6; border-bottom: 1px solid #e7ebef; border-left: 3px solid transparent; color: #444; font-size: 15px; }
.column-menu nav a:focus-visible { outline-offset: -3px; }
.column-menu nav a .caret-right { transform: rotate(-45deg); opacity: .7; }
.column-menu nav a span { min-width: 0; overflow-wrap: anywhere; }
.column-heading-title small, .column-menu summary small { display: block; margin-top: 4px; font-size: 11px; line-height: 1.5; font-weight: 400; color: #e0edf7; overflow-wrap: anywhere; }
.column-menu nav a small { display: block; font-size: 10px; line-height: 1.5; font-weight: 400; color: #687782; }
.column-menu nav a.is-active small { color: var(--brand-dark); }
.column-menu nav a:last-child { border-bottom: 0; }
.column-menu nav a:hover { background: #f5f8fa; color: var(--brand-dark); }
.column-menu nav a.is-active { background: #eef5fa; border-left-color: var(--brand); color: var(--brand-dark); font-weight: 500; }
.sidebar-contact { margin-top: 20px; padding: 18px; border: 1px solid var(--border); border-top: 3px solid var(--brand); border-radius: 4px; background: #fff; }
.sidebar-contact h2 { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 500; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid #e7ebef; }
.sidebar-contact .btn-more { width: 100%; margin-top: 4px; }
.sidebar-phone { color: var(--brand-dark); font-size: 20px; overflow-wrap: anywhere; }
.sidebar-contact p { color: #666; line-height: 1.8; margin: 12px 0 16px; }
.interior-content > .section { padding: 0 0 28px; }
.interior-content > .section + .section { padding-top: 28px; }
.interior-content > .section > .container { width: 100%; max-width: none; }
/* Inner content already has a reading column; do not center a second narrow column inside it. */
.interior-content .rich-article { width: 100%; max-width: none; margin-inline: 0; text-align: left; }
.interior-content .rich-article p { margin: 0 0 16px; }
.interior-content .rich-article h2, .interior-content .rich-article h3 { margin: 24px 0 12px; line-height: 1.5; }
.interior-content .rich-article > :first-child { margin-top: 0; }
.interior-content .bg-soft { background: transparent; }
.interior-content .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.interior-content .doctor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.interior-content .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.interior-content .about-split { display: block; }
.interior-content .about-side { width: 100%; margin-bottom: 20px; }
.interior-content .about-heading { font-size: 24px; }
.interior-content .news-cover { width: 180px; }
.interior-content .news-item:first-child { padding-top: 20px; }
.interior-content .section-title + .news-list { border-top: 0; }
.interior-content .topic-cover { width: 220px; }
.interior-content .leader-photo { width: 280px; }
.interior-content .leader-card { gap: 24px; }
.interior-content .leader-body { padding: 24px 24px 24px 0; }
.interior-content .article-title { text-align: left; }
.interior-content .article-meta { justify-content: flex-start; }
@media (max-width: 1000px) and (min-width: 769px) {
    .interior-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 20px; }
    .interior-content .doctor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .interior-content .leader-photo { width: 200px; }
}
@media (max-width: 768px) {
    .interior-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 20px; }
    .column-heading-title { display: none; }
    .column-menu summary { display: flex; padding: 12px 16px; font-size: 16px; background: var(--brand); color: #fff; }
    .column-menu summary:focus-visible { outline-color: #fff; outline-offset: -3px; }
    .sidebar-contact { display: none; }
    .interior-content .card-grid, .interior-content .feature-grid { grid-template-columns: minmax(0, 1fr); }
    .interior-content .doctor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .interior-content .news-cover { width: 100px; }
    .interior-content .topic-cover, .interior-content .leader-photo { width: 100%; }
    .interior-content .leader-card { gap: 0; }
    .interior-content .leader-body { padding: 20px; }
    .interior-content > .section { padding-bottom: 20px; }
    .interior-content > .section + .section { padding-top: 20px; }
}
/* Inner banners are photographic; navigation and reading hierarchy live in the content column. */
.page-hero.image-only-banner { height: 200px; min-height: 200px; padding: 0; }
.image-only-banner .page-hero-media::after { background: rgba(247,250,252,.12); }
.image-only-banner .page-hero-media picture { width: min(100%, 1000px); right: max(0px, calc((100% - 1360px) / 2)); }
.content-location { padding: 0 0 16px; margin-bottom: 24px; border-bottom: 1px solid var(--border); }
.content-location .breadcrumb { margin: 0; font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.content-page-title { margin: 0 0 24px; font-size: 24px; font-weight: 500; line-height: 1.5; color: var(--brand-dark); overflow-wrap: anywhere; }
.interior-content .article-detail { padding: 0 24px 28px; }
.interior-content .article-detail .article-title { text-align: center; font-size: 28px; line-height: 1.5; }
.interior-content .article-detail .article-meta { justify-content: center; font-size: 13px; color: #777; margin: 12px 0 0; }
.article-detail .article-summary { margin-block: 24px; padding: 16px 20px; background: #f5f7f9; border: 1px solid var(--border); font-size: 15px; line-height: 1.9; }
.article-detail .article-content { line-height: 2; }
.article-detail .article-content p { margin: 0 0 20px; }
.article-detail .article-content h2, .article-detail .article-content h3 { margin: 28px 0 14px; line-height: 1.5; }
.article-adjacent { display: grid; gap: 12px; margin: 20px 0; padding-block: 20px; border-block: 1px solid var(--border); }
.article-adjacent > div { display: flex; align-items: baseline; gap: 4px; }
.article-adjacent > div > span:first-child { flex-shrink: 0; color: #666; }
.article-adjacent a { color: var(--brand-dark); overflow-wrap: anywhere; }
.article-adjacent a:hover { text-decoration: underline; }
.article-end { color: #777; }
@media (max-width: 768px) {
    .page-hero.image-only-banner { height: 140px; min-height: 140px; }
    .content-location { margin-bottom: 20px; padding-bottom: 12px; }
    .content-page-title { font-size: 22px; margin-bottom: 20px; }
    .interior-content .article-detail { padding: 0 0 20px; }
    .interior-content .article-detail .article-title { font-size: 23px; }
    .article-detail .article-summary { padding: 12px 16px; }
}
/* Wide banners keep a stable frame on both devices, without cropping uploaded subjects. */
.inner-banner { width: 100%; height: auto; aspect-ratio: 1920 / 530; background: #f3f6f8; }
.banner-slide > picture, .banner-slide > .banner-link, .banner-link > picture { display: block; width: 100%; height: 100%; }
.inner-banner img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.banner-slide .banner-img { display: block; height: 530px; object-fit: cover; object-position: center; }
.banner-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; display: flex; align-items: center; justify-content: center; width: 44px; height: 52px; border: 0; border-radius: 4px; background: rgba(0,0,0,.28); color: #fff; cursor: pointer; }
.banner-prev { left: 20px; }
.banner-next { right: 20px; }
.banner-arrow i { width: 12px; height: 12px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; }
.banner-prev i { transform: rotate(-135deg); margin-left: 5px; }
.banner-next i { transform: rotate(45deg); margin-right: 5px; }
.banner-arrow:hover { background: rgba(0,0,0,.48); }
.banner-arrow:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
/* Keep inner-page imagery secondary to content, independently of the home carousel. */
.page-hero.image-only-banner { width: 100%; max-width: none; margin-inline: 0; height: 160px; min-height: 0; aspect-ratio: auto; overflow: hidden; }
/* Only one portrait layer: the full-width neutral base avoids duplicate faces. */
.image-only-banner .page-hero-media { background: #f3f6f8; }
.image-only-banner .page-hero-media picture { width: min(100%, 720px); height: 100%; inset: 0 clamp(0px, calc((100% - 720px) * .28), 240px) 0 auto; mask-image: none; }
.image-only-banner .page-hero-media img { object-fit: cover; object-position: right top; filter: blur(.6px); transform: none; -webkit-mask-image: none; mask-image: none; }
.image-only-banner .page-hero-media picture img { -webkit-mask-image: linear-gradient(to right, transparent, #000 28%, #000 70%, rgba(0,0,0,.65) 84%, rgba(0,0,0,.15) 95%, transparent); mask-image: linear-gradient(to right, transparent, #000 28%, #000 70%, rgba(0,0,0,.65) 84%, rgba(0,0,0,.15) 95%, transparent); }
.image-only-banner .page-hero-media::after { display: block; background: rgba(243,246,248,.72); }
.inner-banner-caption { padding-block: 16px; }
/* Match the sidebar track and grid gap instead of using an arbitrary visual offset. */
.page-hero > .inner-banner-caption { padding-left: 264px; }
.inner-banner-label { max-width: 50%; margin: 0; font-size: 30px; font-weight: 500; line-height: 1.4; color: #24516b; overflow-wrap: anywhere; }
.inner-banner-english { max-width: 50%; margin: 6px 0 0; font-size: 12px; line-height: 1.5; color: #596e7b; overflow-wrap: anywhere; }
@media (min-width: 769px) and (max-width: 1000px) {
    .page-hero > .inner-banner-caption { padding-left: 220px; }
}
@media (max-width: 768px) {
    .page-hero.image-only-banner { height: 100px; }
    .page-hero > .inner-banner-caption { padding-left: 0; }
    .inner-banner-label { max-width: 48%; font-size: 24px; }
    .inner-banner-english { max-width: 48%; margin-top: 4px; font-size: 11px; }
    .banner-slide .banner-img { height: 300px; }
    .banner-prev { left: 8px; }
    .banner-next { right: 8px; }
    .banner-arrow { width: 44px; height: 44px; }
}
/* Compact pagination wraps on narrow screens without changing the list width. */
.list-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 24px 0; }
.list-pagination a, .list-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 36px; padding: 6px 10px; border: 1px solid var(--border); border-radius: 4px; font-size: 14px; }
.list-pagination a { color: var(--brand-dark); background: #fff; }
.list-pagination a:hover, .list-pagination .is-current { background: var(--brand); border-color: var(--brand); color: #fff; }
.list-pagination [aria-disabled] { color: #777; background: #f5f7f9; }
.list-pagination .page-gap { border-color: transparent; min-width: 20px; padding-inline: 2px; }
@media (max-width: 768px) {
    .list-pagination { gap: 6px; }
    .list-pagination a, .list-pagination span { min-height: 44px; }
}
/* Only linked list cards move; layout dimensions and inner images stay unchanged. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    /* Animate inner content rather than margins so neighboring rows never reflow. */
    .column-menu nav a { transition: background-color .25s ease, color .25s ease; }
    .column-menu nav a span { transition: transform .3s ease; }
    .column-menu nav a:hover, .column-menu nav a:focus-visible { background: var(--brand); color: #fff; border-left-color: var(--brand); }
    .column-menu nav a:hover small, .column-menu nav a:focus-visible small { color: #fff; }
    .column-menu nav a:hover span, .column-menu nav a:focus-visible span { transform: translateX(6px); }
    .news-item { transition: background-color .25s ease; }
    .news-item .news-cover, .news-item .news-body { transition: transform .3s ease; }
    .news-item:hover, .news-item:focus-within { background: #f2f7fa; }
    .news-item:hover .news-cover { transform: translateX(4px); }
    .news-item:hover .news-body { transform: translateX(-4px); }
    .news-item:not(:has(.news-cover)):hover .news-body { transform: translateX(4px); }
    .news-item:hover .news-title a { color: var(--brand-dark); }
    .card:has(a), .doctor-card:has(a), .feature-item:has(a), .explore-card, .topic-item:has(a) {
        transition: transform .18s ease-out, box-shadow .18s ease-out, border-color .18s ease-out;
        transform-origin: center;
    }
    .card:has(a):hover, .doctor-card:has(a):hover, .feature-item:has(a):hover, .explore-card:hover, .topic-item:has(a):hover {
        transform: scale(1.012);
        border-color: #9ebbd0;
        box-shadow: 0 4px 12px rgba(32, 64, 84, .09);
    }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Keep contact actions visible on desktop and collapse them into a mobile action bar. */
.float-bar {
    right: 18px;
    top: 58%;
    gap: 6px;
}

.float-item { width: 48px; height: 48px; }

.float-label { display: none; }

.float-bar .float-top { display: none; }

.float-bar .float-top.is-visible { display: flex; }

.article-content .medical-disclaimer,
.rich-article .medical-disclaimer { display: none !important; }

@media (max-width: 768px) {
    body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }

    .top-strip { display: none; }

    .banner-slide,
    .banner-slide .banner-img { height: 240px; }

    .home-main {
        display: flex;
        flex-direction: column;
    }

    .home-main > .home-intro { order: 1; }

    .home-main > .home-features { order: 2; }

    .home-main > .home-overview { order: 3; }

    .home-main > .home-services { order: 4; }

    .home-main > .home-team { order: 5; }

    .home-main > .home-support { order: 6; }

    .home-main > .slogan-bar,
    .home-main > .home-team ~ .home-team,
    .home-main .hospital-services,
    .home-main .home-stats { display: none; }

    .home-main .section { padding: 28px 0; }

    .home-main .column-heading { margin-bottom: 16px; }

    .home-main .column-heading h2,
    .home-main .intro-title { font-size: 22px; line-height: 1.4; }

    .home-main .column-heading a,
    .home-main .section-more a { min-height: 44px; display: inline-flex; align-items: center; }

    .home-main .section-lead,
    .home-main .intro-summary,
    .home-main .hospital-news-row p,
    .home-main .card-summary,
    .home-main .doctor-title,
    .home-main .doctor-desc,
    .home-main .faq-a,
    .home-main .contact-list { font-size: 15px; line-height: 1.75; }

    .home-main .hospital-news-row:nth-of-type(n + 3),
    .home-main .service-entries a:nth-child(n + 7) { display: none; }

    .home-main .intro-gallery {
        grid-template-columns: minmax(0, 1fr);
        max-width: 520px;
    }

    .home-main .intro-photo:nth-child(n + 2) { display: none; }

    .home-main .home-services .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .home-main .home-services .card:nth-child(n + 5) { display: none; }

    .home-main .home-services .card-cover { display: none; }

    .home-main .home-services .card-body { padding: 14px; }

    .home-main .home-services .card-title { font-size: 16px; line-height: 1.5; }

    .home-main .home-features .feature-grid {
        grid-template-columns: minmax(0, 1fr);
        grid-auto-rows: auto;
        gap: 12px;
        margin-top: 22px;
    }

    .home-main .home-features .feature-item {
        min-height: 122px;
        padding: 22px 20px 18px;
    }

    .home-main .home-features .feature-idx {
        top: 10px;
        right: 14px;
        font-size: 52px;
    }

    .home-main .home-features .feature-name {
        max-width: calc(100% - 68px);
        margin-top: 10px;
        font-size: 18px;
    }

    .home-main .home-features .feature-desc {
        max-width: calc(100% - 42px);
        margin-top: 14px;
    }

    .home-main .home-team .doctor-grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: 360px;
    }

    .home-main .home-team .doctor-card:nth-child(n + 2),
    .home-main .home-team .director-quote,
    .home-main .home-team .director-name { display: none; }

    .home-main .home-team .doctor-photo { display: none; }

    .home-main .home-team .doctor-card { padding: 18px; }

    .home-main .home-support-grid { gap: 20px; }

    .float-bar {
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        transform: none;
        display: flex;
        flex-direction: row;
        align-items: stretch;
        gap: 0;
        padding: 6px 10px calc(6px + env(safe-area-inset-bottom));
        border-top: 1px solid var(--border);
        background: rgba(255, 255, 255, .98);
        box-shadow: 0 -6px 18px rgba(32, 64, 84, .12);
        z-index: 500;
    }

    .float-bar .float-action-wechat { display: none; }

    .float-bar .float-item:not(.float-action-wechat):not(.float-top) {
        flex: 1 1 0;
        width: auto;
        max-width: none;
        height: 52px;
        flex-direction: column;
        gap: 3px;
        border-radius: 0;
        box-shadow: none;
    }

    .float-bar .float-item + .float-item { border-left: 1px solid rgba(255, 255, 255, .22); }

    .float-bar .float-label {
        display: block;
        font-size: 12px;
        line-height: 1.2;
    }

    .float-bar .float-item .medical-icon { width: 20px; height: 20px; }

    .float-bar .float-pop { display: none; }

    .float-bar .float-top.is-visible {
        position: fixed;
        right: 12px;
        bottom: calc(76px + env(safe-area-inset-bottom));
        width: 42px;
        height: 42px;
        border: 0;
        border-radius: 50%;
        box-shadow: 0 6px 16px rgba(32, 64, 84, .24);
    }
}
