/* =========================================================
CUSTOM CSS OJS + BOOTSTRAP
Clean • Valid • Production Ready
========================================================= */

/* =========================
RESET & BASE
========================= */

html {
box-sizing: border-box;
font-size: 100%;
}

*,
*::before,
*::after {
box-sizing: inherit;
}

body {
margin: 0;
padding: 0;
font-family: "PT Sans", Helvetica, Arial, sans-serif;
font-size: 14px;
line-height: 1.6;
color: #222;
background-color: #f8f8ff;
}

a {
color: #0a1f44;
text-decoration: none;
background-color: transparent;
}

a:hover,
a:focus {
color: #163a78;
text-decoration: underline;
}

img {
max-width: 100%;
height: auto;
}

/* =========================
LAYOUT CONTAINER
========================= */

#container {
width: 100%;
margin: 0 auto;
overflow: visible;
}

#header,
#footer {
width: 100%;
}

#content {
padding: 20px 0;
}

/* =========================
HEADER & NAVBAR
========================= */
/* CSS untuk membuat dropdown muncul saat hover */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

/* Menjaga dropdown tetap di bawah menu */
.dropdown-menu {
    display: none;
    position: absolute;
    z-index: 1000;
}

.navbar-dongker {
background-color: #0a1f44;
}

.navbar-dongker .navbar-brand,
.navbar-dongker .nav-link {
color: #ffffff !important;
}

.navbar-dongker .nav-link:hover,
.navbar-dongker .nav-link:focus {
color: #ffd700 !important;
}

.navbar-dongker .navbar-toggler {
border-color: rgba(255, 255, 255, 0.5);
}

.navbar-dongker .navbar-toggler-icon {
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='[http://www.w3.org/2000/svg'%3E%3Cpath](http://www.w3.org/2000/svg'%3E%3Cpath) stroke='rgba(255,255,255,0.7)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* =========================
BUTTONS
========================= */

.btn {
font-size: 14px;
border-radius: 4px;
}

.btn-outline-dongker {
color: #0a1f44;
border: 2px solid #0a1f44;
background-color: transparent;
}

.btn-outline-dongker:hover {
color: #ffffff;
background-color: #0a1f44;
border-color: #0a1f44;
}

.btn-outline-dongker:focus,
.btn-outline-dongker:active {
box-shadow: 0 0 0 0.2rem rgba(10, 31, 68, 0.25);
}

.btn.btn-outline-dongker-white {
color: #ffffff;
border: 2px solid #ffffff;
background-color: transparent;
}

.btn.btn-outline-dongker-white:hover {
color: #ffd700;
background-color: transparent;
border-color: #ffd700;
}

.btn-outline-white {
border-radius: 25px;
padding: 6px 16px;
}

/* =========================
TYPOGRAPHY
========================= */

h1, h2, h3, h4, h5, h6 {
font-weight: 600;
color: #0a1f44;
margin-top: 0;
}

h1 { font-size: 28px; }
h2 { font-size: 24px; }
h3 { font-size: 20px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

p {
margin: 0 0 10px 0;
text-align: justify;
}

/* =========================
SIDEBAR
========================= */

#sidebar {
font-size: 13px;
}

#sidebar h3 {
font-size: 16px;
border-bottom: 2px solid #0a1f44;
padding-bottom: 5px;
margin-bottom: 10px;
}

#sidebar ul {
list-style: none;
padding-left: 0;
}

#sidebar ul li {
padding: 5px 0;
border-bottom: 1px solid #eee;
}

#sidebar ul li:last-child {
border-bottom: none;
}

/* =========================
EDITORIAL TEAM / LIST
========================= */

.member > li > p {
margin: 0 0 2px 14px !important;
padding: 5px 0 !important;
}

.member li {
border-bottom: none !important;
}

li#linkEditorialTeam .active {
font-weight: bold;
color: #0a1f44;
}

/* =========================
TABLES
========================= */

table {
width: 100%;
border-collapse: collapse;
margin-bottom: 20px;
}

table th,
table td {
padding: 8px 10px;
border: 1px solid #ddd;
}

table th {
background-color: #f4f6f8;
font-weight: bold;
}

/* =========================
FOOTER
========================= */

#footer {
background-color: #0a1f44;
color: #ffffff;
padding: 20px 0;
margin-top: 40px;
}

#footer a {
color: #ffd700;
}

#footer a:hover {
color: #ffffff;
}

/* =========================
RESPONSIVE
========================= */

@media (max-width: 768px) {
#container {
width: 95%;
}

h1 { font-size: 24px; }
h2 { font-size: 20px; }
h3 { font-size: 18px; }
}

/*****************************************************
 * LIST GROUP - HIGHLIGHT ITEM PERTAMA
 *****************************************************/

.list-group a {
    display: block;
    padding: 8px 12px;
    color: #007;
    background: transparent;
    border-bottom: 1px dotted #007;
}

/* Hover hanya untuk item NON-highlight */
.list-group a:not(.highlight-dongker):hover {
    background: #007;
    color: #fff;
}

/* Item pertama - dongker */
.list-group a.highlight-dongker {
    background-color: #0a1f44;   /* biru dongker */
    color: #ffffff;
    font-weight: bold;
}

/* Hover item pertama */
.list-group a.highlight-dongker:hover {
    background-color: #07162f;
    color: #ffcc00;              /* kuning saat hover */
}

.navbar-dongker .navbar-toggler::before {
    color: #ffffff;
    align-items: center;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5 !important;
}

.img-fluid.border {
    background: #fff;
}

/* === Cover fit to wrapper (no crop) === */

.mpg-cover-wrapper {
    width: 100%;
    height: 220px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mpg-cover-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* FIT TANPA POTONG */
}

/* Mobile */
@media (max-width: 576px) {
    .mpg-cover-wrapper {
        height: 170px;
    }
}
.mpg-authors {
    font-size: 12px;
}

.mpg-pages {
    white-space: nowrap;
    font-size: 12px;
}

.editorialTeam {
    list-style: none;
    padding-left: 0;
}

.editorial-bio {
    line-height: 1.5;
    max-height: 4.5em; /* ± 3 baris */
    overflow: hidden;
}
/* ===============================
   CLEAN INTERNATIONAL STYLE
================================ */

/* Row Container */
.article-item {
    padding: 20px;
    border-bottom: 1px solid #e5e5e5;
    transition: background 0.2s ease;
}

/* Alternating background */
.article-alt {
    background-color: #f9fbff;
}

.article-normal {
    background-color: #ffffff;
}

.article-item:hover {
    background-color: #f1f5ff;
}

/* FIXED COVER COLUMN */
.article-cover-col {
    width: 170px;
    flex-shrink: 0;
    text-align: center;
}

/* 150x150 UNIFORM COVER */
.article-cover-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

/* FLEX CONTENT */
.article-content-col {
    flex: 1;
    padding-left: 20px;
}

/* Title */
.article-item h5 a {
    font-weight: 600;
    font-size: 18px;
    color: #0d2c54;
    text-decoration: none;
}

.article-title a {
    color: #2179ec;
    text-decoration: none;
}

.article-item h5 a:hover {
    text-decoration: underline;
}

/* PDF button */
.pdf-button {
    background: #e63946;
    color: #ffffff !important;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
}

.pdf-button:hover {
    background: #c82333;
    text-decoration: none;
}

/* Section title */
.issue-section-title h4 {
    color: #0d2c54;
    letter-spacing: 0.5px;
}

/* ===============================
   FIX GALLEY POSITION (ANTI SHIFT)
================================ */

/* Jadikan container judul sebagai anchor positioning */
.article-content-col {
    flex: 1;
    padding-left: 20px;
    position: relative; /* penting */
}

/* Beri ruang di kanan agar judul tidak tabrak galley */
.article-content-col h5 {
    padding-right: 140px; /* ruang untuk PDF */
    margin-bottom: 6px;
}

/* Galley selalu tetap di kanan atas */
.article-content-col .text-right {
    color:  #2980f1;
    position: absolute;
    top: 0;
    right: 0;
    width: 130px;
}

/* Supaya PDF dan halaman tersusun rapi */
.article-content-col .text-right .pdf-button {
    display: inline-block;
    margin-bottom: 4px;
}

.article-content-col .text-right span {
    display: block;
}