.youtube-embed {
    position: relative;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

.youtube-placeholder {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    cursor: pointer;
    background-color: #000;
}

.youtube-placeholder img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.youtube-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    transition: background 0.3s;
}

.youtube-placeholder:hover .youtube-overlay {
    background: rgba(0, 0, 0, 0.8);
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.75);
    border-radius: 50%;
    position: relative;
    margin-bottom: 20px;
    transition: transform 0.2s;
}

.youtube-placeholder:hover .play-button {
    transform: scale(1.1);
}

.play-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    width: 0;
    height: 0;
    border-left: 25px solid black;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
}

.consent-text {
    font-size: 14px;
    line-height: 1.5;
    max-width: 400px;
}

.consent-text strong {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
}

.youtube-iframe-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

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