/* Pagination Container */
.pagination {
    text-align: center;
    margin: 20px 0;
}

/* Pagination Links */
.pagination a.page-link,
.pagination span.current-page {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    text-decoration: none;
    color: #0073aa; /* WordPress blue */
    border: 1px solid #ddd;
    border-radius: 3px;
    transition: background-color 0.3s, color 0.3s;
}

/* Current Page */
.pagination span.current-page {
    background-color: #0073aa; /* WordPress blue */
    color: #fff;
    border: 1px solid #0073aa;
}

/* Hover Effects */
.pagination a.page-link:hover {
    background-color: #0073aa;
    color: #fff;
}

/* Property Type Icons */
.wpsl-property-type {
    display: inline-block;
    margin-left: 10px;
    font-size: 14px;
    vertical-align: middle;
    padding-left: 20px; /* Space for icon */
    position: relative;
}

.wpsl-property-type i {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #0073aa;
}

/* General Styles for Property Listings */
.wpsl-store-location {
    background: #f9f9f9;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
}

.wpsl-store-location strong a {
    color: #0073aa;
    text-decoration: none;
    transition: color 0.3s;
}

.wpsl-store-location strong a:hover {
    color: #005177;
}

.wpsl-street {
    display: block;
    margin-top: 5px;
}

.w-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.w-btn:hover {
    background: #005177;
}

/* Media Query for Mobile Devices */
@media (max-width: 600px) {
    .pagination a.page-link,
    .pagination span.current-page {
        padding: 6px 12px;
        margin: 2px;
    }

    .wpsl-store-location {
        padding: 10px;
    }

    .w-btn {
        padding: 6px 12px;
    }
}


/* General styles for the property listings */
.property-listings {
    list-style: none;
    padding: 0;
    margin: 0;
}

.property-listings li {
    display: flex;
    flex-direction: column;
    background: #f9f9f9;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
    transition: box-shadow 0.3s;
}

.property-listings li:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.property-listings li .wpsl-store-location {
    display: flex;
    flex-direction: column;
}

.property-listings li .wpsl-store-location p {
    margin: 0;
    padding: 0;
}

.property-listings li .wpsl-store-location p strong a {
    color: #333;
    font-size: 1.2em;
    text-decoration: none;
    transition: color 0.3s;
}

.property-listings li .wpsl-store-location p strong a:hover {
    color: #0073aa;
}

.property-listings li .wpsl-street {
    display: block;
    margin-top: 5px;
    color: #666;
}

.property-listings li .wpsl-property-type {
    display: flex;
    align-items: center;
    margin-top: 10px;
    font-size: 1em;
    color: #444;
}

.property-listings li .wpsl-property-type i {
    margin-right: 5px;
}

.property-listings li .directions-link {
    display: inline-block;
    margin-top: 10px;
    color: #0073aa;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.property-listings li .directions-link:hover {
    color: #005177;
}

.property-listings li .button-right {
    margin-top: 15px;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #0073aa;
    transition: background-color 0.3s, color 0.3s;
}

.pagination a:hover {
    background-color: #0073aa;
    color: #fff;
}

.pagination .current-page {
    background-color: #0073aa;
    color: #fff;
    border-color: #0073aa;
    font-weight: bold;
}
