
.team_grid_section .team_list {
    --bs-gutter-x: 15px;
    row-gap: 66px;
}
.team_list__item .image {
    position: relative;
    display: block;
    margin-bottom: 18px;
    overflow: hidden;
}
.team_list__item .image::after {
    content: '';
    display: block;
    padding-bottom: 120.31%;
}
.team_list__item .image img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}
.team_list__item .linkedin_mail {
    margin-top: 10px;
    display: flex;
    align-items: center;
}
.team_list__item .linkedin_mail > a {
    width: 21px;
    height: 21px;
    line-height: 0;
    text-decoration: none;
    display: inline-block;
}
.team_list__item .linkedin_mail > .linkedin {
    margin-right: 5px;
}

.team_list__item .overlay_content {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    top: 80%;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: all ease-in-out .4s;
    overflow-y: auto;
}
.team_list__item:hover .overlay_content {
    top: 0;
    opacity: 1;
    visibility: visible;
}
.team_list__item .overlay_content .name {
    font-size: 16px;
    color: #FFF;
    line-height: 1.4;
    margin-bottom: 8px;
}
.team_list__item .overlay_content .role {
    color: #FFF;
    font-size: 12px;
    line-height: 1.4;
    font-family: var(--fonts_OpenSans_SemiBold);
    text-transform: uppercase;
    margin-bottom: 12px;
}
.team_list__item .overlay_content .short_description,
.team_list__item .overlay_content .short_description > * {
    color: #FFF;
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.team_list__item .overlay_content .readMore {
    color: #FFF;
    text-transform: uppercase;
    margin-top: auto;
    font-size: 11px;
    font-family: var(--fonts_OpenSans_Bold);
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
}
.team_list__item .overlay_content .readMore:hover{
    color: var(--color_green);
}
.team__item_popup {
    position: relative;
}
.team__item_popup_close {
    position: absolute;
    right: 30px;
    top: 30px;
    width: 12px;
    height: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    border: 0 none;
    color: #000;
    transition: all ease-in-out .3s;
}
.team__item_popup_close:hover {
    color: var(--color_green);
}
.team__item_popup .popup_image_content {
    max-width: 1105px;
    background-color: #FFF;
    padding: 70px 60px;
    display: flex;    
}
.team__item_popup .image {
    position: relative;
    display: block;
    min-width: 307px;
    margin-bottom: auto;
    margin-right: 55px;
}
.team__item_popup .image::after {
    content: '';
    display: block;
    padding-bottom: 140.4%;
}
.team__item_popup .image img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}
.team__item_popup .content {
    width: 100%;
}
.team__item_popup .content .name {
    font-size: 26px;
    line-height: 36px;
    font-family: var(--fonts_OpenSans_Bold);
    text-transform: uppercase;
    color: #000;
    margin-bottom: 0;
}
.team__item_popup .content .role {
    font-size: 13px;
    line-height: 18px;
    text-transform: uppercase;
    font-family: var(--fonts_OpenSans_SemiBold);
    color: #000;
}
.team__item_popup .content .description {
    margin-top: 20px;
    font-size: 14px;
    line-height: 24px;
    color: #000;
    overflow-y: auto;
    max-height: 355px;
}
.team__item_popup .content .description > p {
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    margin-bottom: 20px;
}
.team__item_popup .content .description > p:last-child {
    margin-bottom: 0;
}
.lity.team_profile_popup {
    background: rgba(0, 0, 0, 0.6);
}
.lity.team_profile_popup .lity-close{
    display: none;
}
@media (min-width: 992px) { 
    .team_grid_section .heading_section .heading2 {
        line-height: 42px;
    }
}
@media (min-width: 1200px) { 
    .team_grid_section {
        margin-top: 142px;
    }
}

@media (max-width: 1199px) {
    .team_list__item .overlay_content {
        padding: 20px 20px;
        line-height: 1.4;
    }
    .team__item_popup .popup_image_content {
        padding: 40px 30px;
        margin-left: 20px;
        margin-right: 20px;
    }
    .team__item_popup .image {
        margin-right: 30px;
        min-width: 265px;
    }
    .team__item_popup .content .description {        
        max-height: 300px;
    }
    .team__item_popup_close {
        top: 10px;
    }
}
@media (max-width: 991px) {
    .team__item_popup_close {
        top: 12px;
    }    
}
@media (max-width: 767px) {
    .team__item_popup .popup_image_content {
        flex-wrap: wrap;    
        padding: 20px;
        max-height: 80vh;
        overflow-y: auto;
    }
    .team__item_popup .image {
        margin-right: 0;
        margin-bottom: 20px;
        min-width: initial;
        width: 100%;
        max-width: 307px;
        margin-left: auto;
        margin-right: auto;
    }
    .team__item_popup .image::after {
        padding-bottom: 120%;
    }
    .team__item_popup .image img {
        object-position: center 10%;
    }
    .team__item_popup_close {
        right: 20px;
        top: 0;
        background: linear-gradient(279.25deg, #00924C 12.79%, #5DBE86 171.52%);
        border-radius: 3px;
        width: 22px;
        height: 22px;
        color: #FFF;
    }
    .team__item_popup .content .description {
        max-height: initial;
    }
}