.main-page {
    margin-top: 130px;
}

.header {
    background-color: #fff;
    height: 130px;
}

.nav-logo svg {
    fill: var(--primary-color);
}

.main-navigation ul li>a {
    color: var(--primary-color);
}

.header.scroll .nav-logo svg {
    fill: #fff;
}

.header.scroll .main-navigation ul li>a {
    color: #fff;
}

.header.scroll .main-navigation ul li.ing>a {
    color: var(--secondary-color);
}

.banner-section {
    padding-top: 35%;
    background-image: url('/assets/images/team-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.banner-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 50%;
    left: 60px;
    transform: translate3d(0, -50%, 0);
    color: #fff;
    padding: 40px;
    border-radius: 10px;
    backdrop-filter: blur(1px);
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
}

.banner-content h1 {
    font-size: 60px;
    font-weight: 600;
    font-style: italic;
}

.banner-content h2 {
    font-size: 25px;
    font-weight: 400;
    line-height: 1.3;
    opacity: 0.9;
    color: #fff;
}

/* Team List Section */
.team-list-section {
    padding: 80px 0;
    background-color: #f0f0f0;
}


.team-list-title {
    font-size: 50px;
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.2;
    font-style: italic;
    width: 100%;
    position: relative;
    padding-left: 20px;
    margin-bottom: 40px;
}

.team-list-title::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 3px;
    height: 60%;
    border-radius: 5px;
    background-color: var(--secondary-color);
}

.team-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.team-member-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-member-card:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 25px 0 rgba(0, 0, 0, 0.15);
}

/* 带图片的团队成员卡片 */
.team-member-card-with-image {
    display: flex;
    flex-direction: column;
    padding: 40px;
}

.team-member-card-with-image .team-member-content-wrapper {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.team-member-image {
    flex-shrink: 0;
    width: 95px;
    height: 95px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.1);
    background-color: #f5f5f5;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.team-member-card-with-image:hover .team-member-image img {
    transform: scale(1.05);
}

.team-member-content {
    flex: 1;
    min-width: 0;
}


.team-member-card-with-image .team-member-header::after {
    display: block;
}



.team-member-card-with-image .team-member-bio::before {
    display: block;
}


.team-member-header {
    /* margin-bottom: 25px; */
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(28, 44, 60, 0.1);
    position: relative;
}

.team-member-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.team-member-name {
    font-size: 28px;
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 10px 0;
    font-style: italic;
}

.team-member-header p {
    font-size: 18px;
    color: var(--secondary-color);
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    font-family: var(--family-font-secondary);
    font-style: italic;
}

.team-member-bio {
    padding-left: 30px;
    position: relative;
    margin-top: 25px;
}

.team-member-bio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background-color: var(--secondary-color);
    border-radius: 5px;
    opacity: 0.3;
}

.team-member-bio p {
    font-size: 17px;
    color: rgba(0, 0, 0, 0.7);
    font-weight: 400;
    line-height: 1.8;
    font-family: var(--family-font-secondary);
    margin: 0 0 10px 0;
}

.team-member-bio p:empty {
    display: none;
}

.team-member-bio:empty {
    display: none;
}




@media screen and (max-width: 992px) {
    .banner-section {
        padding-top: 0;
        height: 50vh;
    }

    .banner-content {
        width: 100%;
        left: 0;
        padding: 15px 15px 0 15px;
        text-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
    }

    .header {
        height: 90px;
        background-color: transparent;
    }

    .nav-logo svg {
        /* fill: #fff; */
    }

    .mobile-menu-toggle .menu-icon-line {
        background-color: var(--primary-color);
        transition: all 0.3s ease;
    }

    .header.scroll .mobile-menu-toggle .menu-icon-line {
        background-color: #fff;
    }

    .main-page {
        margin-top: 0px;
    }

    .banner-content h1 {
        font-size: 30px;
        margin-bottom: 15px;
    }

    .banner-content h2 {
        font-size: 17px;
        color: #fff;
    }

    .team-list-section {
        padding: 40px 0;
    }

    .team-list-title {
        font-size: 30px;
        margin-bottom: 30px;
    }

    .team-list-wrapper {
        gap: 20px;
    }

    .team-member-card {
        padding: 25px 15px;
    }

    .team-member-card:hover {
        transform: translateX(0);
    }

    /* 移动端：带图片的卡片改为上下布局 */
    .team-member-card-with-image {
        padding: 25px 15px;
    }

    .team-member-card-with-image .team-member-content-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .team-member-image {
        width: 100%;
        height: auto;
        margin: 0 auto;
    }

    .team-member-name {
        font-size: 22px;
    }

    .team-member-header p {
        font-size: 16px;
    }

    .team-member-bio {
        padding-left: 15px;
    }

    .team-member-bio::before {
        width: 2px;
    }

    .team-member-bio p {
        font-size: 15px;
        line-height: 1.6;
    }
}