/* Team page: measurements and local assets from BeHoly_site_2025_about_v2_2500px.psd. */
@font-face {
    font-family: 'BeHolyTeam';
    src: url('../fonts/GothamPro-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BeHolyTeam';
    src: url('../fonts/GothamPro-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.team-page {
    color: #151515;
    font-family: 'BeHolyTeam', 'GothamPro', Arial, sans-serif;
    font-weight: 500;
}

.team-page .container {
    max-width: 1240px;
    padding-right: 20px;
    padding-left: 20px;
}

.team-copy-banner {
    padding: 118px 0 115px;
}

.team-copy-banner--intro {
    background: #010101;
    color: #ababab;
}

.team-page .team-copy-banner__title {
    margin: 0 0 55px;
    color: #79ffd2;
    font-size: 63.36px;
    font-weight: 700;
    line-height: 68.08px;
    text-transform: uppercase;
}

.team-copy-banner__text {
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
}

.team-copy-banner__text p {
    margin: 0;
}

.team-copy-banner__text p + p {
    margin-top: 32px;
}

.team-copy-banner__text strong {
    color: #bdbdbd;
    font-weight: 700;
}

.team-people {
    padding: 90px 0 125px;
    background: #fff;
}

.team-page .team-section-title {
    position: relative;
    margin: 0 auto;
    color: #151515;
    font-size: 53px;
    font-weight: 700;
    line-height: 60px;
    text-align: center;
    text-transform: none;
}

.team-section-title span {
    position: relative;
    z-index: 1;
}

.team-section-title::after {
    position: absolute;
    width: 238px;
    height: 40px;
    background: url('../images/team/heading-underline.png') center / contain no-repeat;
    content: '';
}

.team-section-title--people {
    max-width: 760px;
}

.team-section-title--people::after {
    top: 33px;
    left: 87px;
}

.team-people__intro {
    max-width: 760px;
    margin: 40px auto 0;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
}

.team-page .team-members {
    display: grid;
    grid-template-columns: repeat(5, 183px);
    justify-content: space-between;
    gap: 40px 20px;
    margin: 90px 0 0;
    padding: 0;
    list-style: none;
}

.team-member__photo {
    display: block;
    width: 183px;
    height: 183px;
    border-radius: 50%;
    object-fit: cover;
}

.team-member__caption {
    margin-top: 28px;
    padding-left: 22px;
}

.team-page .team-member__name {
    margin: 0;
    font-size: 18.66px;
    font-weight: 500;
    line-height: 24px;
    text-transform: none;
    white-space: nowrap;
}

.team-member__role {
    margin: 14px 0 0;
    color: #878787;
    font-size: 14px;
    line-height: 19.5px;
    white-space: nowrap;
}

.team-copy-banner--trust {
    padding-top: 111px;
    padding-bottom: 115px;
    background: linear-gradient(90deg, #79ffd2, #99ff9a);
    color: #242424;
}

.team-page .team-copy-banner--trust .team-copy-banner__title {
    color: #fff;
}

.team-reasons {
    padding: 140px 0 175px;
    background: #f0f0f0;
}

.team-reasons__intro {
    max-width: 760px;
    margin: 0 auto 46px;
    font-size: 16px;
    line-height: 21.5px;
    text-align: center;
}

.team-section-title--reasons {
    max-width: 670px;
}

.team-section-title--reasons::after {
    top: 35px;
    left: 42px;
}

.team-reasons__rail {
    margin-top: 165px;
    border-top: 7px solid #79ffd2;
}

.team-page .team-reasons__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 49px 0 0;
    list-style: none;
}

.team-reason {
    position: relative;
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 20px;
}

.team-reason::before {
    position: absolute;
    top: -66px;
    left: 15px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #79ffd2;
    content: '';
}

.team-reason__number {
    color: #fff;
    font-size: 66.36px;
    font-weight: 700;
    line-height: 71px;
    text-align: center;
}

.team-page .team-reason h3 {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    line-height: 32px;
    text-transform: none;
}

.team-reason p {
    margin: 25px 0 0;
    font-size: 16px;
    line-height: 25px;
}

@media (max-width: 1100px) {
    .team-page .team-members {
        grid-template-columns: repeat(3, 183px);
        justify-content: center;
        gap: 48px 60px;
    }

    .team-reason {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 12px;
    }

    .team-reason__number {
        font-size: 50px;
        line-height: 60px;
    }

    .team-page .team-reason h3 {
        font-size: 24px;
        line-height: 29px;
    }
}

@media (max-width: 767px) {
    .team-copy-banner,
    .team-copy-banner--trust {
        padding: 65px 0;
    }

    .team-page .team-copy-banner__title {
        margin-bottom: 30px;
        font-size: clamp(28px, 6vw, 44px);
        line-height: 1.12;
    }

    .team-copy-banner__text {
        font-size: 18px;
        line-height: 27px;
    }

    .team-copy-banner__text p + p {
        margin-top: 27px;
    }

    .team-people {
        padding: 65px 0;
    }

    .team-page .team-section-title {
        max-width: 510px;
        font-size: clamp(25px, 4.7vw, 36px);
        line-height: 1.15;
    }

    .team-section-title::after {
        top: 16px;
        left: calc(50% - 145px);
        width: 175px;
        height: 30px;
    }

    .team-people__intro {
        margin-top: 30px;
        line-height: 24px;
    }

    .team-page .team-members {
        grid-template-columns: repeat(2, minmax(0, 183px));
        gap: 40px 30px;
        margin-top: 50px;
    }

    .team-member__photo {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }

    .team-member__caption {
        margin-top: 20px;
        padding-left: 0;
    }

    .team-page .team-member__name {
        font-size: 16px;
        line-height: 22px;
        white-space: normal;
    }

    .team-member__role {
        margin-top: 8px;
        font-size: 13px;
        line-height: 19px;
        white-space: normal;
        overflow-wrap: break-word;
    }

    .team-reasons {
        padding: 65px 0;
    }

    .team-reasons__intro {
        margin-bottom: 30px;
        line-height: 24px;
    }

    .team-reasons__intro br {
        display: none;
    }

    .team-reasons__rail {
        margin-top: 55px;
        border-top: 0;
    }

    .team-page .team-reasons__list {
        grid-template-columns: 1fr;
        gap: 0;
        padding-top: 0;
        border-left: 3px solid #79ffd2;
    }

    .team-reason {
        grid-template-columns: 65px minmax(0, 1fr);
        gap: 16px;
        padding: 0 0 40px 22px;
    }

    .team-reason:last-child {
        padding-bottom: 0;
    }

    .team-reason::before {
        top: 14px;
        left: -10px;
        width: 17px;
        height: 17px;
    }

    .team-page .team-reason h3 {
        font-size: 25px;
        line-height: 29px;
    }

    .team-reason p {
        margin-top: 18px;
    }
}

.team-page .process_about { overflow-x: clip; }
.team-page .timeline_about-item { position: relative; }
