/*-----------------------------------------------
Theme Name      :  OJS Grlores
Author          :  https://cv.glorespublication.org/
License         :  Full Version
----------------------------------------------- */

/* ==============================================
   1. HEADER
   ============================================== */
.pkp_structure_head {
    background: #2b3953 top / cover no-repeat url("https://lh3.googleusercontent.com/d/1KPXf2uv9pgXppcNIzzqzMS34Ifgh4G_p") !important;
    padding-bottom: 0 !important;
}

nav.pkp_site_nav_menu {
    padding: 10px 25px;
    background: rgba(17, 45, 67, 0.9);
    border-radius: 0 0 50px 50px;
}

ul#navigationPrimary {
    margin-left: 10px;
    font-weight: bold;
}

/* ==============================================
   2. CONTENT & SIDEBAR
   ============================================== */
.pkp_structure_main {
    padding-bottom: 0;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

img {
    max-height: 100% !important;
    height: auto;
    max-width: 100%;
}

section.homepage_about,
section.item.abstract {
    text-align: justify;
}

.additional_content {
    padding-bottom: 2.143rem !important;
}

.pkp_block .title {
    padding: 8px 10px;
    color: #292e41 !important;
    background: #1a222f top / cover no-repeat url("https://lh3.googleusercontent.com/d/10hqm81yezjn6jQMZQcKB2917liv1-QcZ");
}

/* Sidebar Menu */
#menu-sidebar {
    list-style-type: none;
    padding-left: 0;
}

#menu-sidebar li, 
.menu-sidebar li {
    padding: 0;
    margin: 2px 0;
}

.menu-sidebar a {
    display: block;
}

/* Typography & Guides */
.guides {
    font-family: medium-content-sans-serif-font, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Arial, sans-serif;
    font-weight: 300;
    letter-spacing: -0.5px;
    color: rgba(0, 0, 0, 0.84);
    font-size: 15px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.guides a {
    color: rgba(0, 0, 0, 0.74);
}

/* ==============================================
   3. BUTTONS
   ============================================== */
.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.btn:not(:disabled):not(.disabled) {
    cursor: pointer;
}

/* Tombol Outline Primary */
a.btn.btn-outline-primary {
    color: #234044;
    background-color: transparent;
    border-color: #b7b7b7;
}

a.btn.btn-outline-primary:hover,
a.btn.btn-outline-primary:focus {
    background-color: #1a222f;
    color: #fff;
    text-decoration: none;
}

/* Tombol Galley / PDF OJS */
.cmp_button_wire, 
.obj_galley_link {
    border: 1px solid #2b3953 !important;
    color: #2b3953 !important;
    transition: all 0.2s ease-in-out;
}

.cmp_button_wire:hover, 
.cmp_button_wire:focus, 
.obj_galley_link:hover, 
.obj_galley_link:focus {
    background: #2b3953 !important;
    color: #fff !important;
}

/* ==============================================
   4. FOOTER & VISITOR
   ============================================== */
.pkp_structure_footer_wrapper {
    background: #2b3953 bottom / cover no-repeat url("https://lh3.googleusercontent.com/d/1_uQBMBgEravEBwPyp70TtWARaA0V-gNP") !important;
}

.pkp_brand_footer {
    display: none;
}

#tw { 
    color: #fff; 
}

#lf { 
    color: #ffab20; 
    text-decoration: none; 
    font-weight: bolder; 
}

#lf:hover, 
#lf:focus { 
    color: #ffbc4c; 
    text-decoration: underline; 
}

hr.bf {
    border: 1.5px solid #eee;
    border-radius: 20px;
}

.visitorhiden {
    background-color: #ffffff;
    margin-top: -26px;
    margin-bottom: -26px;
    z-index: 10;
    position: sticky;
    padding: 1px 0;
}

/* ==============================================
   5. MEDIA QUERIES (RESPONSIVE)
   ============================================== */
@media (min-width: 992px) {
    .pkp_block {
        padding: 1rem 2.143rem;
    }
}

/* ==============================================
   6. CUSTOM SIDEBAR GRID (ADD ON)
   ============================================== */
.pkp_block .row {
    display: flex !important;
    flex-wrap: wrap !important;
}

.pkp_block .row.mx-0 {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* --- Opsi A: Layout 2 Kolom (Bawaan) --- */
.pkp_block .col-xs-6, 
.pkp_block .col-sm-6, 
.pkp_block .col-md-6, 
.pkp_block .col-lg-6,
.pkp_block .col-6 {
    flex: 0 0 50% !important;
    width: 50% !important;
    max-width: 50% !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    margin-bottom: 8px !important;
    box-sizing: border-box !important;
}

/* --- Opsi B: Layout Kustom 5 Kolom Sejajar --- */
.pkp_block .col-xs-2-4,
.pkp_block .col-5-custom {
    flex: 0 0 20% !important;
    width: 20% !important;
    max-width: 20% !important;
    float: left !important;
    padding-left: 2px !important;  /* Jarak lebih tipis agar muat 5 gambar */
    padding-right: 2px !important;
    margin-bottom: 8px !important;
    box-sizing: border-box !important;
}

/* Memastikan semua gambar di row sidebar mengikuti lebar kolom */
.pkp_block .row img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}