/* ============================================================
   VMS VIDEO GALLERY PAGE STYLES
   Isolated stylesheet for maximum mobile/tablet responsiveness
============================================================ */

/* Hero Section */
.video-hero {
    background-image: linear-gradient(rgba(33, 48, 100, 0.82), rgba(15, 23, 42, 0.88)), url('https://images.unsplash.com/photo-1546410531-bb4caa6b424d?auto=format&fit=crop&w=1920&q=80');
    height: 320px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding: 0 20px;
}
.video-hero-content {
    z-index: 2;
}
.video-hero-title {
    color: #ffffff;
    font-size: 3.2rem;
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-weight: 800;
    letter-spacing: 1.5px;
    margin: 0 0 12px 0;
    text-shadow: 0 4px 10px rgba(0,0,0,0.35);
    line-height: 1.2;
}
.video-hero-breadcrumbs-wrap {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
}
.video-hero-breadcrumbs {
    color: #cbd5e1;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin: 0;
    text-transform: uppercase;
}
.video-hero-breadcrumbs a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}
.video-hero-breadcrumbs a:hover {
    color: var(--accent-color, #C5A551);
}
.video-hero-breadcrumbs span {
    color: #ffffff;
}

/* Page content section layout */
.video-section-wrap {
    background-color: #f8fafc;
    padding: 60px 5% 85px;
}
.video-section-header {
    max-width: 800px;
    margin: -30px auto 45px;
    text-align: center;
    box-sizing: border-box;
}
.video-section-header p {
    color: var(--text-muted, #475569);
    font-size: 1.05rem;
    line-height: 1.6;
    font-weight: 500;
    margin: 0;
}

/* Grid & Cards layout */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.video-card {
    background-color: var(--bg-white, #ffffff);
    border-radius: var(--radius-lg, 16px);
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(33, 48, 100, 0.05), 0 4px 6px -2px rgba(33, 48, 100, 0.02);
    border: 1.5px solid var(--border-color, #e2e8f0);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}
.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(33, 48, 100, 0.1), 0 10px 10px -5px rgba(33, 48, 100, 0.04);
    border-color: var(--primary-color, #213064);
}
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background-color: #000;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.video-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}
.video-category-tag {
    display: inline-block;
    background-color: rgba(26, 86, 219, 0.08);
    color: var(--primary-color, #213064);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 50px;
    align-self: flex-start;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.video-category-tag.tour {
    background-color: rgba(33, 48, 100, 0.08);
    color: var(--primary-color, #213064);
}
.video-category-tag.sports {
    background-color: rgba(30, 145, 91, 0.08);
    color: #1E915B;
}
.video-info h4 {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    color: var(--primary-color, #213064);
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 8px 0;
    line-height: 1.4;
    text-align: left;
}
.video-info p {
    color: var(--text-muted, #475569);
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0;
    font-weight: 500;
    text-align: left;
}

/* ============================================================
   RESPONSIVE MEDIA QUERIES
============================================================ */
@media (max-width: 992px) {
    .video-hero {
        height: 260px;
    }
    .video-hero-title {
        font-size: 2.6rem;
    }
    .video-section-wrap {
        padding: 40px 18px 60px;
    }
    .video-section-header {
        margin: -20px auto 35px;
    }
    .video-section-header p {
        font-size: 0.98rem;
    }
    .video-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .video-hero {
        height: 220px;
    }
    .video-hero-title {
        font-size: 2.1rem;
    }
    .video-hero-breadcrumbs-wrap {
        padding: 6px 18px;
    }
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    .video-info {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .video-hero {
        height: 180px;
    }
    .video-hero-title {
        font-size: 1.7rem;
    }
    .video-grid {
        grid-template-columns: 1fr;
    }
    .video-info h4 {
        font-size: 1.1rem;
    }
}
