﻿/* —————— 顶级大气标题样式 —————— */
.profile-banner {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
    background: #0F3B6F; /* 主色：藏青校园风 */
}
    /* 渐变蒙版+质感底色 */
    .profile-banner::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(rgba(15, 59, 111, 0.75), rgba(15, 59, 111, 0.85));
        z-index: 1;
    }
    /* 背景图 自行替换成你校园高清图 */
    .profile-banner .banner-bg {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
/* 文字容器居中 */
.banner-text-box {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 2;
    text-align: center;
    color: #fff;
    width: 90%;
}

    .banner-text-box .sub-title {
        font-size: 26px;
        letter-spacing: 2px;
        margin-bottom: 20px;
        color: #e6e6e6;
    }

    .banner-text-box .slogan {
        font-size: 20px;
        color: #f0d8a0; /* 浅金色点缀 */
        letter-spacing: 1px;
    }

/* 移动端自动适配 */
@media (max-width: 768px) {
    .profile-banner {
        height: 260px;
    }

    .banner-text-box .sub-title {
        font-size: 16px;
    }
}

.banner-box {
    position: relative;
    z-index: 2;
    text-align: center;
}

    .banner-box h1 {
        font-size: 46px;
        font-weight: bold;
        margin-bottom: 14px;
        letter-spacing: 2px;
        color: #0B3B82;
    }

/* 中间内容 */
.container {
    width:70%;
    margin: -80px auto 70px;
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    position: relative;
    z-index: 10
}

.sidebar {
    flex: 0 0 260px;
    background: white;
    border-radius: 10px;
    padding:34px 34px 0 24px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1)
}

.sidebar-title {
    font-size: 19px;
    color: #0B3B82;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    font-weight: bold
}

.sidebar-menu a {
    display: block;
    padding: 14px 18px;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 8px
}

    .sidebar-menu a.active, .sidebar-menu a:hover {
        background: #0B3B82;
        color: white;
        padding-left: 24px
    }

.main {
    flex: 1;
    min-width: 300px
}

.card {
    background: #fff;
    border-radius: 10px;
    padding: 44px;
    margin-bottom: 32px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1)
}

.card:last-child{
    margin-bottom: 0;
}

    .card h2 {
        color: #0B3B82;
        font-size: 27px;
        margin-bottom: 26px;
        position: relative;
        padding-left: 18px
    }

        .card h2::before {
            content: "";
            width: 5px;
            height: 26px;
            background: #FFD54F;
            position: absolute;
            left: 0;
            top: 6px;
            border-radius: 2px
        }

    .card p {
        font-size: 16px;
        line-height: 1.9;
        color: #444;
        text-align: justify;
        text-indent: 2em;
        margin-bottom: 18px
    }

#xxxh img {
    width: 250px;
    height: 250px;
}

/* 移动端自动适配 */
@media (max-width: 768px) {
    #xxxh img {
        width: 150px;
        height: 150px;
    }
}

.info-list {
    padding-left: 24px;
    margin: 12px 0
}

    .info-list li {
        line-height: 2.1;
        font-size: 15px;
        color: #333;
        margin-bottom: 8px
    }

.img-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px;
    margin-top: 24px
}

    .img-grid img {
        width: 100%;
        height: 210px;
        object-fit: cover;
        border-radius: 10px
    }
