/* ============================================================
   responsive.css â€” vienco.com.vn (skin: user/finance)
   Äáº¶T Táº I: skins/user/finance/css/responsive.css  (náº¡p CUá»I CÃ™NG)
   ============================================================ */

/* 0. Chuáº©n há»™p + chá»‘ng trÃ n ngang */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100%; }

/* 1. Khung chÃ­nh co giÃ£n */
.wrapper { width: 100% !important; max-width: 970px !important; margin: 0 auto !important; padding: 0 12px !important; }

/* 2. áº¢nh/khung nhÃºng co theo cá»™t */
img, video, iframe, embed, object { max-width: 100% !important; height: auto !important; }

/* 3. SLIDER co giÃ£n */
#sliderFrame { width: 100% !important; max-width: 940px !important; }
.slide { height: auto !important; }

/* 4. NÃºt hamburger (áº©n á»Ÿ desktop) */
.bw-menu-toggle { display: none; }
.bw-menu-toggle .bw-burger { display: inline-block; width: 24px; vertical-align: middle; margin-right: 8px; }
.bw-menu-toggle .bw-burger i { display: block; height: 3px; background: #fff; margin: 4px 0; border-radius: 2px; }

/* ============================================================
   TABLET + MOBILE  (<= 992px)
   ============================================================ */
@media (max-width: 992px) {
    .wrapper { max-width: 100% !important; }

    /* ---------- MENU HAMBURGER ---------- */
    .menu { height: auto !important; }
    .menu .navbar { min-height: 0 !important; margin: 0 !important; border: 0 !important; }
    .menu .navbar-default { border: 0 !important; }
    .bw-menu-toggle {
        display: block; width: 100%;
        background: #02A650; color: #fff; border: 0;
        padding: 12px 16px; font-size: 16px; font-weight: bold;
        text-align: left; cursor: pointer;
    }
    .menu .navbar-collapse {
        display: none !important; height: auto !important; max-height: none !important;
        margin: 0 !important; padding: 0 !important; box-shadow: none !important; background: #fff;
    }
    .menu.bw-open .navbar-collapse { display: block !important; }
    .menu .navbar-nav { height: auto !important; margin: 0 !important; float: none !important; }
    .menu .navbar-nav > li { float: none !important; border-top: 1px solid #e0e0d6; }
    .menu .navbar-nav > li > a { padding: 12px 16px !important; }
    .menu .navbar-nav .dropdown-menu {
        position: static !important; float: none !important; width: 100% !important;
        border: 0 !important; box-shadow: none !important; background: #f4f4f4 !important;
        display: block !important; margin: 0 !important;
    }
    .menu .navbar-nav .dropdown-menu > li > a { padding: 10px 16px 10px 34px !important; }

    /* ---------- LÆ°á»›i tháº» -> 2 tháº»/hÃ ng ---------- */
    .left-top { display: flex; flex-wrap: wrap; justify-content: space-between; }
    .li-home, .li-home2 { width: 48% !important; margin-right: 0 !important; height: auto !important; }

    /* ---------- 2 cá»™t bÃ i viáº¿t -> 1 cá»™t ---------- */
    .ct-left, .ct-right, .ct-right2 { width: 100% !important; float: none !important; }

    /* ---------- KHá»I TIN Ná»”I Báº¬T: full-width, áº£nh ná»•i trÃ¡i, KHÃ”NG Ä‘Ã¨ ---------- */
    .left-bot, .left-bot2 {
        width: 100% !important;
        float: none !important;
        clear: both !important;          /* má»—i khá»‘i xuá»‘ng dÃ²ng riÃªng */
        margin: 0 0 14px !important;
        min-height: 0 !important;
        overflow: hidden;                /* bao áº£nh float bÃªn trong */
    }
    /* áº¢nh ná»•i trÃ¡i Ä‘á»ƒ chá»¯ bao quanh, láº¥p Ä‘áº§y chiá»u rá»™ng (khÃ´ng bá»‹ trá»‘ng pháº£i) */
    .left-bot img, .left-bot2 img {
        float: left !important;
        width: 183px !important;         /* giá»¯ áº£nh gá»n bÃªn trÃ¡i */
        height: auto !important;
        margin: 0 14px 8px 0 !important;
    }
    /* TiÃªu Ä‘á» má»¥c luÃ´n báº¯t Ä‘áº§u dÃ²ng má»›i -> háº¿t chÃ¨n Ä‘Ã¨ */
    .title-news { clear: both !important; }

    .pikachoose, .pika-stage, .pika-textnav { width: 100% !important; }
    .pika-stage img { width: 100% !important; height: auto !important; }
}

/* ============================================================
   MOBILE  (<= 768px)
   ============================================================ */
@media (max-width: 768px) {
    .li-home, .li-home2,
    .supp, .link, .share, .wrap {
        width: 100% !important; float: none !important;
        margin-right: 0 !important; height: auto !important;
    }
    .search, .input-search, #formSearch #keyword { width: 100% !important; }
    .form-horizontal, .form_tuvan { width: 100% !important; margin-left: 0 !important; }
    .form_tuvan label { width: 100% !important; float: none !important; }
    .cat-content > img { float: none !important; display: block; margin: 0 0 10px 0 !important; }
    h1 { font-size: 22px !important; } h2 { font-size: 19px !important; }
    .block-title, .title-news { font-size: 16px !important; }
    .jssort03 { display: none !important; }
}

/* ============================================================
   MOBILE NHá»Ž  (<= 480px): áº£nh tin ná»•i báº­t vá» full-width cho dá»… xem
   ============================================================ */
@media (max-width: 480px) {
    .li-home, .li-home2 { width: 100% !important; }
    .left-bot img, .left-bot2 img { float: none !important; display: block; width: 100% !important; max-width: 280px; margin: 0 0 8px 0 !important; }
}