/* ── Featured Video — Frontend Styles ── */

.fv-featured-video {
    position: relative;
    width: 100%;
    margin-bottom: 1.5rem;
}

/* 16:9 ratio wrapper (Vimeo / local) */
.fv-ratio {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.fv-ratio iframe,
.fv-ratio video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ── YouTube thumbnail link ── */
.fv-yt-link {
    display: block;
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    background: #000;
    aspect-ratio: 16 / 9;
}

.fv-yt-thumb {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease, opacity .25s ease;
    opacity: .9;
}

.fv-yt-thumb--placeholder {
    background: #111;
    width: 100%;
    height: 100%;
}

.fv-yt-link:hover .fv-yt-thumb {
    transform: scale(1.03);
    opacity: 1;
}

.fv-yt-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.5) 0%, rgba(0,0,0,.1) 50%, transparent 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fv-yt-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    line-height: 0;
}

.fv-play-circle {
    width: 68px;
    height: 68px;
    display: block;
    transition: transform .2s ease;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,.4));
}

.fv-yt-link:hover .fv-play-circle {
    transform: scale(1.12);
}

.fv-play-circle svg {
    width: 100%;
    height: 100%;
}
