/* ==========================================================================
   编辑团队 /team
   ========================================================================== */
.team-section {
    padding: 22px 0 52px;
}

.team-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    padding: 36px 38px;
    overflow: hidden;
    color: #fff;
    border-radius: 18px;
    background: linear-gradient(135deg, #0f5132 0%, #187a4d 54%, #2fa86a 100%);
}

.team-hero::before,
.team-hero::after {
    position: absolute;
    content: "";
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    pointer-events: none;
}

.team-hero::before {
    top: -140px;
    right: -100px;
    width: 340px;
    height: 340px;
}

.team-hero::after {
    bottom: -150px;
    left: 190px;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, .04);
}

.team-hero > * {
    position: relative;
    z-index: 1;
}

.team-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, .62);
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.team-hero h1 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.35;
}

.team-hero p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    line-height: 1.85;
}

.team-stats {
    display: flex;
    flex-shrink: 0;
    gap: 10px;
}

.team-stat {
    min-width: 104px;
    padding: 14px 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 12px;
    background: rgba(255, 255, 255, .1);
}

.team-stat strong {
    display: block;
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
}

.team-stat span {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, .62);
    font-size: 12px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.team-card {
    padding: 22px 24px;
    border: 1px solid #edf1f5;
    border-radius: 15px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.team-card:hover {
    transform: translateY(-2px);
    border-color: #d5ecdf;
    box-shadow: 0 16px 32px -26px rgba(24, 122, 77, .4);
}

.team-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.team-avatar {
    display: flex;
    flex: 0 0 56px;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .03em;
    border-radius: 50%;
    background: linear-gradient(135deg, #2f7fbc, #174c81);
}

.team-card--green .team-avatar {
    background: linear-gradient(135deg, #35a46c, #176c43);
}

.team-card--orange .team-avatar {
    background: linear-gradient(135deg, #f49a3f, #d86d00);
}

.team-card--cyan .team-avatar {
    background: linear-gradient(135deg, #2b9b99, #126b69);
}

.team-card-person {
    flex: 1;
    min-width: 0;
}

.team-card-person h2 {
    margin: 0 0 5px;
    overflow: hidden;
    color: #1b2a3a;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.team-card-person p {
    overflow: hidden;
    margin: 0;
    color: #98a2b3;
    font-size: 12px;
    line-height: 1.6;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.team-rating {
    flex-shrink: 0;
    text-align: right;
}

.team-rating strong {
    display: block;
    color: #ff7a00;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.team-rating span {
    color: #b8c0ca;
    font-size: 11px;
}

.team-rating-bar {
    position: relative;
    width: 90px;
    margin-top: 7px;
    overflow: hidden;
    color: #e5e9ef;
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 13px;
    letter-spacing: 1px;
    line-height: 1;
    white-space: nowrap;
}

.team-rating-bar .rating-fill {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    color: #ff9f1c;
    white-space: nowrap;
}

.team-card-subject {
    margin-bottom: 13px;
    color: #667085;
    font-size: 13px;
    line-height: 1.8;
    word-break: break-word;
}

.team-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.team-tag {
    padding: 4px 9px;
    color: #187a4d;
    font-size: 11px;
    line-height: 18px;
    border-radius: 999px;
    background: #eef8f2;
}

.team-tag--empty {
    color: #98a2b3;
    background: #f2f4f7;
}

.team-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 24px;
    padding: 24px 30px;
    border: 1px solid #e4f1e9;
    border-radius: 15px;
    background: linear-gradient(135deg, #f3fcf7, #eaf8f0);
}

.team-cta h2 {
    margin: 0 0 5px;
    color: #1b2a3a;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
}

.team-cta p {
    margin: 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.7;
}

.team-cta-actions {
    display: flex;
    flex-shrink: 0;
    gap: 10px;
}

.team-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 20px;
    color: #fff;
    font-size: 13px;
    border-radius: 9px;
    background: #187a4d;
    transition: background .18s ease;
}

.team-btn:hover {
    color: #fff;
    background: #0f5132;
}

.team-btn--ghost {
    color: #475467;
    border: 1px solid #d8e9df;
    background: #fff;
}

.team-btn--ghost:hover {
    color: #187a4d;
    background: #f7fbf9;
}

@media (max-width: 1000px) {
    .section.team-section {
        width: auto;
        min-width: 0;
        max-width: none;
        margin-left: 16px;
        margin-right: 16px;
    }

    .team-hero {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 820px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .team-cta-actions {
        width: 100%;
    }

    .team-btn {
        flex: 1;
    }
}

@media (max-width: 560px) {
    .section.team-section {
        margin-left: 0;
        margin-right: 0;
    }

    .team-hero {
        padding: 26px 22px;
    }

    .team-hero h1 {
        font-size: 25px;
    }

    .team-card {
        padding: 19px;
    }

    .team-card-head {
        align-items: flex-start;
    }

    .team-rating {
        display: none;
    }
}
