.mgmt_profile_grid {
    display: flex;
    padding-left: 0px;
    gap: 35px;
    list-style-type: none;
    margin-bottom: 0px;
    flex-direction: row;
    flex-wrap: wrap;
}

.mgmt_profile_grid li {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    width: 17.8%;
    height: auto;
    display: flex;
    cursor: pointer;
    transform: scale(1);
    transition: transform 0.3s ease-in-out;
    margin-bottom: 0px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.mgmt_profile_grid li:hover {
    transform: scale(1.1);
}

.mgmt_profile_grid li img {
    margin: 0px 0;
    width: 100%;
    margin-top: 0px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    box-shadow: var(--sh-md);
    background: linear-gradient(358deg, rgb(165 165 165) 0%, rgb(241 236 236) 100%);
}

.mgmt_profile_grid li h5 {
    height: 50px;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    background-color: rgb(87 86 84 / 76%);
    font-weight: 600;
    text-transform: uppercase;
    color: #ffffff;
    font-size: 14px;
    margin-top: -50px;
    width: 100%;
    padding: 0 33px;
    margin-bottom: 0px;
    box-shadow: 0px 7px 8px rgb(0 0 0 / 48%);
    position: relative;
    letter-spacing: .5px;
}

.mgmt_profile_grid li h5.pcard_header img {
    width: 12px !important;
    border-radius: unset !important;
    background: transparent !important;
    box-shadow: none !important;
    margin-left: 5px !important;
    position: absolute;
    right: 10px;
}

.mgmt_profile_grid li .pcard_footer h2 {
    font-size: 16px;
    font-weight: bold;
    padding: 0;
    color: #000000;
    line-height: normal;
    margin-top: 0;
    position: relative;
    text-align: left;
    width: 100%;
}

.mgmt_profile_grid li .pcard_footer {
    padding: 20px 0px 16px 0px;
    position: relative;
}

.mgmt_profile_grid li .pcard_footer p {
    font-size: 14px;
    margin-bottom: 0px;
    text-align: left;
    line-height: 21px;
    font-weight: 500;
    padding: 0;
    color: #000000;
}

.magmt-back-bg {
    height: 55vh;
    background: var(--cream2);
    margin-top: -50vh;
}

#mgmt_profile_model_content .modal-header {
    background: var(--cream2);
    gap: 25px;
}

#mgmt_profile_model_content .modal-header img {
    width: 200px;
    margin: 0px 0;
    margin-top: 0px;
    border-radius: 15px;
    box-shadow: var(--sh-md);
    background: linear-gradient(358deg, rgb(165 165 165) 0%, rgb(241 236 236) 100%);
}

#mgmt_profile_model_content .btn-close {
    top: 30px;
    opacity: 1;
    right: 30px;
}

.mem_modal_header_right h5 {
    font-size: 20px;
    font-weight: bold;
    padding: 0;
    color: #000000;
    line-height: normal;
    margin-top: 0;
    text-align: left;
    width: 100%;
}

.mem_modal_header_right p {
    font-size: 16px;
    text-align: left;
    padding: 0;
    color: #000000;
}

.eyebrow {
    font-size: 18px;
    letter-spacing: .5px;
}

/* .subpage-hero-content {
    height: calc(64vh - 147px);
}

.subpage-hero-content-left {
    background-size: 100%;
    background-position: left;
}

.subpage-hero-content-left-box {
    padding: 2rem 4rem;
    height: calc(65vh - 256px);
} */

.mgmt_hod_badge {
    background: var(--gold);
    color: #ffffff;
    position: absolute;
    top: -22px;
    font-size: 12px;
    padding: 2px 5px;
    letter-spacing: .3px;
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {

    .mgmt_profile_grid li {
        width: 21%;
    }

    .mgmt_profile_grid li h5 {
        font-size: 11px;
        height: 40px;
        padding: 0 30px 0 10px;
        margin-top: -40px;
    }
}


@media only screen and (max-width: 767px) {
    .mgmt_profile_grid {
        justify-content: space-between;
        gap: 20px;
    }

    .mgmt_profile_grid li {
        width: 46.8%;
    }

    .mgmt_profile_grid li .pcard_footer h2 {
        font-size: 14px;
    }

    .mgmt_profile_grid li .pcard_footer p {
        font-size: 12px;
    }

    .magmt-back-bg {
        display: none;
    }

    #mgmt_profile_model_content .modal-header img {
        width: 115px;
    }

    .mem_modal_header_right {
        padding-right: 40px;
    }

    .mem_modal_header_right h5 {
        font-size: 16px;
    }

    .mem_modal_header_right p {
        font-size: 14px;
    }

    #mgmt_profile_model_content .btn-close {
        top: 15px;
        right: 15px;
        position: absolute;
    }


}