.ftg-lightbox-trigger {
    position: relative;
    display: block;
    cursor: pointer;
    overflow: hidden;
}

.ftg-lightbox-trigger .ftg-lightbox-thumb {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.25s ease;
}

.ftg-lightbox-trigger:hover .ftg-lightbox-thumb {
    transform: scale(1.03);
}

.ftg-lightbox-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 56px;
    height: 56px;
    margin: -28px 0 0 -28px;
    background: #ea1c2d;
    border-radius: 50%;
    pointer-events: none;
}

.ftg-lightbox-play-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent #ffffff;
}

.ftg-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 15, 35, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
}

.ftg-lightbox-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.ftg-lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
}

.ftg-lightbox-content img {
    display: block;
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
}

.ftg-lightbox-content iframe {
    width: 80vw;
    height: 45vw;
    max-width: 1120px;
    max-height: 630px;
}

/*.ftg-lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
} */

/* replacement — centers the × using flexbox instead of line-height */
.ftg-lightbox-close {
    position: absolute;
    top: 45px;
    right: 45px;
    height: 25px;
    width: 25px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    line-height: 1 !important;
}

body.ftg-lightbox-open {
    overflow: hidden;
}

.ftg-lightbox-photo {
    cursor: pointer;
}