
/* --- 1. 基础重置与容器 --- */
.team-section {
    background-color: #f8f9fb;
    padding: 60px 4%;
    color: #333;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    overflow: hidden; /* 防止任何意外的溢出 */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* --- 2. 顶部标题区域 --- */
.tag-row {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.tag-pill {
    background: #eef2f6;
    border: 1px solid rgba(52, 152, 219, 0.2);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: #3498db;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.team-main-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: #003366;
    margin: 0 0 20px 0;
    letter-spacing: -1px;
}

.team-subtitle {
    color: #666;
    max-width: 650px;
    margin: 0 auto 60px;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* --- 3. 成员网格布局 (PC端) --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 80px;
}

.team-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 15px;
    border: 2px solid #003366; 
    box-shadow: 0 10px 25px rgba(0, 51, 102, 0.1); 
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: #3498db; 
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.2);
}

.member-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    background-color: #f0f2f5; 
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h4 {
    font-size: 1.25rem;
    margin: 0 0 5px 0;
    color: #003366;
    font-weight: 700;
}

.team-card p {
    font-size: 14px;
    color: #3498db;
    font-weight: 500;
    margin: 0;
}

/* --- 4. Partner CTA Banner --- */
.partner-cta-banner {
    background-color: #003366; 
    background-image: linear-gradient(135deg, #003366 0%, #004080 100%);
    border-radius: 16px;
    padding: 60px 40px;
    max-width: 1000px;
    margin: 0 auto;
    color: #fff;
    box-shadow: 0 20px 40px rgba(0, 51, 102, 0.2);
    box-sizing: border-box;
}

.cta-content h3 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 800;
    color: #fff;
}

.cta-accent {
    color: #3498db;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

/* 特性展示 (钩子部分) */
.cta-features {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 35px;
    font-size: 14px;
    flex-wrap: wrap; /* 允许手机端自动换行 */
}

.cta-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    white-space: nowrap;
}

.cta-features i { 
    color: #3498db;
    font-weight: bold;
    font-style: normal; /* 确保 ✓ 不倾斜 */
}

/* 按钮样式 */
.btn-partner-tm {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #3498db;
    color: #fff;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
}

.btn-partner-tm:hover {
    background-color: #fff;
    color: #003366;
    transform: translateY(-3px);
    text-decoration: none;
}

/* --- 5. 响应式修正 (针对手机端优化) --- */
@media (max-width: 900px) {
    /* 人像保持两列 */
    .team-grid { 
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 15px; 
    }

    .team-section {
        padding: 40px 15px;
    }

    /* 钩子部分垂直堆叠并居中 */
    .cta-features {
        flex-direction: column; 
        align-items: center;    
        justify-content: center;
        gap: 12px;
        margin-bottom: 30px;
    }

    .partner-cta-banner {
        padding: 40px 20px;
    }

    .cta-content h3 {
        font-size: 24px;
    }

    /* 按钮宽度修正，确保不超出界限 */
    .btn-partner-tm {
        padding: 14px 20px;
        font-size: 13px;
        width: 100%;          /* 手机端加宽 */
        max-width: 280px;     /* 限制最大宽度，防止撞边 */
    }
}

/* 针对 400px 以下极窄屏幕 */
@media (max-width: 400px) {
    .team-grid {
        gap: 10px;
    }
    .team-card {
        padding: 12px;
    }
    .team-card h4 {
        font-size: 1rem;
    }
    .btn-partner-tm {
        max-width: 240px; 
    }
}
