.teamsContainer {}

.teamsContainer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部横幅 */
.teamsContainer .hero-banner {
    background:
        linear-gradient(rgba(12, 44, 68, 0.8), rgba(8, 26, 42, 0.9)),
        url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
    color: var(--text-light);
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
}

.teamsContainer .hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: 0 auto;
    padding: 0 20px;
}

.teamsContainer .section-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 20px;
    color: var(--accent-gold);
}

.teamsContainer .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: var(--accent-gold);
}

.teamsContainer .section-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 30px auto 0;
    line-height: 1.8;
    font-weight: 400;
}

/* 律师团队展示 */
.teamsContainer .team-section {
    padding: 80px 0 60px;
}

.teamsContainer .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.teamsContainer .section-header h2 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.teamsContainer .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-gold);
}

.teamsContainer .section-header p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 30px auto 0;
    line-height: 1.8;
}

.teamsContainer .team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.teamsContainer .team-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.teamsContainer .team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.teamsContainer .card-img {
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.teamsContainer .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.teamsContainer .team-card:hover .card-img img {
    transform: scale(1.05);
}

.teamsContainer .card-content {
    padding: 25px;
    text-align: center;
}

.teamsContainer .card-content h3 {
    font-size: 1.4rem;
    color: var(--dark-blue);
    margin-bottom: 8px;
    font-weight: 700;
    color: #333;
}

.teamsContainer .card-content h4 {
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 500;
    margin-bottom: 5px;
    font-style: italic;
}

.teamsContainer .divider {
    height: 2px;
    width: 60px;
    background: var(--accent-gold);
    margin: 15px auto;
}

.teamsContainer .card-content p {
    font-size: 0.95rem;
    color: var(--secondary-blue);
    font-weight: 600;
    letter-spacing: 1px;
}



/* 响应式设计 */
@media (max-width: 992px) {
    .teamsContainer .team-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .pageAboutHead {
        height: 50vh;
    }

    .pageAboutTitle {
        font-size: 2.8rem;
    }

    .pageAboutText {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .target-item {
        flex-direction: column;
        gap: 15px;
    }
}