.team-grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    isolation: isolate;
}

.team-grid.columns-2 .person-single {
    width: 33.33%;
    height: 50vh;
    height: 50lvh;
}

.team-grid.columns-3 .person-single {
    width: 33.33%;
}

.team-grid.columns-4 .person-single {
    width: 25%;
}

.team-grid.columns-5 .person-single {
    width: 20%;
}

.team-grid.columns-6 .person-single {
    width: 16.66%;
}

.team-grid.columns-7 .person-single {
    width: 14.285%;
}

.team-grid.columns-8 .person-single {
    width: 12.5%;
}



@media (max-width: 1400px) {
    .team-grid .person-single {
        width: 25% !important;
    }

    .team-grid.columns-2 .person-single {
        width: 33.33% !important;
    }

}

@media (max-width: 1000px) {
    .team-grid .person-single {
        width: 33.33% !important;
    }
}

@media (max-width: 720px) {
    .team-grid .person-single,
    .team-grid.columns-2 .person-single{
        width: 50% !important;
    }

    .team-grid .person-single {
        height: 50vh;
        height: 50lvh;
    }
}

@media (max-width: 480px) {
    .team-grid {
        /*grid-template-columns: repeat(1, 1fr);*/
    }
}


.person-single {
    padding: 0.5rem;
    height: 33.33vh;
    height: 33.33lvh;
    position: relative;
    display: -ms-grid;
    display: grid;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}

.person-single:before {
    content: '';
    height: 100%;
    display: block;
    width: 100%;
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.6)), color-stop(60%, rgba(255, 255, 255, 0)), to(rgba(255, 255, 255, 0)));
    background: -o-linear-gradient(bottom, rgba(0, 0, 0, 0.6) 0%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0) 100%);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0) 100%);
    z-index: 10;
    position: absolute;
}

.person-single a,
.person-single p {
    color: #fff;
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.person-single h3 {
    margin-bottom: 0.4rem;
}

.person-single a:hover {
    padding-left: 0.5rem;
    margin-right: -0.5rem;
}

.person-single .bg-image {
    position: absolute;
    -o-object-fit: cover;
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.person-text {
    position: relative;
    z-index: 50;
    text-align: center;
    line-height: 1;
}

.person-text p {
    text-transform: uppercase;
    margin-bottom: 0px;
}