/* 金华顾连金帆康复医院官网 · 正式风格(非圆角) */
:root {
    --primary: #eb6d8e;
    --primary-dark: #d4567a;
    --accent: #03b7db;
    --text: #2b2b2b;
    --muted: #8a8f94;
    --bg-alt: #f4f7fa;
    --line: #e3e8ec;
    --nav-h: 56px;
    --bar-h: 56px;
    --container: 1200px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
/* 全局去除列表圆点(导航/栏目/图标列表);正文列表单独恢复 */
ul, ol { list-style: none; }
.article-content ul, .article-content ol { list-style: disc; padding-left: 24px; margin: 8px 0; }
.article-content ol { list-style-type: decimal; }
body {
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
    color: var(--text); line-height: 1.7; font-size: 16px;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}
/* 键盘可达性:统一焦点样式 */
a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 2px solid var(--accent); outline-offset: 2px;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); font-size: 13px; }

/* header */
.site-header { background: #fff; border-bottom: 2px solid var(--primary); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.logo { display: flex; flex-direction: column; line-height: 1.3; }
.logo-name { font-size: 20px; font-weight: 700; color: var(--primary); }
.logo-sub { font-size: 10px; color: var(--muted); letter-spacing: 1px; }
.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.main-nav > a, .nav-drop > a { padding: 8px 14px; color: var(--text); font-size: 15px; }
.main-nav > a:hover, .nav-drop:hover > a { color: var(--primary); background: var(--bg-alt); }
.nav-drop { position: relative; }
.nav-drop .drop-list { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--line); min-width: 150px; z-index: 10; }
.nav-drop:hover .drop-list { display: block; }
.drop-list a { display: block; padding: 8px 14px; border-bottom: 1px solid var(--line); color: var(--text); }
.drop-list a:hover { background: var(--bg-alt); }
.nav-cta { background: var(--primary); color: #fff; padding: 8px 18px; font-size: 14px; }
.nav-cta:hover { background: var(--primary-dark); color: #fff; }

/* hero */
.hero { background: linear-gradient(120deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; padding: 72px 0; }
.hero h1 { font-size: 34px; margin-bottom: 12px; }
.hero p { opacity: .92; font-size: 16px; }
.hero-tags { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tags span { border: 1px solid rgba(255,255,255,.5); padding: 4px 14px; font-size: 13px; }

/* sections */
.section { padding: 48px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: 24px; text-align: center; margin-bottom: 6px; color: var(--text); }
.section-title::after { content: ""; display: block; width: 42px; height: 3px; background: var(--accent); margin: 10px auto 0; }
.section-sub { text-align: center; color: var(--muted); margin-bottom: 28px; }

/* dept grid */
.dept-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.dept-card { border: 1px solid var(--line); background: #fff; padding: 20px 16px; color: var(--text); transition: all .15s; border-top: 3px solid var(--primary); }
.dept-card:hover { border-color: var(--primary); box-shadow: 0 4px 14px rgba(26,92,138,.12); color: var(--text); }
.dept-card h3 { font-size: 16px; color: var(--primary); margin-bottom: 6px; }
.dept-card p { font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* spotlight */
.spotlight { display: flex; gap: 32px; align-items: center; }
.spotlight-img { flex: 0 0 380px; height: 230px; background: #dfe7ee; display: block; overflow: hidden; }
.spotlight-img img { width: 100%; height: 100%; object-fit: cover; }
.spotlight-body h2 { font-size: 20px; margin-bottom: 12px; }
.spotlight-body p { color: #555; margin-bottom: 12px; }

/* news list */
.news-list { display: flex; flex-direction: column; }
.news-item { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.news-date { flex: 0 0 92px; text-align: center; color: var(--primary); border-right: 1px solid var(--line); padding-right: 14px; }
.news-date b { font-size: 17px; }
.news-body h3 { font-size: 16px; margin-bottom: 4px; font-weight: 600; }
.news-body h3 a { color: var(--text); }
.news-body h3 a:hover { color: var(--primary); }
.news-body p { font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.more-link { text-align: center; margin-top: 22px; }

/* breadcrumb */
.breadcrumb { padding: 16px 16px 0; font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--muted); margin-right: 4px; }
.breadcrumb span { color: var(--text); }

/* two col */
.layout-two { display: flex; gap: 36px; padding: 24px 16px 48px; }
.main-col { flex: 1; min-width: 0; }
.side-col { flex: 0 0 260px; }
.page-title { font-size: 24px; padding: 12px 0; border-bottom: 2px solid var(--primary); margin-bottom: 10px; }

/* article */
.article-page { padding: 24px 16px 56px; max-width: 860px; }
.article-title { font-size: 26px; line-height: 1.4; margin-bottom: 12px; }
.article-meta { color: var(--muted); font-size: 13px; display: flex; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.article-lead { background: var(--bg-alt); border-left: 3px solid var(--primary); padding: 12px 16px; margin: 18px 0; color: #555; font-size: 15px; }
.article-content { padding: 20px 0; font-size: 16px; overflow-wrap: break-word; }
.article-content img { max-width: 100%; height: auto; }
.article-content p { margin: 12px 0; }
.article-content h2, .article-content h3 { margin: 20px 0 10px; }
.article-content ul, .article-content ol { padding-left: 24px; margin: 10px 0; }
.related { margin-top: 32px; border-top: 2px solid var(--primary); padding-top: 16px; }
.related h2 { font-size: 17px; margin-bottom: 12px; }
.related li { display: flex; justify-content: space-between; padding: 6px 0; list-style: none; border-bottom: 1px dashed var(--line); }
.related ul { list-style: none; }

/* widgets */
.widget { background: #fff; border: 1px solid var(--line); margin-bottom: 20px; }
.widget h4 { background: var(--primary); color: #fff; padding: 10px 14px; font-size: 15px; }
.widget-list { list-style: none; }
.widget-list li a { display: block; padding: 8px 14px; border-bottom: 1px dashed var(--line); color: var(--text); }
.widget-list li a:hover { background: var(--bg-alt); }
.widget-search { padding: 14px; display: flex; gap: 8px; }
.widget-search input { flex: 1; border: 1px solid var(--line); padding: 8px; font-size: 14px; }
.widget-search button { background: var(--primary); border: 0; color: #fff; padding: 0 18px; cursor: pointer; }
.search-large { max-width: 480px; margin-top: 20px; }

.pager { display: flex; gap: 16px; justify-content: center; padding: 20px 0; color: var(--muted); font-size: 14px; }

/* 404 */
.center-404 { text-align: center; padding: 100px 16px; }
.center-404 h1 { font-size: 72px; color: var(--primary); }
.center-404 p { margin: 12px 0 24px; color: var(--muted); }
.btn { display: inline-block; background: var(--primary); color: #fff; padding: 9px 22px; border: 0; cursor: pointer; font-size: 14px; }
.btn:hover { background: var(--primary-dark); color: #fff; }
.btn-ghost { background: transparent; border: 1px solid var(--primary); color: var(--primary); }
.btn-ghost:hover { background: var(--primary); color: #fff; }

/* footer */
.site-footer { background: #22303c; color: #b9c4cd; padding: 44px 0 0; margin-top: 40px; }
.footer-cols { display: flex; gap: 60px; padding-bottom: 30px; }
.footer-cols h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer-cols a { display: block; color: #b9c4cd; font-size: 13px; padding: 3px 0; }
.footer-copy { border-top: 1px solid #3a4a58; padding: 16px; text-align: center; font-size: 13px; }

/* responsive:平板 */
@media (max-width: 900px) {
    .dept-grid { grid-template-columns: repeat(2, 1fr); }
    .layout-two { flex-direction: column; gap: 24px; }
    .side-col { flex: none; width: 100%; }
    .spotlight { flex-direction: column; }
    .spotlight-img { flex-basis: auto; width: 100%; }
}
/* ===== 复刻旧站版式 ===== */
body { padding-top: var(--nav-h); }
.centerC { width: var(--container); max-width: 96%; margin: 20px auto; position: relative; }
.clear:after { display: block; clear: both; content: ""; visibility: hidden; height: 0; }
.clear { zoom: 1; }

/* 顶部固定导航 */
.fluidC.nav { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.06); z-index: 9999; }
.nav-inner { margin: 0 auto; display: flex; align-items: center; gap: 16px; height: var(--nav-h); }
.nav .leftLogo img { height: var(--nav-h); margin-right: 0; display: block; }
.nav .header-menu { display: flex; margin-left: auto; }
/* 移动端菜单按钮与遮罩(桌面隐藏) */
.nav-toggle { display: none; }
.nav-mask { display: none; }
.nav .header-menu > li { float: left; position: relative; }
.nav .header-menu > li > a { display: block; height: var(--nav-h); line-height: var(--nav-h); color: #000; padding: 0 22px; font-size: 16px; }
.nav .header-menu > li > a:hover { background-color: #eb6d8e; color: #fff; }
.nav .header-menu > li.on > a { background-color: #eb6d8e; color: #fff; }
.nav .header-menu > li.on:before, .nav .header-menu > li:hover:before {
    content: ""; display: block; border-bottom: 11px solid #fff;
    border-left: 9px solid transparent; border-right: 9px solid transparent;
    width: 0; position: absolute; bottom: 0; left: 50%; margin-left: -9px; z-index: 10;
}
.nav .header-menu > li > ul { position: absolute; z-index: 1000; background: #fff; display: none; min-width: 150px; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.nav .header-menu > li:hover > ul { display: block; }
.nav .header-menu > li > ul li a { display: block; padding: 0 20px; line-height: 42px; color: #222; font-size: 15px; border-bottom: 1px solid #f0f0f0; }
.nav .header-menu > li > ul li a:hover { color: #03b7db; background: #f7f7f7; }

/* 版块标题(粉红下划线) */
.indexPubTit { display: flex; align-items: baseline; gap: 8px; width: 100%; height: auto; line-height: 1.4; padding-bottom: 8px; border-bottom: 1px solid #eb6d8e; }
.indexPubTit h2 { font-size: clamp(18px, 2vw, 24px); color: #eb6d8e; font-weight: normal; }
.indexPubTit h2 span { font-size: clamp(13px, 1.4vw, 18px) !important; }
.indexPubTit a { margin-left: auto; font-size: 14px; color: #eb6d8e; white-space: nowrap; }

/* banner 轮播:图片按宽度完整显示,高度随图片比例同步缩放 */
.banner { width: 100%; height: auto; margin-top: 0; position: relative; overflow: hidden; background: #f2f2f2; }
.banner .bannerList { height: auto; }
.banner .banner-slide { display: none; }
.banner .banner-slide.on { display: block; }
.banner .banner-slide img { display: block; width: 100%; height: auto; object-fit: contain; }
.banner .slick-arrow, .banner .ban_prev, .banner .ban_next { width: clamp(32px, 5vw, 62px); height: auto; position: absolute; top: 50%; transform: translateY(-50%); z-index: 100; }
.banner .ban_prev { left: max(12px, calc(50% - 600px)); margin-left: 0; }
.banner .ban_next { right: max(12px, calc(50% - 600px)); margin-right: 0; }
.banner .ban_prev img, .banner .ban_next img { display: block; width: 100%; opacity: .7; }
.banner .slick-dots { position: absolute; width: 100%; bottom: 0; text-align: center; height: 20px; line-height: 20px; background: rgba(0,0,0,.4); z-index: 50; }
.banner .slick-dots li { display: inline-block; margin: 0 5px; }
.banner .slick-dots li { width: 12px; height: 12px; background: #fff; opacity: .5; border-radius: 50%; cursor: pointer; }
.banner .slick-dots li.active { opacity: 1; background-color: #eb6d8e; }

/* 布局块容器(后台可视化布局驱动) */
.home-flex { display: flex; flex-wrap: wrap; width: var(--container); max-width: 96%; margin: 0 auto; }
.home-block { box-sizing: border-box; padding: 0 10px; margin-bottom: 14px; min-width: 0; }
.blk-banner { padding: 0; margin-bottom: 0; }

/* 新闻动态 + 患者服务 两栏(宽度由布局块控制) */
.newsBox { width: 100%; overflow: hidden; }
.newsBox ul { height: 350px; margin-top: 20px; overflow: hidden; }
.newsBox ul li { margin-top: 10px; }
.newsBox ul li.on .titbox { display: none; }
.newsBox ul li.on .conBox { display: block; }
.newsBox ul .titbox { display: flex; align-items: center; gap: 10px; overflow: hidden; line-height: 32px; }
.newsBox ul .no { flex: 0 0 32px; width: 32px; height: 32px; display: block; background: #eee; color: #666; text-align: center; line-height: 32px; font-size: 18px; }
.newsBox ul .newsTit { flex: 1 1 auto; min-width: 0; display: block; height: 32px; font-size: clamp(15px, 1.5vw, 18px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #222; }
.newsBox ul .time { flex: 0 0 auto; height: 32px; color: #03b7db; font-size: 13px; line-height: 32px; text-align: right; white-space: nowrap; }
.newsBox ul .conBox { overflow: hidden; background: #f2f2f2; padding: 0 15px 15px; display: none; }
.newsBox ul .conBox .no { background: #03b7db; color: #fff; }
.newsBox ul .conBox .conTit { display: flex; align-items: center; gap: 10px; overflow: hidden; line-height: 32px; margin-bottom: 15px; }
.newsBox ul .conBox .conTit .newsTit { color: #03b7db; }
.newsBox ul .conBox .conRow { display: flex; gap: 20px; }
.newsBox ul .conBox .newsImg { flex: 0 1 265px; min-width: 0; aspect-ratio: 265 / 135; overflow: hidden; }
.newsBox ul .conBox .newsImg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.newsBox ul .conBox .textBox { flex: 1 1 200px; min-width: 0; position: relative; display: flex; flex-direction: column; justify-content: space-between; }
.newsBox ul .conBox .textBox p { overflow: hidden; font-size: 14px; color: #222; line-height: 25px; max-height: 100px; }
.newsBox ul .conBox .textBox p a { color: #03b7db; }

.fuwuBox { width: 100%; }
.fuwuBox ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px 8px; height: 350px; margin-top: 20px; overflow: hidden; align-content: start; }
.fuwuBox ul li { height: 140px; text-align: center; margin: 0; }
.fuwuBox ul li img { height: 90px; max-width: 100%; margin: 0 auto; }
.fuwuBox ul li span { display: block; color: #222; font-size: clamp(14px, 1.5vw, 18px); margin-top: 10px; }
.fuwuBox ul a:hover span { color: #03b7db; }
.fuwuBox ul a:hover img { opacity: .8; }

/* 康复类别 16 卡(流式网格,底板图自适应卡片尺寸) */
.indexFuwu { margin-bottom: 10px; width: 100%; }
.indexFuwu ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 9px; margin-right: 0; overflow: visible; }
.indexFuwu li { float: none; margin: 0; text-align: center; }
.indexFuwu a { display: block; width: 100%; height: 150px; padding: 1px; background: url("/static/img/fuwuBg1.png") no-repeat left top; background-size: 100% 100%; }
.indexFuwu a:hover { background: url("/static/img/fuwuBg2.png") no-repeat left top; background-size: 100% 100%; }
.indexFuwu .imgBox { width: 100%; height: 100px; overflow: hidden; margin-top: 10px; }
.indexFuwu .imgBox img { width: 100%; }
.indexFuwu span { font-size: 14px; color: #222; line-height: 40px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 2px; }

/* 底部固定咨询条 */
.fixed-bar { position: fixed; bottom: 0; left: 0; right: 0; background: #3d3e44; z-index: 9998; box-shadow: 0 -2px 8px rgba(0,0,0,.2); padding-bottom: env(safe-area-inset-bottom); }
.fixed-inner { display: flex; align-items: center; height: var(--bar-h); gap: 16px; }
.fb-icons { display: flex; gap: 10px; }
.fb-icons img { width: 40px; height: 40px; display: block; opacity: .9; }
.fb-icons a:hover img { opacity: 1; }
.fb-call { display: flex; }
.fb-call input { width: 200px; height: 34px; border: none; padding: 0 10px; font-size: 14px; outline: none; }
.fb-call button { height: 34px; border: none; background: #03b7db; color: #fff; padding: 0 16px; font-size: 14px; cursor: pointer; }
.fb-btn { display: inline-block; height: 34px; line-height: 34px; padding: 0 22px; font-size: 15px; color: #fff; background: #eb6d8e; }
.fb-pink { background: #eb6d8e; }
.fb-blue { background: #03b7db; }
.fb-btn:hover { opacity: .9; color: #fff; }
.fb-tel { margin-left: auto; color: #fff; font-size: 20px; display: flex; align-items: center; gap: 8px; }
.fb-tel:hover { color: #fff; }

/* 页脚(旧站深灰) */
.site-footer { background: #46474e; padding: 40px 0 40px; margin-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); color: #fff; }
.no-contact-bar .site-footer { margin-bottom: 0; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 12px; font-weight: normal; }
.site-footer .footer-cols { display: flex; gap: 60px; }
.site-footer .footer-cols a { display: block; color: #ccc; font-size: 14px; line-height: 28px; }
.site-footer .footer-cols a:hover { color: #eb6d8e; }
.footer-info { border-top: 1px solid #666; margin-top: 20px; padding-top: 16px; font-size: 13px; color: #999; }
.footer-extra { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; padding-top: 20px; }
.footer-links { flex: 1 1 320px; font-size: 13px; line-height: 28px; color: #999; }
.footer-links .fl-title { color: #ccc; margin-right: 2px; }
.footer-links a { color: #999; margin-right: 18px; white-space: nowrap; }
.footer-links a:hover { color: #eb6d8e; }
.footer-qr { display: flex; gap: 18px; }
.qr-item { text-align: center; color: #999; font-size: 12px; }
.qr-item img { display: block; width: 88px; height: 88px; object-fit: contain; background: #fff; padding: 4px; margin: 0 auto 6px; }
.footer-info p { line-height: 24px; }
.footer-icp { display: flex; align-items: center; gap: 6px; }
.footer-icp img { width: 20px; height: 20px; object-fit: contain; flex: 0 0 20px; }
.footer-icp a { color: #999; }
.footer-icp a:hover { color: #eb6d8e; }

@media (max-width: 1240px) {
    .fuwuBox ul { height: auto; min-height: 350px; }
    .nav .header-menu > li > a { padding: 0 14px; font-size: 15px; }
    .fb-tel { font-size: 16px; }
}

/* 窄桌面/横屏平板:首页两栏块改为通栏,避免挤压 */
@media (max-width: 1100px) {
    .home-flex .home-block { width: 100% !important; padding: 0 12px; }
    .newsBox ul, .fuwuBox ul { height: auto; min-height: 0; }
    .fuwuBox ul { grid-template-columns: repeat(4, 1fr); }
    .layout-two { gap: 28px; }
}

/* ===== 走进顾连(旧站 1:1 复刻:左 Tab + 右轮播) ===== */
.aboutWrap { display: flex; margin-top: 25px; }
.aboutNav { flex: 0 0 178px; width: 178px; }
.aboutNav li {
    width: 100%; height: 60px; margin-bottom: 24px;
    background: url("../img/libg.png") no-repeat;
    line-height: 60px; text-align: center; font-size: 20px;
    color: #ffffff; cursor: pointer;
}
.aboutNav li.on, .aboutNav li:hover { background: url("../img/libgHover.png"); }
.aboutRight { position: relative; flex: 1; min-width: 0; height: clamp(260px, 28vw, 320px); margin-top: 0; overflow: hidden; }
.aboutPanel { position: relative; height: 100%; }
.aboutSlider { height: 100%; }
.aboutSlider .item { background: #f2f2f2; height: 100%; overflow: hidden; position: relative; display: flex; }
.aboutSlider .imgBox { flex: 0 0 59%; min-width: 0; height: 100%; overflow: hidden; }
.aboutSlider .imgBox img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aboutSlider .des { flex: 1; padding: 25px; color: #666666; position: relative; }
.aboutSlider .des strong { font-size: 20px; font-weight: 500; color: #333; display: block; line-height: 1.5; }
.aboutSlider .des p { font-size: 14px; line-height: 2; margin-top: 20px; }
.aboutSlider .des .a2 { position: absolute; bottom: 20px; right: 25px; }
.aboutSlider .des .a2 img { display: block; }
.aboutPrev, .aboutNext { width: 34px; height: 34px; position: absolute; top: 50%; margin-top: -17px; bottom: auto; cursor: pointer; z-index: 5; }
.aboutPrev { left: 10px; }
.aboutNext { right: 10px; left: auto; }
.aboutPrev img, .aboutNext img { display: block; }

/* ===== 手机端适配(≤900px) ===== */
@media (max-width: 900px) {
    body { padding-top: calc(var(--nav-h) + env(safe-area-inset-top)); }
    .fluidC.nav { height: calc(var(--nav-h) + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); }
    .nav-inner { height: var(--nav-h); gap: 8px; }
    .nav .leftLogo img { height: 40px; }

    /* 汉堡按钮 */
    .nav-toggle {
        display: flex; flex-direction: column; justify-content: center; gap: 5px;
        width: 44px; height: 44px; margin-left: auto; padding: 10px 6px;
        background: transparent; border: 0; cursor: pointer;
    }
    .nav-toggle span { display: block; width: 100%; height: 2px; background: #eb6d8e; transition: transform .22s ease, opacity .22s ease; }
    .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* 侧滑菜单:下拉层级改为常显缩进列表 */
    .nav .header-menu {
        position: fixed; top: calc(var(--nav-h) + env(safe-area-inset-top)); right: 0; bottom: 0;
        width: min(84vw, 320px); padding: 4px 0 calc(var(--bar-h) + env(safe-area-inset-bottom));
        background: #fff; box-shadow: -6px 0 24px rgba(0,0,0,.14);
        flex-direction: column; align-items: stretch; gap: 0; margin-left: 0;
        overflow-y: auto; -webkit-overflow-scrolling: touch;
        transform: translateX(100%); visibility: hidden; pointer-events: none;
        transition: transform .25s ease, visibility .25s ease;
        z-index: 3;
    }
    .nav .header-menu.open { transform: translateX(0); visibility: visible; pointer-events: auto; }
    .nav .header-menu > li { float: none; position: static; }
    .nav .header-menu > li > a { display: flex; align-items: center; height: auto; min-height: 48px; line-height: 1.4; padding: 12px 20px; font-size: 16px; border-bottom: 1px solid #f2f2f2; }
    .nav .header-menu > li.on > a { background: var(--primary); color: #fff; }
    .nav .header-menu > li.on:before, .nav .header-menu > li:hover:before { display: none; }
    .nav .header-menu > li > ul {
        position: static; display: block; min-width: 0; box-shadow: none;
        background: #fafafa; border-bottom: 1px solid #f2f2f2;
    }
    .nav .header-menu > li > ul li a { padding: 11px 20px 11px 34px; line-height: 1.4; font-size: 14px; border-bottom: 1px dashed #eee; }
    body.nav-open { overflow: hidden; }
    .nav-mask {
        display: block; position: fixed; top: calc(var(--nav-h) + env(safe-area-inset-top)); right: 0; bottom: 0; left: 0;
        background: rgba(0,0,0,.45); opacity: 0; visibility: hidden; transition: opacity .25s ease; z-index: 1;
    }
    body.nav-open .nav-mask { opacity: 1; visibility: visible; }

    /* 首页版块 */
    .home-flex { max-width: 100%; padding: 0 4px; }
    .home-flex .home-block { width: 100% !important; padding: 0 8px; }
    .blk-banner { padding: 0 !important; }
    .banner .slick-dots { height: 16px; line-height: 16px; }
    .banner .slick-dots li { width: 8px; height: 8px; margin: 0 4px; vertical-align: middle; }
    .indexPubTit { padding-bottom: 6px; }
    .newsBox ul { height: auto; min-height: 0; }
    .newsBox ul li { margin-top: 6px; }
    .newsBox ul .conBox { padding: 0 12px 12px; }
    .newsBox ul .conBox .conRow { flex-direction: column; gap: 10px; }
    .newsBox ul .conBox .newsImg { flex: none; width: 100%; max-width: 320px; }
    .newsBox ul .conBox .textBox { flex: none; }
    .newsBox ul .conBox .textBox p { max-height: 76px; }
    .fuwuBox ul { grid-template-columns: repeat(4, 1fr); gap: 10px 4px; height: auto; }
    .fuwuBox ul li { height: 104px; }
    .fuwuBox ul li img { height: 58px; }
    .fuwuBox ul li span { margin-top: 6px; font-size: 14px; }
    .indexFuwu ul { grid-template-columns: repeat(auto-fill, minmax(98px, 1fr)); gap: 8px; }
    .indexFuwu a { height: 128px; }
    .indexFuwu .imgBox { height: 76px; margin-top: 8px; }
    .indexFuwu .imgBox img { height: 100%; object-fit: contain; }
    .indexFuwu span { font-size: 13px; line-height: 32px; }

    /* 走进顾连:Tab 改为横向滑动,图文上下堆叠 */
    .aboutWrap { flex-direction: column; margin-top: 16px; }
    .aboutNav { display: flex; gap: 8px; width: 100%; flex: none; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
    .aboutNav li { flex: 0 0 auto; width: auto; height: 38px; line-height: 38px; margin: 0; padding: 0 16px; font-size: 15px; background: #eb6d8e; white-space: nowrap; }
    .aboutNav li.on, .aboutNav li:hover { background: #03b7db; }
    .aboutRight { height: auto; margin-top: 10px; }
    .aboutSlider, .aboutPanel { height: auto; }
    .aboutSlider .item { flex-direction: column; height: auto; }
    .aboutSlider .imgBox { flex: none; width: 100%; height: auto; aspect-ratio: 16 / 10; }
    .aboutSlider .des { padding: 14px 16px 16px; }
    .aboutSlider .des strong { font-size: 17px; }
    .aboutSlider .des p { margin-top: 8px; line-height: 1.7; }
    .aboutSlider .des .a2 { position: static; margin-top: 10px; display: inline-block; }
    .aboutPrev, .aboutNext { width: 30px; height: 30px; margin-top: -15px; }
    .aboutPrev img, .aboutNext img { width: 100%; }

    /* 通用列表/文章页 */
    .container { padding: 0 14px; }
    .breadcrumb { padding: 12px 14px 0; font-size: 12px; }
    .page-title { font-size: 20px; padding: 8px 0; }
    .article-page { padding: 16px 14px 40px; }
    .article-title { font-size: 20px; }
    .article-meta { flex-wrap: wrap; gap: 6px 14px; font-size: 12px; }
    .article-content { font-size: 15px; }
    .article-content table { display: block; width: 100%; overflow-x: auto; }
    .news-item { gap: 12px; padding: 14px 0; }
    .news-date { flex: 0 0 76px; padding-right: 10px; }
    .news-body h3 { font-size: 15px; }
    .related li { flex-wrap: wrap; gap: 4px; }
    .side-col { flex: none; width: 100%; }
    .widget-search input { min-width: 0; }
    .search-large { max-width: 100%; margin-top: 14px; }
    .pager { flex-wrap: wrap; gap: 10px; font-size: 13px; }
    .center-404 { padding: 64px 14px; }
    .center-404 h1 { font-size: clamp(48px, 14vw, 72px); }

    /* 页脚 */
    .site-footer { padding: 26px 0 20px; margin-bottom: calc(112px + env(safe-area-inset-bottom)); }
    .site-footer h4 { font-size: 15px; margin-bottom: 8px; }
    .site-footer .footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 20px; }
    .site-footer .footer-cols a { font-size: 13px; line-height: 26px; }
    .footer-info { margin-top: 14px; padding-top: 12px; font-size: 12px; }

    /* 底部咨询条:两行紧凑布局 */
    .fixed-inner { height: auto; flex-wrap: wrap; gap: 8px; padding: 8px 10px; }
    .fb-icons { display: none; }
    .fb-call { order: 3; flex: 1 0 100%; }
    .fb-call input { flex: 1 1 auto; width: auto; min-width: 0; height: 42px; font-size: 14px; }
    .fb-call button { height: 42px; padding: 0 14px; font-size: 14px; white-space: nowrap; }
    .fb-btn { display: flex; align-items: center; justify-content: center; flex: 1 1 0; height: 42px; line-height: 1.2; padding: 0 8px; font-size: 14px; white-space: nowrap; }
    .fb-tel { margin-left: 0; font-size: 15px; white-space: nowrap; }
}

/* 超窄屏(≤380px)微调 */
@media (max-width: 380px) {
    .indexFuwu ul { grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); }
    .fuwuBox ul { grid-template-columns: repeat(4, 1fr); }
    .fuwuBox ul li span { font-size: 13px; }
    .newsBox ul .time { font-size: 12px; }
    .nav .header-menu { width: 88vw; }
}

/* 触屏设备:放大点击区域,去掉依赖悬停的反馈 */
@media (pointer: coarse) {
    .nav .header-menu > li > a, .nav .header-menu > li > ul li a { min-height: 44px; }
    .drop-list a, .widget-list li a { padding: 10px 14px; }
    .btn { min-height: 44px; }
    .fb-btn, .fb-call button { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
    .nav .header-menu, .nav-mask, .nav-toggle span { transition: none; }
}
