﻿/* ==================================================
   WATCH SECTION - FINAL CLEAN CSS
   Applies ONLY to: #watch.watch-custom
   ================================================== */

#watch.watch-custom {
    background: #f8f9fa;
}

/* ==================================================
   MAIN ROW
   ================================================== */

#watch.watch-custom .watch_1 {
    display: flex;
    align-items: stretch;
    position: relative;   /* separator base */
}

/* remove bootstrap gutters effect */
#watch.watch-custom .watch_1 > .col-md-6 {
    display: flex;
    padding: 0;
    position: relative;
}

/* ==================================================
   LEFT : VIDEO
   ================================================== */

#watch.watch-custom .watch_1l {
    width: 100%;
    position: relative;
}

#watch.watch-custom .watch_1l1,
#watch.watch-custom .grid,
#watch.watch-custom figure {
    width: 100%;
    height: 100%;
    margin: 0;
}

#watch.watch-custom iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 360px;
    aspect-ratio: 16 / 9;
    display: block;
    border: none;
    background: #000;
}

/* video glow overlay */
#watch.watch-custom .watch_1l::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(247, 79, 34, 0.12);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

#watch.watch-custom .watch_1l:hover::after {
    opacity: 1;
}

/* ==================================================
   RIGHT : NEWS
   ================================================== */

#watch.watch-custom .watch_1r {
    width: 100%;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 8px 20px 12px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#watch.watch-custom .watch_1r:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

/* heading tight */
#watch.watch-custom .watch_1r h5 {
    margin: 0 0 6px 0 !important;
    padding: 0;
}

/* ==================================================
   NEWS LIST
   ================================================== */

#watch.watch-custom .home-news-item {
    display: flex;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px solid #eee;
    transition: background 0.2s ease, padding-left 0.2s ease;
}

#watch.watch-custom .home-news-item:hover {
    background: rgba(247, 79, 34, 0.04);
    padding-left: 4px;
}

#watch.watch-custom .home-news-icon img {
    width: 26px;
}

#watch.watch-custom .home-news-title {
    font-size: 14px;
    font-weight: 600;
}

#watch.watch-custom .home-news-content {
    font-size: 13px;
    color: #555;
}

/* All News link bottom */
#watch.watch-custom .home-news-more {
    margin-top: auto;
    padding-top: 8px;
}

/* ==================================================
   🔥 VERTICAL SEPARATOR (GUARANTEED)
   ================================================== */

#watch.watch-custom {
    position: relative;
    overflow: hidden;   /* section ke bahar na nikle */
}

#watch.watch-custom .watch_1::before {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 50%;
    width: 2px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(247, 79, 34, 0.6),
        transparent
    );
    transform: translateX(-50%);
    z-index: 1;   /* header se neeche */
}

/* content separator ke upar rahe */
#watch.watch-custom .watch_1 > .col-md-6 {
    position: relative;
    z-index: 2;
}

/* ==================================================
   MOBILE VIEW
   ================================================== */

@media (max-width: 767px) {

    #watch.watch-custom .watch_1 {
        flex-direction: column;
    }

    #watch.watch-custom iframe {
        min-height: 220px;
    }

    #watch.watch-custom .watch_1::before {
        display: none;   /* no vertical line on mobile */
    }

    #watch.watch-custom .watch_1r {
        padding: 10px 15px;
    }
    
     #watch.watch-custom .watch_2 {
        gap: 15px;
    }

    #watch.watch-custom .watch_2l3 h5 {
        font-size: 13px;
    }
}

/* ==================================================
   WATCH_2 : VIDEO TILES (STABLE & NATURAL)
   ================================================== */

#watch.watch-custom .watch_2 {
    display: flex;
    gap: 16px;
    flex-wrap: nowrap;
    overflow-x: hidden;        /* 🔒 default me NO scroll */
}

/* --------------------------------------------------
   Tile column — bootstrap friendly
   -------------------------------------------------- */

#watch.watch-custom .watch_2 > .col-md-3 {
    flex: 1 1 0;               /* natural shrink/grow */
    max-width: 25%;
}

/* --------------------------------------------------
   Tile box
   -------------------------------------------------- */

#watch.watch-custom .watch_2m {
    width: 100%;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#watch.watch-custom .watch_2m:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(0,0,0,0.14);
}

/* --------------------------------------------------
   Video area — REAL video look
   -------------------------------------------------- */

#watch.watch-custom .watch_2l,
#watch.watch-custom .watch_2l1,
#watch.watch-custom .watch_2 figure {
    width: 100%;
    margin: 0;
}

/* 👇 key fix */
#watch.watch-custom .watch_2 iframe {
    width: 100% !important;
    aspect-ratio: 16 / 9;      /* 🎯 video proportion */
    height: auto !important;
    min-height: unset !important;
    display: block;
    border: none;
}

/* --------------------------------------------------
   Title area
   -------------------------------------------------- */

#watch.watch-custom .watch_2l3 {
    padding: 8px 10px;
    text-align: center;
}

#watch.watch-custom .watch_2l3 h5 {
    margin: 0;
    font-size: 14px;
    line-height: 1.3;
}

#watch.watch-custom .watch_2l3 a {
    text-decoration: none;
    transition: color 0.2s ease;
}

#watch.watch-custom .watch_2l3 a:hover {
    color: #f74f22;
}

/* ==================================================
   ONLY ODD / SMALL SCREENS → SCROLL
   ================================================== */

@media (max-width: 991px) {

    #watch.watch-custom .watch_2 {
        overflow-x: auto;      /* 🔥 scroll ONLY when needed */
    }

    #watch.watch-custom .watch_2 > .col-md-3 {
        flex: 0 0 240px;       /* fixed video-like tile */
        max-width: 240px;
    }
}

/* ==================================================
   FINAL MOBILE ALIGNMENT FIX
   ================================================== */
@media (max-width: 767px) {

    /* WATCH MAIN ROW */
    #watch.watch-custom .watch_1 {
        flex-direction: column;
    }

    /* REMOVE FLEX ON MOBILE */
    #watch.watch-custom .watch_1 > .col-md-6 {
        display: block;
        width: 100%;
        padding: 0 15px;
        text-align: center;
    }

    /* CENTER VIDEO */
    #watch.watch-custom .watch_1l {
        margin-bottom: 20px;
        text-align: center;
    }

    #watch.watch-custom iframe {
        width: 100% !important;
        height: auto !important;
        min-height: 220px;
    }

    /* CENTER TEXT SIDE */
    #watch.watch-custom .watch_1r {
        text-align: center;
        padding: 20px 15px;
    }

    /* PRASAD SECTION STACK */
    .prasad-custom .row {
        flex-direction: column;
        text-align: center;
    }

    .prasad_1l {
        margin-bottom: 25px;
        text-align: center;
    }

    .prasad_1r img {
        max-width: 90%;
        margin: auto;
        display: block;
    }

    /* BUTTONS CENTER */
    .prasad_1l table {
        margin: auto;
    }
}
