/* ──────────────────────────────────────────────
   Tribe Event Video Player
────────────────────────────────────────────── */

.tev-video-wrapper {
    position: relative;
    display: block;
    width: 100%;
    max-width: 720px;
    margin: 28px auto;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    aspect-ratio: 16 / 9;
}

.tev-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
}

/* ── Play button overlay ── */
.tev-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    display: flex;
    align-items: center;
    justify-content: center;

    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.50);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, opacity 0.3s ease;

    /* Reset button styles */
    padding: 0;
    outline: none;
    z-index: 10;
}

.tev-play-btn:hover {
    background: rgba(0, 0, 0, 0.72);
    transform: translate(-50%, -50%) scale(1.10);
}

.tev-play-icon {
    width: 30px;
    height: 30px;
    /* Nudge the play triangle slightly right (optical center) */
    margin-left: 4px;
    pointer-events: none;
}

/* Hide overlay once video starts playing */
.tev-video-wrapper.tev-playing .tev-play-btn {
    opacity: 0;
    pointer-events: none;
}

/* Show overlay again when video is paused */
.tev-video-wrapper.tev-paused .tev-play-btn {
    opacity: 1;
    pointer-events: all;
}

/* Responsive tweaks */
@media (max-width: 600px) {
    .tev-play-btn {
        width: 56px;
        height: 56px;
    }
    .tev-play-icon {
        width: 22px;
        height: 22px;
    }
}
