/* =============================================================
   STYLESHEET JURNAL OJS — VERSI FINAL LENGKAP
   =============================================================
   Struktur:
   1.  Konfigurasi Global (Variabel & Reset)
   2.  Typography & Link Dasar
   3.  Layout Utama (Container & Background)
   4.  Header & Navigasi
       4b. Dropdown Submenu Navigasi
   5.  Sidebar (Blok, Judul, Konten, Tombol, Gambar)
   6.  Daftar Artikel (Summary, Judul, Tombol Galley)
   7.  Detail Artikel (Judul, Penulis, Abstrak, Keyword, Referensi)
   8.  DOI Badge & Copyright
   9.  Halaman Arsip / Daftar Issue
   10. Pengumuman (Announcements)
   11. Tabel Data
   12. Breadcrumbs
   13. Form (Login, Register, Submit)
   14. Pencarian (Search)
   15. Notifikasi Sistem
   16. Footer
   17. Animasi & Efek Interaktif
   18. Aksesibilitas (Focus & Reduced Motion)
   19. Responsif (Tablet & Mobile)
   20. Print Stylesheet
   ============================================================= */


/* =============================================================
   1. KONFIGURASI GLOBAL (VARIABEL & RESET)
   ============================================================= */
:root {
    /* Warna Utama */
    --primary-color: #226EA3;
    --primary-hover: #1b5680;
    --primary-light: #f0f7fb;

    /* Warna Teks */
    --text-color: #333333;
    --text-dark: #222222;
    --text-muted: #777777;
    --text-light: #999999;

    /* Warna Background */
    --bg-body: #f5f5f5;
    --bg-white: #ffffff;
    --bg-footer: #2c2c2c;
    --bg-hover: #f9fbfd;

    /* Warna Border */
    --border-color: #e0e0e0;
    --border-light: #eeeeee;
    --border-subtle: #f0f0f0;

    /* Warna Status */
    --color-success: #28a745;
    --color-success-bg: #d4edda;
    --color-success-text: #155724;
    --color-warning: #ffc107;
    --color-warning-bg: #fff3cd;
    --color-warning-text: #856404;
    --color-error: #dc3545;
    --color-error-bg: #f8d7da;
    --color-error-text: #721c24;

    /* Bayangan */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-page: 0 0 20px rgba(0, 0, 0, 0.05);
    --shadow-header: 0 4px 6px -6px rgba(0, 0, 0, 0.1);
    --shadow-focus: 0 0 0 3px rgba(34, 110, 163, 0.15);

    /* Transisi */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease-in-out;

    /* Layout */
    --max-width: 1200px;
    --sidebar-padding: 25px;
    --border-radius: 4px;
    --border-radius-pill: 20px;
    --border-radius-round: 30px;
}


/* =============================================================
   2. TYPOGRAPHY & LINK DASAR
   ============================================================= */
html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-body);
    color: var(--text-color);
}

/* Transisi global untuk elemen interaktif */
a,
button,
input,
select,
textarea,
.obj_galley_link,
.pkp_navigation_primary a {
    transition: all var(--transition-base);
}

/* Mencegah teks terlalu panjang per baris (readability optimal) */
.obj_article_details .abstract,
.obj_article_details .references,
.obj_article_details .item.description {
    max-width: 75ch;
}

/* Seleksi teks menggunakan warna tema */
::selection {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

::-moz-selection {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

/* Gambar tidak boleh meluap dari kontainer */
img {
    max-width: 100%;
    height: auto;
}


/* =============================================================
   3. LAYOUT UTAMA (CONTAINER & BACKGROUND)
   ============================================================= */
.pkp_structure_page {
    max-width: var(--max-width);
    margin: 0 auto;
    background-color: var(--bg-white);
    position: relative;
    box-shadow: var(--shadow-page);
}


/* =============================================================
   4. HEADER & NAVIGASI
   ============================================================= */
.pkp_structure_head {
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-header);
}

/* Menu Navigasi Utama */
.pkp_navigation_primary ul li a {
    font-weight: 600;
    color: var(--text-color);
    position: relative;
    text-decoration: none;
}

.pkp_navigation_primary ul li a:hover,
.pkp_navigation_primary ul li a:focus {
    color: var(--primary-color);
}

/* Efek garis bawah berjalan saat hover */
.pkp_navigation_primary ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width var(--transition-base);
}

.pkp_navigation_primary ul li a:hover::after {
    width: 100%;
}


/* =============================================================
   4b. DROPDOWN SUBMENU NAVIGASI
   ============================================================= */

/* --- Wadah Dropdown --- */
.pkp_navigation_primary ul li ul {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--primary-color);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
    min-width: 200px;

    /* Animasi muncul: fade + slide dari atas */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity var(--transition-base),
                visibility var(--transition-base),
                transform var(--transition-base);
}

/* --- Saat Parent di-hover, Dropdown Muncul --- */
.pkp_navigation_primary ul li:hover > ul,
.pkp_navigation_primary ul li:focus-within > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* --- Item di Dalam Dropdown --- */
.pkp_navigation_primary ul li ul li {
    border-bottom: 1px solid var(--border-subtle);
}

/* Hapus border pada item terakhir */
.pkp_navigation_primary ul li ul li:last-child {
    border-bottom: none;
}

/* --- Link di Dalam Dropdown --- */
.pkp_navigation_primary ul li ul li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    transition: all var(--transition-fast);
}

/* --- Hover pada Item Dropdown --- */
.pkp_navigation_primary ul li ul li a:hover,
.pkp_navigation_primary ul li ul li a:focus {
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding-left: 25px;
}

/* --- Matikan Garis Bawah Berjalan di Dropdown --- */
.pkp_navigation_primary ul li ul li a::after {
    display: none;
}


/* =============================================================
   5. SIDEBAR (GABUNGAN SEMUA ATURAN — TANPA DUPLIKASI)
   ============================================================= */

/* --- 5a. Wadah Utama Sidebar --- */
.pkp_structure_sidebar {
    padding-right: var(--sidebar-padding);
    box-sizing: border-box;
}

/* --- 5b. Setiap Blok Sidebar --- */
.pkp_structure_sidebar .pkp_block {
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin-bottom: 2.5rem;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-sizing: border-box;
}

/* --- 5c. Judul Blok Sidebar --- */
.pkp_structure_sidebar .pkp_block .title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-subtle);
    padding-bottom: 10px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    width: 100%;
}

/* --- 5d. Konten Blok Sidebar --- */
.pkp_structure_sidebar .pkp_block .content {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- 5e. Tombol/Link Langsung di Sidebar --- */
.pkp_structure_sidebar .pkp_block .content > a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 10px 0;
    text-align: center;
    padding: 12px 15px;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: all var(--transition-base);
}

/* --- 5f. Gambar di Sidebar --- */
.pkp_structure_sidebar .pkp_block .content img {
    max-width: 100%;
    height: auto;
    margin: 0 auto 10px;
    display: inline-block;
}

/* --- 5g. Efek Interaktif Logo/Gambar Sidebar --- */
.pkp_structure_sidebar .pkp_block .content a img {
    transition: transform var(--transition-base),
                filter var(--transition-base);
    display: inline-block;
}

.pkp_structure_sidebar .pkp_block .content a:hover img {
    transform: translateY(-5px) scale(1.05);
    filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.2));
}

.pkp_structure_sidebar .pkp_block .content a:hover {
    opacity: 0.9;
}


/* =============================================================
   6. DAFTAR ARTIKEL (SUMMARY)
   ============================================================= */

/* --- 6a. Card Artikel --- */
.obj_article_summary {
    border-bottom: 1px solid var(--border-light);
    padding: 20px 15px;
    border-radius: 6px;
    transition: background-color var(--transition-base),
                transform var(--transition-base),
                box-shadow var(--transition-base);
}

.obj_article_summary:hover {
    background-color: var(--bg-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* --- 6b. Judul Artikel --- */
.obj_article_summary .title a {
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    transition: color var(--transition-base);
}

.obj_article_summary .title a:hover {
    color: var(--primary-color);
}

/* --- 6c. Tombol PDF/Galley --- */
.obj_galley_link.file {
    background-color: var(--primary-color);
    color: var(--bg-white) !important;
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 6px 12px;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-block;
    transition: all var(--transition-base);
}

.obj_galley_link.file:hover {
    background-color: var(--bg-white);
    color: var(--primary-color) !important;
    border-color: var(--primary-color);
}

.obj_galley_link.file:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}


/* =============================================================
   7. DETAIL ARTIKEL (JUDUL, PENULIS, ABSTRAK, KEYWORD, REFERENSI)
   ============================================================= */

/* --- 7a. Judul Artikel di Halaman Detail --- */
.obj_article_details .page_title {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 15px;
}

/* --- 7b. Nama Penulis --- */
.obj_article_details .authors {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-style: italic;
}

/* --- 7c. Abstrak --- */
.obj_article_details .abstract {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    text-align: justify;
    padding: 20px 25px;
    background-color: var(--primary-light);
    border-left: 4px solid var(--primary-color);
    border-radius: var(--border-radius);
    margin-bottom: 25px;
}

/* Label "Abstract" */
.obj_article_details .abstract .label {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- 7d. Keywords / Kata Kunci --- */
.obj_article_details .keywords {
    margin-top: 15px;
    padding: 10px 0 10px 25px;
}

.obj_article_details .keywords .label {
    font-weight: 700;
    color: var(--text-dark);
}

/* Setiap keyword menjadi badge/tag */
.obj_article_details .keywords .value span {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding: 3px 10px;
    margin: 3px 4px;
    border-radius: var(--border-radius-pill);
    font-size: 0.85rem;
    border: 1px solid var(--border-color);
}

/* --- 7e. Referensi --- */
.obj_article_details .references {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #555;
}

.obj_article_details .references .label {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 10px;
}


/* =============================================================
   8. DOI BADGE & COPYRIGHT
   ============================================================= */

/* --- 8a. DOI Badge --- */
.obj_article_details .doi a {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary-color) !important;
    border: 1px solid var(--primary-color);
    padding: 5px 12px;
    border-radius: var(--border-radius-pill);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    margin-top: 5px;
    transition: all var(--transition-base);
}

.obj_article_details .doi a:hover {
    background-color: var(--primary-color);
    color: var(--bg-white) !important;
    box-shadow: 0 2px 5px rgba(34, 110, 163, 0.3);
}

/* Ikon DOI — PERIKSA DULU apakah OJS sudah menampilkan label "DOI:" */
/* Jika sudah ada, biarkan ini tetap dikomentari agar tidak duplikat */
/*
.obj_article_details .doi a::before {
    content: "DOI: ";
    font-weight: 800;
}
*/

/* --- 8b. Blok Copyright/Lisensi --- */
.obj_article_details .copyright {
    background-color: #fafafa;
    padding: 15px;
    border-left: 4px solid var(--primary-color);
    margin-top: 20px;
    font-size: 0.9rem;
    color: #555;
}


/* =============================================================
   9. HALAMAN ARSIP / DAFTAR ISSUE
   ============================================================= */
.obj_issue_summary {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
    transition: box-shadow var(--transition-base),
                transform var(--transition-base);
}

.obj_issue_summary:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.obj_issue_summary .title {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--primary-color);
}

.obj_issue_summary .title a {
    color: var(--primary-color);
    text-decoration: none;
}

.obj_issue_summary .title a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.obj_issue_summary .cover img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.obj_issue_summary .description {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 10px;
    line-height: 1.6;
}

.obj_issue_summary .published {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 8px;
}


/* =============================================================
   10. PENGUMUMAN (ANNOUNCEMENTS)
   ============================================================= */
.cmp_announcement {
    background-color: var(--primary-light);
    border-left: 5px solid var(--primary-color);
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.cmp_announcement > h3 {
    color: var(--primary-color);
    margin-top: 0;
}


/* =============================================================
   11. TABEL DATA (ZEBRA STRIPING)
   ============================================================= */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table th {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 10px;
    text-align: left;
}

table td {
    padding: 10px;
    border-bottom: 1px solid var(--border-light);
}


/* =============================================================
   12. BREADCRUMBS
   ============================================================= */
.pkp_structure_breadcrumb {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.pkp_structure_breadcrumb a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.pkp_structure_breadcrumb a:hover {
    text-decoration: underline;
}

.pkp_structure_breadcrumb .current {
    color: var(--text-light);
}


/* =============================================================
   13. FORM (LOGIN, REGISTER, SUBMIT)
   ============================================================= */
.pkp_form input[type="text"],
.pkp_form input[type="email"],
.pkp_form input[type="password"],
.pkp_form input[type="url"],
.pkp_form select,
.pkp_form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    color: var(--text-color);
    background-color: var(--bg-white);
    box-sizing: border-box;
    transition: border-color var(--transition-base),
                box-shadow var(--transition-base);
}

.pkp_form input:focus,
.pkp_form select:focus,
.pkp_form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-focus);
    outline: none;
}

.pkp_form label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 5px;
    display: block;
}

.pkp_form .pkp_button,
.pkp_form button[type="submit"],
.pkp_form input[type="submit"] {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: 2px solid var(--primary-color);
    padding: 10px 25px;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.pkp_form .pkp_button:hover,
.pkp_form button[type="submit"]:hover,
.pkp_form input[type="submit"]:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.pkp_form .pkp_button:active,
.pkp_form button[type="submit"]:active {
    transform: scale(0.97);
    transition: transform 0.1s ease;
}

.pkp_form .error {
    color: var(--color-error);
    font-size: 0.85rem;
    margin-top: 5px;
}


/* =============================================================
   14. PENCARIAN (SEARCH)
   ============================================================= */
.pkp_search input[type="text"],
.pkp_search .query {
    padding: 12px 18px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-round);
    font-size: 1rem;
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
    transition: border-color var(--transition-base),
                box-shadow var(--transition-base);
}

.pkp_search input[type="text"]:focus {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-focus);
    outline: none;
}

.pkp_search .pkp_button,
.pkp_search button {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: none;
    padding: 12px 20px;
    border-radius: var(--border-radius-round);
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-base);
}

.pkp_search .pkp_button:hover,
.pkp_search button:hover {
    background-color: var(--primary-hover);
}

.search_results .obj_article_summary {
    border-left: 3px solid var(--primary-color);
    padding-left: 20px;
    margin-bottom: 15px;
}


/* =============================================================
   15. NOTIFIKASI SISTEM
   ============================================================= */
.pkp_notification {
    padding: 12px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    font-size: 0.95rem;
    font-weight: 500;
    animation: fadeInUp 0.4s ease forwards;
}

.pkp_notification.success,
.pkp_notification[class*="success"] {
    background-color: var(--color-success-bg);
    color: var(--color-success-text);
    border-left: 5px solid var(--color-success);
}

.pkp_notification.warning,
.pkp_notification[class*="warning"] {
    background-color: var(--color-warning-bg);
    color: var(--color-warning-text);
    border-left: 5px solid var(--color-warning);
}

.pkp_notification.error,
.pkp_notification[class*="error"] {
    background-color: var(--color-error-bg);
    color: var(--color-error-text);
    border-left: 5px solid var(--color-error);
}

.pkp_notification.info,
.pkp_notification[class*="info"] {
    background-color: var(--primary-light);
    color: var(--primary-hover);
    border-left: 5px solid var(--primary-color);
}


/* =============================================================
   16. FOOTER
   ============================================================= */
.pkp_structure_footer {
    background-color: var(--bg-footer);
    color: var(--bg-white);
    padding: 3rem 0;
    margin-top: 3rem;
}

.pkp_structure_footer a {
    color: #ccc;
    transition: color var(--transition-fast);
}

.pkp_structure_footer a:hover,
.pkp_structure_footer a:focus {
    color: var(--bg-white);
    text-decoration: underline;
}


/* =============================================================
   17. ANIMASI & EFEK INTERAKTIF
   ============================================================= */

/* --- 17a. Keyframes --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* --- 17b. Fade-in Artikel saat Halaman Dimuat --- */
.obj_article_summary {
    animation: fadeInUp 0.5s ease forwards;
}

.obj_article_summary:nth-child(1)  { animation-delay: 0.03s; }
.obj_article_summary:nth-child(2)  { animation-delay: 0.06s; }
.obj_article_summary:nth-child(3)  { animation-delay: 0.09s; }
.obj_article_summary:nth-child(4)  { animation-delay: 0.12s; }
.obj_article_summary:nth-child(5)  { animation-delay: 0.15s; }
.obj_article_summary:nth-child(6)  { animation-delay: 0.18s; }
.obj_article_summary:nth-child(7)  { animation-delay: 0.21s; }
.obj_article_summary:nth-child(8)  { animation-delay: 0.24s; }
.obj_article_summary:nth-child(9)  { animation-delay: 0.27s; }
.obj_article_summary:nth-child(10) { animation-delay: 0.30s; }

/* --- 17c. Fade-in Blok Sidebar --- */
.pkp_structure_sidebar .pkp_block {
    animation: fadeIn 0.6s ease forwards;
}

.pkp_structure_sidebar .pkp_block:nth-child(1) { animation-delay: 0.1s; }
.pkp_structure_sidebar .pkp_block:nth-child(2) { animation-delay: 0.2s; }
.pkp_structure_sidebar .pkp_block:nth-child(3) { animation-delay: 0.3s; }
.pkp_structure_sidebar .pkp_block:nth-child(4) { animation-delay: 0.4s; }
.pkp_structure_sidebar .pkp_block:nth-child(5) { animation-delay: 0.5s; }

/* --- 17d. Fade-in Issue Cards --- */
.obj_issue_summary {
    animation: fadeInUp 0.5s ease forwards;
}

.obj_issue_summary:nth-child(1) { animation-delay: 0.05s; }
.obj_issue_summary:nth-child(2) { animation-delay: 0.10s; }
.obj_issue_summary:nth-child(3) { animation-delay: 0.15s; }
.obj_issue_summary:nth-child(4) { animation-delay: 0.20s; }
.obj_issue_summary:nth-child(5) { animation-delay: 0.25s; }


/* =============================================================
   18. AKSESIBILITAS
   ============================================================= */

/* --- 18a. Focus Visible untuk Pengguna Keyboard --- */
a:focus-visible,
button:focus-visible,
.obj_galley_link:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* --- 18b. Respect "Reduce Motion" (Pengguna Sensitif Animasi) --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .obj_article_summary:hover {
        transform: none;
    }

    .obj_issue_summary:hover {
        transform: none;
    }

    .pkp_structure_sidebar .pkp_block .content a:hover img {
        transform: none;
        filter: none;
    }
}


/* =============================================================
   19. RESPONSIF (TABLET & MOBILE)
   ============================================================= */

/* --- 19a. Tablet (max 992px) --- */
@media (max-width: 992px) {
    .pkp_structure_page {
        max-width: 100%;
        box-shadow: none;
    }

    .pkp_structure_sidebar {
        padding-right: 15px;
        padding-left: 15px;
    }
}

/* --- 19b. Mobile (max 768px) --- */
@media (max-width: 768px) {
    .pkp_structure_page {
        margin: 0;
    }

    .pkp_structure_sidebar {
        padding-right: 0;
    }

    /* Navigasi lebih mudah di-tap */
    .pkp_navigation_primary ul li a {
        padding: 10px 15px;
        font-size: 1rem;
    }

    /* Dropdown di mobile: full-width, tanpa animasi geser */
    .pkp_navigation_primary ul li ul {
        position: relative;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-top: none;
        border-left: 3px solid var(--primary-color);
        margin-left: 15px;
        padding: 0;
        min-width: auto;
    }

    /* Item dropdown di mobile */
    .pkp_navigation_primary ul li ul li a {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .pkp_navigation_primary ul li ul li a:hover {
        padding-left: 20px;
    }

    /* Matikan efek naik di mobile */
    .obj_article_summary:hover {
        transform: none;
        box-shadow: none;
    }

    .obj_article_summary {
        padding: 15px 10px;
    }

    .obj_issue_summary:hover {
        transform: none;
    }

    /* Tabel bisa di-scroll horizontal */
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .pkp_structure_footer {
        padding: 1.5rem 15px;
    }

    .pkp_structure_sidebar .pkp_block .title {
        font-size: 1rem;
    }

    /* Abstrak padding dikurangi & justify dimatikan */
    .obj_article_details .abstract {
        padding: 15px;
        text-align: left;
    }

    .obj_article_details .page_title {
        font-size: 1.4rem;
    }

    .pkp_search input[type="text"] {
        max-width: 100%;
        border-radius: var(--border-radius);
    }

    .cmp_announcement {
        padding: 12px 15px;
    }
}

/* --- 19c. Mobile Kecil (max 480px) --- */
@media (max-width: 480px) {
    .obj_galley_link.file {
        display: block;
        text-align: center;
        margin-top: 10px;
        padding: 10px 15px;
    }

    .obj_article_details .doi a {
        display: block;
        text-align: center;
        margin-top: 10px;
    }

    .pkp_structure_footer {
        text-align: center;
    }

    .obj_article_details .keywords .value span {
        font-size: 0.8rem;
        padding: 2px 8px;
        margin: 2px 3px;
    }
}


/* =============================================================
   20. PRINT STYLESHEET
   ============================================================= */
@media print {
    .pkp_structure_head,
    .pkp_structure_footer,
    .pkp_structure_sidebar,
    .pkp_navigation_primary,
    .pkp_navigation_user,
    .pkp_search,
    .obj_galley_link,
    .pkp_structure_breadcrumb,
    .back-to-top {
        display: none !important;
    }

    .pkp_structure_page,
    .pkp_structure_main,
    .pkp_structure_content {
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
    }

    body {
        background: var(--bg-white) !important;
        color: #000 !important;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8rem;
        color: #666;
    }

    table,
    figure,
    img {
        page-break-inside: avoid;
    }

    .obj_article_details .page_title {
        page-break-after: avoid;
    }

    .obj_article_details .abstract {
        background-color: transparent;
        border-left: 2px solid #000;
        padding: 10px 15px;
    }

    * {
        animation: none !important;
        transition: none !important;
    }
}