.youtube-embed-container {
    max-width: 100%;
    margin: 0 auto;
}

.youtube-embed-thumbnail {
    position: relative;
    cursor: pointer;
    background: #000;
}

.youtube-embed-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.youtube-embed-thumbnail:hover img {
    opacity: 0.9;
}

.youtube-embed-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}

.youtube-embed-thumbnail:hover .youtube-embed-play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

.youtube-embed-play-button-bg {
    fill: #212121;
    fill-opacity: 0.8;
}

.youtube-embed-play-button-icon {
    fill: #ffffff;
}

.youtube-embed-video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.youtube-embed-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.youtube-embed-caption {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
    text-align: center;
}
