/* index.html 页面私有样式 · 由 _check/extract_assets.py 自动抽离 */
:root{
    --primary:#1668b4; --primary-dark:#0d4f8b; --accent:#12b5a5;
    --bg:#f5f9fd; --card:#ffffff; --text:#1f2d3d; --muted:#6b7a90;
    --line:#e4edf6; --shadow:0 6px 24px rgba(22,104,180,.08);
  }
  *{margin:0;padding:0;box-sizing:border-box}
  body{font-family:"PingFang SC","Microsoft YaHei",sans-serif;color:var(--text);background:var(--bg);line-height:1.7}
  a{text-decoration:none;color:inherit}
  img{max-width:100%;display:block}
  .wrap{max-width:1200px;margin:0 auto;padding:0 20px}

  /* ===== 顶部信息条 ===== */
  .topbar{background:var(--primary-dark);color:#cfe3f7;font-size:13px}
  .topbar .wrap{display:flex;justify-content:space-between;align-items:center;height:36px}
  .topbar a{color:#fff;margin-left:16px}
  .topbar .hot{color:#ffd166;font-weight:600}

  /* ===== 头部导航 ===== */
  .header{background:#fff;box-shadow:0 2px 10px rgba(13,79,139,.06);position:sticky;top:0;z-index:100}
  .header .wrap{display:flex;align-items:center;height:76px;gap:32px}
  .logo{display:flex;align-items:center;gap:12px}
  .logo-mark{width:44px;height:44px;border-radius:12px;background:linear-gradient(135deg,var(--primary),var(--accent));display:flex;align-items:center;justify-content:center}
  .logo-name{font-size:20px;font-weight:700;color:var(--primary-dark);letter-spacing:1px}
  .logo-sub{font-size:10px;color:var(--muted);letter-spacing:1.5px;text-transform:uppercase}
  .nav{display:flex;gap:6px;flex:1;justify-content:flex-end}
  .nav a{padding:10px 14px;border-radius:8px;font-size:15px;color:var(--text);white-space:nowrap;transition:.2s}
  .nav a:hover{color:var(--primary);background:#eef5fc}
  .nav a.active{color:#fff;background:var(--primary)}
  .btn-booking{background:linear-gradient(135deg,var(--primary),var(--accent));color:#fff!important;padding:10px 22px;border-radius:24px;font-weight:600;font-size:15px}
    .menu-btn{display:none}
  .btn-booking:hover{opacity:.9}

  /* ===== Hero ===== */
  .hero{position:relative;min-height:480px;display:flex;align-items:center;justify-content:flex-start;overflow:hidden;background:#f5fafe}
  /* 主视觉图：改用 img 引用，将来把 src 换成 [slide:src] 即可接轮播调用 */
  .hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:right top;z-index:0}
  .hero::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(245,250,254,.96) 0%,rgba(245,250,254,.82) 38%,rgba(245,250,254,0) 65%)}
  .hero-inner{position:relative;z-index:2;padding:70px 40px;width:100%;margin:0 auto;text-align:left}
  .hero-tag{display:inline-block;background:#e3f2ef;color:#0e8f82;font-size:13px;font-weight:600;padding:6px 14px;border-radius:20px;margin-bottom:18px}
  .hero h1{font-size:40px;color:var(--primary-dark);line-height:1.3;margin-bottom:14px}
  .hero h1 em{font-style:normal;color:var(--accent)}
  .hero p{color:var(--muted);font-size:16px;max-width:460px;margin-bottom:28px}
  .hero-cta{display:flex;gap:14px}
  .btn{display:inline-block;padding:13px 30px;border-radius:28px;font-size:15px;font-weight:600;transition:.2s}
  .btn-primary{background:linear-gradient(135deg,var(--primary),var(--accent));color:#fff}
  .btn-primary:hover{opacity:.9}
  .btn-ghost{border:1.5px solid var(--primary);color:var(--primary);background:#fff}
  .btn-ghost:hover{background:#eef5fc}
  .hero-stats{display:flex;gap:40px;margin-top:40px}
  .hero-stats b{display:block;font-size:26px;color:var(--primary-dark)}
  .hero-stats span{font-size:13px;color:var(--muted)}

  /* ===== 快捷服务 ===== */
  .quick{margin-top:-36px;position:relative;z-index:5}
  .quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
  .quick-card{background:#fff;border-radius:14px;box-shadow:var(--shadow);padding:22px 20px;display:flex;gap:14px;align-items:center;transition:.2s}
  .quick-card:hover{transform:translateY(-3px)}
  .quick-ico{width:46px;height:46px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
  .quick-card b{font-size:16px;display:block}
  .quick-card span{font-size:13px;color:var(--muted)}

  /* ===== 通用板块 ===== */
  .section{padding:64px 0 0}
  .sec-head{text-align:center;margin-bottom:36px}
  .sec-head h2{font-size:28px;color:var(--primary-dark)}
  .sec-head h2::after{content:"";display:block;width:48px;height:3px;background:linear-gradient(90deg,var(--primary),var(--accent));border-radius:2px;margin:12px auto 0}
  .sec-head p{color:var(--muted);font-size:14px;margin-top:8px}

  /* 诊疗项目 */
  .dept-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
  .dept-card{background:#fff;border-radius:14px;padding:28px 22px;text-align:center;box-shadow:var(--shadow);transition:.2s;border-bottom:3px solid transparent}
  .dept-card:hover{transform:translateY(-4px);border-bottom-color:var(--accent)}
  .dept-ico{width:56px;height:56px;margin:0 auto 16px;border-radius:16px;background:linear-gradient(135deg,#e8f3fc,#e3f2ef);display:flex;align-items:center;justify-content:center}
  .dept-card b{font-size:17px;display:block;margin-bottom:6px}
  .dept-card span:not(.dept-ico){font-size:13px;color:var(--muted);display:block;line-height:1.6}

  /* 专家团队 */
  .doc-slider{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px;scrollbar-width:none;-ms-overflow-style:none}
  .doc-slider::-webkit-scrollbar{display:none}
  .doc-card{background:#fff;border-radius:14px;overflow:hidden;box-shadow:var(--shadow);transition:.2s;display:flex;flex:0 0 calc((100% - 54px)/4);scroll-snap-align:start}
  .doc-card:hover{transform:translateY(-4px)}
  .doc-card .avatar-col{width:33.33%;flex-shrink:0;overflow:hidden;position:relative}
  .doc-card .avatar-col img{width:100%;height:100%;object-fit:cover;object-position:top center;display:block;transition:.25s}
  .doc-card:hover .avatar-col img{transform:scale(1.04)}
  .doc-card .avatar-col::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(13,79,139,0) 82%,rgba(255,255,255,.9) 100%);pointer-events:none}
  .doc-info{padding:16px 16px;text-align:left;flex:1;min-width:0}
  .doc-info b{font-size:15.5px}
  .doc-info .title{color:var(--accent);font-size:12px;margin:4px 0}
  .doc-info p{font-size:12.5px;color:var(--muted)}
  .slider-ctrl{display:flex;justify-content:center;align-items:center;gap:18px;margin-top:28px}
  .ctrl-btn{width:42px;height:42px;border-radius:50%;border:1.5px solid var(--primary);background:#fff;color:var(--primary);font-size:19px;cursor:pointer;transition:.2s;line-height:1}
  .ctrl-btn:hover{background:var(--primary);color:#fff}
  .btn-viewall{display:inline-flex;align-items:center;gap:8px;background:linear-gradient(135deg,var(--primary),var(--accent));color:#fff;padding:11px 30px;border-radius:24px;font-weight:600;font-size:15px;transition:.2s}
  .btn-viewall:hover{opacity:.9}

  /* 科普/新闻 */
  .news-layout{display:grid;grid-template-columns:1.15fr 1fr;gap:20px}
  .news-feature{background:#fff;border-radius:14px;overflow:hidden;box-shadow:var(--shadow)}
  .news-feature .pic{height:220px;background:linear-gradient(135deg,#2c88d2,#37c3b0);display:flex;align-items:center;justify-content:center;color:#fff;font-size:15px;letter-spacing:2px}
  .news-feature .txt{padding:20px 24px}
  .news-feature .txt b{font-size:18px;display:block;margin-bottom:8px}
  .news-feature .txt p{font-size:14px;color:var(--muted)}
  .news-list{background:#fff;border-radius:14px;box-shadow:var(--shadow);padding:10px 24px}
  .news-item{display:flex;gap:16px;align-items:center;padding:15px 0;border-bottom:1px dashed var(--line)}
  .news-item:last-child{border-bottom:none}
  .news-date{flex-shrink:0;text-align:center;background:#f0f7fd;border-radius:10px;padding:8px 12px}
  .news-date b{display:block;color:var(--primary);font-size:18px}
  .news-date span{font-size:11px;color:var(--muted)}
  .news-item h4{font-size:15px;font-weight:600;line-height:1.5}
  .news-item p{font-size:12px;color:var(--muted);margin-top:2px}

  /* 分院 */
  .branch-band{margin-top:64px;background:linear-gradient(180deg,#f7fafd,#fff);padding:56px 0;color:var(--text);border-top:1px solid #eaf0f6}
  .branch-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:30px}
  .branch-card{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);border-radius:12px;padding:18px 20px}
  .branch-card b{font-size:15px;display:block;margin-bottom:4px}
  .branch-card span{font-size:13px;color:#cfe3f7}
  .branch-head{display:flex;justify-content:space-between;align-items:flex-end}
  .branch-head h2{font-size:26px}
  .branch-head p{color:#cfe3f7;font-size:14px}
  .branch-more{display:inline-block;font-size:14px;font-weight:400;color:#cfe3f7;margin-left:14px;vertical-align:2px;transition:.2s}
  .branch-more:hover{color:#fff}

  /* 预约条 */
  .cta-band{margin-top:56px;background:#fff;border-radius:16px;box-shadow:var(--shadow);padding:34px 40px;display:flex;justify-content:space-between;align-items:center;gap:20px}
  .cta-band h3{font-size:22px;color:var(--primary-dark)}
  .cta-band p{color:var(--muted);font-size:14px}
  .cta-band .phone{font-size:26px;font-weight:700;color:var(--accent)}

  /* Footer */
  .footer{margin-top:64px;background:#12283f;color:#9fb6cc;padding:48px 0 0;font-size:14px}
  .footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px;padding-bottom:36px}
  .footer h5{color:#fff;font-size:16px;margin-bottom:14px}
  .footer a{display:block;margin-bottom:8px}
  .footer a:hover{color:#fff}
  .footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:18px 0;font-size:12px;text-align:center;color:#6e8399}
  /* ===== 响应式适配 ===== */
  @media (max-width: 992px){
    .header .wrap{height:60px;gap:10px}
    .logo-mark{width:38px;height:38px;border-radius:10px}
    .logo-mark svg{width:22px;height:22px}
    .logo-name{font-size:16px}
    .logo-sub{display:none}
    .nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;grid-template-columns:repeat(3,1fr);gap:8px;padding:12px 16px 14px;box-shadow:0 12px 24px rgba(13,79,139,.14);border-top:1px solid #eef2f7;z-index:99}
    .nav.open{display:grid}
    .nav a{display:flex;align-items:center;justify-content:center;text-align:center;padding:12px 4px;font-size:13px;line-height:1.3;white-space:normal;border:1px solid #e8f0f8;border-radius:9px;background:#f7fafd;transition:.2s}
    .nav a:hover{background:#eef5fc;color:var(--primary)}
    .nav a.active{background:var(--primary);color:#fff;border-color:var(--primary);font-weight:600}
    .header .btn-booking{margin-left:auto;flex-shrink:0;padding:8px 14px;font-size:14px}
    .menu-btn{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:none;background:#eef5fc;color:var(--primary);border-radius:10px;cursor:pointer;flex-shrink:0}
    .menu-btn:active{background:#dcebfa}
    .dept-grid{grid-template-columns:repeat(2,1fr)}
    .quick-grid{grid-template-columns:repeat(2,1fr)}
    .news-layout{grid-template-columns:1fr}
    .doc-card{flex-basis:calc((100% - 18px)/2)}
    .branch-grid{grid-template-columns:1fr 1fr}
    .footer-grid{grid-template-columns:1fr 1fr}
  }
  @media (max-width: 640px){
    .wrap{padding:0 16px}
    .topbar{font-size:12px}
    .topbar .wrap>span:first-child{display:none}
    .topbar .wrap{justify-content:flex-end}
    .hero{min-height:auto;background:#f5fafe}
    .hero::before{background:linear-gradient(rgba(245,250,254,.88),rgba(245,250,254,.88))}
    .hero-inner{padding:30px 30px 50px;text-align:center}
    .hero h1{font-size:26px}
    .hero p{font-size:14px;margin-left:auto;margin-right:auto;text-wrap:pretty}
    .hero-cta{flex-wrap:wrap;justify-content:center}
    .btn{padding:11px 24px}
    .hero-stats{display:flex;flex-direction:column;gap:10px;margin-top:24px;align-items:center}
    .hero-stats div{display:flex;align-items:baseline;gap:10px;justify-content:center}
    .hero-stats b{font-size:17px;display:inline-block}
    .hero-stats span{font-size:12px}
    .quick{margin-top:-28px}
    .quick-grid{grid-template-columns:1fr 1fr;gap:12px}
    .quick-card{padding:12px 10px;min-width:0}
    .quick-card>span{min-width:0;flex:1}
    .quick-card span>span{font-size:11.5px;display:block;overflow-wrap:anywhere}
    .quick-ico{width:38px;height:38px;flex-shrink:0}
    .quick-ico svg{width:20px;height:20px}
    .quick-card b{font-size:13.5px}
    .section{padding-top:44px}
    .sec-head h2{font-size:21px}
    .dept-grid{grid-template-columns:1fr 1fr;gap:12px}
    .dept-card{padding:16px 10px;min-width:0;overflow-wrap:anywhere}
    .dept-ico{width:44px;height:44px;margin-bottom:10px}
    .dept-ico svg{width:24px;height:24px}
    .dept-card b{font-size:14px}
    .dept-card span{font-size:11.5px}
    .news-feature .txt{padding:16px 18px}
    .news-item h4{font-size:14px}
    .doc-slider{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px;scrollbar-width:none;-ms-overflow-style:none}
    .doc-card{flex:0 0 84%;scroll-snap-align:start}
    .doc-card .avatar-col{width:34%}
    .doc-info{padding:14px 14px}
    .doc-info b{font-size:16px}
    .doc-info .title{font-size:12.5px}
    .doc-info p{font-size:13px}
    .ctrl-btn{display:none}
    .branch-band{padding:40px 0;margin-top:44px}
    .branch-head{flex-direction:column;align-items:flex-start;gap:12px}
    .branch-grid{grid-template-columns:1fr}
    .cta-band{flex-direction:column;align-items:flex-start;gap:14px;padding:24px 22px;margin-top:40px}
    .cta-band .phone{font-size:20px}
    .slider-ctrl{gap:12px}
    .footer-grid{grid-template-columns:repeat(3,1fr);gap:14px}
    .footer-grid>div:first-child{grid-column:1/-1}
    .footer h5{font-size:14px;margin-bottom:10px}
    .footer a{font-size:13px;margin-bottom:6px}
    .footer-bottom{font-size:11px}
  }
  @media (max-width: 480px){
    .doc-card .avatar-col{width:36%}
  }
  @media (max-width: 360px){
    .topbar a{margin-left:7px;white-space:nowrap}
    .topbar .hot{font-size:11px}
    .topbar a:first-of-type{display:none}
  }
  @media (max-width: 640px){
    .quick-card{flex-direction:column;align-items:flex-start;gap:7px;padding:13px 11px}
    .quick-ico{width:32px;height:32px}
    .quick-ico svg{width:18px;height:18px}
    .quick-card b{font-size:13px}
    .quick-card span>span{font-size:11px;line-height:1.45}
    .logo-name{font-size:15px}
    .btn-booking{padding:8px 12px;font-size:12px}
  }

  /* 中等宽度：9项导航保持单行 */
  @media (min-width:993px) and (max-width:1280px){
    .header .wrap{gap:14px}
    .logo{flex-shrink:0;gap:9px}
    .logo-name{font-size:17px}
    .logo-sub{font-size:9px;letter-spacing:1px}
    .nav{gap:2px}
    .nav a{padding:8px 7px;font-size:13px;white-space:nowrap}
    .btn-booking{padding:8px 14px;font-size:13px}
  }

  /* PbootCMS 编辑器正文样式 */
  .pboot-content{font-size:15.5px;color:#33445c;line-height:1.9;word-wrap:break-word;min-width:0}
  .pboot-content p{margin:0 0 16px;text-align:justify}
  .pboot-content h2{font-size:20px;color:var(--primary-dark);margin:30px 0 14px;padding-left:12px;border-left:4px solid var(--accent);line-height:1.5}
  .pboot-content h3{font-size:17px;color:var(--primary-dark);margin:24px 0 10px}
  .pboot-content h4{font-size:16px;color:#40566f;margin:20px 0 8px}
  .pboot-content b,.pboot-content strong{color:var(--primary-dark);font-weight:600}
  .pboot-content ul,.pboot-content ol{margin:0 0 18px 22px}
  .pboot-content li{margin-bottom:8px}
  .pboot-content a{color:var(--primary);text-decoration:underline}
  .pboot-content a:hover{color:var(--primary-dark)}
  .pboot-content blockquote{margin:18px 0;padding:14px 18px;background:#f0f7fd;border-left:4px solid var(--primary);border-radius:0 10px 10px 0;color:#40566f}
  .pboot-content img{max-width:100%;height:auto;border-radius:10px;display:block;margin:18px auto}
  .pboot-content img[align="left"]{float:left;margin:6px 18px 12px 0}
  .pboot-content img[align="right"]{float:right;margin:6px 0 12px 18px}
  .pboot-content .art-img{border-radius:12px;margin:20px 0;height:220px;background:linear-gradient(135deg,#e8f3fc,#dceee9);display:flex;align-items:center;justify-content:center;color:#8aa4bd;font-size:14px;letter-spacing:2px;text-align:center;padding:0 16px}
  .pboot-content table{width:100%;border-collapse:collapse;margin:18px 0;font-size:14px}
  .pboot-content th,.pboot-content td{border:1px solid var(--line);padding:10px 12px;text-align:left;vertical-align:top}
  .pboot-content th{background:#eef5fc;color:var(--primary-dark);font-weight:600}
  .pboot-content hr{border:0;border-top:1px dashed var(--line);margin:24px 0}
  .pboot-content iframe,.pboot-content video{width:100%;max-width:100%;aspect-ratio:16/9;height:auto;border:0;border-radius:10px;margin:18px 0;background:#0d4f8b}
  .pboot-content code{background:#f0f5fa;border-radius:4px;padding:2px 6px;font-size:13px;color:#b5443f}
  .pboot-content pre{background:#f6f9fc;border:1px solid var(--line);border-radius:8px;padding:14px;overflow-x:auto;font-size:13px}
  .pboot-content .tip-box{background:#f0f7fd;border-left:4px solid var(--primary);border-radius:0 10px 10px 0;padding:14px 18px;margin:18px 0;font-size:14px;color:#40566f}
  .pboot-content:after{content:"";display:block;clear:both}
  @media (max-width:640px){
    .pboot-content{font-size:15px}
    .pboot-content h2{font-size:18px}
    .pboot-content h3{font-size:16px}
    .pboot-content table{display:block;overflow-x:auto;white-space:nowrap}
    .pboot-content img[align="left"],.pboot-content img[align="right"]{float:none;margin:14px auto}
    .pboot-content .art-img{height:160px;font-size:12px}
  }

  /* ===== 品牌LOGO与下拉导航（整站统一） ===== */
  .logo{gap:0}
  .logo-img{height:46px;width:auto;display:block}
  .foot-logo{width:46px;height:46px;border-radius:10px;background:#fff;padding:3px;margin-bottom:10px}
  .nav{display:flex;gap:2px;flex:1;justify-content:flex-end;align-items:center}
  .nav-link{display:inline-block;padding:10px 11px;border-radius:8px;font-size:14.5px;color:var(--text);white-space:nowrap;transition:.2s}
  .nav-link:hover{color:var(--primary);background:#eef5fc}
  .nav-link.active{color:#fff;background:var(--primary)}
  .nav-item{position:relative;display:flex;align-items:center}
  .nav-item>.nav-link{padding-right:4px}
  .drop-toggle{width:22px;height:28px;border:0;background:none;color:var(--muted);cursor:pointer;padding:0;display:flex;align-items:center;justify-content:center;transition:.2s;flex-shrink:0}
  .drop-toggle:hover{color:var(--primary)}
  .nav-item.open .drop-toggle svg{transform:rotate(180deg)}
  .drop-toggle svg{transition:transform .2s}
  .nav-drop{display:none;position:absolute;top:calc(100% + 8px);left:50%;transform:translateX(-50%);min-width:172px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 32px rgba(13,79,139,.16);padding:6px;z-index:120}
  .nav-drop::before{content:"";position:absolute;top:-12px;left:0;right:0;height:12px}
  .nav-item:hover .nav-drop,.nav-item.open .nav-drop{display:block}
  .nav-drop a{display:block;padding:9px 12px;border-radius:8px;font-size:14px;color:var(--text);white-space:nowrap;transition:.15s;border:0!important}
  .nav-drop a:hover,.nav-drop a.active{background:#eef5fc;color:var(--primary);font-weight:600}
  @media (min-width:993px) and (max-width:1280px){
    .logo-img{height:40px}
    .nav-link{padding:8px 6px;font-size:12.5px}
    .nav-item>.nav-link{padding-right:1px}
    .drop-toggle{width:18px}
    .nav-drop a{font-size:13px;padding:8px 10px}
  }
  @media (max-width:992px){
    .logo-img{height:38px}
    .nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;grid-template-columns:repeat(3,1fr);gap:8px;padding:12px 16px 14px;box-shadow:0 12px 24px rgba(13,79,139,.14);border-top:1px solid #eef2f7;z-index:99}
    .nav.open{display:grid}
    .nav-link{text-align:center;padding-left:0}
    .nav-item{display:block;width:100%}
    .nav-item>.nav-link{display:inline-block;padding:12px 6px;border-bottom:0!important}
    .nav-link.active{background:none!important;color:var(--primary)!important;font-weight:600}
    .drop-toggle{position:absolute;right:6px;top:11px;width:32px;height:32px}
    .nav-drop{position:static;transform:none;min-width:0;box-shadow:none;border:0;border-left:2px solid var(--line);border-radius:0;background:transparent;margin:0 0 4px 16px;padding:2px 0 4px 10px}
    .nav-drop::before{display:none}
    .nav-item:hover .nav-drop{display:none}
    .nav-item.open .nav-drop{display:block}
    .nav-drop a{padding:10px 8px;border-bottom:0!important}
    .nav-drop a.active{background:#eef5fc!important;color:var(--primary)!important}
  }
  @media (max-width:640px){.logo-img{height:34px}}
  @media (max-width:400px){.logo-img{height:30px}}
  @media (max-width:360px){.logo-img{height:27px}}

    /* 桌面端：选中/悬停时整块（文字+箭头）统一底色 */
  @media (min-width:993px){
    .nav-item.has-drop>.drop-toggle{height:auto;align-self:stretch;pointer-events:none;cursor:default}
    .nav-item.has-drop.active>.nav-link{background:var(--primary);color:#fff;border-radius:8px 0 0 8px}
    .nav-item.has-drop.active>.drop-toggle{background:var(--primary);color:#fff;border-radius:0 8px 8px 0}
    .nav-item.has-drop:hover>.nav-link{background:#eef5fc;color:var(--primary)}
    .nav-item.has-drop:hover>.drop-toggle{background:#eef5fc;color:var(--primary)}
    .nav-item.has-drop.active:hover>.nav-link,.nav-item.has-drop.active:hover>.drop-toggle{background:var(--primary);color:#fff}
  }
/* 超窄屏头部收紧：logo + 预约 + 汉堡同一行 */
  @media (max-width:360px){
    .header .wrap{gap:6px}
    .logo{min-width:0;flex-shrink:1}
    .logo-img{height:24px}
    .header .btn-booking{padding:6px 8px;font-size:11px;margin-left:auto}
    .menu-btn{width:34px;height:34px}
  }

/* sticky-first-col v1 */
/* 横向滚动表格：首列固定，滑动时不随其他列移动 */
/* 1) 排班表：日期列 */
table.pb thead th.pb-date, table.pb tbody th{position:sticky;left:0;z-index:4;background:#e3effa;box-shadow:2px 0 5px rgba(13,79,139,.10)}
table.pb tbody th{background:#f7fbff}
table.pb tbody tr.we th{background:#fff8e8}
table.pb thead th.pb-date{background:#e3effa}
/* 2) 医保表：医保种类列 */
.yb-card table th:first-child{position:sticky;left:0;z-index:4;background:#fbfdff;box-shadow:2px 0 5px rgba(13,79,139,.10)}
.yb-card table thead th:first-child{background:#f0f7fd}
/* 3) 医生排班表：时段列 */
table.schedule th:first-child, table.schedule td:first-child{position:sticky;left:0;z-index:4;background:#fff;box-shadow:2px 0 5px rgba(13,79,139,.10)}
table.schedule th:first-child{background:#eef5fc}
/* 4) 专科对比表：对比维度列 */
table.cmp th:first-child, table.cmp td:first-child{position:sticky;left:0;z-index:4;background:#fff;box-shadow:2px 0 5px rgba(13,79,139,.10)}
table.cmp th:first-child{background:#eef5fc}
/* 5) PbootCMS 正文表格：首列 */
.pboot-content table th:first-child, .pboot-content table td:first-child{position:sticky;left:0;z-index:3;background:#fff;box-shadow:2px 0 5px rgba(13,79,139,.10)}
.pboot-content table th:first-child{background:#eef5fc}
/* 面包屑 */
  .geo-crumb{background:#fff;border-bottom:1px solid var(--line);font-size:12.5px;color:var(--muted)}
  .geo-crumb .wrap{padding-top:10px;padding-bottom:10px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
  .banner-h1{font-size:24px;margin-top:10px;font-weight:600}
  @media (max-width:640px){
    .geo-crumb .wrap{padding-top:8px;padding-bottom:8px;font-size:11.5px;gap:6px}
    .banner-h1{font-size:18px}
    .topbar .geo-search{margin-left:8px;font-size:12px}
    .geo-backtop{right:14px;bottom:16px;width:40px;height:40px}
  }
  @media (max-width:360px){ .topbar .geo-search{font-size:0;gap:0} }

/* doc-slider-large v1 */
.doc-slider{gap:20px;padding-bottom:10px}
.doc-card{flex:0 0 calc((100% - 40px)/2.2)!important;min-height:210px;border-radius:16px}
.doc-card .avatar-col{width:36%!important}
.doc-info{padding:22px 20px!important;display:flex;flex-direction:column;justify-content:center}
.doc-info b{font-size:19px!important}
.doc-info .title{font-size:13.5px!important;margin:6px 0!important}
.doc-info p{font-size:13.5px!important;line-height:1.6}
@media (min-width:993px) and (max-width:1280px){ .doc-card{flex-basis:calc((100% - 20px)/1.8)!important} }
@media (max-width:992px){ .doc-card{flex-basis:calc((100% - 20px)/1.6)!important;min-height:190px} }
@media (max-width:640px){
  .doc-slider{gap:12px}
  .doc-card{flex-basis:90%!important;min-height:170px}
  .doc-card .avatar-col{width:38%!important}
  .doc-info{padding:16px 14px!important}
  .doc-info b{font-size:17px!important}
  .doc-info .title{font-size:12.5px!important}
  .doc-info p{font-size:13px!important}
}
@media (max-width:360px){ .doc-card{flex-basis:94%!important} }

/* swipe-hint v1 */
.swipe-hint{display:flex;width:max-content;max-width:90%;align-items:center;justify-content:center;
  gap:10px;margin:16px auto 0;padding:7px 18px;border:1px solid rgba(22,104,180,.22);
  border-radius:22px;background:rgba(22,104,180,.05);color:var(--primary);
  font-size:12.5px;letter-spacing:.5px;line-height:1.2;user-select:none}
.swipe-hint .sh-l,.swipe-hint .sh-r{font-size:18px;line-height:1;color:var(--primary);
  animation:shPulse 1.5s ease-in-out infinite}
.swipe-hint .sh-r{animation-delay:.18s}
@keyframes shPulse{0%,100%{transform:translateX(-2px);opacity:.45}50%{transform:translateX(2px);opacity:1}}
@media (max-width:640px){ .swipe-hint{margin-top:13px;padding:6px 15px;font-size:12px} }
@media (prefers-reduced-motion:reduce){ .swipe-hint .sh-l,.swipe-hint .sh-r{animation:none} }

@media (min-width:993px){ .swipe-hint{display:none} }

/* ============================================================
   专家团队 · 单卡横向轮播（每位医生一张独立卡，一次显示1张，箭头翻页）
   后期接动态：循环输出多个 .doc-feature 即为多张轮播项
   ============================================================ */
.doc-stage{position:relative;margin-top:0}
.doc-feature-list{display:flex;flex-direction:row;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;
  padding:4px 2px 16px;scrollbar-width:none;-ms-overflow-style:none;scroll-behavior:smooth}
.doc-feature-list::-webkit-scrollbar{display:none}
.doc-feature{flex:0 0 100%;min-width:0;scroll-snap-align:start;display:flex;flex-direction:row;align-items:stretch;
  background:#fff;border-radius:14px;overflow:hidden;box-shadow:var(--shadow);transition:transform .25s,box-shadow .25s;text-decoration:none}
.doc-feature:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(22,104,180,.15)}
.doc-feature .df-photo{flex:0 0 30%;position:relative;overflow:hidden;background:#eef5fc;align-self:stretch}
.doc-feature .df-photo img{width:100%;height:100%;object-fit:cover;object-position:center 12%;display:block;transition:transform .35s}
.doc-feature:hover .df-photo img{transform:scale(1.04)}
.doc-feature .df-body{flex:1;min-width:0;padding:22px 28px;display:flex;flex-direction:column;justify-content:center}
.doc-feature .df-badge{align-self:flex-start;display:inline-block;font-size:12px;color:#fff;background:linear-gradient(135deg,var(--primary),var(--accent));padding:5px 14px;border-radius:20px;margin-bottom:11px;font-weight:600}
.doc-feature .df-body h3{font-size:24px;color:var(--primary-dark);margin-bottom:9px;line-height:1.3}
.doc-feature .df-desc{font-size:14px;color:var(--muted);line-height:1.75;margin-bottom:13px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.doc-feature .df-more{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;color:var(--primary);font-weight:600}
.doc-feature:hover .df-more{gap:11px}
.doc-arrow{position:absolute;top:44%;transform:translateY(-50%);z-index:2;width:42px;height:42px;
  border-radius:50%;border:1px solid #d4e4f2;background:#fff;color:#1668b4;font-size:28px;line-height:1;
  cursor:pointer;display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 12px rgba(22,104,180,.12);transition:background .2s,transform .2s}
.doc-arrow:hover{background:#1668b4;color:#fff;transform:translateY(-50%) scale(1.06)}
.doc-arrow-l{left:-16px}
.doc-arrow-r{right:-16px}
.slider-ctrl{margin-top:10px}
@media (max-width:992px){
  .doc-arrow{width:34px;height:34px;font-size:22px;box-shadow:0 3px 10px rgba(22,104,180,.16)}
  .doc-arrow-l{left:2px}
  .doc-arrow-r{right:2px}
  .doc-feature .df-body{padding:18px 22px}
  .doc-feature .df-body h3{font-size:21px}
  .doc-feature .df-desc{font-size:13px;line-height:1.7;margin-bottom:10px}
  .doc-feature .df-badge{font-size:11.5px;margin-bottom:9px}
}
@media (max-width:640px){
  .doc-feature-list{gap:12px}
  .doc-feature{border-radius:12px}
  .doc-feature .df-photo{flex-basis:34%}
  .doc-feature .df-body{padding:14px 14px}
  .doc-feature .df-badge{font-size:10.5px;padding:4px 10px;margin-bottom:7px}
  .doc-feature .df-body h3{font-size:17px;margin-bottom:6px}
  .doc-feature .df-desc{font-size:12px;line-height:1.6;margin-bottom:8px;-webkit-line-clamp:3}
  .doc-feature .df-more{font-size:12px}
}
@media (max-width:360px){
  .doc-feature .df-photo{flex-basis:33%}
  .doc-feature .df-body{padding:11px 11px}
  .doc-feature .df-body h3{font-size:15px}
  .doc-feature .df-desc{font-size:11.5px;-webkit-line-clamp:2}
}

/* ============================================================
   十堰分院 · 一城六院 v3（白色系，与全站风格统一：浅底 + 白卡 + 彩色分类条）
   ============================================================ */
.branch-band{margin-top:64px;padding:56px 0;color:var(--text);
  background:linear-gradient(180deg,#f7fafd 0%,#fff 100%);border-top:1px solid #eaf0f6}
.branch-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px}
.branch-head .bh-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:700;
  letter-spacing:2px;color:#1668b4;margin-bottom:10px}
.branch-head .bh-eyebrow::before{content:"";width:22px;height:2px;background:#1668b4;border-radius:2px}
.branch-head h2{font-size:28px;margin:0 0 8px;color:var(--primary-dark);line-height:1.3}
.branch-head p{margin:0;color:var(--muted);font-size:14px;line-height:1.7}
.branch-more{display:inline-flex;align-items:center;gap:3px;font-size:13px;font-weight:500;
  color:#1668b4;text-decoration:none;margin-left:12px;vertical-align:middle;white-space:nowrap;transition:.2s}
.branch-more:hover{color:#0d4f8b;text-decoration:underline}

.branch-stage{position:relative;margin-top:28px}
.branch-scroller{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;
  padding:4px 2px 16px;scrollbar-width:none;-ms-overflow-style:none;scroll-behavior:smooth}
.branch-scroller::-webkit-scrollbar{display:none}
.branch-card-lg{flex:0 0 296px;scroll-snap-align:start;background:#fff;border-radius:14px;
  border:1px solid #e6edf4;overflow:hidden;color:#1a2b3c;display:flex;flex-direction:column;
  box-shadow:0 6px 20px rgba(22,104,180,.08);transition:transform .25s,box-shadow .25s}
.branch-card-lg:hover{transform:translateY(-5px);box-shadow:0 14px 32px rgba(22,104,180,.16)}
.bc-strip{height:5px;flex:none}
.bc-blue .bc-strip{background:linear-gradient(90deg,#1668b4,#4aa3e8)}
.bc-teal .bc-strip{background:linear-gradient(90deg,#0e8f82,#4fc3b0)}
.bc-violet .bc-strip{background:linear-gradient(90deg,#6b5bd2,#9a8ce8)}
.bc-orange .bc-strip{background:linear-gradient(90deg,#e08b2c,#f2b45c)}
.branch-card-lg .bc-inner{padding:20px 20px 18px;display:flex;flex-direction:column;flex:1}
.branch-card-lg .bc-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.bc-icon{width:42px;height:42px;border-radius:11px;display:flex;align-items:center;justify-content:center;flex:none}
.bc-blue .bc-icon{background:#e8f2fd;color:#1668b4}
.bc-teal .bc-icon{background:#e4f6f2;color:#0e8f82}
.bc-violet .bc-icon{background:#efecfb;color:#6b5bd2}
.bc-orange .bc-icon{background:#fff1e2;color:#d97f1f}
.bc-tag{font-size:12px;font-weight:600;padding:5px 11px;border-radius:20px;white-space:nowrap}
.bc-blue .bc-tag{background:#e8f2fd;color:#1668b4}
.bc-teal .bc-tag{background:#e4f6f2;color:#0e8f82}
.bc-violet .bc-tag{background:#efecfb;color:#6b5bd2}
.bc-orange .bc-tag{background:#fff1e2;color:#d97f1f}
.branch-card-lg h3{font-size:17px;line-height:1.4;margin:0 0 14px;font-weight:700;color:#12283f;min-height:48px}
.bc-addr,.bc-tel{font-size:13px;line-height:1.6;color:#5b7086;margin:0 0 7px;display:flex;align-items:flex-start;gap:7px}
.bc-addr svg,.bc-tel svg{flex:none;margin-top:2px;color:#9db2c6}
.bc-tel a{color:#d97f1f;font-weight:700;text-decoration:none}
.bc-link{margin-top:auto;padding-top:13px;border-top:1px solid #edf2f7;font-size:13.5px;font-weight:600;
  color:#1668b4;text-decoration:none;display:flex;align-items:center;justify-content:space-between;transition:.2s}
.bc-link .bc-go{display:inline-flex;width:22px;height:22px;border-radius:50%;background:#eaf3fc;
  align-items:center;justify-content:center;font-size:13px;transition:.2s}
.bc-link:hover{color:#0d4f8b}
.bc-link:hover .bc-go{background:#1668b4;color:#fff}
.branch-arrow{position:absolute;top:44%;transform:translateY(-50%);z-index:2;width:42px;height:42px;
  border-radius:50%;border:1px solid #d4e4f2;background:#fff;
  color:#1668b4;font-size:28px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 12px rgba(22,104,180,.12);transition:background .2s,transform .2s}
.branch-arrow:hover{background:#1668b4;color:#fff;transform:translateY(-50%) scale(1.06)}
.branch-arrow-l{left:-16px}
.branch-arrow-r{right:-16px}
.branch-hint{display:flex;width:max-content;max-width:90%;align-items:center;justify-content:center;
  gap:10px;margin:2px auto 0;padding:8px 18px;border:1px solid #dce8f3;
  border-radius:22px;background:#fff;color:#5b7086;
  font-size:12.5px;letter-spacing:.5px;line-height:1.2;user-select:none}
.branch-hint .bh-l,.branch-hint .bh-r{font-size:18px;line-height:1;color:#1668b4;animation:shPulse 1.5s ease-in-out infinite}
.branch-hint .bh-r{animation-delay:.18s}
/* <=992px：移动端保留滑动箭头，收进容器内并缩小（原为 display:none） */
@media (max-width:992px){
  .branch-arrow{width:34px;height:34px;font-size:22px;box-shadow:0 3px 10px rgba(22,104,180,.16)}
  .branch-arrow-l{left:2px}
  .branch-arrow-r{right:2px}
}
@media (max-width:640px){
  .branch-band{padding:40px 0;margin-top:44px}
  .branch-head{flex-direction:column;align-items:flex-start;gap:14px}
  .branch-head h2{font-size:24px}
  .branch-more{font-size:12px;margin-left:8px}
  .branch-scroller{gap:12px}
  .branch-card-lg{flex-basis:80%}
  .branch-card-lg .bc-inner{padding:18px 16px 16px}
  .branch-card-lg h3{font-size:16px;min-height:44px;margin-bottom:12px}
  .bc-addr,.bc-tel{font-size:12.5px}
  .branch-hint{margin-top:2px;padding:6px 15px;font-size:12px}
}
@media (max-width:360px){
  .branch-card-lg{flex-basis:86%}
  .branch-card-lg h3{font-size:15px}
}
@media (prefers-reduced-motion:reduce){ .branch-hint .bh-l,.branch-hint .bh-r{animation:none} }

/* ============================================================
   健康科普 · 上下两条大卡 v1（用户要求：展示两条，上下排，PC 有位置）
   覆盖原 .news-layout 两栏样式；只作用于首页此板块。
   ============================================================ */
.news-feature-stack{display:flex;flex-direction:column;gap:20px}
.news-feature-stack .news-feature{display:flex;align-items:stretch;min-height:216px}
.news-feature-stack .news-feature .pic{flex:0 0 34%;height:auto;min-height:216px;font-size:16px;padding:24px;text-align:center;line-height:1.6}
.news-feature-stack .news-feature .txt{flex:1;min-width:0;padding:28px 34px;display:flex;flex-direction:column;justify-content:center}
.news-feature-stack .news-feature .txt b{font-size:20px;line-height:1.45;margin-bottom:12px;color:var(--primary-dark)}
.news-feature-stack .news-feature .txt p{font-size:14px;color:var(--muted);line-height:1.8;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.news-feature-stack .nf-more{display:inline-block;margin-top:14px;font-size:13.5px;color:var(--primary);font-weight:600}
.news-feature-stack .news-feature:hover .nf-more{text-decoration:underline}
@media (max-width:992px){
  .news-feature-stack .news-feature{min-height:190px}
  .news-feature-stack .news-feature .pic{flex-basis:32%;min-height:190px;font-size:14px;padding:18px}
  .news-feature-stack .news-feature .txt{padding:20px 22px}
  .news-feature-stack .news-feature .txt b{font-size:18px}
}
@media (max-width:640px){
  .news-feature-stack{gap:14px}
  .news-feature-stack .news-feature{flex-direction:column;min-height:0}
  .news-feature-stack .news-feature .pic{flex:none;height:170px;min-height:0;font-size:14px;padding:16px}
  .news-feature-stack .news-feature .txt{padding:18px 18px 20px}
  .news-feature-stack .news-feature .txt b{font-size:16px;margin-bottom:8px;-webkit-line-clamp:2}
  .news-feature-stack .news-feature .txt p{font-size:12.5px;line-height:1.7;-webkit-line-clamp:3}
  .news-feature-stack .nf-more{margin-top:10px;font-size:12.5px}
}
/* v2：左右各占一半——左侧两条大卡上下，右侧列表 */
.news-halves{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:stretch}
.news-halves .news-feature-stack{height:100%}
.news-halves .news-feature-stack .news-feature{flex:1;flex-direction:column;min-height:0}
.news-halves .news-feature-stack .news-feature .pic{flex:none;height:132px;min-height:0;font-size:14px;padding:16px}
.news-halves .news-feature-stack .news-feature .txt{padding:16px 20px 18px}
.news-halves .news-feature-stack .news-feature .txt b{font-size:16px;margin-bottom:7px;-webkit-line-clamp:2;
  display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}
.news-halves .news-feature-stack .news-feature .txt p{font-size:12.5px;line-height:1.65;-webkit-line-clamp:2}
.news-halves .news-feature-stack .nf-more{margin-top:10px;font-size:12.5px}
.news-halves .news-list{height:100%;display:flex;flex-direction:column}
.news-halves .news-list .more-link{margin-top:auto}
@media (max-width:992px){
  .news-halves{grid-template-columns:1fr}
  .news-halves .news-feature-stack .news-feature{flex:none;min-height:0;flex-direction:row}
  .news-halves .news-feature-stack .news-feature .pic{flex:0 0 34%;height:auto;min-height:150px}
  .news-halves .news-feature-stack .news-feature .txt{padding:18px 20px}
}
@media (max-width:640px){
  .news-halves .news-feature-stack .news-feature{flex-direction:column}
  .news-halves .news-feature-stack .news-feature .pic{flex:none;height:170px;min-height:0}
}

/* ============================================================
   健康科普 v4（用户要求：列表改缩略图 + 移动端只显示一个大卡）
   ============================================================ */
/* 列表缩略图：复用 hero-banner.png，不同背景定位呈现不同画面 */
.news-halves .news-item .news-thumb{flex:none;width:76px;height:58px;border-radius:8px;
  background-image:url(../assets/hero-banner.png);background-size:260% auto;
  background-repeat:no-repeat;background-color:#eef5fc}
.thumb-1{background-position:12% 30%}
.thumb-2{background-position:38% 45%}
.thumb-3{background-position:62% 25%}
.thumb-4{background-position:85% 50%}
.thumb-5{background-position:28% 70%}
@media (max-width:640px){
  .news-halves .news-item .news-thumb{width:64px;height:50px}
  /* 移动端只显示第一个大卡 */
  .news-halves .news-feature-stack .news-feature:nth-child(2){display:none}
}
.footer-bottom .wrap{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;line-height:1.75}
.footer-bottom .fb-record{display:flex;flex-wrap:wrap;justify-content:center;gap:2px 18px}
.footer-bottom .fb-medads{display:flex;flex-wrap:wrap;justify-content:center;gap:2px 14px;color:#7f94a9;font-size:12px}
@media (max-width:640px){
  .footer-bottom{padding:16px 0 20px;font-size:11px}
  .footer-bottom .wrap{gap:6px}
  .footer-bottom .fb-record{gap:2px 12px}
  .footer-bottom .fb-medads{font-size:10.5px;gap:2px 10px}
}
