/* User-approved lightbox-only presentation; no page, theme or core file edits. */
.wp-lightbox-overlay.ffh-has-caption .lightbox-image-container {
    top: var(--ffh-photo-top);
    width: var(--ffh-photo-width);
    height: var(--ffh-photo-height);
    transform: translateX(-50%);
    animation: none;
}
.wp-lightbox-overlay.ffh-has-caption .lightbox-image-container figure {
    transform: none !important;
}
.wp-lightbox-overlay.ffh-has-caption .lightbox-image-container img {
    width: 100% !important;
    height: 100% !important;
    min-width: 0;
    min-height: 0;
    object-fit: contain !important;
}
.wp-lightbox-overlay .ffh-lightbox-caption {
    position: absolute;
    z-index: 3000001;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
    width: min(44rem, calc(100% - 48px));
    max-height: 25vh;
    overflow: auto;
    margin: 0;
    color: var(--wp--preset--color--contrast, #171717);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    cursor: text;
}
.wp-lightbox-overlay .ffh-lightbox-caption[hidden] { display: none; }
