/* ==========================================================================
   Gallery & Media Partner Styles
   ========================================================================== */

/* Video Gallery Grid */
.video-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--border-divider);
    height: 100%;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(10,37,88,0.1);
}

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

.video-thumbnail-wrapper img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail-wrapper img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 37, 88, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.video-thumbnail-wrapper:hover .play-overlay {
    background: rgba(10, 37, 88, 0.15);
}

.play-icon {
    width: 65px;
    height: 65px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-orange);
    font-size: 1.4rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-thumbnail-wrapper:hover .play-icon {
    transform: scale(1.15);
}

.video-title-box {
    padding: 15px 20px;
    background: #fdfdfd;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-title {
    font-size: 0.9rem;
    color: var(--primary-blue-dark);
    font-weight: 600;
    margin: 0;
    line-height: 1.5;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Media Partner Section */
.media-partner-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
    border: 1px solid #edf2f7;
    transition: all 0.3s ease;
}

.media-partner-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-color: var(--accent-orange);
    transform: scale(1.02);
}

.media-partner-card img {
    max-height: 65px;
    max-width: 100%;
    transition: all 0.4s ease;
}

.media-partner-card:hover img {
    transform: scale(1.05);
}

/* Video Modal */
.video-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 37, 88, 0.95);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.video-modal-container {
    width: 100%;
    max-width: 1000px;
    position: relative;
    aspect-ratio: 16/9;
    background: black;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.close-modal {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--accent-orange);
}

.video-modal-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}
