@media (min-width:1025px) and (max-width:1366px) {

    * {
        margin: 0;
        padding: 0;
        font-family: Arial, Helvetica, sans-serif;
    }

    .wrap {
        width: 1300px;
        height: 630px;
        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;
    }

    .content {
        width: 1298px;
        height: 620px;
        border-left: 1px solid #ccc;
        border-right: 1px solid #ccc;
        /*background-color: yellow; */
        /* PERBAIKAN: Mencegah margin collapse dari elemen di dalamnya */
        overflow: hidden; 
    }

    .conexp {
        width: 1207px;
        height: 600px;
        /*background-color: skyblue; */
        float: left;
    }
    
    .leftbox {
        width: 120px;
        height: 600px;
        float: left;
    }
    
    .rightbox {
        width: 1030px;
        height: 600px;
        border-left: 1px solid #ccc;
        border-right: 1px solid #ccc;
        float: left;
    }
    
    .judul-kontak {
        width: 900px;
        height: 60px;
        margin-top: 10px;
        margin-left: 50px;
        border-bottom: 2px solid #555;
        font-size: 38px;
        font-family: 'Times New Roman', Times, serif;
        color: rgb(66, 65, 65);
    }
    
    .listbox {
        width: 935px;
        height: 600px;
        margin-top: 5px;
        float: left;
    }



    
    .judul-kontak {
        width: 900px;
        height: 60px;
        margin-top: 10px;
        margin-left: 50px;
        border-bottom: 2px solid #555;
        font-size: 38px;
        font-family: 'Times New Roman', Times, serif;
        color: rgb(66, 65, 65);
    }
    
    .listbox {
        width: 935px;
        height: 600px;
        margin-top: 5px;
        float: left;
         /*background-color: skyblue; */
    }


    .pixbox {
        width: 437px;
        height: 600px;
        border-right: 1px solid #ccc;
        /* background: #ccc; */
        float: left;
    }

    .pixframe {
        width: 437px;
        height: 330px;
        /* background: #555; */
        display: flex;
        align-items: center;
        justify-content: center;
        float: left;
    }

    .pixframe img {
        width: 350px;
        border: 3px solid rgb(131, 101, 2);
    }

    .penulis {
        width: 400px;
        height: 190px;
        margin-top: 20px;
        float: left;
    }

    .logo {
        width: 110px;
        height: 190px;
        margin-top:30px;
        display: flex;
        align-items: center;
        justify-content: center;
        float: left;
    }

    .logo img {
        width: 90px;
        height:90px;
    }

    .ket {
        width: 190px;
        height: 190px;
        border-left: 2px solid #555;
        float: left;
    }

    .texbox {
        width: 760px;
        height: 600px;
        background-color: #f9f9f9;
        float: left;
    }


    .judul {
        width: 700px;
        height: 50px;
        margin-top: 35px;
        margin-left: 50px;
        border-bottom: 2px solid #555;
        font-size: 43px;
        font-family: 'Times New Roman', Times, serif;
        color: rgb(66, 65, 65);
    }


    .head-DG {
        width: 700px;
        height: 50px;
        margin-top: 35px;
        margin-left: 50px;
        border-bottom: 2px solid #555;
        font-size: 43px;
        font-family: 'Times New Roman', Times, serif;
        color: rgb(66, 65, 65);
    }

    .logo-DG {
        width: 200px;
        height: 50px;
        float: left;
    }


    .judul-DG {
        width: 610px;
        height: 38px;
        margin-top: 40px;
        margin-left: 50px;
        border-bottom: 2px solid #555;
        font-size: 34px;
        font-family: 'Times New Roman', Times, serif;
        color: rgb(66, 65, 65);
    }

    .judul2 {
        width: 710px;
        height: 38px;
        margin-top: 40px;
        margin-left: 50px;
        border-bottom: 2px solid #555;
        font-size: 34px;
        font-family: 'Times New Roman', Times, serif;
        color: rgb(66, 65, 65);
    }


    .judul-IK {
        width: 700px;
        height: 35px;
        margin-top: 10px;
        margin-left: 25px;
        border-bottom: 2px solid #555;
        font-size: 30px;
        font-family: 'Times New Roman', Times, serif;
        color: rgb(66, 65, 65);
    }


    .boxcourse {
        width: 700px;
        height: 540px;
        margin-top: 10px;
        margin-left: 25px;
        font-size: 24px;
        font-family: Arial, Helvetica, sans-serif;
        color: rgb(71, 70, 70);
        /* background-color: #fff; */

    }
    
    .boxinfo {
        width: 900px;
        height: 240px;
        margin-top: 10px;
        /*background-color: yellow; */
    }
    
    .boxinfo_foto {
        width: 260px;
        height: 240px;
        border-right: 1px solid #555;
        /*background-color: skyblue; */
        float: left;
    }
    
    .boxinfo_text {
        width: 629px;
        height: 240px;
        /*background-color: yellow; */
        float: left;
    }
    
    .boxstation1 {
        width: 900px;
        height: 100px;
        margin-top: 45px;
        /* background-color: #fff; */
    }

    .headline {
        width: 235px;
        height: 100px;
        border-right: 1px solid #555;
        padding-left: 25px;
        display: flex;
        align-items: center;
        float: left;
    }

    .ikonbox {
        width: 590px;
        height: 120px;
        /* background-color: #fff; */
        float: left;
    }

    .workikon {
        width: 590px;
        height: 100px;
        margin-left: 45px;
        /* background-color: #999; */
    }

    .workikon li img {
        width: 100px;
        height: 100px;
        margin-right: 12px;
        border: 2px solid #ccc;
        border-radius: 15px;
        float: left;
    }
    
    /* ----- boxstation2*/
    
    .boxstation2 {
        width: 900px;
        height: 220px;
        margin-top: 45px;
        /* background-color: #f5f5f5; */
    }

    .headline2 {
        width: 235px;
        height: 220px;
        border-right: 1px solid #555;
        padding-left: 25px;
        display: flex;
        align-items: center;
        float: left;
    }

    .judul-GD {
        width: 234px;
        height: 220px;
        border-right: 1px solid #555;
        padding-left: 25px;
        display: flex;
        align-items: center;
        float: left;
    }

    .ikonbox2 {
        width: 590px;
        height: 220px;
        /* background-color: #fff; */
        float: left;
    }

    .workikon2 {
        width: 580px;
        height: 220px;
        margin-left: 45px;
        /* background-color: #999; */
        position: relative;
        top: -12px;
    }

    .workikon2 li img {
        width: 100px;
        height: 100px;
        margin-top: 12px;
        margin-right: 12px;
        border: 2px solid #ccc;
        border-radius: 15px;
        float: left;
    }
    
    /* ----- boxstation3*/
    
    .boxstation3 {
        width: 900px;
        height: 340px;
        margin-top: 45px;
        /* background-color: #f5f5f5; */
    }
    
    .headline3 {
        width: 260px;
        height: 340px;
        display: flex;
        align-items: center;
        float: left;
    }

    .judul-GD3 {
        width: 234px;
        height: 340px;
        border-right: 1px solid #555;
        padding-left: 25px;
        display: flex;
        align-items: center;
        float: left;
    }
    
    .ikonbox3 {
        width: 630px;
        height: 340px;
        /* background-color: #fff; */
        float: left;
    }

    .workikon3 {
        width: 580px;
        height: 340px;
        margin-left: 45px;
        /* background-color: #999; */
        position: relative;
        top: -12px;
    }

    .workikon3 li img {
        width: 100px;
        height: 100px;
        margin-top: 12px;
        margin-right: 12px;
        border: 2px solid #ccc;
        border-radius: 15px;
        float: left;
    }
    
    /* ----- boxstation3*/
    
/* ----- single.pix ----*/ 

.photo-display {
    width: 800px;
    height: 650px;
    /*background-color:yellow;*/
    border-right: 1px solid #ccc;
    float:left;
}

.headbox {
    width: 650px;
    height:30px;
    padding: 20px;
    border-bottom: 1px solid #ccc;
    /*background-color:skyblue;*/
    font-family:arial;
    font-size:30pt;
    font-weight:bolt;
    float:left;
}

.fotobox-H {
    width: 600px;
    position:relative;
    left:5px;
    top:20px;
    /*background-color:skyblue;*/
    display: flex;
    align-items: center;
    justify-content: center;
}

.fotobox-V {
    width: 600px;
    position:relative;
    left:200px;
    top:25px;
}

.photo-wrapper {
    width: 70%;
}



.data-display {
    width: 405px;
    height: 600px;
    float:left;
    background-color:#fefefe;
    border-right: 1px solid #ccc;
}

/* ----- single.pix ----*/ 

    .divhalaman {
        width: 900px;
        height: 100px;
        margin-top: 10px;
        margin-left: 50px;
        /* background-color: #f5f5f5; */
    }

    .divhal {
        width: 900px;
        height: 100px;
        margin-top: 10px;
        margin-left: 50px;
        /* background-color: #f5f5f5; */
    }

    .divhal li {
        width: 100px;
        height: 100px;
        background-color: #035;
        color: #f9f9f9;
        border: 2px solid #ccc;
        border-radius: 12px;
        font-size: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* -------- Paging gallery -------- */

.gallery-container {
    width:1000px;
    height:530px;
    display: flex;
    flex-wrap: wrap;
    /*justify-content: center;*/
    margin-left: 5px;
    margin-top: 5px;
    /*background: skyblue;*/
}

/* Frame luar 150 x 150 */
.frame-foto{
    width: 190px;
    height: 260px;
    border-radius: 8px;
    background: #eee;
    margin-left:5px;
}

.frame-outer {
    width: 190px;
    height: 190px;
    background: #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Frame dalam 280 x 280 */
.frame-inner {
    width: 170px;
    height: 170px;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.frame-inner img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.frame-text {
    width:190px;
    height:60px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* ---------- paging -------- */


/* PAGING */
.paging {
    margin-top: 10px;
    width: 1000px;
    height: 40px; /* Dinaikkan sedikit agar muat dengan font 24pt */
    /*background: yellow;*/
    
    /* Menggunakan Flexbox untuk meratakan semua item ke tengah */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* Mengatur jarak antar tombol secara konsisten */
}


.page-number {
    /* Hapus float: left; agar Flexbox bekerja */
    min-width: 45px; /* Menggunakan min-width agar fleksibel jika angka ratusan */
    height: 50px;
    border: 1px solid #aaa;
    padding: 0 12px; /* Mengurangi padding atas/bawah karena sudah diatur line-height */
    background: #eee;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    font-size: 24pt;
    font-weight: bold;
    margin-left:7px;
}


.page-number.active {
    background: #3f8efc;
    color: #fff;
    border-color: #3f8efc;
}

.page-number:hover {
    background-color: #f00; /* Merah (sesuai kode hex Anda) */
    color: #fff;
}

/* Menyelaraskan ukuran tombol navigasi (Kiri/Kanan) */
.page-btn {
    width: 50px;  /* Disamakan ukurannya agar proporsional */
    height: 50px;
    font-size: 24pt;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #aaa;
    background: #eee;
    border-radius: 5px;
    cursor: pointer;
}


 /*Tombol arrow (next & prev) */
.page-btn.arrow img {
    width: 40px;
    height: 40px;
    /*margin-bottom:-15px;*/
}



.page-info {
    width: 1000px;
    height: 35px;
    /*background: yellow;*/
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------- paging -------- */    

    /* tutup frontpage comm layout  */


    /* Elemen Pembungkus Utama */
.connav {
    width: 90px;
    height: 600px;
    /*background-color: yellow; */
    float: left;
    box-sizing: border-box;
    padding: 1px; /* Memberikan sedikit ruang di dalam agar konten tidak menempel ke dinding */
}

/* Navigasi Halaman di dalam .connav */
.pagenav {
    width: 76px;        /* Disesuaikan agar pas di dalam 90px */
    height: 500px;
    margin-left: 6px;   /* Margin kiri agar posisinya seimbang di tengah (90px - 76px = 14px / 2 = 7px) */
    margin-top: 30px;
    box-sizing: border-box;
}

/* Menu List */
.pgmenu {
    width: 100%;        /* Mengikuti lebar .pagenav (76px) */
    height: auto;       /* Biarkan tinggi otomatis mengikuti jumlah item */
    list-style: none;
    padding: 0;         /* Menghilangkan padding bawaan browser untuk tag <ul> */
    margin: 0;          /* Menghilangkan margin bawaan browser */
}

/* Item List - Untuk membungkus gambar dengan rapi */
.pgmenu li {
    width: 100%;
    clear: both;        /* Memastikan setiap item baris baru jika menggunakan float */
    display: inline-block; /* Alternatif aman agar pembungkus mengikuti tinggi gambar */
}

/* Gambar di dalam Menu */
.pgmenu li img {
    width: 70px;
    height: 70px;
    margin-top: 7px;
    border: 2px solid #ccc;
    border-radius: 15px;
    float: left;
    box-sizing: border-box; /* Agar border 2px tidak menambah total lebar gambar melebihi 70px */
}

    .navigasi {
        width: 1300px;
        height: 18px;
        background: #035;
        border-top: 1px solid #ccc;
        border-bottom: 1px solid #999;
        float: left;
    }

    .linebar {
        width: 1300px;
        background: #09c;
        height: 3px;
        float: left;
    }

    .copyright {
        width: 1300px;
        height: 24px;
        background: #222;
        color: grey;
        text-align: center;
        float: left;
        padding-top: 2px;
    }

}