/* ==========================================================
   黔东南州国际国内公共关系协会 · 官网样式
   设计取向：简约大气 —— 大留白、克制的用色、清晰的层级
   主色取「黔地青」（侗族靛染与黔山草木的中间色），稳重而不沉闷
   ========================================================== */

:root {
  /* 主色系 */
  --brand: #1d6b5f;
  --brand-dark: #14534a;
  --brand-light: #2f8a7b;
  --brand-soft: #eef5f3;
  --accent: #c8a063;
  --accent-soft: #fbf6ec;

  /* 中性色 */
  --ink: #1a1f1e;
  --ink-2: #46504e;
  --ink-3: #6b7775;
  --ink-4: #97a19f;
  --line: #e4e9e8;
  --line-soft: #eef1f0;
  --bg: #ffffff;
  --bg-soft: #f8faf9;
  --bg-warm: #faf8f4;

  /* 版式 */
  --maxw: 1200px;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 3px rgba(26, 31, 30, 0.06);
  --shadow: 0 4px 16px rgba(26, 31, 30, 0.08);
  --shadow-lg: 0 12px 40px rgba(26, 31, 30, 0.12);

  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶栏 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
  display: flex; align-items: center;
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  width: 100%; display: flex; align-items: center; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 8px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  color: #fff; display: grid; place-items: center;
  font-size: 18px; font-weight: 700; letter-spacing: -0.5px;
  box-shadow: var(--shadow-sm);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-size: 16px; font-weight: 600; letter-spacing: 0.3px; }
.brand-sub { font-size: 11px; color: var(--ink-4); letter-spacing: 0.6px; text-transform: uppercase; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 14px; border-radius: var(--radius);
  font-size: 15px; color: var(--ink-2); font-weight: 500;
  transition: all 0.18s ease; white-space: nowrap;
}
.nav a:hover { color: var(--brand); background: var(--brand-soft); }
.nav a.on { color: var(--brand); font-weight: 600; }
.nav a.on::after {
  content: ''; display: block; height: 2px; background: var(--brand);
  border-radius: 2px; margin-top: 3px;
}
.nav-cta {
  margin-left: 10px; padding: 9px 18px !important;
  background: var(--brand); color: #fff !important; font-weight: 500;
  border-radius: var(--radius);
}
.nav-cta:hover { background: var(--brand-dark) !important; }
.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none; margin-left: auto; width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------- 页脚 ---------- */
.site-footer {
  margin-top: 96px; background: var(--ink); color: rgba(255, 255, 255, 0.72);
  padding: 56px 0 28px; font-size: 14px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .brand-mark { margin-bottom: 14px; }
.footer-title { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.footer-brand p { line-height: 1.9; max-width: 320px; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { transition: color 0.18s; }
.footer-links a:hover { color: #fff; }
.footer-contact li { margin-bottom: 9px; display: flex; gap: 8px; }
.footer-contact .k { color: rgba(255,255,255,0.45); flex-shrink: 0; }
.footer-bottom {
  padding-top: 22px;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 4px 14px;
  font-size: 13px; color: rgba(255,255,255,0.45);
}
.footer-bottom > span { white-space: nowrap; }
/* 版本号前的那根竖线：作为文字的一部分，间距已由 gap 控制，这里只管字重 */
.footer-version {
  color: rgba(255,255,255,0.32);
  font-variant-numeric: tabular-nums;
  cursor: help;
}
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,0.75); text-decoration: underline; }

/* ---------- 页面头 ---------- */
.page-head {
  background: linear-gradient(180deg, var(--brand-soft) 0%, var(--bg) 100%);
  padding: 56px 0 40px; border-bottom: 1px solid var(--line-soft);
}
.page-head h1 { font-size: 34px; font-weight: 600; letter-spacing: 1px; }
.page-head .crumb { font-size: 13px; color: var(--ink-3); margin-bottom: 12px; }
.page-head .crumb a:hover { color: var(--brand); }
.page-head p { color: var(--ink-2); margin-top: 10px; max-width: 720px; }

/* ---------- 通用区块 ---------- */
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-alt { background: var(--bg-soft); }
.section-warm { background: var(--bg-warm); }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.sec-title { font-size: 26px; font-weight: 600; letter-spacing: 0.5px; display: flex; align-items: center; gap: 12px; }
.sec-title::before {
  content: ''; width: 4px; height: 26px; background: var(--brand); border-radius: 2px;
}
.sec-desc { color: var(--ink-3); font-size: 14px; margin-top: 8px; padding-left: 16px; }
.sec-more { color: var(--brand); font-size: 14px; font-weight: 500; white-space: nowrap; }
.sec-more:hover { text-decoration: underline; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: var(--radius); font-size: 15px;
  font-weight: 500; transition: all 0.2s; border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); box-shadow: var(--shadow); }
.btn-ghost { border-color: var(--line); color: var(--ink-2); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative; background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 55%, var(--brand-light) 100%);
  color: #fff; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 78% 22%, rgba(255,255,255,0.14), transparent 55%),
              radial-gradient(circle at 15% 85%, rgba(200,160,99,0.2), transparent 50%);
}
.hero::after {
  /* 底部的山形剪影，呼应黔山 */
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px;
  background: var(--bg);
  clip-path: polygon(0 100%, 0 62%, 12% 40%, 24% 58%, 38% 26%, 52% 52%, 66% 32%, 80% 56%, 92% 38%, 100% 60%, 100% 100%);
  opacity: 0.96;
}
.hero-inner {
  position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto;
  padding: 108px 24px 132px; text-align: center;
}
.hero-badge {
  display: inline-block; padding: 6px 16px; border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px; font-size: 13px; letter-spacing: 1.4px; margin-bottom: 24px;
  background: rgba(255,255,255,0.08);
}
.hero h1 { font-size: 46px; font-weight: 600; letter-spacing: 3px; line-height: 1.35; }
.hero .slogan { font-size: 19px; letter-spacing: 5px; margin-top: 16px; opacity: 0.9; }
.hero .intro {
  max-width: 660px; margin: 26px auto 0; font-size: 15.5px;
  line-height: 2; opacity: 0.84;
}
.hero-actions { margin-top: 38px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .btn-primary { background: #fff; color: var(--brand); }
.hero .btn-primary:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.2); }
.hero .btn-ghost { border-color: rgba(255,255,255,0.45); color: #fff; }
.hero .btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/**
 * 「申请入会」用金棕色实心按钮。
 *
 * 原来是 .btn-ghost（白框描边 + 白字），压在绿色渐变 Hero 上对比度不足，
 * 看着像次要操作 —— 但入会恰恰是协会官网最想促成的动作。
 * 换成实心的 --accent（#c8a063）后：在一片绿里是唯一暖色，视觉上自然跳出来，
 * 又不像促销红那样 disruptive，与「简约大气」的调性一致。
 */
.hero .btn-join {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(200, 160, 99, 0.35);
}
.hero .btn-join:hover {
  background: #b8904f;
  border-color: #b8904f;
  box-shadow: 0 8px 28px rgba(184, 144, 79, 0.45);
  transform: translateY(-1px);
}
/* 深色底上的金棕对比度不足（约 2.4:1），这里给文字加深 */
.hero .btn-join:focus-visible { outline: 3px solid rgba(255, 255, 255, 0.7); outline-offset: 2px; }

/* ---------- 数据条 ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; margin-top: -46px;
  position: relative; z-index: 5; box-shadow: var(--shadow);
}
.stat { background: #fff; padding: 28px 20px; text-align: center; }
.stat-num { font-size: 32px; font-weight: 600; color: var(--brand); line-height: 1.2; }
.stat-num small { font-size: 15px; font-weight: 500; margin-left: 2px; }
.stat-label { font-size: 13.5px; color: var(--ink-3); margin-top: 6px; letter-spacing: 0.5px; }

/* ---------- 卡片 ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: all 0.22s ease;
}
.card:hover { border-color: var(--brand-light); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-pad { padding: 24px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* 资讯卡 */
.post-card { display: flex; flex-direction: column; height: 100%; }
.post-cover { aspect-ratio: 16 / 9; background: var(--brand-soft); overflow: hidden; position: relative; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.card:hover .post-cover img { transform: scale(1.04); }
.post-cover.placeholder { display: grid; place-items: center; color: var(--brand-light); font-size: 34px; opacity: 0.4; }
.post-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.post-tag {
  display: inline-block; align-self: flex-start; padding: 3px 10px; border-radius: 3px;
  background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 500;
  margin-bottom: 11px;
}
.post-tag.hot { background: #fdf0ef; color: #b4463c; }
.post-title {
  font-size: 16.5px; font-weight: 600; line-height: 1.55; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card:hover .post-title { color: var(--brand); }
.post-sum {
  font-size: 13.5px; color: var(--ink-3); line-height: 1.7; margin-top: 9px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-meta {
  margin-top: auto; padding-top: 15px; display: flex; justify-content: space-between;
  align-items: center; font-size: 12.5px; color: var(--ink-4);
  border-top: 1px solid var(--line-soft); margin-top: 15px;
}

/* 活动卡 */
.act-card .act-cover { aspect-ratio: 16 / 10; }
.act-when {
  display: flex; align-items: center; gap: 12px; padding: 16px 20px;
  background: var(--bg-soft); border-bottom: 1px solid var(--line-soft);
}
.act-day {
  text-align: center; line-height: 1; padding-right: 12px; border-right: 1px solid var(--line);
}
.act-day .d { font-size: 26px; font-weight: 600; color: var(--brand); }
.act-day .m { font-size: 12px; color: var(--ink-3); margin-top: 3px; }
.act-when .txt { font-size: 13px; color: var(--ink-2); }
.act-when .txt b { display: block; color: var(--ink); font-weight: 500; margin-bottom: 2px; }

/* ---------- 列表页 ---------- */
.list-layout { display: grid; grid-template-columns: 1fr 300px; gap: 36px; align-items: start; }
.side-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.side-title {
  padding: 16px 20px; font-size: 15px; font-weight: 600;
  border-bottom: 1px solid var(--line-soft); display: flex; align-items: center; gap: 9px;
}
.side-title::before { content: ''; width: 3px; height: 15px; background: var(--brand); border-radius: 2px; }
.side-body { padding: 8px 20px 18px; }
.side-body li { padding: 8px 0; font-size: 14px; color: var(--ink-2); border-bottom: 1px dashed var(--line-soft); }
.side-body li:last-child { border-bottom: 0; }
.side-body a:hover { color: var(--brand); }

.news-list { display: flex; flex-direction: column; }
.news-row {
  display: flex; gap: 22px; padding: 24px 0; border-bottom: 1px solid var(--line-soft);
  transition: all 0.2s;
}
.news-row:first-child { padding-top: 0; }
.news-row:hover .news-title { color: var(--brand); }
.news-thumb { width: 168px; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--brand-soft); flex-shrink: 0; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.news-title { font-size: 18px; font-weight: 600; line-height: 1.5; transition: color 0.2s; }
.news-sum { font-size: 14px; color: var(--ink-3); line-height: 1.75; margin-top: 9px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { margin-top: auto; padding-top: 12px; display: flex; gap: 18px; font-size: 12.5px; color: var(--ink-4); }

/* ---------- 文章正文 ---------- */
.article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px 48px; }
.article-title { font-size: 29px; font-weight: 600; line-height: 1.5; text-align: center; }
.article-meta {
  display: flex; justify-content: center; gap: 20px; margin: 18px 0 0;
  padding-bottom: 22px; border-bottom: 1px solid var(--line-soft);
  font-size: 13px; color: var(--ink-4);
}
.article-cover { margin: 28px 0; border-radius: var(--radius); overflow: hidden; }
.article-body { font-size: 16px; line-height: 2.1; color: var(--ink-2); }
.article-body p { margin-bottom: 18px; }
.article-body h3 { font-size: 19px; color: var(--ink); margin: 30px 0 14px; font-weight: 600; }
.article-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line-soft); font-size: 14px; }
.article-nav a { color: var(--ink-2); max-width: 46%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.article-nav a:hover { color: var(--brand); }
.attach-list { margin-top: 30px; padding: 18px 22px; background: var(--bg-soft); border-radius: var(--radius); }
.attach-list h4 { font-size: 14px; margin-bottom: 11px; color: var(--ink-2); }
.attach-list a { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--brand); margin-right: 20px; margin-bottom: 7px; }

/* ---------- 会员 ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip {
  padding: 7px 17px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13.5px; color: var(--ink-2); background: #fff; cursor: pointer;
  transition: all 0.18s;
}
.chip:hover { border-color: var(--brand-light); color: var(--brand); }
.chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }

.mem-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 30px 22px; height: 100%; }
.mem-logo {
  width: 84px; height: 84px; border-radius: 50%; object-fit: cover;
  background: var(--brand-soft); display: grid; place-items: center;
  color: var(--brand); font-size: 28px; font-weight: 600; margin-bottom: 16px;
  border: 1px solid var(--line);
}
.mem-name { font-size: 16.5px; font-weight: 600; line-height: 1.5; }
.mem-role {
  display: inline-block; margin-top: 9px; padding: 3px 12px; border-radius: 999px;
  background: var(--accent-soft); color: #96702c; font-size: 12px; font-weight: 500;
}
.mem-org { font-size: 13px; color: var(--ink-3); margin-top: 10px; line-height: 1.7; }
.mem-meta { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-soft); width: 100%; font-size: 12.5px; color: var(--ink-4); }

.leader-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }

/* ---------- 关于 / 联系 ---------- */
.about-body { font-size: 16px; line-height: 2.15; color: var(--ink-2); }
.about-body h3 {
  font-size: 21px; color: var(--ink); font-weight: 600;
  margin: 40px 0 16px; padding-left: 14px; border-left: 3px solid var(--brand);
}
.about-body p { margin-bottom: 16px; }
.about-body ul { margin: 0 0 18px 20px; list-style: disc; }
.about-body li { margin-bottom: 9px; }

.org-chart { display: flex; flex-direction: column; gap: 12px; }
.org-row {
  display: flex; align-items: center; gap: 14px; padding: 15px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.org-row .t { font-size: 15px; font-weight: 600; color: var(--brand); min-width: 96px; }
.org-row .n { font-size: 14px; color: var(--ink-2); }

.info-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.info-table th, .info-table td { padding: 16px 24px; text-align: left; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.info-table th { width: 160px; background: var(--bg-soft); color: var(--ink-2); font-weight: 500; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.field label .req { color: #c0392b; margin-left: 3px; }
.field input, .field textarea, .field select {
  padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 15px; font-family: inherit; color: var(--ink); background: #fff;
  transition: all 0.18s; width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft);
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.8; }
.field .hint { font-size: 12.5px; color: var(--ink-4); }
.form-submit { margin-top: 26px; display: flex; align-items: center; gap: 18px; }

.notice {
  padding: 13px 18px; border-radius: var(--radius); font-size: 14px;
  display: flex; align-items: flex-start; gap: 9px; line-height: 1.7;
}
.notice-ok { background: #f0f8f2; color: #22703c; border: 1px solid #cfe8d6; }
.notice-err { background: #fdf1f0; color: #a33c32; border: 1px solid #f2d4d1; }
.notice-info { background: var(--brand-soft); color: var(--brand-dark); border: 1px solid #d5e6e2; }

/* ---------- 分页 ---------- */
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 44px; }
.pager a, .pager span {
  min-width: 38px; height: 38px; padding: 0 12px; border: 1px solid var(--line);
  border-radius: var(--radius); display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--ink-2); background: #fff;
}
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager .on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 500; }
.pager .off { color: var(--ink-4); background: var(--bg-soft); cursor: not-allowed; }
.pager .gap { border: 0; background: transparent; color: var(--ink-4); min-width: 24px; padding: 0; }

/* ---------- 空态 ---------- */
.empty { text-align: center; padding: 76px 20px; color: var(--ink-4); }
.empty-icon { font-size: 46px; opacity: 0.35; margin-bottom: 14px; }
.empty p { font-size: 15px; }
.empty a { display: inline-block; margin-top: 18px; color: var(--brand); }

/* ---------- CTA 条 ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff; border-radius: var(--radius-lg); padding: 44px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-band h3 { font-size: 23px; font-weight: 600; margin-bottom: 8px; }
.cta-band p { opacity: 0.85; font-size: 15px; max-width: 560px; }

/* CTA 条里的入会按钮同样用金棕，与 Hero 保持一致 */
.cta-band .btn-join {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}
.cta-band .btn-join:hover {
  background: #b8904f;
  border-color: #b8904f;
  transform: translateY(-1px);
}

/* 深色底上的反色按钮（白底深字），用于「联系我们」这类非入会动作 */
.btn-invert { background: #fff; color: var(--brand); }
.btn-invert:hover { background: #f2f7f6; transform: translateY(-1px); }

/* ============================================================
   会员服务（会员中心 / 注册申请）
   ------------------------------------------------------------
   独立于后台样式，但复用同一套变量与 .btn / .field / .notice。
   ============================================================ */
.portal-body { background: var(--bg-soft); }

.portal-header {
  background: var(--brand); color: #fff;
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 12px rgba(29, 107, 95, 0.18);
}
.portal-header .header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  height: var(--header-h); display: flex; align-items: center; gap: 16px;
}
.portal-header .brand-mark { background: rgba(255, 255, 255, 0.18); color: #fff; }
.portal-header .brand-name { color: #fff; }
.portal-header .brand-sub { color: rgba(255, 255, 255, 0.7); }
.portal-nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.portal-nav a {
  padding: 8px 14px; border-radius: var(--radius); font-size: 14px;
  color: rgba(255, 255, 255, 0.86); transition: background 0.18s;
}
.portal-nav a:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.portal-nav a.on { background: rgba(255, 255, 255, 0.2); color: #fff; font-weight: 500; }
.portal-nav .btn-ghost {
  background: transparent; border-color: rgba(255, 255, 255, 0.4); color: #fff;
}
.portal-nav .btn-ghost:hover { background: rgba(255, 255, 255, 0.15); color: #fff; border-color: #fff; }

.portal-main { padding: 40px 0 64px; }
.wrap-narrow { max-width: 860px; }

.portal-head { margin-bottom: 26px; }
.portal-head h1 { font-size: 27px; font-weight: 600; letter-spacing: 0.3px; }
.portal-sub { color: var(--ink-3); font-size: 14.5px; margin-top: 8px; line-height: 1.8; }

.portal-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 30px; margin-bottom: 22px; box-shadow: var(--shadow-sm);
}
.portal-card h2 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.portal-hint { margin-bottom: 20px; }

.portal-grid {
  display: grid; grid-template-columns: 1fr 340px; gap: 22px; align-items: start;
}
.portal-side .portal-card { margin-bottom: 18px; }

/* 表单：会员端用 .field-full 而不是后台的 .full */
.field-full { grid-column: 1 / -1; }
.field .lb { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.field .lb .req { color: #c0392b; margin-left: 3px; }
.field input:disabled {
  background: var(--bg-soft); color: var(--ink-3); cursor: not-allowed;
}
.form-actions {
  margin-top: 26px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.form-actions .small.ok { color: #22703c; }
.form-actions .small.err { color: #a33c32; }
.small.err { color: #a33c32; }
.small.ok { color: #22703c; }

.logo-row { display: flex; gap: 16px; align-items: flex-start; }
.logo-preview {
  width: 96px; height: 96px; flex-shrink: 0;
  border: 1px dashed var(--line); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: var(--bg-soft);
}
.logo-preview img { width: 100%; height: 100%; object-fit: contain; }

/* 状态清单 */
.status-list { display: flex; flex-direction: column; gap: 0; margin: 14px 0 4px; }
.status-list dt { font-size: 12.5px; color: var(--ink-4); margin-top: 14px; }
.status-list dd { font-size: 14.5px; color: var(--ink); margin: 2px 0 0; }

/* 变更记录 */
.rev-list { margin-top: 14px; max-height: 420px; overflow-y: auto; }
.rev-item {
  border-left: 3px solid var(--line); padding: 10px 0 10px 13px; margin-bottom: 12px;
  font-size: 13.5px;
}
.rev-pending { border-left-color: #c87a12; }
.rev-approved { border-left-color: #1e7a45; }
.rev-rejected { border-left-color: #c0392b; }
.rev-top { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.rev-status {
  font-size: 12px; padding: 1px 8px; border-radius: 3px;
  background: var(--bg-soft); color: var(--ink-2); font-weight: 500;
}
.rev-pending .rev-status { background: #fdf4e7; color: #a35a00; }
.rev-approved .rev-status { background: #f0f8f2; color: #22703c; }
.rev-rejected .rev-status { background: #fdf1f0; color: #a33c32; }
.rev-fields { color: var(--ink-2); }
.rev-note {
  margin-top: 6px; font-size: 12.5px; color: var(--ink-3);
  background: var(--bg-soft); padding: 7px 10px; border-radius: var(--radius);
}

/* 查询行 */
.query-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0; }
.query-row input {
  flex: 1 1 180px; padding: 10px 13px; border: 1px solid var(--line);
  border-radius: var(--radius); font-size: 14px; font-family: inherit;
}
.query-row input:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft);
}
.query-result { margin-top: 8px; }
.query-item { border-left: 3px solid var(--brand); padding-left: 13px; }

.portal-footer {
  background: var(--ink); color: rgba(255, 255, 255, 0.7); padding: 26px 0;
  font-size: 13px;
}
.portal-footer a { color: #fff; text-decoration: underline; }
.portal-footer .small { color: rgba(255, 255, 255, 0.5); margin-top: 6px; }

@media (max-width: 900px) {
  .portal-grid { grid-template-columns: 1fr; }
  .portal-card { padding: 22px 18px; }
  .portal-nav a { padding: 7px 10px; font-size: 13px; }
}

/* 入会材料包入口（联系页） */
.join-kit-entry {
  margin-top: 22px; padding: 20px 22px;
  border: 1px solid var(--line); border-left: 4px solid var(--brand);
  border-radius: var(--radius); background: var(--bg-soft);
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.join-kit-entry .jk-text { flex: 1 1 320px; }
.join-kit-entry .jk-text b { font-size: 15.5px; color: var(--ink); }
.join-kit-entry .jk-text p { margin: 6px 0 0; line-height: 1.75; }

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .grid-4, .leader-grid { grid-template-columns: repeat(3, 1fr); }
  .list-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 36px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); flex-direction: column;
    padding: 12px 24px 20px; gap: 2px; box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; }
  .nav-cta { margin: 8px 0 0; text-align: center; }
  .hero-inner { padding: 76px 24px 100px; }
  .hero h1 { font-size: 28px; letter-spacing: 1.5px; }
  .hero .slogan { font-size: 15px; letter-spacing: 3px; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: -30px; }
  .grid-3, .grid-4, .grid-2, .form-grid { grid-template-columns: 1fr; }
  .leader-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 52px 0; }
  .article { padding: 28px 22px; }
  .article-title { font-size: 22px; }
  .news-row { flex-direction: column; gap: 14px; }
  .news-thumb { width: 100%; }
  .cta-band { padding: 32px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .page-head { padding: 40px 0 30px; }
  .page-head h1 { font-size: 26px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 10px; }
}
