/* ============================================================
   BadouCMS 医药版首页模板 样式
   设计参照：MetInfo mui1012 医药公司响应式模板
   ============================================================ */
/* ============ 变量与重置 ============ */
:root{
  --primary:      #0d56a7;   /* 主色 */
  --primary-dark: #0a4485;
  --navy-card:    #043156;   /* 业务卡片深蓝 */
  --footer:       #224295;   /* 页脚蓝 */
  --footer-border:#4e68aa;
  --footer-link:  #afc1ee;
  --text:         #2a333c;
  --text-gray:    #888888;
  --bg-light:     #f2f4f8;
  --bg-welfare:   #f2f2f5;
  --white:        #ffffff;
}
*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  font-family:"Segoe UI","Lucida Grande",Helvetica,Arial,"Microsoft YaHei",FreeSans,Arimo,"Droid Sans","wenquanyi micro hei","Hiragino Sans GB",Roboto,sans-serif;
  color:var(--text);
  font-size:14px;
  line-height:1.75;
  background:var(--white);
  -webkit-font-smoothing:antialiased;
}
a{ text-decoration:none; color:inherit; }
ul{ list-style:none; }
img{ display:block; max-width:100%; }
.container{ max-width:100%; margin:0 auto; padding:0 15px; }
section{ position:relative; }

/* ============ 头部导航（深蓝科技风） ============ */
.header{
  position:fixed; top:0; left:0; right:0; z-index:200;
  height:84px;
  background:linear-gradient(90deg,#04294f 0%,#063a72 45%,#0b5298 100%);
  box-shadow:0 2px 18px rgba(4,41,79,.35);
}
.header::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:2px;
  background:linear-gradient(90deg,#1e90d4,#58c2f0,#1e90d4); opacity:.55;
}
.header-inner{
  max-width:100%; margin:0 auto; padding:0 24px;
  height:84px; display:flex; align-items:center; justify-content:space-between; gap:18px;
}
.logo{ flex-shrink:0; display:flex; align-items:center; }
.logo img{
  height:46px; width:auto; background:#fff; border-radius:8px;
  padding:5px 12px; box-shadow:0 2px 12px rgba(0,0,0,.25);
}
/* 导航 */
.nav{ display:flex; align-items:center; }
.nav > li{ position:relative; }
.nav > li > a{
  display:block; padding:31px 18px; color:#fff; font-size:15px; letter-spacing:1px;
  position:relative; white-space:nowrap; transition:color .2s;
}
.nav > li > a::after{
  content:""; position:absolute; left:18px; right:18px; bottom:0; height:3px;
  background:transparent; transition:background .25s;
}
.nav > li > a:hover{ color:#aee3ff; }
.nav > li.active > a{ font-weight:700; color:#fff; }
.nav > li.active > a::after{ background:linear-gradient(90deg,#4fc3f7,#00b4ff); }
/* 下拉菜单 */
.dropdown{
  position:absolute; top:100%; left:0; min-width:210px; z-index:300;
  background:#fff; box-shadow:0 8px 30px rgba(0,0,0,.18);
  border-top:2px solid var(--primary);
  opacity:0; visibility:hidden; transform:translateY(8px); transition:all .2s;
}
.nav > li:hover .dropdown{ opacity:1; visibility:visible; transform:translateY(0); }
.dropdown:empty{ display:none; }
.dropdown a{
  display:block; padding:11px 20px; font-size:14px; color:var(--text);
  border-bottom:1px solid #f0f2f5; transition:all .2s;
}
.dropdown a:hover{ color:var(--primary); background:#f6f8fb; padding-left:26px; }
/* 导航右侧工具：搜索 + 语言切换 */
.header-tools{ display:flex; align-items:center; gap:14px; flex-shrink:0; }
.nav-search{
  display:flex; align-items:center; height:38px; width:216px;
  background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.35);
  border-radius:20px; overflow:hidden; transition:all .25s;
}
.nav-search:focus-within{ background:rgba(255,255,255,.2); border-color:rgba(255,255,255,.7); width:240px; }
.nav-search .search-input{
  flex:1; background:transparent; border:0; outline:0; color:#fff;
  font-size:13px; padding:0 6px 0 16px; min-width:0; height:100%;
}
.nav-search .search-input::placeholder{ color:rgba(255,255,255,.65); }
.nav-search button{
  width:36px; height:36px; background:transparent; border:0; cursor:pointer;
  display:flex; align-items:center; justify-content:center; color:#fff; flex-shrink:0;
}
.nav-search button svg{ width:15px; height:15px; fill:currentColor; }
/* 中英切换（后台「语言区域」配置多语言后生效） */
.lang-switch{ position:relative; flex-shrink:0; }
.lang-btn{
  display:flex; align-items:center; gap:6px; height:38px; padding:0 14px;
  background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.35);
  border-radius:20px; color:#fff; font-size:13px; cursor:pointer; transition:all .25s;
}
.lang-btn:hover{ background:rgba(255,255,255,.24); border-color:rgba(255,255,255,.7); }
.lang-btn svg{ width:14px; height:14px; fill:currentColor; }
.lang-btn .caret{ font-size:11px; color:rgba(255,255,255,.75); }
.lang-list{
  position:absolute; top:calc(100% + 8px); right:0; min-width:120px; z-index:300;
  background:#fff; border-radius:8px; box-shadow:0 8px 28px rgba(0,0,0,.18); overflow:hidden;
  opacity:0; visibility:hidden; transform:translateY(6px); transition:all .2s;
}
.lang-switch.open .lang-list{ opacity:1; visibility:visible; transform:translateY(0); }
.lang-list a{
  display:block; padding:10px 18px; font-size:14px; color:var(--text); text-align:center;
  transition:all .2s; border-bottom:1px solid #f0f2f5;
}
.lang-list a:last-child{ border-bottom:0; }
.lang-list a:hover{ background:var(--primary); color:#fff; }
.lang-list a.on{ color:var(--primary); font-weight:700; }
/* 汉堡 */
.hamburger{
  display:none; width:42px; height:42px; border:1px solid rgba(255,255,255,.4);
  background:rgba(255,255,255,.1); border-radius:6px; cursor:pointer;
  flex-direction:column; align-items:center; justify-content:center; gap:5px;
}
.hamburger span{ width:20px; height:2px; background:#fff; display:block; }

/* ============ 首页横幅轮播 ============ */
.hero{ height:667px; overflow:hidden; position:relative; background:#e8edf4; }
.hero .slide{
  position:absolute; inset:0; opacity:0; transition:opacity .6s;
  background-size:cover; background-position:center;
}
.hero .slide.on{ opacity:1; z-index:1; }
.hero .arrow{
  position:absolute; top:50%; transform:translateY(-50%); z-index:5;
  width:52px; height:64px; background:rgba(255,255,255,.35); color:#fff;
  font-size:30px; border:0; cursor:pointer; transition:background .25s;
  display:flex; align-items:center; justify-content:center;
}
.hero .arrow:hover{ background:var(--primary); }
.hero .arrow.prev{ left:0; border-radius:0 4px 4px 0; }
.hero .arrow.next{ right:0; border-radius:4px 0 0 4px; }
.hero .dots{
  position:absolute; bottom:26px; left:50%; transform:translateX(-50%); z-index:5;
  display:flex; gap:10px;
}
.hero .dots span{
  width:10px; height:10px; border-radius:50%; background:rgba(255,255,255,.5);
  cursor:pointer; transition:.25s; border:1px solid rgba(0,0,0,.15);
}
.hero .dots span.on{ background:var(--primary); }

/* ============ 核心业务四宫格（全宽、交替底色） ============ */
.biz{ background:#fff; }
.biz-grid{ display:grid; grid-template-columns:repeat(4,1fr); }
.biz-card{
  color:#fff; text-align:center; display:block;
  padding:0 13px; transition:background .3s;
}
.biz-card:nth-child(odd){ background:var(--navy-card); }
.biz-card:nth-child(even){ background:#0091bf; }
.biz-card:hover{ background:var(--primary); }
.biz-card .inner-box{ padding:52px 15px; }
.biz-card .ico{ margin:0 auto 22px; line-height:60px; height:60px; }
.biz-card .ico img{ width:60px; height:60px; object-fit:contain; display:inline-block; vertical-align:top; }
.biz-card h3{ font-size:20px; font-weight:400; line-height:24px; }
.biz-card p{ font-size:16px; line-height:25.6px; color:#fff; margin:20px 46px 0; }

/* ============ 通用区块标题 ============ */
.sec-head{ text-align:center; margin-bottom:52px; }
.sec-head h3{ font-size:30px; font-weight:400; color:#333; }
.sec-head h3 .en{ color:#333; }
.sec-head h3 .cn{ color:var(--text-gray); }
.sec-head .line{ color:var(--text-gray); font-size:14px; letter-spacing:1px; margin-top:6px; }

/* ============ 公司简介（全宽 50/50 分栏） ============ */
.about{ background:#fff; padding:70px 0; }
.about .a-top{ display:flex; align-items:center; }
.about .a-left{ width:50%; padding:0 50px 0 20px; }
.about .a-left h2{ font-size:30px; font-weight:400; color:#37474f; margin-bottom:11px; }
.about .a-left h2 .subtitle{ color:var(--text-gray); }
.about .a-left .desc{ font-size:16px; color:var(--text-gray); line-height:24px; margin-bottom:14px; }
.about .a-left .watchmore{
  display:inline-block; color:var(--primary); border:1px solid var(--primary);
  padding:5px 40px; font-size:14px; margin-top:10px; transition:all .25s;
}
.about .a-left .watchmore:hover{ background:var(--primary); color:#fff; }
.about .a-left .numWrapper{ display:flex; margin-top:44px; width:100%; }
.about .a-left .numWrapper li{ flex:1; text-align:center; border-right:1px solid #e8e8e8; }
.about .a-left .numWrapper li:last-child{ border-right:0; }
.about .a-left .numWrapper .num{ font-size:50px; color:#000; line-height:1; }
.about .a-left .numWrapper i{ font-style:normal; font-size:34px; color:#000; vertical-align:top; }
.about .a-left .numWrapper p{ font-size:16px; color:var(--text-gray); margin-top:6px; }
.about .a-right{ width:50%; }
.about .a-right img{ width:100%; }

/* ============ 投资者关系 ============ */
.invest{ background:var(--bg-light); padding:100px 0; }
.invest-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.invest-card{ position:relative; overflow:hidden; display:block; background:#dfe6f0; }
.invest-card img{ width:100%; height:340px; object-fit:cover; transition:transform .4s; }
.invest-card:hover img{ transform:scale(1.05); }
.invest-card .overlay{
  position:absolute; left:0; right:0; bottom:0;
  background:linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(4,49,86,.82) 100%);
  padding:30px 20px 18px; text-align:center; color:#fff;
}
.invest-card .overlay h4{ font-size:18px; font-weight:400; }
.invest-card .overlay .more{ font-size:13px; color:#cfe0f5; margin-top:6px; letter-spacing:1px; }

/* ============ 责任与公益 ============ */
.welfare{
  background-color:var(--bg-welfare);
  min-height:400px; display:flex; align-items:center;
}
.welfare .welfare-bg{
  width:100%; min-height:400px; padding:100px 0;
  background-size:cover; background-position:center;
  display:flex; align-items:center;
}
.welfare .container{ width:100%; display:flex; justify-content:flex-end; }
.welfare-box{ text-align:right; color:#fff; max-width:520px; }
.welfare-box h2{ font-size:34px; font-weight:400; margin-bottom:18px; }
.welfare-box p{ font-size:17px; line-height:30px; margin-bottom:30px; color:#f0f5fc; }
.welfare-box a{
  display:inline-block; color:#fff; border:1px solid #fff; padding:9px 42px;
  font-size:15px; transition:all .25s;
}
.welfare-box a:hover{ background:var(--primary); border-color:var(--primary); }

/* ============ 特色专栏 ============ */
.feature{ background:#fff; padding:110px 0; }
.feature .list{ display:flex; gap:20px; }
.feature .leftwrap{
  position:relative; width:66%; overflow:hidden; cursor:pointer; display:block; background:#e8edf4;
}
.feature .leftwrap img{ width:100%; height:100%; min-height:300px; object-fit:cover; }
.feature .leftitem{
  position:absolute; left:0; bottom:0; background:var(--primary); color:#fff;
  font-size:32px; padding:5px 20px;
}
.feature .rightwrap{ width:34%; display:flex; flex-direction:column; gap:20px; }
.feature .rightwrap li{ position:relative; overflow:hidden; flex:1; cursor:pointer; background:#e8edf4; }
.feature .rightwrap li img{ width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.feature .rightwrap li:hover img{ transform:scale(1.05); }
.feature .rightwrap .atitle{
  position:absolute; left:0; right:0; bottom:0; color:#fff; font-size:18px;
  background:linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(4,49,86,.85) 100%);
  padding:26px 18px 14px;
}

/* ============ 新闻中心（全宽、交替式卡片：奇数=文字上/图片下，偶数=图片上/文字下） ============ */
.news{ background:#fff; padding:90px 0 40px; }
.news .head{ text-align:center; margin-bottom:54px; }
.news .head h3{ font-size:32px; font-weight:400; color:#333; }
.news .head .line{ color:var(--text-gray); font-size:15px; letter-spacing:1px; }
.news-wrap{ position:relative; overflow:hidden; }
.news-track{ display:flex; transition:transform .5s; }
.news-card{
  position:relative; height:510px; overflow:hidden; display:block; background:#fff;
  flex:0 0 25%; width:25%;
}
.news-card .text{
  position:absolute; left:0; right:0; top:0; bottom:0; z-index:1;
  display:flex; flex-direction:column; justify-content:flex-start;
}
.news-card .content{ padding:30px 35px 0; }
.news-card .date{ font-size:20px; color:var(--text-gray); transition:all .3s; }
.news-card h3{
  font-size:16px; color:#333; line-height:30px; height:30px; overflow:hidden;
  white-space:nowrap; text-overflow:ellipsis; margin:20px 0 15px; font-weight:400; transition:all .3s;
}
.news-card p.desc{
  font-size:13px; color:var(--text-gray); line-height:25px; height:105px; overflow:hidden;
  margin:10px 0 14px; transition:all .3s;
}
.news-card .img{
  position:absolute; left:0; right:0; bottom:0; height:255px;
  background-size:cover; background-position:center; background-color:#e8edf4; transition:transform .6s;
}
.news-card:nth-child(even) .img{ position:relative; bottom:auto; }
.news-card:nth-child(even) .text{ justify-content:flex-end; }
.news-card:hover .date{ margin-left:10px; color:var(--primary); }
.news-card:hover h3{ margin-left:10px; color:var(--primary); }
.news-card:hover p.desc{ margin-left:10px; }
.news-card:hover .img{ transform:scale(.96); }
.news-more{
  position:absolute; top:20px; right:20px; width:30px; height:30px; z-index:2;
  border:1px solid #888; color:#888; border-radius:50%;
  display:flex; align-items:center; justify-content:center; opacity:0; transition:all .3s;
}
.news-card:hover .news-more{ opacity:1; }
.news-more svg{ width:14px; height:14px; fill:currentColor; }
.news-ctrl{ display:flex; justify-content:center; gap:8px; margin-top:40px; }
.news-ctrl button{
  width:44px; height:44px; border:1px solid #ddd; background:#fff; color:var(--text-gray);
  font-size:20px; cursor:pointer; transition:all .25s; border-radius:50%; line-height:1;
}
.news-ctrl button:hover{ background:var(--primary); border-color:var(--primary); color:#fff; }
@media (max-width:1600px){
  .news-card{ height:350px; }
  .news-card .img{ height:175px; }
  .news-card .content{ padding:15px 15px 0; }
  .news-card p.desc{ height:55px; }
}

/* ============ 平台驱动 服务世界 ============ */
.service{ background:#fff; padding:0 0 60px; }
.service .head-box{ margin-bottom:46px; }
.service .head-box h2{ font-size:32px; font-weight:400; color:#333; }
.service .head-box p{ font-size:15px; color:var(--text-gray); margin-top:12px; }
.service .panel-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.service .panel-item{ position:relative; overflow:hidden; display:block; background:#e8edf4; }
.service .panel-item img{ width:100%; height:300px; object-fit:cover; display:block; transition:transform .5s; }
.service .panel-item:hover img{ transform:scale(1.04); }
.service .panel-item .num{
  position:absolute; left:18px; top:14px; color:#fff; font-size:15px; letter-spacing:2px;
  text-shadow:0 1px 3px rgba(0,0,0,.4); z-index:1;
}
.service .panel-item .title{
  position:absolute; left:0; right:0; bottom:0; color:#fff; font-size:17px;
  background:linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(4,49,86,.85) 100%);
  padding:26px 18px 14px; z-index:1;
}

/* ============ 页脚 ============ */
.footer{ background:var(--footer); color:#fff; border-top:1px solid var(--footer-border); }
.footer .container{ max-width:1310px; }
.footer-main{
  display:grid; grid-template-columns:1.3fr 1fr 1.1fr; gap:50px;
  padding:60px 0 48px;
}
.footer h4{ font-size:24px; font-weight:400; color:#fff; margin-bottom:38px; }
.footer .f-info p{ font-size:14px; line-height:26px; color:#d6def5; margin-bottom:26px; }
.footer .social{ display:flex; gap:16px; }
.footer .social a{
  width:40px; height:40px; border-radius:50%; border:1px solid rgba(255,255,255,.4);
  display:flex; align-items:center; justify-content:center; color:#fff; transition:.25s;
}
.footer .social a:hover{ background:var(--primary); border-color:var(--primary); }
.footer .social svg{ width:18px; height:18px; fill:currentColor; }
.footer .f-links li{ margin-bottom:10px; }
.footer .f-links a{ color:var(--footer-link); font-size:16px; line-height:28.8px; transition:color .2s; }
.footer .f-links a:hover{ color:#fff; }
.footer .f-contact li{ font-size:16px; line-height:30px; color:#d6def5; margin-bottom:8px; }
.footer .f-contact .k{ color:#9fb3e0; font-size:13px; display:block; }
.footer-bottom{
  border-top:1px solid var(--footer-border); padding:22px 0; font-size:12px;
  color:#b7c5e8; line-height:22px;
}
.footer-bottom .container{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:4px; }
.footer-bottom a{ color:#cfdbf5; }
.footer-bottom a:hover{ color:#fff; }

/* ============ 返回顶部 ============ */
.backtop{
  position:fixed; right:20px; bottom:24px; width:42px; height:42px;
  background:var(--primary); color:#fff; border-radius:50%; cursor:pointer; z-index:150;
  display:none; align-items:center; justify-content:center; box-shadow:0 4px 14px rgba(13,86,167,.4);
}
.backtop.show{ display:flex; }

/* ============ 响应式 ============ */
@media (max-width:1200px){
  .nav > li > a{ padding:34px 12px; }
}
@media (max-width:1024px){
  .biz-grid{ grid-template-columns:repeat(2,1fr); }
  .invest-grid{ grid-template-columns:repeat(2,1fr); }
  .service .panel-grid{ grid-template-columns:repeat(2,1fr); }
  .about .a-left{ width:55%; padding:0 20px 0 0; }
  .about .a-right{ width:45%; }
}
@media (max-width:900px){
  .header{ height:70px; }
  .header-inner{ height:70px; padding:0 14px; }
  .nav{ display:none; }
  .header-tools{ display:none; }
  .hamburger{ display:flex; }
  .hero{ height:420px; }
  .about .a-top{ flex-direction:column; }
  .about .a-left{ width:100%; padding:0; }
  .about .a-right{ width:100%; margin-top:30px; }
  .feature .list{ flex-direction:column; }
  .feature .leftwrap{ width:100%; }
  .feature .rightwrap{ width:100%; }
  .feature .rightwrap li{ min-height:150px; }
  .footer-main{ grid-template-columns:1fr; gap:36px; }
}
@media (max-width:560px){
  .biz-grid{ grid-template-columns:1fr; }
  .invest-grid{ grid-template-columns:1fr; }
  .service .panel-grid{ grid-template-columns:1fr; }
  .hero{ height:320px; }
  .hero .arrow{ width:38px; height:48px; }
  .about .a-left .numWrapper .num{ font-size:38px; }
  .about .a-left .numWrapper i{ font-size:26px; }
}

/* ============ 移动端抽屉 ============ */
.m-menu{
  position:fixed; top:0; right:-100%; width:280px; height:100%; background:#fff; z-index:220;
  box-shadow:-8px 0 26px rgba(0,0,0,.15); transition:right .3s; overflow-y:auto; padding:20px 0;
}
.m-menu.open{ right:0; }
.m-menu .m-title{ padding:14px 22px; border-bottom:1px solid #f0f2f5; color:var(--primary); font-size:15px; font-weight:700; }
.m-search{ display:flex; margin:14px 16px; border:1px solid #e2e6ec; border-radius:20px; overflow:hidden; }
.m-search input{ flex:1; border:0; outline:0; padding:9px 14px; font-size:14px; min-width:0; }
.m-search button{ border:0; background:var(--primary); color:#fff; padding:0 18px; cursor:pointer; font-size:14px; }
.m-menu a{ display:block; padding:13px 22px; border-bottom:1px solid #f4f6f9; color:var(--text); font-size:15px; }
.m-menu a.on{ color:var(--primary); font-weight:700; }
.m-menu .m-sub{ display:none; }
.m-menu .m-sub.show{ display:block; }
.m-menu .m-sub a{ padding-left:36px; color:var(--text-gray); font-size:14px; }
.m-mask{ position:fixed; inset:0; background:rgba(10,25,50,.5); z-index:210; opacity:0; visibility:hidden; transition:.3s; }
.m-mask.open{ opacity:1; visibility:visible; }

/* ============================================================
   内页（栏目列表 / 详情 / 单页）样式
   ============================================================ */
.page-banner{ position:relative; height:300px; overflow:hidden; background:var(--primary-dark); display:flex; align-items:center; }
.page-banner .banner-bg{
  position:absolute; inset:0; background-size:cover; background-position:center;
  background-color:var(--primary-dark); opacity:.9;
}
.page-banner .container{ position:relative; z-index:2; }
.page-banner h1{ color:#fff; font-size:36px; font-weight:400; }
.page-banner p{ color:#cfe0f5; font-size:15px; margin-top:10px; max-width:700px; }
.page-body{ padding:46px 0 80px; background:#fff; min-height:400px; }
.page-body .container.narrow{ max-width:1080px; }
.crumb{ font-size:13px; color:var(--text-gray); margin-bottom:26px; }
.crumb a{ color:var(--primary); }
/* 同级栏目切换 */
.subcate{ margin-bottom:34px; border-bottom:2px solid #eef1f6; }
.subcate ul{ display:flex; flex-wrap:wrap; gap:6px; }
.subcate li a{
  display:block; padding:10px 24px; color:var(--text); font-size:15px;
  border-bottom:3px solid transparent; margin-bottom:-2px; transition:.2s;
}
.subcate li.active a{ color:var(--primary); border-bottom-color:var(--primary); font-weight:700; }
.subcate li a:hover{ color:var(--primary); }
/* 列表：图文横向卡片 */
.news-list li{
  display:flex; gap:26px; padding:26px 0; border-bottom:1px solid #eef1f6; transition:.2s;
}
.news-list li:hover{ padding-left:8px; }
.news-list .pic{ width:260px; height:170px; flex-shrink:0; overflow:hidden; background:#e8edf4; }
.news-list .pic img{ width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.news-list li:hover .pic img{ transform:scale(1.05); }
.news-list .info{ flex:1; display:flex; flex-direction:column; justify-content:center; }
.news-list .info h3{ font-size:20px; font-weight:400; color:#333; line-height:30px; }
.news-list .info h3 a:hover{ color:var(--primary); }
.news-list .info p{ font-size:14px; color:var(--text-gray); line-height:26px; margin:12px 0 14px; }
.news-list .info .meta{ display:flex; gap:24px; font-size:13px; color:#aab3bd; }
/* 产品网格 */
.product-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.product-grid li{ border:1px solid #eef1f6; overflow:hidden; transition:box-shadow .25s; }
.product-grid li:hover{ box-shadow:0 8px 30px rgba(0,0,0,.08); }
.product-grid .pic{ display:block; height:230px; overflow:hidden; background:#e8edf4; }
.product-grid .pic img{ width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.product-grid li:hover .pic img{ transform:scale(1.05); }
.product-grid h4{ font-size:17px; font-weight:400; color:#333; padding:16px 18px 4px; }
.product-grid p{ font-size:13px; color:var(--text-gray); padding:0 18px 18px; line-height:22px; height:44px; overflow:hidden; }
/* 分页 */
.pagination{ margin-top:40px; text-align:center; }
.pagination a,.pagination span{
  display:inline-block; min-width:38px; height:38px; line-height:36px; padding:0 8px;
  border:1px solid #e2e6ec; color:var(--text); margin:0 3px; font-size:14px; transition:.2s;
}
.pagination .current,.pagination a:hover{ background:var(--primary); border-color:var(--primary); color:#fff; }
/* 文章详情 */
.article-head{ border-bottom:1px solid #eef1f6; padding-bottom:22px; margin-bottom:28px; }
.article-head h1{ font-size:26px; font-weight:400; color:#333; line-height:1.5; }
.article-head .meta{ display:flex; gap:24px; color:#aab3bd; font-size:13px; margin-top:12px; flex-wrap:wrap; }
.article-main{ font-size:16px; color:var(--text); line-height:30px; }
.article-main p{ margin:0 0 18px; }
.article-main img{ max-width:100%; margin:10px auto; }
.article-main h2,.article-main h3{ margin:22px 0 12px; color:#333; }
.prevnext{ margin-top:40px; border-top:1px solid #eef1f6; padding-top:20px; font-size:14px; }
.prevnext div{ margin-bottom:10px; }
.prevnext a{ color:var(--primary); }
/* 产品详情 */
.product-detail{ display:flex; gap:34px; margin-bottom:34px; }
.product-detail .gallery{ width:46%; flex-shrink:0; background:#f5f7fa; }
.product-detail .gallery img{ width:100%; }
.product-detail .summary h1{ font-size:26px; font-weight:400; color:#333; margin-bottom:16px; }
.product-detail .summary p{ font-size:15px; color:var(--text-gray); line-height:28px; margin-bottom:24px; }
.btn{
  display:inline-block; background:var(--primary); color:#fff; padding:10px 38px;
  font-size:15px; transition:.25s;
}
.btn:hover{ background:var(--primary-dark); }
@media (max-width:900px){
  .page-banner{ height:220px; }
  .page-banner h1{ font-size:26px; }
  .product-grid{ grid-template-columns:repeat(2,1fr); }
  .product-detail{ flex-direction:column; }
  .product-detail .gallery{ width:100%; }
  .news-list .pic{ width:200px; height:130px; }
}
@media (max-width:560px){
  .news-list li{ flex-direction:column; }
  .news-list .pic{ width:100%; height:180px; }
  .product-grid{ grid-template-columns:1fr; }
}
