/* ============================================================
   物业经理证报考平台 - 完整样式表
   包含：首页 + 列表页 + 内容页 + 单页面
   政府红主题 · 响应式设计
   ============================================================ */

/* ===== 1. 全局重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    color: #333;
    line-height: 1.6;
    background: #f5f6fa;
}

a {
    text-decoration: none;
    color: #B22222;
    transition: all 0.3s ease;
}
a:hover {
    color: #DAA520;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== 2. 顶部栏 ===== */
.top-bar {
    background: #8B0000;
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}
.top-bar a {
    color: #fff;
    margin: 0 10px;
}
.top-bar a:hover {
    color: #DAA520;
}

/* ===== 3. 导航 ===== */
.header {
    padding: 12px 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(139, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    color: #B22222;
}
.logo span {
    color: #DAA520;
}
.logo img {
    height: 50px;
    display: inline-block;
}

.main-nav ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.main-nav ul li {
    position: relative;
}
.main-nav ul li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    font-weight: 500;
    font-size: 15px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}
.main-nav ul li a:hover,
.main-nav ul li.active a {
    color: #B22222;
    border-bottom-color: #B22222;
}
.main-nav ul li a.highlight {
    color: #DAA520;
}

/* 下拉菜单 */
.main-nav ul li .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
    min-width: 200px;
    padding: 10px 0;
    border-radius: 0 0 8px 8px;
    z-index: 999;
}
.main-nav ul li:hover .sub-menu {
    display: block;
}
.main-nav ul li .sub-menu li a {
    padding: 8px 24px;
    border-bottom: none;
    font-weight: 400;
    font-size: 14px;
}
.main-nav ul li .sub-menu li a:hover {
    background: #f8f4f0;
    color: #B22222;
}

/* 移动端菜单按钮 */
.navbar-toggler {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    float: right;
    margin-top: 8px;
}
.navbar-toggler span {
    display: block;
    width: 28px;
    height: 3px;
    background: #B22222;
    border-radius: 3px;
    transition: all 0.3s;
}
.navbar-toggler.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.navbar-toggler.open span:nth-child(2) {
    opacity: 0;
}
.navbar-toggler.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== 4. Banner ===== */
.banner {
    background: linear-gradient(135deg, #B22222 0%, #8B0000 100%);
    padding: 70px 0;
    color: #fff;
}
.banner-text h1 {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
}
.banner-text h1 span {
    color: #DAA520;
}
.banner-text p {
    font-size: 18px;
    margin: 20px 0 30px;
    opacity: 0.92;
    letter-spacing: 1px;
}
.banner-btns .btn {
    display: inline-block;
    padding: 14px 42px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    margin-right: 15px;
    transition: all 0.3s;
}
.btn-primary {
    background: #DAA520;
    color: #fff;
    border: none;
}
.btn-primary:hover {
    background: #c89b1c;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(218, 165, 32, 0.4);
}
.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.7);
}
.btn-outline:hover {
    background: #fff;
    color: #B22222;
    border-color: #fff;
    transform: translateY(-2px);
}
.btn-lg {
    padding: 16px 50px;
    font-size: 18px;
}
.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* ===== 5. 数据统计 ===== */
.stats {
    padding: 50px 0;
    background: #fff;
}
.stat-item {
    text-align: center;
    padding: 10px 0;
}
.stat-item .num {
    display: block;
    font-size: 44px;
    font-weight: 700;
    color: #B22222;
    line-height: 1.2;
}
.stat-item .label {
    font-size: 16px;
    color: #888;
    margin-top: 4px;
    display: block;
}

/* ===== 6. 通用标题 ===== */
.section-title {
    text-align: center;
    margin-bottom: 45px;
}
.section-title h2 {
    font-size: 32px;
    color: #B22222;
    position: relative;
    display: inline-block;
    font-weight: 700;
}
.section-title h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #DAA520;
    margin: 12px auto 0;
    border-radius: 2px;
}
.section-title p {
    color: #888;
    margin-top: 12px;
    font-size: 16px;
}

/* ===== 7. 证书介绍 ===== */
.cert-intro {
    padding: 60px 0;
    background: #f8f6f4;
}
.cert-card {
    background: #fff;
    padding: 32px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #B22222;
    margin-bottom: 24px;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}
.cert-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.10);
}
.cert-card h3 {
    color: #B22222;
    margin-bottom: 12px;
    font-size: 20px;
}
.cert-card p {
    color: #666;
    margin-bottom: 12px;
}
.cert-card ul li {
    padding: 5px 0;
    color: #555;
    font-size: 14px;
}
.btn-more {
    color: #B22222;
    font-weight: 600;
    display: inline-block;
    margin-top: 8px;
}
.btn-more:hover {
    color: #DAA520;
    transform: translateX(4px);
}

/* ===== 8. 为什么选择我们 ===== */
.advantages {
    padding: 60px 0;
    background: #fff;
}
.adv-item {
    text-align: center;
    padding: 20px 15px;
    transition: transform 0.3s;
}
.adv-item:hover {
    transform: translateY(-6px);
}
.adv-item .icon {
    font-size: 50px;
    display: block;
    margin-bottom: 15px;
}
.adv-item h4 {
    color: #B22222;
    font-size: 18px;
    margin-bottom: 6px;
}
.adv-item p {
    color: #888;
    font-size: 14px;
    margin: 0;
}

/* ===== 9. 报考流程 ===== */
.process {
    padding: 60px 0;
    background: #f8f6f4;
}
.step-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
}
.step-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 30px;
    text-align: center;
    min-width: 140px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0ebe6;
    transition: all 0.3s;
    flex: 0 1 auto;
}
.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(178, 34, 34, 0.12);
}
.step-card .step-num {
    display: inline-block;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    background: #B22222;
    width: 58px;
    height: 58px;
    line-height: 58px;
    border-radius: 50%;
    margin-bottom: 10px;
}
.step-card h4 {
    color: #B22222;
    font-size: 18px;
    margin: 8px 0 4px;
}
.step-card p {
    color: #999;
    font-size: 13px;
    margin: 0;
}
.step-arrow {
    font-size: 36px;
    color: #DAA520;
    font-weight: 300;
    padding: 0 4px;
}

/* ===== 10. 全国报名通道 ===== */
.province-channel {
    padding: 50px 0;
    background: #f8f6f4;
}
.province-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.province-grid a {
    display: inline-block;
    background: #fff;
    padding: 8px 24px;
    border-radius: 30px;
    border: 1px solid #e0d6cc;
    color: #B22222;
    font-weight: 500;
    font-size: 14px;
    transition: 0.3s;
}
.province-grid a:hover {
    background: #B22222;
    color: #fff;
    border-color: #B22222;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(178, 34, 34, 0.2);
}

/* ===== 11. 报名指南 ===== */
.guide {
    padding: 60px 0;
    background: #fff;
}
.guide-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 18px rgba(0, 0, 0, 0.06);
    margin-bottom: 24px;
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    padding: 20px;
}
.guide-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
}
.guide-item h4 {
    font-size: 17px;
    line-height: 1.4;
}
.guide-item h4 a {
    color: #B22222;
}
.guide-item h4 a:hover {
    color: #DAA520;
}
.guide-item .date {
    color: #aaa;
    font-size: 13px;
    display: block;
    margin: 4px 0 8px;
}
.guide-item p {
    color: #777;
    font-size: 14px;
    margin: 0;
}

/* ===== 12. CTA ===== */
.cta {
    padding: 50px 0;
    background: linear-gradient(135deg, #B22222, #8B0000);
    color: #fff;
}
.cta h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 6px;
}
.cta p {
    opacity: 0.85;
    font-size: 16px;
    margin: 0;
}
.cta .btn {
    padding: 14px 50px;
    border-radius: 50px;
    font-weight: 600;
    background: #DAA520;
    color: #fff;
}
.cta .btn:hover {
    background: #c89b1c;
}

/* ===== 13. 底部 ===== */
.footer {
    background: #3D0C1F;
    color: #dcc8b8;
    padding: 30px 0 20px;
}
.footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 8px 24px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.footer .footer-links a {
    color: #dcc8b8;
    font-size: 14px;
    transition: 0.3s;
    padding: 0 4px;
}
.footer .footer-links a:hover {
    color: #FFD700;
}
.footer .footer-links span {
    color: #6B2A3A;
}

.footer-bottom {
    border-top: 1px solid #6B2A3A;
    padding-top: 14px;
    text-align: center;
    font-size: 13px;
    opacity: 0.8;
}
.footer-bottom a {
    color: #dcc8b8;
}
.footer-bottom a:hover {
    color: #FFD700;
}
.copyright {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 12px;
}
.copyright .icp a {
    color: #dcc8b8;
    font-size: 12px;
}
.copyright .icp a:hover {
    color: #FFD700;
}

/* ============================================================
   14. 列表页/内容页/单页面 共用样式
   ============================================================ */

/* 页面标题 */
.page-header {
    background: linear-gradient(135deg, #B22222 0%, #8B0000 100%);
    padding: 40px 0;
    color: #fff;
    text-align: center;
}
.page-header h1 {
    font-size: 30px;
    font-weight: 700;
}
.page-header h2 {
    font-size: 30px;
    font-weight: 700;
}
.page-header p {
    opacity: 0.8;
    margin-top: 6px;
}

/* 面包屑 */
.breadcrumb-wrap {
    background: #fff;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}
.breadcrumb-wrap a {
    color: #B22222;
}
.breadcrumb-wrap a:hover {
    color: #DAA520;
}
.breadcrumb-wrap .sep {
    color: #ccc;
    margin: 0 8px;
}

/* 内容详情（单页/文章共用） */
.content-detail {
    background: #fff;
    border-radius: 12px;
    padding: 40px 44px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}
.content-detail .article-body {
    font-size: 16px;
    line-height: 1.9;
    color: #444;
}
.content-detail .article-body p {
    margin-bottom: 16px;
}
.content-detail .article-body h2 {
    color: #B22222;
    font-size: 22px;
    margin: 30px 0 14px;
}
.content-detail .article-body h3 {
    color: #B22222;
    font-size: 18px;
    margin: 22px 0 10px;
}
.content-detail .article-body ul {
    padding-left: 22px;
    margin-bottom: 16px;
}
.content-detail .article-body ul li {
    list-style: disc;
    margin-bottom: 6px;
}
.content-detail .article-body .highlight-box {
    background: #f8f6f4;
    border-left: 4px solid #DAA520;
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin: 20px 0;
}
.content-detail .article-body .cert-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}
.content-detail .article-body .cert-grid .cert-item {
    flex: 1 1 200px;
    background: #f8f6f4;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid #eee;
}
.content-detail .article-body .cert-grid .cert-item .icon {
    font-size: 48px;
    display: block;
    margin-bottom: 8px;
}
.content-detail .article-body .cert-grid .cert-item h4 {
    color: #B22222;
    font-size: 16px;
    margin-bottom: 4px;
}
.content-detail .article-body .cert-grid .cert-item p {
    font-size: 13px;
    color: #888;
    margin: 0;
}
.content-detail .article-body .article-meta {
    font-size: 14px;
    color: #999;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
    margin-bottom: 24px;
}
.content-detail .article-body .article-meta span {
    margin-right: 20px;
}

/* 上下篇导航 */
.prev-next {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}
.prev-next a {
    color: #555;
    font-size: 14px;
}
.prev-next a:hover {
    color: #B22222;
}
.prev-next .disabled {
    color: #ccc;
    cursor: not-allowed;
}

/* 相关推荐 */
.related-wrap {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}
.related-wrap h4 {
    color: #B22222;
    font-size: 18px;
    margin-bottom: 14px;
}
.related-wrap ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.related-wrap ul li {
    width: 100%;
}
.related-wrap ul li a {
    color: #555;
    font-size: 14px;
    display: block;
    padding: 6px 0;
    border-bottom: 1px solid #f5f5f5;
}
.related-wrap ul li a:hover {
    color: #B22222;
    padding-left: 6px;
}

/* 列表项 */
.list-item {
    background: #fff;
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #B22222;
    transition: 0.3s;
}
.list-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.list-item h3 {
    font-size: 20px;
    margin-bottom: 6px;
}
.list-item h3 a {
    color: #B22222;
}
.list-item h3 a:hover {
    color: #DAA520;
}
.list-item .meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
}
.list-item .meta span {
    margin-right: 16px;
}
.list-item p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 12px;
}
.list-item .read-more {
    color: #B22222;
    font-weight: 600;
    font-size: 14px;
}
.list-item .read-more:hover {
    color: #DAA520;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 30px;
    flex-wrap: wrap;
}
.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #333;
    font-size: 14px;
    transition: 0.3s;
}
.pagination a:hover {
    background: #B22222;
    color: #fff;
    border-color: #B22222;
}
.pagination .active {
    background: #B22222;
    color: #fff;
    border-color: #B22222;
}
.pagination .disabled {
    color: #ccc;
    cursor: not-allowed;
}

/* 侧边栏 */
.page-content {
    padding: 40px 0;
}
.sidebar .widget {
    background: #fff;
    border-radius: 12px;
    padding: 22px 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}
.sidebar .widget h4 {
    color: #B22222;
    font-size: 17px;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0ebe6;
    margin-bottom: 12px;
}
.sidebar .widget ul {
    list-style: none;
    padding: 0;
}
.sidebar .widget ul li {
    padding: 6px 0;
    border-bottom: 1px solid #f5f5f5;
}
.sidebar .widget ul li a {
    color: #555;
    font-size: 14px;
}
.sidebar .widget ul li a:hover {
    color: #B22222;
    padding-left: 4px;
}
.sidebar .cta-widget {
    background: linear-gradient(135deg, #B22222, #8B0000);
    color: #fff;
    text-align: center;
}
.sidebar .cta-widget h4 {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.2);
}
.sidebar .cta-widget p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 14px;
}
.sidebar .cta-widget .btn {
    display: inline-block;
    background: #DAA520;
    color: #fff;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    width: 100%;
}
.sidebar .cta-widget .btn:hover {
    background: #c89b1c;
}

/* ============================================================
   15. 客服按钮
   ============================================================ */
.kefu-float {
    position: fixed;
    right: 0;
    bottom: 120px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.kefu-float .kefu-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 126px;
    background: #ffffff;
    border-radius: 18px 0 0 18px;
    border: 2px solid rgba(178, 34, 34, 0.12);
    border-right: none;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.16);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    user-select: none;
}
.kefu-float .kefu-btn:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
    border-color: #DAA520;
}
.kefu-float .kefu-btn:active {
    transform: scale(0.93);
}
.kefu-float .kefu-btn .icon {
    width: 36px;
    height: 36px;
    display: block;
    margin-bottom: 6px;
    flex-shrink: 0;
}
.kefu-float .kefu-btn .text {
    font-size: 14px;
    font-weight: 600;
    color: #B22222;
    letter-spacing: 2px;
    line-height: 1.3;
    text-align: center;
}
.kefu-float .kefu-btn .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #DAA520;
    color: #fff;
    font-size: 10px;
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(218, 165, 32, 0.5);
    animation: badge-pulse 2s ease-in-out infinite;
}
@keyframes badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

/* ===== 16. 弹窗 ===== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}
.modal-overlay.active {
    display: flex;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.modal-box {
    background: #fff;
    border-radius: 24px;
    padding: 40px 44px 36px;
    max-width: 380px;
    width: 90%;
    text-align: center;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}
@keyframes scaleIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.modal-box .close-btn {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 24px;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
    background: none;
    border: none;
    line-height: 1;
    padding: 4px 8px;
}
.modal-box .close-btn:hover {
    color: #B22222;
}
.modal-box .modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #B22222;
    margin-bottom: 4px;
}
.modal-box .modal-sub {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}
.modal-box .qr-img {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    border: 2px solid #eee;
    padding: 8px;
    background: #fff;
    margin: 0 auto 14px;
    display: block;
}
.modal-box .qr-tip {
    font-size: 13px;
    color: #999;
}
.modal-box .qr-tip span {
    color: #DAA520;
    font-weight: 600;
}

/* ===== 17. 面包屑 ===== */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 16px;
    font-size: 14px;
}
.breadcrumb-item a {
    color: #B22222;
}
.breadcrumb-item.active {
    color: #888;
}

/* ============================================================
   18. 响应式设计
   ============================================================ */

/* 平板及以下 */
@media (max-width: 992px) {
    .banner-text h1 {
        font-size: 34px;
    }
    .banner {
        padding: 50px 0;
    }
    .section-title h2 {
        font-size: 28px;
    }
    .stat-item .num {
        font-size: 36px;
    }
    .cta h3 {
        font-size: 24px;
    }
    .cta .btn {
        padding: 12px 36px;
    }
    .page-header h1,
    .page-header h2 {
        font-size: 24px;
    }
    .content-detail {
        padding: 28px 24px;
    }
}

/* 手机端 */
@media (max-width: 768px) {
    /* 导航 */
    .navbar-toggler {
        display: flex;
    }
    .main-nav {
        display: none;
        width: 100%;
        background: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 10px 0 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
        border-radius: 0 0 8px 8px;
    }
    .main-nav.open {
        display: block;
    }
    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
    }
    .main-nav ul li a {
        padding: 12px 20px;
        border-bottom: 1px solid #f0f0f0;
        font-size: 15px;
    }
    .main-nav ul li a:hover,
    .main-nav ul li.active a {
        border-bottom-color: #B22222;
        border-bottom-width: 2px;
    }
    .main-nav ul li .sub-menu {
        position: static;
        box-shadow: none;
        padding-left: 20px;
        display: none;
        border-radius: 0;
        background: #fafafa;
    }
    .main-nav ul li:hover .sub-menu {
        display: none;
    }
    .main-nav ul li .sub-menu.open {
        display: block;
    }
    .main-nav ul li .sub-menu li a {
        padding: 8px 20px;
        font-size: 14px;
    }

    /* Banner */
    .banner {
        padding: 40px 0;
    }
    .banner-text h1 {
        font-size: 26px;
    }
    .banner-text p {
        font-size: 15px;
        margin: 14px 0 22px;
    }
    .banner-btns .btn {
        padding: 10px 28px;
        font-size: 14px;
        margin-right: 10px;
        margin-bottom: 10px;
    }

    /* 数据 */
    .stat-item .num {
        font-size: 30px;
    }
    .stat-item .label {
        font-size: 14px;
    }

    /* 标题 */
    .section-title h2 {
        font-size: 22px;
    }
    .section-title p {
        font-size: 14px;
    }

    /* 证书 */
    .cert-card {
        padding: 22px 20px;
    }
    .cert-card h3 {
        font-size: 18px;
    }

    /* 步骤 */
    .step-wrapper {
        flex-direction: column;
    }
    .step-arrow {
        transform: rotate(90deg);
        font-size: 28px;
    }
    .step-card {
        min-width: 120px;
        padding: 20px 18px;
    }
    .step-card .step-num {
        width: 48px;
        height: 48px;
        line-height: 48px;
        font-size: 26px;
    }

    /* 报名通道 */
    .province-grid a {
        padding: 6px 16px;
        font-size: 13px;
    }

    /* CTA */
    .cta {
        padding: 35px 0;
        text-align: center;
    }
    .cta h3 {
        font-size: 20px;
    }
    .cta .btn {
        padding: 10px 32px;
        font-size: 15px;
        margin-top: 12px;
    }

    /* 底部 */
    .footer {
        padding: 25px 0 15px;
        text-align: center;
    }
    .footer .footer-links {
        gap: 6px 16px;
    }
    .footer .footer-links a {
        font-size: 13px;
    }

    /* 列表页/内容页/单页面 */
    .page-header {
        padding: 28px 0;
    }
    .page-header h1,
    .page-header h2 {
        font-size: 20px;
    }
    .page-header .meta {
        font-size: 12px;
    }
    .content-detail {
        padding: 20px 16px;
    }
    .content-detail .article-body {
        font-size: 15px;
    }
    .content-detail .article-body h2 {
        font-size: 19px;
    }
    .sidebar {
        margin-top: 20px;
    }
    .prev-next {
        flex-direction: column;
        align-items: center;
    }
    .list-item {
        padding: 18px 20px;
    }
    .list-item h3 {
        font-size: 17px;
    }

    /* 客服 */
    .kefu-float {
        right: 0;
        bottom: 80px;
    }
    .kefu-float .kefu-btn {
        width: 64px;
        height: 110px;
        border-radius: 14px 0 0 14px;
    }
    .kefu-float .kefu-btn .icon {
        width: 30px;
        height: 30px;
        margin-bottom: 4px;
    }
    .kefu-float .kefu-btn .text {
        font-size: 12px;
        letter-spacing: 1px;
    }

    /* 弹窗 */
    .modal-box {
        padding: 30px 24px 28px;
    }
    .modal-box .qr-img {
        width: 160px;
        height: 160px;
    }
}

/* 小屏手机 */
@media (max-width: 480px) {
    .banner {
        padding: 28px 0;
    }
    .banner-text h1 {
        font-size: 22px;
    }
    .banner-text p {
        font-size: 14px;
    }
    .banner-btns .btn {
        padding: 8px 20px;
        font-size: 13px;
        display: inline-block;
        width: 100%;
        max-width: 200px;
        margin: 6px auto;
    }
    .banner-btns {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .section-title h2 {
        font-size: 20px;
    }
    .section-title h2:after {
        width: 40px;
    }

    .cert-card {
        padding: 18px 16px;
    }
    .stat-item .num {
        font-size: 24px;
    }

    .step-card {
        padding: 16px 14px;
        min-width: 100px;
    }
    .step-card .step-num {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 20px;
    }
    .step-card h4 {
        font-size: 16px;
    }
    .step-card p {
        font-size: 12px;
    }

    .province-grid a {
        padding: 5px 12px;
        font-size: 12px;
    }

    .guide-item {
        padding: 16px;
    }
    .guide-item h4 {
        font-size: 15px;
    }

    .cta h3 {
        font-size: 18px;
    }
    .cta .btn {
        padding: 10px 28px;
        font-size: 14px;
    }

    .footer .footer-links {
        gap: 4px 12px;
    }
    .footer .footer-links a {
        font-size: 12px;
    }
    .copyright {
        flex-direction: column;
        gap: 2px;
    }

    /* 列表页/内容页/单页面 */
    .page-header h1,
    .page-header h2 {
        font-size: 17px;
    }
    .page-header .meta span {
        margin: 0 6px;
    }
    .content-detail {
        padding: 14px 12px;
    }
    .content-detail .article-body {
        font-size: 14px;
    }
    .content-detail .article-body h2 {
        font-size: 17px;
    }
    .content-detail .article-body .cert-grid .cert-item {
        flex: 1 1 100%;
    }
    .list-item {
        padding: 14px 16px;
    }
    .list-item h3 {
        font-size: 15px;
    }
    .pagination a,
    .pagination span {
        padding: 6px 12px;
        font-size: 13px;
    }
    .prev-next {
        flex-direction: column;
        align-items: center;
    }

    .kefu-float {
        right: 0;
        bottom: 60px;
    }
    .kefu-float .kefu-btn {
        width: 56px;
        height: 96px;
        border-radius: 12px 0 0 12px;
    }
    .kefu-float .kefu-btn .icon {
        width: 26px;
        height: 26px;
        margin-bottom: 3px;
    }
    .kefu-float .kefu-btn .text {
        font-size: 11px;
        letter-spacing: 0.5px;
    }

    .modal-box .qr-img {
        width: 140px;
        height: 140px;
    }
    .modal-box {
        padding: 24px 20px 22px;
    }
    .modal-box .modal-title {
        font-size: 17px;
    }
}

/* ============================================================
   19. 工具类
   ============================================================ */
.text-gold {
    color: #DAA520;
}
.text-red {
    color: #B22222;
}
.bg-red {
    background: #B22222;
}
.bg-red-dark {
    background: #8B0000;
}
.border-red {
    border-color: #B22222;
}
.border-gold {
    border-color: #DAA520;
}

.btn-red {
    background: #B22222;
    color: #fff;
    border: none;
}
.btn-red:hover {
    background: #8B0000;
    color: #fff;
}

.btn-gold {
    background: #DAA520;
    color: #fff;
    border: none;
}
.btn-gold:hover {
    background: #c89b1c;
    color: #fff;
}

.shadow-hover {
    transition: box-shadow 0.3s, transform 0.3s;
}
.shadow-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.10);
}

.radius-12 {
    border-radius: 12px;
}
.radius-50 {
    border-radius: 50px;
}

