/*
 * BestPropertyPlug — Developer Detail Server Media + Pagination V9.2
 * Server-side pagination + corrected media URLs.
 * Scope is developer detail only.
 */

.bpp54-developer .bpp-dev-v92-pagination {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    width: 100% !important;
    margin: 22px 0 6px !important;
    padding: 0 !important;
}

.bpp54-developer .bpp-dev-v92-pagination a,
.bpp54-developer .bpp-dev-v92-pagination span.bpp-dev-v92-page,
.bpp54-developer .bpp-dev-v92-pagination span.bpp-dev-v92-disabled {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 38px !important;
    height: 38px !important;
    padding: 0 11px !important;
    border: 1px solid #d8e6de !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #26473a !important;
    font: inherit !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    box-shadow: 0 5px 14px rgba(12, 62, 43, .05) !important;
}

.bpp54-developer .bpp-dev-v92-pagination a:hover {
    border-color: #079455 !important;
    transform: translateY(-1px) !important;
}

.bpp54-developer .bpp-dev-v92-pagination span.bpp-dev-v92-page.is-active {
    border-color: #079455 !important;
    background: #079455 !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(7, 148, 85, .18) !important;
}

.bpp54-developer .bpp-dev-v92-pagination span.bpp-dev-v92-disabled {
    opacity: .42 !important;
}

.bpp54-developer .bpp-dev-v92-pagination .bpp-dev-v92-dots {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 22px !important;
    height: 38px !important;
    color: #819188 !important;
    font-weight: 800 !important;
}

.bpp54-developer .bpp-dev-v92-summary {
    width: 100% !important;
    margin-top: 4px !important;
    text-align: center !important;
    color: #7b8c83 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
}

.bpp54-developer #featured-developments .bpp54-development-card .media,
.bpp54-developer #available-units .bpp54-property-card .media {
    position: relative !important;
    overflow: hidden !important;
    background: #eaf3ee !important;
}

.bpp54-developer #featured-developments .bpp54-development-card .media img,
.bpp54-developer #available-units .bpp54-property-card .media img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    opacity: 1 !important;
    visibility: visible !important;
}

@media (min-width: 768px) and (max-width: 1100px) {
    .bpp54-developer #featured-developments .bpp54-development-grid,
    .bpp54-developer #available-units .bpp54-property-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    .bpp54-developer #featured-developments .bpp54-development-grid,
    .bpp54-developer #available-units .bpp54-property-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px !important;
    }

    .bpp54-developer #featured-developments .bpp54-development-card,
    .bpp54-developer #available-units .bpp54-property-card {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 !important;
        border: 1px solid #dbe8e1 !important;
        border-radius: 16px !important;
        overflow: hidden !important;
        background: #fff !important;
        box-shadow: 0 8px 22px rgba(11, 63, 43, .07) !important;
    }

    .bpp54-developer #featured-developments .bpp54-development-card .media {
        height: 215px !important;
        min-height: 215px !important;
    }

    .bpp54-developer #available-units .bpp54-property-card .media {
        height: 195px !important;
        min-height: 195px !important;
    }

    .bpp54-developer #featured-developments .bpp54-development-card .details,
    .bpp54-developer #available-units .bpp54-property-card .details {
        padding: 14px !important;
    }

    .bpp54-developer .bpp-dev-v92-pagination {
        gap: 6px !important;
        margin-top: 18px !important;
    }

    .bpp54-developer .bpp-dev-v92-pagination a,
    .bpp54-developer .bpp-dev-v92-pagination span.bpp-dev-v92-page,
    .bpp54-developer .bpp-dev-v92-pagination span.bpp-dev-v92-disabled {
        min-width: 36px !important;
        height: 36px !important;
        padding: 0 9px !important;
        border-radius: 9px !important;
        font-size: 11px !important;
    }

    .bpp54-developer .bpp-dev-v92-pagination .bpp-dev-v92-dots {
        height: 36px !important;
    }
}

@media (max-width: 390px) {
    .bpp54-developer #featured-developments .bpp54-development-card .media {
        height: 195px !important;
        min-height: 195px !important;
    }

    .bpp54-developer #available-units .bpp54-property-card .media {
        height: 180px !important;
        min-height: 180px !important;
    }
}
