/* YouTube Lazy Loading Styles */
.youtube-lite {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background-color: #000;
    cursor: pointer;
}

.youtube-lite-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.youtube-lite-poster {
    position: relative;
    width: 100%;
    height: 100%;
}

.youtube-lite-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.youtube-lite-playbutton {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.youtube-lite-playbutton:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Loading state for iframes */
iframe[data-src] {
    background: #111827;
    min-height: 200px;
    display: block;
}