:root {
    --red: #c8102e;
    --red-dark: #9a0b22;
    --red-soft: #fdecef;
    --navy: #12233d;
    --navy-2: #1b3050;
    --blue: #1c6ea4;
    --teal: #0d8a8a;
    --ink: #17202c;
    --text: #26313f;
    --muted: #6b7788;
    --line: #e6eaf0;
    --bg: #f5f7fa;
    --card: #ffffff;
    --shadow: 0 10px 30px rgba(18, 35, 61, .08);
    --shadow-sm: 0 4px 14px rgba(18, 35, 61, .06);
    --radius: 16px;
    --radius-sm: 10px;
    --container: 1200px;
    --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
    margin: 0;
    overflow-x: hidden;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
iframe, video { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.35; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 880px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: .22s ease;
    white-space: nowrap;
}
.btn-lg { height: 50px; padding: 0 26px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 18px rgba(200, 16, 46, .22); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-outline { border-color: #d4dae3; color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn-light { background: #fff; color: var(--red); }
.btn-light:hover { background: #fff5f6; }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); }

/* ---------- Topbar / Header ---------- */
.topbar { background: var(--navy); color: #b9c5d6; font-size: 12.5px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 12px; }
.topbar-right { display: flex; gap: 22px; align-items: center; }
.topbar-phone { color: #fff; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 18px; height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
    display: grid; place-items: center; width: 42px; height: 42px;
    border-radius: 12px; background: linear-gradient(135deg, var(--red), #e8505f);
    color: #fff; font-weight: 800; font-size: 20px; letter-spacing: -1px;
    box-shadow: 0 8px 18px rgba(200, 16, 46, .22);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-size: 17px; color: var(--ink); letter-spacing: .2px; }
.logo-text small { font-size: 11.5px; color: var(--muted); letter-spacing: .5px; }
.main-nav { display: flex; gap: 2px; margin-left: auto; flex-wrap: nowrap; }
.main-nav a { padding: 10px 9px; border-radius: 8px; font-size: 14.5px; color: #34404f; font-weight: 500; position: relative; white-space: nowrap; }
.main-nav a:hover { color: var(--red); background: #faf3f4; }
.main-nav a.active { color: var(--red); font-weight: 700; }
.main-nav a.active::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 2px; height: 2px; background: var(--red); border-radius: 2px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-search { display: flex; align-items: center; border: 1px solid var(--line); background: #f8fafc; border-radius: 999px; height: 38px; padding: 0 6px 0 14px; }
.header-search input { border: 0; background: transparent; width: 128px; outline: none; font-size: 13px; color: var(--text); }
.header-search button { border: 0; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.header-search button:hover { color: var(--red); }
.menu-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 0; cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); border-radius: 2px; transition: .2s; }
.mobile-nav { display: none; background: #fff; border-bottom: 1px solid var(--line); }
.mobile-nav.open { display: block; }
.mobile-nav-inner { padding: 10px 24px 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.mobile-nav a { padding: 10px 4px; border-bottom: 1px solid #f0f2f6; font-size: 14.5px; color: var(--text); }
.mobile-nav a.active { color: var(--red); font-weight: 700; }
.mobile-call { grid-column: 1 / -1; margin-top: 6px; text-align: center; background: var(--red-soft); border-radius: 10px; color: var(--red); font-weight: 700; }

/* ---------- Flash ---------- */
.flash-wrap { padding-top: 18px; }
.flash { padding: 12px 16px; border-radius: 10px; margin-bottom: 10px; font-size: 14px; }
.flash-success { background: #e9f8f0; color: #14754a; border: 1px solid #bfe9d5; }
.flash-error { background: #fdecef; color: #a40d27; border: 1px solid #f6c6cf; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(120deg, #101f36 0%, #172c49 45%, #3c1620 100%); color: #fff; padding: 24px 0 0; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; }
.hero-orb-1 { width: 420px; height: 420px; right: -80px; top: -120px; background: radial-gradient(circle at 30% 30%, rgba(232, 80, 95, .55), transparent 65%); }
.hero-orb-2 { width: 360px; height: 360px; left: -120px; bottom: -140px; background: radial-gradient(circle at 60% 40%, rgba(28, 110, 164, .6), transparent 70%); }
.hero-grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: center; padding-bottom: 16px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; letter-spacing: 1.6px; text-transform: uppercase; color: #ffb3bf; font-weight: 700; }
.hero h1 { color: #fff; font-size: 30px; line-height: 1.2; margin: 8px 0 10px; letter-spacing: -.5px; }
.hero h1 em { font-style: normal; color: #ff8b9b; }
.hero-sub { color: #c9d4e2; max-width: 540px; font-size: 14px; }
.hero-sub strong { color: #fff; }
.hero-points { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 12px; color: #dfe7f0; font-size: 12.5px; }
.hero-points .check { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 6px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #8fe0c2; font-size: 11px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-form-card { background: #fff; color: var(--text); border-radius: 14px; padding: 16px; box-shadow: 0 18px 44px rgba(0, 0, 0, .28); }
.form-card-head { margin-bottom: 8px; }
.form-card-head h2 { font-size: 16px; }
.form-card-head p { color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.hero-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; }
.hero-form-grid .field { margin-bottom: 0; }
.hero-stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .1); border-radius: 12px; overflow: hidden; margin-bottom: -16px; }
.stat { background: rgba(10, 22, 38, .55); padding: 10px 14px; backdrop-filter: blur(6px); }
.stat strong { display: block; font-size: 21px; color: #fff; line-height: 1; }
.stat strong small { font-size: 12px; font-weight: 500; margin-left: 3px; color: #c9d4e2; }
.stat span { font-size: 12.5px; color: #9fb0c6; }

/* ---------- Forms ---------- */
.field { margin-bottom: 9px; }
.field label { display: block; font-size: 12.5px; color: #475569; margin-bottom: 4px; font-weight: 600; }
.field label em { color: var(--red); font-style: normal; }
.field input, .field select, .field textarea {
    width: 100%; border: 1px solid #dfe4ec; background: #fbfcfe; border-radius: 8px;
    padding: 8px 10px; outline: none; color: var(--text); transition: .2s; font-size: 13.5px;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); background: #fff; box-shadow: 0 0 0 3px rgba(200, 16, 46, .08); }
.field textarea { resize: vertical; }
.form-tip { font-size: 12px; color: var(--muted); margin-top: 8px; line-height: 1.6; }
.form-feedback { display: none; margin-top: 10px; padding: 10px 12px; border-radius: 8px; font-size: 13px; }
.form-feedback.show { display: block; }
.form-feedback.ok { background: #e9f8f0; color: #14754a; }
.form-feedback.err { background: #fdecef; color: #a40d27; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }

/* ---------- Sections ---------- */
.section { padding: 42px 0; }
.section.alt-bg { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 18px; }
.section-head.compact { margin-bottom: 18px; align-items: center; }
.section-kicker { display: inline-block; font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--red); font-weight: 700; margin-bottom: 8px; }
.section-head h2 { font-size: 26px; letter-spacing: -.5px; }
.section-desc { color: var(--muted); font-size: 14px; margin-top: 8px; }
.more-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13.5px; white-space: nowrap; padding-bottom: 4px; }
.more-link:hover { color: var(--red); }
.province-section { padding-bottom: 22px; }
.hot-section { margin-top: 0; padding-top: 20px; }

/* ---------- Province chips ---------- */
.province-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.province-chip { display: inline-flex; align-items: center; font-size: 13px; color: #44546a; background: #f7f9fc; border: 1px solid var(--line); border-radius: 999px; padding: 5px 15px; line-height: 1.6; transition: .2s; }
.province-chip:hover { color: var(--red); background: #fff; border-color: var(--red); box-shadow: 0 4px 12px rgba(20, 38, 63, .08); transform: translateY(-1px); }

/* ---------- Hospital cards ---------- */
.hospital-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hospital-grid-list { grid-template-columns: repeat(3, 1fr); }
.hospital-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .25s; }
.hospital-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #f0c9d2; }
.hospital-thumb { position: relative; aspect-ratio: 16 / 10; background: #eef2f7; overflow: hidden; }
.hospital-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hospital-card:hover .hospital-thumb img { transform: scale(1.05); }
.hospital-region { display: inline-block; align-self: flex-start; font-size: 11.5px; font-weight: 700; color: var(--red); background: var(--red-soft); border-radius: 999px; padding: 2px 10px; margin-bottom: 8px; letter-spacing: .5px; }
.hospital-badge { position: absolute; left: 10px; top: 10px; background: rgba(18, 35, 61, .78); color: #fff; font-size: 11.5px; padding: 3px 10px; border-radius: 999px; backdrop-filter: blur(4px); }
.hospital-info { padding: 16px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.hospital-info h3 { font-size: 16px; line-height: 1.45; min-height: 46px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hospital-addr { font-size: 12.5px; color: var(--muted); margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hospital-meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 12px; border-top: 1px dashed #edf0f4; }
.price { color: var(--red); font-weight: 700; font-size: 16px; }
.hospital-link { font-size: 12.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 3px; }
.hospital-card:hover .hospital-link { color: var(--red); }

/* ---------- Article cards / rows ---------- */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.article-grid-list { grid-template-columns: repeat(3, 1fr); }
.article-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 20px 16px; display: flex; flex-direction: column; transition: .25s; }
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #f0c9d2; }
.article-body { display: flex; flex-direction: column; flex: 1; }
.article-cat { align-self: flex-start; font-size: 11.5px; color: var(--red); background: var(--red-soft); border-radius: 999px; padding: 2px 10px; font-weight: 700; letter-spacing: .3px; }
.article-body h3 { font-size: 16.5px; margin: 10px 0 8px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 51px; }
.article-body p { font-size: 13px; color: var(--muted); line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-body time { font-size: 12px; color: #97a2b1; margin-top: auto; padding-top: 12px; border-top: 1px dashed #eef1f6; }
.article-rows { display: flex; flex-direction: column; }
.article-row { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px dashed #e8ecf2; }
.article-row-main { flex: 1; min-width: 0; }
.article-row:last-child { border-bottom: 0; }
.article-row-date { flex-shrink: 0; width: 46px; height: 46px; border-radius: 10px; background: #f4f7fb; display: grid; place-items: center; font-size: 12px; color: var(--red); font-weight: 700; }
.article-row-main h3 { font-size: 15px; font-weight: 600; line-height: 1.45; transition: .2s; }
.article-row:hover h3 { color: var(--red); }
.article-row-main p { font-size: 12.5px; color: var(--muted); margin-top: 3px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 100%; }
.article-row-cat { margin-left: auto; flex-shrink: 0; font-size: 11px; color: #93a3b8; align-self: center; }

/* ---------- Q&A columns ---------- */
.qa-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.qa-panel { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px 6px; box-shadow: var(--shadow-sm); }
.qa-panel .section-head { margin-bottom: 4px; padding-bottom: 12px; border-bottom: 1px solid #eef2f7; }
.qa-panel .article-row { padding: 12px 0; }
.qa-panel .section-head h2 { font-size: 22px; }
.media-section .qa-panel { border-color: #dfe6ef; box-shadow: 0 8px 22px rgba(18, 35, 61, .07); }
.media-section.alt-bg { background: #f2f5fa; border-top-color: #e6eaf0; border-bottom-color: #e6eaf0; }

/* ---------- Intro ---------- */
.intro-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: center; }
.intro-copy h2 { font-size: 30px; margin-bottom: 16px; }
.intro-copy p { color: var(--muted); margin-bottom: 12px; font-size: 14.5px; }
.intro-copy .btn { margin-top: 10px; }
.intro-figures { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.figure-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 18px; box-shadow: var(--shadow-sm); }
.figure-card strong { display: block; font-size: 24px; color: var(--red); }
.figure-card span { font-size: 12.5px; color: var(--muted); }

/* ---------- Page hero ---------- */
.page-hero { background: linear-gradient(120deg, #14263f, #203a5c); color: #fff; padding: 28px 0 30px; }
.page-hero h1 { color: #fff; font-size: 28px; margin: 10px 0 6px; }
.page-hero p { color: #b9c7d9; font-size: 14px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #93a6bd; flex-wrap: wrap; }
.breadcrumb a { color: #c7d4e3; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: .5; }
.breadcrumb em { font-style: normal; color: #fff; max-width: 60vw; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* ---------- List layout ---------- */
.list-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; padding: 36px 0 64px; }
.article-list-layout { padding-top: 30px; padding-bottom: 56px; }
/* 列表页底部咨询卡片：通栏改为居中横向条，与分页拉开距离 */
.article-aside { margin-top: 46px; }
.list-cta {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 22px 28px;
    background: linear-gradient(135deg, #fff6f7, #fff);
    border: 1px solid #f3d3d9;
    border-radius: 16px;
}
.list-cta h3 { font-size: 18px; margin-bottom: 6px; }
.list-cta p { font-size: 13px; color: var(--muted); margin: 0; }
.list-cta-actions { flex-shrink: 0; }
.list-cta .btn { min-width: 200px; height: 46px; font-size: 15px; }
.filter-sidebar { display: flex; flex-direction: column; gap: 18px; }
.sidebar-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.sidebar-card h3 { font-size: 16px; margin-bottom: 12px; }
.side-province-list { display: flex; flex-direction: column; max-height: 460px; overflow: auto; margin: -4px -6px; padding: 4px 6px; }
.side-province { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: 8px; font-size: 13.5px; color: #425061; }
.side-province span { font-size: 11.5px; color: #9aa6b6; }
.side-province:hover { background: #f7f9fc; color: var(--red); }
.side-province.active { background: var(--red-soft); color: var(--red); font-weight: 700; }
.sidebar-card.side-cta { background: linear-gradient(160deg, #fff6f7, #fff); border-color: #f7d5db; }
.sidebar-card.side-cta p { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.side-cta-link { display: block; text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.side-phone { display: block; font-size: 26px; font-weight: 800; color: var(--red); margin: 4px 0; }
.side-small { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.side-links { display: flex; flex-direction: column; gap: 2px; }
.side-links a { padding: 8px 0; border-bottom: 1px dashed #eef1f5; font-size: 13.5px; color: #425061; }
.side-links a:hover { color: var(--red); }

.list-main { min-width: 0; }
.list-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.list-search { display: flex; gap: 8px; flex: 1; max-width: 430px; }
.list-search input { flex: 1; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 9px 14px; outline: none; font-size: 14px; }
.list-search input:focus { border-color: var(--red); }
.list-search .btn { height: 40px; }
.list-count { font-size: 13px; color: var(--muted); }
.list-count strong { color: var(--red); }

.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.cat-chip { display: inline-flex; align-items: center; gap: 5px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 13px; color: #4a586a; transition: .2s; }
.cat-chip span { font-size: 11px; color: #9aa6b6; }
.cat-chip:hover { border-color: var(--red); color: var(--red); }
.cat-chip.active { background: var(--red); border-color: var(--red); color: #fff; }
.cat-chip.active span { color: rgba(255, 255, 255, .8); }

.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 34px; }
.pager a { min-width: 38px; height: 38px; display: inline-grid; place-items: center; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 13px; color: #475569; }
.pager a:hover { border-color: var(--red); color: var(--red); }
.pager a.active { background: var(--red); border-color: var(--red); color: #fff; font-weight: 700; }
.pager-gap { min-width: 24px; height: 38px; display: inline-grid; place-items: center; color: #9aa6b6; font-size: 13px; }

.list-note { margin-top: 36px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; }
.list-note h3 { font-size: 18px; margin-bottom: 8px; }
.list-note p { color: var(--muted); font-size: 13.5px; }

.empty-state { background: #fff; border: 1px dashed #d8dfe9; border-radius: 14px; padding: 46px 24px; text-align: center; }
.empty-state h3 { font-size: 19px; margin-bottom: 6px; }
.empty-state p { color: var(--muted); font-size: 13.5px; margin-bottom: 16px; }
.empty-tip { color: var(--muted); font-size: 13px; padding: 10px 0; }

/* ---------- Detail pages ---------- */
.detail-head { background: linear-gradient(120deg, #f7f9fc, #eef3f9); padding: 24px 0 34px; border-bottom: 1px solid var(--line); }
.detail-head .breadcrumb { color: #8593a6; margin-bottom: 16px; }
.detail-head .breadcrumb a { color: #5b6b7f; }
.detail-head .breadcrumb em { color: #26313f; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.hospital-hero { display: grid; grid-template-columns: 380px 1fr; overflow: hidden; }
.hospital-hero.no-media { grid-template-columns: 1fr; }
.hospital-hero-media { background: #eef2f7; min-height: 300px; }
.hospital-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hospital-hero-body { padding: 28px 32px; }
.hospital-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.tag { font-size: 11.5px; color: #5b6b7f; background: #f1f4f8; border-radius: 999px; padding: 3px 10px; }
.tag-red { background: var(--red-soft); color: var(--red); font-weight: 700; }
.hospital-hero h1 { font-size: 31px; margin-bottom: 10px; }
.hospital-summary { color: var(--muted); font-size: 14px; max-width: 780px; }
.hospital-facts { margin: 16px 0; display: grid; gap: 5px; font-size: 13px; color: #4b5a6d; }
.hospital-facts li strong { display: inline-block; color: #8592a4; font-weight: 500; width: 50px; }
.hospital-price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: 18px; padding-top: 18px; border-top: 1px dashed #e8ecf2; flex-wrap: wrap; }
.price-box small { display: block; color: var(--muted); font-size: 12px; }
.price-box strong { font-size: 32px; color: var(--red); line-height: 1.2; display: inline-block; }
.price-box span { font-size: 11.5px; color: #9aa6b6; margin-left: 6px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }

.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 26px; padding: 30px 0 70px; align-items: start; }
.detail-main { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.content-card { padding: 28px 32px; }
.content-card h2 { font-size: 22px; margin-bottom: 16px; }
.rich-content { font-size: 15px; line-height: 1.95; color: #34404f; overflow-wrap: anywhere; }
.rich-content p { margin: 0 0 14px; }
.rich-content h2, .rich-content h3, .rich-content h4 { margin: 26px 0 12px; }
.rich-content h3 { font-size: 19px; }
.rich-content ul, .rich-content ol { margin: 0 0 16px; padding-left: 22px; list-style: disc; }
.rich-content ol { list-style: decimal; }
.rich-content li { margin-bottom: 6px; }
.rich-content img { border-radius: 10px; margin: 14px 0; }
.rich-content a { color: var(--blue); }
.rich-content table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.rich-content td, .rich-content th { border: 1px solid var(--line); padding: 8px 10px; }
.rich-content blockquote { margin: 16px 0; padding: 12px 18px; border-left: 3px solid var(--red); background: #fafbfd; color: #556274; }

.notice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.notice-grid div { background: #f8fafc; border: 1px solid #eef2f7; border-radius: 12px; padding: 14px 16px; }
.notice-grid strong { font-size: 13px; color: var(--red); display: block; margin-bottom: 4px; }
.notice-grid p { font-size: 13px; color: var(--muted); }
.notice-text { margin-top: 14px; font-size: 13px; color: #6b7788; background: #fff9f0; border: 1px solid #f6e4c4; border-radius: 10px; padding: 12px 14px; }

.detail-aside { position: sticky; top: 94px; display: flex; flex-direction: column; gap: 18px; }
.booking-card { padding: 24px; border-color: #f0ccd4; box-shadow: 0 16px 40px rgba(200, 16, 46, .08); }
.booking-card-head { margin-bottom: 16px; }
.booking-card-head .eyebrow { color: var(--red); }
.booking-card-head h2 { font-size: 19px; margin: 4px 0; }
.booking-card-head p { font-size: 12.5px; color: var(--muted); }
.booking-card-foot { margin-top: 16px; padding-top: 14px; border-top: 1px dashed #e8ecf2; display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; color: var(--muted); text-align: center; }
.booking-card-foot a { color: var(--red); font-weight: 800; font-size: 20px; }
.aside-trust { padding: 20px 22px; }
.aside-trust h3 { font-size: 15px; margin-bottom: 10px; }
.aside-trust li { font-size: 13px; color: #556274; padding: 5px 0; display: flex; gap: 8px; align-items: center; }
.aside-trust li span { color: var(--teal); font-weight: 800; }

/* ---------- Article detail ---------- */
.article-hero { background: #fff; border-bottom: 1px solid var(--line); padding: 30px 0 34px; }
.article-hero .breadcrumb { margin-bottom: 16px; color: #8593a6; }
.article-hero .breadcrumb a { color: #5b6b7f; }
.article-hero .article-cat { display: inline-block; background: var(--red-soft); color: var(--red); border-radius: 999px; padding: 3px 12px; font-size: 12px; font-weight: 700; }
.article-hero h1 { font-size: 30px; line-height: 1.45; margin: 10px 0 12px; letter-spacing: -.5px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 12.5px; color: #8a97a8; }
.article-detail-wrap { padding: 26px 0 70px; display: flex; flex-direction: column; gap: 22px; }
.article-content { padding: 34px 40px; }
.article-lead { font-size: 15px; color: #556274; background: #f7f9fc; border-left: 3px solid var(--red); padding: 14px 18px; border-radius: 0 8px 8px 0; margin-bottom: 22px !important; }
.article-disclaimer { margin-top: 26px; padding: 14px 16px; background: #f8fafc; border: 1px dashed #dfe5ee; border-radius: 10px; font-size: 12.5px; color: #758398; }
.article-nav { display: flex; justify-content: space-between; gap: 24px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.article-nav a { max-width: 48%; font-size: 13px; color: #4b5a6d; display: flex; flex-direction: column; gap: 2px; }
.article-nav a span { font-size: 11.5px; color: #97a2b1; }
.article-nav a:hover { color: var(--red); }
.article-nav-next { text-align: right; margin-left: auto; }
.article-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 30px; background: linear-gradient(135deg, #fff6f7, #fff); border-color: #f3d3d9; flex-wrap: wrap; }
.article-cta h3 { font-size: 20px; margin-bottom: 4px; }
.article-cta p { font-size: 13px; color: var(--muted); }
.article-cta-actions { display: flex; gap: 10px; }
.related-articles .section-head h2 { font-size: 22px; }

/* ---------- Page / search / 404 ---------- */
.page-layout { display: grid; grid-template-columns: 1fr 320px; gap: 26px; padding: 32px 0 70px; align-items: start; }
.page-content { padding: 34px 38px; }
.page-aside { display: flex; flex-direction: column; gap: 18px; }
.search-wrap { padding: 34px 0 70px; }
.search-page-form { display: flex; gap: 10px; max-width: 720px; margin-bottom: 30px; }
.search-page-form input { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 0 22px; height: 50px; font-size: 15px; outline: none; background: #fff; }
.search-page-form input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(200, 16, 46, .08); }
.search-block { margin-bottom: 36px; }
.count { display: inline-block; background: #f0f3f8; color: var(--muted); border-radius: 999px; font-size: 12px; padding: 1px 9px; vertical-align: middle; }
.search-rows { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px 22px; }
.notfound { padding: 40px 0 80px; }
.notfound-code { font-size: 76px; font-weight: 800; color: var(--red); line-height: 1; margin-bottom: 10px; letter-spacing: -2px; }
.notfound-actions { display: flex; gap: 10px; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b7c4d6; margin-top: 20px; }
.footer-cta { background: linear-gradient(120deg, #a80d26, #d32445); color: #fff; }
.footer-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 32px 0; flex-wrap: wrap; }
.footer-cta h2 { color: #fff; font-size: 24px; margin-bottom: 4px; }
.footer-cta p { font-size: 13px; color: #ffd6dc; }
.footer-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 40px; padding: 52px 0 40px; }
.footer-logo .logo-text strong { color: #fff; }
.footer-logo .logo-text small { color: #8fa1b8; }
.footer-about p { font-size: 13px; color: #9fb0c6; margin-top: 14px; line-height: 1.8; }
.footer-contact { display: flex; flex-direction: column; gap: 3px; }
.footer-contact a { color: #fff; }
.footer-col h3 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col li a { font-size: 13px; color: #9fb0c6; }
.footer-col li a:hover { color: #fff; }
.footer-links-inline { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom-inner { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; padding: 18px 0; font-size: 12px; color: #899bb2; }
.footer-bottom-inner a { color: #899bb2; }
.footer-disclaimer { margin-left: auto; color: #7d8ea5; }

/* ---------- Mobile bar ---------- */
.mobile-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); grid-template-columns: 1fr 1.4fr; gap: 10px; }
.mobile-bar a { height: 44px; border-radius: 10px; display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.mobile-bar-call { border: 1px solid var(--red); color: var(--red); }
.mobile-bar-book { background: var(--red); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
    .main-nav { display: none; }
    .menu-toggle { display: block; }
    .header-search { display: none; }
}
@media (max-width: 1100px) {
    .main-nav { display: none; }
    .menu-toggle { display: block; }
    .header-search { display: none; }
    .hero-inner { grid-template-columns: 1fr; gap: 24px; }
    .hero h1 { font-size: 28px; }
    .hero-form-card { max-width: 560px; }
    .hospital-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-main { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-col:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
    .qa-columns { grid-template-columns: 1fr; gap: 30px; }
    .list-layout { grid-template-columns: 1fr; }
    .filter-sidebar { flex-direction: row; flex-wrap: wrap; }
    .sidebar-card { flex: 1; min-width: 240px; }
    .side-province-list { max-height: 260px; }
    .detail-layout { grid-template-columns: 1fr; }
    .detail-aside { position: static; }
    .article-grid-list { grid-template-columns: repeat(2, 1fr); }
    .hospital-grid, .hospital-grid-list { grid-template-columns: repeat(2, 1fr); }
    .article-grid { grid-template-columns: repeat(2, 1fr); }
    .page-layout { grid-template-columns: 1fr; }
    .hospital-hero { grid-template-columns: 280px 1fr; }
    .intro-inner { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 720px) {
    .article-aside { margin-top: 34px; }
    .list-cta { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; }
    .list-cta .btn { width: 100%; }
    .container { padding: 0 16px; }
    .topbar-note, .topbar-right span:first-child { display: none; }
    .topbar-inner { justify-content: center; }
    .header-inner { height: 64px; gap: 10px; }
    .header-book { display: none; }
    .logo-mark { width: 36px; height: 36px; font-size: 17px; }
    .logo-text strong { font-size: 15px; }
    .logo-text small { font-size: 10.5px; }
    .hero { padding-top: 22px; }
    .hero h1 { font-size: 24px; }
    .hero-inner { padding-bottom: 18px; }
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .stat { padding: 12px; }
    .stat strong { font-size: 20px; }
    .section { padding: 34px 0; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
    .section-head h2 { font-size: 23px; }
    .hospital-grid, .hospital-grid-list { grid-template-columns: repeat(2, 1fr); }
    .article-grid, .article-grid-list { grid-template-columns: repeat(2, 1fr); }
    .article-row-cat { display: none; }
    .article-row-main p { max-width: 100%; }
    .article-row-date { width: 40px; height: 40px; font-size: 11px; }
    .hero-form-card { padding: 16px; }
    .hero-form-grid { grid-template-columns: 1fr; }
    .page-hero { padding: 24px 0 28px; }
    .page-hero h1 { font-size: 25px; }
    .breadcrumb em { max-width: 46vw; }
    .hospital-hero { grid-template-columns: 1fr; }
    .hospital-hero-media { min-height: 200px; aspect-ratio: 16 / 9; }
    .hospital-hero-body { padding: 20px; }
    .hospital-hero h1 { font-size: 24px; }
    .hospital-price-row { flex-direction: column; align-items: flex-start; }
    .detail-layout { padding-top: 20px; }
    .content-card { padding: 20px 18px; }
    .content-card h2 { font-size: 19px; }
    .rich-content { font-size: 14.5px; line-height: 1.9; }
    .notice-grid { grid-template-columns: 1fr; }
    .booking-card { padding: 20px; }
    .article-hero h1 { font-size: 26px; }
    .article-content { padding: 22px 18px; }
    .article-nav { flex-direction: column; gap: 12px; }
    .article-nav a { max-width: 100%; }
    .article-cta { padding: 20px; }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 26px; padding: 36px 0 28px; }
    .footer-about { grid-column: 1 / -1; }
    .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 6px; }
    .footer-disclaimer { margin-left: 0; }
    .mobile-bar { display: grid; }
    body { padding-bottom: 62px; }
    .site-footer { margin-bottom: 0; }
    .list-search { max-width: none; }
    .search-page-form { flex-direction: column; }
    .search-page-form .btn { width: 100%; }
    .article-lead { font-size: 14px; }
    .notfound-code { font-size: 56px; }
    .rich-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .rich-content th, .rich-content td { white-space: nowrap; }
    .hospital-hero-body, .content-card, .booking-card { border-radius: 12px; }
    .breadcrumb { font-size: 12px; }
}

@media (max-width: 560px) {
    .hospital-grid, .hospital-grid-list,
    .article-grid, .article-grid-list { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 21px; }
    .hero-sub { font-size: 13.5px; }
    .hero-stats { gap: 8px; }
    .stat { padding: 12px; border-radius: 12px; }
    .stat strong { font-size: 20px; }
    .stat small { font-size: 11.5px; }
    .mobile-nav-inner { grid-template-columns: 1fr; }
    .page-hero h1 { font-size: 20px; }
    .hospital-hero h1 { font-size: 21px; }
    .hospital-hero-body { padding: 16px; }
    .hospital-price-row { gap: 10px; }
    .booking-card { padding: 16px; }
    .booking-card-head h2 { font-size: 18px; }
    .article-hero h1 { font-size: 21px; }
    .article-content { padding: 18px 14px; }
    .content-card { padding: 16px 14px; }
    .section-head h2 { font-size: 20px; }
    .footer-main { grid-template-columns: 1fr; }
    .footer-links-inline { grid-template-columns: 1fr 1fr; }
    .btn-lg { width: 100%; justify-content: center; }
    .mobile-bar { grid-template-columns: 1fr 1fr; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); }
    .mobile-bar a { font-size: 13px; }
    .topbar-phone { font-size: 12.5px; }
}
