/*--------------------------------------------------------------
# Swiper JS Carousel Styles
--------------------------------------------------------------*/

/* Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    --swiper-navigation-color: #c8c8c8;
    --swiper-navigation-size: 30px;
}

/* =========================================
   EXPLORE SWIPER (Category Exploration)
   ========================================= */
.explore-swiper {
    padding-bottom: 30px;
}

.explore-swiper .swiper-slide {
    display: flex;
    flex-direction: column;
}

.explore-swiper .post-item-photo {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 12px;
}

.explore-swiper .post-item-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================
   LATEST SWIPER (Recent Listings)
   ========================================= */
.latest-swiper {
    padding-bottom: 20px;
}

.latest-swiper .swiper-slide {
    display: flex;
    flex-direction: column;
}

.latest-swiper .post-item-photo {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.latest-swiper .post-item-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.latest-swiper .post-item-photo:hover img {
    transform: scale(1.05);
}

/* =========================================
   FEATURED SWIPER (Hero Carousel)
   ========================================= */

.featured-swiper .swiper-slide {
    margin-bottom: 20px;
}

.featured-swiper .hero-photo {
    aspect-ratio: 21 / 9;
    border-radius: 12px;
    overflow: hidden;
}

.featured-swiper .hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 767px) {
    .featured-swiper .hero-photo {
        aspect-ratio: 16 / 9;
    }
}

/* =========================================
   FEATURED SMALL SWIPER (Feature Cards)
   ========================================= */

.featured-small-swiper .small-photo {
    aspect-ratio: 3 / 2;
    border-radius: 8px;
    overflow: hidden;
}

.featured-small-swiper .small-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-small-swiper .post-item:hover .small-photo img {
    transform: scale(1.05);
}

/* =========================================
   MOBILE VIEW (Under 768px)
   ========================================= */
@media (max-width: 767px) {
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
}

/* =========================================
   DESKTOP VIEW (768px and up)
   ========================================= */
@media (min-width: 768px) {
    .swiper-nav-outer {
        position: relative;
        padding: 0 48px;
    }
    .swiper-button-next,
    .swiper-button-prev {
        -webkit-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
}

