/* ==========================================================================
   荆门市人民医院官网 - 新模板样式
   ========================================================================== */

:root{
  /* 青绿：院徽主色，顶部导航/强调色 */
  --jm-teal-800:#0c7d72;
  --jm-teal-700:#0F998C;
  /* 蓝：院徽辅色，Footer/正文强调色 */
  --jm-blue-900:#0a3550;
  --jm-blue-800:#0f5279;
  --jm-blue-700:#1467A2;
  --jm-blue-600:#2f89c4;
  --jm-blue-500:#5fa8d3;
  --jm-blue-deep:#0f5279;
  --jm-blue-100:#d7e8f2;
  --jm-blue-050:#eaf3f8;
  --jm-tint:#f2f8fa;
  --jm-brand-gradient:linear-gradient(135deg,#0F998C,#1467A2);
  --jm-text:#2e2929;
  --jm-text-light:#666666;
  --jm-body:#3d4c63;
  --jm-border:#e3eaf2;
  --jm-white:#ffffff;
  --jm-radius:10px;
  --jm-shadow:0 6px 24px rgba(20,103,162,.1);
  --jm-wrap:1400px;
}

*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;}
body.jm-body{
  margin:0;
  font-family:"PingFang SC","Microsoft YaHei","Helvetica Neue",Helvetica,Arial,sans-serif;
  color:var(--jm-body);
  background:var(--jm-white);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
ul{list-style:none;margin:0;padding:0;}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
button{font:inherit;cursor:pointer;background:none;border:0;}
h1,h2,h3,h4,p{margin:0;}

.jm-wrap{max-width:var(--jm-wrap);margin:0 auto;padding:0 20px;}

.jm-btn{display:inline-flex;align-items:center;justify-content:center;padding:0 15px;min-width:172px;height:44px;border-radius:999px;border:1px solid var(--jm-border);font-size:18px;font-weight:600;color:var(--jm-text);transition:.2s;}
.jm-btn--primary{background:var(--jm-blue-700);color:#fff;border-color:var(--jm-blue-700);}
.jm-btn--primary:hover{background:var(--jm-blue-deep);border-color:var(--jm-blue-deep);}
.jm-btn--white{background:rgba(255,255,255,.16);color:#fff;border:1px solid rgba(255,255,255,.6);}
.jm-btn--white:hover{background:#fff;color:var(--jm-blue-700);}
.jm-btn--outline-white{border:1px solid rgba(255,255,255,.5);color:#fff;}
.jm-btn--outline-white:hover{background:#fff;color:var(--jm-blue-700);}

.jm-more-link{font-size:13px;color:var(--jm-blue-600);display:inline-flex;align-items:center;gap:4px;}

/* ---------- 极简线条小图标（不依赖图标字体/图片） ---------- */
.jm-ico{display:inline-block;flex-shrink:0;position:relative;}
.jm-ico-arrow::after{content:"\203a";}
.jm-ico-arrow-down::after{content:"\2304";}
.jm-ico-clock{width:13px;height:13px;border:1.4px solid currentColor;border-radius:50%;}
.jm-ico-clock::after{content:'';position:absolute;left:50%;top:50%;width:3px;height:5px;border-top:1.4px solid currentColor;border-right:1.4px solid currentColor;transform:translate(-50%,-65%) rotate(20deg);}
.jm-ico-bell{width:12px;height:12px;}
.jm-ico-bell::after{content:'\1F514';font-size:13px;line-height:1;filter:grayscale(1) brightness(1.6);}
.jm-ico-addr{width:13px;height:13px;border:1.4px solid currentColor;border-radius:50% 50% 50% 0;transform:rotate(-45deg);margin-top:2px;}
.jm-ico-tel,.jm-ico-post,.jm-ico-map,.jm-ico-search,.jm-ico-weixin,.jm-ico-lab{width:14px;height:14px;border:1.4px solid currentColor;border-radius:3px;}
.jm-ico-search{border-radius:50%;width:12px;height:12px;}
.jm-ico-search::after{content:'';position:absolute;right:-4px;bottom:-4px;width:6px;height:1.4px;background:currentColor;transform:rotate(45deg);}

/* ---------- 主头部：默认渐变色遮罩悬浮在banner上（大logo），滚动后变实色青绿底（小logo，参考站真实是 60px） ---------- */
.jm-header{position:fixed;left:0;top:0;right:0;z-index:200;background:transparent;transition:background .3s,box-shadow .3s;}
.jm-header:before{content:'';position:absolute;left:0;right:0;top:0;height:200px;background:linear-gradient(180deg,rgba(6,22,54,.6),rgba(6,22,54,0));pointer-events:none;z-index:-1;transition:opacity .3s;}
.jm-header.is-scrolled{background:var(--jm-teal-700);box-shadow:0 2px 12px rgba(0,0,0,.15);}
.jm-header.is-scrolled:before{opacity:0;}
/* header__in不再用.jm-wrap，不受1400px容器限制，宽屏下logo+导航横向撑满整个浏览器宽度（下面按屏宽分级放大字号间距，越宽的屏幕留白越少） */
.jm-header__in{display:flex;align-items:center;width:100%;gap:20px;height:120px;padding:0 28px;transition:height .3s;}
.jm-header.is-scrolled .jm-header__in{height:60px;}
/* 真实logo素材是386x69的横版文字logo(宽高比5.59:1)，不是参考站那种方形图标——只按height缩放会把宽度拉到500px+挤压导航，改成宽高双重上限约束 */
.jm-logo img{width:auto;height:auto;max-height:70px;max-width:400px;transition:max-height .3s;}
.jm-header.is-scrolled .jm-logo img{max-height:40px;max-width:226px;}
.jm-nav{flex:1;min-width:0;}
.jm-nav__list{display:flex;justify-content:flex-end;height:100%;}
.jm-nav__item{position:relative;display:flex;align-items:center;padding:0 4px;border-radius:10px 10px 0 0;transition:background .3s;}
.jm-nav__item:hover,
.jm-nav__item.is-current{background:linear-gradient(180deg,#5cc2b6,var(--jm-teal-800));}
.jm-nav__item:after{content:'';position:absolute;left:50%;bottom:-14px;transform:translateX(-50%);width:2px;height:14px;background:var(--jm-teal-700);opacity:0;transition:.2s;pointer-events:none;}
.jm-nav__item:hover:after,
.jm-nav__item.is-current:after{opacity:1;}
.jm-nav__item--nosub:after{content:none;}
.jm-nav__link{display:flex;align-items:center;height:100%;padding:0 10px;font-size:20px;font-weight:700;color:#fff;white-space:nowrap;position:relative;}
.jm-nav__sub{position:absolute;left:50%;transform:translateX(-50%);top:100%;padding-top:14px;opacity:0;visibility:hidden;transition:.2s;z-index:10;}
.jm-nav__item:nth-last-child(-n+2) .jm-nav__sub{left:auto;right:0;transform:none;}
.jm-nav__item:hover .jm-nav__sub{opacity:1;visibility:visible;}
.jm-nav__sub__in{width:280px;background:#fff;box-shadow:0 20px 40px rgba(0,20,60,.18);border-radius:0 0 24px 24px;border-top:2px solid var(--jm-teal-700);padding:20px 8px;display:flex;flex-wrap:wrap;}
.jm-nav__sub a{display:block;width:50%;padding:0 12px;font-size:14px;color:var(--jm-text);line-height:2.6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:.2s;}
.jm-nav__sub a:hover{color:var(--jm-teal-800);font-weight:700;}
.jm-header__right{display:flex;align-items:center;gap:16px;flex-shrink:0;}
.jm-header__set{display:flex;align-items:center;}
.jm-header__set .jm-header__ico{position:relative;}
.jm-header__set .jm-header__ico:not(:last-child):after{content:'';position:absolute;right:-1px;top:50%;width:1px;height:14px;background:rgba(255,255,255,.35);transform:translateY(-50%);}
.jm-header__ico{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;color:#fff;font-size:16px;}
.jm-header__ico:hover{background:rgba(255,255,255,.15);}
.jm-burger{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:52px;height:52px;border-radius:6px;background:var(--jm-teal-700);flex-shrink:0;}
.jm-burger span{display:block;width:22px;height:2px;background:#fff;border-radius:2px;}
.jm-burger:hover{background:var(--jm-teal-800);}

/* ---------- 全屏导航菜单（点击汉堡按钮展开：深蓝渐变+背景模糊，多列铺开全部栏目+二级链接） ---------- */
.jm-mnav{position:fixed;inset:0;z-index:400;background:linear-gradient(160deg,rgba(10,53,80,.95),rgba(15,82,121,.92));backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);opacity:0;visibility:hidden;transform:translateY(-16px);transition:opacity .3s,visibility .3s,transform .3s;overflow-y:auto;}
.jm-mnav.is-open{opacity:1;visibility:visible;transform:translateY(0);}
.jm-mnav__close{position:fixed;top:32px;right:40px;font-size:34px;line-height:1;color:#fff;z-index:2;}
.jm-mnav__search{position:fixed;top:32px;left:40px;z-index:2;display:flex;align-items:center;gap:8px;font-size:17px;color:#fff;padding:12px 32px;border:1px solid rgba(255,255,255,.55);border-radius:30px;transition:.2s;}
.jm-mnav__search .jm-ico-search{width:15px;height:15px;}
.jm-mnav__search:hover{background:rgba(255,255,255,.15);border-color:#fff;}
.jm-mnav__in{min-height:100%;display:flex;align-items:center;padding:120px 60px 60px;}
.jm-mnav__cols{width:100%;display:flex;flex-wrap:wrap;gap:44px 32px;}
.jm-mnav__col{flex:1 1 130px;min-width:120px;}
.jm-mnav__colTitle{display:block;font-size:22px;font-weight:700;color:#fff;margin-bottom:26px;}
.jm-mnav__colList{display:flex;flex-direction:column;gap:18px;}
.jm-mnav__colList a{font-size:15px;color:rgba(255,255,255,.72);white-space:nowrap;transition:.2s;}
.jm-mnav__colList a:hover{color:var(--jm-teal-700);}
.jm-noscroll{overflow:hidden;}

/* ---------- 搜索层 ---------- */
.jm-search{position:fixed;inset:0;background:rgba(0,25,55,.92);z-index:500;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:.2s;}
.jm-search.is-open{opacity:1;visibility:visible;}
.jm-search__close{position:absolute;top:24px;right:32px;font-size:34px;color:#fff;}
.jm-search__form{width:min(600px,86vw);display:flex;border-bottom:2px solid #fff;padding-bottom:10px;}
.jm-search__input{flex:1;background:transparent;border:0;outline:0;color:#fff;font-size:20px;}
.jm-search__input::placeholder{color:rgba(255,255,255,.55);}
.jm-search__submit{color:#fff;font-size:20px;padding:0 8px;}

/* ---------- 二维码弹层 ---------- */
.jm-codepop{position:fixed;inset:0;background:rgba(0,20,45,.55);z-index:500;display:none;align-items:center;justify-content:center;}
.jm-codepop.is-open{display:flex;}
.jm-codepop__box{background:#fff;padding:20px;border-radius:12px;position:relative;}
.jm-codepop__box img{width:220px;height:220px;object-fit:contain;}
.jm-codepop__close{position:absolute;top:-14px;right:-14px;width:30px;height:30px;border-radius:50%;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.2);font-size:18px;}

.jm-videopop{position:fixed;inset:0;background:rgba(0,10,25,.8);z-index:500;display:none;align-items:center;justify-content:center;padding:20px;}
.jm-videopop.is-open{display:flex;}
.jm-videopop__box{position:relative;width:min(960px,100%);}
.jm-videopop__box video{display:none;width:100%;max-height:80vh;border-radius:12px;background:#000;}
.jm-videopop__box.has-video video{display:block;}
.jm-videopop__box.has-video .jm-videopop__empty{display:none;}
.jm-videopop__empty{padding:60px 30px;text-align:center;background:#fff;border-radius:12px;font-size:16px;color:var(--jm-text-light);}
.jm-videopop__close{position:absolute;top:-14px;right:-14px;width:30px;height:30px;border-radius:50%;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.2);font-size:18px;z-index:1;}

/* ---------- Banner ---------- */
.jm-banner{position:relative;height:85vh;min-height:480px;max-height:820px;overflow:hidden;}
.jm-banner__vr{position:absolute;inset:0;background:#0b1b3a;}
.jm-banner__vr iframe{display:block;width:100%;height:100%;border:0;}

/* ---------- 通知公告：三栏，中间竖向自动滚动 ---------- */
.jm-notice{background:var(--jm-blue-050);padding:18px 0;}
.jm-notice__in{display:flex;align-items:center;}
.jm-notice__label{width:210px;flex-shrink:0;margin-right:30px;}
.jm-notice__label .cn{display:flex;align-items:center;gap:8px;font-size:32px;font-weight:800;color:var(--jm-text);}
.jm-notice__label .cn i{width:6px;height:6px;border-radius:50%;background:var(--jm-teal-700);}
.jm-notice__label .en{margin-top:6px;display:flex;align-items:center;gap:10px;font-size:14px;color:rgba(20,103,162,.6);}
.jm-notice__label .en:before{content:'';width:32px;height:2px;background:var(--jm-blue-700);}
.jm-notice__viewport{flex:1;min-width:0;height:84px;overflow:hidden;}
.jm-notice__list{display:flex;flex-direction:column;transition:transform .6s ease;}
.jm-notice__list li{height:42px;flex-shrink:0;}
.jm-notice__list a{display:flex;align-items:center;justify-content:space-between;gap:16px;height:100%;overflow:hidden;}
.jm-notice__list .tit{font-size:18px;color:var(--jm-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.jm-notice__list a:hover .tit{color:var(--jm-blue-deep);text-decoration:underline;}
.jm-notice__list time{flex-shrink:0;display:flex;align-items:center;gap:6px;font-size:16px;color:var(--jm-text-light);}
.jm-notice__more{width:126px;flex-shrink:0;margin-left:40px;text-align:right;font-size:18px;color:var(--jm-text);}
.jm-notice__more:hover{color:var(--jm-blue-deep);}

/* ---------- 通用 section / 标题 ---------- */
.jm-section{padding:80px 0;}
.jm-title{display:flex;flex-direction:column;align-items:center;margin-bottom:50px;}
.jm-title .cn{display:flex;align-items:center;gap:8px;font-size:40px;font-weight:800;color:var(--jm-text);}
.jm-title .cn i{width:6px;height:6px;border-radius:50%;background:var(--jm-teal-700);}
.jm-title .en{margin-top:8px;display:flex;align-items:center;gap:10px;font-size:14px;letter-spacing:1px;color:rgba(20,103,162,.55);text-transform:uppercase;}
.jm-title .en:before{content:'';width:36px;height:2px;background:var(--jm-blue-700);}
.jm-title--white .cn{color:#fff;}
.jm-title--white .en{color:rgba(255,255,255,.6);}
.jm-title--white .en:before{background:#fff;}
.jm-title--row{flex-direction:row;justify-content:space-between;align-items:center;margin-bottom:30px;}
.jm-title--row .jm-title{margin-bottom:0;align-items:flex-start;}
.jm-title--row .cn{font-size:32px;}

/* ---------- 医疗服务：非对称拼图网格（参考站真实 box-ylfw1 高度684px） ---------- */
.jm-services__grid{display:flex;gap:16px;height:684px;}
.jm-services__col{display:flex;flex-direction:column;gap:16px;flex:0 0 22.5%;}
.jm-services__col--mid{flex:1;}
.jm-services__tile{position:relative;flex:1;border-radius:var(--jm-radius);overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;text-align:center;transition:.3s;}
.jm-services__tile:hover{transform:translateY(-3px);}
.jm-services__tile .bg{position:absolute;inset:0;background-size:cover;background-position:center;transition:.5s;z-index:0;}
.jm-services__tile:hover .bg{transform:scale(1.06);}
.jm-services__tile .icon{width:64px;height:64px;margin-bottom:20px;position:relative;z-index:1;display:flex;align-items:center;justify-content:center;}
.jm-services__tile .icon img{max-width:100%;max-height:100%;}
.jm-services__tile .cn{position:relative;z-index:1;font-size:24px;font-weight:700;}
.jm-services__tile .en{position:relative;z-index:1;margin-top:14px;font-size:16px;opacity:.65;}
.jm-services__i2{background:var(--jm-blue-600);}
.jm-services__i3{background:var(--jm-teal-700);}
.jm-services__i3 .bg{opacity:.18;}
.jm-services__i4{background:var(--jm-blue-700);}
.jm-services__i4 .bg{opacity:.28;}
.jm-services__i5{background:var(--jm-teal-800);}
.jm-services__i5 .bg{opacity:.2;}
.jm-services__i1{flex:1.6;background:#0d1e3a;}
.jm-services__i1 .bg{opacity:.75;}
.jm-services__i1 .play-btn{position:absolute;top:50%;left:50%;z-index:2;width:76px;height:76px;border-radius:50%;background:rgba(255,255,255,.22);border:2px solid rgba(255,255,255,.8);display:flex;align-items:center;justify-content:center;transform:translate(-50%,-50%);transition:.3s;cursor:pointer;}
.jm-services__i1 .play-btn:before{content:'';margin-left:4px;border-style:solid;border-width:12px 0 12px 19px;border-color:transparent transparent transparent #fff;}
.jm-services__i1:hover .play-btn{background:var(--jm-brand-gradient);border-color:transparent;transform:translate(-50%,-50%) scale(1.08);}
.jm-services__i6{flex:1;align-items:flex-start;text-align:left;padding:0 44px;background:#122a56;}
.jm-services__i6 .bg{opacity:.5;}
.jm-services__i6:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,25,60,.88),rgba(10,25,60,.35));z-index:0;}
.jm-services__i6 .icon{margin:0 0 12px;}

/* ---------- 科室介绍 ---------- */
.jm-dept{position:relative;background:var(--jm-brand-gradient);}
.jm-dept__bg{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.25;}
.jm-dept__in{position:relative;z-index:1;}
.jm-dept__tabs{display:flex;justify-content:space-between;gap:8px;margin-bottom:28px;}
.jm-dept__tab{flex:1;display:flex;align-items:center;justify-content:center;gap:14px;padding:12px 10px;border-radius:12px;transition:.3s;}
.jm-dept__tab .icon{flex-shrink:0;width:88px;height:88px;border-radius:50%;border:1px solid rgba(255,255,255,.6);background:rgba(255,255,255,.15);overflow:hidden;transition:.3s;}
.jm-dept__tab .icon img{width:100%;height:100%;object-fit:cover;}
.jm-dept__tab .cn{display:block;font-size:28px;font-weight:700;color:#fff;}
.jm-dept__tab .en{display:none;}
.jm-dept__tab.is-active .icon,.jm-dept__tab:hover .icon{width:96px;height:96px;border-color:var(--jm-teal-700);background:var(--jm-teal-700);}
.jm-dept__az{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:24px;}
.jm-dept__az-item{min-width:44px;height:44px;padding:0 10px;display:flex;align-items:center;justify-content:center;border-radius:8px;font-size:18px;color:#fff;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.12);cursor:pointer;transition:.2s;}
.jm-dept__az-item[data-letter="all"]{width:auto;padding:0 16px;}
.jm-dept__az-item.is-active,.jm-dept__az-item:hover{background:var(--jm-teal-700);border-color:var(--jm-teal-700);}
.jm-dept__panel{display:none;}
.jm-dept__panel.is-active{display:block;}
.jm-dept__list{background:#fff;border-radius:var(--jm-radius);padding:44px 50px;display:grid;grid-template-columns:repeat(4,1fr);gap:18px 24px;overflow:hidden;}
.jm-dept__item{min-width:0;}
.jm-dept__item a{display:block;padding:0 20px;height:48px;line-height:48px;border-radius:50px;font-size:20px;color:var(--jm-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:.3s;}
.jm-dept__item a:hover{background:var(--jm-teal-700);color:#fff;font-weight:700;}
.jm-dept__item.is-hidden,.jm-dept__item.is-search-hidden{display:none;}
.jm-dept__more{display:flex;width:max-content;margin:30px auto 0;}

/* ---------- 专家介绍：方图 + 悬浮姓名牌 + 单行横向滚动 ---------- */
.jm-experts__row{display:flex;gap:24px;overflow-x:hidden;scroll-behavior:smooth;}
.jm-experts__card{display:block;flex:0 0 calc(25% - 18px);min-width:0;background:#fff;border-radius:var(--jm-radius);overflow:hidden;box-shadow:0 4px 18px rgba(20,103,162,.08);transition:.3s;}
.jm-experts__card:hover{transform:translateY(-5px);box-shadow:var(--jm-shadow);}
.jm-experts__pic{position:relative;aspect-ratio:4/5;overflow:hidden;}
.jm-experts__pic img{width:100%;height:100%;object-fit:cover;transition:.5s;}
.jm-experts__card:hover .jm-experts__pic img{transform:scale(1.06);}
.jm-experts__name{position:absolute;left:0;top:16px;padding:0 20px;height:56px;line-height:56px;min-width:130px;width:fit-content;font-size:22px;font-weight:700;color:#fff;background:rgba(15,82,121,.9);border-radius:0 50px 50px 0;transition:.3s;}
.jm-experts__card:hover .jm-experts__name{background:rgba(15,153,140,.95);}
.jm-experts__body{padding:30px 20px 20px;}
.jm-experts__pos{font-size:18px;color:var(--jm-text-light);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.jm-experts__desc{margin-top:8px;font-size:18px;color:var(--jm-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.jm-experts__ctrl{display:flex;align-items:center;justify-content:center;gap:24px;margin-top:34px;}
.jm-experts__ctrl button{width:36px;height:36px;border-radius:50%;border:1px solid var(--jm-border);font-size:18px;color:var(--jm-text-light);}
.jm-experts__ctrl button:hover{border-color:var(--jm-blue-600);color:var(--jm-blue-600);}

/* ---------- 健康科普：统一横向轮播卡片 ---------- */
.jm-health{background:#fff;}
.jm-health__ctrl{display:flex;align-items:center;gap:14px;}
.jm-health__ctrl button{width:36px;height:36px;border-radius:50%;border:1px solid var(--jm-border);font-size:18px;color:var(--jm-text-light);flex-shrink:0;}
.jm-health__ctrl button:hover{border-color:var(--jm-blue-600);color:var(--jm-blue-600);}
.jm-health__more{margin-left:10px;gap:6px;}
.jm-health__row{display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:4px;}
.jm-health__row::-webkit-scrollbar{display:none;}
.jm-health__card{scroll-snap-align:start;flex:0 0 calc(25% - 18px);display:flex;flex-direction:column;background:#fff;}
.jm-health__txt{min-width:0;padding:24px 0 22px;display:flex;flex-direction:column;border-top:2px solid var(--jm-blue-700);transition:background .3s,padding .3s;}
.jm-health__txt time{display:flex;align-items:center;gap:6px;font-size:15px;color:var(--jm-text-light);margin-top:20px;transition:color .3s;}
.jm-health__txt h4{margin-top:12px;font-size:19px;font-weight:700;color:var(--jm-text);line-height:1.5;min-height:2.9em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;transition:color .3s;}
.jm-health__txt p{margin-top:8px;font-size:15px;color:var(--jm-text-light);line-height:1.7;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;transition:color .3s;}
.jm-health__txt .more{margin-top:14px;font-size:15px;color:var(--jm-blue-700);display:inline-flex;align-items:center;gap:4px;transition:color .3s;}
.jm-health__card:hover .jm-health__txt{background:var(--jm-blue-700);padding-left:24px;padding-right:24px;}
.jm-health__card:hover .jm-health__txt time,
.jm-health__card:hover .jm-health__txt h4,
.jm-health__card:hover .jm-health__txt .more{color:#fff;}
.jm-health__card:hover .jm-health__txt p{color:rgba(255,255,255,.85);}
.jm-health__thumb{display:block;aspect-ratio:16/10;overflow:hidden;}
.jm-health__thumb img{width:100%;height:100%;object-fit:cover;display:block;}

/* ---------- 医院资讯：三栏 ---------- */
.jm-news{background:var(--jm-tint);}
.jm-news__grid{display:flex;gap:20px;align-items:stretch;}
.jm-news__col{border-radius:var(--jm-radius);}
.jm-news__col--l{flex:0 0 29%;height:510px;padding:36px 18px 18px 20px;background-size:cover;background-position:center;position:relative;overflow:hidden;}
.jm-news__col--l:before{content:'';position:absolute;inset:0;background:linear-gradient(160deg,rgba(47,137,196,.88),rgba(20,103,162,.92));}
.jm-news__col--l>*{position:relative;z-index:1;}
.jm-news__col--m{flex:0 0 40%;height:510px;padding:14px;background:#fff;box-shadow:0 6px 20px rgba(20,103,162,.08);}
.jm-news__col--r{flex:1;height:510px;padding:32px 22px;background:var(--jm-blue-100);overflow:hidden;}
.jm-news__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;}
.jm-news__head h3{font-size:32px;font-weight:400;color:var(--jm-text);}
.jm-news__col--l .jm-news__head h3{color:#fff;}
.jm-news__head a{font-size:16px;color:var(--jm-text-light);}
.jm-news__col--l .jm-news__head a{color:rgba(255,255,255,.75);}
.jm-news__list li{border-bottom:1px solid rgba(20,103,162,.12);}
.jm-news__col--l .jm-news__list li{border-bottom-color:rgba(255,255,255,.25);}
.jm-news__list li:last-child{border-bottom:0;}
.jm-news__lead a{display:flex;align-items:center;gap:14px;padding:16px 0;}
.jm-news__lead .thumb{flex-shrink:0;width:88px;aspect-ratio:16/10;border-radius:6px;overflow:hidden;}
.jm-news__lead .thumb img{width:100%;height:100%;object-fit:cover;}
.jm-news__lead time{display:flex;align-items:center;gap:5px;font-size:16px;color:rgba(255,255,255,.75);}
.jm-news__lead h4{margin-top:6px;font-size:16px;font-weight:700;color:#fff;line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.jm-news__photo{position:relative;height:100%;border-radius:6px;overflow:hidden;}
.jm-news__photo-slide{display:none;position:relative;height:100%;}
.jm-news__photo-slide.is-active{display:block;}
.jm-news__photo-slide img{width:100%;height:100%;object-fit:cover;}
.jm-news__photo-slide .txt{position:absolute;left:0;right:0;bottom:0;padding:20px;background:linear-gradient(transparent,rgba(0,20,45,.75));color:#fff;}
.jm-news__photo-slide h4{font-size:15px;font-weight:700;line-height:1.5;}
.jm-news__photo-slide time{margin-top:8px;display:flex;align-items:center;gap:6px;font-size:12px;opacity:.8;}
.jm-news__photo-dots{position:absolute;left:0;right:0;bottom:12px;display:flex;justify-content:center;gap:6px;z-index:2;}
.jm-news__photo-dots span{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.6);cursor:pointer;}
.jm-news__photo-dots span.is-active{background:var(--jm-teal-700);}
.jm-news__notice a{display:flex;flex-direction:column;justify-content:center;height:64px;}
.jm-news__notice time{display:flex;align-items:center;gap:6px;font-size:16px;color:var(--jm-text-light);}
.jm-news__notice .tit{margin-top:12px;font-size:16px;font-weight:700;color:var(--jm-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.jm-news__notice a:hover .tit{color:var(--jm-blue-700);}
.jm-news__more{display:flex;width:max-content;margin:34px auto 0;}

/* ---------- 院区布局：手风琴展开（参考站真实高度660px，5个院区收起时各9.7%展开61.2%；我们4个院区按比例换算） ---------- */
.jm-campus__list{display:flex;align-items:stretch;height:660px;gap:4px;}
.jm-campus__item{flex:1;min-width:0;position:relative;border-radius:var(--jm-radius);overflow:hidden;transition:flex .5s ease;cursor:pointer;}
.jm-campus__item.is-active{flex:4.7;}
.jm-campus__item .bg{position:absolute;inset:0;background-size:cover;background-position:center;}
.jm-campus__item .mask1{position:absolute;inset:0;background:var(--jm-brand-gradient);opacity:.85;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:60px 0 28px;color:#fff;transition:.3s;}
.jm-campus__item.is-active .mask1{opacity:0;visibility:hidden;}
.jm-campus__item .mask1 .tit{font-size:32px;font-weight:700;writing-mode:vertical-lr;letter-spacing:4px;}
.jm-campus__item .mask1 .more{font-size:18px;display:flex;flex-direction:column;align-items:center;gap:8px;}
.jm-campus__item .mask2{position:absolute;left:0;right:0;bottom:0;padding:32px 36px;opacity:0;transition:.4s;color:#fff;background:linear-gradient(transparent,rgba(0,20,50,.82) 40%);}
.jm-campus__item.is-active .mask2{opacity:1;}
.jm-campus__item .mask2 .tit{font-size:38px;font-weight:700;padding-bottom:14px;position:relative;}
.jm-campus__item .mask2 .tit:before{content:'';position:absolute;left:0;bottom:0;width:44px;height:3px;background:#fff;opacity:.7;}
.jm-campus__item .mask2 .inn{margin-top:16px;display:flex;justify-content:space-between;align-items:flex-end;gap:16px;}
.jm-campus__item .mask2 .info p{margin-top:8px;font-size:18px;font-weight:700;line-height:1.6;display:flex;align-items:flex-start;gap:8px;}
.jm-campus__item .mask2 .info i{flex-shrink:0;width:18px;height:18px;margin-top:2px;}
.jm-campus__item .map-btn{flex-shrink:0;text-align:center;font-size:18px;color:#fff;}
.jm-campus__item .map-btn .icon{margin:0 auto 8px;width:52px;height:52px;border-radius:50%;background:var(--jm-brand-gradient);display:flex;align-items:center;justify-content:center;}

/* ---------- Footer ---------- */
.jm-footer{background:var(--jm-blue-700);color:rgba(255,255,255,.65);}
.jm-footer__top{display:flex;justify-content:space-between;align-items:flex-start;gap:40px;padding:48px 0 40px;border-bottom:1px solid rgba(255,255,255,.15);}
.jm-footer__brand{max-width:60%;}
.jm-footer__logo{height:80px;margin-bottom:18px;}
.jm-footer__slogan{font-size:18px;letter-spacing:3px;color:#fff;font-weight:600;}
.jm-footer__linksline{margin-top:28px;}
.jm-footer__navtitle{color:#fff;font-size:20px;font-weight:700;}
.jm-footer__links{margin-top:14px;display:flex;flex-wrap:wrap;gap:6px 20px;font-size:18px;}
.jm-footer__links a:hover{color:#fff;text-decoration:underline;}
.jm-footer__qrgroup{display:flex;flex-wrap:wrap;gap:16px 22px;justify-content:flex-end;flex-shrink:0;}
.jm-footer__qr{text-align:center;flex-shrink:0;}
.jm-footer__qr img{width:110px;height:110px;background:#fff;padding:6px;border-radius:6px;margin-bottom:8px;}
.jm-footer__qr span{font-size:15px;color:#fff;}
.jm-footer__copy{padding:22px 0;font-size:16px;}
.jm-footer__copy-in{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;color:rgba(255,255,255,.6);}
.jm-footer__copy-in a{color:inherit;}
.jm-footer__copy-in a:hover{color:#fff;text-decoration:underline;}
.jm-footer__sep{margin:0 8px;opacity:.4;}

/* ---------- 内页 footer 变体（无快捷入口条/导航宫格） ---------- */
.jm-footer--inner .jm-footer__top--inner{grid-template-columns:1fr auto;align-items:start;}
.jm-footer__linksline{margin-top:22px;}
.jm-footer__links--inner{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:13px;border-bottom:0;padding:0;}
.jm-backtop{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:rgba(255,255,255,.7);}
.jm-backtop i{font-style:normal;border:1px solid rgba(255,255,255,.35);border-radius:4px;padding:1px 5px;font-size:10px;}
.jm-backtop:hover{color:#fff;}

/* ==========================================================================
   内页公共头部：banner + 面包屑 + 二级 Tab
   ========================================================================== */
.jm-innerbanner{position:relative;height:450px;background-size:cover;background-position:center;background-color:var(--jm-blue-800);}
.jm-innerbanner::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,20,45,.35),rgba(0,20,45,.65));}
.jm-innerbanner__in{position:relative;height:100%;display:flex;flex-direction:column;justify-content:flex-end;padding-bottom:34px;color:#fff;}
.jm-crumb{font-size:16px;opacity:.85;margin-bottom:14px;}
.jm-crumb a{opacity:.85;}
.jm-crumb a:hover{opacity:1;text-decoration:underline;}
.jm-innerbanner__title{font-size:64px;font-weight:700;letter-spacing:2px;}

.jm-subnav{background:var(--jm-blue-700);}
.jm-subnav__list{display:flex;overflow-x:auto;scrollbar-width:none;}
.jm-subnav__list::-webkit-scrollbar{display:none;}
.jm-subnav__item{flex-shrink:0;padding:16px 24px;font-size:20px;font-weight:600;color:rgba(255,255,255,.8);white-space:nowrap;border-bottom:3px solid transparent;}
.jm-subnav__item:hover{color:#fff;}
.jm-subnav__item.is-active{color:#fff;background:var(--jm-blue-800);border-color:var(--jm-teal-700);}

/* ==========================================================================
   单篇文章详情页（danye00.html：医院概况/医院简介/医院文化/历史沿革/联系我们等
   "单页型"栏目公用——contenttpl=danye00.html，正文来自后台富文本编辑器，
   标签结构不可控，下面 .jm-article__body 只做通用排版兜底，不假设具体结构）
   ========================================================================== */
.jm-article__layout{padding-top:60px;padding-bottom:10px;}
.jm-article__head{padding-bottom:24px;margin-bottom:30px;border-bottom:1px solid var(--jm-border);}
.jm-article__title{font-size:32px;font-weight:800;color:var(--jm-text);line-height:1.4;}
.jm-article__meta{margin-top:14px;display:flex;align-items:center;gap:24px;font-size:13.5px;color:#9aa8b8;}
.jm-article__meta i{margin-right:5px;}
.jm-ico-eye{width:15px;height:10px;border:1.4px solid currentColor;border-radius:50% / 60%;position:relative;}
.jm-ico-eye::after{content:'';position:absolute;left:50%;top:50%;width:4px;height:4px;border-radius:50%;background:currentColor;transform:translate(-50%,-50%);}

.jm-article__body{font-size:16px;line-height:2;color:var(--jm-body);}
.jm-article__body p{margin:0 0 6px;}
.jm-article__body strong{position:relative;display:inline-block;margin:26px 0 10px;padding-left:16px;font-size:19px;font-weight:700;color:var(--jm-blue-700);}
.jm-article__body strong::before{content:'';position:absolute;left:0;top:3px;bottom:3px;width:4px;border-radius:2px;background:var(--jm-teal-700);}
.jm-article__body a{color:var(--jm-blue-700);text-decoration:underline;text-underline-offset:2px;}
.jm-article__body img{max-width:100%;height:auto;margin:16px auto;border-radius:8px;cursor:zoom-in;}
.jm-article__body table{width:100%;border-collapse:collapse;margin:20px 0;font-size:14.5px;}
.jm-article__body table td,.jm-article__body table th{border:1px solid var(--jm-border);padding:10px 14px;}

.jm-article__sibs{margin-top:36px;padding:18px 24px;border-radius:var(--jm-radius);background:var(--jm-blue-050);font-size:14.5px;color:var(--jm-text-light);}
.jm-article__sibs p{margin:0;line-height:1.9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.jm-article__sibs p span{color:var(--jm-text);font-weight:700;margin-right:4px;}

/* ==========================================================================
   科室导航详情页
   ========================================================================== */
.jm-deptpage__search{display:flex;align-items:center;justify-content:center;gap:14px;margin-bottom:26px;font-size:14px;color:var(--jm-text-light);}
.jm-deptpage__input{width:320px;max-width:60vw;height:42px;border:1px solid var(--jm-border);border-radius:6px;padding:0 14px;font-size:14px;outline:0;}
.jm-deptpage__input:focus{border-color:var(--jm-blue-500);}
.jm-deptpage__search .jm-btn{height:42px;padding:0 28px;border-radius:6px;}

.jm-dept__az--page{margin-bottom:34px;}
.jm-dept__az--page .jm-dept__az-item{color:var(--jm-text-light);border-color:var(--jm-border);}
.jm-dept__az--page .jm-dept__az-item[data-letter="all"]{background:var(--jm-teal-700);color:#fff;border-color:var(--jm-teal-700);}
.jm-dept__az--page .jm-dept__az-item.is-active{background:var(--jm-blue-700);color:#fff;border-color:var(--jm-blue-700);}

.jm-deptpage__group{margin-bottom:34px;}
.jm-deptpage__ghead{display:flex;align-items:center;gap:14px;margin-bottom:16px;}
.jm-deptpage__gicon{width:52px;height:52px;border-radius:50%;overflow:hidden;flex-shrink:0;background:var(--jm-blue-050);display:flex;align-items:center;justify-content:center;}
.jm-deptpage__gicon img{width:100%;height:100%;object-fit:cover;}
.jm-deptpage__ghead h3{font-size:19px;font-weight:800;}
.jm-deptpage__ghead p{font-size:11px;color:#a9b7c6;letter-spacing:1px;text-transform:uppercase;}
.jm-deptpage__gbody{background:var(--jm-blue-050);border-radius:var(--jm-radius);padding:22px 26px;}
.jm-dept__list--page{grid-template-columns:repeat(4,1fr);align-items:start;padding:28px 32px;gap:16px 22px;overflow:visible;}
.jm-dept__list--page .jm-dept__item a{border-bottom:0;padding:8px 14px;margin:0 -14px;border-radius:10px;height:auto;line-height:1.6;font-size:16px;color:var(--jm-text);white-space:normal;overflow:visible;text-overflow:clip;}
.jm-dept__list--page .jm-dept__item a:hover{color:var(--jm-blue-700);}
.jm-dept__item.is-search-hidden{display:none;}

/* ==========================================================================
   专家介绍列表页
   ========================================================================== */
.jm-expertslistpage__search{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:14px;margin-bottom:34px;font-size:14px;color:var(--jm-text-light);}
.jm-expertslistpage__selectwrap{position:relative;}
.jm-expertslistpage__select{width:200px;height:44px;border:1px solid var(--jm-border);border-radius:999px;padding:0 36px 0 20px;font-size:14px;color:var(--jm-text);background:#fff;outline:0;appearance:none;-webkit-appearance:none;cursor:pointer;}
.jm-expertslistpage__select:focus{border-color:var(--jm-blue-500);}
.jm-expertslistpage__selectwrap::after{content:'';position:absolute;right:18px;top:50%;width:8px;height:8px;border-right:1.6px solid var(--jm-text-light);border-bottom:1.6px solid var(--jm-text-light);transform:translateY(-70%) rotate(45deg);pointer-events:none;}
.jm-expertslistpage__input{width:280px;max-width:60vw;height:44px;border:1px solid var(--jm-border);border-radius:999px;padding:0 20px;font-size:14px;outline:0;}
.jm-expertslistpage__input:focus{border-color:var(--jm-blue-500);}
.jm-expertslistpage__search .jm-btn{height:44px;padding:0 30px;}
.jm-expertslistpage__grid{display:flex;flex-wrap:wrap;gap:24px;min-height:120px;}
.jm-expertslistpage__empty{width:100%;text-align:center;color:var(--jm-text-light);font-size:15px;padding:60px 0;}

/* ==========================================================================
   医院资讯 频道首页
   ========================================================================== */
.jm-newschannel__feature{position:relative;margin-bottom:22px;}
.jm-newschannel__slide{display:none;grid-template-columns:1.3fr 1fr;gap:36px;align-items:center;}
.jm-newschannel__slide.is-active{display:grid;}
.jm-newschannel__pic{border-radius:var(--jm-radius);overflow:hidden;aspect-ratio:16/10;}
.jm-newschannel__pic img{width:100%;height:100%;object-fit:cover;}
.jm-newschannel__info h3{font-size:21px;font-weight:800;line-height:1.5;}
.jm-newschannel__info time{display:flex;align-items:center;gap:6px;font-size:12.5px;color:#9aa8b8;margin:12px 0 16px;}
.jm-newschannel__info p{font-size:14px;color:var(--jm-text-light);line-height:1.9;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;}
.jm-newschannel__dots{display:flex;justify-content:center;gap:8px;margin-top:18px;}
.jm-newschannel__dots span{width:8px;height:8px;border-radius:50%;background:var(--jm-border);cursor:pointer;}
.jm-newschannel__dots span.is-active{background:var(--jm-blue-600);width:22px;border-radius:5px;}
.jm-newschannel__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:26px;}
.jm-newschannel__card{background:var(--jm-blue-050);border-radius:var(--jm-radius);padding:20px;transition:.2s;}
.jm-newschannel__card:hover{box-shadow:var(--jm-shadow);transform:translateY(-3px);}
.jm-newschannel__card time{display:flex;align-items:center;gap:6px;font-size:11.5px;color:#9aa8b8;}
.jm-newschannel__card h4{font-size:14.5px;font-weight:700;margin:10px 0 8px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.jm-newschannel__card p{font-size:12.5px;color:var(--jm-text-light);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.jm-newschannel__more,.jm-noticechannel__more{display:flex;width:max-content;margin:0 auto;}

.jm-noticechannel{background:var(--jm-blue-050);}
.jm-noticechannel__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-bottom:26px;}
.jm-noticechannel__card{position:relative;display:flex;align-items:flex-start;gap:16px;background:#fff;border-radius:var(--jm-radius);padding:24px 56px 24px 24px;box-shadow:0 3px 12px rgba(20,103,162,.05);transition:.3s;}
.jm-noticechannel__card:hover{background:var(--jm-brand-gradient);box-shadow:var(--jm-shadow);transform:translateY(-4px);}
.jm-noticechannel__date{flex-shrink:0;width:68px;height:68px;border-radius:12px;background:var(--jm-brand-gradient);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;transition:.3s;}
.jm-noticechannel__date strong{font-size:26px;font-weight:800;line-height:1;}
.jm-noticechannel__date span{font-size:11px;margin-top:4px;opacity:.85;}
.jm-noticechannel__card:hover .jm-noticechannel__date{background:var(--jm-teal-700);}
.jm-noticechannel__body{flex:1;min-width:0;}
.jm-noticechannel__card h4{font-size:16px;font-weight:700;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;transition:.3s;}
.jm-noticechannel__card p{font-size:13px;color:var(--jm-text-light);margin-top:8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;transition:.3s;}
.jm-noticechannel__card:hover h4{color:#fff;}
.jm-noticechannel__card:hover p{color:rgba(255,255,255,.85);}
.jm-noticechannel__arrow{position:absolute;right:20px;bottom:20px;width:34px;height:34px;border-radius:50%;border:1px solid var(--jm-blue-700);color:var(--jm-blue-700);display:flex;align-items:center;justify-content:center;font-size:16px;transition:.3s;}
.jm-noticechannel__card:hover .jm-noticechannel__arrow{border-color:#fff;color:#fff;}

/* ==========================================================================
   普通文章列表页（分类内页）
   ========================================================================== */
.jm-title em:empty{display:none;}
.jm-newslistpage__list{display:flex;flex-direction:column;gap:22px;}
.jm-newslistpage__item{display:flex;align-items:center;gap:22px;padding-bottom:22px;border-bottom:1px solid var(--jm-border);}
.jm-newslistpage__thumb{flex-shrink:0;width:220px;aspect-ratio:4/3;border-radius:8px;overflow:hidden;}
.jm-newslistpage__thumb img{width:100%;height:100%;object-fit:cover;transition:.3s;}
.jm-newslistpage__item:hover .jm-newslistpage__thumb img{transform:scale(1.06);}
.jm-newslistpage__body{flex:1;min-width:0;}
.jm-newslistpage__body h3{font-size:17px;font-weight:700;margin-bottom:10px;}
.jm-newslistpage__item:hover .jm-newslistpage__body h3{color:var(--jm-blue-700);}
.jm-newslistpage__body p{font-size:13.5px;color:var(--jm-text-light);line-height:1.8;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.jm-newslistpage__item time{flex-shrink:0;display:flex;align-items:center;gap:6px;font-size:12.5px;color:#9aa8b8;}

/* ==========================================================================
   搜索结果页（search.html，全站关键词搜索，复用上面的 newslistpage 列表样式）
   ========================================================================== */
.jm-searchpage__form{display:flex;align-items:center;gap:6px;max-width:640px;margin:0 auto 44px;background:#fff;border:1px solid var(--jm-border);border-radius:999px;padding:6px 6px 6px 26px;box-shadow:var(--jm-shadow);}
.jm-searchpage__input{flex:1;height:48px;border:0;outline:0;background:transparent;font-size:16px;color:var(--jm-text);}
.jm-searchpage__input::placeholder{color:#a7b3c4;}
.jm-searchpage__submit{display:inline-flex;align-items:center;gap:8px;flex-shrink:0;height:48px;padding:0 28px;border-radius:999px;background:var(--jm-brand-gradient);color:#fff;font-size:16px;font-weight:600;transition:.25s;}
.jm-searchpage__submit:hover{background:var(--jm-blue-deep);}
.jm-searchpage__summary{text-align:center;font-size:15px;color:var(--jm-text-light);margin-bottom:30px;}
.jm-searchpage__summary em{font-style:normal;font-weight:700;color:var(--jm-blue-700);}
.jm-searchpage .jm-newslistpage__item{align-items:flex-start;}
.jm-searchpage .jm-newslistpage__body :is(h3,p) span[style]{color:var(--jm-teal-800)!important;font-style:normal;font-weight:700;}
.jm-searchpage__meta{flex-shrink:0;display:flex;flex-direction:column;align-items:flex-end;gap:10px;}
.jm-searchpage__cate{font-size:12px;color:var(--jm-blue-700);background:var(--jm-blue-050);padding:3px 12px;border-radius:999px;white-space:nowrap;}
.jm-searchpage__empty{display:flex;flex-direction:column;align-items:center;gap:20px;padding:90px 0;text-align:center;color:var(--jm-text-light);font-size:15px;}
.jm-searchpage__emptyIco{position:relative;width:64px;height:64px;border-radius:50%;background:var(--jm-blue-050);flex-shrink:0;}
.jm-searchpage__emptyIco::before{content:'';position:absolute;left:17px;top:17px;width:22px;height:22px;border:3px solid var(--jm-blue-500);border-radius:50%;}
.jm-searchpage__emptyIco::after{content:'';position:absolute;left:37px;top:37px;width:15px;height:3px;background:var(--jm-blue-500);border-radius:2px;transform:rotate(45deg);}

/* PbootCMS {page:bar} 默认输出的原生分页结构（page-status/page-index/page-pre/page-numbar/page-next/page-last 嵌套span+a），
   只保留 上一页/数字/下一页 三部分做成圆形按钮，首页/尾页/统计文字隐藏，贴合圆形卡片式列表页的视觉 */
.jm-pagebar{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:36px;}
.jm-pagebar .page-status,.jm-pagebar .page-index,.jm-pagebar .page-last{display:none;}
.jm-pagebar .page-numbar{display:flex;align-items:center;gap:8px;}
.jm-pagebar a.page-num{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;border:1px solid var(--jm-border);font-size:13px;color:var(--jm-text-light);}
.jm-pagebar a.page-num:hover{border-color:var(--jm-blue-500);color:var(--jm-blue-600);}
.jm-pagebar a.page-num-current{background:var(--jm-blue-700);border-color:var(--jm-blue-700);color:#fff;}
.jm-pagebar span.page-num{width:auto;height:auto;border:0;color:var(--jm-text-light);}
.jm-pagebar .page-pre a,.jm-pagebar .page-next a{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;border:1px solid var(--jm-border);font-size:0;color:var(--jm-text-light);}
.jm-pagebar .page-pre a:hover,.jm-pagebar .page-next a:hover{border-color:var(--jm-blue-500);color:var(--jm-blue-600);}
.jm-pagebar .page-pre a::before{content:'';width:7px;height:7px;border-left:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:rotate(45deg) translate(1px,-1px);}
.jm-pagebar .page-next a::before{content:'';width:7px;height:7px;border-right:1.6px solid currentColor;border-top:1.6px solid currentColor;transform:rotate(45deg) translate(-1px,1px);}

/* ==========================================================================
   响应式
   ========================================================================== */
/* header不再受.jm-wrap 1400px限制。11个一级栏目(部分4个字)+386x69横版logo实测在24px大字号下会溢出撑破布局、
   压到logo下面（1920px整屏都会复现，不是仅窄屏问题），所以上面的基础字号已经收紧到20px；这条媒体查询只在1440-1919px进一步收紧logo尺寸。 */
@media (max-width:1919px){
  .jm-header__in{gap:20px;padding:0 24px;}
  .jm-logo img{max-height:60px;max-width:344px;}
  .jm-header.is-scrolled .jm-logo img{max-height:36px;max-width:206px;}
  .jm-nav__item{padding:0 4px;}
  .jm-nav__link{padding:0 9px;font-size:20px;}
}

/* 2026-07-31修复：之前只在logo图裂图(本地无外网加载失败,alt文字很短)的情况下验证过1440-1919px"不重叠"，
   结论是假的——logo图正常加载后(真实386x69横版文字图)会撑到约336-390px宽，用无头Chrome实测(真实能连OSS)
   发现1560px以下(1440/1512/1560实测均复现)"首页"tab会压在logo文字"...医院"上，1600px以上才有安全间距。
   常见笔记本/高分屏在系统缩放下的逻辑分辨率(如2880x1800在150%~180%缩放下约等于1600/1920，
   但200%缩放≈1440，或直接落在1500-1590这个区间)很容易落进这个真实重叠区间，不是极端个案。
   这里加一档1679px断点进一步收紧字号/间距/logo尺寸，把安全线下探到1440px。 */
@media (max-width:1679px){
  .jm-header__in{gap:14px;padding:0 20px;}
  .jm-logo img{max-height:50px;max-width:280px;}
  .jm-header.is-scrolled .jm-logo img{max-height:32px;max-width:179px;}
  .jm-nav__item{padding:0 2px;}
  .jm-nav__link{padding:0 6px;font-size:17px;}
}

/* 11个一级栏目(部分4个字)+横版logo，字号/间距要保证不重叠只能在≥1440px才放得下单行导航；
   比这更窄的桌面/平板宽度改成和手机端一样收进汉堡菜单，不再硬挤单行。只影响导航显隐，独立于下面1199px断点(那个管的是九宫格/卡片这些板块的布局切换)。 */
@media (max-width:1439px){
  .jm-nav{display:none;}
  .jm-burger{display:flex;}
  .jm-header__right{margin-left:auto;}
}

@media (max-width:1199px){
  .jm-wrap{width:100%!important;max-width:none!important;padding:0 20px!important;}
  .jm-header__in{height:90px;}
  .jm-header.is-scrolled .jm-header__in{height:60px;}
  .jm-logo img{max-height:54px;max-width:310px;}
  .jm-header.is-scrolled .jm-logo img{max-height:36px;max-width:206px;}
  .jm-notice__label .cn{font-size:26px;}
  .jm-title .cn{font-size:32px;}
  .jm-dept__tab .icon{width:72px;height:72px;}
  .jm-dept__tab.is-active .icon,.jm-dept__tab:hover .icon{width:80px;height:80px;}
  .jm-dept__tab .cn{font-size:22px;}
  .jm-services__grid{height:auto;flex-wrap:wrap;}
  .jm-services__col{flex:0 0 calc(50% - 8px);flex-direction:row;height:198px;}
  .jm-services__col--mid{flex:0 0 100%;flex-direction:row;height:auto;order:-1;}
  .jm-services__col--mid .jm-services__i1{height:280px;}
  .jm-services__col--mid .jm-services__i6{height:198px;}
  .jm-services__col:not(.jm-services__col--mid)>a{flex:1;}
  .jm-experts__card{flex:0 0 calc(50% - 12px);}
  .jm-news__grid{flex-wrap:wrap;}
  .jm-news__col--l,.jm-news__col--m,.jm-news__col--r{flex:1 1 100%;height:auto;}
  .jm-news__col--m{height:360px;}
  .jm-campus__list{flex-wrap:wrap;height:auto;}
  .jm-campus__item{flex:1 1 calc(50% - 4px)!important;height:260px;}
  .jm-footer__top{flex-wrap:wrap;}
  .jm-dept__list--page{grid-template-columns:repeat(3,1fr);}
  .jm-newschannel__slide{grid-template-columns:1fr;}
  .jm-newschannel__grid{grid-template-columns:repeat(2,1fr);}
  .jm-noticechannel__grid{grid-template-columns:repeat(2,1fr);}
  .jm-footer__qrgroup{margin-top:24px;}
  .jm-mnav__in{padding:100px 30px 40px;}
  .jm-mnav__cols{gap:36px 24px;}
  .jm-article__layout{padding-top:40px;}
  .jm-article__title{font-size:26px;}
}

@media (max-width:768px){
  .jm-nav,.jm-header__ico:first-child{display:none;}
  .jm-burger{display:flex;}
  .jm-header__in{height:60px;}
  .jm-mnav__close{top:20px;right:20px;font-size:28px;}
  .jm-mnav__search{top:20px;left:20px;font-size:14px;padding:9px 22px;}
  .jm-mnav__in{padding:80px 24px 40px;align-items:flex-start;}
  .jm-mnav__col{flex:1 1 40%;}
  .jm-mnav__colTitle{font-size:18px;margin-bottom:16px;}
  .jm-mnav__colList{gap:12px;}
  .jm-mnav__colList a{font-size:14px;}
  .jm-logo img{max-height:32px;max-width:184px;}
  .jm-header.is-scrolled .jm-logo img{max-height:28px;max-width:160px;}
  .jm-banner{height:60vh;min-height:420px;}
  .jm-section{padding:44px 0;}
  .jm-title .cn{font-size:24px;}
  .jm-title--row{flex-wrap:wrap;gap:14px;}

  .jm-notice__in{flex-wrap:wrap;}
  .jm-notice__label{width:100%;margin-right:0;margin-bottom:10px;}
  .jm-notice__label .cn{font-size:22px;}
  .jm-notice__more{display:none;}
  .jm-notice__list .tit{font-size:14px;}
  .jm-notice__list time{font-size:12px;}

  .jm-title .cn{font-size:24px;}
  .jm-news__head h3{font-size:20px;}

  .jm-services__col{flex:0 0 100%;}
  .jm-services__col--mid{order:-1;}

  .jm-dept__tabs{flex-wrap:wrap;gap:10px;}
  .jm-dept__tab{flex:0 0 calc(50% - 5px);}
  .jm-dept__tab .icon{width:56px;height:56px;}
  .jm-dept__tab.is-active .icon,.jm-dept__tab:hover .icon{width:62px;height:62px;}
  .jm-dept__tab .cn{font-size:17px;}
  .jm-dept__az-item{min-width:34px;height:34px;font-size:13px;}
  .jm-dept__list{grid-template-columns:1fr 1fr;padding:24px;}
  .jm-dept__item a{font-size:15px;}
  .jm-dept__az{gap:6px;}

  .jm-experts__pos,.jm-experts__desc{font-size:13px;}
  .jm-health__txt h4{font-size:16px;}
  .jm-health__txt time,.jm-health__txt p,.jm-health__txt .more{font-size:13px;}

  .jm-campus__item .mask2 .tit{font-size:22px;}
  .jm-campus__item .mask2 .info p,.jm-campus__item .map-btn{font-size:13px;}

  .jm-footer__logo{height:52px;}
  .jm-footer__slogan{font-size:15px;}
  .jm-footer__navtitle{font-size:15px;}
  .jm-footer__links{font-size:13.5px;}
  .jm-footer__qrgroup{flex-wrap:nowrap;gap:10px;}
  .jm-footer__qr{flex:1 1 0;min-width:0;}
  .jm-footer__qr img{width:100%;height:auto;aspect-ratio:1/1;max-width:80px;padding:4px;}
  .jm-footer__qr span{font-size:12px;}

  .jm-experts__row{gap:12px;}
  .jm-experts__card{flex:0 0 calc(50% - 6px);}
  .jm-experts__name{font-size:13px;height:34px;line-height:34px;min-width:80px;padding:0 14px;}

  .jm-health__card{flex:0 0 82%;}

  .jm-news__col--l,.jm-news__col--m,.jm-news__col--r{padding:22px 18px;height:auto;}
  .jm-news__col--m{height:280px;}

  .jm-campus__item{flex:0 0 100%!important;height:140px;}
  .jm-campus__item.is-active{height:420px;}
  .jm-campus__item .mask1{flex-direction:row;justify-content:space-between;padding:0 20px;}
  .jm-campus__item .mask1 .tit{writing-mode:horizontal-tb;font-size:17px;}
  .jm-campus__item .mask1 .more{flex-direction:row;gap:6px;}
  .jm-campus__item .mask2 .inn{flex-direction:column;align-items:flex-start;gap:14px;}

  .jm-footer__top{flex-direction:column;padding:32px 0;}
  .jm-footer__brand{max-width:100%;}
  .jm-footer__qrgroup{margin-top:22px;justify-content:flex-start;}
  .jm-footer__copy-in{flex-direction:column;align-items:flex-start;}

  .jm-innerbanner{height:200px;}
  .jm-innerbanner__title{font-size:24px;}
  .jm-subnav__item{padding:13px 16px;font-size:13.5px;}
  .jm-deptpage__search{flex-wrap:wrap;}
  .jm-deptpage__input{width:100%;order:1;}
  .jm-deptpage__gbody{padding:16px;}
  .jm-expertslistpage__selectwrap,.jm-expertslistpage__input{width:100%;}
  .jm-expertslistpage__select{width:100%;}
  .jm-expertslistpage__search .jm-btn{width:100%;}
  .jm-dept__list--page{grid-template-columns:1fr 1fr;}
  .jm-newschannel__slide{grid-template-columns:1fr;}
  .jm-newschannel__grid{grid-template-columns:1fr;}
  .jm-noticechannel__grid{grid-template-columns:1fr;}
  .jm-newslistpage__item{flex-wrap:wrap;}
  .jm-newslistpage__thumb{width:120px;}
  .jm-newslistpage__item time{width:100%;order:3;}
  .jm-searchpage__form{padding:5px 5px 5px 18px;margin-bottom:30px;}
  .jm-searchpage__input{height:42px;font-size:14px;}
  .jm-searchpage__submit{height:42px;padding:0 18px;font-size:14px;}
  .jm-searchpage__meta{width:100%;flex-direction:row;justify-content:space-between;align-items:center;order:3;margin-top:4px;}
  .jm-searchpage__empty{padding:60px 0;}

  .jm-article__layout{padding-top:28px;}
  .jm-article__title{font-size:21px;}
  .jm-article__head{margin-bottom:20px;padding-bottom:18px;}
  .jm-article__body{font-size:15px;}
  .jm-article__body strong{font-size:17px;}
}

/* ==========================================================================
   科室详情页 / 专家详情页 / 图片列表页（2026-07-30 全站样式统一新增）
   ========================================================================== */
.jm-keshivr__frame{position:relative;width:100%;height:75vh;border-radius:var(--jm-radius);overflow:hidden;box-shadow:var(--jm-shadow);}
.jm-keshivr__frame iframe{width:100%;height:100%;border:0;display:block;}

.jm-keshiexperts{background:var(--jm-tint);}

.jm-teamdetail__layout{display:flex;gap:50px;align-items:flex-start;padding:56px 0;}
.jm-teamdetail__pic{flex:0 0 320px;aspect-ratio:4/5;border-radius:var(--jm-radius);overflow:hidden;box-shadow:var(--jm-shadow);}
.jm-teamdetail__pic img{width:100%;height:100%;object-fit:cover;display:block;cursor:zoom-in;}
.jm-teamdetail__main{flex:1;min-width:0;padding-top:6px;}
.jm-teamdetail__name{font-size:30px;font-weight:800;color:var(--jm-text);padding-bottom:22px;margin-bottom:26px;border-bottom:1px solid var(--jm-border);}
.jm-teamdetail__name span{display:block;margin-top:12px;font-size:18px;font-weight:500;color:var(--jm-blue-700);}

/* ---------- 图片列表（医院荣誉/医院环境等横版图集）---------- */
.jm-gallery__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:36px 28px;}
.jm-gallery__card{display:block;background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 6px 20px rgba(20,103,162,.07);transition:.4s cubic-bezier(.22,1,.36,1);}
.jm-gallery__card:hover{transform:translateY(-8px);box-shadow:0 22px 40px rgba(20,103,162,.16);}
.jm-gallery__pic{position:relative;aspect-ratio:4/3;overflow:hidden;background:var(--jm-tint);}
.jm-gallery__pic img{width:100%;height:100%;object-fit:cover;transition:.6s cubic-bezier(.22,1,.36,1);}
.jm-gallery__card:hover .jm-gallery__pic img{transform:scale(1.06);}
.jm-gallery__body{position:relative;padding:8px 22px 24px;text-align:center;}
.jm-gallery__body::before{content:'';display:block;width:30px;height:3px;margin:0 auto 14px;border-radius:2px;background:var(--jm-teal-700);}
.jm-gallery__title{font-size:17px;font-weight:700;color:var(--jm-text);line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
/* 荣誉墙：证书/奖牌实拍照片底色五花八门，用统一浅色卡纸底衬+留白让画面完整不裁切，避免拼在一起时颜色打架 */
.jm-gallery__grid--frame .jm-gallery__pic{padding:18px;background:linear-gradient(180deg,#f6f9ff,#eef2fa);}
.jm-gallery__grid--frame .jm-gallery__pic img{object-fit:contain;border-radius:6px;box-shadow:0 4px 14px rgba(20,103,162,.14);}
.jm-gallery__grid--frame .jm-gallery__card:hover .jm-gallery__pic img{transform:scale(1.035);}
@media (max-width:1199px){
  .jm-gallery__grid{grid-template-columns:repeat(3,1fr);gap:26px 20px;}
}
@media (max-width:768px){
  .jm-gallery__grid{grid-template-columns:repeat(2,1fr);gap:16px 12px;}
  .jm-gallery__grid--frame .jm-gallery__pic{padding:10px;}
  .jm-gallery__body{padding:6px 12px 16px;}
  .jm-gallery__body::before{margin-bottom:10px;}
  .jm-gallery__title{font-size:14px;}
}

@media (max-width:768px){
  .jm-keshivr__frame{height:42vh;}
  .jm-teamdetail__layout{flex-direction:column;padding:32px 0;}
  .jm-teamdetail__pic{flex-basis:auto;width:220px;max-width:60vw;margin:0 auto;}
  .jm-teamdetail__name{font-size:22px;text-align:center;}
  .jm-teamdetail__name span{font-size:15px;}
}

/* 正文图片点击放大层（由 /static/js/previewImage.js 生成，见 main.js initImageZoom）：
   手机端纯黑底突出图片，桌面端改浅色底并隐藏张数角标，图片按原比例居中显示 */
#__previewImage-container{background:rgba(0,0,0,.85);}
@media screen and (min-width:1024px){
  #__previewImage-container{background:rgba(255,255,255,.92);}
  #__previewImage-container .previewImage-box .previewImage-item .previewImage-image{width:auto;}
  #__previewImage-container .previewImage-text{display:none;}
}
