/* ========== 首页 / 科技蓝主题 ========== */

/* Hero + 粒子网络 */
.hero {
  position: relative; min-height: 70vh; min-height: 70svh; overflow: hidden;   /* 第一页高度减小30%（100vh -> 70vh） */
  display: flex; align-items: center;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(43,140,255,.35), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(46,230,230,.22), transparent 55%),
    linear-gradient(160deg, #061a3a 0%, #0a2a5e 45%, #0d3b8c 100%);
  color: #fff;
}
#net-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero .container { position: relative; z-index: 2; padding-top: 90px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  font-size: 13px; letter-spacing: 1px; backdrop-filter: blur(6px); margin-bottom: 26px;
  animation: fadeUp .8s both;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 12px var(--cyan-400); animation: pulse 1.6s infinite; }
.hero h1 {
  font-size: clamp(34px, 5.2vw, 60px); font-weight: 900; line-height: 1.12; letter-spacing: 1px;
  white-space: nowrap;
  text-shadow: 0 6px 30px rgba(0,0,0,.3); animation: fadeUp .9s .1s both;
}
.hero h1 .grad {
  background: linear-gradient(90deg, #5aa9ff, #2ee6e6); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { font-size: clamp(16px, 2vw, 20px); color: #cfe0ff; max-width: 620px; margin: 22px 0 36px; animation: fadeUp 1s .2s both; }
.hero .cta { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeUp 1s .35s both; }
.hero .scroll-ind {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2;
  color: rgba(255,255,255,.7); font-size: 12px; letter-spacing: 2px; text-align: center;
}
.hero .scroll-ind .mouse { width: 24px; height: 40px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; margin: 0 auto 8px; position: relative; }
.hero .scroll-ind .mouse::after { content: ''; position: absolute; top: 7px; left: 50%; width: 3px; height: 8px; background: #fff; border-radius: 2px; transform: translateX(-50%); animation: scroll 1.6s infinite; }
@keyframes scroll { 0%{opacity:1;top:7px} 100%{opacity:0;top:20px} }
@keyframes fadeUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:none} }
@keyframes pulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.5);opacity:.6} }

/* Hero 左右布局（右侧新闻占比略增，整屏文字不同步放大） */
.hero-grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: 56px; align-items: center; }
.hero-left { min-width: 0; }
.hero-right { min-width: 0; display: flex; justify-content: flex-end; }

/* Hero 右侧新闻轮动卡片（仅内容区，4 秒切换循环） */
.hero-news {
  width: 100%; max-width: 580px;
  background: rgba(8,24,52,.55); border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px; padding: 26px 30px 22px; backdrop-filter: blur(14px);
  box-shadow: 0 34px 74px rgba(0,0,0,.42);
  animation: fadeUp 1s .5s both; position: relative; overflow: hidden;
}
.hero-news::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-400)); opacity: .9; }
.hero-news .hn-header { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.hero-news .hn-icon { font-size: 18px; }
.hero-news .hn-title { font-size: 15px; font-weight: 800; letter-spacing: 1px; }
.hero-news .hn-more { margin-left: auto; color: var(--cyan-400); font-size: 13px; font-weight: 700; transition: color .2s; }
.hero-news .hn-more:hover { color: #fff; }

.hero-news .hn-content { min-height: 230px; }
.hero-news .hn-item { animation: hnFade .5s both; }
@keyframes hnFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hero-news .hn-item .row { display: flex; align-items: center; gap: 10px; margin-bottom: 11px; }
.hero-news .hn-item .cat { background: rgba(46,230,230,.2); color: var(--cyan-400); padding: 3px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.hero-news .hn-item .date { font-size: 12px; color: rgba(255,255,255,.55); }
.hero-news .hn-item h3 { font-size: 24px; font-weight: 800; line-height: 1.42; margin-bottom: 12px; color: #fff; }
.hero-news .hn-item p { font-size: 15px; line-height: 1.7; color: #cfe0ff; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 16px; }
.hero-news .hn-item .rd { display: inline-flex; align-items: center; gap: 4px; color: var(--cyan-400); font-size: 13px; font-weight: 700; }
.hero-news .hn-progress { height: 3px; border-radius: 3px; background: rgba(255,255,255,.12); margin-top: 18px; overflow: hidden; }
.hero-news .hn-prog { display: block; height: 100%; width: 100%; border-radius: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-400)); transform: scaleX(0); transform-origin: left; }
.hero-news .hn-prog.run { animation: hnFill 6s linear forwards; }
@keyframes hnFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* 卡片 3D 鼠标跟随倾斜 */
.tilt { position: relative; transform-style: preserve-3d; transition: transform .15s ease-out, box-shadow .3s; will-change: transform; }
.tilt .glow-follow { position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(220px circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.28), transparent 60%); opacity: 0; transition: opacity .3s; }
.tilt:hover .glow-follow { opacity: 1; }

/* 数据指标 */
.stats { background: var(--white); position: relative; z-index: 3; margin-top: -1px; }
.stats .grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat-card { text-align: center; padding: 18px; }
.stat-card .num { font-size: 46px; font-weight: 900; color: var(--blue-600); line-height: 1; }
.stat-card .num .suffix { font-size: 22px; color: var(--blue-400); }
.stat-card .label { color: var(--ink-2); margin-top: 10px; font-size: 15px; font-weight: 600; }
.stat-card .bar { height: 4px; width: 46px; margin: 14px auto 0; border-radius: 4px; background: linear-gradient(90deg, var(--blue-500), var(--cyan-400)); }

/* 商会介绍 */
.about { background: var(--bg); }
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about .visual { position: relative; height: 420px; border-radius: 24px; overflow: hidden;
  background: linear-gradient(150deg, var(--blue-700), var(--cyan-400)); display: grid; place-items: center; }
.about .visual .logo-stage { position: relative; width: 280px; height: 280px; display: grid; place-items: center; }
.about .visual .logo-glow { position: absolute; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.55), transparent 65%); animation: pulse 3.2s ease-in-out infinite; }
.about .visual .logo-ring { position: absolute; width: 252px; height: 252px; border: 3px solid rgba(255,255,255,.55); border-radius: 50%; animation: spin 26s linear infinite; }
.about .visual .about-logo { position: relative; z-index: 2; width: 190px; height: 190px; border-radius: 50%;
  background: #fff; padding: 12px; box-shadow: 0 18px 44px rgba(0,0,0,.28); animation: bob 5s ease-in-out infinite; }
.about .visual .float-tag { position: absolute; background: rgba(255,255,255,.92); color: var(--blue-700); padding: 8px 14px; border-radius: 10px; font-size: 13px; font-weight: 700; box-shadow: var(--shadow-md); }
.about .visual .ft1 { top: 40px; left: 30px; animation: bob 4s ease-in-out infinite; }
.about .visual .ft2 { bottom: 50px; right: 24px; animation: bob 5s ease-in-out infinite .6s; }
.about .visual .ft3 { top: 60px; right: 40px; animation: bob 4.6s ease-in-out infinite 1s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.about .info h2 { font-size: 30px; font-weight: 800; margin-bottom: 8px; }
.about .info .slogan { color: var(--blue-600); font-weight: 700; margin-bottom: 18px; }
.about .info p { color: var(--ink-2); margin-bottom: 18px; }
.about .mission { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.about .mission .m { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; font-weight: 700; color: var(--blue-700); box-shadow: var(--shadow-sm); flex: 1 1 calc(50% - 14px); }
.about .info .contact-mini { margin-top: 22px; display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.about .info .contact-mini b { color: var(--ink); }

/* 新闻（商会新闻 + 党建动态 合并呈现） */
.news { background: #fff; }
.news .grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.news .card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: all .35s; cursor: pointer; display: flex; flex-direction: column; }
.news .card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(19,102,224,.3); }
.news .card .cover { height: 168px; background: linear-gradient(135deg, var(--blue-700), var(--cyan-400)); position: relative; display: grid; place-items: center; color: #fff; }
/* 资讯卡片左上角分类标识：半透明彩色小图标徽标（党建=红 / 商会=蓝） */
.news .card .cover .cat { position: absolute; top: 12px; left: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px 3px 7px; border-radius: 999px; font-size: 11.5px; font-weight: 700; line-height: 1.4; letter-spacing: .2px; color: #fff; border: 1px solid rgba(255,255,255,.38); box-shadow: 0 2px 8px rgba(0,0,0,.14); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.news .card .cover .cat::before { font-size: 11px; line-height: 1; color: #fff; flex: 0 0 auto; text-shadow: 0 1px 2px rgba(0,0,0,.18); }
.news .card .cover .cat.cat-party { background: rgba(199,0,11,.58); }
.news .card .cover .cat.cat-party::before { content: '\2605'; }
.news .card .cover .cat.cat-chamber { background: rgba(19,102,224,.58); }
.news .card .cover .cat.cat-chamber::before { content: '\25C6'; }
.news .card .cover .ic { font-size: 46px; opacity: .9; }
.news .card .body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.news .card .body h3 { font-size: 17px; font-weight: 800; line-height: 1.4; margin-bottom: 10px; }
.news .card .body p { color: var(--muted); font-size: 13.5px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news .card .body .meta { margin-top: 14px; font-size: 12.5px; color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
.news .card .body .meta .tag { background: rgba(19,102,224,.08); color: var(--blue-600); padding: 3px 10px; border-radius: 999px; font-weight: 600; }

/* 会员展示（静态网格平铺，无自动切换） */
.members { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.mgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
.members .mcard { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.members .mcard.pop { animation: mcardIn .55s backwards; }
@keyframes mcardIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.members .mcard::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--blue-500), var(--cyan-400)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.members .mcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.members .mcard:hover::before { transform: scaleX(1); }
.members .mcard .ava { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 18px; background: linear-gradient(135deg, var(--blue-600), var(--cyan-400)); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 26px; box-shadow: 0 10px 24px rgba(19,102,224,.3); }
.members .mcard h3 { font-size: 17px; font-weight: 800; line-height: 1.45; }
.members .mcard .ind { display: inline-block; align-self: center; margin: 8px 0 12px; background: rgba(19,102,224,.08); color: var(--blue-600); font-size: 12.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.members .mcard p { color: var(--muted); font-size: 13.5px; line-height: 1.7; flex: 1; }

/* 分会组织（选项卡） */
.branches { background: linear-gradient(180deg, var(--bg) 0%, #fff 100%); }
.btabs { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 30px; }
.btabs .btab { padding: 12px 24px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; color: var(--ink-2); cursor: pointer; transition: all .2s; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.btabs .btab .breg { font-size: 12px; color: var(--muted); font-weight: 600; }
.btabs .btab:hover { border-color: var(--blue-400); color: var(--blue-700); }
.btabs .btab.active { background: var(--blue-600); color: #fff; border-color: var(--blue-600); box-shadow: 0 8px 20px rgba(19,102,224,.3); }
.btabs .btab.active .breg { color: rgba(255,255,255,.85); }
.bpanel { max-width: 900px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; animation: bpanelIn .4s both; }
@keyframes bpanelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.bpanel .bhead2 { display: flex; align-items: center; gap: 18px; padding: 26px 32px 22px; background: linear-gradient(135deg, var(--blue-700), var(--cyan-400)); color: #fff; }
.bpanel .bhead2 .bno { font-size: 38px; font-weight: 900; opacity: .9; line-height: 1; }
.bpanel .bhead2 h3 { font-size: 26px; font-weight: 800; }
.bpanel .bhead2 .breg2 { display: inline-block; margin-top: 8px; background: rgba(255,255,255,.22); padding: 4px 15px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.bpanel .bbody { padding: 26px 32px 30px; }
.bpanel .bbody .leader { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding: 14px 18px; border-radius: 14px; background: linear-gradient(135deg, rgba(19,102,224,.08), rgba(46,230,230,.12)); }
.bpanel .bbody .leader .ava { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-600), var(--cyan-400)); color: #fff; font-weight: 800; font-size: 18px; flex: 0 0 auto; }
.bpanel .bbody .leader .who b { font-size: 16px; }
.bpanel .bbody .leader .who span { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }
.bpanel .bbody p.desc { color: var(--ink-2); font-size: 15px; line-height: 1.85; }
.bpanel .bbody .contact-line { margin-top: 16px; font-size: 14px; color: var(--blue-700); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; background: rgba(19,102,224,.06); padding: 9px 16px; border-radius: 12px; }

/* 广告位 */
.ads { background: #fff; }
.ads .grid { display: grid; grid-template-columns: 2fr 1fr; gap: 22px; }
.ad-card { border-radius: var(--radius); padding: 30px; color: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow-md); transition: transform .3s; }
.ad-card:hover { transform: translateY(-4px); }
.ad-card.blue { background: linear-gradient(135deg, #0d3b8c, #2b8cff); }
.ad-card.cyan { background: linear-gradient(135deg, #0e7c8b, #2ee6e6); color: #04323a; }
.ad-card.gold { background: linear-gradient(135deg, #c98a14, #ffc24b); color: #4a2f00; }
.ad-card .tag { font-size: 12px; font-weight: 700; opacity: .85; letter-spacing: 1px; }
.ad-card h3 { font-size: 22px; font-weight: 900; margin: 8px 0 8px; }
.ad-card p { font-size: 14px; opacity: .92; max-width: 80%; }
.ad-card .go { display: inline-flex; margin-top: 16px; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.ad-card .glow { position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.14); }
/* 广告位 7 种配色（新增 4 种：中国红 / 翡翠绿 / 雅致紫 / 活力橙） */
.ad-card.red { background: linear-gradient(135deg, #8c1220, #e0453c); color: #fff; }
.ad-card.green { background: linear-gradient(135deg, #0b5d43, #2fc98a); color: #032b20; }
.ad-card.purple { background: linear-gradient(135deg, #4a2478, #9b5cf6); color: #fff; }
.ad-card.orange { background: linear-gradient(135deg, #a4470b, #ff9f45); color: #3a1b00; }

/* 首页主位广告横幅（规划尺寸：桌面 220px / 移动 130px，图片 object-fit:cover 填充） */
.ad-main { background: var(--bg); }
.ad-main .section-head { margin-bottom: 22px; }
/* 金牌赞助商：最多 5 个横幅上下排列，只渲染实际条目（不足 5 个不留空位）。
   单个 .ad-banner 尺寸（桌面 min-height 220px / 移动 132px）保持原样不变。 */
.ad-main-list { display: flex; flex-direction: column; gap: 22px; }
.ad-banner { position: relative; display: flex; align-items: center; min-height: 220px; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; box-shadow: var(--shadow-md); transition: transform .35s, box-shadow .35s; background: linear-gradient(120deg, #071d40, #0d3b8c 60%, #2b8cff); }
.ad-banner:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ad-banner--cyan { background: linear-gradient(120deg, #07464e, #0e8a9b 60%, #2ee6e6); color: #022; }
.ad-banner--gold { background: linear-gradient(120deg, #6e4a06, #c98a14 60%, #ffc24b); color: #3a2400; }
/* 新增 4 种横幅配色；主位统一使用 .ad-main 的深色遮罩 + 白字，保证可读性 */
.ad-banner--red { background: linear-gradient(120deg, #4c0810, #a51823 60%, #e0453c); }
.ad-banner--green { background: linear-gradient(120deg, #04372a, #0b7a58 60%, #2fc98a); }
.ad-banner--purple { background: linear-gradient(120deg, #26104a, #5a2d96 60%, #9b5cf6); }
.ad-banner--orange { background: linear-gradient(120deg, #5d2604, #b85a10 60%, #ff9f45); }
.ad-banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ad-banner-mask { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,15,38,.82) 0%, rgba(4,15,38,.55) 45%, rgba(4,15,38,0) 100%); }
.ad-banner--cyan .ad-banner-mask { background: linear-gradient(90deg, rgba(3,40,45,.85) 0%, rgba(3,40,45,.5) 45%, rgba(3,40,45,0) 100%); }
.ad-banner--gold .ad-banner-mask { background: linear-gradient(90deg, rgba(50,30,0,.82) 0%, rgba(50,30,0,.5) 45%, rgba(50,30,0,0) 100%); }
.ad-banner .glow { position: absolute; right: -50px; top: -50px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.12); }
.ad-banner-body { position: relative; z-index: 2; padding: 30px 40px; max-width: 760px; }
.ad-banner .tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1px; background: rgba(255,255,255,.2); padding: 4px 13px; border-radius: 999px; backdrop-filter: blur(4px); }
.ad-banner h3 { font-size: 27px; font-weight: 900; margin: 12px 0 8px; line-height: 1.3; }
.ad-banner p { font-size: 15px; line-height: 1.7; opacity: .95; max-width: 640px; }
.ad-banner .go { display: inline-flex; margin-top: 16px; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; border-bottom: 2px solid currentColor; padding-bottom: 2px; }

/* 金牌赞助商：标题整体居中，图标加大且与标题文字等高对齐
   SVG viewBox 为 0 0 64 64，图形实体约占 2/3，故放大到 1.5em 后
   奖牌视觉高度≈1em，恰好与标题文字等高。
   注意：这里必须用块级 flex（不能用 inline-flex）——inline-flex 会让 h2
   收缩为内容宽度并贴左排列，导致 base.css 的 text-align:center 失效。
   flex + justify-content:center 同时保证标题水平居中与图标垂直居中。 */
.ad-main .section-title { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; text-align: center; }
.ad-main .section-title .medal { display: inline-flex; align-items: center; margin-right: 10px; }
.ad-main .section-title .medal svg { width: 1.5em; height: 1.5em; display: block; }

/* 主位横幅：背景图避开左侧文字区，并让左侧文字在金色/图片背景上都醒目 */
.ad-main .ad-banner { color: #fff; }
.ad-main .ad-banner .ad-banner-img { z-index: 0; object-position: right center; filter: brightness(.92); }
.ad-main .ad-banner .ad-banner-mask { z-index: 1; background: linear-gradient(90deg, rgba(10,16,32,.82) 0%, rgba(10,16,32,.5) 45%, rgba(10,16,32,0) 100%); }
.ad-main .ad-banner .ad-banner-body { z-index: 2; text-shadow: 0 1px 5px rgba(0,0,0,.55); }
.ad-main .ad-banner .tag { background: rgba(255,225,150,.2); color: #ffe9a8; }

/* CTA 入会 */
.cta-join { background: linear-gradient(135deg, var(--blue-900), var(--blue-700)); color: #fff; text-align: center; }
.cta-join h2 { font-size: 34px; font-weight: 900; }
.cta-join p { color: #cfe0ff; margin: 14px auto 30px; max-width: 600px; }

@media (max-width: 960px) {
  .about .wrap { grid-template-columns: 1fr; }
  .about .visual { height: 320px; }
  .news .grid { grid-template-columns: 1fr 1fr; }
  .stats .grid { grid-template-columns: 1fr 1fr; }
  .ads .grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-right { justify-content: flex-start; }
  .hero-news { max-width: 100%; }
  .mgrid { grid-template-columns: repeat(2, 1fr); }
  .btabs .btab { padding: 10px 18px; font-size: 14px; }
}
@media (max-width: 600px) {
  .news .grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 96px 0 56px; }
  .hero .container { padding-top: 0; }
  .hero h1 { font-size: clamp(32px, 9.2vw, 44px); white-space: normal; }
  .hero .lead { font-size: 15px; margin: 16px 0 26px; }
  .hero .cta { gap: 10px; }
  .hero .cta .btn { flex: 1 1 auto; justify-content: center; }
  .hero .scroll-ind { display: none; }
  .hero-news { padding: 18px 18px 16px; border-radius: 18px; }
  .hero-news .hn-content { min-height: auto; }
  .hero-news .hn-item h3 { font-size: 18px; }
  .hero-news .hn-item p { -webkit-line-clamp: 2; font-size: 13.5px; }
  .hero-news .hn-progress { margin-top: 14px; }
  .stats .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card { padding: 12px 6px; }
  .stat-card .num { font-size: 34px; }
  .stat-card .label { font-size: 13px; }
  .about .visual { height: 240px; }
  .about .visual .logo-stage { width: 220px; height: 220px; }
  .about .visual .about-logo { width: 150px; height: 150px; }
  .about .info h2 { font-size: 24px; }
  .about .mission .m { flex: 1 1 100%; }
  .news .card .cover { height: 140px; }
  .ad-card { padding: 24px 20px; }
  .ad-card p { max-width: 100%; }
  .ad-card h3 { font-size: 19px; }
  .ad-main-list { gap: 16px; }
  .ad-banner { min-height: 132px; }
  .ad-banner-body { padding: 18px 20px; max-width: 100%; }
  .ad-banner h3 { font-size: 19px; margin: 8px 0 4px; }
  .ad-banner p { font-size: 13px; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .ad-banner .go { margin-top: 10px; }
  .cta-join h2 { font-size: 25px; }
  .mgrid { grid-template-columns: 1fr; }
  .bpanel .bhead2 { padding: 20px 22px 18px; }
  .bpanel .bhead2 h3 { font-size: 21px; }
  .bpanel .bbody { padding: 22px; }
}

/* 资讯卡片封面图（文档导入 / 链接导入 / 后台上传） */
.news .card .cover.has-img { background: #f0f3f8; }
.news .card .cover .cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news .card .cover .cat { z-index: 1; }
.news .card[data-news-id]:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; }

/* ---------- 首页资讯详情弹窗（完整正文 + 全部插图） ---------- */
.hnm-modal { position: fixed; inset: 0; z-index: 9999; display: none; }
.hnm-modal.open { display: block; }
.hnm-mask { position: absolute; inset: 0; background: rgba(6,20,44,.62); backdrop-filter: blur(3px); animation: hnmFade .2s both; }
.hnm-panel {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: min(720px, calc(100% - 32px)); max-height: 86vh; background: #fff;
  border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.4); overflow: hidden;
  animation: hnmPop .28s cubic-bezier(.2,.9,.3,1) both;
}
.hnm-close {
  position: absolute; right: 14px; top: 14px; z-index: 2; width: 36px; height: 36px;
  border: none; border-radius: 50%; background: rgba(0,0,0,.07); color: #444;
  font-size: 22px; line-height: 1; cursor: pointer; transition: all .2s;
}
.hnm-close:hover { background: #1366e0; color: #fff; transform: rotate(90deg); }
.hnm-scroll { max-height: 86vh; overflow-y: auto; }
.hnm-cover { width: 100%; max-height: 300px; object-fit: cover; display: block; background: #f0f3f8; }
.hnm-inner { padding: 28px 34px 34px; }
.hnm-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 13px; color: #8895a8; }
.hnm-cat { background: rgba(19,102,224,.1); color: #1366e0; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.hnm-inner h2 { font-size: 25px; line-height: 1.45; font-weight: 800; color: #14213d; margin-bottom: 18px; }
.hnm-content { font-size: 15.5px; line-height: 1.95; color: #333; white-space: pre-wrap; word-break: break-word; }
.hnm-gallery { margin-top: 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.hnm-gallery figure { margin: 0; border: 1px solid #e8edf5; border-radius: 12px; overflow: hidden; background: #fafbfd; }
.hnm-gallery img { width: 100%; height: 190px; object-fit: cover; display: block; }
.hnm-gallery figcaption { font-size: 12px; color: #8895a8; padding: 7px 10px; text-align: center; }
.hnm-tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.hnm-tags span { background: rgba(19,102,224,.08); color: #1366e0; font-size: 12.5px; font-weight: 700; padding: 5px 13px; border-radius: 999px; }
@keyframes hnmFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hnmPop { from { opacity: 0; transform: translate(-50%,-48%) scale(.96); } to { opacity: 1; transform: translate(-50%,-50%) scale(1); } }
@media (max-width: 640px){
  .hnm-inner { padding: 22px 20px 28px; }
  .hnm-inner h2 { font-size: 20px; }
  .hnm-content { font-size: 15px; }
  .hnm-gallery { grid-template-columns: 1fr; }
}

/* 链接一键导入：正文按原文顺序就地渲染图文，图注紧随图片 */
.hnm-content.has-inline { white-space: normal; }
.hnm-content .rc-p,
.hnm-content .rc-cap,
.hnm-content .rc-fig { white-space: normal; }
.hnm-content .rc-p { margin: 0 0 16px; font-size: 15.5px; line-height: 1.95; color: #333; }
.hnm-content .rc-fig { margin: 20px 0; text-align: center; }
.hnm-content .rc-img { display: block; max-width: 100%; width: auto; height: auto; margin: 0 auto; border-radius: 10px; box-shadow: 0 2px 14px rgba(20,33,61,.10); }
.hnm-content .rc-cap { margin: -8px 0 20px; text-align: center; font-size: 13px; line-height: 1.7; color: #8895a8; }
@media (max-width: 640px){ .hnm-content .rc-p { font-size: 15px; } }

/* 链接一键导入：正文内联视频播放器（16:9，按原文顺序就地渲染） */
.hnm-content .rc-video { margin: 22px 0; }
.hnm-content .rc-video-box { position: relative; width: 100%; max-width: 860px; margin: 0 auto; aspect-ratio: 16 / 9; background: #0e1626; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 20px rgba(20,33,61,.16); }
.hnm-content .rc-iframe, .hnm-content .rc-video-el { display: block; width: 100%; height: 100%; border: 0; }
.hnm-content .rc-video-el { object-fit: contain; background: #000; }
.hnm-content .rc-video-note { margin-top: 8px; text-align: center; font-size: 12.5px; color: #8895a8; }
.hnm-content .rc-video-note a { color: #1366e0; text-decoration: none; }
.hnm-content .rc-video-note a:hover { text-decoration: underline; }

/* 优秀会员单位 LOGO：统一 72×72 容器 + contain，上传时已归一到 400×400 画板 */
.members .mcard .ava.has-logo { background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 20px rgba(19,102,224,.12); padding: 0; overflow: hidden; box-sizing: border-box; }
.members .mcard .ava .ava-img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }

/* 商会资讯动态：分页控件（上一页 / 页码 / 下一页 + 总数提示） */
.news .news-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 34px; }
.news .np-info { color: var(--muted); font-size: 13px; margin-right: 10px; }
.news .np-btn { min-width: 38px; height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: 13.5px; font-weight: 700; font-family: inherit; cursor: pointer; transition: border-color .2s, color .2s, transform .2s, box-shadow .2s; }
.news .np-btn:hover:not(:disabled):not(.active) { border-color: var(--blue-500); color: var(--blue-600); transform: translateY(-2px); }
.news .np-btn.active { background: var(--blue-600); border-color: var(--blue-600); color: #fff; box-shadow: 0 6px 16px rgba(19,102,224,.28); }
.news .np-btn:disabled { opacity: .42; cursor: not-allowed; }
.news .np-ell { color: var(--muted); padding: 0 2px; font-size: 13px; }
@media (max-width: 640px) {
  .news .news-pager { gap: 6px; margin-top: 26px; }
  .news .np-info { width: 100%; text-align: center; margin: 0 0 6px; }
  .news .np-btn { min-width: 34px; height: 32px; padding: 0 9px; font-size: 13px; }
}

/* 会员卡片跳转：配置了链接时整卡为 <a>，复用 .mcard 视觉且不影响 LOGO 铺满 */
.members a.mcard { text-decoration: none; color: inherit; }
.members .mcard.is-link { cursor: pointer; }
.members .mcard .mc-go { position: absolute; right: 14px; top: 12px; font-size: 16px; font-weight: 800; color: var(--blue-600); opacity: .8; transition: transform .3s, opacity .3s; }
.members .mcard.is-link:hover .mc-go { transform: translate(2px, -2px); opacity: 1; }
