.schedule-upcoming-page .events_and_competitions-title {
    grid-template-columns: 1fr;
}

.schedule-upcoming-page .section-two {
    margin-top: 64px;
}

@media (max-width: 1720px) {
    .schedule-upcoming-page .section-two {
        padding: 0 60px;
    }
}

@media (max-width: 1200px) {
    .schedule-upcoming-page .section-two {
        padding: 0 40px;
        margin-top: 48px;
    }
}

@media (max-width: 1024px) {
    .schedule-upcoming-page .section-two {
        padding: 0 16px;
    }
}

@media (max-width: 768px) {
    .schedule-upcoming-page .section-two {
        margin-top: 32px;
    }
}

@media (max-width: 480px) {
    .schedule-upcoming-page .section-two {
        margin-top: 24px;
    }
}

.schedule-upcoming-page .section-two__filters {
    margin-left: auto;
}

.schedule-upcoming-page .upcoming-events-table thead th {
    white-space: normal;
    line-height: 22px;
    vertical-align: top;
}

.schedule-upcoming-page .upcoming-events-table th:nth-child(1),
.schedule-upcoming-page .upcoming-events-table td:nth-child(1) {
    width: 10%;
}

.schedule-upcoming-page .upcoming-events-table th:nth-child(2),
.schedule-upcoming-page .upcoming-events-table td:nth-child(2) {
    width: 16%;
}

.schedule-upcoming-page .upcoming-events-table th:nth-child(3),
.schedule-upcoming-page .upcoming-events-table td:nth-child(3) {
    width: 14%;
}

.schedule-upcoming-page .upcoming-events-table th:nth-child(4),
.schedule-upcoming-page .upcoming-events-table td:nth-child(4) {
    width: 18%;
}

.schedule-upcoming-page .upcoming-events-table th:nth-child(5),
.schedule-upcoming-page .upcoming-events-table td:nth-child(5) {
    width: 17%;
}

.schedule-upcoming-page .upcoming-events-table th:nth-child(6),
.schedule-upcoming-page .upcoming-events-table td:nth-child(6) {
    width: 25%;
}

.schedule-upcoming-page .upcoming-events-table td strong {
    font-weight: 600;
}

.schedule-upcoming-page .upcoming-events-table__name-text {
    display: block;
    margin-top: 6px;
    font-weight: 400;
    color: #5E5E5E;
}


.schedule-upcoming-page .upcoming-judge {
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
}

.schedule-upcoming-page .upcoming-judge__photo {
    order: -1;
    flex: 0 0 56px;
    margin-left: 0;
    margin-right: 0;
    align-self: center;
}

.schedule-upcoming-page .upcoming-judge__content {
    order: 1;
    min-width: 0;
}

.schedule-upcoming-page .upcoming-judge__photo img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}


/* ===== FIX real upcoming table layout ===== */
/* На этой странице рендерится старая таблица .shedule, а не .events-table */

@media (max-width: 768px) {
    .upcoming-events-table,
    .upcoming-events-table thead,
    .upcoming-events-table tbody,
    .upcoming-events-table tr,
    .upcoming-events-table th,
    .upcoming-events-table td,
    .upcoming-events-table th:nth-child(1),
    .upcoming-events-table td:nth-child(1),
    .upcoming-events-table th:nth-child(2),
    .upcoming-events-table td:nth-child(2),
    .upcoming-events-table th:nth-child(3),
    .upcoming-events-table td:nth-child(3),
    .upcoming-events-table th:nth-child(4),
    .upcoming-events-table td:nth-child(4),
    .upcoming-events-table th:nth-child(5),
    .upcoming-events-table td:nth-child(5),
    .upcoming-events-table th:nth-child(6),
    .upcoming-events-table td:nth-child(6) {
        width: 100% !important;
        max-width: 100% !important;
    }

    .upcoming-events-table thead {
        display: none;
    }

    .upcoming-events-table tbody {
        display: flex;
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .upcoming-events-table tr {
        display: block;
        width: 100%;
        padding: 16px 12px;
        border: 1px solid #E1E8F0;
        border-radius: 8px;
        background: #fff;
        box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.04);
    }

    .upcoming-events-table td {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        padding: 8px 0;
        white-space: normal;
        word-break: normal;
        overflow-wrap: anywhere;
        vertical-align: top;
    }

    .upcoming-events-table td[data-label]::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 4px;
        font-weight: 500;
        font-size: 12px;
        line-height: 16px;
        color: #8C8C8C;
    }

    .upcoming-events-table td strong,
    .upcoming-events-table__name-text,
    .upcoming-judge__content,
    .upcoming-judge__content p {
        white-space: normal;
        word-break: normal;
        overflow-wrap: anywhere;
    }

    .upcoming-events-table td:nth-child(6) .upcoming-judge {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        width: 100%;
    }

    .upcoming-events-table td:nth-child(6) .upcoming-judge__photo {
        flex: 0 0 44px;
        margin: 0;
    }

    .upcoming-events-table td:nth-child(6) .upcoming-judge__photo img {
        width: 44px;
        height: 44px;
        border-radius: 6px;
    }

    .upcoming-events-table td:nth-child(6) .upcoming-judge__content {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        align-self: center;
    }
}