/* ========================================
   PERBAIKAN HORIZONTAL SCROLL - PALING ATAS
   ======================================== */
* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background-image: url("https://pustakaakademia.com/public/site/images/administrator/motif.jpg");  
}


.pkp_structure_page,
.pkp_structure_head,
.pkp_structure_content,
.pkp_structure_footer,
.pkp_structure_footer_wrapper,
.pkp_head_wrapper,
.pkp_site_name_wrapper {
    overflow-x: hidden;
    max-width: 100% !important;
}

/* ========================================
   STRUKTUR DASAR
   ======================================== */
.pkp_structure_content {
    background: #ffff;
}

.pkp_site_name {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.pkp_site_name > a {
    padding-top: 0;
    padding-bottom: 0;
}

.pkp_site_name .is_img img {
    max-height: 200px !important;
}

.pkp_site_name_wrapper {
    padding-left: 0;
    padding-right: 0;
}

.pkp_navigation_user_wrapper {
    top: 0;
    right: 0;
    padding-right: 30px;
}

.pkp_structure_page {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    padding-bottom: 20px !important;
}

/* ========================================
   DETAIL ARTIKEL
   ======================================== */
/* Judul artikel di detail */
.page_title {
    color: #10586f;
}

/* nama penulis pada detail */
.name {
    color: #10586f;
}

.pkp_block .title {
    display: block;
    padding: 10px;
    text-align: left;
    background-color: #10586f;
    color: white;
    font-weight: bold;
}

/* rata kiri kanan abstract */
.obj_article_details .abstract {
    text-align: justify;
}

/* ========================================
   LINK & BUTTON
   ======================================== */
/* untuk daftar artikel */
a {
    color: #10586f;
}

a:hover {
    color: #FF9200;
}

.cmp_button_wire,
.obj_galley_link {
    background: #10586f;
    border: 1px solid #10586f;
    color: #fff;
}

.obj_article_summary {
    border: 1px solid #10586f;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 3px 3px #10586f;
}

/* ========================================
   HEADER - DIPERBAIKI
   ======================================== */
.pkp_site_name {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.pkp_site_name > a {
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
    display: block;
}

.pkp_site_name .is_img img {
    max-height: 200px !important;
    display: block;
    margin-bottom: 0 !important;
}

.pkp_site_name_wrapper {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 0 !important;
}

.pkp_navigation_user_wrapper {
    top: 0;
    right: 0;
    padding-right: 30px;
}

/* ========================================
   MENU SIDE BAR & HEAD MENU
   ======================================== */
.head-menu {
    border-bottom: 3px #10586f solid;
    height: 50px;
}

.head-menu a {
    display: block;
    padding: 10px;
    text-align: left;
    background-color: #10586f;
    color: white;
    font-weight: bold;
}

.menu-sidebar {
    font: bold 12px arial, verdana, sans-serif;
}

.menu-sidebar li a {
    text-decoration: none;
    border: 1px solid #10586f;
    color: #10586f;
    display: block;
    background-color: #F8F8F8;
    padding: 10px;
    margin-top: -5px;
    transition: 0.3s;
}

[class~=pkp_brand_footer], 
[class~=pkp_page_index] [class~=homepage_image] {
    display: none;
}

.menu-sidebar li a:hover {
    background-color: #10586f;
    box-shadow: gray 2px 2px 2px;
    color: white;
    border-left: 5px solid #FF9200;
    border-bottom: 5px solid #FF9200;
}

.menu-sidebar ul {
    list-style: none;
    padding: 0px;
}

.menu-sidebar ul ul {
    position: absolute;
    top: 75px;
    left: 135px;
    visibility: hidden;
}

.menu-sidebar ul li:hover ul {
    visibility: visible;
}

.badan a {
    display: block;
    padding: 10px;
    border-bottom: 1px solid white;
    background: #F8F8F8;
    text-align: center;
    transition: 0.5s;
    color: black;
}

.badan {
    margin-top: -15px;
}

.badan a:hover {
    color: black !important;
    font-weight: bold;
    box-shadow: gray 0px 5px 10px 0px;
    display: fixed;
    position: relative;
}

/* ========================================
   MOST READ ARTICLES
   ======================================== */
.most_read_article {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #10586f;
    background-color: #f8f8f8;
    transition: background-color 0.3s;
}

.most_read_article:hover {
    background-color: #e6e6e6;
}

.most_read_article_title a {
    color: #10586f;
    text-decoration: none;
}

.most_read_article_journal {
    color: #10586f;
    font-size: 0.9em;
}

.most_read_article_journal .fa-eye {
    margin-right: 5px;
}

h2 {
    color: #10586f;
}

/* ========================================
   RESPONSIVE - HEAD WRAPPER (DIPERBAIKI)
   ======================================== */
.pkp_head_wrapper {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding-left: 0.714rem !important;
    padding-right: 0.714rem !important;
}

@media (min-width: 768px) {
    .pkp_head_wrapper {
        max-width: 728px !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (min-width: 992px) {
    .pkp_head_wrapper {
        max-width: 952px !important;
        width: 100% !important;
    }
}

@media (min-width: 1200px) {
    .pkp_head_wrapper {
        max-width: 1160px !important;
        width: 100% !important;
    }
}

/* ========================================
   HEADER STYLING
   ======================================== */
.pkp_structure_head,
.pkp_head_wrapper {
    background-color: transparent !important;
}

.pkp_structure_head,
.pkp_head_wrapper,
.pkp_site_name_wrapper {
    border: none !important;
    border-bottom: none !important;
}

/* ========================================
   BLOCK STYLING
   ======================================== */
.pkp_block {
    border: 2px solid #10586f;
    border-radius: 3px;
    margin: 10px 9px;
    background: white;
    overflow: hidden;
    padding: 0px;
}

.pkp_block .title {
    border-bottom: 2px solid #10586f;
    font-size: 14px;
    text-align: center;
    color: white;
    overflow: hidden;
    width: 100%;
    padding: 10px;
    background: #10586f;
    display: inline-block;
    border-bottom: 3px solid #ffffff;
    font-weight: 700;
    text-transform: uppercase;
}

.pkp_site_nav_menu a:hover,
.pkp_site_nav_menu a:focus {
    color: #ffce00;
    text-decoration: none;
}

.pkp_block .content {
    padding: 0px 10px 20px;
}

table[class~=menu] {
    box-shadow: none;
    margin: 0 !important;
    border: none !important;
    border-top-width: -209.875pc;
}

.pkp_block .content img {
    cursor: pointer;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
}

.pkp_block .content img:hover {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
}

/* ========================================
   RESPONSIVE - FOOTER (DIPERBAIKI)
   ======================================== */
.pkp_structure_footer_wrapper {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding-left: 0.714rem !important;
    padding-right: 0.714rem !important;
}

@media (min-width: 768px) {
    .pkp_structure_footer_wrapper {
        max-width: 728px !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (min-width: 992px) {
    .pkp_structure_footer_wrapper {
        max-width: 952px !important;
        width: 100% !important;
    }
}

@media (min-width: 1200px) {
    .pkp_structure_footer_wrapper {
        max-width: 1160px !important;
        width: 100% !important;
    }
}

.pkp_structure_footer {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding-left: 0.714rem !important;
    padding-right: 0.714rem !important;
}

@media (min-width: 768px) {
    .pkp_structure_footer {
        max-width: 728px !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (min-width: 992px) {
    .pkp_structure_footer {
        max-width: 952px !important;
        width: 100% !important;
    }
}

@media (min-width: 1200px) {
    .pkp_structure_footer {
        max-width: 1160px !important;
        width: 100% !important;
    }
}

/* ========================================
   RESPONSIVE - HEADER STRUCTURE (DIPERBAIKI)
   ======================================== */
.pkp_structure_head {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.pkp_site_name_wrapper {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding-left: 0.714rem !important;
    padding-right: 0.714rem !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    background-size: contain !important;
    background-position: center !important;
}

@media (min-width: 768px) {
    .pkp_structure_head {
        max-width: 728px !important;
        width: 100% !important;
    }
    
    .pkp_site_name_wrapper {
        max-width: 728px !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (min-width: 992px) {
    .pkp_structure_head {
        max-width: 952px !important;
        width: 100% !important;
    }
    
    .pkp_site_name_wrapper {
        max-width: 952px !important;
        width: 100% !important;
    }
    
    /* Hilangkan gap antara logo dan navigation */
    .pkp_site_name .is_img {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .pkp_site_name {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .pkp_site_name_wrapper {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
}

@media (min-width: 1200px) {
    .pkp_structure_head {
        max-width: 1160px !important;
        width: 100% !important;
    }
    
    .pkp_site_name_wrapper {
        max-width: 1160px !important;
        width: 100% !important;
    }
}

/* ========================================
   NAVIGATION PRIMARY
   ======================================== */
[class~=pkp_navigation_primary_row] {
    background: #10586f;
}

.pkp_navigation_primary_row a,
.pkp_navigation_primary a,
#navigationPrimary a {
    color: #ffffff !important;
}

.pkp_navigation_primary_row a:hover,
.pkp_navigation_primary a:hover,
#navigationPrimary a:hover {
    color: #FF9200 !important;
}