/* Equal ranges in the camper/campervan sales row. Overrides the old 2:2:2:1:1 grid. */
body #secondary-filters-grid.ride-search-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}
body #secondary-filters-grid.ride-search-row > .search-group,
body #secondary-filters-grid.ride-search-row > .search-actions {
    grid-column: span 1 !important;
    min-width: 0;
    width: 100%;
}
body #secondary-filters-grid.ride-search-row .search-group > label {
    display: block;
    min-height: 18px;
    line-height: 18px;
    margin: 0 0 6px;
    font-size: 12px;
    letter-spacing: normal;
    white-space: normal;
}
body #secondary-filters-grid.ride-search-row .search-group > div {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px !important;
    width: 100%;
    min-width: 0;
}
body #secondary-filters-grid.ride-search-row input {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    height: 60px;
    padding-inline: 8px;
    font-size: 14px;
}
body #secondary-filters-grid.ride-search-row .search-actions {
    padding-top: 24px !important;
    display: flex;
    flex-direction: column;
    gap: 0;
    height: auto !important;
    min-height: 0;
}
body #secondary-filters-grid.ride-search-row #search-btn {
    height: 60px;
    min-height: 60px;
    box-sizing: border-box;
    margin: 0;
    flex-shrink: 0;
}
body #secondary-filters-grid.ride-search-row .advanced-link {
    margin-top: 12px;
    max-width: 100%;
    white-space: normal;
    text-align: center;
}
@media (min-width: 721px) and (max-width: 1100px) {
    body #secondary-filters-grid.ride-search-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    body #secondary-filters-grid.ride-search-row > .search-actions {
        grid-column: 1 / -1 !important;
        padding-top: 0 !important;
    }
}
@media (max-width: 720px) {
    body #secondary-filters-grid.ride-search-row {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px;
    }
    body #secondary-filters-grid.ride-search-row > .search-actions {
        padding-top: 0 !important;
    }
    body #secondary-filters-grid.ride-search-row input,
    body #secondary-filters-grid.ride-search-row #search-btn {
        height: 52px;
        min-height: 52px;
    }
}
