/* ============================================================
   珠海市HSE科技协会 — 官网样式
   ============================================================ */
:root {
  --green: #0E7A63;
  --green-d: #0A5A4A;
  --green-l: #E9F5F1;
  --green-2: #12A88A;
  --cyan: #0E9AA7;
  --blue: #1668A5;
  --blue-l: #E8F2FB;
  --ink: #16303A;
  --muted: #5E7480;
  --bg: #F4F8F7;
  --line: #DFEAE7;
  --navy: #0C2B38;
  --gold: #C9A84C;
  --r: 12px;
  --shadow: 0 2px 10px rgba(12, 43, 56, .06);
  --shadow-h: 0 10px 28px rgba(12, 43, 56, .13);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  color: var(--ink); background: #fff; font-size: 15px; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-d); }
img { max-width: 100%; vertical-align: middle; }
ul, ol { padding-left: 1.4em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------------- 顶部条 / 导航 ---------------- */
.topbar { background: var(--navy); color: #9FB6BF; font-size: 12.5px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.topbar a { color: #9FB6BF; margin-left: 16px; }
.topbar a:hover { color: #fff; }
.topbar .tb-l span { margin-right: 18px; }
.topbar .tb-r { display: flex; align-items: center; }
.hdr { position: sticky; top: 0; z-index: 90; background: #fff; box-shadow: 0 1px 0 var(--line); }
.navbar { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 44px; height: 44px; flex: 0 0 44px; }
.brand-text b { display: block; font-size: 20px; letter-spacing: .5px; color: var(--ink); line-height: 1.25; }
.brand-text i { display: block; font-style: normal; font-size: 10.5px; color: var(--muted); letter-spacing: .4px; }
.nav { display: flex; align-items: center; height: 74px; }
.nav > li { list-style: none; position: relative; height: 74px; }
.nav > li > a {
  display: flex; align-items: center; height: 74px; padding: 0 9px; color: var(--ink);
  font-size: 14.5px; font-weight: 500; position: relative; white-space: nowrap;
}
.nav > li > a:hover, .nav > li.on > a { color: var(--green); }
.nav > li > a::after {
  content: ''; position: absolute; left: 9px; right: 9px; bottom: 16px; height: 2px;
  background: var(--green); border-radius: 2px; transform: scaleX(0); transition: .22s;
}
.nav > li > a:hover::after, .nav > li.on > a::after { transform: scaleX(1); }
.nav .dd {
  position: absolute; top: 74px; left: 8px; min-width: 168px; background: #fff;
  border-radius: 0 0 10px 10px; box-shadow: var(--shadow-h); padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.nav > li:hover .dd { opacity: 1; visibility: visible; transform: none; }
.nav .dd a { display: block; padding: 8px 18px; color: var(--ink); font-size: 14px; }
.nav .dd a:hover { background: var(--green-l); color: var(--green-d); }
.nav-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  font-size: 20px; color: var(--ink); width: 42px; height: 42px; cursor: pointer; }
.mnav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mnav.open { display: block; }
.mnav a { display: block; padding: 12px 20px; border-bottom: 1px solid #F1F5F4; color: var(--ink); }
.mnav .mdd { padding-left: 16px; background: #FAFCFB; font-size: 14px; }

/* ---------------- 按钮 ---------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 26px; border-radius: 8px; font-size: 15px; font-weight: 500; cursor: pointer;
  border: 1px solid transparent; transition: .18s; }
.btn-pri { background: var(--green); color: #fff !important; }
.btn-pri:hover { background: var(--green-d); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(14,122,99,.3); }
.btn-line { border-color: rgba(255,255,255,.55); color: #fff !important; }
.btn-line:hover { background: rgba(255,255,255,.14); }
.btn-ghost { border-color: var(--green); color: var(--green) !important; background: #fff; }
.btn-ghost:hover { background: var(--green-l); }
.btn-sm { padding: 7px 16px; font-size: 13.5px; border-radius: 7px; }
.btn-block { width: 100%; }

/* ---------------- 首页 Hero ---------------- */
.hero { position: relative; background: linear-gradient(128deg, #093B33 0%, #0E6B58 42%, #0E93A0 100%);
  color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 1; transition: opacity .5s; z-index: 0; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1;
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .5; }
.hero::after { content: ''; position: absolute; right: -140px; bottom: -180px; width: 560px; height: 560px;
  border-radius: 50%; background: radial-gradient(circle, rgba(100,255,218,.16), transparent 65%); z-index: 1; }
.hero .wrap { position: relative; z-index: 2; padding-top: 74px; padding-bottom: 70px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #BFF3E6;
  border: 1px solid rgba(191,243,230,.4); border-radius: 30px; padding: 6px 16px; margin-bottom: 26px;
  background: rgba(255,255,255,.06); }
.hero h1 { font-size: 42px; line-height: 1.32; letter-spacing: 1px; max-width: 760px; font-weight: 600; }
.hero h1 em { font-style: normal; color: #7FF0D4; }
.hero p.lead { margin-top: 18px; font-size: 16.5px; color: #D6E9E5; max-width: 640px; line-height: 1.9; }
.hero .hero-btns { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.18);
  background: rgba(6, 33, 28, .28); backdrop-filter: blur(2px); }
.hero-stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 22px; padding-bottom: 22px; }
.hstat { text-align: center; color: #fff; }
.hstat b { font-size: 30px; font-family: "DIN Alternate", "Bahnschrift", "Helvetica Neue", sans-serif;
  letter-spacing: 1px; color: #8FF4DA; }
.hstat b small { font-size: 14px; margin-left: 2px; color: #CFEDE4; }
.hstat span { display: block; font-size: 13px; color: #BCD8D2; margin-top: 2px; }

/* ---------------- 通用区块 ---------------- */
.sec { padding: 66px 0; }
.sec.alt { background: var(--bg); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 34px; gap: 20px; }
.sec-head .sh-l .eyebrow { font-size: 12.5px; letter-spacing: 3px; color: var(--green-2); font-weight: 600;
  text-transform: uppercase; }
.sec-head h2 { font-size: 27px; margin-top: 6px; letter-spacing: .5px; color: var(--ink); font-weight: 600; }
.sec-head h2 small { font-size: 15px; color: var(--muted); font-weight: 400; margin-left: 10px; }
.sec-head .more { font-size: 14px; color: var(--muted); white-space: nowrap; }
.sec-head .more:hover { color: var(--green); }
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

/* ---------------- 卡片 ---------------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow); transition: .2s; overflow: hidden; }
.card:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); }
.card .cover { display: block; height: 168px; overflow: hidden; background: linear-gradient(135deg, #0E7A63, #0E9AA7); }
.card .cover img { width: 100%; height: 100%; object-fit: cover; }
.card .cb { padding: 18px 20px 20px; }
.card .cb h3 { font-size: 16.5px; line-height: 1.55; font-weight: 600; }
.card .cb h3 a { color: var(--ink); }
.card .cb h3 a:hover { color: var(--green); }
.card .cb p { color: var(--muted); font-size: 13.5px; margin-top: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { display: flex; align-items: center; gap: 12px; color: #90A4AE; font-size: 12.5px; margin-top: 12px; }
.tag { display: inline-block; font-size: 12px; padding: 2px 10px; border-radius: 20px;
  background: var(--green-l); color: var(--green-d); }
.tag.blue { background: var(--blue-l); color: var(--blue); }
.tag.gold { background: #FAF3DF; color: #8A6D1F; }

/* 新闻列表行 */
.news-rows { border-top: 1px solid var(--line); }
.news-row { display: flex; align-items: center; gap: 18px; padding: 15px 4px; border-bottom: 1px solid var(--line); }
.news-row .nr-date { flex: 0 0 78px; text-align: center; border-right: 1px solid var(--line); padding-right: 12px; }
.news-row .nr-date b { display: block; font-size: 22px; color: var(--green); font-weight: 600; line-height: 1.2; }
.news-row .nr-date span { font-size: 12px; color: var(--muted); }
.news-row .nr-title { flex: 1; font-size: 15px; color: var(--ink); line-height: 1.6; }
.news-row a.nr-title:hover { color: var(--green); }
.news-row .nr-tag { flex: 0 0 auto; }

/* 首页新闻双栏 */
.home-news { display: grid; grid-template-columns: 1.15fr 1fr; gap: 26px; }
.home-news .feature { position: relative; border-radius: var(--r); overflow: hidden; min-height: 380px;
  background: linear-gradient(150deg, #0C3D34, #0E7A63 60%, #1190A0); display: flex; flex-direction: column;
  justify-content: flex-end; padding: 30px; color: #fff; box-shadow: var(--shadow); }
.home-news .feature h3 { font-size: 23px; line-height: 1.5; font-weight: 600; }
.home-news .feature h3 a { color: #fff; }
.home-news .feature p { color: #D7EAE5; font-size: 14px; margin-top: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.home-news .feature .meta { color: #A9CFC7; font-size: 12.5px; margin-top: 14px; }

/* 公益项目卡 */
.proj-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.proj-card { position: relative; border-radius: 16px; overflow: hidden; padding: 36px 34px; color: #fff;
  min-height: 250px; display: flex; flex-direction: column; justify-content: space-between; transition: .22s; }
.proj-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(12,43,56,.22); }
.proj-card.green { background: linear-gradient(135deg, #0A5A46, #12A88A); }
.proj-card.blue { background: linear-gradient(135deg, #0E4A80, #1D8BC4); }
.proj-card.teal { background: linear-gradient(135deg, #0B5459, #0E9AA7); }
.proj-card.orange { background: linear-gradient(135deg, #8A3D06, #E8951F); }
.proj-card .pc-icon { font-size: 34px; opacity: .92; }
.proj-card h3 { font-size: 24px; margin-top: 14px; font-weight: 600; letter-spacing: 1px; }
.proj-card .pc-sub { font-size: 13.5px; color: rgba(255,255,255,.85); margin-top: 6px; letter-spacing: 1px; }
.proj-card p { margin-top: 14px; font-size: 14px; color: rgba(255,255,255,.92); line-height: 1.8;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.proj-card .pc-more { margin-top: 18px; font-size: 14px; color: #fff; opacity: .95; }
.proj-card .pc-more:hover { opacity: 1; text-decoration: underline; }

/* 统计条 */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px;
  box-shadow: var(--shadow); text-align: center; }
.stat-card b { font-size: 34px; color: var(--green); font-weight: 650; letter-spacing: 1px;
  font-family: "DIN Alternate", "Bahnschrift", sans-serif; }
.stat-card b small { font-size: 15px; color: var(--muted); margin-left: 3px; }
.stat-card span { display: block; color: var(--muted); font-size: 13.5px; margin-top: 6px; }

/* 服务网格 */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px;
  box-shadow: var(--shadow); transition: .2s; }
.svc-card:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); border-color: #C8E6DC; }
.svc-icon { width: 52px; height: 52px; border-radius: 13px; background: var(--green-l); color: var(--green-d);
  display: flex; align-items: center; justify-content: center; font-size: 23px; font-weight: 600; }
.svc-card h3 { font-size: 16.5px; margin-top: 16px; font-weight: 600; }
.svc-card p { color: var(--muted); font-size: 13.5px; margin-top: 8px; }

/* 活动卡 */
.act-card { display: flex; gap: 20px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); transition: .2s; }
.act-card:hover { box-shadow: var(--shadow-h); }
.act-date { flex: 0 0 84px; height: 84px; border-radius: 12px; background: linear-gradient(160deg, #0E7A63, #12A88A);
  color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.act-date b { font-size: 26px; line-height: 1.1; font-weight: 650; }
.act-date span { font-size: 12px; opacity: .9; }
.act-body { flex: 1; min-width: 0; }
.act-body h3 { font-size: 16.5px; font-weight: 600; }
.act-body h3 a { color: var(--ink); } .act-body h3 a:hover { color: var(--green); }
.act-info { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: 13px; margin-top: 9px; }
.act-fee { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }

/* ---------------- 内页通用 ---------------- */
.page-banner { background: linear-gradient(120deg, #0A3F36, #0E7A63 55%, #0E93A0); color: #fff;
  padding: 52px 0 46px; position: relative; overflow: hidden; }
.page-banner::before { content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1px); background-size: 24px 24px; }
.page-banner .wrap { position: relative; }
.page-banner h1 { font-size: 30px; letter-spacing: 1px; font-weight: 600; }
.page-banner p { color: #CBE5DE; margin-top: 8px; font-size: 14.5px; max-width: 760px; }
.crumb { font-size: 13px; color: #A9CFC7; margin-bottom: 12px; }
.crumb a { color: #A9CFC7; } .crumb a:hover { color: #fff; }

/* 文章排版 */
.prose { font-size: 15.5px; line-height: 1.95; color: #24404B; word-break: break-word; }
.prose h1, .prose h2, .prose h3, .prose h4 { color: var(--ink); margin: 26px 0 12px; line-height: 1.5; font-weight: 600; }
.prose h2 { font-size: 21px; padding-left: 12px; border-left: 4px solid var(--green); }
.prose h3 { font-size: 17.5px; }
.prose p { margin: 10px 0; }
.prose ul, .prose ol { margin: 10px 0; }
.prose li { margin: 5px 0; }
.prose blockquote { border-left: 4px solid var(--green-l); background: var(--bg); padding: 12px 18px;
  color: var(--muted); margin: 14px 0; border-radius: 0 8px 8px 0; }
.prose table { border-collapse: collapse; width: 100%; margin: 16px 0; font-size: 14.5px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 13px; text-align: left; }
.prose th { background: var(--green-l); color: var(--green-d); font-weight: 600; }
.prose img { border-radius: 8px; margin: 8px 0; }
.prose hr { border: none; border-top: 1px solid var(--line); margin: 22px 0; }
.prose a { text-decoration: underline; }

/* 两栏布局 */
.two-col { display: grid; grid-template-columns: 1fr 320px; gap: 34px; align-items: start; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
  padding: 22px; margin-bottom: 20px; }
.side-card h4 { font-size: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--green-l); margin-bottom: 12px;
  color: var(--ink); font-weight: 600; }
.side-list li { list-style: none; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.side-list li:last-child { border: none; }
.side-list a { color: var(--ink); } .side-list a:hover { color: var(--green); }
.side-list .dt { color: #96A9B2; font-size: 12.5px; margin-left: 6px; }

/* 文章详情头 */
.art-head { text-align: center; max-width: 860px; margin: 0 auto 26px; }
.art-head h1 { font-size: 27px; line-height: 1.55; font-weight: 650; }
.art-head .art-meta { display: flex; justify-content: center; gap: 20px; color: var(--muted); font-size: 13.5px;
  margin-top: 14px; flex-wrap: wrap; }
.art-body { max-width: 860px; margin: 0 auto; }
.art-nav { max-width: 860px; margin: 34px auto 0; padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 20px; font-size: 14px; }
.art-nav a { color: var(--muted); max-width: 45%; }
.art-nav a:hover { color: var(--green); }

/* 成员卡片（组织架构 / 论坛） */
.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 20px;
  text-align: center; box-shadow: var(--shadow); transition: .2s; }
.person:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); }
.person .avatar { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 14px; overflow: hidden;
  background: linear-gradient(150deg, #0E7A63, #12A88A); color: #fff; display: flex; align-items: center;
  justify-content: center; font-size: 30px; font-weight: 600; }
.person .avatar img { width: 100%; height: 100%; object-fit: cover; }
.person b { display: block; font-size: 17px; }
.person .pos { color: var(--green-d); font-size: 13.5px; margin-top: 4px; }
.person .org { color: var(--muted); font-size: 12.5px; margin-top: 6px; line-height: 1.6; }
.person .exp { display: inline-block; margin-top: 10px; font-size: 12px; color: var(--blue);
  background: var(--blue-l); border-radius: 20px; padding: 2px 12px; }

/* 会员风采 */
.mem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mem-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px;
  text-align: center; box-shadow: var(--shadow); transition: .2s; }
.mem-card:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); }
.mem-card .mlogo { width: 100%; height: 76px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px; }
.mem-card .mlogo img { max-height: 76px; max-width: 100%; object-fit: contain; }
.mem-card .mname { font-size: 15px; font-weight: 600; line-height: 1.5; }
.mem-card .mmeta { color: var(--muted); font-size: 12.5px; margin-top: 5px; }
.mem-initial { width: 60px; height: 60px; border-radius: 14px; background: var(--green-l); color: var(--green-d);
  display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 650; margin: 0 auto; }

/* 表格 */
.tbl { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow); font-size: 14.5px; }
.tbl th { background: var(--green-l); color: var(--green-d); text-align: left; padding: 13px 16px;
  font-weight: 600; white-space: nowrap; }
.tbl td { padding: 12px 16px; border-top: 1px solid var(--line); }
.tbl tr:hover td { background: #FAFDFC; }

/* 表单 */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.fld label { display: block; font-size: 13.5px; color: var(--ink); margin-bottom: 6px; font-weight: 500; }
.fld label .req { color: #E05252; margin-left: 3px; }
.fld input[type=text], .fld input[type=tel], .fld input[type=email], .fld input[type=number],
.fld input[type=date], .fld input[type=datetime-local], .fld select, .fld textarea {
  width: 100%; border: 1px solid #CFDED9; border-radius: 8px; padding: 10px 13px; font-size: 14.5px;
  font-family: inherit; color: var(--ink); background: #fff; transition: .15s; }
.fld textarea { resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(14,122,99,.12); }
.fld .hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.radio-row { display: flex; gap: 22px; flex-wrap: wrap; }
.radio-row label { display: flex; align-items: center; gap: 7px; font-size: 14.5px; cursor: pointer; }
.msg { border-radius: 10px; padding: 13px 18px; font-size: 14.5px; margin-bottom: 18px; }
.msg.ok { background: var(--green-l); color: var(--green-d); border: 1px solid #BFE3D7; }
.msg.error { background: #FDEDEC; color: #B23B34; border: 1px solid #F5CFCC; }
.msg.info { background: var(--blue-l); color: #14547F; border: 1px solid #CBE2F5; }

/* 流程步骤 */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: st; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px 18px; text-align: center; }
.step::before { counter-increment: st; content: counter(st); width: 34px; height: 34px; border-radius: 50%;
  background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px; font-weight: 600; font-size: 15px; }
.step b { display: block; font-size: 14.5px; }

/* CTA 横幅 */
.cta-band { background: linear-gradient(120deg, #0A3F36, #0E7A63 60%, #0E93A0); border-radius: 18px;
  color: #fff; padding: 44px 46px; display: flex; align-items: center; justify-content: space-between;
  gap: 26px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; right: -60px; top: -80px; width: 320px; height: 320px;
  border-radius: 50%; background: radial-gradient(circle, rgba(100,255,218,.18), transparent 65%); }
.cta-band h2 { font-size: 25px; font-weight: 600; letter-spacing: .5px; }
.cta-band p { color: #CDE6E0; margin-top: 8px; font-size: 14.5px; }

/* 分页 */
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 34px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 38px; height: 38px; display: inline-flex; align-items: center;
  justify-content: center; border: 1px solid var(--line); border-radius: 9px; color: var(--ink);
  font-size: 14px; background: #fff; padding: 0 12px; }
.pager a:hover { border-color: var(--green); color: var(--green); }
.pager .cur { background: var(--green); border-color: var(--green); color: #fff; }
.pager .dis { color: #C3D0D6; pointer-events: none; }

/* 空状态 */
.empty { text-align: center; color: var(--muted); padding: 60px 20px; font-size: 14.5px; }
.empty .em-icon { font-size: 40px; opacity: .4; margin-bottom: 12px; }

/* 分类筛选 chips */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.chips a { padding: 7px 18px; border-radius: 22px; border: 1px solid var(--line); background: #fff;
  color: var(--muted); font-size: 14px; }
.chips a:hover { border-color: var(--green); color: var(--green); }
.chips a.on { background: var(--green); border-color: var(--green); color: #fff; }
.chips a.on:hover { color: #fff; }

/* 通知公告条 */
.notice-band { background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow); padding: 6px 24px 10px; margin-top: 26px; }
.notice-band .nb-head { display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0 8px; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); font-size: 15px; }
.notice-band a { display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--line);
  color: var(--ink); font-size: 14.5px; }
.notice-band a:last-child { border: none; }
.notice-band a:hover { color: var(--green); }
.notice-band .d { color: #96A9B2; font-size: 13px; flex: 0 0 96px; }

/* ---------------- 页脚 ---------------- */
.ftr { background: var(--navy); color: #8FA9B3; margin-top: 0; font-size: 13.5px; }
.ftr .ftr-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding: 52px 0 40px; }
.ftr h5 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 600; letter-spacing: .5px; }
.ftr a { color: #8FA9B3; display: block; padding: 4px 0; }
.ftr a:hover { color: #7FF0D4; }
.ftr .fbrand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ftr .fbrand b { color: #fff; font-size: 17px; }
.ftr .fdesc { line-height: 1.9; }
.ftr .fcontact div { padding: 4px 0; }
.ftr-bot { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; display: flex;
  justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: #6E8894; }
.ftr-bot a { display: inline; color: #6E8894; }

/* ---------------- H5 移动版（扫码/报名页） ---------------- */
.h5 { background: linear-gradient(160deg, #0A3F36, #0E7A63 55%, #0E93A0); min-height: 100vh; }
.h5-wrap { max-width: 520px; margin: 0 auto; padding: 26px 16px 40px; }
.h5-brand { display: flex; align-items: center; gap: 10px; color: #fff; margin-bottom: 18px; }
.h5-brand img { width: 38px; height: 38px; }
.h5-brand b { font-size: 16px; letter-spacing: .5px; }
.h5-card { background: #fff; border-radius: 18px; padding: 26px 22px; box-shadow: 0 16px 46px rgba(6,32,27,.28); }
.h5-card h1 { font-size: 20px; line-height: 1.5; font-weight: 650; color: var(--ink); }
.h5-meta { background: var(--bg); border-radius: 12px; padding: 14px 16px; margin: 16px 0; font-size: 14px;
  color: #33515C; }
.h5-meta div { padding: 4px 0; display: flex; gap: 10px; }
.h5-meta b { color: var(--ink); flex: 0 0 64px; font-weight: 600; }
.h5 .fld { margin-bottom: 14px; }
.h5 .fld input, .h5 .fld textarea { font-size: 16px !important; /* 防止 iOS 自动放大 */ padding: 12px 14px; }
.h5-result { text-align: center; padding: 10px 0 4px; }
.h5-result .big { font-size: 52px; line-height: 1.2; }
.h5-result h2 { font-size: 21px; margin-top: 8px; font-weight: 650; }
.h5-result p { color: var(--muted); margin-top: 8px; font-size: 14.5px; }
.h5-result .who { background: var(--green-l); border-radius: 10px; padding: 12px; margin-top: 16px;
  color: var(--green-d); font-size: 15px; }
.h5-foot { text-align: center; color: rgba(255,255,255,.75); font-size: 12.5px; margin-top: 20px; line-height: 1.9; }
.scan-box { text-align: center; }

/* ---------------- 专家库 ---------------- */
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.exp-card { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); transition: .2s; }
.exp-card:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); }
.exp-card .ephoto { width: 64px; height: 64px; flex: 0 0 64px; border-radius: 12px; overflow: hidden;
  background: linear-gradient(150deg, #0E7A63, #12A88A); color: #fff; display: flex; align-items: center;
  justify-content: center; font-size: 24px; font-weight: 600; }
.exp-card .ephoto img { width: 100%; height: 100%; object-fit: cover; }
.exp-card h3 { font-size: 16.5px; font-weight: 600; color: var(--ink); }
.exp-card .etitle { color: var(--green-d); font-size: 13px; margin-top: 3px; }
.exp-card .eorg { color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.exp-card .eexp { color: var(--muted); font-size: 13px; margin-top: 8px; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.exp-card .emore { margin-top: 10px; font-size: 13px; }
.ephoto-lg { width: 108px; height: 108px; flex: 0 0 108px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(150deg, #0E7A63, #12A88A); color: #fff; display: flex; align-items: center;
  justify-content: center; font-size: 40px; font-weight: 600; }
.ephoto-lg img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1080px) { .exp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .exp-grid { grid-template-columns: 1fr; }
  .ebasic { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 1080px) {
  .nav > li > a { padding: 0 10px; font-size: 14px; }
  .people-grid, .mem-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .home-news, .two-col { grid-template-columns: 1fr; }
  .ftr .ftr-top { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav { display: none; }
  .nav-btn { display: block; }
  .topbar .tb-l { display: none; }
  .hero h1 { font-size: 30px; }
  .hero .wrap { padding-top: 46px; padding-bottom: 44px; }
  .hero-stats .wrap { grid-template-columns: repeat(2, 1fr); gap: 14px 0; }
  .sec { padding: 44px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; margin-bottom: 24px; }
  .sec-head h2 { font-size: 22px; }
  .grid.g3, .grid.g4, .stats-band, .steps { grid-template-columns: repeat(2, 1fr); }
  .proj-cards { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .people-grid, .mem-grid { grid-template-columns: repeat(2, 1fr); }
  .act-card { flex-direction: column; }
  .act-date { width: 84px; }
  .art-head h1 { font-size: 21px; }
  .page-banner { padding: 34px 0 30px; }
  .page-banner h1 { font-size: 23px; }
  .cta-band { padding: 30px 24px; }
  .ftr .ftr-top { grid-template-columns: 1fr; gap: 26px; padding: 36px 0 28px; }
}
@media (max-width: 520px) {
  .grid.g3, .grid.g4, .svc-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .news-row { align-items: flex-start; }
  .news-row .nr-tag { display: none; }
}

/* ---------------- 移动端优化（2026-09-12） ---------------- */
.about-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 44px; align-items: center; }
.two-col-c { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.quad-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stats-band.stats-3 { grid-template-columns: repeat(3, 1fr); }
.steps.steps-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }

@media (max-width: 820px) {
  .about-grid, .two-col-c { grid-template-columns: 1fr; gap: 30px; }
  .mnav { max-height: calc(100vh - 118px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .topbar .tb-r span { display: none; }
  .topbar .tb-r { gap: 13px; }
  input, select, textarea { font-size: 16px; }
  .tbl { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
  .art-nav { flex-direction: column; gap: 10px; }
  .art-nav > div { text-align: left !important; }
}
@media (max-width: 640px) {
  .grid.g2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .stats-band.stats-3 { grid-template-columns: 1fr; }
  .stats-band.stats-3 .stat-card { padding: 16px 18px; }
  .wrap { padding: 0 16px; }
  .hero h1 { font-size: 25px; }
  .sec { padding: 38px 0; }
  .card .cb { padding: 16px; }
  .cta-band { padding: 26px 20px; }
  .cta-band h2 { font-size: 19px; }
  .page-banner { padding: 28px 0 24px; }
  .page-banner h1 { font-size: 21px; }
  .exp-card { padding: 18px; }
  .svc-card { padding: 18px 12px; }
  .sec-head h2 { font-size: 20px; }
}


/* ================= 考试培训 / 证书查询（公开） ================= */
.pill { display: inline-block; font-size: 12px; padding: 2px 10px; border-radius: 20px; line-height: 1.7; }
.pill.ok { background: #E3F6EC; color: #0B7A48; }
.pill.warn { background: #FFF4E0; color: #B7791F; }
.pill.info { background: #E4F1FB; color: #1E6FA8; }
.pill.bad { background: #FDECEA; color: #B03A2E; }
.pill.gray { background: #EEF2F1; color: #6B7A76; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow); padding: 24px; }
.form-card h3 { font-size: 16.5px; font-weight: 600; color: var(--ink); }
.form-card .fld { margin-bottom: 14px; }
.form-card .fld input[type=text], .form-card .fld input[type=tel] { width: 100%; padding: 11px 14px;
  border: 1px solid #C9DBD6; border-radius: 8px; font-size: 14.5px; font-family: inherit; }
.form-card .fld input:focus { outline: none; border-color: var(--green); }
.form-card .fld label i { color: #E05252; font-style: normal; }

.train-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow); padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; transition: .2s; }
.train-card:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); }
.tc-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.train-card h3 { font-size: 17px; line-height: 1.5; font-weight: 600; }
.train-card h3 a { color: var(--ink); }
.train-card h3 a:hover { color: var(--green); }
.tc-sum { color: var(--muted); font-size: 13.5px; line-height: 1.8; }
.tc-info { display: flex; gap: 14px; flex-wrap: wrap; color: #5A6E69; font-size: 13px; }
.tc-foot { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 10px;
  border-top: 1px dashed var(--line); flex-wrap: wrap; }
.tc-count { color: var(--muted); font-size: 12.5px; }
.tc-foot .btn { margin-left: auto; }

.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow); padding: 24px; }
.ic-title { font-size: 16.5px; font-weight: 600; padding-bottom: 12px; border-bottom: 2px solid var(--green-l); margin-bottom: 14px; }
.ic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 22px; }
.ic-grid > div { display: flex; gap: 10px; font-size: 14px; }
.ic-grid .k { color: var(--muted); min-width: 70px; }
.ic-grid .v { color: var(--ink); font-weight: 500; }

.exam-q { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
  padding: 20px 24px; margin-bottom: 16px; }
.eq-title { font-size: 15px; line-height: 1.7; font-weight: 500; color: var(--ink); }
.eq-score { color: var(--muted); font-weight: 400; font-size: 13px; }
.eq-opts { margin-top: 12px; display: flex; flex-direction: column; gap: 9px; }
.eq-opt { display: flex; align-items: flex-start; gap: 9px; padding: 10px 14px; border: 1px solid var(--line);
  border-radius: 9px; font-size: 14px; cursor: pointer; transition: .15s; line-height: 1.6; }
.eq-opt:hover { border-color: var(--green); background: #F6FBF9; }
.eq-opt input { margin-top: 3px; }
.eq-opt input:checked + b { color: var(--green); }

.cq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 22px; }
.cq-grid > div { display: flex; gap: 10px; font-size: 14px; }
.cq-grid .k { color: var(--muted); min-width: 84px; }
.cq-grid .v { color: var(--ink); font-weight: 500; }

@media (max-width: 640px) {
  .ic-grid, .cq-grid { grid-template-columns: 1fr; }
}

/* ===== 年度活动日历 ===== */
.cal-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.cal-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); }
.cal-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #E9F5F1; }
.cal-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cal-month { position: absolute; left: 14px; top: 14px; background: rgba(10, 63, 54, .82); color: #EAFBF5;
  font-size: 13px; font-weight: 600; padding: 4px 13px; border-radius: 999px; letter-spacing: .5px; }
.cal-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 9px; }
.cal-body h3 { font-size: 16.5px; color: var(--ink); line-height: 1.45; margin: 0; }
.cal-body p { font-size: 13.8px; color: #4A626C; line-height: 1.75; margin: 0; }
.cal-points { margin: 2px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.cal-points li { font-size: 12.5px; color: var(--green); background: var(--green-l); border-radius: 6px;
  padding: 3px 10px; }
.cal-note { margin-top: 24px; text-align: center; font-size: 13px; color: #7E949C; background: #F4F8F7;
  border: 1px dashed #CBE3DD; border-radius: 10px; padding: 10px 16px; }

/* ===== AI应用中心 ===== */
.ai-wrap { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.ai-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px;
  background: linear-gradient(135deg, #0E7A63, #12A88A); color: #fff; }
.ai-ava { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center; font-size: 22px; }
.ai-head b { display: block; font-size: 16px; }
.ai-head span { font-size: 12.5px; opacity: .88; }
.ai-msgs { height: 480px; overflow-y: auto; padding: 20px; background: #F7FAF9; display: flex;
  flex-direction: column; gap: 14px; }
.ai-msg { display: flex; }
.ai-msg.user { justify-content: flex-end; }
.ai-msg .bubble { max-width: 82%; padding: 11px 15px; border-radius: 12px; font-size: 14px;
  line-height: 1.8; word-break: break-word; }
.ai-msg.bot .bubble { background: #fff; border: 1px solid var(--line); border-top-left-radius: 4px; }
.ai-msg.user .bubble { background: var(--green); color: #fff; border-top-right-radius: 4px; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 4px; }
.ai-chips button { border: 1px solid #BFE3DA; background: #fff; color: var(--green-d);
  font-size: 13px; padding: 7px 14px; border-radius: 999px; cursor: pointer; transition: all .15s; }
.ai-chips button:hover { background: var(--green-l); }
.ai-input { display: flex; gap: 10px; padding: 14px 16px; border-top: 1px solid var(--line); background: #fff; }
.ai-input textarea { flex: 1; resize: none; border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 14px; font-size: 14.5px; font-family: inherit; height: 46px; line-height: 1.5; }
.ai-input textarea:focus { outline: none; border-color: var(--green); }
.ai-input .btn { height: 46px; padding: 0 26px; }
.ai-tip { text-align: center; font-size: 12px; color: #8FA5AE; padding: 0 16px 14px; background: #fff; }
.ai-dots { letter-spacing: 2px; color: #9FB6BF; }
.topbar .tb-ai { color: #7FF0D4; font-weight: 600; }
.topbar .tb-ai:hover { color: #fff; }
@media (max-width: 640px) { .ai-msgs { height: 420px; } .ai-msg .bubble { max-width: 92%; } }

/* ===== AI应用中心：左侧栏目 ===== */
.ai-shell { max-width: 1080px; margin: 0 auto; display: flex; gap: 18px; align-items: flex-start; }
.ai-side { width: 240px; flex: 0 0 240px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 10px; box-shadow: var(--shadow); }
.ai-nav { display: flex; gap: 10px; align-items: flex-start; width: 100%; text-align: left;
  border: 0; background: transparent; padding: 12px; border-radius: 10px; cursor: pointer;
  transition: background .15s; font-family: inherit; }
.ai-nav:hover { background: #F0F6F4; }
.ai-nav.on { background: var(--green-l); }
.ai-nav .ic { font-size: 18px; margin-top: 1px; }
.ai-nav .tx b { display: block; font-size: 14px; color: var(--ink); }
.ai-nav .tx i { font-style: normal; font-size: 11.5px; color: #7E949C; line-height: 1.45; display: block; margin-top: 2px; }
.ai-side-tip { font-size: 11.5px; color: #A8BCC4; text-align: center; padding: 8px 0 4px; }
.ai-main { flex: 1; min-width: 0; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.ai-main .ai-msgs { height: 470px; }
@media (max-width: 820px) {
  .ai-shell { flex-direction: column; gap: 12px; }
  .ai-side { width: 100%; flex: none; display: flex; gap: 8px; padding: 8px; }
  .ai-side-tip { display: none; }
  .ai-nav { flex: 1 1 0; min-width: 0; padding: 9px 6px; justify-content: center; gap: 4px; }
  .ai-nav .ic { font-size: 14px; }
  .ai-nav .tx b { font-size: 12px; white-space: nowrap; }
  .ai-nav .tx i { display: none; }
  .ai-main .ai-msgs { height: 420px; }
}

/* ===== AI应用中心：历史记录 ===== */
.ai-hist { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; }
.hist-head { font-size: 12px; color: #7E949C; padding: 0 10px 8px; }
.hist-list { max-height: 300px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.hist-empty { font-size: 12px; color: #A8BCC4; text-align: center; padding: 12px 0; }
.hist-item { display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 8px;
  cursor: pointer; text-decoration: none; }
.hist-item:hover { background: #F0F6F4; }
.hi-ic { font-size: 13px; flex: 0 0 auto; }
.hi-tx { min-width: 0; }
.hi-tx b { display: block; font-size: 12.5px; color: #445A63; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 148px; }
.hi-tx i { font-style: normal; font-size: 11px; color: #A8BCC4; }
@media (max-width: 820px) { .ai-hist { display: none; } }

/* 入会申请：顾问单位提示 */
.type-hint { margin-top: 10px; font-size: 12.5px; color: #0E7A63; background: #EAFBF5;
  border: 1px solid #BFE3DA; border-radius: 8px; padding: 8px 12px; line-height: 1.6; }

/* 培训课程封面 */
.tc-cover { display: block; margin: -22px -24px 0; border-radius: var(--r) var(--r) 0 0; overflow: hidden; }
.tc-cover img { width: 100%; height: 175px; object-fit: cover; display: block; }

/* 公益项目卡片：封面图 */
.proj-card { padding: 0; }
.pc-cover { height: 178px; overflow: hidden; }
.pc-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.proj-card:hover .pc-cover img { transform: scale(1.045); }
.pc-body { padding: 26px 30px 28px; display: flex; flex-direction: column; justify-content: space-between; flex: 1; min-height: 0; }

/* ---------------- 关于协会：左侧次级菜单 ---------------- */
.about-layout { display: grid; grid-template-columns: 218px 1fr; gap: 34px; align-items: start; }
.about-side { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 6px;
  box-shadow: var(--shadow); position: sticky; top: 92px; }
.as-title { font-size: 16px; font-weight: 700; color: var(--ink); padding: 15px 16px 12px;
  border-bottom: 1px solid var(--line); letter-spacing: 2px; }
.as-nav { display: flex; flex-direction: column; padding: 8px 0; }
.as-nav a { padding: 12px 16px; font-size: 16px; color: #4A6070; border-radius: 8px; margin: 2px 6px; transition: .18s; }
.as-nav a:hover { background: #F0F8F5; color: #0E7A63; }
.as-nav a.on { background: #0E7A63; color: #fff; font-weight: 600; }
@media (max-width: 820px) {
  .about-layout { grid-template-columns: 1fr; gap: 22px; }
  .about-side { position: static; }
  .as-nav { flex-direction: row; flex-wrap: wrap; padding: 8px 4px; }
  .as-nav a { flex: 1; text-align: center; padding: 10px 6px; font-size: 14px; white-space: nowrap; margin: 2px; }
}
