@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css");

/*
Stylesheet untuk keseluruhan situs
*/

@media (min-width: 992px) {
    .pkp_site_name .is_img img {
        max-height: 40px;
    }
}

html,
body {
    font-family: Arial, sans-serif;
    background-color: #bdbdbd;
}

a {
    color: #A11C21;
}

.pkp_site_name_wrapper {
    background-color: #fff;
}

.pkp_navigation_primary_row {
    border-top: 5px solid #A11C21;
    border-bottom: 1px solid #A11C21;
}

.pkp_navigation_user li a {
    color: #A11C21;
}

.pkp_navigation_user li a:hover {
    color: #286883;
}

.pkp_brand_footer {
    display: none;
}

/* Jika tombol menggunakan teks "Open Menu", ubah warna teksnya */
.pkp_site_nav_toggle span::before ,.pkp_site_nav_toggle span::after{
    background-color: #A11C21 !important;
}


/* Mengatur urutan elemen pada Homepage OJS 3.3 */
.page_index_journal {
    display: flex !important;
    flex-direction: column !important;
}

/* Mengatur Banner/Announcements tetap di atas */
.homepage_image {
    order: 1 !important;
}

/* Memaksa Additional Content naik ke posisi 2 (di bawah banner) */
.additional_content {
    order: 2 !important;
}

/* Mengatur Current Issue/Daftar Artikel ke posisi 3 */
.homepage_about {
    order: 3 !important;
}

/* Mengatur tombol 'View All Issues' ke bawah */
.current_issue {
    order: 4 !important;
}

.pkp_navigation_search_wrapper a {
    color: #A11C21;
}

/*
stylesheet untuk sidebar
*/
/* Container Utama */
.ojs-sidebar-container {
    font-size: 13px;
    color: #333;
    line-height: 1.6;
}

/* Section Wrapper */
.ojs-sidebar-section {
    margin-bottom: 25px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 0 4px 4px 0;
    overflow: hidden;
}

/* Judul dengan Aksen Merah Khas Anda */
.ojs-sidebar-title {
    background-color: #f8f9fa;
    padding: 10px 12px;
    font-weight: 700;
    border-left: 4px solid #A11C21; /* Warna Merah Identitas */
    margin-bottom: 0;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    color: #2c3e50;
    border-bottom: 1px solid #eee;
}

/* Konten Khusus Gambar/Source Detail */
.ojs-sidebar-content {
    padding: 15px;
    display: flex;
    justify-content: center;
    background: #fff;
}

.ojs-sidebar-img-link {
    transition: transform 0.3s ease;
    display: block;
}

.ojs-sidebar-img-link:hover {
    transform: scale(1.03);
}

.ojs-sidebar-img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* Gaya List/Menu Sidebar */
.ojs-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ojs-sidebar-list li {
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.ojs-sidebar-list li:last-child {
    border-bottom: none;
}

.ojs-sidebar-list a {
    text-decoration: none;
    color: #555;
    padding: 2px 15px;
    display: block;
    transition: all 0.3s ease;
}

.ojs-sidebar-list a:hover {
    color: #A11C21;
    background-color: #fcfcfc;
    padding-left: 20px; /* Efek geser yang lebih halus */
}


/*
stylesheet untuk add-content
*/
.add-content-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #333;
}

/* Bagian Visual Sidebar */
.add-content-sidebar {
    flex: 1 1 200px;
    text-align: center;
}

.add-content-cover {
    width: 100%;
    max-width: 220px;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #ddd;
}

/* Bagian Tabel Informasi */
.add-content-info {
    flex: 2 1 450px;
}

.add-content-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
}

.add-content-table td {
    padding: 2px 15px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

/* Header Bar (Journal Title) */
.add-content-header-row {
    background-color: #A11C21;
    color: #ffffff;
}

.add-content-header-row td {
    border-bottom: none;
}

/* Baris Zebra (Warna Selang-seling) */
.add-content-table tr:nth-child(even) {
    background-color: #fcfcfc;
}

/* Label kolom kiri */
.add-content-label {
    font-weight: 700;
    width: 25%;
    color: #444;
    background-color: #f5f5f5;
}

/* Styling Link di dalam tabel */
.add-content-table a {
    color: #A11C21;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.add-content-table a:hover {
    color: #d1272d;
    text-decoration: underline;
}

/* RESPONSIVE: Pengaturan untuk Layar Mobile */
@media (max-width: 768px) {
    .add-content-container {
        flex-direction: column;
        align-items: center;
    }

    .add-content-info {
        width: 100%;
    }

    .add-content-label {
        width: 35%;
        /* Memberi ruang lebih pada layar tablet/HP */
    }
}

@media (max-width: 480px) {
    .add-content-table {
        font-size: 13px;
    }

    .add-content-table td {
        padding: 10px 8px;
    }
}

/*
Style sheet untuk editorial board
*/

/* Layout Container */
.edtr_section_title {
    font-size: 1.1rem;
    text-transform: uppercase;
    color: #2c3e50;
    margin: 30px 0 15px 0;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
}

.edtr_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* Card Style */
.edtr_card {
    display: flex;
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    align-items: center;
    padding: 15px;
}

.edtr_card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/* Image Container */
.edtr_card_img {
    flex-shrink: 0;
}

.edtr_card_img img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%; /* Membuat foto melingkar agar terlihat lebih modern */
    border: 3px solid #f8f9fa;
}

/* Info Content */
.edtr_card_info {
    padding-left: 20px;
    flex: 1;
}

.edtr_name {
    margin: 0 0 5px 0;
    font-size: 1rem;
    color: #1a1a1a;
    line-height: 1.2;
}

.edtr_org {
    margin: 0 0 10px 0;
    font-size: 0.85rem;
    color: #666;
}

/* External IDs */
.edtr_links {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.edtr_link_item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #444;
}

.edtr_link_item img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .edtr_grid {
        grid-template-columns: 1fr;
    }
    
    .edtr_card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .edtr_card_info {
        padding-left: 0;
        padding-top: 15px;
    }
    
    .edtr_link_item {
        justify-content: center;
    }
}


/*
style untuk daftar artikel - grid layout
*/

/* Container Utama */
.cmp_article_list.articles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 0; /* Hapus gap agar tidak membocorkan warna background */
    background-color: transparent; /* Ubah ke transparan */
    border-top: 1px solid #e0e0e0;
    border-left: 1px solid #e0e0e0;
    padding: 0;
    list-style: none;
    margin-top: 20px;
}

/* Item Artikel */
.obj_article_summary {
    background: #ffffff;
    padding: 25px;
    display: flex;
    flex-direction: column;
    /* Gunakan border kanan dan bawah untuk simulasi grid line */
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.2s ease;
    height: 100%; /* Memastikan card memenuhi ruang grid */
}

.obj_article_summary:hover {
    background: #fcfcfc;
    /* Gunakan outline agar tidak menggeser layout saat hover */
    outline: 2px solid #A11C21;
    outline-offset: -2px;
    z-index: 2;
}

/* Tipografi Judul */
.obj_article_summary .title {
    font-size: 1.05rem;
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.obj_article_summary .title a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

/* Kontainer Meta (Penulis & DOI) */
.obj_article_summary .meta {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 20px;
    flex-grow: 1; /* Ini yang memastikan area konten mendorong tombol ke bawah */
}

/* Tombol PDF */
.galleys_links {
    margin-top: auto; /* Memastikan tombol selalu di dasar card */
    padding: 0;
    list-style: none;
}

.obj_galley_link.pdf {
    display: block;
    border: 1.5px solid #A11C21;
    color: #A11C21 !important;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.75rem;
    text-transform: uppercase;
    text-align: center;
    transition: all 0.2s;
}

.obj_galley_link.pdf:hover {
    background: #A11C21;
    color: #ffffff !important;
    text-decoration: none;
}