
/* Lightbox Container */
.thumbnail--image{
    width: 100%;
}
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; 
}

.lightbox-holder {
    line-height: 0;
    width: 100%;
    max-width: 900px;
}

/* Lightbox Content (Video Player) */
.lightbox-content {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; 
    max-width: 900px; 
}

/* The YouTube video iframe */
.lightbox-content iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Close button */
.close-lightbox {
    position: absolute;
    top: -24px;
    right: -5px;
    background: transparent;
    color: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    z-index: 10000;
    font-style: normal;
    font-size: 23px;
    font-family: Arial, Baskerville, monospace;
    opacity: 0.68;
}

.close-lightbox:hover {
    opacity: 1;
}

.video-thumbnail {
    position: relative;
    cursor: pointer;
}

.play-button {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16.88%;
    transform: translate(-50%, -50%);
}


@media screen and (max-width: 1000px) and (orientation: landscape) {
    .lightbox-content {
        padding-bottom: 56.25%; 
        height: auto;
        position:  unset;
    }

    .close-lightbox {
        top: 10px;  
        right: 10px;  
        font-size: 28px;  
        padding: 8px 12px; 
        opacity: 1;  
    }
}


@media screen and (max-width: 480px) {
    .close-lightbox {
        font-size: 20px;  
        padding: 6px 10px;
    }
}