/* ===== 基础重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #333;
    line-height: 1.6;
    background: #fff;
}

/* ===== 容器 ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 顶部工具栏 ===== */
.top-bar {
    background: #1B3A6B;
    color: #fff;
    padding: 8px 0;
    font-size: 13px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-bar-right a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: opacity 0.3s;
}

.top-bar-right a:hover {
    opacity: 0.8;
}

.icon {
    width: 16px;
    height: 16px;
    display: inline-block;
}

/* ===== 主导航栏 ===== */
.main-nav {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    /* width: 50px; */
    height: 50px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}

.logo-text h1 {
    font-size: 20px;
    font-weight: 600;
    color: #1B3A6B;
    line-height: 1.2;
}

.logo-text p {
    font-size: 11px;
    color: #999;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-menu > li {
    position: relative;
    display: flex;
    align-items: center;
    height: 72px;
}

.nav-menu > li > a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #2E6DB4;
    transition: width 0.3s;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: #2E6DB4;
}

.nav-menu > li > a:hover::after,
.nav-menu > li > a.active::after {
    width: 100%;
}

.nav-menu > li > a::before {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    transition: transform 0.3s;
}

.nav-menu > li > a.son-list::before {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #999;
    transition: transform 0.3s;
}

.nav-menu > li:hover > a::before {
    transform: translateY(-50%) rotate(180deg);
    border-top-color: #2E6DB4;
}

.royal-dropdown-menu {
    position: absolute;
    top: 95%;
    left: 0;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    min-width: 180px;
    display: none;
    z-index: 1000;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 4px;
}

.nav-menu > li:hover > .royal-dropdown-menu {
    display: block;
}

.royal-dropdown-menu li {
    padding: 0;
    border-bottom: 1px solid #F0F4F8;
}

.royal-dropdown-menu li:last-child {
    border-bottom: none;
}

.royal-dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    white-space: nowrap;
}

.royal-dropdown-menu a.active {
    color: #2E6DB4;
}

.royal-dropdown-menu a:hover {
    background: #F8FAFC;
    color: #2E6DB4;
    padding-left: 24px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 36px;
    padding: 0 16px;
    border: 1px solid #E8F0FE;
    border-radius: 18px 0 0 18px;
    font-size: 14px;
    color: #333;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    outline: none;
    margin-right: -1px;
}

.search-input::placeholder {
    color: #999;
}

.search-wrapper:hover .search-input {
    width: 200px;
    opacity: 1;
    visibility: visible;
}

.search-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #E8F0FE;
    border-radius: 0 18px 18px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #fff;
}

.search-wrapper:hover .search-btn {
    background: #2E6DB4;
    border-color: #2E6DB4;
    color: #fff;
}

/* ===== 按钮 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    border: none;
}

.btn-primary {
    background: #2E6DB4;
    color: #fff;
}

.btn-primary:hover {
    background: #1B3A6B;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27,58,107,0.3);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

.btn-dark {
    background: #1B3A6B;
    color: #fff;
}

.btn-dark:hover {
    background: #2E6DB4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27,58,107,0.3);
}

.btn-light {
    background: #fff;
    color: #1B3A6B;
}

.btn-light:hover {
    background: #F0F4F8;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 13px;
}

/* ===== 区块标题 ===== */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-label {
    display: inline-block;
    color: #2E6DB4;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    color: #1B3A6B;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== 内页 Banner ===== */
.page-banner {
    position: relative;
    height: 280px;
    background: #1B3A6B;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 280"><defs><linearGradient id="pg" x1="0%25" y1="0%25" x2="100%25" y2="100%25"><stop offset="0%25" style="stop-color:%231B3A6B"/><stop offset="100%25" style="stop-color:%232E6DB4"/></linearGradient></defs><rect width="1200" height="280" fill="url(%23pg)"/><circle cx="100" cy="80" r="150" fill="rgba(255,255,255,0.03)"/><circle cx="1000" cy="200" r="120" fill="rgba(255,255,255,0.02)"/></svg>') center/cover;
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    font-size: 36px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb-separator {
    color: rgba(255,255,255,0.4);
}

/* ===== 主内容区 ===== */
.main-content {
    padding: 60px 0;
    background: #F8FAFC;
    min-height: 500px;
}

.content-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    align-items: start;
}

.content-layout.full-width {
    grid-template-columns: 1fr;
}

/* ===== 侧边栏 ===== */
.sidebar {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #F0F4F8;
    position: sticky;
    top: 92px;
}

.sidebar-title {
    background: #1B3A6B;
    color: #fff;
    padding: 18px 20px;
    font-size: 16px;
    font-weight: 600;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    border-bottom: 1px solid #F0F4F8;
}

.sidebar-menu li:last-child {
    border-bottom: none;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: #F8FAFC;
    color: #2E6DB4;
    padding-left: 24px;
}

.sidebar-menu a.active {
    border-left: 3px solid #2E6DB4;
}

.sidebar-menu a::after {
    content: '›';
    font-size: 18px;
    color: #ccc;
}

.sidebar-contact {
    margin-top: 20px;
    background: #1B3A6B;
    border-radius: 8px;
    padding: 24px;
    color: #fff;
}

.sidebar-contact h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.sidebar-contact p {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* ===== 内容卡片 ===== */
.content-card {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    border: 1px solid #F0F4F8;
}

.content-card h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1B3A6B;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #F0F4F8;
}

.content-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1B3A6B;
    margin: 28px 0 16px;
}

.content-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 16px;
}

.content-card .card-img {
    max-width: 100%;
    border-radius: 8px;
    margin: 16px 0;
}

/* ===== 分页 ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
    background: #fff;
    border: 1px solid #E8F0FE;
    text-decoration: none;
    transition: all 0.3s;
}

.pagination a:hover,
.pagination span.current {
    background: #2E6DB4;
    color: #fff;
    border-color: #2E6DB4;
}

.pagination .ellipsis {
    border: none;
    background: transparent;
    cursor: default;
}

/* ===== 快捷入口栏 ===== */
.quick-links {
    padding: 0;
    background: #2E6DB4;
}

.quick-links .container {
    display: flex;
}

.quick-link-item {
    flex: 1;
    padding: 24px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.quick-link-item:last-child {
    border-right: none;
}

.quick-link-item:hover {
    background: rgba(255,255,255,0.1);
}

.quick-link-item .icon {
    font-size: 24px;
    margin-bottom: 8px;
    width: auto;
    height: auto;
}

.quick-link-item h4 {
    font-size: 15px;
    font-weight: 500;
}

/* ===== 页脚 ===== */
.footer {
    background: #0F2447;
    color: #fff;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
}

.footer-links h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .content-layout {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: static;
        margin-bottom: 20px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 8px;
    }
    .nav-menu {
        display: none;
    }
    .page-banner {
        height: 220px;
    }
    .page-banner h1 {
        font-size: 26px;
    }
    .section-title {
        font-size: 24px;
    }
    .content-card {
        padding: 24px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .quick-links .container {
        flex-wrap: wrap;
    }
    .quick-link-item {
        flex: 0 0 50%;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .pagination a,
    .pagination span {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }
}
