﻿.gototop {
    position: fixed; /* 固定悬浮 */
    right: 20px;
    bottom: 2px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    border: none;
    font-size: 20px;
    cursor: pointer;
    text-align: center;
    font-weight: 900;
}
/* ===== 主体 ===== */
.main {
    padding: 44px 0 56px;
    min-height: 70vh;
}

    .main .container {
        display: flex;
        gap: 36px;
        align-items: flex-start;
    }

/* ===== 左侧内容区 ===== */
.content-area {
    flex: 1;
    background: #ffffff;
    border-radius: 5px;
    padding: 38px 42px 42px;
    box-shadow: 0 8px 40px rgba(0, 62, 107, 0.10);
    border: 1px solid rgba(59, 143, 194, 0.10);
    min-height: 480px;
    position: relative;
}
/* 每个内容块默认隐藏，通过 JS 控制显示 */
.content-block {
    display: none;
    animation: fadeSlide 0.35s ease;
}

    .content-block.active {
        display: block;
    }

    .content-block .page-title {
        display: flex;
        align-items: center;
        gap: 14px;
        font-size: 28px;
        font-weight: 700;
        color: #003E6B;
        margin-bottom: 10px;
        padding-bottom: 18px;
        border-bottom: 3px solid #E8F2FA;
        flex-wrap: wrap;
    }

        .content-block .page-title i {
            color: #3B8FC2;
            font-size: 30px;
            background: #E8F2FA;
            padding: 10px;
            border-radius: 14px;
        }

        .content-block .page-title small {
            font-size: 15px;
            font-weight: 400;
            color: #5f7d99;
            margin-left: auto;
            background: #E8F2FA;
            padding: 4px 16px;
            border-radius: 30px;
        }

.content-body {
    margin-top: 22px;
}

    .content-body h3 {
        font-size: 20px;
        color: #1A5A8A;
        margin: 22px 0 12px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .content-body h3 i {
            color: #3B8FC2;
        }

    .content-body p {
        color: #2c3f53;
        font-size: 15.5px;
        line-height: 1.8;
        margin-bottom: 16px;
    }

    .content-body ul {
        padding-left: 6px;
        margin: 10px 0 18px;
    }

        .content-body ul li {
            padding: 10px 0 10px 34px;
            position: relative;
            border-bottom: 1px solid #f0f6fc;
            font-size: 15px;
            color: #1f3448;
        }

            .content-body ul li:last-child {
                border-bottom: none;
            }

            .content-body ul li::before {
                content: "▹";
                position: absolute;
                left: 6px;
                color: #3B8FC2;
                font-size: 18px;
                font-weight: 700;
            }

            .content-body ul li i {
                color: #3B8FC2;
                margin-right: 10px;
                width: 20px;
                text-align: center;
            }

    .content-body .badge-list {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin: 16px 0 8px;
    }

        .content-body .badge-list span {
            background: #E8F2FA;
            color: #003E6B;
            padding: 6px 20px;
            border-radius: 30px;
            font-size: 14px;
            font-weight: 500;
            border: 1px solid rgba(59, 143, 194, 0.15);
        }

            .content-body .badge-list span i {
                margin-right: 6px;
                color: #3B8FC2;
            }

    .content-body .contact-info {
        background: #f7fbff;
        border-radius: 16px;
        padding: 24px 28px;
        border-left: 5px solid #3B8FC2;
        margin-top: 16px;
    }

        .content-body .contact-info p {
            margin-bottom: 6px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .content-body .contact-info i {
            width: 26px;
            color: #1A5A8A;
            font-size: 17px;
        }

@keyframes fadeSlide {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== 右侧子模块菜单（自适应） ===== */
.sidebar {
    width: 300px;
    flex-shrink: 0;
    background: #ffffff;
    border-radius: 5px;
    padding: 28px 22px 32px;
    box-shadow: 0 8px 40px rgba(0, 62, 107, 0.10);
    border: 1px solid rgba(59, 143, 194, 0.10);
    position: sticky;
    top: 100px;
    transition: all 0.3s ease;
}

    .sidebar .menu-title {
        font-size: 18px;
        font-weight: 700;
        color: #003E6B;
        padding-bottom: 16px;
        border-bottom: 2px solid #E8F2FA;
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 16px;
    }

        .sidebar .menu-title i {
            color: #3B8FC2;
            font-size: 20px;
        }

    .sidebar .menu-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 16px;
        border-radius: 10px;
        cursor: pointer;
        transition: all 0.25s ease;
        color: #2c3f53;
        font-size: 15px;
        font-weight: 800;
        margin-bottom: 4px;
        border-left: 4px solid transparent;
        user-select: none;
    }

        .sidebar .menu-item i {
            width: 26px;
            font-size: 18px;
            color: #6f8ba5;
            transition: color 0.25s;
            text-align: center;
        }

        .sidebar .menu-item:hover {
            background: #E8F2FA;
            color: #003E6B;
            transform: translateX(4px);
        }

            .sidebar .menu-item:hover i {
                color: #3B8FC2;
            }

        .sidebar .menu-item.active {
            background: linear-gradient(135deg, #E8F2FA, #d6eaf8);
            color: #003E6B;
            border-left-color: #3B8FC2;
            box-shadow: 0 2px 8px rgba(0, 62, 107, 0.08);
        }

            .sidebar .menu-item.active i {
                color: #1A5A8A;
            }

        .sidebar .menu-item .badge {
            margin-left: auto;
            background: #E8F2FA;
            color: #1A5A8A;
            font-size: 12px;
            font-weight: 600;
            padding: 2px 12px;
            border-radius: 30px;
        }




/* ===== 响应式：平板及手机 ===== */
@media (max-width: 992px) {
    .main .container {
        flex-direction: column;
        gap: 28px;
    }

    .sidebar {
        width: 100%;
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        padding: 20px 18px;
        top: auto;
    }

        .sidebar .menu-title {
            width: 100%;
            margin-bottom: 8px;
            padding-bottom: 10px;
        }

        .sidebar .menu-item {
            flex: 1 0 auto;
            padding: 10px 16px;
            margin-bottom: 0;
            border-left: none;
            border-bottom: 3px solid transparent;
            border-radius: 10px;
            min-width: 100px;
            justify-content: center;
        }

            .sidebar .menu-item.active {
                border-left: none;
                border-bottom-color: #3B8FC2;
            }

            .sidebar .menu-item .badge {
                display: none;
            }

    .content-area {
        padding: 28px 24px;
    }

    .header .container {
        height: auto;
        padding: 14px 20px;
        gap: 10px;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
    }

        .nav-links li a {
            padding: 6px 14px;
            font-size: 14px;
        }

    .logo {
        font-size: 20px;
    }

    .content-block .page-title {
        font-size: 22px;
    }

        .content-block .page-title small {
            margin-left: 0;
            font-size: 13px;
        }
}

@media (max-width: 600px) {
    .container {
        padding: 0 16px;
    }

    .content-area {
        padding: 20px 16px;
    }

    .sidebar {
        padding: 16px 12px;
    }

        .sidebar .menu-item {
            min-width: 70px;
            font-size: 14px;
            padding: 8px 12px;
        }

    .content-body ul li {
        padding-left: 28px;
        font-size: 14px;
    }

    .footer .container {
        flex-direction: column;
        text-align: center;
    }

    .footer .footer-links {
        justify-content: center;
        gap: 12px;
    }

    .nav-links li a {
        font-size: 13px;
        padding: 4px 10px;
    }

        .nav-links li a i {
            margin-right: 4px;
        }

    .logo {
        font-size: 18px;
    }

        .logo i {
            font-size: 24px;
        }
}


.subtitle {
    font-weight: 900;
    font-size: 36px;
}
