/* Lightweight YouTube embed: thumbnail + play button until the real player loads (js/yt-lite.js) */
.re-yt {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    background: #000;
    cursor: pointer;
}

/* inside a box that sets its own size (e.g. the Process showreel frame) */
.re-proc__video .re-yt { position: absolute; inset: 0; }

.re-yt__thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .4s ease;
}

.re-yt__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 72px;
    height: 50px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 0, 0, .92);
    transform: translate(-50%, -50%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
    cursor: pointer;
    transition: transform .25s ease, background .25s ease;
}

.re-yt__play::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 54%;
    border-style: solid;
    border-width: 11px 0 11px 18px;
    border-color: transparent transparent transparent #fff;
    transform: translate(-50%, -50%);
}

.re-yt:hover .re-yt__play,
.re-yt__play:focus-visible {
    transform: translate(-50%, -50%) scale(1.08);
    background: #ff0000;
}

.re-yt iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* once the player is up, the thumbnail and button step aside */
.re-yt.is-playing .re-yt__thumb,
.re-yt.is-playing .re-yt__play { opacity: 0; pointer-events: none; }
