.videosection {
    padding: 13px 0 20px 0px;
}

/* ================= SCROLLBAR HIDE (ALL BROWSERS) ================= */

.blogslider::-webkit-scrollbar,
.videoslider::-webkit-scrollbar {
    display: none;
}

.blogslider,
.videoslider {
    scrollbar-width: none;       /* Firefox */
    -ms-overflow-style: none;    /* IE / old Edge */
}

/* ================= BLOG BASIC ================= */

.blogcard{
    min-width: 300px;
    flex-shrink: 0;
}

.bloginfo {
    white-space: normal;
}

/* Line clamp support */
.bloginfo h4,
.bloginfo p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

/* Title */
.bloginfo h4 {
    margin-top: 0px !important;
    margin-bottom: 2px !important;
    height: 38px;
    -webkit-line-clamp: 2;
}

/* Paragraph */
.bloginfo p {
    -webkit-line-clamp: 2;
}

/* ================= VIDEO SECTION ================= */

.videotitle {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.videotitle span {
    color: #17a2b8;
}

.fullvideodi {
    width: 100%;
    overflow: hidden;
}

.videoslider {
    display: flex;
    justify-content: center;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 10px;
}

/* ================= VIDEO CARD ================= */

.videoframe {
    
    min-width: 200px;
    /* max-width: 230px; */
    height: 425px;
    border-radius: 12px;
    overflow: hidden;
    scroll-snap-align: start;
}

.videoframe video {
    /* width: 100%; */
    height: 100%;
    object-fit: contain;
    object-position: center !important;
}

/* ================= MOBILE VIDEO ================= */

@media (max-width: 500px) {

    .videoslider {
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 10px 10px;
        scroll-snap-type: none !important;
        will-change: scroll-position;
    }

    .videotitle{
        font-size: 16px;
    }

    .videoframe {
        min-width: 250px;
        max-width: 250px;
        height: 386px;
        border-radius: 12px;
        overflow: hidden;
    }

    .videoframe video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center !important;
    }

    .deskview{
        display: none;
    }
}

/* ================= BLOG SECTION ================= */

.blogsection {
    padding: 20px 0;
    background: #edf3fd;
}

/* Slider */
.blogslider {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scroll-behavior: auto;
}

/* Card */
.blogcard {
    min-width: 300px;
    max-width: 300px;
    height: 288px;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    scroll-snap-align: start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blogcard:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Image */
.blogimgbox {
    width: 100%;
}

.blogimg {
    width: 100%;
    object-fit: contain;
}

/* Content */
.bloginfo {
    padding: 14px;
}

.bloginfo h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #0e3696;
}

.bloginfo p {
    font-size: 14px;
    margin: 0;
    color: #555;
    line-height: 1.5;
}

/* ================= TABLET ================= */

@media (max-width: 991px) {
    .blogcard {
        min-width: 250px;
        max-width: 250px;
        height: 300px;
    }

    .bloginfo h4 {
        font-size: 16px;
    }
}

/* ================= MOBILE BLOG ================= */

@media (max-width: 576px) {

    .blogsection {
        padding: 15px 0;
    }

    .blogslider {
        gap: 14px;
    }

    .blogcard {
        min-width: 220px;
        max-width: 220px;
        height: 245px;
    }

    .bloginfo {
        padding: 5px 10px;
    }

    .bloginfo h4 {
        font-size: 15px;
        height: 33px;
        -webkit-line-clamp: 2;
    }

    .bloginfo p {
        font-size: 13px;
        -webkit-line-clamp: 3;
    }
}

/* ================= EXTRA ================= */

@media (max-width:500px) {
    .nitrodiv{
        justify-content: space-between;
    }
}



@supports (-webkit-touch-callout: none) {

    .videoframe {
        position: relative;
    }

    .videoframe video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}