@media (min-width:1025px) and (max-width:1366px) {

    * {
        margin: 0;
        padding: 0;
        font-family: Arial, Helvetica, sans-serif;
    }
    
    .teks-responsif {
        font-size: 16px;
    }

    .wrap {
        width: 1300px;
        height: 100vh;
        margin-left: auto;
        margin-right: auto;
        /*border: 5px solid black; */
    }

    #header {
        width: 1300px;
        height: 40px;
        background-image: url('../../main_images/001_001_blank20.jpg');
    }

    #linehead1 {
        width: 1300px;
        height: 5px;
        background: #035;
    }

    #linehead2 {
        width: 1300px;
        height: 3px;
        background: #09c;
    }

    #linehead3 {
        width: 1300px;
        height: 2px;
        background: #999;
    }
    
/* Catatan: Karena ada gap: 20px, total persentase (20% + 70% + 10%) + gap bisa sedikit melebihi batas jika tidak menggunakan calc. 
   Alternatif terbaik untuk flex-basis yang akurat dengan gap:
.leftbox   { flex: 0 0 calc(20% - 13.3px); }
.middlebox { flex: 0 0 calc(70% - 6.6px); }
.rightbox  { flex: 0 0 calc(10% - 21px); }
 */

/* --- PERBAIKAN: Kontainer Konten Utama menjadi Row --- */
.content {
    display: flex;
    flex-direction: row; /* Mengatur susunan box ke samping (3 kolom) */
    flex: 1;            /* Mengisi sisa ruang kosong antara header & footer */
    width: 100%;
    height: 90vh;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}
     
/* --- PERBAIKAN: Menghapus float dan letakkan tinggi fleksibel --- */
.leftbox {
    flex: 0 0 20%; /* Lebar tetap 20% */
    /*background-color: skyblue;*/
    min-height: 300px; /* Opsional: batas tinggi minimum */
    border-right: 1px solid #ccc;
}

.middlebox {
    flex: 0 0 70%; 
    min-height: 40vh;
}

.headline {
    width: 95%;
    height: 6vh;
    margin-top: 20vh;
    margin-left: 1.8vw;
    font-size: 32px;
    color: maroon;
    border-bottom: 3px solid #ccc;
}

.prime-box {
    width: 95%;
    height: 47vh;
    margin-top: 1vw;
    margin-left: 1.8vw;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row; 
    gap: 5px; /* Menggunakan gap untuk jarak antar box */
    /*background-color: skyblue;*/
}
    
.promadv {
    flex: 1; /* Biar 5 div membagi rata ruang yang tersedia secara otomatis otomatis */
    background-color: #eee;
    height: 100%; /* Mengikuti tinggi .prime-box (40vh) */
    overflow: hidden;
}

/* Tambahan: Memastikan tag 'a' memenuhi seluruh area div .promadv */
.promadv a {
    display: block;
    width: 100%;
    height: 100%;
}

.promadv img {
    width: 100%;      
    height: 100%;     
    object-fit: cover; /* Gambar terpotong rapi, proporsional, dan tidak merusak layout */
}


.rightbox {
    flex: 0 0 10%;
    min-width: 0;
    box-sizing: border-box;
    background-color: #eee;
}
    
.connav {
    width: 100%;
    background: #eee;
    padding: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.pagenav {
        width: 10vw;
        height: 40vh;
        margin-left: 2vw;
        margin-top: 14vh;
        /* background: #09c; */
    }

    .pgmenu {
        width: 10vw;
        height: 40vh;
        /* background: #eee; */
        list-style: none;
    }
    
        
    .pgmenu li img {
        width: 80px;
        height: 80px;
        margin-top: 12px;
        border: 2px solid #ccc;
        border-radius: 15px;
        float: left;
    }

.footsection {
    width: 100%;
}

.navigasi { height: 19px; background: #035; width: 100%; }
.linebar { height: 3px; background: #09c; width: 100%; }
.copyright {
    background: #222;
    color: grey;
    text-align: center;
    padding: 10px 0;
    font-size: 12px;
}

}