/* ==========================================================
   LIKUPANG.INFO
   RESPONSIVE.CSS FINAL
   BAGIAN 1
   RESET • HEADER • LOGO • SEARCH • NAVBAR MOBILE
========================================================== */

@media (max-width:768px){

*{
    box-sizing:border-box;
}

html,
body{
    width:100%;
    overflow-x:hidden;
}

img,
iframe,
video{
    max-width:100%;
    height:auto;
}

.container-custom,
.container{
    width:100%;
    max-width:100%;
    padding:0 14px;
    margin:auto;
}

/* ==========================
   TOPBAR
========================== */

.topbar{
    height:38px;
    font-size:11px;
}

.topbar .container-custom{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.topbar-left,
.topbar-right{
    display:flex;
    align-items:center;
    gap:8px;
}

.topbar .search-form{
    display:none !important;
}

/* ==========================
   HEADER
========================== */

.main-header{
    padding:18px 0;
}

.brand-wrapper{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:14px;
}

/* ==========================
   LOGO
========================== */

.logo{
    display:flex;
    justify-content:center;
    width:100%;
}

.logo img{
    width:auto;
    height:58px;
    max-width:230px;
}

/* ==========================
   SEARCH
========================== */

.header-action{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
}

.search-form{
    display:flex !important;
    align-items:center;
    width:100%;
    max-width:210px;
    gap:6px;
}

.search-form input{
    flex:1;
    height:34px;
    border:1px solid #ddd;
    border-radius:30px;
    padding:0 12px;
    font-size:12px;
}

.search-button{
    display:flex;
    align-items:center;
    justify-content:center;

    width:34px;
    height:34px;
    min-width:34px;
    min-height:34px;

    padding:0;
    margin:0;

    border:none;
    border-radius:50%;

    background:#005BAC;
    color:#fff;

    flex-shrink:0;
    cursor:pointer;
    transition:.25s;
}

/* Hamburger tidak dipakai */

.mobile-menu{
    display:none !important;
}

/* ==========================
   NAVBAR
========================== */

.navbar-main{
    margin:12px 0 18px;
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
}

.navbar-main::-webkit-scrollbar{
    display:none;
}

.navbar-main .container-custom{
    width:max-content;
    max-width:none;
    padding:0 10px;
}

.nav-menu{
    display:flex !important;
    flex-wrap:nowrap !important;
    align-items:center;
    justify-content:flex-start;
    gap:6px;
    margin:0;
    padding:0;
    list-style:none;
    width:max-content;
}

.nav-menu li{
    flex:0 0 auto;
    margin:0;
}

.nav-menu li a{

    display:flex;
    align-items:center;
    justify-content:center;

    height:24px;

    padding:0 10px;

    border-radius:16px;

    font-size:10px;

    font-weight:600;

    line-height:1;

    white-space:nowrap;

    box-shadow:
        0 1px 4px rgba(0,0,0,.08);

    transition:.25s;
}

.live-menu a{

    background:#d61f26 !important;

    color:#fff !important;

    height:24px;

    padding:0 10px;

    border-radius:16px;

    box-shadow:
        0 1px 4px rgba(214,31,38,.20);

}

/* ==========================
   BREAKING NEWS
========================== */

.breaking-news,
.breaking-wrapper{
    display:none !important;
}

}

/* ==========================================================
   RESPONSIVE.CSS FINAL
   BAGIAN 2
   HERO • BERITA • SIDEBAR
========================================================== */

@media (max-width:768px){

/* ==========================
   HERO
========================== */

.hero-section{
    margin:15px 0 30px;
}

.hero-grid{
    display:block;
}

.hero-main{
    margin-bottom:18px;
}

.hero-main img{
    width:100%;
    height:auto;
    border-radius:16px;
}

.hero-overlay{
    padding:18px;
}

.hero-category{
    font-size:10px;
    padding:5px 12px;
}

.hero-overlay h2{
    font-size:28px;
    line-height:1.35;
    margin:12px 0;
}

.hero-overlay p{
    font-size:14px;
    line-height:1.7;
}

.hero-meta{
    gap:10px;
    font-size:12px;
}

.btn-baca{
    padding:10px 18px;
    font-size:13px;
}

.hero-side{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.hero-small{
    display:flex;
    gap:12px;
    padding:10px;
}

.hero-small img{
    width:110px;
    height:78px;
    border-radius:10px;
    object-fit:cover;
}

.hero-small h4{
    font-size:15px;
    line-height:1.4;
}

/* ==========================
   BERITA TERBARU
========================== */

.latest-news{
    margin:35px 0;
}

.section-title{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.section-title h2{
    font-size:30px;
}

.news-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:18px;
}

.news-card{
    display:flex;
    gap:12px;
    background:#fff;
    border-radius:14px;
    padding:10px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,.06);
}

.news-image{
    width:115px;
    min-width:115px;
}

.news-image img{
    width:115px;
    height:85px;
    object-fit:cover;
    border-radius:10px;
}

.category{
    top:6px;
    left:6px;
    font-size:9px;
    padding:3px 8px;
}

.news-body{
    flex:1;
    padding:0;
}

.news-body h3{
    font-size:16px;
    line-height:1.4;
    margin-bottom:8px;
}

.news-body p{
    display:none;
}

.news-meta{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    font-size:11px;
    color:#777;
}

/* ==========================
   CONTENT
========================== */

.content-grid{
    display:block;
}

/* ==========================
   SIDEBAR
========================== */

.sidebar-home{
    position:relative;
    top:auto;
    margin-top:35px;
}

.sidebar-widget{
    padding:18px;
    border-radius:16px;
    margin-bottom:20px;
}

.sidebar-widget h3{
    font-size:20px;
    margin-bottom:18px;
}

.popular-news{
    display:flex;
    gap:10px;
    padding:12px 0;
}

.popular-news img{
    width:95px;
    height:70px;
    border-radius:8px;
}

.popular-content span{
    font-size:10px;
}

.popular-content h4{
    font-size:14px;
    line-height:1.4;
}

.popular-meta{
    font-size:11px;
}

.sidebar-social{
    justify-content:center;
}

.tag-cloud{
    gap:8px;
}

.tag-cloud a{
    padding:6px 12px;
    font-size:11px;
}

.newsletter input{
    height:42px;
    font-size:13px;
}

.newsletter button{
    height:42px;
    font-size:13px;
}

}

/* ==========================================================
   RESPONSIVE.CSS FINAL
   BAGIAN 3
   DETAIL BERITA • FOOTER • LIGHTBOX
========================================================== */

@media (max-width:768px){

/* ==========================
   DETAIL BERITA
========================== */

.detail-page{
    margin:25px 0 40px;
}

.detail-container{
    display:block;
}

.article-card{
    padding:18px;
    border-radius:16px;
}

/* Tombol kembali */

.btn-kembali,
.back-button,
.btn-back{
    display:inline-flex;
    align-items:center;
    padding:6px 12px;
    font-size:12px;
    border-radius:20px;
    margin-bottom:15px;
}

/* Kategori */

.article-category,
.badge{
    font-size:10px;
    padding:5px 10px;
    border-radius:20px;
}

/* Judul */

.detail-title,
.post-title,
.article-title,
h1{
    font-size:28px !important;
    line-height:1.35 !important;
    margin:15px 0;
}

/* Ringkasan */

.lead{
    font-size:16px;
    line-height:1.7;
    margin-bottom:18px;
}

/* Meta */

.post-meta,
.article-meta{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    font-size:12px;
    padding-bottom:15px;
    margin-bottom:18px;
}

/* Foto */

.detail-image{
    margin-bottom:20px;
}

.detail-image img,
.img-fluid{
    width:100%;
    border-radius:12px;
}

.image-caption{
    margin-top:8px;
    font-size:11px;
}

/* Isi artikel */

.article-content{
    font-size:15px !important;
    line-height:1.9 !important;
}

.article-content p{
    margin-bottom:18px;
}

.article-content h2{
    font-size:25px;
    margin:30px 0 15px;
}

.article-content h3{
    font-size:21px;
    margin:25px 0 12px;
}

.article-content h4{
    font-size:18px;
    margin:20px 0 10px;
}

.article-content img{
    width:100%;
    border-radius:12px;
    margin:18px 0;
}

.article-content iframe{
    width:100%;
    min-height:220px;
    border-radius:12px;
}

.article-content table{
    display:block;
    overflow-x:auto;
}

.article-content blockquote{
    padding:16px;
    font-size:16px;
    line-height:1.7;
}

/* Share */

.share-box{
    margin-top:25px;
    padding-top:20px;
}

.share-box h4{
    font-size:16px;
    margin-bottom:12px;
}

.share-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.share-buttons a{
    padding:8px 12px;
    font-size:12px;
    border-radius:20px;
}

/* Author */

.author-box{
    display:block;
    text-align:center;
    padding:18px;
}

.author-box img{
    margin:0 auto 15px;
}

/* ==========================
   FOOTER
========================== */

.footer{
    margin-top:35px;
}

.footer-grid{
    display:block;
    padding:35px 0;
    text-align:center;
}

.footer-col{
    margin-bottom:30px;
}

.footer h3{
    font-size:24px;
}

.footer h4{
    font-size:18px;
    margin-bottom:15px;
}

.footer p{
    font-size:14px;
    line-height:1.7;
}

.footer ul{
    padding:0;
    margin:0;
}

.footer ul li{
    margin-bottom:10px;
}

.footer-social{
    display:flex;
    justify-content:center;
    gap:12px;
}

.footer-social a{
    width:40px;
    height:40px;
    font-size:16px;
}

.footer-bottom{
    padding:15px;
    font-size:12px;
    text-align:center;
}

/* ==========================
   LIGHTBOX
========================== */

#lightbox{
    padding:10px;
}

#lightbox img{
    max-width:96%;
    max-height:72%;
}

#closeLightbox{
    top:12px;
    right:18px;
    font-size:34px;
}

#prevImage,
#nextImage{
    width:46px;
    height:46px;
    font-size:26px;
}

#prevImage{
    left:10px;
}

#nextImage{
    right:10px;
}

}

/* ==========================================================
   RESPONSIVE.CSS FINAL
   BAGIAN 4
   FINAL CLEANUP & UTILITIES
========================================================== */

@media (max-width:768px){

/* ==========================
   UTILITY
========================== */

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    overflow-x:hidden;
}

img,
iframe,
video,
canvas,
svg{
    max-width:100%;
    height:auto;
}

/* ==========================
   TABLE
========================== */

table{
    display:block;
    width:100%;
    overflow-x:auto;
    border-collapse:collapse;
}

/* ==========================
   FORM
========================== */

input,
textarea,
select,
button{
    max-width:100%;
}

textarea{
    resize:vertical;
}

/* ==========================
   SPACING
========================== */

.container,
.container-custom{
    padding-left:14px;
    padding-right:14px;
}

/* ==========================
   SECTION
========================== */

section{
    margin-bottom:35px;
}

/* ==========================
   BUTTON
========================== */

.btn,
button{
    touch-action:manipulation;
}

/* ==========================
   EMBED
========================== */

.embed-responsive,
.ratio{
    overflow:hidden;
    border-radius:12px;
}

/* ==========================
   VIDEO
========================== */

.ratio iframe,
iframe{
    width:100%;
}

/* ==========================
   HIDE BREAKING NEWS
========================== */

.breaking-news,
.breaking-wrapper,
.breaking,
#breaking,
.marquee-news{
    display:none !important;
}

/* ==========================
   HIDE HAMBURGER
========================== */

.mobile-menu,
#menuToggle{
    display:none !important;
}

/* ==========================
   NAVBAR
========================== */

.navbar-main{
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
}

.navbar-main::-webkit-scrollbar{
    display:none;
}

/* ==========================
   PREVENT OVERFLOW
========================== */

.hero-grid,
.news-grid,
.content-grid,
.footer-grid,
.detail-container{
    max-width:100%;
}

/* ==========================
   ANIMATION
========================== */

*{
    animation-duration:.25s;
}

/* ==========================
   SELECTION
========================== */

::selection{
    background:#005BAC;
    color:#fff;
}

}

/* ==========================================================
   DESKTOP TETAP NORMAL
========================================================== */

@media (min-width:769px){

.mobile-menu{
    display:none !important;
}

.nav-menu{
    display:flex !important;
}

.search-form{
    display:flex;
    align-items:center;
    gap:8px;
}

}

/* ==========================================================
   END OF FILE
========================================================== */

/* ===============================
   TOPBAR MOBILE FIX
=============================== */

@media (max-width:768px){

    .topbar{
        height:auto;
        padding:8px 0;
    }

    .topbar .container-custom{
        flex-wrap:nowrap;
        gap:8px;
    }

    .topbar-left,
    .topbar-right{
        gap:8px;
        white-space:nowrap;
    }

    .topbar-left{
        font-size:12px;
    }

    .topbar-right{
        margin-left:auto;
    }

    .live-status{
        padding:3px 8px;
        font-size:11px;
        gap:5px;
    }

    .live-dot{
        width:7px;
        height:7px;
    }

    .topbar-right a{
        font-size:12px;
    }

}

/* ===============================
   LIVE TOPBAR MOBILE SMALL
=============================== */

@media (max-width:768px){

    .live-status{

        padding:2px 6px;

        font-size:10px;

        line-height:1;

        gap:4px;

        border-radius:999px;

        height:22px;

    }


    .live-dot{

        width:6px;

        height:6px;

    }


    .topbar-right a{

        font-size:11px;

    }

}

/* ===============================
   TOPBAR MOBILE FINAL
=============================== */

@media (max-width:768px){

    /* Hilangkan tanggal & hari */
    .topbar-left #tanggal,
    .topbar-left #jam{
        display:none;
    }


    .topbar{
        padding:4px 0;
        height:auto;
    }


    .topbar .container-custom{
        display:flex;
        align-items:center;
        justify-content:flex-end;
        flex-wrap:nowrap;
    }


    .topbar-left{
        display:none;
    }


    .topbar-right{
        gap:6px;
        align-items:center;
    }


    /* KAPSUL LIVE */
    .live-status{

        height:17px;

        padding:0 6px;

        font-size:9px;

        line-height:17px;

        gap:3px;

        border-radius:999px;

    }


    .live-dot{

        width:5px;

        height:5px;

    }


    /* Login Admin */
    .topbar-right a{

        font-size:10px;

        padding:0;

        white-space:nowrap;

    }

}

@media (max-width:768px){

    .brand-wrapper{

        margin-bottom:25px !important;

    }


    .nav-menu{

        margin-bottom:30px !important;

    }


    .hero-section{

        padding-top:10px !important;

    }

}

/* =========================================
   HERO MOBILE FINAL
========================================= */

@media (max-width:768px){

    .hero-title,
    .hero-title a{

        font-size:17px !important;

        line-height:1.35 !important;

        font-weight:700 !important;

    }

    .hero-content{

        padding:14px !important;

    }

    .hero-category{

        font-size:10px !important;

        padding:4px 10px !important;

        margin-bottom:8px !important;

    }

    .hero-meta{

        font-size:10px !important;

        gap:8px !important;

    }

    .hero-readmore{

        font-size:11px !important;

        padding:6px 14px !important;

    }

}

/* ===================================================
   LOGIN ADMIN MOBILE
=================================================== */

@media (max-width:768px){

.login-container,
.login-box,
.login-card{

    width:95% !important;
    max-width:420px !important;
    margin:25px auto !important;
    padding:20px !important;

}

.login-title,
.login-box h1,
.login-box h2,
.login-box h3{

    font-size:26px !important;
    line-height:1.3 !important;
    text-align:center;

}

.login-box p{

    font-size:15px !important;
    line-height:1.6 !important;

}

.login-box input,
.login-box select,
.login-box textarea{

    height:46px;
    font-size:16px;

}

.login-box button,
.login-box .btn{

    width:100%;
    height:46px;
    font-size:16px;

}

}

/* ===================================================
   CONNECT BANNER MOBILE
=================================================== */

@media (max-width:768px){

.connect-banner{

    padding:20px !important;
    text-align:center;

}

.connect-banner h2{

    font-size:24px !important;

}

.connect-banner p{

    font-size:15px !important;
    line-height:1.7;

}

.connect-banner .btn{

    width:100%;
    margin-top:12px;

}

}

/* =========================================
   ADMIN MOBILE
========================================= */

@media (max-width:768px){

/* Area konten */
.main-content,
.content,
.content-wrapper,
.wrapper{

    margin-left:0 !important;
    padding:15px !important;
    width:100% !important;

}

/* Semua card */
.card{

    width:100% !important;
    margin-bottom:15px !important;

}

/* Body card */
.card-body{

    padding:20px !important;

}

/* Dashboard statistik */
.row>.col,
.row>[class*="col-"]{

    width:100% !important;
    flex:0 0 100% !important;
    max-width:100% !important;
    margin-bottom:15px;

}

/* Angka statistik */
.display-4,
.display-5,
.display-6{

    font-size:2rem !important;

}

/* Judul */
h1,h2,h3{

    font-size:1.6rem !important;

}

/* Tabel */
.table-responsive{

    overflow-x:auto;

}

/* Tombol */
.btn{

    margin-bottom:8px;

}

}

/* ==========================================
   POLING DI BARIS KEDUA - MOBILE
   ========================================== */

@media (max-width:768px){

    #navMenu{
        flex-wrap:wrap !important;
        overflow-x:hidden !important;
        overflow-y:visible !important;
        width:100%;
        gap:8px;
    }

    /* ==========================================
   POLING - BARIS KEDUA MOBILE
   ========================================== */

@media (max-width:768px){

    #navMenu{
        flex-wrap:wrap !important;
        overflow-x:hidden !important;
        overflow-y:visible !important;
    }

    #navMenu .poling-menu{
        flex-basis:100%;
        width:auto;
        margin-top:2px;
    }

    #navMenu .poling-menu a{
        display:inline-flex;
        align-items:center;
        justify-content:center;

        padding:8px 16px;

        border-radius:20px;

        white-space:nowrap;
    }

}

}