.results-page {
     max-width: 1200px;
     margin: 35px auto;
     padding: 0 20px 40px;
}

.results-toolbar {
     display: flex;
     justify-content: space-between;
     align-items: center;
     gap: 20px;
     margin-bottom: 35px;
}

.results-intro h2 {
     font-size: 24px;
     margin: 0 0 7px;
     font-weight: 700;
}

.results-intro p {
     color: #858585;
     margin: 0;
     font-size: 13px;
}

.results-controls {
     display: flex;
     gap: 10px;
}

.results-search {
     display: flex;
     align-items: center;
     background: #fff;
     border: 1px solid #e5e5e5;
     border-radius: 5px;
     padding: 0 12px;
     width: 230px;
}

.results-search span {
     color: #888;
     font-size: 20px;
}

.results-search input {
     width: 100%;
     border: 0;
     outline: none;
     padding: 11px 8px;
     font-size: 13px;
     background: transparent;
}

.view-switch {
     display: flex;
     gap: 3px;
     padding: 3px;
     border: 1px solid #e5e5e5;
     background: white;
     border-radius: 5px;
}

.view-switch button {
    border: 0;
    background: transparent;
    padding: 7px 10px;
    border-radius: 3px;
    color: #888;
    cursor: pointer;
}

.view-switch button.active {
    background: #242424;
    color: white;
}

/* DATE */

.results-date-group {
     margin-bottom: 38px;
}

.results-date-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 17px;
    padding-bottom: 12px;
}

.results-date-heading h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
}

.results-date-heading span {
    font-size: 12px;
    color: #999;
}

/* GRID */
.competitions-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px 17px;
}

.competition-result {
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease;
}

.competition-result:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 18px rgba(0,0,0,.07);
}

/* PAGINATION */
.results-pagination {
    text-align: center;
    margin-top: 35px;
}

.results-pagination button {
    background: white;
    border: 1px solid #ddd;
    padding: 12px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}

.results-pagination button:hover {
    background: #242424;
    color: white;
}

/* RESPONSIVE */

@media(max-width: 900px) {
    .competitions-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media(max-width: 600px) {
    .results-page {
        padding: 0 12px 30px;
        margin: 22px auto;
    }

    .results-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .results-controls {
        width: 100%;
    }

    .results-search {
        flex: 1;
        width: auto;
    }

    .competitions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .results-date-heading h3 {
        font-size: 14px;
    }
}