/* Wrapper with max-width */
.kbw-stay-slider-wrapper {
    max-width: 1260px;
    margin: 0 auto;
}

.kbw-stay-slider {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0;
    position: relative;
    font-family: 'Inter', sans-serif;
    background: #fff;
    /* Main background is white */
}

.kbw-stay-slider .kbw-stay-content {
    padding: 0 40px 0 0;
}

/* Brown background on the right (slider side) */
.kbw-stay-gallery-wrapper::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 72%;
    height: 100%;
    background: #e8dfd5;
    /* Light brown/tan background */
    z-index: 0;
    pointer-events: none;
}

@media screen and (max-width: 1024px) {
    .kbw-stay-gallery-wrapper::after {

        width: 88%;
        height: 81%;
    }

}

.kbw-stay-content h2,
.kbw-stay-content h3 {
    line-height: 1.1;
    margin: 0 0 0 0;
    color: #382F2D;
    font-family: 'Be Vietnam Pro', sans-serif;
    text-transform: capitalize;
    font-weight: 600;
    font-size: 40px;
    line-height: 120%;
    /* or 48px */
    letter-spacing: -0.02em;
}

.kbw-stay-content h3 {
    margin-bottom: 20px;
}

@media screen and (max-width: 1024px) {

    .kbw-stay-content h2,
    .kbw-stay-content h3 {
        font-size: 31px;
    }
}

.kbw-stay-content p {
    margin-bottom: 18px;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #382F2D;
}

@media screen and (max-width: 1024px) {
    .kbw-stay-content p {
        margin-bottom: 14px;
    }
}

.kbw-stay-btn {
    display: inline-block;
    padding: 0 25px;
    height: 40px;
    background: #bf8c00;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 40px;
    text-align: center;
    text-transform: capitalize;
}

.kbw-stay-btn:hover {
    background: #9D753C;
    color: #fff;
}

@media (max-width: 1024px) {
    .kbw-stay-btn {
        width: 100%;
    }
}

.kbw-stay-gallery-wrapper {
    flex: 0 0 65%;
    position: relative;
    overflow: hidden;
    padding: 0 80px 18px 0;
    z-index: 1;
}

.kbw-stay-gallery {
    overflow: visible;
    position: relative;
    padding: 50px 0 63px 0;
}

@media screen and (max-width: 768px) {
    .kbw-stay-gallery {
        padding: 20px 0 80px 0;
    }
}

.kbw-stay-gallery .swiper-slide {
    width: 450px;
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(0.75);
}

.kbw-stay-gallery .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
}

.kbw-stay-gallery .swiper-slide img,
.kbw-stay-gallery .swiper-slide video {
    height: 390px;
    width: 100%;
    object-fit: cover;
    border-radius: 0px;
}

@media screen and (max-width: 768px) {

    .kbw-stay-gallery .swiper-slide img,
    .kbw-stay-gallery .swiper-slide video {
        height: 220px;
    }
}

/* Navigation aligned to the LEFT (below text content) */
.kbw-stay-nav {
    display: flex;
    gap: 10px;
    margin-top: -52px;
    justify-content: flex-start;
    z-index: 2;
    position: relative;
    margin-left: 89px;

    /* Align left */
}

@media screen and (max-width: 768px) {
    .kbw-stay-nav {
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }
}

.kbw-stay-nav button {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kbw-stay-nav button.kbw-stay-prev:before {
    content: url('../images/prev-arrow.svg');
}

.kbw-stay-nav button.kbw-stay-next:before {
    content: url('../images/next-arrow.svg');
}

.kbw-stay-nav button:hover {
    background: #f5f5f5;
    border-color: rgba(0, 0, 0, 0.3);
}

@media (max-width: 1024px) {

    .kbw-stay-slider {
        flex-direction: column;
        gap: 40px;
        /* padding: 20px; */
    }

    .kbw-stay-slider .kbw-stay-content {
        padding: 0;
    }

    .kbw-stay-slider::after {
        display: none;
    }

    .kbw-stay-content {
        flex: 1 1 auto;
        padding: 0 0px;
    }

    .kbw-stay-gallery-wrapper {
        flex: 1 1 auto;
        padding: 0 0px;
        width: 100%;
    }
}