/**
 * Featured Episode Thumbnail Widget Styles
 */

/* ── Wrapper ───────────────────────────────────────────────────────── */

.fet-wrap {
    position: relative;
    width: 100%;
}

/* ── Thumbnail ─────────────────────────────────────────────────────── */

.fet-thumbnail {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.fet-thumbnail__img {
    display: block;
    width: 100%;
    height: auto;
}

/* ── Overlay ───────────────────────────────────────────────────────── */

.fet-thumbnail__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* ── Play Button ───────────────────────────────────────────────────── */

.fet-thumbnail .fet-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none !important;
    border: none;
    border-radius: 0;
    padding: 0;
    font-size: inherit;
    font-weight: inherit;
    text-transform: none;
    color: inherit;
    cursor: pointer;
    line-height: 0;
    opacity: 1;
    transition: transform 0.2s ease, opacity 0.2s ease;
    z-index: 2;
}

.fet-thumbnail .fet-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 0.92;
}

.fet-play-btn svg {
    display: block;
    width: 118px;
    height: 74px;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.35));
}

/* ── Inline Video ──────────────────────────────────────────────────── */

.fet-inline-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    border-radius: 12px;
}

.fet-inline-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ── Lightbox ──────────────────────────────────────────────────────── */

.fet-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.fet-lightbox[hidden] {
    display: none;
}

.fet-lightbox__inner {
    position: relative;
    width: 90vw;
    max-width: 960px;
}

.fet-lightbox__close {
    position: fixed;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    opacity: 0.85;
    transition: opacity 0.2s ease;
    z-index: 100000;
}

.fet-lightbox__close:hover {
    opacity: 1;
}

.fet-lightbox__iframe-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
}

.fet-lightbox__iframe-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
