.budi-team-grid__row{
    row-gap: 30px;
}

.budi-team-grid__item {
    height: 420px;
    background-color: #fff;
    border-radius: 8px;
}

.budi-team-grid__item img {
    object-fit: cover;
    border-radius: 8px;
}

.budi-team-grid__item-content{
    width: calc(100% - 20px);
    left: 10px;
    bottom: 10px;
    z-index: 3;
    background-color: #fff;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: 0px 0px 10px 0px #0000003b;
}

.budi-team-grid__item-position{
    color: #616164;
}

.budi-team-grid__item-position strong{
    color: var(--body-text-color);
}

.budi-team-grid__item-email{
    border-radius: 8px;
    background-color: var(--color-main);
    color: #fff;
    text-decoration: none;
    padding: 10px 16px;
    text-decoration: none;
}
.budi-team-grid__item-email:hover {
    color: #fff !important;
    text-decoration: none !important;
}

.budi-team-grid__item-email:hover{
    color: var(--color-main);
    text-decoration: underline;
}

@media(max-width:640px){
    /* Container */
    .budi-team-grid__item{
        height: 275px;
        box-shadow: 0px 4px 20px #00000010;
    }

    /* Image */
    .budi-team-grid__item img{
        height: 55% !important;
        object-position: top center;
    }

    /* Box White - Absolute */
    .budi-team-grid__row{
        padding: 0px 15px;
    }
    .budi-team-grid__row > div{
        padding: 0px;
    }
    .budi-team-grid__row > div:nth-child(odd){
        padding-right: 4px;
    }
    .budi-team-grid__row > div:nth-child(even){
        padding-left: 4px;
    }
    .budi-team-grid__item-content{
        width: 100%;
        left: 0;
        bottom: 0;
        padding: 14px 8px;
    }
    .budi-team-grid__item-title{
        font-size: 14px;
    }
    .budi-team-grid__item-position p{
        font-size: 12px;
    }
    .budi-team-grid__item-email{
        font-size: 12px;
        padding: 8px;
        width: max-content;
    }

    /* Update 19 feb 24 */
    .budi-team-grid__custom-mobile .budi-team-grid__item img{
        height: 50% !important;
    }
    .budi-team-grid__custom-mobile .budi-team-grid__item-content{
        position: relative !important;
        height: calc(100% - 50%);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .budi-team-grid__custom-mobile .budi-team-grid__item{
        height: 110%;
    }
    .budi-team-grid__custom-mobile .budi-team-grid__row{
        row-gap: 56px;
    }
    .budi-team-grid__custom-mobile-2 .budi-team-grid__item-content{
        position: relative !important;
    }
}