/* NPC — portfolio Vimeo/Canva lightbox extracted from Custom CSS. */

/* =========================================================
   NPC — Vimeo lightbox overlay Retains existing Stage gallery click region (200px x 25px)
   ========================================================= */

.npc-vimeo-lightbox {
    position: fixed !important;
    inset: 0;
    z-index: 2147483000 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 55px 20px 20px;
    background: rgba(8, 14, 26, 0.90);
    box-sizing: border-box;
}

.npc-vimeo-dialog {
    position: relative;
    width: min(1100px, 94vw, 140vh);
    width: min(1100px, 94vw, 140dvh);
}

.npc-vimeo-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.npc-vimeo-player iframe {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
}

.npc-vimeo-lightbox .npc-vimeo-close {
    position: absolute;
    top: -48px;
    right: 0;
    z-index: 1;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0 !important;
    border-radius: 50%;
    background: #ffffff !important;
    color: #193B64 !important;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    outline: none !important;
    box-shadow: none !important;
    transition: background-color 160ms ease, color 160ms ease;
}

/* Hover alone reverses the colors. Focus does not trigger hover styling. */
.npc-vimeo-lightbox .npc-vimeo-close:hover {
    background: #193B64 !important;
    color: #ffffff !important;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

/* A programmatically focused button stays white until actually hovered. */
.npc-vimeo-lightbox .npc-vimeo-close:focus:not(:hover),
.npc-vimeo-lightbox .npc-vimeo-close:focus-visible:not(:hover) {
    background: #ffffff !important;
    color: #193B64 !important;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}





