/* ------------------------------------
   HERO VIDEO (Responsive 16:9)
------------------------------------- */
.vg-hero-video {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
}

.vg-hero-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 25px;
}

/* ------------------------------------
   TABS (Responsive Wrap)
------------------------------------- */
.vg-tabs {
    padding: 44px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
}
.vg-tabs::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}


/* .vg-tab {
    padding: 8px 18px;
    border: 1px solid #0aa;
    border-radius: 50px;
    cursor: pointer;
    background: #fff;
    white-space: nowrap;
} */

.vg-tab{
    padding: 6px 15px;
    border-radius: 5px;
    border: 0px solid #ccc !important;
    background: #0F3E3E;
    font-weight: 200;
    cursor: pointer;
    transition: 0.3s;
    color: #fff;
    font-size: 10px;
    font-family: inherit;
}

.vg-tab:hover{
    background: #1F7D7E;
}

.vg-tab.active {
    background: #1F7D7E;
    color: #fff;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
    transform: translateY(-2px);
}

/* ------------------------------------
   VIDEO GRID (Responsive)
------------------------------------- */
.vg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

/* Each video item */
.vg-item {
    cursor: pointer;
    background:linear-gradient(130deg, rgba(189, 254, 255, 1) 0%, rgba(255, 255, 255, 1) 100%);;
    border-radius: 10px;
    overflow: hidden;
    padding: 6px 6px 4px 6px ;
    display: block; /* important */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.vg-item:hover {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    transform: translateY(-2px) scale(1.02);
    transition: all 0.3s ease-in-out;
}

/* Thumbnail (Crop nicely on all devices) */
.vg-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    display: block;
    border-radius: 5px;
}

/* ------------------------------------
   VIDEO INFO (Logo + Title)
------------------------------------- */
.vg-info {
    padding: 4px 8px 4px 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vg-info h4 {
    margin: 10px 4px 6px 4px;
    font-size: 12px;
    flex: 1;
    color: #00312c;
}

.vg-logo {
    height: 25px !important;
    width: auto;
}

/* ------------------------------------
   LOAD MORE BUTTON
------------------------------------- */
.vg-load-more {
    margin: 20px auto;
    display: block;
    padding: 8px 24px;
    border: none;
    background: #013839;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 500;
    font-family: inherit;
}
.vg-load-more:hover {
    transition: 0.5s;
    background: #000000;
    box-shadow: #00000094 0px 5px 7px 1px;
}
/* ------------------------------------
   RESPONSIVE BREAKPOINTS
------------------------------------- */

/* Tablet: Improve grid spacing and layout */
@media (max-width: 2000px) {
    .vg-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


@media (max-width: 1024px) {
    .vg-grid {
        /* grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px; */
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .vg-logo {
        height: 25px !important;
    	width: auto;
    }
}

/* Mobile: Single-column layout, readable text, clickable items */
@media (max-width: 768px) {
    .vg-tabs {
        justify-content: center;
    }

    .vg-grid {
        /* grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 14px; */
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;

    }

    .vg-info {
        padding: 8px;
        flex-direction: row;
        gap: 6px;
    }

    .vg-logo {
        height: 25px !important;
    	width: auto;
    }
}

/* Extra small devices (small phones) */
@media (max-width: 480px) {
    .vg-grid {
        grid-template-columns: 1fr;
    }

    .vg-tab {
        padding: 6px 14px;
        font-size: 14px;
    }

    .vg-logo {
        height: 25px !important;
    	width: auto;
    }
}