viral-mag

.he-elementor-sticky-column > .elementor-widget-wrap > .elementor-widget:nth-last-child(2){
margin-bottom: 0 !important;
}
.youtube-slider {
width: 100%;
margin: 0 auto;
}

.youtube-slider .slick-slide {
padding: 10px;
position: relative;
}

.youtube-slider img {
width: 100%;
height: auto;
display: block;
object-fit: cover; /* Ensure proper cropping/fit of the image */
}

.youtube-slider .video-title {
text-align: center;
font-size: 16px;
font-weight: bold;
color: #fff;
margin-top: 10px;
position: absolute;
bottom: 10px;
left: 0;
right: 0;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.youtube-slider .slick-dots {
bottom: 10px;
}

.youtube-slider .slick-prev, .youtube-slider .slick-next {
z-index: 1;
}
/* Modal background overlay */
.video-modal {
display: none;
position: fixed;
z-index: 9999;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7); /* Dark background */
justify-content: center;
align-items: center;
overflow: hidden; /* Ensure no scrolling */
}

/* Modal content (iframe) styling */
.modal-content {
position: relative;
background: #fff;
padding: 20px;
max-width: 700px;
max-height: 400px;
height: 100%;
overflow: hidden;
border-radius: 8px;
display: flex
;
justify-content: center;
align-items: center;
box-sizing: border-box;
margin: -200px auto 0;
top: 50%;
}

/* Close button styling */
.close-modal {
position: absolute;
top: 10px;
right: 10px;
font-size: 30px;
color: #fff;
cursor: pointer;
background-color: #f00;
border: none;
padding: 0;
border-radius: 50%;
z-index: 100;
height: 30px;
width: 30px;
text-align: center;
line-height: 1;
}
.slick-slide img {
display: block;
height: 400px !important;
width: auto !important;
object-fit: cover;
}
/* Iframe styling for the video */
iframe {
width: 100%;
height: 100%;
border: none;
border-radius: 8px; /* Optional rounded corners for the iframe */
}
.slick-slide {
max-width: 320px;
margin: 0 15px;
}
.slick-slider h3 {
color: #333;
background: #fff;
height: 100%;
padding: 14px;
font-size: 16px;
}
.slick-next, .slick-prev {
background: #333;
height: 50px;
width: 60px;
border-top-left-radius: 18px;
border-bottom-right-radius: 18px;
z-index:99;
}
.he-carousel-block .he-post-content {
background: #f2f2f2;
text-align: left;
padding: 10px;
}
.vm-footer.vm-footer1 {
display: flex
;
align-items: center;
justify-content: center;
}
.vm-footer li {
padding: 10px;
line-height: 1.3rem;
float: left;
}

By nishuthapar1