/* ============================================================
   鑫享+ 社群综合服务平台 · 前台样式
   风格：政务商务 · 简约庄重 · PC + 移动端自适应
   ============================================================ */

:root {
    /* 金色系主调：明亮中金 → 深棕金渐变（明度整体上调） */
    --c-primary: #a98236;
    --c-primary-2: #bf9a4d;
    --c-primary-3: #d0b067;
    --c-gold: #a87f34;
    --c-text: #2e2a22;
    --c-text-2: #635a48;
    --c-muted: #9c9482;
    --c-border: #ebe5d8;
    --c-border-2: #f5f0e6;
    --c-bg: #faf8f2;
    --c-white: #ffffff;
    --c-ok: #1f9c5a;
    --c-warn: #cf9740;
    --c-bad: #c0392b;
    --radius: 8px;
    --shadow-sm: 0 1px 3px rgba(110, 88, 42, .07);
    --shadow: 0 4px 18px rgba(110, 88, 42, .10);
    --shadow-lg: 0 10px 36px rgba(110, 88, 42, .14);
    --container: 1200px;
    /* 主渐变（中到深，整体提亮） */
    --c-grad: linear-gradient(120deg, #7d6028 0%, #a98236 50%, #c09a4d 100%);
    --c-grad-soft: linear-gradient(135deg, #a98236, #bf9a4d);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--c-text);
    background: var(--c-white);
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-primary-3); }
img { max-width: 100%; display: block; border: 0; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ---------------- 顶部信息条 ---------------- */
.top-strip {
    background: #5a4620;
    color: rgba(255, 255, 255, .8);
    font-size: 13px;
    line-height: 34px;
}
.top-strip-inner { display: flex; justify-content: space-between; align-items: center; }
.top-strip-links a { color: rgba(255, 255, 255, .8); margin-left: 18px; }
.top-strip-links a:hover { color: #fff; }

/* ---------------- 头部 ---------------- */
.site-header {
    background: var(--c-white);
    border-bottom: 1px solid var(--c-border-2);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .02);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
    width: 42px; height: 42px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--c-primary), var(--c-primary-2));
    color: #fff;
    font-size: 21px;
    font-weight: 700;
    border-radius: 9px;
    letter-spacing: 1px;
    flex: 0 0 auto;
}
.brand-logo { height: 42px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 20px; color: var(--c-primary); letter-spacing: 2px; font-weight: 700; }
.brand-text small { font-size: 11px; color: var(--c-muted); letter-spacing: 1.5px; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-item {
    position: relative;
    padding: 8px 16px;
    font-size: 15.5px;
    color: var(--c-text);
    border-radius: 4px;
    white-space: nowrap;
}
.nav-item:hover { color: var(--c-primary); background: #fcf8f1; }
.nav-item.active { color: var(--c-primary); font-weight: 600; }
.nav-item.active::after {
    content: "";
    position: absolute;
    left: 50%; bottom: 0;
    transform: translateX(-50%);
    width: 20px; height: 3px;
    background: var(--c-gold);
    border-radius: 2px;
}
.nav-member-mobile { display: none; }

.nav-toggle {
    display: none;
    width: 40px; height: 40px;
    border: 1px solid var(--c-border);
    background: #fff;
    border-radius: 6px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.nav-toggle span {
    display: block;
    width: 18px; height: 2px;
    background: var(--c-primary);
    transition: .25s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------- Flash 提示 ---------------- */
.flash { font-size: 14px; }
.flash .container { padding-top: 10px; padding-bottom: 10px; }
.flash-success { background: #eefaf3; color: #187a47; border-bottom: 1px solid #cdebd9; }
.flash-error { background: #fdf1f0; color: #b23a3a; border-bottom: 1px solid #f2cfca; }

/* ---------------- 主区域 ---------------- */
.site-main { min-height: 60vh; }

/* ---------------- 轮播 ---------------- */
.hero { position: relative; }
.banner {
    position: relative;
    height: 440px;
    overflow: hidden;
    background: #5a4620;
}
.banner-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity .8s ease;
    display: block;
}
.banner-slide.active { opacity: 1; }
.banner-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(78, 60, 24, .58) 0%, rgba(78, 60, 24, .16) 60%, transparent 100%);
}
.banner-caption {
    position: absolute;
    left: 50%; bottom: 60px;
    transform: translateX(-50%);
    width: 100%; max-width: var(--container);
    padding: 0 20px;
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 2px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .4);
}
.banner-dots {
    position: absolute;
    left: 50%; bottom: 24px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}
.banner-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .45);
    padding: 0;
    transition: .25s;
}
.banner-dot.active { background: var(--c-gold); width: 26px; border-radius: 5px; }

/* 无轮播时的静态头图 */
.hero-plain {
    background: linear-gradient(120deg, #7d6028 0%, #a98236 50%, #c09a4d 100%);
    padding: 84px 0;
    position: relative;
    overflow: hidden;
}
.hero-plain::after {
    content: "";
    position: absolute;
    right: -80px; top: -80px;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 97, .22), transparent 65%);
}
.hero-inner { position: relative; z-index: 2; }
.hero-inner h1 {
    color: #fff;
    font-size: 38px;
    letter-spacing: 4px;
    font-weight: 600;
    margin-bottom: 16px;
}
.hero-inner p {
    color: rgba(255, 255, 255, .78);
    font-size: 16px;
    max-width: 720px;
    line-height: 1.9;
}
.hero-actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------------- 按钮 ---------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 26px;
    font-size: 15px;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: .22s;
    line-height: 1.4;
}
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-2); color: #fff; box-shadow: 0 6px 18px rgba(110, 88, 42, .22); }
.btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-outline { border-color: var(--c-primary); color: var(--c-primary); background: #fff; }
.btn-outline:hover { background: var(--c-primary); color: #fff; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; }

/* ---------------- 快捷入口 ---------------- */
.quick-entry { background: var(--c-white); border-bottom: 1px solid var(--c-border-2); }
.quick-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}
.quick-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 16px;
    border-right: 1px solid var(--c-border-2);
    transition: .25s;
}
.quick-card:last-child { border-right: none; }
.quick-card:hover { background: #fdfbf5; transform: translateY(-2px); }
.quick-badge {
    width: 54px; height: 54px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: #fbf7ec;
    color: var(--c-primary);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    transition: .25s;
}
.quick-card:hover .quick-badge { background: var(--c-primary); color: #fff; }
.quick-card strong { font-size: 16px; color: var(--c-text); margin-bottom: 4px; letter-spacing: 1px; }
.quick-card small { font-size: 12.5px; color: var(--c-muted); line-height: 1.6; }

/* ---------------- 区块通用 ---------------- */
.section { padding: 56px 0; }
.section-gray { background: var(--c-bg); }
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
}
.section-title { display: flex; align-items: center; gap: 10px; }
.section-title i {
    width: 4px; height: 22px;
    background: var(--c-gold);
    border-radius: 2px;
    display: inline-block;
}
.section-title h2 {
    font-size: 24px;
    color: var(--c-primary);
    letter-spacing: 2px;
    font-weight: 600;
}
.section-more { font-size: 14px; color: var(--c-muted); }
.section-more:hover { color: var(--c-primary); }

/* ---------------- 资讯区 ---------------- */
.news-layout { display: grid; grid-template-columns: 1fr 340px; gap: 34px; }
.news-main { display: flex; flex-direction: column; gap: 0; }
.news-row {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--c-border-2);
}
.news-row:first-child { padding-top: 0; }
.news-row.featured { flex-direction: column; gap: 14px; padding-bottom: 24px; }
.news-thumb {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 260px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #f6efe0, #fbf7ec);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.news-thumb em {
    font-style: normal;
    font-size: 54px;
    color: rgba(110, 88, 42, .18);
    font-weight: 700;
}
.news-body { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.news-title { font-size: 16.5px; color: var(--c-text); line-height: 1.55; transition: color .2s; }
.news-row.featured .news-title { font-size: 21px; letter-spacing: .5px; }
.news-row:hover .news-title { color: var(--c-primary); }
.news-desc { font-size: 14px; color: var(--c-text-2); line-height: 1.75; }
.news-meta { display: flex; gap: 16px; font-size: 12.5px; color: var(--c-muted); margin-top: 2px; }
.news-meta em, .news-meta i { font-style: normal; }

.news-side { display: flex; flex-direction: column; gap: 20px; }
.side-card {
    background: var(--c-white);
    border: 1px solid var(--c-border-2);
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: var(--shadow-sm);
}
.side-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--c-border-2);
    margin-bottom: 12px;
}
.side-head h3 { font-size: 16px; color: var(--c-primary); letter-spacing: 1px; font-weight: 600; }
.side-head a { font-size: 12.5px; color: var(--c-muted); }
.side-list li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--c-border-2);
    font-size: 13.5px;
}
.side-list li:last-child { border-bottom: none; }
.side-list li a { flex: 1; color: var(--c-text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-list li a:hover { color: var(--c-primary); }
.side-list li span { color: var(--c-muted); font-size: 12px; white-space: nowrap; }

.expert-mini-list { display: flex; flex-direction: column; gap: 4px; }
.expert-mini { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.avatar-sm {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: #fbf7ec center/cover no-repeat;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--c-primary);
    font-weight: 600;
    flex: 0 0 auto;
}
.expert-mini-body { display: flex; flex-direction: column; line-height: 1.4; min-width: 0; }
.expert-mini-body strong { font-size: 14px; }
.expert-mini-body small { font-size: 12px; color: var(--c-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------- 活动 ---------------- */
.activity-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.activity-card {
    display: flex;
    gap: 18px;
    background: var(--c-white);
    border: 1px solid var(--c-border-2);
    border-radius: var(--radius);
    padding: 20px;
    transition: .25s;
}
.activity-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #e2d7bd; }
.activity-date {
    flex: 0 0 72px;
    height: 78px;
    border-radius: 8px;
    background: #fbf7ec;
    color: var(--c-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
}
.activity-date strong { font-size: 26px; font-weight: 700; }
.activity-date small { font-size: 11.5px; color: var(--c-muted); margin-top: 2px; }
.activity-date.past { background: #f2f4f7; color: var(--c-muted); }
.activity-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.activity-tagline:empty { display: none; }
.activity-title { font-size: 16.5px; line-height: 1.5; }
.activity-card:hover .activity-title { color: var(--c-primary); }
.activity-line { font-size: 13px; color: var(--c-muted); }
.activity-desc { font-size: 13.5px; color: var(--c-text-2); line-height: 1.7; }

/* ---------------- 主体卡片 ---------------- */
.subject-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.subject-grid-lg { grid-template-columns: repeat(3, 1fr); }
.subject-card {
    display: flex;
    gap: 14px;
    background: var(--c-white);
    border: 1px solid var(--c-border-2);
    border-radius: var(--radius);
    padding: 20px;
    transition: .25s;
}
.subject-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #e2d7bd; }
.subject-logo {
    flex: 0 0 56px;
    width: 56px; height: 56px;
    border-radius: 10px;
    background: #fbf7ec center/cover no-repeat;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--c-primary);
    font-size: 22px;
    font-weight: 700;
}
.subject-logo.lg { flex: 0 0 72px; width: 72px; height: 72px; font-size: 28px; }
.subject-info { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.subject-info strong { font-size: 15.5px; line-height: 1.4; }
.subject-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.subject-desc { font-size: 13px; color: var(--c-text-2); line-height: 1.65; }

.tag {
    display: inline-block;
    font-style: normal;
    font-size: 12px;
    padding: 1px 8px;
    border-radius: 3px;
    background: #f4efe4;
    color: var(--c-text-2);
    line-height: 1.7;
    white-space: nowrap;
}
.tag-blue { background: #a98236; color: #ffffff; }
.tag-gold { background: #faf2df; color: #a98236; }
.tag-red { background: #fdeceb; color: var(--c-bad); }

/* ---------------- 页面头部 ---------------- */
.page-head {
    background: linear-gradient(120deg, #7d6028 0%, #a98236 55%, #c09a4d 100%);
    padding: 44px 0 36px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.page-head::after {
    content: "";
    position: absolute;
    right: -60px; top: -60px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 97, .2), transparent 65%);
}
.page-head h1 { font-size: 30px; letter-spacing: 3px; font-weight: 600; margin-bottom: 8px; }
.page-head-sub { font-size: 14px; color: rgba(255, 255, 255, .68); }
.breadcrumb { font-size: 13px; color: var(--c-muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.page-head .breadcrumb { color: rgba(255, 255, 255, .6); margin-top: 16px; }
.page-head .breadcrumb a { color: rgba(255, 255, 255, .8); }
.breadcrumb span { color: #cbc3b0; }
.breadcrumb em { font-style: normal; color: var(--c-muted); }
.breadcrumb.bar { padding: 20px 0 4px; }

.page-body { padding: 34px 20px 60px; }

/* ---------------- 筛选 ---------------- */
.filter-bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 18px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--c-border-2);
    flex-wrap: wrap;
}
.filter-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    padding: 6px 16px;
    border-radius: 20px;
    background: #fbf8f0;
    color: var(--c-text-2);
    font-size: 13.5px;
    transition: .2s;
}
.chip:hover { background: #e7eef7; color: var(--c-primary); }
.chip.active { background: var(--c-primary); color: #fff; }

.filter-panel {
    background: var(--c-bg);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 24px;
}
.filter-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--c-border);
}
.filter-row:last-child { border-bottom: none; }
.filter-label {
    flex: 0 0 70px;
    font-size: 13.5px;
    color: var(--c-muted);
    line-height: 30px;
}
.filter-panel .search-box { margin-top: 12px; }

.search-box { display: flex; gap: 0; }
.search-box input {
    width: 240px;
    padding: 8px 14px;
    border: 1px solid var(--c-border);
    border-right: none;
    border-radius: 6px 0 0 6px;
    outline: none;
    font-size: 14px;
    background: #fff;
}
.search-box input:focus { border-color: var(--c-primary-3); }
.search-box button {
    padding: 8px 20px;
    background: var(--c-primary);
    color: #fff;
    border: 1px solid var(--c-primary);
    border-radius: 0 6px 6px 0;
    font-size: 14px;
}
.search-box button:hover { background: var(--c-primary-2); }

/* ---------------- 文章列表 ---------------- */
.news-list { display: flex; flex-direction: column; }
.article-item {
    display: flex;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--c-border-2);
}
.article-item:hover { background: #fcfaf4; }
.article-thumb {
    flex: 0 0 200px;
    width: 200px; height: 126px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #f6efe0, #fbf7ec) center/cover no-repeat;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.article-thumb em { font-style: normal; font-size: 42px; color: rgba(110, 88, 42, .16); font-weight: 700; }
.article-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1; }
.article-title { font-size: 17.5px; line-height: 1.55; }
.article-item:hover .article-title { color: var(--c-primary); }
.article-desc { font-size: 14px; color: var(--c-text-2); line-height: 1.75; }
.article-meta { display: flex; gap: 18px; font-size: 12.5px; color: var(--c-muted); }
.article-meta em, .article-meta i { font-style: normal; }

/* 主体列表（list 模式） */
.subject-list { display: flex; flex-direction: column; gap: 14px; }
.subject-row {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--c-white);
    border: 1px solid var(--c-border-2);
    border-radius: var(--radius);
    padding: 18px 22px;
    transition: .22s;
}
.subject-row:hover { box-shadow: var(--shadow); border-color: #e2d7bd; }
.subject-row-body { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.subject-row-body strong { font-size: 16.5px; }
.subject-row-arrow { font-size: 24px; color: var(--c-muted); }

/* 专家 */
.expert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.expert-card {
    background: var(--c-white);
    border: 1px solid var(--c-border-2);
    border-radius: var(--radius);
    padding: 26px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    transition: .25s;
}
.expert-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #e2d7bd; }
.expert-avatar {
    width: 84px; height: 84px;
    border-radius: 50%;
    background: #fbf7ec center/cover no-repeat;
    display: flex; align-items: center; justify-content: center;
    color: var(--c-primary);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    border: 3px solid #fcf8f1;
}
.expert-name { font-size: 17px; font-weight: 600; }
.expert-title { font-size: 13px; color: var(--c-primary-2); }
.expert-org { font-size: 12.5px; color: var(--c-muted); }
.expert-field { font-size: 13px; color: var(--c-text-2); }
.expert-intro { font-size: 12.5px; color: var(--c-muted); line-height: 1.65; }

/* 政策 */
.policy-list { display: flex; flex-direction: column; }
.policy-item {
    display: flex;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--c-border-2);
}
.policy-date {
    flex: 0 0 84px;
    height: 84px;
    border-radius: var(--radius);
    background: #fbf8f0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    line-height: 1.1;
    color: var(--c-primary);
}
.policy-date strong { font-size: 28px; font-weight: 700; }
.policy-date small { font-size: 11.5px; color: var(--c-muted); }
.policy-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.policy-title { font-size: 17px; line-height: 1.55; }
.policy-item:hover .policy-title { color: var(--c-primary); }
.policy-desc { font-size: 14px; color: var(--c-text-2); line-height: 1.75; }
.policy-meta { display: flex; gap: 18px; font-size: 12.5px; color: var(--c-muted); flex-wrap: wrap; }
.policy-meta i { font-style: normal; }

/* ---------------- 详情页 ---------------- */
.detail-wrap { padding: 0 20px 60px; }
.detail-article {
    background: var(--c-white);
    border: 1px solid var(--c-border-2);
    border-radius: var(--radius);
    padding: 36px 40px;
    box-shadow: var(--shadow-sm);
}
.detail-article h1 {
    font-size: 28px;
    line-height: 1.5;
    color: var(--c-primary);
    letter-spacing: .5px;
    margin-bottom: 18px;
    font-weight: 600;
}
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
    color: var(--c-muted);
    padding-bottom: 20px;
    border-bottom: 1px solid var(--c-border-2);
    margin-bottom: 26px;
}
.detail-cover { margin-bottom: 26px; border-radius: var(--radius); overflow: hidden; }
.detail-summary {
    background: #fdfbf5;
    border-left: 3px solid var(--c-primary);
    padding: 14px 18px;
    font-size: 14.5px;
    color: var(--c-text-2);
    line-height: 1.8;
    border-radius: 0 6px 6px 0;
    margin-bottom: 24px;
}
.rich-content { font-size: 16px; line-height: 2; color: #3d372b; word-break: break-word; }
.rich-content p { margin-bottom: 16px; }
.rich-content img { border-radius: 6px; margin: 12px 0; }
.rich-content h1, .rich-content h2, .rich-content h3 { margin: 22px 0 12px; color: var(--c-primary); }
.rich-content ul, .rich-content ol { padding-left: 24px; margin-bottom: 16px; }
.rich-content ul li { list-style: disc; }
.rich-content ol li { list-style: decimal; }
.rich-content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.rich-content th, .rich-content td { border: 1px solid var(--c-border); padding: 8px 12px; }
.rich-content a { color: var(--c-primary-3); text-decoration: underline; }

.detail-attach { margin-top: 30px; padding-top: 22px; border-top: 1px dashed var(--c-border); }
.detail-attach h4 { font-size: 15px; color: var(--c-primary); margin-bottom: 12px; }
.attach-list { display: flex; flex-direction: column; gap: 8px; }
.attach-list li a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: #fdfbf5;
    border: 1px solid var(--c-border-2);
    border-radius: 6px;
    font-size: 13.5px;
    color: var(--c-text-2);
}
.attach-list li a:hover { border-color: var(--c-primary-3); color: var(--c-primary); }
.attach-ext {
    background: var(--c-primary);
    color: #fff;
    font-size: 10.5px;
    padding: 2px 7px;
    border-radius: 3px;
    letter-spacing: .5px;
}

/* 主体 / 专家 详情头部 */
.subject-hero, .expert-hero {
    display: flex;
    gap: 24px;
    background: linear-gradient(120deg, #fdfbf5, #ffffff);
    border: 1px solid var(--c-border-2);
    border-radius: var(--radius);
    padding: 30px 34px;
    margin-bottom: 26px;
    align-items: flex-start;
}
.subject-hero-logo {
    flex: 0 0 96px;
    width: 96px; height: 96px;
    border-radius: 14px;
    background: #fbf7ec center/cover no-repeat;
    display: flex; align-items: center; justify-content: center;
    color: var(--c-primary);
    font-size: 38px;
    font-weight: 700;
}
.subject-hero-body, .expert-hero-body { flex: 1; min-width: 0; }
.subject-hero-body h1, .expert-hero-body h1 {
    font-size: 26px;
    color: var(--c-primary);
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.subject-hero-summary { font-size: 14px; color: var(--c-text-2); line-height: 1.8; margin: 10px 0; }
.subject-hero-meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; color: var(--c-muted); }
.expert-hero-avatar {
    flex: 0 0 110px;
    width: 110px; height: 110px;
    border-radius: 50%;
    background: #fbf7ec center/cover no-repeat;
    display: flex; align-items: center; justify-content: center;
    color: var(--c-primary);
    font-size: 42px;
    font-weight: 700;
}
.expert-hero-title { font-size: 15px; color: var(--c-text-2); margin-bottom: 10px; }

.detail-grid { display: grid; grid-template-columns: 1fr 300px; gap: 24px; }
.detail-main { display: flex; flex-direction: column; gap: 20px; }
.detail-section {
    background: var(--c-white);
    border: 1px solid var(--c-border-2);
    border-radius: var(--radius);
    padding: 26px 30px;
    box-shadow: var(--shadow-sm);
}
.detail-section-title {
    font-size: 17px;
    color: var(--c-primary);
    padding-left: 12px;
    border-left: 3px solid var(--c-gold);
    margin-bottom: 18px;
    letter-spacing: 1px;
}
.field-table { width: 100%; border-collapse: collapse; }
.field-table th {
    width: 170px;
    text-align: left;
    padding: 12px 16px;
    background: #fdfbf5;
    font-size: 14px;
    font-weight: 500;
    color: var(--c-text-2);
    border-bottom: 1px solid var(--c-border-2);
    vertical-align: top;
}
.field-table td {
    padding: 12px 16px;
    font-size: 14px;
    border-bottom: 1px solid var(--c-border-2);
    word-break: break-word;
}
.field-empty { color: var(--c-muted); }
.field-images { display: flex; flex-wrap: wrap; gap: 10px; }
.field-images img { width: 120px; height: 90px; object-fit: cover; border-radius: 6px; border: 1px solid var(--c-border-2); }

.info-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed var(--c-border-2);
    font-size: 13.5px;
}
.info-list li:last-child { border-bottom: none; }
.info-list li span { color: var(--c-muted); }
.info-list li em { font-style: normal; color: var(--c-text); }

.activity-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    background: #fdfbf5;
    border-radius: var(--radius);
    padding: 18px 22px;
    margin-bottom: 26px;
}
.activity-info-item { display: flex; flex-direction: column; gap: 4px; }
.ai-label { font-size: 12.5px; color: var(--c-muted); }
.ai-value { font-size: 14px; color: var(--c-text); font-weight: 500; }
.signup-hint {
    margin-top: 20px;
    padding: 12px 16px;
    background: #faf2df;
    color: #a98236;
    border-radius: 6px;
    font-size: 13.5px;
}

/* ---------------- 留言模块 ---------------- */
.msg-block {
    margin-top: 30px;
    background: var(--c-white);
    border: 1px solid var(--c-border-2);
    border-radius: var(--radius);
    padding: 28px 32px;
    box-shadow: var(--shadow-sm);
}
.msg-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--c-border-2);
    margin-bottom: 20px;
}
.msg-head h3 { font-size: 18px; color: var(--c-primary); letter-spacing: 1px; }
.msg-head span { font-size: 12.5px; color: var(--c-muted); }

.msg-list { display: flex; flex-direction: column; gap: 22px; margin-bottom: 24px; }
.msg-item {
    border: 1px solid var(--c-border-2);
    border-radius: var(--radius);
    padding: 16px 18px;
    background: #fdfbf6;
}
.msg-q, .msg-a { display: flex; gap: 12px; }
.msg-a { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--c-border); }
.msg-avatar {
    flex: 0 0 30px;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: #faf3e6;
    color: var(--c-primary-2);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    font-weight: 600;
}
.msg-avatar.a { background: #eefaf3; color: var(--c-ok); }
.msg-content { flex: 1; min-width: 0; }
.msg-content strong { font-size: 13.5px; color: var(--c-text-2); margin-right: 10px; }
.msg-content time { font-size: 12px; color: var(--c-muted); }
.msg-content p { font-size: 14px; color: var(--c-text); line-height: 1.8; margin-top: 6px; word-break: break-word; }
.msg-empty { font-size: 13.5px; color: var(--c-muted); margin-bottom: 20px; }

.msg-form { border-top: 1px solid var(--c-border-2); padding-top: 22px; }
.msg-form h4 { font-size: 15.5px; color: var(--c-primary); margin-bottom: 16px; }
.msg-as { font-size: 13.5px; color: var(--c-muted); margin-bottom: 14px; }

/* ---------------- 表单通用 ---------------- */
.form-row { display: flex; gap: 16px; margin-bottom: 14px; }
.form-row.two > label { flex: 1; }
label.full { display: block; margin-bottom: 14px; }
label span, .form-row label span { display: block; font-size: 13.5px; color: var(--c-text-2); margin-bottom: 6px; }
label span i { color: var(--c-bad); font-style: normal; margin-left: 2px; }
.msg-form input[type="text"],
.msg-form textarea,
.form-row input[type="text"],
.form-row input[type="password"],
.form-row input[type="date"],
.form-row input[type="datetime-local"],
.form-row input[type="number"],
.form-row textarea,
.form-row select,
.form-grid input[type="text"],
.form-grid input[type="password"],
.form-grid input[type="date"],
.form-grid input[type="datetime-local"],
.form-grid input[type="number"],
.form-grid textarea,
.form-grid select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--c-border);
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    background: #fff;
    transition: border-color .2s;
}
.msg-form input:focus, .msg-form textarea:focus,
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus {
    border-color: var(--c-primary-3);
    box-shadow: 0 0 0 3px rgba(140, 112, 58, .08);
}
.msg-form textarea { resize: vertical; }
.form-actions { margin-top: 18px; display: flex; align-items: center; gap: 14px; }
.form-note { font-size: 12.5px; color: var(--c-muted); }

.captcha-row { display: flex; align-items: flex-end; gap: 12px; }
.captcha-row label { flex: 1; }
.captcha-img {
    height: 42px;
    border-radius: 6px;
    border: 1px solid var(--c-border);
    cursor: pointer;
    background: #f4f7fb;
}

/* ---------------- 登录 / 注册 ---------------- */
.auth-wrap {
    padding: 60px 20px 80px;
    background: linear-gradient(160deg, #fbf7ec, #fcfaf4 60%);
    min-height: 62vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--c-white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 40px 40px 32px;
}
.auth-head { text-align: center; margin-bottom: 26px; }
.auth-head .brand-mark { width: 52px; height: 52px; font-size: 26px; margin-bottom: 14px; }
.auth-head h1 { font-size: 22px; color: var(--c-primary); letter-spacing: 2px; margin-bottom: 6px; }
.auth-head p { font-size: 13px; color: var(--c-muted); }
.auth-field { display: block; margin-bottom: 16px; }
.auth-field > span { display: block; font-size: 13.5px; color: var(--c-text-2); margin-bottom: 7px; }
.auth-field > span i { color: var(--c-bad); font-style: normal; }
.auth-field input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--c-border);
    border-radius: 6px;
    font-size: 14.5px;
    outline: none;
}
.auth-field input:focus { border-color: var(--c-primary-3); box-shadow: 0 0 0 3px rgba(140, 112, 58, .08); }
.captcha-row.inner { display: flex; gap: 10px; align-items: center; }
.captcha-row.inner input { flex: 1; }
.captcha-row.inner .captcha-img { height: 44px; flex: 0 0 128px; }
.auth-form .btn-block { margin-top: 22px; padding: 12px; font-size: 16px; letter-spacing: 4px; }
.auth-foot {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 13px;
    color: var(--c-muted);
}
.auth-foot a { color: var(--c-primary-2); }

/* ---------------- 会员中心 ---------------- */
.member-main { background: var(--c-bg); padding: 26px 0 60px; }
.member-wrap { display: grid; grid-template-columns: 232px 1fr; gap: 24px; align-items: start; }
.member-side {
    background: var(--c-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 96px;
}
.member-profile {
    padding: 26px 20px 22px;
    background: linear-gradient(135deg, #9a7434, #b8913f);
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.member-avatar {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18) center/cover no-repeat;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 6px;
    border: 2px solid rgba(255, 255, 255, .35);
}
.member-profile strong { font-size: 15.5px; text-shadow: 0 1px 3px rgba(60, 45, 15, .3); }
.member-profile small { font-size: 12px; color: rgba(255, 255, 255, .82); }
.member-menu { padding: 8px 0 12px; }
.member-menu-item {
    display: flex;
    align-items: center;
    padding: 11px 22px;
    font-size: 14.5px;
    color: var(--c-text-2);
    border-left: 3px solid transparent;
    transition: .2s;
}
.member-menu-item:hover { background: #fdfbf5; color: var(--c-primary); }
.member-menu-item.active {
    background: #fcf8f1;
    color: var(--c-primary);
    border-left-color: var(--c-gold);
    font-weight: 600;
}
.mm-ico { display: none; }

.member-body { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.panel-head { }
.panel-head h2 { font-size: 21px; color: var(--c-primary); letter-spacing: 1px; margin-bottom: 6px; }
.panel-head p { font-size: 13.5px; color: var(--c-muted); }
.panel {
    background: var(--c-white);
    border-radius: var(--radius);
    padding: 24px 26px;
    box-shadow: var(--shadow-sm);
}
.panel-narrow { max-width: 560px; }
.panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--c-border-2);
    margin-bottom: 16px;
}
.panel-title h3 { font-size: 16px; color: var(--c-primary); letter-spacing: .5px; }
.panel-title a { font-size: 13px; color: var(--c-muted); }
.panel-title .hint { font-size: 12px; color: var(--c-muted); }

.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card {
    background: var(--c-white);
    border-radius: var(--radius);
    padding: 20px 22px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--c-primary);
}
.stat-card.warn { border-left-color: var(--c-warn); }
.stat-card.ok { border-left-color: var(--c-ok); }
.stat-card.bad { border-left-color: var(--c-bad); }
.stat-num { display: block; font-size: 30px; font-weight: 700; color: var(--c-primary); line-height: 1.2; }
.stat-label { font-size: 13px; color: var(--c-muted); }

.member-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th {
    text-align: left;
    padding: 10px 12px;
    background: #fdfbf5;
    color: var(--c-text-2);
    font-weight: 500;
    border-bottom: 1px solid var(--c-border-2);
    white-space: nowrap;
}
.table td {
    padding: 11px 12px;
    border-bottom: 1px solid var(--c-border-2);
    vertical-align: middle;
}
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: #fcfaf4; }
.cell-title { max-width: 320px; }
.c-warn { color: var(--c-warn); }
.c-ok { color: var(--c-ok); }
.c-bad { color: var(--c-bad); }
.c-gray { color: var(--c-muted); }
.link { color: var(--c-primary-3); }

.badge {
    display: inline-block;
    font-style: normal;
    font-size: 12px;
    padding: 1px 9px;
    border-radius: 3px;
    line-height: 1.8;
    white-space: nowrap;
}
.badge.wait { background: #fbf3e2; color: #b8913f; }
.badge.pass { background: #eaf8f0; color: #1a7d4c; }
.badge.reject { background: #fdecea; color: #b23a3a; }
.badge.read { background: #f5f0e6; color: #6b6353; }

.empty {
    padding: 40px 0;
    text-align: center;
    color: var(--c-muted);
    font-size: 14px;
}
.empty.small { padding: 20px 0; font-size: 13px; }

.notice-list { display: flex; flex-direction: column; }
.notice-list li {
    padding: 12px 0;
    border-bottom: 1px dashed var(--c-border-2);
    display: flex;
    flex-direction: column;
    gap: 3px;
    position: relative;
}
.notice-list li:last-child { border-bottom: none; }
.notice-list li.unread strong::before {
    content: "";
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--c-bad);
    margin-right: 7px;
    vertical-align: middle;
}
.notice-list strong { font-size: 14px; font-weight: 500; }
.notice-list span { font-size: 13px; color: var(--c-text-2); }
.notice-list time { font-size: 12px; color: var(--c-muted); }
.notice-list-lg li { padding: 16px 0; }
.notice-head { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; }
.notice-list-lg p { font-size: 13.5px; color: var(--c-text-2); margin-top: 6px; line-height: 1.8; }
.dot-badge {
    display: inline-block;
    background: var(--c-bad);
    color: #fff;
    font-size: 11px;
    font-style: normal;
    padding: 0 6px;
    border-radius: 9px;
    margin-left: 8px;
    vertical-align: middle;
}

.mini-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px dashed var(--c-border-2);
    font-size: 14px;
}
.mini-list li:last-child { border-bottom: none; }

.quick-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quick-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: #fdfbf5;
    border: 1px solid var(--c-border-2);
    border-radius: 6px;
    font-size: 14px;
    color: var(--c-text-2);
}
.quick-links a:hover { border-color: var(--c-primary-3); color: var(--c-primary); }
.quick-links .count { font-size: 12px; color: var(--c-muted); }

/* 表单网格 */
.form-grid { display: flex; flex-direction: column; }
.form-grid .form-row.two { display: flex; gap: 18px; }
.form-grid .form-row.full { display: block; }
.form-grid .form-row > label { display: block; }
.form-grid .form-row { margin-bottom: 18px; }
.form-grid select { }

/* 头像 / 上传 */
.avatar-field > span { display: block; font-size: 13.5px; color: var(--c-text-2); margin-bottom: 10px; }
.avatar-picker { display: flex; align-items: center; gap: 18px; }
.avatar-preview {
    width: 76px; height: 76px;
    border-radius: 50%;
    background: #fbf7ec center/cover no-repeat;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px;
    color: var(--c-primary);
    font-weight: 600;
    flex: 0 0 auto;
}
.avatar-actions { display: flex; flex-direction: column; gap: 8px; }
.avatar-actions small { font-size: 12px; color: var(--c-muted); }

.upload-one { display: flex; flex-direction: column; gap: 8px; }
.upload-preview {
    width: 240px; height: 150px;
    border: 1px dashed var(--c-border);
    border-radius: 8px;
    background: #fbf7f0 center/cover no-repeat;
    display: flex; align-items: center; justify-content: center;
    color: var(--c-muted);
    font-size: 13px;
    cursor: pointer;
}
.upload-one small { font-size: 12px; color: var(--c-muted); }

/* 状态横幅 */
.status-banner {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 22px;
    font-size: 14px;
}
.status-banner p { margin-top: 6px; font-size: 13.5px; }
.status-ok { background: #eaf8f0; color: #187a47; }
.status-wait { background: #fbf3e2; color: #b8913f; }
.status-bad { background: #fdecea; color: #b23a3a; }
.status-none { background: #fbf8f0; color: var(--c-text-2); }
.tip-text { font-size: 14px; color: var(--c-text-2); line-height: 1.9; }

.inline-form { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.inline-form select {
    flex: 1;
    min-width: 240px;
    padding: 9px 12px;
    border: 1px solid var(--c-border);
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
}

/* 我的留言 */
.my-msg-list { display: flex; flex-direction: column; gap: 16px; }
.my-msg {
    border: 1px solid var(--c-border-2);
    border-radius: var(--radius);
    padding: 16px 20px;
    background: #fdfbf6;
}
.my-msg-head { display: flex; align-items: center; gap: 12px; }
.my-msg-head time { font-size: 12px; color: var(--c-muted); margin-left: auto; }
.my-msg-content { font-size: 14px; line-height: 1.8; margin-top: 10px; color: var(--c-text); }
.my-msg-reply {
    margin-top: 14px;
    padding: 12px 16px;
    background: #f2f8f4;
    border-radius: 6px;
    font-size: 13.5px;
    color: #2a5c40;
}
.my-msg-reply strong { display: block; margin-bottom: 4px; font-size: 13px; }
.my-msg-reply time { font-size: 11.5px; color: #7a9c86; }

/* 分页 */
.pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 34px 0 6px;
}
.pager-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--c-border);
    border-radius: 6px;
    font-size: 14px;
    color: var(--c-text-2);
    background: #fff;
}
.pager-btn:hover { border-color: var(--c-primary-3); color: var(--c-primary); }
.pager-btn.active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.pager-btn.disabled { color: #cbc3b0; background: #fbf7f0; }
.pager-omit { color: var(--c-muted); padding: 0 4px; }
.pager-total { font-size: 12.5px; color: var(--c-muted); margin-left: 10px; }

/* 404 */
.error-page {
    text-align: center;
    padding: 90px 20px 110px;
}
.error-code {
    font-size: 92px;
    font-weight: 700;
    color: #f0e9da;
    line-height: 1;
    letter-spacing: 6px;
}
.error-page h1 { font-size: 24px; color: var(--c-primary); margin: 10px 0 12px; }
.error-page p { color: var(--c-muted); font-size: 14px; margin-bottom: 26px; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: #5a4620; color: rgba(255, 255, 255, .76); margin-top: 0; }
.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 40px;
    padding: 46px 20px 36px;
}
.footer-logo { display: flex; gap: 14px; }
.footer-logo .brand-mark { background: rgba(255, 255, 255, .2); color: #fff; }
.footer-logo strong { display: block; color: #fff; font-size: 17px; letter-spacing: 1px; margin-bottom: 6px; }
.footer-logo p { font-size: 13px; line-height: 1.8; color: rgba(255, 255, 255, .68); }
.footer-contact { margin-top: 18px; display: flex; flex-direction: column; gap: 7px; font-size: 13px; }
.footer-contact span { display: inline-block; width: 40px; color: rgba(255, 255, 255, .58); }
.footer-nav h4 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: 1px; font-weight: 500; }
.footer-nav ul { display: flex; flex-direction: column; gap: 9px; }
.footer-nav a { font-size: 13.5px; color: rgba(255, 255, 255, .74); }
.footer-nav a:hover { color: #d8b665; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .14);
    font-size: 12.5px;
    color: rgba(255, 255, 255, .6);
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    padding-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}
.footer-bottom a { color: rgba(255, 255, 255, .68); }

/* ---------------- 内容投稿 ---------------- */
.submit-types { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.submit-type-card {
    border: 1px solid var(--c-border-2);
    border-radius: var(--radius);
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: .2s;
    background: #fdfbf6;
}
.submit-type-card:hover { border-color: var(--c-primary-3); box-shadow: var(--shadow); background: #fff; }
.stc-badge {
    width: 38px; height: 38px;
    border-radius: 9px;
    background: #fbf7ec;
    color: var(--c-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 4px;
}
.submit-type-card strong { font-size: 15.5px; color: var(--c-text); }
.submit-type-card small { font-size: 12.5px; color: var(--c-muted); line-height: 1.7; }
.submit-type-card em { font-style: normal; font-size: 12.5px; color: var(--c-primary-3); margin-top: 4px; }

.upload-line { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.upload-preview {
    width: 120px; height: 90px;
    border: 1px dashed var(--c-border);
    border-radius: 6px;
    background: #fbf7f0 center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-muted);
    font-size: 12.5px;
    cursor: pointer;
    text-align: center;
    padding: 6px;
    transition: .2s;
}
.upload-preview:hover { border-color: var(--c-primary-3); color: var(--c-primary); }
.upload-preview.wide { width: 200px; height: 112px; }
.upload-preview.round { width: 90px; height: 90px; border-radius: 50%; }
.upload-preview.file { width: 180px; height: 46px; }

.form-section-title {
    display: block;
    font-size: 15px;
    color: var(--c-primary);
    padding-left: 10px;
    border-left: 3px solid var(--c-gold);
    margin: 10px 0 2px;
    letter-spacing: .5px;
}
.check-grid-inline { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.check-inline { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--c-text-2); cursor: pointer; }
.check-inline input { width: 15px; height: 15px; accent-color: var(--c-primary); }

/* ============================================================
   响应式
   ============================================================ */

@media (max-width: 1080px) {
    .subject-grid { grid-template-columns: repeat(3, 1fr); }
    .expert-grid { grid-template-columns: repeat(3, 1fr); }
    .news-layout { grid-template-columns: 1fr 300px; }
}

@media (max-width: 900px) {
    .nav-toggle { display: flex; }
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 8px 16px 16px;
        gap: 0;
        border-bottom: 1px solid var(--c-border);
        box-shadow: 0 12px 26px rgba(110, 88, 42, .12);
        display: none;
    }
    .main-nav.open { display: flex; }
    .nav-item { padding: 12px 8px; border-bottom: 1px solid var(--c-border-2); border-radius: 0; }
    .nav-item.active::after { display: none; }
    .nav-member-mobile { display: block; }
    .header-inner { position: relative; height: 64px; }
    .brand-text strong { font-size: 17px; }
    .brand-text small { font-size: 10px; }

    .banner { height: 300px; }
    .banner-caption { font-size: 19px; bottom: 44px; }
    .hero-inner h1 { font-size: 26px; letter-spacing: 2px; }
    .hero-plain { padding: 56px 0; }

    .quick-grid { grid-template-columns: repeat(3, 1fr); }
    .quick-card { padding: 22px 10px; }
    .quick-card:nth-child(3) { border-right: none; }
    .quick-card { border-bottom: 1px solid var(--c-border-2); }

    .section { padding: 40px 0; }
    .section-title h2 { font-size: 20px; }

    .news-layout { grid-template-columns: 1fr; gap: 26px; }
    .news-side { flex-direction: row; flex-wrap: wrap; }
    .news-side .side-card { flex: 1 1 280px; }
    .news-thumb { height: 200px; }

    .activity-grid { grid-template-columns: 1fr; }
    .subject-grid, .subject-grid-lg { grid-template-columns: repeat(2, 1fr); }
    .expert-grid { grid-template-columns: repeat(2, 1fr); }

    .detail-grid { grid-template-columns: 1fr; }
    .detail-article { padding: 24px 22px; }
    .detail-article h1 { font-size: 22px; }
    .activity-info { grid-template-columns: 1fr; gap: 10px; }
    .subject-hero, .expert-hero { flex-direction: column; align-items: flex-start; padding: 24px 22px; gap: 18px; }
    .field-table th { width: 120px; }

    .member-wrap { grid-template-columns: 1fr; }
    .member-side { position: static; }
    .member-profile { flex-direction: row; text-align: left; gap: 14px; padding: 18px 20px; }
    .member-avatar { width: 52px; height: 52px; font-size: 22px; margin-bottom: 0; }
    .member-menu { display: flex; overflow-x: auto; padding: 8px; gap: 6px; -webkit-overflow-scrolling: touch; }
    .member-menu-item {
        flex: 0 0 auto;
        border: 1px solid var(--c-border-2);
        border-radius: 20px;
        padding: 7px 16px;
        font-size: 13.5px;
        border-left: 1px solid var(--c-border-2);
        white-space: nowrap;
    }
    .member-menu-item.active { border-left-color: var(--c-border-2); background: var(--c-primary); color: #fff; }
    .stat-cards { grid-template-columns: repeat(2, 1fr); }
    .member-grid { grid-template-columns: 1fr; }
    .form-grid .form-row.two { flex-direction: column; gap: 0; }

    .footer-top { grid-template-columns: 1fr; gap: 28px; padding: 36px 20px 26px; }
    .footer-bottom .container { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
    body { font-size: 14.5px; }
    .container { padding: 0 14px; }
    .top-strip { font-size: 11.5px; }
    .top-strip-text { display: none; }
    .top-strip-inner { justify-content: flex-end; }
    .top-strip-links a { margin-left: 14px; }

    .banner { height: 210px; }
    .banner-caption { font-size: 15px; bottom: 34px; letter-spacing: 1px; }
    .hero-plain { padding: 46px 0; }
    .hero-inner h1 { font-size: 21px; letter-spacing: 1px; line-height: 1.5; }
    .hero-inner p { font-size: 13.5px; }
    .hero-actions { margin-top: 20px; }
    .btn { padding: 9px 20px; font-size: 14px; }

    .quick-grid { grid-template-columns: repeat(2, 1fr); }
    .quick-card:nth-child(3) { border-right: 1px solid var(--c-border-2); }
    .quick-card:nth-child(even) { border-right: none; }
    .quick-badge { width: 46px; height: 46px; font-size: 19px; }
    .quick-card strong { font-size: 14.5px; }
    .quick-card small { font-size: 11.5px; }

    .section { padding: 32px 0; }
    .section-head { margin-bottom: 18px; }
    .section-title h2 { font-size: 18px; letter-spacing: 1px; }
    .section-more { font-size: 12.5px; }

    .news-row.featured { gap: 10px; padding-bottom: 18px; }
    .news-thumb { height: 170px; }
    .news-row.featured .news-title { font-size: 17px; }
    .news-title { font-size: 15px; }
    .news-desc { font-size: 13px; }
    .news-side { flex-direction: column; }

    .subject-grid, .subject-grid-lg { grid-template-columns: 1fr; }
    .expert-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .expert-card { padding: 18px 12px; }
    .expert-avatar { width: 64px; height: 64px; font-size: 24px; }
    .expert-name { font-size: 15px; }
    .expert-intro { display: none; }

    .page-head { padding: 30px 0 24px; }
    .page-head h1 { font-size: 22px; letter-spacing: 1.5px; }
    .page-head-sub { font-size: 12.5px; }
    .page-body { padding: 22px 14px 44px; }

    .filter-bar { flex-direction: column; gap: 12px; }
    .search-box { width: 100%; }
    .search-box input { width: 100%; }
    .filter-row { flex-direction: column; gap: 6px; }
    .filter-label { line-height: 1.6; }
    .chip { padding: 5px 13px; font-size: 12.5px; }
    .filter-panel { padding: 12px 14px; }

    .article-item { gap: 12px; padding: 16px 0; }
    .article-thumb { flex: 0 0 110px; width: 110px; height: 80px; }
    .article-thumb em { font-size: 28px; }
    .article-title { font-size: 15px; }
    .article-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; }
    .article-meta { font-size: 11.5px; gap: 12px; flex-wrap: wrap; }

    .subject-row { padding: 14px; gap: 12px; }
    .subject-logo.lg { flex: 0 0 56px; width: 56px; height: 56px; font-size: 22px; }
    .subject-row-body strong { font-size: 15px; }

    .policy-item { gap: 12px; padding: 16px 0; }
    .policy-date { flex: 0 0 62px; height: 62px; }
    .policy-date strong { font-size: 21px; }
    .policy-title { font-size: 15px; }
    .policy-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; }

    .detail-article { padding: 20px 16px; }
    .detail-article h1 { font-size: 19px; }
    .detail-meta { gap: 10px; font-size: 12px; }
    .rich-content { font-size: 15px; line-height: 1.9; }
    .detail-section { padding: 18px 16px; }
    .field-table th { width: 96px; padding: 9px 10px; font-size: 13px; }
    .field-table td { padding: 9px 10px; font-size: 13px; }
    .msg-block { padding: 20px 16px; }
    .msg-head h3 { font-size: 16px; }

    .auth-wrap { padding: 30px 14px 50px; }
    .auth-card { padding: 28px 22px 24px; }
    .auth-head h1 { font-size: 19px; }

    .member-main { padding: 16px 0 40px; }
    .panel { padding: 18px 16px; }
    .panel-head h2 { font-size: 18px; }
    .stat-cards { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .stat-card { padding: 14px 16px; }
    .stat-num { font-size: 24px; }
    .table { font-size: 12.5px; }
    .table th, .table td { padding: 8px 8px; }
    .quick-links { grid-template-columns: 1fr; }
    .upload-preview { width: 100%; height: 130px; }
    .pager { gap: 5px; padding-top: 22px; }
    .pager-btn { min-width: 32px; height: 32px; font-size: 13px; padding: 0 8px; }
    .pager-total { width: 100%; text-align: center; margin-left: 0; }
    .form-row.two { flex-direction: column; gap: 0; }
    .captcha-row.inner .captcha-img { flex: 0 0 108px; height: 40px; }
    .footer-top { gap: 22px; }
}
