.ecovis-youtube-video {
    position: relative;
}
.ecovis-youtube-video img {
    width: 100%;
    height: 100%;
}
.ecovis-youtube-video iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
}
.ecovis-youtube-video .video-preview {
    position: relative;
    width: 100%;
    height: 100%;
}
.ecovis-youtube-video .video--consent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    font-size: 1rem;
    z-index: 20;
    color: #000;
    box-sizing: border-box;
    cursor: pointer;
}
.ecovis-youtube-video .video-content {
    position: absolute;
    top: 50%;
    width: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.ecovis-youtube-video .video-content p {
    background: rgba(236, 236, 236, 0.9);
    font-size: 12px;
    padding: 10px;
    border-radius: 10px;
}
.ecovis-youtube-video .video-content button {
    position: relative;
    border: none;
    background: transparent;
    outline: none;
    color: #FF0000;
    font-size: 76px;
    padding: 0;
    width: 100%;
    text-align: center;
    margin: 0;
}
.ecovis-youtube-video .video-content button::before {
    position: absolute;
    width: 25px;
    height: 25px;
    background: #ffffff;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    content: "";
    display: block;
    z-index: -1;
}
@media (max-width: 767px) {
    .ecovis-youtube-video .video-content p {
        font-size: 10px;
        line-height: 15px;
    }
    .ecovis-youtube-video .video-content button {
        font-size: 36px;
    }
}

.header-video .video-preview img {
    max-height: 600px;
    object-fit: cover;
}

.header-video .ecovis-youtube-privacy-claim {
    font-size: 10px;
    padding: 5px 20px;
    text-align: center;
}

.yt-video-thumbnail-container {
    position: relative;
    width: 300px;
    max-width: 100%;
}

.yt-video-thumbnail-container button {
    position: absolute;
    border: none;
    background: transparent;
    outline: none;
    color: #FF0000;
    font-size: 36px;
    padding: 0;
    text-align: center;
    margin: 0;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.yt-video-thumbnail-container button::before {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ffffff;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    content: "";
    display: block;
    z-index: -1;
}

.yt-video-thumbnail-container img {
    /*height: 150px;*/
    width: 300px;
    aspect-ratio: 300 / 150;
    object-fit: cover;
}