/* Search results page shell only. Card styling stays in the shared card component. */
.page-template-template-search-results .sc-search-results {
    --sc-results-line: rgba(255, 255, 255, 0.08);
    --sc-results-panel: rgba(255, 255, 255, 0.025);
    max-width: 112rem;
    margin-left: auto;
    margin-right: auto;
}

.page-template-template-search-results .sc-results-toolbar {
    padding: 1.2rem 0;
    border-top: 1px solid var(--sc-results-line);
    border-bottom: 1px solid var(--sc-results-line);
}

.page-template-template-search-results .sc-results-progress {
    letter-spacing: 0;
}

.page-template-template-search-results .sc-results-grid-wrap {
    padding-top: 0.4rem;
}

.page-template-template-search-results .sc-results-grid-wrap .car-results > * {
    width: 50%;
}

.page-template-template-search-results .sc-results-load-more {
    padding-top: 0.8rem;
}

.page-template-template-search-results .sc-results-load-more__button {
    min-height: 4.2rem;
    padding: 0.9rem 1.8rem;
    border: 1px solid var(--sc-results-line);
    border-radius: 999rem;
    background: var(--sc-results-panel);
    color: #f5f5f5;
    font-weight: 600;
    text-transform: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.page-template-template-search-results .sc-results-load-more__button:hover,
.page-template-template-search-results .sc-results-load-more__button:focus-visible {
    border-color: rgba(213, 32, 32, 0.55);
    background: rgba(213, 32, 32, 0.10);
    color: #fff;
}

.page-template-template-search-results .sc-results-load-more__button:disabled {
    cursor: wait;
    opacity: 0.72;
}

@media (max-width: 575.98px) {
    .page-template-template-search-results .sc-results-toolbar {
        align-items: flex-start;
        justify-content: center;
    }

    .page-template-template-search-results .sc-results-progress {
        width: 100%;
        text-align: center;
    }

    .page-template-template-search-results .sc-results-toolbar #sortForm,
    .page-template-template-search-results .sc-results-toolbar .car-search-sort {
        width: 100% !important;
    }
}

@media (min-width: 768px) {
    .page-template-template-search-results .sc-results-grid-wrap .car-results > * {
        width: 33.3333%;
    }
}

@media (min-width: 992px) {
    .page-template-template-search-results .sc-results-grid-wrap .car-results > * {
        width: 25%;
    }
}
