/**
 * Images uniformes — chambres phares + galerie
 */

/* ——— Nos chambres phares ——— */
body.ht-zante-home #ht-chambres-phares .eb-rooms-carousel.owl-carousel,
body.ht-zante-home #ht-chambres-phares .ht-rooms-carousel.owl-carousel {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
}
body.ht-zante-home #ht-chambres-phares .owl-stage-outer {
    overflow: hidden;
}
body.ht-zante-home #ht-chambres-phares .ht-rooms-carousel .room-item {
    height: 100%;
    margin: 0;
    border-radius: 4px;
    overflow: hidden;
}

body.ht-zante-home #ht-chambres-phares .room-image {
    position: relative;
    height: 280px !important;
    max-height: none !important;
    overflow: hidden !important;
    margin: 0;
    border-radius: 4px;
}

body.ht-zante-home #ht-chambres-phares .room-image > a {
    display: block;
    height: 100%;
    width: 100%;
}

body.ht-zante-home #ht-chambres-phares .room-image img.ht-room-img,
body.ht-zante-home #ht-chambres-phares .room-image img.img-responsive {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    object-position: center;
    display: block;
}

body.ht-zante-home #ht-chambres-phares .room-details {
    padding: 14px 10px 0;
    min-height: 72px;
    margin: 0;
}

@media (max-width: 767px) {
    body.ht-zante-home #ht-chambres-phares .room-image {
        height: 240px !important;
    }
}

/* Galerie accueil — carousel sans vide en fin de liste */
body.ht-zante-home #ht-galerie .ht-gallery-carousel.owl-carousel,
body.ht-zante-home #ht-galerie [data-ht-home-gallery].owl-carousel {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
}
body.ht-zante-home #ht-galerie .owl-stage-outer {
    overflow: hidden;
}
body.ht-zante-home #ht-galerie .ht-gallery-carousel .owl-nav button {
    background: rgba(0, 0, 0, 0.55) !important;
    color: #fff !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}
body.ht-zante-home #ht-galerie .gallery_item_info h4 {
    margin: 0.5rem 0 0.25rem;
    font-size: 15px;
}
body.ht-zante-home #ht-galerie .gallery_item_link {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #deb666;
    text-decoration: none;
}
body.ht-zante-home #ht-galerie .ht-home-gallery-zoom {
    cursor: zoom-in;
    display: block;
}
body.ht-zante-home #ht-galerie .ht-gallery-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* ——— Galerie Tchatcha ——— */
body.ht-zante-home #ht-galerie .ht-gallery-carousel .item {
    padding: 0;
    margin: 0;
}

body.ht-zante-home #ht-galerie .ht-gallery-carousel .item figure {
    height: 200px !important;
    max-height: none !important;
    overflow: hidden;
    margin: 0;
    border-radius: 4px;
    position: relative;
}

body.ht-zante-home #ht-galerie .ht-gallery-carousel .item figure > a {
    display: block;
    height: 100%;
    width: 100%;
}

body.ht-zante-home #ht-galerie .ht-gallery-carousel .item img.ht-gallery-img,
body.ht-zante-home #ht-galerie .ht-gallery-carousel .item figure img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    object-position: center;
    display: block;
}

body.ht-zante-home #ht-galerie .gallery_item_info {
    text-align: center;
    padding: 12px 4px 4px;
}

body.ht-zante-home #ht-galerie .gallery_item_info h4 {
    margin: 0;
}

@media (min-width: 992px) {
    body.ht-zante-home #ht-galerie .ht-gallery-carousel .item figure {
        height: 220px !important;
    }
}

@media (max-width: 599px) {
    body.ht-zante-home #ht-galerie .ht-gallery-carousel .item figure {
        height: 260px !important;
    }
}


/* Newsletter — fond photo (chemins depuis assets/css → ../img/) */
#ht-newsletter.ht-newsletter-bg,
#ht-page-content #ht-newsletter.ht-newsletter-section,
body.ht-zante-home #ht-newsletter.ht-newsletter-section {
    position: relative !important;
    overflow: hidden !important;
    min-height: 380px !important;
    padding-top: 100px !important;
    padding-bottom: 100px !important;
    background-color: #1a1a1a !important;
    background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
        url('../img/slide-reception.jpg') !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

#ht-newsletter .ht-newsletter-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-color: transparent;
    background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
        url('../img/slide-reception.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

#ht-newsletter .vc_column_container,
#ht-newsletter .vc_column-inner,
#ht-newsletter .ht-newsletter-inner {
    position: relative;
    z-index: 2;
}

#ht-newsletter.color-overlay::after {
    z-index: 1 !important;
    pointer-events: none;
}

#ht-newsletter .main_title,
#ht-newsletter .wpb_text_column,
#ht-newsletter .mc4wp-form {
    position: relative;
    z-index: 3;
}

@media (max-width: 767px) {
    #ht-newsletter.ht-newsletter-bg {
        min-height: 420px !important;
        padding-top: 70px !important;
        padding-bottom: 70px !important;
    }
}
