/* ===============================
   VIDEO HERO
   =============================== */
   
   .header-spacer {
    height: 80px; /* match your fixed header height */
}

.vgallery__hero {
    position: relative;
    height: 320px;
    margin-bottom: 50px;
    overflow: hidden;

    background-image: url('../img/vido_banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.vgallery__hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.vgallery__hero-content {
    position: relative;
    z-index: 2;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    padding: 0 20px;
}

.vgallery__breadcrumb {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 10px;
}

.vgallery__hero-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.vgallery__hero-subtitle {
    font-size: 1.05rem;
    color: #f1f5f9;
    line-height: 1.6;
    max-width: 720px;
}


/* ===============================
   VIDEO PLAYER
   =============================== */

.box-video-1 {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
}

.box-video-1 iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}


/* ===============================
   CONTAINER
   =============================== */

.vgallery__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
                 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell;
}


/* ===============================
   GRID
   =============================== */

.vgallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}


/* ===============================
   CARD
   =============================== */

.vgallery__card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vgallery__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}


/* ===============================
   DURATION BADGE
   =============================== */

.vgallery__duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    padding: 4px 8px;
    font-size: 0.8rem;
    border-radius: 5px;
    z-index: 2;
}


/* ===============================
   CONTENT
   =============================== */

.vgallery__content {
    padding: 18px 20px 22px;
}

.vgallery__cardtitle {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #222;
}

.vgallery__description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.55;
}


/* ===============================
   MOBILE
   =============================== */

@media (max-width: 768px) {
    .vgallery__hero {
        height: 240px;
    }

    .vgallery__hero-title {
        font-size: 2rem;
    }

    .vgallery__hero-subtitle {
        font-size: 0.95rem;
    }

    .vgallery__grid {
        grid-template-columns: 1fr;
    }
}
