.wk-media-gallery {
    width: 100%;
    font-family: 'Poppins', sans-serif;
}

.wk-media-featured {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #111;
    margin-bottom: 10px;
}

.wk-media-featured-inner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.wk-media-featured:hover .wk-media-featured-inner {
    transform: scale(1.02);
}

.wk-media-featured iframe,
.wk-media-featured video {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.wk-media-featured .wk-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: background 0.2s;
}

.wk-media-featured:hover .wk-play-btn {
    background: rgba(255,255,255,0.25);
}

.wk-media-featured .wk-play-btn svg {
    width: 28px;
    height: 28px;
    fill: white;
    margin-left: 4px;
}

.wk-media-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.wk-media-thumb {
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--e-global-color-primary);
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.wk-media-thumb.active {
    border-color: #fff;
}

.wk-media-thumb-inner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.7;
}

.wk-media-thumb:hover .wk-media-thumb-inner {
    transform: scale(1.05);
    opacity: 1;
}

.wk-media-thumb.active .wk-media-thumb-inner {
    opacity: 1;
}

.wk-media-thumb .wk-play-btn-small {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.wk-media-thumb .wk-play-btn-small svg {
    width: 100%;
    height: 100%;
    fill: white !important;
    margin-left: 2px;
}