/* ============================================================
   北京市供热协会官网 - 全面重设计样式表
   配色：主蓝 #1a4b8c  |  深蓝 #12346b  |  北京红 #c41e3a
   字体：微软雅黑系列
   ============================================================ */

:root {
    --blue-deep:    #12346b;   /* 深蓝（顶栏/标题） */
    --blue-main:    #1a4b8c;   /* 主蓝 */
    --blue-light:   #2d6cb5;   /* 浅蓝 */
    --blue-pale:    #ece8e0;   /* 暖调淡色背景（偏暖） */
    --red-main:     #c41e3a;   /* 北京红 */
    --red-dark:     #a01830;   /* 深红 */
    --red-pale:     #fdf0f2;   /* 淡红背景 */
    --gold:         #b36b00;   /* 金色点缀 */
    --green:        #1a6b3c;   /* 绿色点缀 */
    --text-h:       #1a1a1a;   /* 标题文字 */
    --text-b:       #333333;   /* 正文文字 */
    --text-m:       #6b6258;   /* 辅助文字（偏暖灰） */
    --text-l:       #a89b8c;   /* 说明文字（偏暖灰） */
    --bg-page:      #f5f2ec;   /* 页面底色（偏暖） */
    --bg-white:     #ffffff;
    --border:       #e0dcd4;   /* 边框（偏暖） */
    --shadow-s:     0 2px 8px rgba(30,20,10,0.08);
    --shadow-m:     0 4px 20px rgba(30,20,10,0.10);
    --shadow-l:     0 8px 36px rgba(30,20,10,0.13);
    --radius:       6px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
    font-size: 14px;
    color: var(--text-b);
    background: var(--bg-page);
    line-height: 1.8;
}

a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================================
   顶部信息条
   ============================================================ */
.top-strip {
    background: var(--blue-deep);
    color: rgba(255,255,255,0.75);
    font-size: 12px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-strip .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-strip-left span { margin-right: 20px; }
.top-strip-right a {
    color: rgba(255,255,255,0.75);
    margin-left: 18px;
    transition: color .2s;
}
.top-strip-right a:hover { color: #fff; }

/* ============================================================
   Logo + 搜索 Header
   ============================================================ */
.site-header {
    background: var(--blue-main);
    padding: 20px 0;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-emblem {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.emblem-inner {
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 1px;
}

.logo-text h1 {
    color: #fff;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 1.2;
}

.logo-text p {
    color: rgba(255,255,255,0.65);
    font-size: 12px;
    letter-spacing: 1px;
    margin-top: 4px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.search-wrap {
    display: flex;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255,255,255,0.12);
}

.search-wrap input {
    width: 200px;
    padding: 9px 16px;
    border: none;
    outline: none;
    background: transparent;
    color: #fff;
    font-size: 13px;
}

.search-wrap input::placeholder { color: rgba(255,255,255,0.55); }

.search-wrap button {
    padding: 9px 18px;
    border: none;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    border-left: 1px solid rgba(255,255,255,0.2);
    transition: background .2s;
    white-space: nowrap;
}

.search-wrap button:hover { background: var(--red-main); }

.member-login-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 22px;
    background: var(--red-main);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 24px;
    transition: background .2s, transform .2s;
    white-space: nowrap;
}

.member-login-btn:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
}

/* ============================================================
   子页面顶部栏（兼容旧结构）
   ============================================================ */
.header,
.site-header {
    background: var(--blue-main);
    padding: 20px 0;
}

.header .container,
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-area img {
    height: 48px;
    width: auto;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.search-box {
    display: flex;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255,255,255,0.12);
}

.search-box input {
    width: 200px;
    padding: 9px 16px;
    border: none;
    outline: none;
    background: transparent;
    color: #fff;
    font-size: 13px;
}

.search-box input::placeholder { color: rgba(255,255,255,0.55); }

.search-box button {
    padding: 9px 18px;
    border: none;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    border-left: 1px solid rgba(255,255,255,0.2);
    transition: background .2s;
    white-space: nowrap;
}

.search-box button:hover { background: var(--red-main); }

.header-right .member-login {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 22px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 13px;
    border-radius: 20px;
    transition: background .2s;
}

.header-right .member-login:hover {
    background: var(--red-main);
}

/* ============================================================
   主导航栏 — 白底，红色衬底条+大字号
   ============================================================ */
.main-nav {
    background: #fff;
    border-bottom: 3px solid var(--red-main);     /* 红色衬底 */
    box-shadow: 0 3px 12px rgba(0,0,0,0.07);
    position: sticky;
    top: 0;
    z-index: 900;
}

.nav-inner {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.nav-item {
    display: block;
    padding: 0 26px;
    line-height: 56px;              /* 高度撑大 */
    font-size: 16px;                /* 比原来更大 */
    font-weight: 600;
    color: var(--text-h);
    letter-spacing: 1px;
    position: relative;
    transition: color .2s, background .2s;
    white-space: nowrap;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--red-main);
    transition: width .25s;
}

.nav-item:hover,
.nav-item.active {
    color: var(--red-main);
    background: var(--red-pale);
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 60%;
}

/* 下拉容器 */
.nav-dropdown {
    position: relative;
}

/* 下拉菜单 */
.nav-sub {
    display: none;
    position: absolute;
    top: calc(100% + 3px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    min-width: 160px;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-m);
    border-top: 3px solid var(--red-main);
    z-index: 999;
    padding: 6px 0;
}

.nav-dropdown:hover .nav-sub { display: block; }

.nav-sub a {
    display: block;
    padding: 11px 20px;
    font-size: 14px;
    color: var(--text-b);
    transition: all .2s;
}

.nav-sub a:hover {
    background: var(--red-pale);
    color: var(--red-main);
    padding-left: 26px;
}

/* 活动报名红色按钮 */
.nav-highlight {
    color: #fff !important;
    background: var(--red-main) !important;
    margin: 9px 0 9px 10px;
    line-height: 38px !important;
    padding: 0 20px !important;
    border-radius: 4px;
    font-size: 15px !important;
}

.nav-highlight:hover {
    background: var(--red-dark) !important;
}

.nav-highlight::after { display: none; }

/* ============================================================
   Hero 视觉区（取代旧Banner）
   ============================================================ */
.hero-section {
    background: linear-gradient(130deg, var(--blue-deep) 0%, var(--blue-main) 55%, #1d5a9e 100%);
    padding: 50px 0 44px;
    position: relative;
    overflow: hidden;
}

/* 几何装饰 */
.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 80% 20%, rgba(196,30,58,0.15) 0%, transparent 45%),
        radial-gradient(circle at 10% 80%, rgba(255,255,255,0.05) 0%, transparent 35%);
    pointer-events: none;
}

.hero-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.hero-text { flex: 1; }

.hero-label {
    display: inline-block;
    background: rgba(196,30,58,0.8);
    color: #fff;
    font-size: 12px;
    padding: 4px 14px;
    border-radius: 2px;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.hero-title {
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.hero-sub {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    margin-bottom: 30px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    padding: 0 30px 0 0;
}

.stat-item strong {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.stat-item span {
    font-size: 12px;
    color: rgba(255,255,255,0.65);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.25);
    margin: 0 30px 0 0;
}

/* 右侧卡片组 */
.hero-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 260px;
    flex-shrink: 0;
}

.hcard {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    padding: 14px 18px;
    color: #fff;
    transition: background .2s, transform .2s;
    cursor: pointer;
}

.hcard:hover {
    background: rgba(255,255,255,0.22);
    transform: translateX(4px);
}

.hcard.hcard-red {
    background: rgba(196,30,58,0.6);
    border-color: rgba(196,30,58,0.8);
}

.hcard.hcard-red:hover {
    background: var(--red-main);
}

.hcard-icon { font-size: 22px; flex-shrink: 0; }

.hcard-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.hcard-info strong { font-size: 15px; font-weight: 700; line-height: 1.2; }
.hcard-info span   { font-size: 12px; opacity: .7; margin-top: 2px; }

.hcard-arrow { font-size: 20px; opacity: .6; }

/* ============================================================
   主体区域布局
   ============================================================ */
.main-body {
    padding: 30px 0 40px;
}

.main-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: flex-start;
}

/* 内容块通用 */
.content-block,
.aside-block {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-s);
    margin-bottom: 24px;
    overflow: hidden;
}

/* 块标题 */
.block-title,
.ab-title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px 14px;
    border-bottom: 1px solid var(--border);
    background: #fafbfd;
}

.block-title h3,
.ab-title h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--blue-main);
    flex: 1;
}

.title-bar {
    display: block;
    width: 4px;
    height: 18px;
    background: var(--blue-main);
    border-radius: 3px;
    flex-shrink: 0;
}

.title-bar.red   { background: var(--red-main); }
.title-bar.gold  { background: var(--gold); }
.title-bar.white { background: rgba(255,255,255,0.8); }

.more-link {
    font-size: 13px;
    color: var(--text-m);
    transition: color .2s;
    white-space: nowrap;
}

.more-link:hover { color: var(--red-main); }
.more-link.white { color: rgba(255,255,255,0.7); }
.more-link.white:hover { color: #fff; }

/* ============================================================
   新闻卡片列表（协会动态）
   ============================================================ */
.news-card-list { padding: 8px 0; }

.nc-item {
    display: flex;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    transition: background .2s;
    color: inherit;
}

.nc-item:last-child { border-bottom: none; }
.nc-item:hover { background: var(--blue-pale); }

.nc-date {
    width: 56px;
    text-align: center;
    flex-shrink: 0;
    padding-top: 2px;
}

.nc-date strong {
    display: block;
    font-size: 30px;
    font-weight: 900;
    color: var(--blue-main);
    line-height: 1;
}

.nc-date span {
    font-size: 11px;
    color: var(--text-l);
    display: block;
    margin-top: 3px;
}

.nc-body { flex: 1; min-width: 0; }

.nc-tag {
    display: inline-block;
    padding: 1px 8px;
    font-size: 11px;
    border-radius: 2px;
    margin-bottom: 5px;
    font-weight: 700;
}

.nc-tag.red  { background: var(--red-main);  color: #fff; }
.nc-tag.blue { background: var(--blue-main); color: #fff; }

.nc-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-h);
    line-height: 1.5;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nc-item:hover .nc-title { color: var(--red-main); }

.nc-desc {
    font-size: 13px;
    color: var(--text-m);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ============================================================
   政策法规 Tab
   ============================================================ */
.policy-tabs { padding: 0 0 8px; }

.ptab-nav {
    display: flex;
    padding: 12px 20px 0;
    gap: 4px;
    border-bottom: 2px solid var(--border);
}

.ptab {
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-m);
    border-radius: 4px 4px 0 0;
    cursor: pointer;
    border: 1px solid transparent;
    border-bottom: none;
    margin-bottom: -2px;
    transition: all .2s;
}

.ptab:hover { color: var(--blue-main); }

.ptab.active {
    color: var(--blue-main);
    background: var(--bg-white);
    border-color: var(--border);
    border-bottom-color: var(--bg-white);
}

.ptab-content { display: none; padding: 6px 0; }
.ptab-content.active { display: block; }

/* ============================================================
   频道子页面 Tab（统一卡片式）
   用于 news / policy / industry / showcase 各子页面的子分类切换
   ============================================================ */
.channel-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 20px;
    margin-bottom: 24px;
    background: var(--bg-white);
    border-radius: 8px;
    border: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0,0,0,.03);
}

.channel-tabs .ctab {
    flex: 1;
    min-width: 120px;
    display: inline-block;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    color: var(--text-b);
    background: var(--bg-gray);
    border-radius: 6px;
    transition: all .25s;
}

.channel-tabs .ctab:hover {
    background: var(--blue-pale);
    color: var(--blue-main);
    transform: translateY(-1px);
}

.channel-tabs .ctab.active {
    background: var(--blue-main);
    color: #fff;
    box-shadow: 0 4px 10px rgba(26,75,140,.25);
}

.channel-tabs .ctab.active:hover {
    background: var(--blue-main);
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .channel-tabs { padding: 12px; gap: 6px; }
    .channel-tabs .ctab { padding: 10px 12px; font-size: 14px; min-width: 90px; }
}

.plist-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-bottom: 1px dashed var(--border);
    color: var(--text-b);
    transition: background .2s;
}

.plist-item:last-child { border-bottom: none; }
.plist-item:hover { background: var(--blue-pale); }

.pl-dot {
    width: 6px;
    height: 6px;
    background: var(--blue-main);
    border-radius: 50%;
    flex-shrink: 0;
}

.plist-item:hover .pl-dot { background: var(--red-main); }

.pl-text {
    flex: 1;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.plist-item:hover .pl-text { color: var(--red-main); }

.pl-date {
    font-size: 12px;
    color: var(--text-l);
    flex-shrink: 0;
}

/* ============================================================
   侧栏
   ============================================================ */

/* 快捷入口 */
.ql-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
}

.ql-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 10px;
    background: var(--bg-white);
    color: var(--text-h);
    font-size: 14px;
    font-weight: 600;
    transition: background .2s, color .2s;
    cursor: pointer;
}

.ql-item:hover {
    background: var(--blue-pale);
    color: var(--blue-main);
}

.ql-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
}

/* 侧栏列表 */
.aside-list { padding: 6px 0; }

.aside-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 11px 20px;
    border-bottom: 1px dashed var(--border);
}

.aside-list li:last-child { border-bottom: none; }

.aside-list li::before {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--blue-light);
    border-radius: 50%;
    flex-shrink: 0;
}

.aside-list li a {
    flex: 1;
    font-size: 13px;
    color: var(--text-b);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color .2s;
}

.aside-list li a:hover { color: var(--red-main); }

.aside-list li span {
    font-size: 12px;
    color: var(--text-l);
    flex-shrink: 0;
}

/* ============================================================
   会员单位滚动条
   ============================================================ */
.members-band {
    background: linear-gradient(120deg, var(--blue-deep) 0%, var(--blue-main) 100%);
    padding: 30px 0 20px;
    overflow: hidden;
}

.band-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 0 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.band-title h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    flex: 1;
}

.marquee-track-wrap {
    overflow: hidden;
    padding: 4px 0;
}

.marquee-track {
    display: flex;
    gap: 20px;
    animation: scroll-marquee 28s linear infinite;
}

.m-logo {
    width: 160px;
    height: 56px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    transition: background .2s;
}
.m-logo-link {
    text-decoration: none;
    display: inline-flex;
}
.m-logo-link:hover .m-logo { background: rgba(255,255,255,0.3); }

.m-logo:hover { background: rgba(255,255,255,0.3); }

@keyframes scroll-marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
    background: #111927;
    color: rgba(255,255,255,0.7);
    padding: 44px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.fl-icon {
    width: 40px;
    height: 40px;
    background: var(--blue-main);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    font-size: 14px;
}

.fl-name {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.footer-about p {
    font-size: 13px;
    line-height: 1.9;
    color: rgba(255,255,255,0.55);
}

.footer-col h4,
.footer-contact h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-col ul li {
    padding: 6px 0;
}

.footer-col ul li a {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    transition: color .2s;
}

.footer-col ul li a:hover { color: #fff; }

.footer-contact ul li {
    padding: 6px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.55);
}

.footer-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 18px 0;
    font-size: 12px;
    color: rgba(255,255,255,0.35);
}

.footer-bar a {
    color: rgba(255,255,255,0.45);
    transition: color .2s;
}

.footer-bar a:hover { color: #fff; }

/* ============================================================
   内页通用（保持兼容其他页面）
   ============================================================ */
.page-header {
    background: linear-gradient(135deg, var(--blue-deep), var(--blue-main));
    color: white;
    padding: 40px 0;
    text-align: center;
}

.page-header h1 { font-size: 28px; margin-bottom: 10px; }
.page-header p  { opacity: .9; }

.breadcrumb {
    background: #eef2f8;
    padding: 12px 0;
    font-size: 13px;
}

.breadcrumb a    { color: var(--blue-main); }
.breadcrumb span { margin: 0 8px; color: var(--text-l); }

.content-wrapper { padding: 40px 0; }

.content-box {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-s);
    padding: 30px;
}

.content-box h2 {
    font-size: 20px;
    color: var(--blue-main);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--red-main);
}

.content-box p   { margin-bottom: 16px; text-align: justify; }
.content-box ul  { margin: 16px 0; padding-left: 24px; }
.content-box ul li { padding: 8px 0; list-style: disc; }

/* ============================================================
   入会流程
   ============================================================ */
.process-steps {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--border);
}

.process-step {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 1;
}

.process-step .num {
    width: 60px;
    height: 60px;
    background: var(--blue-main);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 16px;
}

.process-step:nth-child(2) .num { background: var(--blue-light); }
.process-step:nth-child(3) .num { background: var(--red-main); }
.process-step:nth-child(4) .num { background: var(--green); }

.process-step h4 { font-size: 15px; color: var(--text-h); margin-bottom: 6px; }
.process-step p  { font-size: 13px; color: var(--text-m); }

/* ============================================================
   登录页
   ============================================================ */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue-deep), var(--blue-main));
    padding: 40px 20px;
}

.login-box {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 420px;
    padding: 40px;
}

.login-box h2     { text-align: center; font-size: 24px; color: var(--blue-main); margin-bottom: 8px; }
.login-box .subtitle { text-align: center; color: var(--text-m); margin-bottom: 30px; font-size: 14px; }

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-size: 14px;
    color: var(--text-h);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 14px;
    transition: border-color .3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--blue-main);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 24px;
}

.form-options a { color: var(--blue-main); }
.form-options a:hover { text-decoration: underline; }

.btn-primary {
    background: var(--red-main);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 700;
    transition: background .2s;
    display: inline-block;
}

.btn-primary:hover { background: var(--red-dark); }

.login-box .btn-primary {
    width: 100%;
    padding: 14px;
    font-size: 16px;
}

.login-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-m);
}

.login-footer a { color: var(--red-main); font-weight: 600; }

/* ============================================================
   会员中心
   ============================================================ */
.member-center {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 30px;
}

.member-sidebar {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-s);
    padding: 20px 0;
}

.member-sidebar h3 {
    padding: 0 20px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--blue-main);
    font-size: 16px;
}

.member-sidebar ul li a {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    color: var(--text-b);
    font-size: 14px;
    transition: all .3s;
}

.member-sidebar ul li a:hover,
.member-sidebar ul li a.active {
    background: var(--blue-pale);
    color: var(--red-main);
    border-left: 3px solid var(--red-main);
}

.member-content {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-s);
    padding: 30px;
}

.member-content h2 {
    font-size: 20px;
    color: var(--blue-main);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--red-main);
}

.info-card {
    background: var(--bg-page);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
}

.info-card h3 { font-size: 16px; color: var(--text-h); margin-bottom: 16px; }

.info-row {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
}

.info-row:last-child { border-bottom: none; }
.info-row .label { width: 120px; color: var(--text-m); font-size: 14px; }
.info-row .value { flex: 1; color: var(--text-h); font-size: 14px; }

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #10b981;
    color: white;
    font-size: 12px;
    border-radius: 20px;
}

.status-badge.expired { background: #ef4444; }

.download-cert {
    display: flex;
    align-items: center;
    gap: 16px;
    background: white;
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.download-cert .icon {
    width: 50px;
    height: 50px;
    background: var(--red-main);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.download-cert .info h4 { font-size: 15px; color: var(--text-h); margin-bottom: 4px; }
.download-cert .info p  { font-size: 13px; color: var(--text-m); }
.download-cert .btn     { margin-left: auto; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
    .main-grid        { grid-template-columns: 1fr; }
    .footer-grid      { grid-template-columns: 1fr 1fr; }
    .hero-cards       { display: none; }
    .member-center    { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .site-header .container { flex-direction: column; gap: 14px; }
    .nav-inner { flex-wrap: wrap; gap: 0; }
    .nav-item  { padding: 0 14px; line-height: 48px; font-size: 14px; }
    .hero-title { font-size: 24px; }
    .hero-stats { gap: 0; }
    .stat-item strong { font-size: 22px; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .logo-text h1 { font-size: 20px; }
    .hero-section  { padding: 30px 0; }
    .hero-title    { font-size: 20px; }
    .search-wrap   { display: none; }
}

/* ============================================================
   协会子页面正文样式
   ============================================================ */
.article-body {
    font-size: 15px;
    line-height: 1.9;
    color: #333;
    margin-top: 16px;
}
.article-body h2 {
    font-size: 20px;
    color: var(--blue-main);
    margin: 24px 0 12px;
}
.article-body h3 {
    font-size: 17px;
    color: var(--blue-main);
    margin: 20px 0 10px;
}
.article-body p {
    margin-bottom: 14px;
}
.article-body ul, .article-body ol {
    margin: 12px 0 16px 24px;
}
.article-body li {
    margin-bottom: 8px;
    line-height: 1.8;
}
.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}
.article-body th {
    background: var(--blue-main);
    color: white;
    padding: 10px 14px;
    text-align: left;
}
.article-body td {
    padding: 10px 14px;
    border-bottom: 1px solid #eee;
}
.article-body tr:nth-child(even) td {
    background: #f8f9fc;
}
