/* ==========================================================================
   Budi Team Grid
   ========================================================================== */

.budi-team-grid__wrapper {
    width: 100%;
}

.budi-team-grid__slider {
    overflow: visible;
}

.budi-team-grid__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px 50px;
}

.budi-team-grid__item {
    height: auto;
}

.budi-team-grid__arrows {
    display: none !important;
    margin-top: 30px;
}

/* Card
   ========================================================================== */

.budi-team-grid__card {
    text-align: left;
}

/* Image
   ========================================================================== */

.budi-team-grid__image-wrapper {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1 / 1.32;
    margin-bottom: 14px;
    background: #f7f7f7;
}

.budi-team-grid__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Info
   ========================================================================== */

.budi-team-grid__info {
    padding: 0;
}

.budi-team-grid__name {
    font-size: 20px;
    font-weight: 600;
    color: #111111;
    margin: 0 0 6px;
    line-height: 1.18;
}

.budi-team-grid__role {
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: #111111;
    letter-spacing: 0;
    line-height: 1.3;
}

@media (max-width: 991px) {
    .budi-team-grid__slider {
        overflow: hidden;
    }

    .budi-team-grid__grid {
        display: flex;
        gap: 0;
    }

    .budi-team-grid__arrows {
        display: flex !important;
    }
}

@media (max-width: 575px) {
    .budi-team-grid__grid {
        gap: 0;
    }

    .budi-team-grid__name {
        font-size: 20px;
    }

    .budi-team-grid__role {
        font-size: 16px;
    }
}
