.yt-latest-wrapper-a47e96eb {
    display: flex;
    flex-direction: column;
    max-width: 100%;
}
.yt-latest-thumb {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.yt-latest-thumb img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.yt-play-btn {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.yt-latest-thumb:hover .yt-play-btn {
    background: #e62117;
}

/* Modal Styles */
.yt-modal-overlay-a47e96eb {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.yt-modal-overlay-a47e96eb.active {
    opacity: 1;
    visibility: visible;
}
.yt-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    aspect-ratio: 16/9;
    background: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-radius: 8px;
    overflow: visible; /* Changed from hidden to show close button */
}
.yt-modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}
.yt-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    line-height: 1;
    z-index: 10;
}

@media (max-width: 767px) {
    .yt-play-btn { bottom: 10px; left: 10px; }
    .yt-play-btn svg { width: 36px; height: 36px; }
    .yt-modal-content { width: 95%; aspect-ratio: 16/9; }
    .yt-modal-close { top: -35px; right: 0; }
}