*, *::after, *::before{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
body {
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    background-color: #fff;
    overflow-x: hidden;
    padding-top: 7rem;
}
h1,h2,h3,h4,h5,h6 {
    font-family: 'Poppins', sans-serif;
}
img{
    max-width: 100%;
}
a{
    text-decoration: none;
}
.container{
    width: 100%;
    max-width: 1100px;
    padding: 0 20px;
    margin: 0 auto;
}
.ai_header{
    width: 100%;
    background-color: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}
.ai_inner{
    display: block;
    padding: 0 20px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}
.ai_top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.ai_flex{
    display: flex;
    align-items: center;
    gap: 15px;
}
.aihome{
    text-decoration: none;
}
img.news-brand{
    width: auto;
    height: 30px;
}
.ai_open i{
    cursor: pointer;
    font-size: 20px;
    color: #102bdb;
}
.sosmed-top{
    display: flex;
    align-items: center;
    gap: 1rem;
}
.is-mek{
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    color: #777;
    text-transform: lowercase;
}
.sosmed{
    font-size:16px;
    text-decoration:none;
    transition:all .3s ease;
}
.sosmed.fb{
    color:#1877f2;
}
.sosmed.ig{
    color:#e1306c;
}
.sosmed.tw{
    color:#000;
}
.sosmed:hover{
    transform:translateY(-3px);
    box-shadow:0 6px 14px rgba(0,0,0,.2);
}
.ai_desksearch{
    width: 100%;
    max-width: 350px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.ai_desksearch button{
    border: none;
    background-color: #102bdb;
    padding: 8px 10px;
    margin-left: auto;
    cursor: pointer;
    color: #fff;
}
.ai_desksearch input{
    padding: 5px 16px;
    border: none;
    outline: none;
    background-color: transparent;
    width: calc(100% - 40px);
}

/* ============================= */
/* PRIMARY MENU                  */
/* ============================= */
.ai_bot{
    width:100%;
    padding:10px 0;
}
.ai_primary_menu{
    position:relative;
    z-index:50;
}
.ai_primary_menu > ul{
    display:flex;
    align-items:center;
    gap:2rem;
    width:100%;
    padding:0;
    margin:0;
    list-style:none;
    overflow-x:auto;
    overflow-y:hidden;
    white-space:nowrap;
    scrollbar-width:none;
}
.ai_primary_menu > ul::-webkit-scrollbar{
    display:none;
}
.ai_primary_menu li{
    display:flex;
    align-items:center;
    position:relative;
}
.ai_primary_menu a{
    font-family:'Poppins',sans-serif;
    color:#555;
    font-size:13px;
    text-transform:lowercase;
    text-decoration:none;
    display:block;
    padding:6px 0;
}
.ai_primary_menu a.active{
    color:#102bdb;
}
.ai_primary_menu .sub-menu{
    display:flex;
    align-items:center;
    gap:2rem;
    position:static;
    padding:0;
    margin:0;
    list-style:none;
    background:none;
    box-shadow:none;
    white-space:nowrap;
}
.ai_primary_menu .sub-menu li{
    display:flex;
    align-items:center;
}
.ai_primary_menu .sub-menu a{
    font-size:13px;
    color:#444;
    padding:6px 0;
    text-transform:none;
}
.ai_primary_menu .sub-menu a:hover{
    color:#102bdb;
}
.ai_primary_menu .menu-item-has-children{
    border-left:1px solid #eee;
    padding-left:1rem;
}

/* Flexbox Menu */
/* ============= */
.ai_nav_wrap{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    background: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    transform: translateX(-100%);
    transition: transform .3s ease;
    overflow-y: auto;
}
.ai_nav_wrap.active{
    transform: translateX(0);
}
.ai_overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: .3s ease;
}
.ai_overlay.active{
    opacity: 1;
    visibility: visible;
}
/* ===== HEADER ===== */
.ai_nav_left{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #eee;
}
.alaak img{
    height: 23px;
}
.thisclos{
    font-size: 20px;
    cursor: pointer;
    transition: .2s;
}
.thisclos:hover{
    color: #0f5bd3;
}
.ai_nav_right{
    padding: 15px;
    border-bottom: 1px solid #eee;
}
.ai_search{
    display: none;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}
.ai_search input{
    flex: 1;
    border: none;
    padding: 10px;
    outline: none;
}
.ai_search button{
    background: #0f5bd3;
    border: none;
    color: #fff;
    padding: 0 14px;
}
.ai_nav_menu{
    padding: 10px 0 20px;
}
.ai_menu{
    list-style: none;
    margin: 0;
    padding: 0;
}
.ai_menu li{
    border-bottom: 1px solid #f1f1f1;
}
.ai_menu li a{
    display: block;
    padding: 12px 15px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: .2s;
}
.ai_menu li a:hover{
    background: #f9f9f9;
    color: #0f5bd3;
}
.ai_menu .sub-menu{
    display: none;
    background: #fafafa;
}
.ai_menu li.menu-item-has-children > a::after{
    content: '›';
    position: absolute;
    right: 15px;
}
.ai_menu .sub-menu li a{
    padding-left: 25px;
}

/* Index News */
.ai_news_index{
    display: grid;
    grid-template-columns: 300px auto;
    gap: 1.5rem;
    align-items: start;
}
.ai_allcat{
    position: sticky;
    top: 8rem;
    height: fit-content;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
}
.ai_allcat .ai-cat{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    text-decoration: none;
    color: #222;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    transition: all .2s ease;
}
.ai_allcat .ai-cat:hover{
    background: #f7f7f7;
}
.ai_allcat .ai-cat.active{
    color: #ff5a1f;
}
.ai_allcat .isnamecat{
    font-size: 15px;
}
.ai_allcat i{
    font-size: 12px;
    opacity: .6;
}
.ai_allcat .ai-cat:last-child{
    border-bottom: none;
}
.ai_news{
    display: block;
    padding: 1.5rem 0;
}
.newsinfo{
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}
.news-box{
    display: grid;
    grid-template-columns: 250px auto;
    gap: 14px;
    text-decoration: none;
    color: #222;
    transition: all .2s ease;
    margin-bottom: 1.5rem;
}
.news-box-img{
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 14/9;
    object-position: center;
    object-fit: cover;
    border-radius: 5px;
}
.time-humanise{
    font-size: 13px;
    color: #888;
    margin-bottom: 4px;
    text-transform: capitalize;
}
.ai-title-news{
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 6px;
}
.aithis_right p{
    font-size: 14px;
    color: #555;
    margin: 0;
    line-height: 1.5;
}
.ai_pagination{
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 20px;
}
.ai_pagination a,
.ai_pagination span{
    padding: 8px 12px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #222;
    border-radius: 4px;
    font-size: 14px;
    transition: all .2s ease;
}
.ai_pagination a:hover{
    background: #f5f5f5;
}
.ai_pagination .current{
    background: #102bdb;
    color: #fff;
    border-color: #102bdb;
}

/* Category ================ */
.ai_gridsidebar{
    display: grid;
    grid-template-columns: auto 300px;
    align-items: start;
    gap: 1.5rem;
}

/* Sidebar */
.ai-sidebar{
    padding: 1.5rem 0;
    position: sticky;
    top: 6rem;
    height: fit-content;
}
.ai-widget{
    display: block;
    margin-bottom: 1.5rem;
}
.ai-widget-title{
    display: block;
    font-size: 14px;
    color: #000;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 8px;
}
.ai-ads-box{
    width: 100%;
    max-height: 250px !important;
    height: 250px !important;
    background-color: rgba(5, 11, 59, 0.1);
}
.ai-recent-item{
    display: grid;
    grid-template-columns: 90px auto;
    gap: 1rem;
    margin-bottom: 1rem;
}
.ai-recent-item:last-child{
    margin-bottom: 0;
}
.ai-widget.ai-widget-recent{
    background: linear-gradient(180deg, #1877f2, #0f5bd3);
    padding: 14px;
    border-radius: 8px;
}
.ai-widget.ai-widget-popular{
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    padding: 14px;
    border-radius: 8px;
}
.ai-widget.ai-widget-popular .ai-widget-title,
.ai-widget.ai-widget-recent .ai-widget-title{
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    display: block;
    margin-bottom: 12px;
}
.ai-recent-thumb{
    width: 100%;
    height: auto;
    object-position: center;
    object-fit: cover;
    aspect-ratio: 10/10;
    border-radius: 4px;
}
.ai-recent-content .ai-time{
    display: block;
    color: rgba(255,255,255,0.9);
    font-size: 11px;
    margin-bottom: 4px;
}
.ai-recent-content .ai-title{
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    /* clamp biar rapi */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* HOVER */
.ai-recent-item:hover .ai-title{
    color: #ffd166;
}

/* DIVIDER HALUS */
.ai-recent-item:not(:last-child){
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 10px;
}

/* Empty news */
.ai-empty-news{
    text-align: center;
    padding: 60px 20px;
}
.ai-empty-news i{
    font-size: 48px;
    color: #ddd;
    margin-bottom: 15px;
}
.ai-empty-news h3{
    font-size: 18px;
    margin-bottom: 8px;
    color: #333;
}
.ai-empty-news p{
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
}
.ai-empty-news .back-home{
    display: inline-block;
    padding: 8px 14px;
    background: #0f5bd3;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: .2s;
}

.ai-empty-news .back-home:hover{
    background: #0f5bd3;
}

/* 404 page */
/* WRAPPER */
.ai-404{
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: #f8f9fb;
}

/* BOX */
.ai-404-box{
    text-align: center;
    max-width: 500px;
}

/* 404 NUMBER */
.ai-404-code{
    font-size: 100px;
    font-weight: 800;
    color: #2b4c9a;
    margin-bottom: 10px;
}

/* TITLE */
.ai-404-title{
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #222;
}

/* DESCRIPTION */
.ai-404-desc{
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* INDONESIA STYLE (biar beda dikit) */
.ai-404-title.id{
    margin-top: 15px;
    color: #444;
}

.ai-404-desc.id{
    color: #777;
}

/* BUTTON */
.ai-404-btn{
    display: inline-block;
    margin-top: 10px;
    padding: 10px 18px;
    background: #2b4c9a;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s;
}

.ai-404-btn:hover{
    background: #1f3c7a;
}

/* =============================== */
/* Footer Css                      */
/* =============================== */
.ai_footer{
    width:100%;
    display:block;
    margin-top:2rem;
}
.footop{
    width:100%;
    background-color:#081255;
    padding:2rem 0;
}
.fogrid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:2rem;
}
.ilogo{
    display:flex;
    flex-direction:column;
    gap:1rem;
}
.foimg{
    max-width:180px;
}
.fosdsd{
    color: #fff;
    font-size: 13px;
    line-height: 1.7;
    font-weight: 100;
}
.fososmed{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}
.isfotitle{
    display:block;
    font-size:15px;
    font-weight:600;
    color:#fff;
    margin-bottom:1rem;
}
.ai_fomenu ul{
    list-style:none;
    padding:0;
    margin:0;
}
.ai_fomenu li{
    margin-bottom:8px;
}
.ai_fomenu a{
    color:#cbd2ff;
    font-size:13px;
    text-decoration:none;
    transition:0.2s;
}
.ai_fomenu a:hover{
    color:#fff;
}
.foobot{
    width:100%;
    background:#050b3b;
    padding:12px 0;
    text-align:center;
}

.foobot p{
    margin:0;
    font-size:13px;
    color:#cbd2ff;
}

/* Media Query */
/* Tablet */
@media(max-width:780px){
    img.news-brand{
        height: 23px;
    }
    .ai_desksearch{
        max-width: 250px;
    }
    .is-mek{
        display: none;
    }
    .ai_gridsidebar{
        display: block;
    }
    .fogrid{
        grid-template-columns: 1fr 1fr;
    }
    .ai_news_index{
        display: block;
    }
    .ai_allcat{
        display: none;
    }
}

/* Mobile Css */
@media(max-width: 560px){
    .ai_desksearch,
    .sosmed-top{
        display: none;
    }
    .ai_search{
        display: flex;
    }
    .news-box{
        display: block;
    }
    .news-box-img{
        margin-bottom: 1rem;
    }
    .fogrid{
        grid-template-columns: 1fr;
    }
}