/* =========================================================
   VIDEO NEWS PAGE
   SAMACHAR CAFE
========================================================= */


/* =========================================================
   MAIN SECTION
========================================================= */

.video-page-section {

    width: 100%;

    padding: 25px 0 40px;

    background: #f8f6f2;

}


/* =========================================================
   MAIN CONTAINER
========================================================= */

.video-page-container {

    width: 100%;

    max-width: 1400px;

    margin: 0 auto;

    padding-left: 20px;

    padding-right: 20px;

}


/* =========================================================
   MAIN VIDEO PAGE BOX
========================================================= */

.video-page-box {

    width: 100%;

    background: #ffffff;

    border-radius: 12px;

    padding: 25px;

    box-sizing: border-box;

    overflow: hidden;

}


/* =========================================================
   PAGE HEADING
========================================================= */

.video-page-heading {

    width: 100%;

    margin: 0 0 22px;

    padding: 0 0 15px;

    border-bottom: 1px solid #e5e5e5;

}


.video-page-heading h1 {

    margin: 0 !important;

    padding: 0 !important;

    font-size: 32px !important;

    line-height: 1.4 !important;

    font-weight: 800 !important;

    color: #222 !important;

}


/* =========================================================
   VIDEO LIST
========================================================= */

.video-list {

    width: 100%;

}


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

.video-item {

    width: 100%;

    display: flex;

    align-items: flex-start;

    gap: 22px;

    margin: 0 0 20px;

    padding: 15px;

    background: #ffffff;

    border: 1px solid #eeeeee;

    border-radius: 10px;

    box-sizing: border-box;

    box-shadow: 0 3px 12px rgba(0,0,0,0.06);

    transition: all 0.25s ease;

}


/* =========================================================
   CARD HOVER
========================================================= */

.video-item:hover {

    box-shadow: 0 6px 20px rgba(0,0,0,0.10);

    border-color: #dddddd;

}


/* =========================================================
   VIDEO MEDIA BOX

   Horizontal Video
   360 x 203
========================================================= */

.video-item-media {

    position: relative;

    width: 360px !important;

    height: 203px !important;

    min-width: 360px !important;

    max-width: 360px !important;

    min-height: 203px !important;

    max-height: 203px !important;

    flex: 0 0 360px !important;

    overflow: hidden;

    background: #000;

    border-radius: 7px;

    box-sizing: border-box;

}


/* =========================================================
   VIDEO PLAYER
========================================================= */

.video-item-player {

    display: block !important;

    width: 360px !important;

    height: 203px !important;

    min-width: 360px !important;

    max-width: 360px !important;

    min-height: 203px !important;

    max-height: 203px !important;

    margin: 0 !important;

    padding: 0 !important;

    border: 0 !important;

    outline: none;

    background: #000;

    object-fit: cover;

    box-sizing: border-box;

}


/* =========================================================
   VIDEO CONTENT
========================================================= */

.video-item-content {

    flex: 1 1 auto;

    min-width: 0;

    padding: 3px 5px;

}


/* =========================================================
   VIDEO TITLE
========================================================= */

.video-item-title {

    margin: 0 0 10px !important;

    padding: 0 !important;

    font-size: 23px !important;

    line-height: 1.45 !important;

    font-weight: 700 !important;

    color: #222 !important;

}


/* =========================================================
   TITLE LINK
========================================================= */

.video-item-title a {

    display: block;

    margin: 0 !important;

    padding: 0 !important;

    color: #222 !important;

    text-decoration: none !important;

    font-size: inherit !important;

    font-weight: inherit !important;

    line-height: inherit !important;

}


/* =========================================================
   TITLE HOVER
========================================================= */

.video-item-title a:hover {

    color: #e87500 !important;

    text-decoration: none !important;

}


/* =========================================================
   SHORT DESCRIPTION
========================================================= */

.video-item-description {

    margin: 0 0 15px !important;

    padding: 0 !important;

    font-size: 15px;

    line-height: 1.65;

    color: #666;

    display: -webkit-box;

    -webkit-line-clamp: 3;

    -webkit-box-orient: vertical;

    overflow: hidden;

}


/* =========================================================
   META
========================================================= */

.video-item-meta {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 15px;

    margin: 0;

    padding: 0;

    font-size: 13px;

    line-height: 1.4;

    color: #777;

}


/* =========================================================
   META SPAN
========================================================= */

.video-item-meta span {

    display: inline-flex;

    align-items: center;

    gap: 5px;

    white-space: nowrap;

}


/* =========================================================
   META ICON
========================================================= */

.video-item-meta i {

    font-size: 13px;

    color: #777;

}


/* =========================================================
   EMPTY MESSAGE
========================================================= */

.video-empty {

    width: 100%;

    padding: 18px 20px;

    background: #fff3cd;

    border: 1px solid #ffe69c;

    border-radius: 8px;

    color: #664d03;

    font-size: 15px;

    box-sizing: border-box;

}


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

@media (max-width: 767px) {


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

    .video-page-section {

        padding: 15px 0 30px;

    }


    /* =========================================
       CONTAINER
    ========================================= */

    .video-page-container {

        padding-left: 10px;

        padding-right: 10px;

    }


    /* =========================================
       PAGE BOX
    ========================================= */

    .video-page-box {

        padding: 15px;

        border-radius: 8px;

    }


    /* =========================================
       HEADING
    ========================================= */

    .video-page-heading {

        margin-bottom: 18px;

        padding-bottom: 12px;

    }


    .video-page-heading h1 {

        font-size: 26px !important;

    }


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

    .video-item {

        gap: 14px;

        margin-bottom: 16px;

        padding: 10px;

        border-radius: 8px;

    }


    /* =========================================
       VIDEO BOX
    ========================================= */

    .video-item-media {

        width: 180px !important;

        height: 101px !important;

        min-width: 180px !important;

        max-width: 180px !important;

        min-height: 101px !important;

        max-height: 101px !important;

        flex: 0 0 180px !important;

        border-radius: 5px;

    }


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

    .video-item-player {

        width: 180px !important;

        height: 101px !important;

        min-width: 180px !important;

        max-width: 180px !important;

        min-height: 101px !important;

        max-height: 101px !important;

    }


    /* =========================================
       CONTENT
    ========================================= */

    .video-item-content {

        padding: 0;

    }


    /* =========================================
       TITLE
    ========================================= */

    .video-item-title {

        font-size: 18px !important;

        line-height: 1.4 !important;

        margin-bottom: 7px !important;

    }


    /* =========================================
       DESCRIPTION
    ========================================= */

    .video-item-description {

        display: none;

    }


    /* =========================================
       META
    ========================================= */

    .video-item-meta {

        gap: 8px;

        font-size: 11px;

    }


    .video-item-meta i {

        font-size: 11px;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {


    .video-page-box {

        padding: 12px;

    }


    .video-item {

        gap: 10px;

        padding: 8px;

    }


    .video-item-media {

        width: 145px !important;

        height: 82px !important;

        min-width: 145px !important;

        max-width: 145px !important;

        min-height: 82px !important;

        max-height: 82px !important;

        flex: 0 0 145px !important;

    }


    .video-item-player {

        width: 145px !important;

        height: 82px !important;

        min-width: 145px !important;

        max-width: 145px !important;

        min-height: 82px !important;

        max-height: 82px !important;

    }


    .video-item-title {

        font-size: 15px !important;

        line-height: 1.35 !important;

    }


    .video-item-meta {

        font-size: 10px;

    }

}

/* =========================================================
   VIDEO NEWS - MOBILE
   Normal Category Page जैसा Layout
========================================================= */

@media (max-width: 767px) {

    .video-page-section {
        padding: 15px 0 30px;
    }

    .video-page-container {
        width: 100%;
        padding: 0 10px;
    }

    .video-page-box {
        width: 100%;
        padding: 15px 10px;
        border-radius: 8px;
    }


    /* =========================
       HEADING
    ========================= */

    .video-page-heading {
        margin-bottom: 15px;
        padding-bottom: 12px;
    }

    .video-page-heading h1 {
        font-size: 24px !important;
        line-height: 1.4 !important;
    }


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

    .video-item {

        width: 100% !important;

        display: block !important;

        padding: 10px !important;

        margin: 0 0 15px !important;

        background: #fff;

        border: 1px solid #e5e5e5;

        border-radius: 8px;

        box-shadow: 0 2px 8px rgba(0,0,0,.05);

        box-sizing: border-box;

    }


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

    .video-item-media {

        width: 100% !important;

        max-width: 100% !important;

        min-width: 100% !important;

        height: auto !important;

        min-height: 0 !important;

        max-height: none !important;

        aspect-ratio: 16 / 9;

        flex: none !important;

        overflow: hidden;

        border-radius: 6px;

        background: #000;

    }


    .video-item-player {

        display: block !important;

        width: 100% !important;

        max-width: 100% !important;

        min-width: 0 !important;

        height: 100% !important;

        min-height: 0 !important;

        max-height: none !important;

        object-fit: cover !important;

        background: #000;

    }


    /* =========================
       CONTENT
    ========================= */

    .video-item-content {

        width: 100% !important;

        padding: 8px 0 2px !important;

        min-width: 0;

        box-sizing: border-box;

    }


    /* =========================
       TITLE
    ========================= */

    .video-item-title {

        margin: 0 0 8px !important;

        padding: 0 !important;

        font-size: 18px !important;

        line-height: 1.45 !important;

        font-weight: 700 !important;

    }


    .video-item-title a {

        display: block !important;

        color: #222 !important;

        text-decoration: none !important;

        font-size: inherit !important;

        line-height: inherit !important;

        font-weight: inherit !important;

    }


    /* =========================
       DESCRIPTION
    ========================= */

    .video-item-description {

        margin: 0 0 8px !important;

        padding: 0 !important;

        font-size: 14px !important;

        line-height: 1.5 !important;

        color: #666;

        display: -webkit-box;

        -webkit-line-clamp: 2;

        -webkit-box-orient: vertical;

        overflow: hidden;

    }


    /* =========================
       META
    ========================= */

    .video-item-meta {

        display: flex;

        align-items: center;

        gap: 12px;

        margin: 0;

        padding: 0;

        color: #777;

        font-size: 12px;

    }

}
