.lightbox-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.8);
display: flex;
justify-content: center;
align-items: center;
z-index: 9999;
}
.lightbox-content {
position: relative;
width: 80%;
max-width: 800px;
background: #000;
padding: 0;
text-align: center;
}
.lightbox-content iframe {
width: 100%;
height: 450px;
border: none;
}
@media (max-width: 768px) {
.lightbox-content iframe {
height: auto;
aspect-ratio: 16/9; }
}
.close-lightbox {
position: absolute;
top: 10px;
right: 10px;
color: #fff;
font-size: 30px;
cursor: pointer;
}
.rts__youtube__widget {
display: block;
}
.rts__youtube__widget__container {
position: relative;
overflow: hidden;
}
.rts__youtube__widget__overlay {
z-index: 1;
position: absolute;
bottom: 0;
width: 100%;
height: 100%;
background: linear-gradient(0deg, rgb(16, 60, 59) 0%, rgba(16, 60, 59, 0) 100%);
}
.rts__youtube__widget__image {
width: 100%;
height: auto;
transition: var(--transition);
display: block;
}
.rts__youtube__widget__player {
position: absolute;
top: 50%;
transform: translate(-50%, -50%);
z-index: 2;
width: 100%;
left: 50%;
text-align: center;
transition: var(--transition);
}
.rts__youtube__widget__player .play-icon {
margin: 0 auto;
background: none;
width: 120px;
height: 120px;
position: relative;
text-indent: -9999px;
display: inline-block;
border: 1px solid #ffffff;
transition: var(--transition);
border-radius: 50%;
}
.rts__youtube__widget__player .play-icon span {
width: 0;
height: 0;
border-top: 15px solid transparent;
border-left: 20px solid #ffffff;
border-bottom: 15px solid transparent;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.rts__youtube__widget__player .play-icon:hover {
background: var(--e-global-color-primary);
cursor: pointer;
border: 1px solid transparent;
box-shadow: none;
}
.rts__youtube__widget:hover .rts__youtube__widget__image {
transform: scale(1.1);
}