/* ETB_LOT10_GALLERIES — galeries éditoriales et carrousels des prestations. */
.etb-prestation-visual {
    margin: 54px 0 62px;
    padding: clamp(20px, 3vw, 34px);
    border: 1px solid #ebe6e4;
    border-radius: 24px;
    background: #fbf9f8;
}

.etb-prestation-visual > .etb-prestation-visual-title {
    margin: 0 0 14px;
    color: #211e1f;
    font-family: Outfit, sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    line-height: 1.2;
}

.etb-prestation-visual > .etb-prestation-visual-intro {
    margin: 0 0 26px;
    color: #454042;
    font-size: 1.025rem;
    line-height: 1.7;
}

.etb-service-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.etb-service-photo-grid .etb-inline-photo,
.etb-service-carousel .etb-inline-photo {
    margin: 0;
}

.etb-service-photo-grid img,
.etb-service-carousel .etb-inline-photo img {
    display: block;
    width: 100%;
    height: 270px;
    max-height: none;
    object-fit: cover;
    border-radius: 15px;
}

.etb-service-photo-grid figcaption,
.etb-service-carousel figcaption {
    margin: 12px 1px 0;
    font-size: .92rem;
    line-height: 1.6;
    color: #50494b;
}

.etb-service-carousel .carousel-inner {
    border-radius: 15px;
}

.etb-service-carousel .etb-inline-photo img {
    height: clamp(240px, 39vw, 420px);
}

.etb-service-carousel .carousel-control-prev,
.etb-service-carousel .carousel-control-next {
    top: min(190px, 38%);
    bottom: auto;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(28, 25, 26, .85);
    opacity: 1;
    transition: background-color .2s ease, transform .2s ease;
}

.etb-service-carousel .carousel-control-prev { left: 14px; }
.etb-service-carousel .carousel-control-next { right: 14px; }

.etb-service-carousel .carousel-control-prev:hover,
.etb-service-carousel .carousel-control-next:hover {
    background: #b72a34;
    transform: scale(1.06);
}

.etb-service-carousel .carousel-control-prev-icon,
.etb-service-carousel .carousel-control-next-icon {
    width: 18px;
    height: 18px;
}

.etb-service-carousel .etb-carousel-counter {
    margin: 12px 0 0;
    font-size: .9rem;
    color: #665f61;
    text-align: right;
}

@media (max-width: 767.98px) {
    .etb-prestation-visual {
        margin: 34px 0 42px;
        padding: 18px;
        border-radius: 17px;
    }
    .etb-service-photo-grid { grid-template-columns: 1fr; gap: 24px; }
    .etb-service-photo-grid img { height: 255px; }
    .etb-service-carousel .etb-inline-photo img { height: 270px; }
    .etb-service-carousel .carousel-control-prev,
    .etb-service-carousel .carousel-control-next { top: 112px; width: 40px; height: 40px; }
    .etb-service-carousel .carousel-control-prev { left: 9px; }
    .etb-service-carousel .carousel-control-next { right: 9px; }
}
