.pkp_structure_head {
    background: #c9a87b;
    padding: 0;
    max-width: 100%;
}
.pkp_structure_page {
    margin-top: 0px;
    margin-bottom: 0px;
     
}
 .pkp_structure_main h1 {
     font-weight: 600;
     font-size: 20px;
}
a {
    color: #333300;
}
/* ====== CURRENT ISSUE SECTION ====== */
.pkp_page_index .current_issue h2 {
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 3px solid #e65100;
    text-transform: capitalize;
    font-weight: 700;
    font-size: 22px;
    color: #e65100;
    margin-bottom: 20px;
}

.pkp_page_index .current_issue .current_issue_title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

/* Issue heading area - DOI and Published inline */
.obj_issue_toc .heading {
    padding: 15px 20px;
    background: #fefefe;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 25px;
    position: relative;
}

.obj_issue_toc .heading .published .label {
    text-transform: capitalize;
    font-size: 90%;
    font-weight: 600;
}

/* "View Issue" button - outlined orange rounded */
.obj_issue_toc .heading a.read_more,
.obj_issue_toc .heading .read_more a {
    display: inline-block;
    padding: 10px 24px;
    border: 2px solid #e65100;
    border-radius: 6px;
    color: #e65100;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
}

.obj_issue_toc .heading a.read_more:hover,
.obj_issue_toc .heading .read_more a:hover {
    background: #e65100;
    color: #ffffff;
}

/* Section heading "Articles" */
.obj_issue_toc .section {
    border: none !important;
    border-top: none !important;
    padding: 0 !important;
    margin: 25px 0 0 0 !important;
    position: relative !important;
}

.obj_issue_toc .section h2 {
    position: relative !important;
    display: inline-block !important;
    top: auto !important;
    left: auto !important;
    clip: auto !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    padding: 0 0 5px !important;
    border-bottom: 3px solid #e65100 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    background: transparent !important;
    text-transform: capitalize !important;
    font-weight: 700 !important;
    font-size: 20px !important;
    color: #1a1a2e !important;
    margin: 0 0 15px 0 !important;
    border-radius: 0 !important;
    letter-spacing: normal !important;
}
.pkp_navigation_primary_row{
    background-color: #24573c;
    text-align:left;
    padding-left:15px;
}
#navigationPrimary a {
    font-size: 13.5px;
    color: #f2f2f2;
    font-weight: 100;
    text-transform: capitalize;
}
#navigationPrimary ul {
  background: #24573c;
}
#navigationPrimary [aria-expanded="true"]:before {
    border-bottom-color: #24573c;
}
/* Menu Tambahan Kanan by ade@htp.ac.id */
 
.hoverTable{
    width:100%;
    border-collapse:collapse; 
}
.hoverTable th{
    height:30px; background: #ffffff; color:#105183;
}
.hoverTable td{ 
    height:30px; padding-top:3px;vertical-align:middle; 
    border-bottom:1px solid #ffffff;
    text-align:center;
}
.hoverTable td a{
    width:100%;display:block;
}
/* warna latar setiap baris tabel dan warna tulisan */
.hoverTable tr{
    background: #105183; color:#ffffff;
}
/* warna ketika dilewati mouse */
.hoverTable tr:hover {
    background-color: #0c426b;
}
.hoverTable a {
    color:#ffffff;
}
.hoverTable a:hover {
    color:#f0850c;
}
/* --- Menu Tambahan Kanan by ade@htp.ac.id */
.pkp_head_wrapper .pkp_search .search_controls .search_prompt{
    font-size: 13.5px;
    color: #f2f2f2;
    font-weight: 100;
    text-transform: capitalize;
}   
.pkp_navigation_user_wrapper a {
    font-size: 15px;
    font-weight: 200;
}   
body {
  font-family: tahoma,geneva,sans-serif;
  background: #e6e6e6;
  font-size:14px;  
}
 
body p {
    font-family: tahoma,geneva,sans-serif;
    font-size: 14px;
}
.pkp_block {
    font-size: 14px;
    line-height: 20px;
    clear: both;
    border-bottom: 1.5px solid #ddd;
}
.pkp_structure_sidebar{
    background:#ffffff;
}
.pkp_block .title {
    display: inline-block;
    padding-bottom: 0em;
    border-bottom: 3px solid #ff8000;
    font-weight: 600;
    text-transform: capitalize;
}
.obj_article_details .main_entry .label {
    display: inline-block;
    padding: 0 0 5px;
    border-bottom: 3px solid #e65100;
    color: #1a1a2e;
    text-transform: capitalize;
    font-weight: 700;
}
.pkp_structure_content {
    padding-top: 0;
    background:#ffffff;
    min-width:70%;
    gap: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: flex !important;
    justify-content: space-between !important;
}

/* Hapus gap antara konten dan sidebar */
.pkp_structure_main {
    flex: 1;
    margin-right: 0 !important;
    /* padding-right: 0 !important; */
}

.pkp_structure_sidebar {
    margin-left: 0 !important;
}
.obj_article_details .abstract {
    text-align: justify;
    font:tahoma,geneva,sans-serif;
}
/* ====== ARTICLE SUMMARY LIST ====== */
.obj_article_summary {
    display: block !important;
    padding: 15px 18px 8px 0 !important;
    font-size: 13px;
    position: relative;
    margin-bottom: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    transform: none !important;
    animation: none !important;
    overflow: visible !important;
}

/* Border bottom artikel - selector spesifik */
.obj_issue_toc .obj_article_summary,
.pkp_structure_main .obj_article_summary,
div.obj_article_summary,
article.obj_article_summary,
.obj_issue_toc .section ul li,
.obj_issue_toc .section .obj_article_summary,
.articles .obj_article_summary,
.section > ul > li,
.section > .articles > li {
    border-bottom: 1.5px solid #ddd !important;
    padding-bottom: 8px !important;
    margin-bottom: 15px !important;
}

.obj_issue_toc .obj_article_summary:last-child,
.pkp_structure_main .obj_article_summary:last-child,
div.obj_article_summary:last-child,
article.obj_article_summary:last-child,
.obj_issue_toc .section ul li:last-child,
.obj_issue_toc .section .obj_article_summary:last-child,
.articles .obj_article_summary:last-child,
.section > ul > li:last-child,
.section > .articles > li:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
}

.obj_article_summary:hover {
    transform: none !important;
    box-shadow: none !important;
}

.obj_article_summary > .title {
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    display: block;
}

.obj_article_summary > .title a {
    color: #333;
    text-decoration: none;
}

.obj_article_summary > .title a:hover {
    color: #e65100;
}

/* Authors - orange color like the screenshot */
.obj_article_summary .meta .authors,
.obj_article_summary .authors,
.obj_article_summary .meta .authors a {
    font-size: 13px;
    color: #e65100 !important;
    margin-bottom: 4px;
    font-weight: 400;
}

/* Hide affiliations in issue TOC to match screenshot */
.obj_article_summary .meta .authors .affiliation,
.obj_article_summary .authors .affiliation {
    display: none !important;
}

/* Stats/views info */
.obj_article_summary .meta .urlCount,
.obj_article_summary .meta .views,
.obj_article_summary .meta .custom_metadata {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}

/* Page numbers on the right */
.obj_article_summary .pages {
    font-size: 14px;
    color: #333;
    font-weight: 600;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: #f2f2f2;
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

/* PDF Galley link icon style */
.obj_galley_link {
    font-weight: 600 !important;
    text-transform: uppercase !important;
    background: transparent !important;
    color: #e65100 !important;
    border: 1px solid #e65100 !important;
    border-radius: 4px !important;
    padding: 4px 12px !important;
    font-size: 11px !important;
    letter-spacing: 0.5px !important;
    transition: all 0.2s ease !important;
}

.obj_galley_link:hover {
    background: #e65100 !important;
    color: #fff !important;
}

/* Galley links container */
.obj_article_summary .galleys_links,
.obj_article_summary .links {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 5px;
}

/* "View All Articles" button */
.pkp_page_index .current_issue .read_more {
    text-align: center;
    margin-top: 20px;
}

.pkp_page_index .current_issue .read_more a {
    display: inline-block;
    padding: 12px 28px;
    background: #24573c;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: none !important;
}

.pkp_page_index .current_issue .read_more a:hover {
    background: #1b4530;
    color: #ffffff !important;
    border: none !important;
}
.pkp_site_name {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    text-align: center;
    overflow: visible;
}
.pkp_site_name .is_img {
    max-height: none !important;
    overflow: visible !important;
    width: 100% !important;
    max-width: 100% !important;
}
.pkp_site_name .is_img img {
    display: block;
    max-height: none !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
}
.pkp_head_wrapper {
    padding: 0;
    margin: 0;
    overflow: visible;
    max-height: none !important;
    min-width: 70% !important;
    max-width: 100% !important;
}
.pkp_site_name_wrapper {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}
.pkp_structure_head {
    padding: 0;
    margin: 0;
    max-width: 100% !important;
    width: 100% !important;
    overflow: visible;
    max-height: none !important;
}
.pkp_footer_content {
  float: none;
  width: 100%;
  clear: both;
  padding-top: 10px;  
}
.pkp_brand_footer {
  background: none !important;
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.pkp_structure_footer_wrapper {
    background: none !important;
    border-bottom: 0px solid;
    border: none !important;
}
.cmp_breadcrumbs {
    text-transform: capitalize;
}
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active {
    background: #8c8c8c;
    border: 0px solid #3c2d61;
}

/* ====== HOMEPAGE LAYOUT - Style Kasta (CSS Only) ====== */

/* Homepage description area: card wrapper */
.pkp_page_index .additional_content {
    display: block;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 25px 30px;
    margin: 20px auto;
    border: 1px solid #ffe0b2;
    overflow: hidden;
    order: 2;
    max-width: 100%;
    box-sizing: border-box;
}

/* Gambar cover: kecilkan dan taruh di kiri */
.pkp_page_index .additional_content img,
.pkp_page_index .homepage_image img {
    max-width: 200px !important;
    width: 200px !important;
    height: auto !important;
    float: left;
    margin: 0 25px 20px 0;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    border: 3px solid #fff3e6;
}

/* Kalau cover ditampilkan via .homepage_image */
.pkp_page_index .homepage_image {
    float: left;
    max-width: 220px;
    margin: 0 25px 20px 0;
    text-align: center;
}

/* About the journal text styling */
.pkp_page_index .additional_content p,
.pkp_page_index .additional_content div {
    font-size: 13px;
    line-height: 1.8;
    color: #444;
    text-align: justify;
    max-width: 100%;
    box-sizing: border-box;
}

.pkp_page_index .additional_content strong,
.pkp_page_index .additional_content b {
    color: #1a1a2e;
}

/* Tabel identitas jurnal di samping buku */
.pkp_page_index .additional_content table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Segoe UI', tahoma, sans-serif;
    font-size: 12.5px;
    margin-top: 10px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.pkp_page_index .additional_content table tr:nth-child(odd) {
    background: #fff8f0;
}

.pkp_page_index .additional_content table tr:nth-child(even) {
    background: #fff3e6;
}

.pkp_page_index .additional_content table td {
    padding: 11px 16px;
    border-bottom: 1px solid #ffe0b2;
    vertical-align: top;
    color: #444;
}

.pkp_page_index .additional_content table td:first-child {
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    white-space: nowrap;
    width: 160px;
    font-size: 11.5px;
    letter-spacing: 0.3px;
}

.pkp_page_index .additional_content table a {
    color: #e65100;
    text-decoration: none;
    font-weight: 600;
}

.pkp_page_index .additional_content table a:hover {
    text-decoration: underline;
}

/* Current issue section on homepage - push below */
.pkp_page_index .current_issue {
    clear: both;
    margin-top: 20px;
}

/* Current issue card wrapper */
.pkp_page_index .current_issue {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 30px 35px;
    border: 1px solid #ffe0b2;
}

/* Responsive */
@media (max-width: 600px) {
    .pkp_page_index .additional_content img,
    .pkp_page_index .homepage_image img {
        float: none;
        display: block;
        margin: 0 auto 20px auto;
    }
    .pkp_page_index .homepage_image {
        float: none;
        max-width: 100%;
        margin: 0 auto 20px auto;
    }
    .pkp_page_index .additional_content table td:first-child {
        white-space: normal;
        width: auto;
    }
    .pkp_page_index .additional_content {
        padding: 20px 15px;
    }
}

/* Banner mobile fix - prevent cropping */
@media (max-width: 992px) {
    .pkp_site_name,
    .pkp_site_name .is_img,
    .pkp_site_name_wrapper,
    .pkp_head_wrapper,
    .pkp_structure_head,
    .pkp_navigation_primary_row,
    header.pkp_structure_head {
        max-height: none !important;
        overflow: visible !important;
        height: auto !important;
        position: relative !important;
    }
    .pkp_site_name .is_img img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
        position: relative !important;
    }
    .pkp_site_name {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .pkp_site_name_wrapper {
        position: relative !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        padding: 0 !important;
    }
    .pkp_head_wrapper {
        position: relative !important;
        height: auto !important;
        min-height: 0 !important;
    }
    /* Hamburger menu: pastikan tidak overlap banner */
    .pkp_site_nav_toggle {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        z-index: 999 !important;
    }
}
/* ====== END HOMEPAGE LAYOUT ====== */

/* ====== SIDEBAR STYLE - Modern Card Design ====== */

.pkp_structure_sidebar {
    background: #fef8f1;
    padding: 15px;
    border-left: 4px solid #ff8000;
    border-radius: 8px;
    max-width: 30% !important;
    margin-left: 0 !important;
    float: right !important;
}

/* Block container */
.pkp_block {
    background: #ffffff;
    border: none;
    border-bottom: none;
    border-radius: 16px;
    padding: 20px 18px;
    margin-bottom: 18px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.pkp_block:hover {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}

/* Block titles - pill style with left accent */
.pkp_block .title {
    display: block;
    background: #fff3e6;
    border-bottom: none;
    border-left: 4px solid #ff8000;
    border-radius: 20px;
    padding: 10px 18px;
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 15px;
    color: #cc6600;
    text-transform: capitalize;
}

/* Sidebar links as buttons */
.pkp_block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pkp_block ul li {
    margin-bottom: 10px;
}

.pkp_block ul li a {
    display: block;
    background: #ff8000;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 25px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 6px rgba(255, 128, 0, 0.3);
}

.pkp_block ul li a:hover {
    background: #e06f00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 128, 0, 0.4);
    color: #ffffff;
}

/* Sidebar images (logos, accreditation badges) */
.pkp_block img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto 12px auto;
    border-radius: 12px;
    background: #fff;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
}

/* Make a Submission button - modern round style */
.pkp_block .pkp_button,
.pkp_block a.pkp_button,
.pkp_block_make_submission a,
.pkp_block_makeSubmission a,
.block_make_submission a,
#sidebarMakeSubmission a {
    display: block;
    width: auto;
    margin: 10px auto;
    background: linear-gradient(135deg, #24573c 0%, #2e8b57 100%);
    color: #ffffff !important;
    padding: 10px 28px;
    border-radius: 50px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.3px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(36, 87, 60, 0.3);
    position: relative;
    overflow: hidden;
}

.pkp_block .pkp_button:hover,
.pkp_block a.pkp_button:hover,
.pkp_block_make_submission a:hover,
.pkp_block_makeSubmission a:hover,
.block_make_submission a:hover,
#sidebarMakeSubmission a:hover {
    background: linear-gradient(135deg, #1b4530 0%, #24573c 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(36, 87, 60, 0.4);
    color: #ffffff !important;
}

.pkp_block .pkp_button:active,
.pkp_block a.pkp_button:active,
.pkp_block_make_submission a:active,
.pkp_block_makeSubmission a:active,
.block_make_submission a:active,
#sidebarMakeSubmission a:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(36, 87, 60, 0.25);
}

/* Mobile fix - replace orange with cream accent */
@media (max-width: 992px) {
    /* Override OJS structural wrappers that show orange */
    .pkp_structure_head,
    .pkp_head_wrapper {
        background: #f5ede3 !important;
    }
    .pkp_navigation_user_wrapper,
    .pkp_navigation_user {
        background: #f5ede3 !important;
        border: none !important;
    }
    .pkp_structure_page {
        background: #f5ede3 !important;
    }
    .pkp_navigation_primary_row {
        background-color: #24573c !important;
    }
    /* Sidebar blocks */
    .pkp_block ul li a {
        background: #fdf6ec;
        color: #4a3728;
        box-shadow: none;
        padding: 10px 18px;
        border-radius: 8px;
        text-align: left;
        font-weight: 500;
        border: 1px solid #f0e6d6;
    }
    .pkp_block ul li a:hover {
        background: #f5ead9;
        transform: none;
        box-shadow: none;
        color: #333;
    }
    .pkp_structure_sidebar {
        background: #fffcf7;
        border-left: 3px solid #e8d5b8;
        padding: 12px;
        border-radius: 0;
    }
    .pkp_block {
        background: #fffdf9;
        border-radius: 8px;
        box-shadow: none;
        padding: 15px 12px;
        border: 1px solid #f0e6d6;
    }
    .pkp_block .title {
        background: #fdf6ec;
        border-left-color: #d4a96a;
        color: #7a5c3a;
    }
}

/* Hapus pseudo-elements separator vertikal OJS */
.pkp_structure_content::before,
.pkp_structure_content::after,
.pkp_structure_main::after,
.pkp_structure_sidebar::before,
.pkp_structure_page::before,
.pkp_structure_page::after {
    display: none !important;
    content: none !important;
    border: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* ====== END SIDEBAR STYLE ====== */


/* ====== LOGO SCROLL ANIMATION ====== */

/* Fix: icon images di info cards tetap kecil */
#info-cards-section img {
    width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    max-height: 40px !important;
    float: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
    display: inline-block !important;
    object-fit: contain !important;
}

.pkp_page_index .additional_content img[width="65"],
.pkp_page_index .additional_content img[width="49"],
.pkp_page_index .additional_content img[width="67"],
.pkp_page_index .additional_content img[width="40"],
.pkp_page_index .additional_content img[width="38"] {
    width: auto !important;
    max-width: 40px !important;
    height: auto !important;
    max-height: 40px !important;
    float: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
}

#association-scroll-section {
    overflow: hidden !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

#info-cards-section {
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

#logo-scroll-track {
    overflow: hidden !important;
    width: 100% !important;
    position: relative !important;
}

#logo-scroll-inner {
    display: flex !important;
    align-items: center !important;
    gap: 40px !important;
    white-space: nowrap !important;
    width: max-content !important;
    animation: logoScroll 25s linear infinite !important;
}

#logo-scroll-inner:hover {
    animation-play-state: paused !important;
}

#logo-scroll-inner img {
    height: 40px !important;
    width: auto !important;
    max-width: 130px !important;
    object-fit: contain !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    display: inline-block !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
}

@keyframes logoScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
/* ====== END LOGO SCROLL ====== */

/* ====== CUSTOM FOOTER ====== */

/* Hide default OJS footer styling */
.pkp_structure_footer_wrapper {
    background: #1a5c2e !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: hidden !important;
}

.pkp_footer_content {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}

.pkp_brand_footer {
    background: none !important;
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Footer main container */
#custom-footer {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: tahoma, geneva, sans-serif;
    position: relative;
}

#custom-footer .footer-main {
    background: #1a5c2e;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="4" stitchTiles="stitch"/><feColorMatrix type="saturate" values="0"/></filter><rect width="400" height="400" filter="url(%23n)" opacity="0.05"/></svg>');
    border-top: 3px solid #e65100;
    padding: 40px 50px 30px;
}

#custom-footer .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    padding: 0 20px;
}

/* Footer columns */
#custom-footer .footer-col {
    flex: 1;
    min-width: 0;
}

/* Column 1: Logo & Info */
#custom-footer .footer-info {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    flex: 2;
}

#custom-footer .footer-logo img {
    width: 200px;
    height: auto;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
    margin: 0 !important;
}

#custom-footer .footer-info-text h4 {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

#custom-footer .footer-info-text p {
    font-size: 12px;
    color: #d4e8d4;
    margin: 0 0 4px 0;
    line-height: 1.6;
}

#custom-footer .footer-license {
    margin-top: 10px;
}

#custom-footer .footer-license img {
    width: 88px !important;
    height: 31px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
    margin: 0 0 5px 0 !important;
    display: inline-block !important;
}

#custom-footer .footer-license a {
    color: #a8d4a8 !important;
    font-size: 11px;
    text-decoration: none;
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: inline;
    font-weight: 400;
}

#custom-footer .footer-license a:hover {
    color: #ffffff !important;
    text-decoration: underline;
    transform: none;
    background: none !important;
}

#custom-footer .footer-license p {
    font-size: 11px;
    margin: 0;
}

/* Column 2: Quick Links */
#custom-footer .footer-links {
    flex: 0.8;
}

#custom-footer .footer-links h4 {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
}

#custom-footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#custom-footer .footer-links ul li {
    margin-bottom: 6px;
}

#custom-footer .footer-links ul li a {
    font-size: 12.5px;
    color: #d4e8d4;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline;
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-weight: 400;
    text-align: left;
}

#custom-footer .footer-links ul li a:hover {
    color: #ffffff;
    text-decoration: underline;
    transform: none;
    background: none !important;
    box-shadow: none !important;
}

/* Column 3: Stay Connected */
#custom-footer .footer-social {
    flex: 1;
    text-align: right;
}

#custom-footer .footer-social h4 {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
}

#custom-footer .social-icons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    justify-content: flex-end;
}

#custom-footer .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    transition: background 0.3s ease;
    text-decoration: none;
    padding: 0 !important;
    box-shadow: none !important;
}

#custom-footer .social-icons a:hover {
    background: rgba(255,255,255,0.3);
    transform: none;
}

#custom-footer .footer-copyright p {
    font-size: 11px;
    color: #a8d4a8;
    margin: 0 0 3px 0;
    line-height: 1.5;
}

/* Google Map - kecil di samping alamat, bisa diperbesar */
#custom-footer .footer-map {
    width: 140px;
    height: 95px;
    min-width: 140px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.2);
    flex-shrink: 0;
    margin-left: 15px;
    align-self: center;
}

#custom-footer .footer-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive footer */
@media (max-width: 768px) {
    #custom-footer .footer-container {
        flex-direction: column;
        gap: 25px;
        padding: 0 15px;
    }
    #custom-footer .footer-main {
        padding: 25px 15px;
    }
    #custom-footer .footer-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    #custom-footer .footer-logo img {
        width: 120px;
        margin: 0 auto !important;
    }
    #custom-footer .footer-info-text {
        text-align: center;
    }
    #custom-footer .footer-map {
        width: 100%;
        min-width: unset;
        height: 150px;
        margin: 15px 0 0 0;
    }
    #custom-footer .footer-links {
        text-align: center;
    }
    #custom-footer .footer-links ul {
        text-align: center;
    }
    #custom-footer .footer-links ul li a {
        text-align: center !important;
    }
    #custom-footer .footer-social {
        text-align: center;
    }
    #custom-footer .social-icons {
        justify-content: center;
    }
    #custom-footer .footer-copyright {
        text-align: center;
    }
}

/* ====== END CUSTOM FOOTER ====== */

/* ====== FIX WHITE SPACE BELOW FOOTER ====== */
/* Make page a flex column so footer sticks to bottom */
.pkp_structure_page {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    overflow-x: hidden !important;
}

.pkp_structure_content {
    flex: 1 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.pkp_structure_footer_wrapper {
    margin-top: auto !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    overflow: hidden !important;
}

.pkp_footer_content {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    float: none !important;
}

#custom-footer {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

#custom-footer .footer-main {
    margin-bottom: 0 !important;
}

html, body {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    overflow-x: hidden !important;
}

/* Hide OJS brand footer completely */
.pkp_brand_footer {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Remove any pseudo-elements that might add space */
.pkp_structure_footer_wrapper::after,
.pkp_footer_content::after,
#custom-footer::after,
.footer-main::after,
.pkp_structure_page::after {
    display: none !important;
    content: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* ====== END FIX WHITE SPACE ====== */

/* ====== HIDE "IN ASSOCIATION WITH" ON HOMEPAGE ====== */
.pkp_page_index #sidebar-association-with {
    display: none !important;
}
/* ====== END HIDE ASSOCIATION ====== */

/* ====== LIMIT CURRENT ISSUE ARTICLES TO 5 ON HOMEPAGE ====== */
.pkp_page_index .obj_issue_toc .section ul li:nth-child(n+6),
.pkp_page_index .obj_issue_toc .section .articles > li:nth-child(n+6),
.pkp_page_index .obj_issue_toc .section .obj_article_summary:nth-child(n+6) {
    display: none !important;
}
/* ====== END LIMIT ARTICLES ====== */

/* ====== COMPREHENSIVE MOBILE RESPONSIVE ====== */

/* --- Tablet (max-width: 992px) --- */
@media (max-width: 992px) {
    /* Layout: stack main + sidebar vertically */
    .pkp_structure_content {
        flex-direction: column !important;
        padding: 0 10px !important;
    }
    .pkp_structure_main {
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px !important;
        margin: 0 !important;
    }
    .pkp_structure_sidebar {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        border-left: none !important;
        border-top: 3px solid #ff8000;
        padding: 15px 10px !important;
        margin: 0 !important;
    }

    /* Head wrapper */
    .pkp_head_wrapper {
        min-width: 100% !important;
    }

    /* Current issue card */
    .pkp_page_index .current_issue {
        padding: 20px 15px;
        border-radius: 12px;
    }

    /* Article summary - pages badge */
    .obj_article_summary .pages {
        position: static;
        transform: none;
        display: inline-block;
        margin-top: 8px;
    }

    /* Article summary padding */
    .obj_article_summary {
        padding: 12px 10px 8px 0 !important;
    }
}

/* --- Mobile (max-width: 768px) --- */
@media (max-width: 768px) {
    /* Body base */
    body {
        font-size: 13px;
    }
    body p {
        font-size: 13px;
    }

    /* Navigation */
    .pkp_navigation_primary_row {
        padding-left: 10px;
        padding-right: 10px;
    }
    #navigationPrimary a {
        font-size: 12.5px;
        padding: 8px 10px;
    }

    /* Homepage additional content */
    .pkp_page_index .additional_content {
        padding: 15px 12px;
        border-radius: 12px;
        margin: 10px auto;
    }
    .pkp_page_index .additional_content img,
    .pkp_page_index .homepage_image img {
        max-width: 150px !important;
        width: 150px !important;
        float: none !important;
        display: block !important;
        margin: 0 auto 15px auto !important;
    }
    .pkp_page_index .homepage_image {
        float: none;
        max-width: 100%;
        margin: 0 auto 15px auto;
        text-align: center;
    }
    .pkp_page_index .additional_content p,
    .pkp_page_index .additional_content div {
        font-size: 12.5px;
        text-align: left;
    }

    /* Homepage table */
    .pkp_page_index .additional_content table {
        font-size: 11.5px;
    }
    .pkp_page_index .additional_content table td {
        padding: 8px 10px;
        display: block;
        width: 100% !important;
    }
    .pkp_page_index .additional_content table td:first-child {
        white-space: normal;
        width: 100% !important;
        padding-bottom: 2px;
        border-bottom: none;
        font-size: 11px;
    }
    .pkp_page_index .additional_content table tr {
        display: block;
        border-bottom: 1px solid #ffe0b2;
        padding: 5px 0;
    }

    /* Current issue */
    .pkp_page_index .current_issue {
        padding: 15px 12px;
        margin-top: 15px;
    }
    .pkp_page_index .current_issue h2 {
        font-size: 18px;
    }

    /* Article titles */
    .obj_article_summary > .title {
        font-size: 14px;
    }

    /* Issue heading */
    .obj_issue_toc .heading {
        padding: 10px 12px;
    }
    .obj_issue_toc .heading a.read_more,
    .obj_issue_toc .heading .read_more a {
        padding: 8px 18px;
        font-size: 13px;
    }

    /* Section heading */
    .obj_issue_toc .section h2 {
        font-size: 17px !important;
    }

    /* Sidebar blocks */
    .pkp_block {
        padding: 15px 12px;
        border-radius: 12px;
        margin-bottom: 12px;
    }
    .pkp_block .title {
        font-size: 14px;
        padding: 8px 14px;
    }
    .pkp_block ul li a {
        padding: 10px 16px;
        font-size: 13px;
    }

    /* Logo scroll */
    #logo-scroll-inner {
        gap: 25px !important;
    }
    #logo-scroll-inner img {
        height: 30px !important;
        max-width: 100px !important;
    }

    /* Info cards icons */
    #info-cards-section img {
        width: 32px !important;
        max-width: 32px !important;
        height: 32px !important;
        max-height: 32px !important;
    }
}

/* --- Small Mobile (max-width: 480px) --- */
@media (max-width: 480px) {
    /* Header */
    .pkp_structure_main h1 {
        font-size: 16px;
    }

    /* Additional content */
    .pkp_page_index .additional_content {
        padding: 12px 10px;
        margin: 8px 5px;
    }
    .pkp_page_index .additional_content img,
    .pkp_page_index .homepage_image img {
        max-width: 120px !important;
        width: 120px !important;
    }

    /* Current issue */
    .pkp_page_index .current_issue {
        padding: 12px 10px;
        border-radius: 10px;
    }
    .pkp_page_index .current_issue h2 {
        font-size: 16px;
    }

    /* Article summary */
    .obj_article_summary > .title {
        font-size: 13px;
        line-height: 1.4;
    }
    .obj_article_summary .meta .authors,
    .obj_article_summary .authors {
        font-size: 12px;
    }
    .obj_galley_link {
        padding: 3px 8px !important;
        font-size: 10px !important;
    }

    /* Sidebar */
    .pkp_block ul li a {
        padding: 9px 14px;
        font-size: 12.5px;
        border-radius: 6px;
    }
    .pkp_block .title {
        font-size: 13px;
        padding: 7px 12px;
        border-radius: 15px;
    }

    /* Footer */
    #custom-footer .footer-main {
        padding: 20px 12px;
    }
    #custom-footer .footer-logo img {
        width: 90px;
    }
    #custom-footer .footer-info-text h4 {
        font-size: 13px;
    }
    #custom-footer .footer-info-text p {
        font-size: 11px;
    }
    #custom-footer .footer-links h4,
    #custom-footer .footer-social h4 {
        font-size: 13px;
    }
    #custom-footer .footer-links ul li a {
        font-size: 12px;
    }
    #custom-footer .social-icons a {
        width: 32px;
        height: 32px;
    }
    #custom-footer .social-icons a svg {
        width: 16px;
        height: 16px;
    }

    /* Navigation */
    .pkp_navigation_primary_row {
        padding-left: 5px;
    }
    #navigationPrimary a {
        font-size: 12px;
    }

    /* Breadcrumbs */
    .cmp_breadcrumbs {
        font-size: 11px;
    }

    /* View All Articles button */
    .pkp_page_index .current_issue .read_more a {
        padding: 10px 20px;
        font-size: 13px;
    }

    /* Logo scroll smaller */
    #logo-scroll-inner {
        gap: 18px !important;
    }
    #logo-scroll-inner img {
        height: 25px !important;
        max-width: 80px !important;
    }

    /* Make submission button */
    .pkp_block .pkp_button,
    .pkp_block a.pkp_button,
    .pkp_block_make_submission a,
    .pkp_block_makeSubmission a,
    .block_make_submission a,
    #sidebarMakeSubmission a {
        padding: 8px 20px;
        font-size: 12px;
    }
}

/* --- Sidebar menu (spesialmenu) responsive --- */
@media (max-width: 768px) {
    /* Spesialmenu cards padding */
    .pkp_structure_sidebar div[style*="border-radius: 16px"] {
        padding: 15px 12px !important;
        margin-bottom: 12px !important;
    }

    /* Author Template table cells */
    .pkp_structure_sidebar table {
        width: 100% !important;
    }
    .pkp_structure_sidebar table td {
        padding: 12px 8px !important;
    }
    .pkp_structure_sidebar table img {
        width: 100px !important;
        height: auto !important;
    }

    /* Buttons in sidebar (gradient orange) */
    .pkp_structure_sidebar a[style*="border-radius: 25px"] {
        padding: 10px 14px !important;
        font-size: 12px !important;
    }

    /* Recommended tools images */
    .pkp_structure_sidebar img[alt="Zotero"],
    .pkp_structure_sidebar img[alt="Mendeley"],
    .pkp_structure_sidebar img[alt="Turnitin"] {
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
    }
}

/* --- Article detail page responsive --- */
@media (max-width: 768px) {
    .obj_article_details .main_entry .label {
        font-size: 15px;
    }
    .obj_article_details .abstract {
        font-size: 13px;
        text-align: left;
    }
}

/* --- Prevent horizontal overflow globally --- */
html, body {
    overflow-x: hidden !important;
}
* {
    max-width: 100%;
    box-sizing: border-box;
}
img {
    max-width: 100%;
    height: auto;
}
table {
    max-width: 100%;
    overflow-x: auto;
}

/* Exception: elements that need max-width override */
.pkp_structure_page,
.pkp_structure_content,
.pkp_structure_main,
.pkp_head_wrapper,
.pkp_structure_head,
#custom-footer,
#custom-footer .footer-container {
    max-width: none;
}

/* ====== END COMPREHENSIVE MOBILE RESPONSIVE ====== */
