/* ============================================================
   关于我们页面专属样式
   ============================================================ */

/* 横幅图 */
.page-banner {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 61, 122, 0.8) 0%, rgba(0, 61, 122, 0.3) 100%);
    display: flex;
    align-items: center;
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.banner-title {
    font-size: 48px;
    color: #ffffff;
    font-weight: 300;
    margin: 0 0 10px 0;
    letter-spacing: 2px;
}

.banner-subtitle {
    font-size: 28px;
    color: #ffffff;
    font-weight: 400;
    margin: 0 0 20px 0;
}

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

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s;
}

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

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

/* 内容区 */
.page-content {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
}

/* 侧边栏 */
.sidebar {
    background-color: #ffffff;
    padding: 0;
    height: fit-content;
}

.sidebar-title {
    font-size: 20px;
    color: #ffffff;
    background-color: #4a6fa5;
    padding: 20px;
    margin: 0;
    font-weight: 500;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
}

.sidebar-nav-item {
    padding: 15px 20px;
    font-size: 15px;
    color: #333333;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
    position: relative;
}

.sidebar-nav-item:hover {
    background-color: #f8f8f8;
    color: #4a6fa5;
    padding-left: 25px;
}

.sidebar-nav-item.active {
    color: #2e549a;
    font-weight: 500;
}

.sidebar-nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background-color: #2e549a;
}

/* 主内容区 */
.main-content {
    background-color: #ffffff;
    padding: 40px;
}

.content-section {
    margin-bottom: 40px;
}

.content-title {
    font-size: 26px;
    color: #333333;
    font-weight: 500;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #4a6fa5;
    position: relative;
}

.content-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background-color: #003d7a;
}

.content-body {
    line-height: 1.8;
}

.content-body p {
    font-size: 15px;
    color: #666666;
    margin-bottom: 20px;
    text-indent: 2em;
}

.content-body p:last-child {
    margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .banner-title {
        font-size: 40px;
    }

    .banner-subtitle {
        font-size: 24px;
    }

    .content-wrapper {
        grid-template-columns: 220px 1fr;
        gap: 30px;
    }

    .main-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-banner {
        height: 300px;
    }

    .banner-title {
        font-size: 32px;
    }

    .banner-subtitle {
        font-size: 20px;
    }

    .breadcrumb {
        font-size: 13px;
    }

    .page-content {
        padding: 40px 0;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .sidebar {
        order: 2;
    }

    .main-content {
        order: 1;
        padding: 25px 20px;
    }

    .content-title {
        font-size: 22px;
    }

    .content-body p {
        font-size: 14px;
    }
}
