.team-cards__wrap {
    padding-bottom: 64px;
}

.team-cards__col {
    padding: 0 16px;
    margin: 30px 0;
    display: block;
    transition: all 300ms ease-in-out;
}

.team-cards__top {
    position: relative;
    z-index: 3;
    min-width: 90%;
    background: var(--bg-light);
    border-radius: 10px;
    padding: 20px 32px;
    margin-top: -50px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    box-shadow: 0 0.375rem 1.5rem 0 rgba(140, 152, 164, 0.3);
}

.team-cards__top .btn {
    padding: 10px 20px;
}

.team-card__title {
    font-size: 25px;
    margin-bottom: 5px;
}

.team-card img {
    width: 100%;
    max-height: 390px;
    object-fit: cover;
    border-radius: 10px;
    opacity: 1;
    transition: opacity 300ms ease-in-out;
}


.team-cards__bio-wrapper {
    min-width: 320px;
}

.team-cards__bio .fluid-width-video-wrapper {
    position: initial;
}

.team-card__bio-content {
    max-height: 320px;
    overflow-y: scroll;
    padding-bottom: 50px;
    padding-right: 10px;
}

.team-card__bio-content::-webkit-scrollbar {
    height: 10px;
    width: 10px;
}

.team-card__bio-content::-webkit-scrollbar-track {
    border-radius: 5px;
    background-color: #EEEEEE;
}

.team-card__bio-content::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: color-mix(in srgb,var(--color-secondary),#000 30%);
}

.team-card {
    position: relative;
}

.team-card__video-btn {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.team-card__video-btn-inner {
    border: 1px solid transparent;
    background: var(--color-primary);
    padding-left: 6px;
    border-radius: 10px;
    margin-top: 0;
    transition: all 300ms ease-in-out;
    opacity: 0;
}

.team-card__image-wrap {
    background: rgba(0, 0, 0, 1);
    border-radius: 10px;
    max-height: 390px;
    overflow: hidden;
    transition: background 300ms ease-in-out;
}

.team-card:hover .team-card__video-btn-inner {
    margin-top: -30px;
    opacity: 1;
}

.team-card:hover .team-card__image-wrap img {
    opacity: .7;
}

@media (min-width: 768px) {
    .team-card__bio-content {
        max-height: none;
    }
    .team-cards__wrap {
        position: relative;
        /* margin: 0 -52px; */
        margin: 0;
        padding-bottom: 0;
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
    }
    .team-cards__col {
        width: 50%;
    }
    .team-card img,
    .team-card__image-wrap {
        max-height: 450px;
    }
    .team-cards__bio-wrapper {
        min-width: 600px;
    }
}

@media (min-width: 1024px) {
    .team-cards__col {
        width: 50%;
    }
}

@media (min-width: 1200px) {
    .team-cards__wrap {
        display: flex;
        flex-wrap: wrap;
        margin: 0 -16px;
        justify-content: center;
    }
    .team-cards__col {
        width: 25%;
        display: block !important;
    }
}

@media (min-width: 1600px) {
}
