

/* Match homepage Next to Jump layout */

#rbRacePageNext5 {
    width: 100%;
    margin: 16px 0 24px;
}

#rbRacePageNext5 .rb-n5-head {
    margin-bottom: 18px;
}

#rbRacePageNext5 h2 {
    font-size: clamp(21px, 2.5vw, 28px);
    font-weight: 800;
    letter-spacing: .02em;
}

#rbRacePageNext5 .rb-n5-list {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

#rbRacePageNext5 .rb-n5-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    position: relative;
    gap: 6px !important;
    min-width: 0;
    min-height: 110px !important;
    padding: 17px 18px !important;
    border-radius: 12px !important;
    background: #111713;
}

#rbRacePageNext5 .rb-n5-item.rb-n5-late {
    background: #172016;
}

#rbRacePageNext5 .rb-n5-time {
    font-size: 15px !important;
    font-weight: 850;
    line-height: 1.2;
}

#rbRacePageNext5 .rb-n5-track {
    width: 100%;
    font-size: 16px !important;
    font-weight: 800;
    line-height: 1.3;
    white-space: normal !important;
    overflow-wrap: anywhere;
}

#rbRacePageNext5 .rb-n5-meta {
    font-size: 11px !important;
    line-height: 1.3;
    white-space: normal !important;
}

#rbRacePageNext5 .rb-n5-arrow {
    display: none !important;
}

/* Tablet */

@media (max-width: 1050px) {
    #rbRacePageNext5 .rb-n5-list {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

/* Mobile */

@media (max-width: 640px) {
    #rbRacePageNext5 .rb-n5-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 9px !important;
    }

    #rbRacePageNext5 .rb-n5-item {
        min-height: 105px !important;
        padding: 13px !important;
    }

    #rbRacePageNext5 .rb-n5-track {
        font-size: 14px !important;
    }

    #rbRacePageNext5 .rb-n5-time {
        font-size: 13px !important;
    }
}

@media (max-width: 380px) {
    #rbRacePageNext5 .rb-n5-list {
        grid-template-columns: 1fr !important;
    }
}

