/* Team page styles */

.team-hero-section {
    padding-bottom: 50px !important;
    min-height: auto !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.team-hero-section .container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-hero-section .hero-content {
    padding: 60px 0 50px;
    margin-top: 0 !important;
    max-width: 100% !important;
    width: 100%;
    text-align: center;
}

.team-hero-section .hero-content h1 {
    color: var(--white);
    font-size: 44px;
    line-height: 60px;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}

.backed-by-inline {
    margin-top: 25px;
    padding-top: 25px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.backed-by-inline .backed-by-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    font-weight: 400;
    opacity: 0.8;
}

.backed-by-inline .logo {
    width: 180px;
    height: 60px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 8px 14px;
    display: inline-flex;
    align-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
}

.backed-by-inline .logo img {
    height: 50px;
    width: 100%;
    object-fit: contain;
}

.mission-section {
    display: none;
}

.team-section {
    padding: 55px 0 55px;
}

.team-section .team-list {
    padding-top: 75px;
}

.team-box .name-with-linkedin {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 5px;
}

.team-box .name-with-linkedin + p.text-center {
    margin-bottom: 15px;
    margin-top: 0;
}

.team-box .name-with-linkedin h4 {
    margin-bottom: 0;
}

.team-box .name-with-linkedin a {
    display: inline-block;
    line-height: 0;
}

.team-box .name-with-linkedin a img {
    width: 20px;
    height: 20px;
}

.open-position-cta {
    margin-top: 10px;
    font-style: italic;
}

.open-position-link {
    color: inherit;
    text-decoration: underline;
}

/* Fix navbar alignment on tablet */
@media (max-width: 991.9px) {
    .team-hero-section nav .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}

@media (min-width: 768px) {
    .team-hero-section .hero-content h1 {
        font-size: 44px;
        line-height: 60px;
        font-weight: 700;
    }
}

@media (max-width: 767.9px) {
    .team-hero-section nav .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .team-hero-section {
        overflow: hidden;
        background-image: url(../images/hero-mobile-bg.png) !important;
        background-position: top center;
        row-gap: 200px;
        padding-bottom: 100px;
    }

    .team-hero-section:after {
        display: none;
    }

    .team-hero-section .container .hero-content {
        margin-top: 65px !important;
        text-align: center;
        max-width: 100% !important;
    }

    .team-hero-section .hero-content {
        margin-top: 65px !important;
        padding: 0 !important;
    }

    .team-hero-section .container .hero-content h1.text-white,
    .team-hero-section .container .hero-content h1,
    .team-hero-section .hero-content h1.text-white,
    .team-hero-section .hero-content h1 {
        font-size: 36px !important;
        line-height: 46px !important;
        margin-bottom: 0 !important;
        font-weight: 400 !important;
        color: var(--white) !important;
    }

    .team-hero-section .backed-by-inline {
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .team-hero-section .backed-by-inline .backed-by-text {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 12px;
        font-weight: 400;
        opacity: 0.8;
    }

    .team-hero-section .backed-by-inline .logo {
        width: 180px;
        height: 60px;
        border: 1px solid rgba(255, 255, 255, 0.25);
        padding: 8px 14px;
        display: inline-flex;
        align-items: center;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.1);
    }

    .team-hero-section .backed-by-inline .logo img {
        height: 50px;
        width: 100%;
        object-fit: contain;
    }

    .team-hero-section .hero-shape {
        height: 80px;
        text-align: center;
        margin-bottom: -1px;
    }

    .team-hero-section .hero-shape img {
        height: 100%;
        width: 240%;
        margin-left: -70%;
        object-fit: cover;
        object-position: bottom center;
    }
}
