/* =========================
   TOP BAR
========================= */
#headerNavigationContainer::before {
    content: 'E-ISSN: 2723-5378  |  SINTA 4 Accredited  |  Published by ISAS  |  info@isas.or.id';
    display: block;
    background: #1B3A5C;
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    font-weight: 500;
    padding: 7px 20px;
    border-bottom: 2px solid #C9A84C;
    letter-spacing: 0.4px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

/* =========================
   GLOBAL STYLE
========================= */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f8f9fa;
    color: #1B3A5C ;
    line-height: 1.7;
    font-size: 14px;
}

/* =========================
   HEADER
========================= */
.navbar.navbar-default {
    background: #ffffff !important;
    border-bottom: 3px solid #C9A84C !important;
    border-top: none;
    box-shadow: none;
    margin-bottom: 0;
    height: auto !important;
    min-height: unset !important;
}

/* Logo */
.navbar-brand-logo img,
#header .logo img {
    max-height: 90px !important;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.navbar-brand {
    height: auto !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.navbar-header {
    height: auto !important;
}

/* Journal title */
.navbar-brand,
#header h1,
.site-name {
    font-size: 16px !important;
    font-weight: 700;
    color: #1B3A5C  !important;
    line-height: 1.3;
    white-space: normal;
}



/* =========================
   NAVIGATION MENU
========================= */
.navbar-nav > li > a {
    font-size: 15px;
    font-weight: 600;
    color: #1B3A5C !important;
    padding: 14px 16px;
    transition: background 0.15s ease, color 0.15s ease;
    letter-spacing: 0.2px;
}

.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
    background: #1B3A5C !important;
    color: #ffffff !important;
}

.navbar-nav > li.current > a,
.navbar-nav > li.active > a {
    background: #1B3A5C !important;
    color: #ffffff !important;
    font-weight: 600;
}

.navbar-form .form-control {
    border-radius: 3px;
    font-size: 13px;
    height: 32px;
    border: 1px solid #cdd5df;
    background: #ffffff;
    color: #1B3A5C;
}

.navbar-form .btn {
    height: 32px;
    padding: 4px 12px;
    font-size: 13px;
    background: #1B3A5C;
    border-color: #1B3A5C;
    color: #fff;
}

/* =========================
   LAYOUT
========================= */
.pkp_structure_content {
    padding-top: 20px;
    padding-bottom: 40px;
}

.pkp_structure_main {
    padding: 0 16px 0 0;
}

/* =========================
   JOURNAL DESCRIPTION
========================= */
.journal-description {
    background: #ffffff;
    border: 1px solid #e0e6ed;
    border-left: 4px solid #18bc9c;
    border-radius: 4px;
    padding: 18px 20px;
    margin-bottom: 24px;
    font-size: 13.5px;
    line-height: 1.75;
    color: #444;
}

.journal-description strong {
    color: #1B3A5C ;
}

.journal-description a {
    color: #2980b9;
}

.journal-description a:hover {
    color: #18bc9c;
    text-decoration: none;
    border-bottom: 1px solid #18bc9c;
}

/* =========================
   SECTION HEADERS
========================= */
.page-header h2,
.current_issue .page-header h2,
.section h2 small {
    font-size: 17px;
    font-weight: 700;
    color: #1B3A5C ;
    border-bottom: 2px solid #18bc9c;
    padding-bottom: 8px;
    margin-bottom: 16px;
    display: block;
}

.current_issue_title {
    font-size: 14px !important;
    font-weight: 600;
    color: #1a7a60;
    background: #f0faf7;
    border: 1px solid #c8e6d8;
    border-radius: 4px;
    padding: 8px 14px;
    margin-bottom: 16px;
    display: inline-block;
}

/* =========================
   ARTICLE LIST
========================= */
.article-summary {
    background: #ffffff;
    border: 1px solid #e8ecef;
    border-radius: 5px;
    padding: 14px 16px;
    margin-bottom: 8px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.article-summary:hover {
    border-color: #18bc9c;
    box-shadow: 0 1px 6px rgba(24, 188, 156, 0.1);
}

.article-summary .media-heading a {
    font-size: 14px;
    font-weight: 600;
    color: #2980b9;
    text-decoration: none;
    line-height: 1.45;
}

.article-summary .media-heading a:hover {
    color: #18bc9c;
    text-decoration: none;
}

.article-summary .authors {
    font-size: 12.5px;
    color: #7f8c8d;
    margin-top: 4px;
}

.article-summary .pages {
    font-size: 12px;
    color: #aab2bd;
    margin-top: 4px;
    margin-bottom: 8px;
}

/* =========================
   BUTTONS
========================= */
.btn-primary,
.galley-link.btn-primary {
    background-color: #e74c3c !important;
    border-color: #c0392b !important;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: background 0.15s ease;
}

.btn-primary:hover,
.galley-link.btn-primary:hover {
    background-color: #c0392b !important;
    border-color: #a93226 !important;
}

/* View all issues button */
.read-more.btn-primary {
    background: #1B3A5C  !important;
    border-color: #1B3A5C  !important;
    padding: 8px 18px;
    font-size: 13px;
    margin-top: 16px;
    border-radius: 4px;
}

.read-more.btn-primary:hover {
    background: #18bc9c !important;
    border-color: #18bc9c !important;
}

/* =========================
   ISSUE COVER IMAGE
========================= */
.issue-toc .thumbnail img,
.cover img {
    border-radius: 4px;
    border: 1px solid #dde3e9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s;
}

.issue-toc .thumbnail img:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}

/* =========================
   LINKS
========================= */
a {
    color: #2980b9;
    text-decoration: none;
    transition: color 0.15s;
}

a:hover {
    color: #18bc9c;
    text-decoration: none;
}

/* =========================
   SIDEBAR BLOCKS
========================= */
.pkp_block {
    background: #ffffff;
    border: 1px solid #e0e6ed;
    border-radius: 5px;
    margin-bottom: 16px;
    overflow: hidden;
}

.pkp_block .title {
    font-size: 12px;
    font-weight: 700;
    color: #1B3A5C ;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    padding: 10px 14px;
    background: #f4f6f8;
    border-bottom: 1px solid #e0e6ed;
    margin: 0;
}

.pkp_block .content {
    padding: 12px 14px;
    font-size: 13px;
}

/* Sidebar nav links */
#customblock-additionalmenu .content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#customblock-additionalmenu .content ul li a {
    display: block;
    padding: 6px 4px;
    font-size: 12.5px;
    color: #2980b9;
    border-bottom: 1px solid #f0f2f4;
    transition: color 0.15s, padding-left 0.15s;
}

#customblock-additionalmenu .content ul li:last-child a {
    border-bottom: none;
}

#customblock-additionalmenu .content ul li a:hover {
    color: #18bc9c;
    padding-left: 6px;
    text-decoration: none;
}

/* Information block */
.block_information .content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.block_information .content ul li a {
    display: block;
    padding: 5px 4px;
    font-size: 12.5px;
    color: #2980b9;
}

.block_information .content ul li a:hover {
    color: #18bc9c;
    text-decoration: none;
}

/* =========================
   LOGIN FORM
========================= */
#login label {
    font-size: 12.5px;
    font-weight: 600;
    color: #4a5568;
}

#login input[type="text"],
#login input[type="password"] {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid #cdd5df;
    border-radius: 4px;
    font-size: 13px;
    color: #1B3A5C ;
    margin-top: 4px;
    transition: border-color 0.15s;
    box-sizing: border-box;
}

#login input[type="text"]:focus,
#login input[type="password"]:focus {
    border-color: #18bc9c;
    outline: none;
    box-shadow: 0 0 0 2px rgba(24, 188, 156, 0.15);
}

#login button[type="submit"] {
    width: 100%;
    background: #1B3A5C ;
    color: #fff;
    border: none;
    padding: 9px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

#login button[type="submit"]:hover {
    background: #18bc9c;
}

/* =========================
   FOOTER
========================= */
.footer,
footer {
    background: #1B3A5C  !important;
    color: rgba(255, 255, 255, 0.82) !important;
    padding: 32px 24px 20px;
    margin-top: 48px;
    border-top: 3px solid #18bc9c;
}

.footer h4,
footer h4 {
    color: #18bc9c;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.footer p,
footer p {
    margin: 3px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

.footer a,
footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer a:hover,
footer a:hover {
    color: #18bc9c;
    text-decoration: none;
}

.ft-bottom {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

.idx-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.idx-badge {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    padding: 3px 9px;
    font-size: 11.5px;
    font-weight: 600;
    transition: background 0.15s;
}

.idx-badge:hover {
    background: #18bc9c !important;
    border-color: #18bc9c;
    color: #fff !important;
}

/* CC license link */
.cc-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7) !important;
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 768px) {

     /* Sembunyikan search di mobile */
    .navbar-form {
        display: none !important;
    }
      /* Burger button warna gold */
    .navbar-toggle {
        background-color: #C9A84C !important;
        border-color: #C9A84C !important;
        border-radius: 4px;
        padding: 8px 10px;
    }

    /* Garis burger putih */
    .navbar-toggle .icon-bar {
        background-color: #ffffff !important;
    }

    /* Burger ketika ditekan/aktif jadi biru navy */
    .navbar-toggle:hover,
    .navbar-toggle:focus,
    .navbar-toggle[aria-expanded="true"] {
        background-color: #1B3A5C !important;
        border-color: #1B3A5C !important;
    }


    .navbar-brand-logo img {
        max-height: 52px !important;
    }

    .navbar-collapse {
        padding: 6px 0;
    }

.navbar-nav > li > a {
    padding: 10px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    color: #1B3A5C !important;
}

    .journal-description {
        padding: 14px 16px;
        font-size: 13px;
    }

    .article-summary {
        padding: 12px 14px;
    }

    .pkp_structure_main {
        padding: 0;
    }

    .footer .ft-inner {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .idx-grid {
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .current_issue_title {
        font-size: 13px !important;
        padding: 6px 10px;
    }

    .article-summary .media-heading a {
        font-size: 13px;
    }
}