/* Keep Google's cursor and event handlers; match the home page's round controls. */
body.sw-body.sw-search-page-body .sw-google-search-results .gsc-cursor-box .gsc-cursor {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
}

body.sw-body.sw-search-page-body .sw-google-search-results .gsc-cursor-page {
    position: relative;
    display: inline-flex !important;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 44px;
    min-width: 44px;
    height: 44px;
    margin: 0 !important;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 50%;
    background: transparent !important;
    color: var(--sw-pagination-neutral) !important;
    font-size: 0.95rem;
    font-weight: 650;
    line-height: 1;
    letter-spacing: 0;
    text-decoration: none !important;
    box-shadow: none;
    transform: none;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

body.sw-body.sw-search-page-body .sw-google-search-results .gsc-cursor-page:not(.gsc-cursor-current-page):hover {
    border-color: transparent;
    background: color-mix(in srgb, var(--bs-body-color) 8%, transparent) !important;
    color: var(--bs-body-color) !important;
}

body.sw-body.sw-search-page-body .sw-google-search-results .gsc-cursor-page:focus-visible {
    border-color: transparent;
    outline: 2px solid var(--bs-body-color);
    outline-offset: 3px;
    box-shadow: none;
}

body.sw-body.sw-search-page-body .sw-google-search-results .gsc-cursor-current-page {
    border-color: var(--sw-pagination-active-bg);
    background: var(--sw-pagination-active-bg) !important;
    color: var(--sw-pagination-active-ink) !important;
    font-weight: 800;
    box-shadow: none;
}

@media (min-width: 768px) {
    body.sw-body.sw-search-page-body .sw-google-search-results .gsc-cursor-box .gsc-cursor {
        gap: 16px;
    }

    body.sw-body.sw-search-page-body .sw-google-search-results .gsc-cursor-page {
        flex-basis: 48px;
        width: 48px;
        min-width: 48px;
        height: 48px;
        font-size: 1.05rem;
    }
}

@media (max-width: 374.98px) {
    body.sw-body.sw-search-page-body .sw-google-search-results .gsc-cursor-box .gsc-cursor {
        gap: 0.35rem;
    }
}
