/*
Theme Name: Astria-Chilld
Author: 
Description: Your description goes here
Version: 1.0
Template: astra

This is the child theme for Astra theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/
/* Video grid styles for three columns */
.user-company-videos {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three columns */
    gap: 20px; /* Space between videos */
    max-width: 1200px; /* Adjust to your site.s width */
    margin: 0 auto;
}
.video-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.employee-video-post {
    width: 100%;
    aspect-ratio: 16 / 9; /* Maintain video thumbnail aspect ratio */
    overflow: hidden;
}
.thumb_image_new {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure thumbnails fit nicely */
}
.video-grid h3 {
    margin: 10px 0 0;
    font-size: 1.2em;
    text-align: center;
}
.video-popup-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
}
.video-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}
#video-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
#video-frame {
    width: 100%;
    height: 450px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .user-company-videos {
        grid-template-columns: repeat(2, 1fr); /* Two columns on tablets */
    }
}
@media (max-width: 480px) {
    .user-company-videos {
        grid-template-columns: 1fr; /* One column on mobile */
    }
}
