/* ================================
   FPLF PAGINATION
================================ */

body.post-type-archive-forms .facetwp-facet-pagination,
body.post-type-archive-forms .facetwp-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 28px;
    margin-bottom: 20px;
}


/* Individual pagination items */
body.post-type-archive-forms .facetwp-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 38px;
    height: 38px;

    padding: 0 11px;

    border: 1px solid #d6dee8;
    border-radius: 8px;

    background: #ffffff;

    color: #1f548a;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;

    text-decoration: none !important;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}


/* Hover */
body.post-type-archive-forms .facetwp-page:hover {
    background: #f4f8fc;
    border-color: #1f548a;
    color: #1f548a;
}


/* Current page */
body.post-type-archive-forms .facetwp-page.active {
    background: #1f548a;
    border-color: #1f548a;
    color: #ffffff;
}


/* Previous / Next */
body.post-type-archive-forms .facetwp-page.prev,
body.post-type-archive-forms .facetwp-page.next {
    min-width: auto;
    padding-left: 16px;
    padding-right: 16px;
}


/* Ellipsis */
body.post-type-archive-forms .facetwp-page.dots {
    min-width: 24px;
    padding: 0;

    border-color: transparent;
    background: transparent;

    color: #667085;

    pointer-events: none;
}



/* ================================
   MOBILE
================================*/

@media (max-width: 779px) {

    body.post-type-archive-forms .facetwp-facet-pagination,
    body.post-type-archive-forms .facetwp-pager {
        gap: 6px;

        margin-top: 24px;
        margin-bottom: 24px;
    }

    body.post-type-archive-forms .facetwp-page {
        min-width: 34px;
        height: 34px;

        padding: 0 9px;

        border-radius: 7px;

        font-size: 13px;
    }

    body.post-type-archive-forms .facetwp-page.prev,
    body.post-type-archive-forms .facetwp-page.next {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* MOBILE FILTER BUTTON */

/* Hidden by default / desktop */
.fplf-mobile-filter-button {
    display: none !important;
}


/* MOBILE */

@media (max-width: 768px) {

/* Hide desktop filter card */
    .fplf-desktop-filters {
        display: none !important;
    }

/* Show mobile filter button */
    .fplf-mobile-filter-button {
        display: flex !important;
        align-items: center;
        justify-content: center;

        width: 100%;

        padding: 14px 18px;
        margin: 0 0 18px;

        border-radius: 6px;

        font-size: 15px;
        font-weight: 600;

        cursor: pointer;
    }
}

