.single-tribe_events .jse-studio-team-grid {
    width: 100%;
}

.single-tribe_events .jse-studio-team-grid .rt-row {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 18px;
    width: 100%;
    margin: 0 !important;
}

.single-tribe_events .jse-studio-team-grid .team-item {
    display: flex !important;
    float: none !important;
    align-items: stretch;
    justify-content: center;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    cursor: pointer;
}

.single-tribe_events .jse-studio-team-grid .team-item > a,
.single-tribe_events .jse-studio-team-grid .jse-reserved-slot__card {
    display: flex !important;
    flex: 1 1 auto;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 13px;
    width: 100%;
    height: 100%;
    min-height: 218px;
    padding: 20px 14px !important;
    border: 1px solid rgba(121, 166, 205, .18);
    border-radius: 18px;
    background: rgba(9, 31, 52, .72);
    text-align: center !important;
    text-decoration: none !important;
}

.single-tribe_events .jse-studio-team-grid .team-item > a {
    position: relative;
    z-index: 2;
    cursor: pointer;
    pointer-events: auto !important;
    touch-action: manipulation;
    align-self: stretch !important;
    flex-basis: 100% !important;
    max-width: none !important;
}

.single-tribe_events .jse-studio-team-grid .team-item > a,
.single-tribe_events .jse-studio-team-grid .team-item > a:visited,
.single-tribe_events .jse-studio-team-grid .team-item > a:hover,
.single-tribe_events .jse-studio-team-grid .team-item > a:focus {
    color: inherit !important;
}

.single-tribe_events .jse-studio-team-grid .team-item > a > img {
    order: 1;
    display: block !important;
    width: 112px !important;
    height: 112px !important;
    max-width: 112px !important;
    max-height: 112px !important;
    margin: 0 auto !important;
    padding: 9px;
    border-radius: 18px;
    background: #fff;
    object-fit: contain !important;
    object-position: center !important;
}

.single-tribe_events .jse-studio-team-grid .team-item h3,
.single-tribe_events .jse-studio-team-grid .jse-team-card__title {
    order: 2;
    width: 100%;
    margin: 0 !important;
    color: #f7fbff !important;
    font-size: clamp(15px, 1.25vw, 19px) !important;
    font-weight: 800 !important;
    line-height: 1.18 !important;
    text-align: center !important;
    text-wrap: balance;
}

.single-tribe_events .jse-studio-team-grid .jse-reserved-slot__flag {
    display: grid;
    width: 112px;
    height: 112px;
    place-items: center;
    border-radius: 18px;
    background: rgba(255, 255, 255, .06);
    font-size: 54px;
    line-height: 1;
}

.single-tribe_events .jse-studio-team-grid .jse-reserved-slot__card small {
    color: #b9cce0 !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-align: center;
    text-transform: uppercase;
}

@media (max-width: 1024px) {
    .single-tribe_events .jse-studio-team-grid .rt-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .single-tribe_events .jse-studio-team-grid .rt-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
    }

    .single-tribe_events .jse-studio-team-grid .team-item > a,
    .single-tribe_events .jse-studio-team-grid .jse-reserved-slot__card {
        min-height: 190px;
        padding: 16px 9px !important;
        border-radius: 15px;
    }

    .single-tribe_events .jse-studio-team-grid .team-item > a > img,
    .single-tribe_events .jse-studio-team-grid .jse-reserved-slot__flag {
        width: 94px !important;
        height: 94px !important;
        max-width: 94px !important;
        max-height: 94px !important;
        border-radius: 15px;
    }

    .single-tribe_events .jse-studio-team-grid .team-item h3,
    .single-tribe_events .jse-studio-team-grid .jse-team-card__title {
        font-size: 14px !important;
        line-height: 1.2 !important;
    }
}

@media (max-width: 360px) {
    .single-tribe_events .jse-studio-team-grid .rt-row {
        grid-template-columns: minmax(0, 1fr);
    }
}
