/* 三证联培 - 政府风格样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #1a4a8a;
    --primary-dark: #0f2e58;
    --accent: #c41e3a;
    --bg: #f5f5f5;
    --bg-white: #ffffff;
    --text: #333333;
    --text-light: #666666;
    --border: #e0e0e0;
    --shadow: 0 1px 3px rgba(0,0,0,0.08);
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "SimHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.8;
    font-size: 16px;
}

/* 导航栏 - 政府白底风格 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 0 2rem;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-dark);
}

.logo-img {
    height: 50px;
    width: auto;
}

.navbar nav a {
    color: var(--text);
    text-decoration: none;
    margin-left: 2.5rem;
    font-size: 1rem;
    position: relative;
    transition: color 0.2s;
}

.navbar nav a:hover {
    color: var(--primary);
}

/* Hero 大图区 - 庄重大气 */
.hero {
    margin-top: 70px;
    padding: 5rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #fff;
    border-bottom: 4px solid var(--accent);
}

.hero h1 {
    font-size: 2.6rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    letter-spacing: 1px;
}

/* 内容区 */
.container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4rem 0;
    background: var(--bg-white);
}

.section:nth-child(odd) {
    background: var(--bg);
}

.section h2 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
    letter-spacing: 1px;
}

.section h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent);
    margin: 1rem auto 0;
}

/* 文章正文 */
.content-body {
    max-width: 760px;
    margin: 0 auto;
    line-height: 2.2;
    color: var(--text);
    font-size: 1.05rem;
}

.content-body p {
    margin-bottom: 1.5rem;
    text-indent: 2em;
    text-align: justify;
}

.content-body p:last-child {
    text-align: right;
    color: var(--text-light);
    font-size: 0.95rem;
    text-indent: 0;
    margin-top: 2.5rem;
}

/* 页脚 - 政府深色 */
.footer {
    background: var(--primary-dark);
    color: rgba(209, 209, 209, 0.85);
    text-align: center;
    padding: 2.5rem 1.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer p {
    margin-bottom: 0.2rem 0;
}

.footer a {
    color: rgba(209, 209, 209, 0.85);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* 报名指南文章样式 */
.guide-content {
    line-height: 2;
    color: var(--text);
    font-size: 1rem;
}

.guide-content h2 {
    color: var(--primary);
    font-size: 1.35rem;
    font-weight: 600;
    margin: 2.5rem 0 1.2rem;
    text-align: left;
}


.guide-content h2::after {
    display: none;
}

/* 通用内页样式（项目简介、报名指南等） */
.page-section {
    background: #fff;
    padding-top: 8rem;
}

.page-title-bar {
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
}

.page-title-bar .bar {
    display: inline-block;
    width: 4px;
    height: 1.5rem;
    background: #c41e3a;
    margin-right: 0.75rem;
    border-radius: 2px;
}

.page-title-bar .title {
    color: #1a4a8a;
    font-size: 1.6rem;
    font-weight: 600;
}

.guide-content h3 {
    color: var(--primary-dark);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
}

.guide-content p {
    margin-bottom: 1.2rem;
    text-align: justify;
}

.guide-content > p:first-child {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 2rem;}


.guide-content ul,
.guide-content ol {
    margin: 1rem 0 1.2rem 1.5rem;
}

.guide-content li {
    margin-bottom: 0.5rem;
}

.guide-content blockquote {
    border-left: 4px solid var(--accent);
    background: #f8f8f8;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    color: #555;
    font-size: 0.95rem;
    border-radius: 0 4px 4px 0;
}

.guide-content strong {
    color: var(--primary-dark);
}

.guide-content hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2rem 0;
}

.guide-content code {
    background: #f0f0f0;
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
    font-size: 0.9rem;
}

/* 图片占位符 */
.img-placeholder {
    text-align: center;
    padding: 2.5rem 1rem;
    background: #f5f5f5;
    border: 1px dashed #ccc;
    border-radius: 6px;
    margin: 1.5rem 0;
    color: #999;
}

.img-placeholder div {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.img-placeholder figcaption {
    font-size: 0.9rem;
}

/* 图片展示容器（真实图片，非占位） */
.img-container {
    margin: 2.5rem 0;
    text-align: center;
}

.img-container img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-container img:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.img-container figcaption {
    color: #888;
    font-size: 0.9rem;
    margin-top: 0.75rem;
    line-height: 1.6;
}

/* 视频容器 */
.video-container {
    margin: 2.5rem 0;
    text-align: center;
}

.video-container video {
    width: 100%;
    max-width: 720px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container video:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);}

.video-container figcaption {
    margin-top: 0.5rem;
}

.video-caption {
    color: #888;
    font-size: 0.85rem;
    line-height: 1.8;
    text-align: left;
}

.video-caption .disclaimer {
    color: #c41e3a;
    display: block;
}
p.warning-text {
    color: #c41e3a;
    margin-bottom: 1.2rem;
}

/* 汉堡菜单按钮 - 桌面隐藏 */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--text);
    border-radius: 1px;
    transition: all 0.3s ease;
}

/* 响应式 + 汉堡菜单 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .navbar nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        padding: 0.5rem 1.5rem 1rem;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }

    .navbar.nav-active nav {
        display: block;
    }

    .navbar.nav-active nav a {
        display: block;
        margin-left: 0;
        padding: 0.8rem 0;
        border-bottom: 1px solid var(--border);
        font-size: 1rem;
    }

    .navbar.nav-active nav a:last-child {
        border-bottom: none;
    }

    /* 汉堡按钮变成 X */
    .navbar.nav-active .hamburger span:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
    }
    .navbar.nav-active .hamburger span:nth-child(2) {
        opacity: 0;
    }
    .navbar.nav-active .hamburger span:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
    }

    .hero {
        padding: 3.5rem 1rem 3rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .navbar {
        padding: 0 1rem;
        height: 60px;
    }

    .logo-img {
        height: 40px;
    }

    .page-section {
        padding-top: 6rem;
    }

    .content-body {
        font-size: 1rem;
    }

    .guide-content h2 {
        font-size: 1.2rem;
    }

    .guide-content h3 {
        font-size: 1rem;
    }
}
