﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", SimHei, sans-serif;
}
body {
    color: #333;
    background-color: #fff;
    line-height: 1.7;
}
.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}
ul {
    list-style: none;
}
a {
    text-decoration: none;
    color: #2255aa;
}
a:hover {
    color: #184080;
}
.bg-gray {
    background-color: #f7f9fc;
}
.section {
    padding: 60px 0;
}
.section-title {
    text-align: center;
    font-size: 28px;
    color: #194b96;
    margin-bottom: 40px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e1ebfa;
    display: inline-block;
    left: 50%;
    position: relative;
    transform: translateX(-50%);
}

/* 顶部导航 */
.header {
    background: #194b96;
    color: #fff;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 999;
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo h2 {
    font-size: 22px;
}
.logo p {
    font-size: 13px;
    opacity: 0.85;
}
.nav-list {
    display: flex;
    gap: 28px;
}
.nav-item a {
    color: #fff;
    font-size: 15px;
    padding: 6px 0;
    position: relative;
}
.nav-item.active a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
}
.menu-btn {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

/* 首页横幅 */
.banner {
    height: 420px;
    background: linear-gradient(rgba(25, 75, 150, 0.82), rgba(25, 75, 150, 0.82)), url("banner.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center;
}
.banner-content h1 {
    font-size: 36px;
    margin-bottom: 16px;
}
.banner-content p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.95;
}
.btn-consult {
    display: inline-block;
    padding: 12px 36px;
    background: #fff;
    color: #194b96;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s;
}
.btn-consult:hover {
    background: #eef5ff;
}

/* 内容板块通用 */
.content-box h3 {
    font-size: 20px;
    margin: 26px 0 14px;
    color: #194b96;
}
.content-box h4 {
    font-size: 18px;
    margin:20px 0 10px;
    color:#224e94;
}
.text-list li {
    padding: 6px 0;
    padding-left: 12px;
}
.download-box {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
}
.download-box a {
    padding: 8px 16px;
    border: 1px solid #b8cdf0;
    border-radius: 6px;
    background: #f4f8ff;
}

/* 办事指南卡片布局 */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.guide-card {
    background: #fff;
    padding: 26px;
    border-radius: 10px;
    box-shadow: 0 2px 12px #e0e8f5;
}
.guide-card h4 {
    color: #194b96;
    font-size: 18px;
    margin-bottom: 10px;
}

/* 新闻列表 */
.news-list {
    max-width: 860px;
    margin: 0 auto;
}
.news-item {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 16px;
    box-shadow: 0 1px 8px #e6edf8;
}
.news-item h4 {
    display: inline-block;
}
.date {
    float: right;
    color: #777;
    font-size: 13px;
}

/* 联系板块 */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.contact-left p {
    padding: 8px 0;
    font-size: 16px;
}

/* 页脚 */
.footer {
    background: #122b52;
    color: #ccc;
    padding: 36px 0;
    text-align: center;
    font-size: 14px;
    line-height: 1.8;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .nav-list {
        display: none;
    }
    .menu-btn {
        display: block;
    }
    .guide-grid {
        grid-template-columns: 1fr 1fr;
    }
    .contact-wrap {
        grid-template-columns: 1fr;
    }
    .banner-content h1 {
        font-size: 26px;
    }
    .section-title {
        font-size: 24px;
    }
}
@media (max-width: 480px) {
    .guide-grid {
        grid-template-columns: 1fr;
    }
}