/* ==========================================================================
   1. HEADER BANNER (1350 x 200 px Responsif)
   ========================================================================== */
.pkp_site_name_wrapper {
    padding: 0 !important;
}

.pkp_site_name .is_img {
    display: block !important;
    padding: 0 !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 1350px !important;
}

/* ==========================================================================
   2. ABSTRAK & DAFTAR PUSTAKA (Justify / Rata Kiri-Kanan)
   ========================================================================== */
/* Halaman Detail Artikel: Abstrak */
.obj_article_details .item.abstract .value,
.obj_article_details .abstract {
    text-align: justify !important;
    text-justify: inter-word;
    line-height: 1.7;
    color: #333;
}

/* Halaman Detail Artikel: Daftar Pustaka / Referensi */
.obj_article_details .item.citations .value,
.obj_article_details .citations,
.item.references .value {
    text-align: justify !important;
    text-justify: inter-word;
    line-height: 1.8; /* Memberi jarak keterbacaan yang ideal */
    word-break: break-word; /* Mencegah link DOI panjang merusak tata letak */
    
    /* WAJIB DITAMBAHKAN: */
    white-space: pre-line !important; /* Membaca enter sebagai baris baru & tetap justify */
}

/* Jaga-jaga jika referensi tersimpan dalam format paragraf HTML (<p>) */
.obj_article_details .item.citations .value p,
.obj_article_details .citations p,
.item.references .value p {
    text-align: justify !important;
    text-justify: inter-word;
    margin-bottom: 14px !important; /* Jarak pisah antar sumber jika berformat tag p */
    line-height: 1.8;
}

/* ==========================================================================
   3. ARTIKEL TERBIT DALAM DUA KOLOM (Grid Card)
   ========================================================================== */
/* Daftar artikel pada halaman Current Issue & Archive */
.obj_issue_toc .sections .section ul.cmp_article_list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
    list-style: none;
    padding-left: 0;
}

.obj_issue_toc .sections .section ul.cmp_article_list > li {
    margin-bottom: 0 !important;
}

.obj_article_summary {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 18px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.obj_article_summary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.obj_article_summary .title {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
}

.obj_article_summary .authors {
    font-size: 0.9rem;
    color: #4a5568;
    margin-bottom: 12px;
}

/* Responsif 1 kolom untuk perangkat tablet & mobile */
@media (max-width: 850px) {
    .obj_issue_toc .sections .section ul.cmp_article_list {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   4. SIDEBAR RESPONSIVE BERBENTUK CARD
   ========================================================================== */
.pkp_structure_sidebar .pkp_block {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px 18px;
    margin-bottom: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.pkp_structure_sidebar .pkp_block .title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #1a365d;
    padding-bottom: 8px;
    margin-bottom: 14px;
    color: #1a365d;
}

/* Penyesuaian gambar/logo di sidebar agar rapi di tengah kartu */
.pkp_structure_sidebar .pkp_block img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 8px auto;
    border-radius: 4px;
}

/* ==========================================================================
   5. STATIC PAGE / EDITORIAL TEAM / REVIEWER (Card Layout)
   ========================================================================== */
/* Container Grid untuk Dewan Editor / Reviewer */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

/* Card Satuan Editor/Reviewer */
.team-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.team-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%; /* Foto profil melingkar */
    object-fit: cover;
    margin: 0 auto 12px auto;
    display: block;
    border: 3px solid #edf2f7;
}

.team-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #2d3748;
}

.team-card .role {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2b6cb0;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.team-card .affiliation {
    font-size: 0.85rem;
    color: #718096;
    line-height: 1.4;
    margin-bottom: 10px;
}

.team-card .profile-link {
    display: inline-block;
    font-size: 0.8rem;
    padding: 5px 12px;
    background: #edf2f7;
    color: #2d3748;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
}

.team-card .profile-link:hover {
    background: #2b6cb0;
    color: #ffffff;
}

/* ==========================================================================
   6. FOOTER ELEGAN & MODERN
   ========================================================================== */
.pkp_structure_footer_wrapper {
    background: #1a202c !important; /* Charcoal / Dark slate */
    color: #cbd5e0 !important;
    padding: 40px 0 25px 0 !important;
    margin-top: 50px;
    border-top: 4px solid #2b6cb0;
}

.pkp_structure_footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    line-height: 1.6;
}

.pkp_structure_footer a {
    color: #63b3ed !important;
    text-decoration: none;
}

.pkp_structure_footer a:hover {
    color: #bee3f8 !important;
    text-decoration: underline;
}

.pkp_structure_footer p {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

/* Container Menu Tombol */
.sidebar-menu-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Style Dasar Tombol Menu Sidebar */
.sidebar-btn {
    display: block;
    width: 100%;
    padding: 9px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #334155 !important;
    text-align: left;
    font-size: 0.86rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.sidebar-btn:hover {
    background: #edf2f7;
    color: #1a365d !important;
    border-color: #cbd5e0;
    transform: translateX(3px);
}

/* Tombol Utama (Online Submission) */
.sidebar-btn-primary {
    background: #1a365d !important;
    color: #ffffff !important;
    border-color: #1a365d !important;
    font-weight: 600;
    text-align: center;
}

.sidebar-btn-primary:hover {
    background: #2b6cb0 !important;
    border-color: #2b6cb0 !important;
    transform: translateY(-2px);
}

/* Tombol Download Template */
.sidebar-btn-template {
    background: #ebf8ff;
    color: #2b6cb0 !important;
    border: 1.5px dashed #3182ce;
    font-weight: 700;
    text-align: center;
    padding: 10px 12px;
}

.sidebar-btn-template:hover {
    background: #3182ce;
    color: #ffffff !important;
    border-style: solid;
    transform: translateY(-2px);
}

/* Logo Grid Tools */
.sidebar-tools-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 8px 0;
}

.sidebar-tools-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 6px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.sidebar-tools-grid a:hover {
    transform: scale(1.05);
    border-color: #cbd5e0;
}