/* =========================================
   OUR VIDEOS LISTING PAGE
========================================= */

.videobanner {
    background: url('/images/blog-banner-1.webp') center center / cover no-repeat !important;
}


/* MAIN SECTION */

.video-gallery-section {
    width: 90%;
    max-width: 120rem;
    margin: 0 auto;

    padding: 50px 0;
}


.video-gallery-container {
    width: 100%;
}


/* =========================================
   FILTER
========================================= */

.video-filter-wrap {
    position: relative;
    z-index: 33;

    background: #fff;

    padding: 8px;

    margin-bottom: 32px;

    border-radius: 10px;
}


.video-filter {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;
}


.video-filter-btn {
    appearance: none;

    border: 0;

    padding: 8px 16px;

    border-radius: 999px;

    background: #e5e7eb;

    color: #374151;

    font-family: 'Manrope', sans-serif;

    font-size: 14px;

    line-height: 20px;

    font-weight: 500;

    text-align: center;

    cursor: pointer;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}


.video-filter-btn:hover {
    background: #d1d5db;
}


.video-filter-btn.active {
    background: var(--red);

    color: #fff;

    box-shadow:
        0 8px 20px
        rgba(9, 126, 167, 0.20);
}


/* =========================================
   VIDEO GRID
========================================= */

.video-grid {
    display: grid;

    grid-template-columns:
        repeat(1, minmax(0, 1fr));

    column-gap: 24px;

    row-gap: 40px;

    padding: 8px;

    margin: 0 auto;

    background: #fff;

    border-radius: 20px;
}


/* =========================================
   VIDEO CARD
========================================= */

.video-card {
    min-width: 0;

    margin: 0;
}


.video-card[hidden] {
    display: none !important;
}


.video-card-link {
    display: block;

    width: 100%;

    color: inherit;

    text-decoration: none;
}


/* =========================================
   IMAGE
========================================= */

.video-image {
    position: relative;
    overflow: hidden;
    width: 100%;

   

}

.swiper-slide img{
    transform: scale(1);
}


.video-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    border-radius: 0px;
    transition:
        transform 0.7s ease-out;
}


.video-card:hover .video-image img {
    transform: scale(1.045);
}


/* =========================================
   OVERLAY
========================================= */

.video-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        rgba(0, 0, 0, 0.05);

    pointer-events: none;

    transition:
        background-color 0.5s ease;
}


.video-card:hover .video-overlay {
    background:
        rgba(0, 0, 0, 0.15);
}


/* =========================================
   PLAY BUTTON
========================================= */

.video-play {
    position: absolute;

    left: 50%;
    top: 50%;

    z-index: 2;

    transform:
        translate(-50%, -50%);

    display: flex;

    align-items: center;
    justify-content: center;

    width: 58px;
    height: 42px;

    border-radius: 9px;

    background: #ff1f1f;

    color: #fff;

    box-shadow:
        0 8px 25px
        rgba(0, 0, 0, 0.22);

    pointer-events: none;

    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}


.video-play svg {
    display: block;
}


.video-card:hover .video-play {
    background: var(--red);

    transform:
        translate(-50%, -50%)
        scale(1.05);
}


/* =========================================
   TITLE
========================================= */

.video-title {
    margin: 14px 0 0;

    color: #232323;

    font-family: 'Manrope', sans-serif;

    font-size: 17px;

    line-height: 24px;

    font-weight: 500;

    letter-spacing: -0.025em;

    transition:
        color 0.3s ease;
    text-transform: none;
}


.video-card:hover .video-title {
    color: var(--red);
}


/* =========================================
   EMPTY
========================================= */

.no-videos {
    text-align: center;

    padding: 60px 0;

    color: #555;

    font-size: 16px;
}


.no-videos[hidden] {
    display: none !important;
}


/* =========================================
   TABLET
========================================= */

@media (min-width: 640px) {

    .video-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        padding: 30px;
    }

}


/* =========================================
   TABLET LARGE
========================================= */

@media (min-width: 768px) {

    .video-gallery-section {
  
        padding:
            70px 0;
    }


    .video-filter-wrap {
        position: sticky;

        top: 90px;
    }


    .video-filter {
        gap: 18px;
    }


    .video-filter-btn {
        font-size: 16px;

        line-height: 20px;
    }


    .video-title {
        font-size: 18px;

        line-height: 25px;
    }

}


/* =========================================
   DESKTOP
========================================= */

@media (min-width: 1024px) {

    .video-gallery-section {
        padding:
            90px 0;
    }


    .video-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


/* =========================================
   LARGE DESKTOP
========================================= */

@media (min-width: 1280px) {

    .video-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .video-filter-wrap {
        margin-bottom: 24px;
    }


    .video-filter {
        gap: 10px;
    }


    .video-filter-btn {
        padding:
            8px 14px;
    }

}
/* ===================================
   VIDEO DETAIL
=================================== */

.video-detail-main .subbanner .ch1 {
    width: 50%;
}


.video-detail-top {
    width: 90%;

    max-width: 120rem;

    margin: 0 auto;

    padding-top: 20px;
}


.video-breadcrumb {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 8px;

    font-size: 14px;

    color: #666;
}


.video-breadcrumb a {
    color: inherit;

    text-decoration: none;
}


.video-detail-container {
    width: 90%;

    max-width: 120rem;

    margin: 0 auto;

    padding:
        50px 0;
}


.video-detail-title {
    margin:
        0 0 30px;

    color: #232323;

    font-size: 28px;

    line-height: 1.15;

    font-weight: 600;

    letter-spacing: -.035em;
}


/* PLAYER */
.video-detail-box{
max-width: 1400px;
margin: auto;
}
.video-player {
    position: relative;

    overflow: hidden;

    width: 100%;

    aspect-ratio: 16 / 9;

    min-height: 400px;

    border-radius: 18px;
    
}


.video-player iframe {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    border: 0;
}


.related-prev, .related-next{
    display: flex;
    align-items: center;
    justify-content: center;
}




/* ENQUIRY */

.video-enquiry-wrap {
    display: flex;

    justify-content: center !important;

    margin-top: 30px !important;
}


.video-enquiry-btn {
    display: inline-flex;

    align-items: center;

    padding:
        7px 20px;

    border:
        1px solid #097ea7;

    border-radius: 999px;

    background: #097ea7;

    color: #fff;

    text-decoration: none;

    overflow: hidden;

    transition:
        background .3s ease,
        color .3s ease;
}


.video-enquiry-btn span {
    display: flex;

    align-items: center;

    gap: 13px;

    font-size: 18px;

    line-height: 24px;
}


.video-enquiry-btn:hover {
    background: #fff;

    color: #000;
}


/* ===================================
   RELATED VIDEOS
=================================== */

.related-videos {
   
    max-width: 1400px;
    margin: auto;
}



.related-video-swiper {
    padding-bottom: 10px;
}


.related-controls {
    margin-top: 35px;
}


.related-pagination {
    text-align: center;
}


.related-arrows {
    width: 50%;

    margin:
        20px 0 0 auto;

    display: flex;

    justify-content:
        flex-end;

    gap: 12px;
}


.related-prev,
.related-next {
    width: 40px;

    height: 40px;

    border: 0;

    border-radius: 50%;

    background: #dbdbdb;

    cursor: pointer;

    font-size: 20px;

    transition:
        opacity .3s ease,
        background .3s ease;
}


.related-prev.swiper-button-disabled,
.related-next.swiper-button-disabled {
    opacity: .4;

    cursor: default;

    background: #ccc;
}


/* ===================================
   RESPONSIVE
=================================== */

@media (min-width: 640px) {

    .video-detail-title {
        font-size: 34px;
    }


    

   

}


@media (min-width: 768px) {

    .video-detail-container {
        width: 90%;

        padding:
            80px 0;
    }


    


   

}


@media (min-width: 1024px) {

    .video-detail-title {
        font-size: 42px;
    }


    .video-player {
        height: 78dvh;

        aspect-ratio: auto;
    }



   


  


    .related-prev,
    .related-next {
        width: 50px;

        height: 50px;
    }

}


