/* ============================================================
   健康长寿产业发展大会 · med-v1
   移动端：水墨 KV + 卡片式入口 + 底部 Tab
   PC 端：顶部导航 + 宽幅 KV + 4 列卡片
   配色取自 KV：深蓝 #0B3E7A / 淡蓝留白 / 山水灰蓝
   ============================================================ */

:root{
  --navy:#0B3E7A;
  --navy2:#124F94;
  --blue:#2E7ED6;
  --blue-l:#7FB4E8;
  --pale:#E8F2FB;
  --pale2:#F2F7FD;
  --gold:#B08D4F;
  --bg:#F7FAFD;
  --card:#FFFFFF;
  --tx:#16283C;
  --tx2:#4A5A6E;
  --tx3:#8A98A8;
  --line:#E1EAF5;
  --r:14px;
  --sh:0 6px 22px -14px rgba(11,62,122,.35);
  --maxw:1120px;
}

*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;padding:0}
body{
  background:var(--bg);color:var(--tx);
  font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,-apple-system,sans-serif;
  -webkit-font-smoothing:antialiased;font-size:15px;line-height:1.65;
  padding-bottom:62px;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
h1,h2,h3,h4{margin:0;font-weight:600;line-height:1.32}

.loading{display:flex;align-items:center;justify-content:center;gap:8px;
  height:60vh;color:var(--tx3);font-size:13px}
.loading i{width:14px;height:14px;border-radius:50%;border:2px solid var(--line);
  border-top-color:var(--navy);animation:sp .7s linear infinite}
@keyframes sp{to{transform:rotate(360deg)}}

/* ---------------- 头部（PC） ---------------- */
.hdr{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.94);
  backdrop-filter:saturate(180%) blur(14px);border-bottom:1px solid var(--line);
  display:none}
.hdr-in{max-width:var(--maxw);margin:0 auto;padding:0 24px;height:64px;
  display:flex;align-items:center;gap:22px}
.brand{display:flex;align-items:center;gap:10px;flex:none;max-width:300px}
.bmark{width:34px;height:34px;border-radius:50%;flex:none;display:grid;place-items:center;
  background:linear-gradient(145deg,var(--navy),var(--blue));
  box-shadow:0 4px 12px -6px rgba(11,62,122,.7)}
.bmark svg{width:17px;height:17px;fill:#fff;opacity:.95}
.btx{display:flex;flex-direction:column;line-height:1.3;min-width:0}
.btx b{font-size:13.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.btx i{font-size:10.5px;color:var(--tx3);font-style:normal;letter-spacing:.03em;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nav{display:flex;align-items:center;gap:1px;flex:1;min-width:0;overflow:hidden}
.nav a{flex:none;padding:7px 10px;border-radius:8px;font-size:13px;color:var(--tx2);
  white-space:nowrap;transition:.16s}
.nav a:hover{color:var(--navy);background:var(--pale)}
.nav a.on{color:var(--navy);font-weight:600;background:var(--pale)}
.hcta{flex:none;height:34px;padding:0 16px;border-radius:8px;display:inline-flex;
  align-items:center;font-size:13px;font-weight:500;color:#fff;
  background:linear-gradient(140deg,var(--navy),var(--blue));
  box-shadow:0 8px 18px -10px rgba(11,62,122,.9);transition:.16s}
.hcta:hover{filter:brightness(1.1)}
.hburger{display:none;width:34px;height:34px;border-radius:8px;border:1px solid var(--line);
  flex-direction:column;align-items:center;justify-content:center;gap:4px}
.hburger span{display:block;width:15px;height:1.6px;background:var(--tx);border-radius:2px}
.mnav{display:none;flex-direction:column;padding:6px 16px 14px;border-top:1px solid var(--line)}
.mnav.open{display:flex}
.mnav a{padding:11px 4px;font-size:14px;color:var(--tx2);border-bottom:1px solid #F1F4F9}
.mnav a:last-child{border-bottom:0}

/* ---------------- 手机底部 Tab ---------------- */
.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:70;height:56px;
  padding-bottom:env(safe-area-inset-bottom);
  display:grid;grid-template-columns:repeat(4,1fr);
  background:rgba(255,255,255,.97);backdrop-filter:blur(14px);
  border-top:1px solid var(--line)}
.tabbar a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
  font-size:10.5px;color:var(--tx3)}
.tabbar a svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;
  stroke-linecap:round;stroke-linejoin:round}
.tabbar a.on{color:var(--navy);font-weight:500}

/* ---------------- Hero（水墨 KV） ---------------- */
.hero{position:relative;overflow:hidden;
  background:linear-gradient(180deg,#FEFFFF 0%,#F5F9FE 52%,#E9F2FB 100%)}
.hero::before{content:"";position:absolute;left:0;right:0;bottom:0;height:60%;z-index:0;
  background:url(img/kv-bg.jpg) center bottom / cover no-repeat;
  -webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 38%);
          mask-image:linear-gradient(180deg,transparent 0%,#000 38%)}
.hero-in{position:relative;z-index:2;padding:34px 20px 54px;max-width:var(--maxw);margin:0 auto}
.htag{display:inline-flex;align-items:center;height:23px;padding:0 12px;border-radius:20px;
  font-size:11.5px;letter-spacing:.05em;color:#fff;
  background:linear-gradient(135deg,var(--navy),var(--blue));
  box-shadow:0 6px 16px -8px rgba(11,62,122,.9)}
.hero h1{font-size:22px;font-weight:700;line-height:1.42;margin:15px 0 0;
  color:#0A3568;letter-spacing:.02em;
  text-shadow:
    1.5px 0 0 #fff,-1.5px 0 0 #fff,0 1.5px 0 #fff,0 -1.5px 0 #fff,
    1px 1px 0 #fff,-1px -1px 0 #fff,1px -1px 0 #fff,-1px 1px 0 #fff,
    0 8px 20px rgba(255,255,255,.85)}
.hero .hsub{font-size:13px;font-weight:600;color:#1B5498;margin:10px 0 0;letter-spacing:.02em;
  text-shadow:0 0 2px #fff,0 0 8px #fff,0 1px 0 #fff,1px 0 0 #fff,-1px 0 0 #fff,0 -1px 0 #fff}
.hmeta{display:flex;flex-wrap:wrap;gap:7px 10px;margin:16px 0 0}
.hmeta span{display:inline-flex;align-items:center;gap:5px;height:27px;padding:0 12px;
  border-radius:20px;font-size:12px;color:#14477F;background:rgba(255,255,255,.9);
  border:1px solid rgba(127,180,232,.55);box-shadow:0 2px 8px -4px rgba(11,62,122,.4)}
.hmeta svg{width:13px;height:13px;stroke:#2E7ED6;fill:none;stroke-width:1.9;
  stroke-linecap:round;stroke-linejoin:round;flex:none}
.hbtns{display:flex;gap:9px;margin:18px 0 0;flex-wrap:wrap}
.hbtn{height:40px;padding:0 20px;border-radius:9px;display:inline-flex;align-items:center;
  gap:6px;font-size:13.5px;font-weight:500;transition:.16s}
.hbtn svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:1.9;
  stroke-linecap:round;stroke-linejoin:round}
.hbtn-p{background:linear-gradient(135deg,var(--navy),var(--blue));color:#fff;
  box-shadow:0 10px 22px -12px rgba(11,62,122,.95)}
.hbtn-p:hover{filter:brightness(1.08)}
.hbtn-g{background:rgba(255,255,255,.92);color:var(--navy);border:1px solid rgba(127,180,232,.7)}
.hbtn-g:hover{background:#fff}

/* 倒计时 */
.cd{display:flex;gap:8px;margin:16px 0 0}
.cd div{padding:6px 14px;border-radius:9px;text-align:center;
  background:rgba(255,255,255,.92);border:1px solid rgba(127,180,232,.6)}
.cd b{display:block;font-size:17px;font-weight:700;line-height:1.2;color:var(--navy);
  font-variant-numeric:tabular-nums}
.cd i{display:block;font-size:10px;color:var(--tx3);font-style:normal;margin-top:1px}

/* ---------------- 信息条 ---------------- */
.infobar{max-width:var(--maxw);margin:-26px auto 0;padding:0 14px;position:relative;z-index:5}
.info-card{background:var(--card);border-radius:var(--r);box-shadow:var(--sh);
  border:1px solid var(--line);overflow:hidden}
.info-row{display:flex;align-items:flex-start;gap:11px;padding:13px 15px;
  border-bottom:1px solid #F2F6FC}
.info-row:last-child{border-bottom:0}
.info-ic{flex:none;width:31px;height:31px;border-radius:9px;display:grid;place-items:center;
  background:var(--pale)}
.info-ic svg{width:15px;height:15px;stroke:var(--navy);fill:none;stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round}
.info-tx{flex:1;min-width:0}
.info-tx i{display:block;font-size:10.5px;color:var(--tx3);font-style:normal;letter-spacing:.03em}
.info-tx b{display:block;font-size:13px;font-weight:500;margin-top:1px;line-height:1.5}

/* ---------------- 入口卡片 ---------------- */
.sec{max-width:var(--maxw);margin:0 auto;padding:0 14px}
.sechead{display:flex;align-items:baseline;gap:9px;margin:24px 0 12px}
.sechead h2{font-size:15.5px;font-weight:600}
.sechead h2::before{content:"";display:inline-block;width:3px;height:13px;border-radius:2px;
  background:linear-gradient(180deg,var(--navy),var(--blue));margin-right:7px;vertical-align:-1px}
.sechead em{font-size:11.5px;color:var(--tx3);font-style:normal}
.sechead .more{margin-left:auto;font-size:12px;color:var(--tx3);display:inline-flex;
  align-items:center;gap:3px}
.sechead .more svg{width:12px;height:12px;stroke:currentColor;fill:none;stroke-width:2;
  stroke-linecap:round;stroke-linejoin:round}

.entry{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;align-items:start}
.ecard{position:relative;display:block;aspect-ratio:1.44;min-height:0;
  border-radius:11px;overflow:hidden;
  background:linear-gradient(150deg,#F4F9FE,#E6F1FB);border:1px solid #DCE9F8;
  transition:.18s;box-shadow:0 3px 12px -8px rgba(11,62,122,.4)}
.ecard img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  object-position:left center;display:block}
.ecard:hover{transform:translateY(-2px);box-shadow:0 10px 22px -12px rgba(11,62,122,.6);
  border-color:var(--blue-l)}
.ecard:active{transform:scale(.985)}

/* ---------------- 内容页 ---------------- */
.page{max-width:var(--maxw);margin:0 auto;padding:16px 14px 38px}
.phead{padding:6px 0 14px}
.phead h1{font-size:19px;color:#0A3568}
.phead .psub{font-size:12px;color:var(--tx3);margin-top:4px}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);
  padding:19px 17px;box-shadow:var(--sh)}
.rich{font-size:14px;line-height:1.92;color:var(--tx2)}
.rich p{margin:0 0 13px}
.rich p:last-child{margin-bottom:0}
.rich b{color:var(--tx);font-weight:600}
.crumb{display:inline-flex;align-items:center;gap:4px;font-size:12px;color:var(--tx3);
  margin-bottom:5px}
.crumb svg{width:12px;height:12px;stroke:currentColor;fill:none;stroke-width:2;
  stroke-linecap:round;stroke-linejoin:round}

/* ---------------- 日程 ---------------- */
.daytabs{display:flex;gap:8px;overflow-x:auto;padding:2px 0 13px;scrollbar-width:none}
.daytabs::-webkit-scrollbar{display:none}
.daytab{flex:none;padding:7px 14px;border-radius:8px;font-size:12.5px;color:var(--tx2);
  background:var(--card);border:1px solid var(--line);transition:.16s;white-space:nowrap}
.daytab.on{background:linear-gradient(135deg,var(--navy),var(--blue));color:#fff;
  border-color:transparent;font-weight:500;box-shadow:0 6px 14px -8px rgba(11,62,122,.9)}
.aglist{display:flex;flex-direction:column}
.agitem{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid #F2F6FC}
.agitem:last-child{border-bottom:0}
.agtime{flex:none;width:50px;font-size:12.5px;color:var(--navy);font-weight:600;
  font-variant-numeric:tabular-nums;line-height:1.5}
.agtime i{display:block;font-size:10.5px;color:var(--tx3);font-weight:400;font-style:normal}
.agbody{flex:1;min-width:0}
.agbody h4{font-size:14px;font-weight:500;line-height:1.55}
.agbody .meta{font-size:12px;color:var(--tx3);margin-top:4px;display:flex;flex-wrap:wrap;
  gap:4px 12px}
.agbody .meta span{display:inline-flex;align-items:center;gap:4px}
.agbody .meta svg{width:12px;height:12px;stroke:currentColor;fill:none;stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round}
.agrole{display:inline-block;font-size:10.5px;padding:1px 7px;border-radius:5px;
  background:var(--pale);color:var(--navy);margin-left:6px;vertical-align:1px}

/* ---------------- 专家 ---------------- */
.splist{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.spcard{background:var(--card);border:1px solid var(--line);border-radius:var(--r);
  padding:14px 11px;text-align:center;box-shadow:var(--sh);transition:.18s}
.spcard:hover{transform:translateY(-2px)}
.spav{width:52px;height:52px;border-radius:50%;margin:0 auto 9px;display:grid;place-items:center;
  background:linear-gradient(150deg,var(--pale),#D3E6F9);color:var(--navy);
  font-size:16px;font-weight:600}
.spcard b{display:block;font-size:13.5px;font-weight:600}
.spcard i{display:block;font-size:11px;color:var(--tx3);font-style:normal;margin-top:3px;
  line-height:1.5;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;
  -webkit-box-orient:vertical}

/* ---------------- 组织架构 ---------------- */
.partygrp{margin-bottom:20px}
.partygrp:last-child{margin-bottom:0}
.partygrp h4{font-size:13px;color:var(--navy);font-weight:600;letter-spacing:.02em;
  margin-bottom:9px;padding-bottom:7px;border-bottom:1px solid var(--pale)}
.partylist{display:flex;flex-wrap:wrap;gap:7px}
.partylist span{padding:6px 11px;border-radius:7px;background:var(--pale2);
  border:1px solid #EDF3FB;font-size:12.5px;color:var(--tx2);line-height:1.5;
  max-width:100%;overflow-wrap:break-word;word-break:break-word}
.venueline{display:flex;align-items:center;gap:5px;font-size:12px;color:var(--tx3);
  margin-bottom:10px}
.venueline svg{width:13px;height:13px;flex:none;stroke:currentColor;fill:none;
  stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.note{margin-top:18px;padding:12px 14px;border-radius:9px;background:#FBFCFE;
  border:1px dashed #DBE6F4;font-size:12px;color:var(--tx3);line-height:1.75}

/* ---------------- 页脚 ---------------- */
.foot{max-width:var(--maxw);margin:26px auto 0;padding:20px 14px 26px;
  text-align:center;font-size:11px;color:var(--tx3);line-height:1.9;
  border-top:1px solid var(--line)}
.foot b{display:block;font-size:12px;color:var(--tx2);font-weight:500;margin-bottom:3px}

/* ---------------- PC ---------------- */
@media (min-width:900px){
  body{padding-bottom:0;font-size:15px}
  .hdr{display:block}
  .tabbar{display:none}
  .foot{padding-bottom:36px}

  .hero{background:url(img/kv-bg-wide.jpg) center center / cover no-repeat #fff}
  .hero::before{display:none}
  .hero-in{padding:0 24px;height:420px;display:flex;flex-direction:column;
    justify-content:center;align-items:flex-start}
  .hero h1{font-size:34px;max-width:820px;margin-top:18px;
    text-shadow:
      2px 0 0 #fff,-2px 0 0 #fff,0 2px 0 #fff,0 -2px 0 #fff,
      1.5px 1.5px 0 #fff,-1.5px -1.5px 0 #fff,1.5px -1.5px 0 #fff,-1.5px 1.5px 0 #fff,
      0 10px 26px rgba(255,255,255,.9)}
  .hero .hsub{font-size:17px;margin-top:12px}
  .hmeta{margin-top:20px;gap:10px}
  .hmeta span{height:31px;font-size:13px;padding:0 15px}
  .hbtns{margin-top:24px}
  .hbtn{height:44px;padding:0 24px;font-size:14px}
  .cd{margin-top:20px}
  .cd div{padding:8px 18px}
  .cd b{font-size:21px}

  .infobar{margin-top:-30px;padding:0 24px}
  .info-card{display:grid;grid-template-columns:repeat(3,1fr);border-radius:14px}
  .info-row{border-bottom:0;border-right:1px solid #F2F6FC;padding:18px 22px}
  .info-row:last-child{border-right:0}
  .info-ic{width:37px;height:37px;border-radius:11px}
  .info-tx i{font-size:11px}
  .info-tx b{font-size:14px}

  .sec{padding:0 24px}
  .sechead{margin:40px 0 16px}
  .sechead h2{font-size:18px}
  .sechead h2::before{height:16px}
  .entry{grid-template-columns:repeat(4,1fr);gap:13px}
  .ecard{border-radius:13px}

  .page{padding:32px 24px 56px}
  .phead{padding:0 0 20px}
  .phead h1{font-size:25px}
  .card{padding:30px 32px;border-radius:15px}
  .rich{font-size:14.5px;line-height:2}

  .splist{grid-template-columns:repeat(5,1fr);gap:14px}
  .agitem{padding:17px 0;gap:18px}
  .agtime{width:62px}
  .daytabs{padding-bottom:18px;gap:9px}
  .daytab{padding:8px 17px;font-size:13px}
}

@media (min-width:1240px){
  .hero h1{font-size:38px}
}

/* 双栏内容页（PC） */
@media (min-width:900px){
  .twocol{display:grid;grid-template-columns:1fr 292px;gap:22px;align-items:start}
  .aside{position:sticky;top:84px;display:flex;flex-direction:column;gap:13px}
  .aside .card{padding:18px}
  .aside h3{font-size:13px;margin-bottom:11px;color:var(--navy)}
  .aside .row{display:flex;gap:9px;padding:8px 0;border-bottom:1px solid #F2F6FC;
    font-size:12.5px;color:var(--tx2);line-height:1.6}
  .aside .row:last-child{border-bottom:0}
  .aside .row i{color:var(--tx3);font-style:normal;flex:none;width:46px}
}
@media (max-width:899px){
  .twocol .aside{display:none}
}
