/* Public Media Gallery */
.media-page-section {
    padding: 60px 0 80px;
}
.media-tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}
.media-tab-nav a {
    padding: 10px 24px;
    border-radius: 30px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.media-tab-nav a:hover,
.media-tab-nav a.active {
    background: #015EC2;
    color: #fff;
}
.media-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.media-gallery-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.media-gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(1, 94, 194, 0.15);
}
.media-gallery-card .thumb-wrap {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
    background: #f0f0f0;
}
.media-gallery-card .thumb-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.media-gallery-card .play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(1, 94, 194, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}
.media-gallery-card .card-body {
    padding: 20px;
}
.media-gallery-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #222;
}
.media-gallery-card .event-date {
    font-size: 0.85rem;
    color: #015EC2;
    margin-bottom: 8px;
}
.media-gallery-card p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}
.media-no-data {
    text-align: center;
    padding: 80px 20px;
    background: #f9f9f9;
    border-radius: 16px;
}
.media-no-data i {
    font-size: 5rem;
    color: #ddd;
    margin-bottom: 20px;
}
.media-no-data h3 {
    color: #555;
    margin-bottom: 10px;
}
/* Lightbox */
.media-lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.media-lightbox.active {
    display: flex;
}
.media-lightbox img {
    max-width: 95%;
    max-height: 90vh;
    border-radius: 8px;
}
.media-lightbox .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
}
.media-video-modal .modal-dialog {
    max-width: 900px;
}
@media (max-width: 767px) {
    .media-gallery-grid {
        grid-template-columns: 1fr;
    }
}
