/* =============================================
   Exclusive With We Invest Realty — Swiper
   Scoped under .exclusive-rise-wrapper
   ============================================= */

.exclusive-rise-wrapper {
    padding: 50px 0 50px;
    background: #f5f5f0;
}

/* --- Section Heading --- */
.exclusive-rise-wrapper .title h2.hero-title {
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 32px;
    color: #1a2e1a;
    font-family: "Times New Roman", serif;
}

/* --- Swiper Container --- */
.exclusive-rise-wrapper .swiper.mySwiper4 {
    position: relative;
    width: 100%;
    padding: 0 0 52px !important; /* room for pagination dots */
    overflow: hidden;
}

/* --- Slides --- */
.exclusive-rise-wrapper .swiper-slide {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 420px;
}

/* --- Images (fill the slide) --- */
.exclusive-rise-wrapper .swiper-slide img,
.exclusive-rise-wrapper .swiper-slide picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

/* --- Dark gradient overlay so caption is always readable --- */
.exclusive-rise-wrapper .swiper-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.80) 0%,
        rgba(0,0,0,0.40) 40%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 1;
}

/* --- Caption overlay --- */
.exclusive-rise-wrapper .slide-caption {
    position: absolute;
    bottom: 28px;
    left: 24px;
    right: 24px;
    z-index: 2;
    color: #fff;
}

.exclusive-rise-wrapper .slide-caption h3 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-transform: none;
    line-height: 1.3;
}

.exclusive-rise-wrapper .slide-caption p {
    margin: 0 0 14px;
    font-size: 14px;
    color: rgba(255,255,255,0.88);
    line-height: 1.55;
}

/* --- Banner Button --- */
.exclusive-rise-wrapper .banner-button {
    background: #d4c89a;
    color: #1a2e1a !important;
    font-weight: 700;
    padding: 9px 22px;
    border: none;
    border-radius: 6px;
    display: inline-block;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease;
    font-size: 13px;
    letter-spacing: 0.3px;
}
.exclusive-rise-wrapper .banner-button:hover {
    background: #fff !important;
    color: #1a2e1a !important;
}

/* --- Pagination dots --- */
.exclusive-rise-wrapper .swiper-pagination {
    bottom: 16px !important;
}
.exclusive-rise-wrapper .swiper-pagination-bullet {
    background: #1a2e1a;
    opacity: 0.35;
    width: 8px;
    height: 8px;
    transition: opacity 0.2s, width 0.2s;
}
.exclusive-rise-wrapper .swiper-pagination-bullet-active {
    background: #1a2e1a;
    opacity: 1;
    width: 22px;
    border-radius: 4px;
}

/* --- Nav Arrows --- */
.exclusive-rise-wrapper .swiper-button-prev,
.exclusive-rise-wrapper .swiper-button-next {
    width: 38px;
    height: 38px;
    border: 2px solid rgba(255,255,255,0.75);
    border-radius: 50%;
    color: #fff;
    background: rgba(26,46,26,0.55);
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: background 0.2s;
}
.exclusive-rise-wrapper .swiper-button-prev:hover,
.exclusive-rise-wrapper .swiper-button-next:hover {
    background: #1a2e1a;
    border-color: #d4c89a;
}
.exclusive-rise-wrapper .swiper-button-prev::after,
.exclusive-rise-wrapper .swiper-button-next::after {
    font-size: 14px;
    font-weight: 900;
}
.exclusive-rise-wrapper .swiper-button-prev { left: 14px; }
.exclusive-rise-wrapper .swiper-button-next { right: 14px; }


/* --- Section Heading --- */
.exclusive-rise-wrapper .title h2.hero-title {
    font-size: 28px;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 20px;
    font-family: "Times New Roman", serif;
    color: #000;
}

/* --- Swiper Container --- */
.exclusive-rise-wrapper .swiper.mySwiper4 {
    position: relative;
    padding: 50px 0 60px;
    width: 100%;
}

/* --- Slides --- */
.exclusive-rise-wrapper .swiper-slide {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.exclusive-rise-wrapper .swiper-slide img,
.exclusive-rise-wrapper .swiper-slide picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px;
}

/* --- Caption overlay --- */
.exclusive-rise-wrapper .slide-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
}

.exclusive-rise-wrapper .slide-caption h3 {
    margin: 0;
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    text-transform: none;
}

.exclusive-rise-wrapper .slide-caption p {
    margin: 5px 0 0;
    font-size: 15px;
    color: #fff;
}

/* --- Banner Button --- */
.exclusive-rise-wrapper .banner-button {
    background-color: #fff;
    color: #000 !important;
    font-weight: bold;
    padding: 0.6rem 1.4rem;
    border: none;
    border-radius: 5px;
    margin-top: 1rem;
    display: inline-block;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
    font-size: 14px;
}

.exclusive-rise-wrapper .banner-button:hover {
    background-color: #000 !important;
    color: #fff !important;
}

/* --- Nav Buttons (hidden as per original) --- */
.exclusive-rise-wrapper .swiper-button-prev,
.exclusive-rise-wrapper .swiper-button-next {
    position: absolute;
    bottom: 10px;
    top: auto;
    width: 40px;
    height: 40px;
    border: 2px solid #000;
    border-radius: 50%;
    color: #000;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.exclusive-rise-wrapper .swiper-button-prev {
    left: 20px;
}

.exclusive-rise-wrapper .swiper-button-next {
    left: 80px;
}

.exclusive-rise-wrapper .swiper-button-prev::after,
.exclusive-rise-wrapper .swiper-button-next::after {
    font-size: 16px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .exclusive-rise-wrapper .slide-caption {
        bottom: 10px;
        left: 10px;
        right: 10px;
        text-align: center;
    }

    .exclusive-rise-wrapper .slide-caption h3 {
        font-size: 18px;
    }

    .exclusive-rise-wrapper .slide-caption p {
        font-size: 13px;
    }

    .exclusive-rise-wrapper .banner-button {
        font-size: 12px;
        padding: 0.4rem 1rem;
    }
}
