/* SEO-194: галерея «Фото с клиентами». Лента — общий home-workshop.css; здесь кнопка открытия фото и окно. */
.client-photos .client-photos__open {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
}

/* Окно с крупным фото */
#client-photos-modal .client-photos-modal {
    position: relative;
    padding: 12px;
    border: 0;
    border-radius: 16px;
    background: #fff;
}

#client-photos-modal .client-photos-modal__close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 3;
    padding: 8px;
    border-radius: 50%;
    background-color: #fff;
    opacity: 1;
}

#client-photos-modal .client-photos-modal__body {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#client-photos-modal .client-photos-modal__img {
    display: block;
    width: 100%;
    max-height: 75vh;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    border-radius: 12px;
}

#client-photos-modal .client-photos-modal__caption {
    margin-top: 8px;
    text-align: center;
    font-size: 14px;
}

#client-photos-modal .client-photos-modal__caption:empty {
    display: none;
}

#client-photos-modal .client-photos-modal__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    padding: 0 0 4px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .85);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

#client-photos-modal .client-photos-modal__nav--prev {
    left: 8px;
}

#client-photos-modal .client-photos-modal__nav--next {
    right: 8px;
}
