/*1. Hilangkan background partikel di body */

body.wave-particles-active canvas {
    display: none !important;
}

/*2. Buat card di current issue mobile friendly */
/* Membuat komponen sidebar berkurang 20%

.pkp_block.block_custom.block-visible.article-visible {
    max-width: 92%;
    margin-left: +29%;
    margin-right: -15%;
}
    */

/*2. Buat main content lebih lebar */
/* Membuat komponen main bertambah 10%

@media (min-width: 992px) {
    .page_index_journal {
        max-width: 125%;
        margin-left: -5%;
        margin-right: -20%;
    }
}
*/

/* 1. Judul (Media Heading) agar tidak meluap */
.article-summary .media-heading {
    display: block;
    width: 100%;
    white-space: normal;
    /* Izinkan pindah baris */
    overflow-wrap: break-word;
    /* Potong kata jika terlalu panjang */
    word-wrap: break-word;
    word-break: break-word;
    /* Keamanan tambahan untuk teks teknis */
    line-height: 1.4;
    margin-bottom: 10px;
}

/* 2. Style Gambar Meta agar responsif */
.article-meta-image-style {
    max-width: 100%;
    /* Tidak akan pernah lebih lebar dari card */
    height: auto;
    /* Jaga rasio gambar */
    display: block;
    margin: 10px 0;
    /* Beri jarak atas bawah */
    border-radius: 4px;
}

/* 3. Pages Pill Floating (Label Halaman) agar tidak nabrak */
.pages-pill-floating {
    display: inline-block;
    /* Agar membungkus sesuai isi */
    max-width: 100%;
    /* Cegah keluar dari batas mobile */
    white-space: normal;
    /* Jika isi teks pill panjang, dia akan turun */
    word-break: break-all;
    background-color: #f0f0f0;
    /* Contoh warna background pill */
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Penyesuaian khusus untuk versi Mobile */
@media (max-width: 767px) {

    /* Pastikan container utama tidak membatasi konten */
    .article-summary.media {
        display: flex;
        flex-direction: column;
        /* Ubah layout jadi vertikal di mobile */
        padding: 15px;
        overflow-wrap: break-word;
    }

    /* Jika gambar berada di samping, pindahkan ke atas judul di mobile */
    .article-meta-image-style {
        width: 100%;
        margin-bottom: 15px;
    }

    .article-summary .media-body {
        width: 100%;
        display: block;
    }
}


/*3. Menambah card di current issue */

/* Custom Card Minimalis OJS 3.4 */
.article-summary.media {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    /* Menjaga konten tetap di dalam radius */
}

/* Efek Hover */
.article-summary.media:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
    /* Memberi aksen warna saat hover */
}

/* Solusi Judul Nabrak & Panjang */
.article-summary .media-body {
    flex: 1;
    min-width: 0;
    /* Mencegah flex-item meluap keluar card */
    width: 100%;
}

.article-summary .media-body h3.title {
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 12px;
    line-height: 1.4;
    /* Memaksa teks membuat baris baru */
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: block;
}

.article-summary .media-body h3.title a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 700;
    display: block;
    /* Mengisi lebar penuh */
    max-width: 100%;
}

.article-summary .media-body h3.title a:hover {
    color: #007bff;
}

/* Penulis (Authors) */
.article-summary .authors {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
    font-style: italic;
    line-height: 1.4;
}

/* Metadata & Footer (Galleys/PDF) */
.article-summary .footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    /* Mendorong footer ke bawah card */
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

/* Tombol PDF/Galleys Minimalis */
.article-summary .btn-default,
.article-summary .obj_galley_link {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    display: inline-block;
}

.article-summary .btn-default:hover,
.article-summary .obj_galley_link:hover {
    background-color: #007bff;
    color: #ffffff;
    border-color: #007bff;
    text-decoration: none;
}

/* Penyesuaian Thumbnail jika ada */
.article-summary .media-left {
    padding-right: 20px;
    max-width: 150px;
}

.article-summary .media-left img {
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsif Mobile */
@media (max-width: 767px) {
    .article-summary.media {
        padding: 15px;
    }

    .article-summary .media-body h3.title {
        font-size: 1.1rem;
    }
}



/* 4. Editorial Team Lengkap */


/* Styling Container Utama untuk Hierarki */


.hierarchy-section {
    margin-bottom: 40px;
}

.hierarchy-title {
    color: #102a43;
    border-bottom: 3px solid #2563eb;
    padding-bottom: 12px;
    margin-bottom: 20px;
    font-size: 2rem;
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    /* Center cards */
}

/* CSS ASLI DARI REQUEST */
:root {
    --primary: #2563eb;
    --card-bg: #ffffff;
    --text-main: #102a43;
    --text-sub: #627d98;
    --id-red: #FF0000;
}

.profile-card {
    width: 320px;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    text-align: center;
    font-family: 'Segoe UI', system-ui, sans-serif;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.profile-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.profile-image-container {
    width: 110px;
    height: 110px;
    margin: 0 auto 15px;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(135deg, var(--primary), #60a5fa);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid white;
}

.flag-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border: 2px solid white;
}

.id-flag {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--id-red) 50%, #FFFFFF 50%);
}

.name {
    font-size: 1.6rem;
    color: var(--text-main);
    margin: 15px 0 5px;
    font-weight: 700;
    line-height: 1.2;
}

.affiliationcard {
    font-size: 1.1rem;
    color: var(--text-main);
    margin: 0;
    margin: 0 0 8px;
    font-weight: 600;
}

.emailcard {
    display: block;
    font-size: 1rem;
    color: var(--primary);
    text-decoration: none;
    margin-bottom: 10px;
    transition: opacity 0.2s;
}

.email:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.title {
    color: var(--text-sub);
    font-size: 1.05rem;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Style Baru untuk SINTA Score */
.sinta-container {
    background: #f8fafc;
    border-radius: 12px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px 10px;
    margin-bottom: 25px;
    border: 1px solid #e2e8f0;
}

.sinta-item {
    flex: 1;
}

.sinta-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-sub);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.sinta-value {
    display: block;
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 800;
}

.sinta-divider {
    width: 1px;
    height: 25px;
    background: #e2e8f0;
}

.interests {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 25px;
}

.badge {
    background: #eff6ff;
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid #dbeafe;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
}

.icon-link img {
    width: 26px;
    height: 26px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.icon-link:hover img {
    transform: scale(1.2) translateY(-3px);
}

.btn-profile {
    display: block;
    padding: 15px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-profile:hover {
    background: #3a63d5;
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.3);
    color: #dbeafe;
}


/* Kedip Merah di Announcement*/
 
.menu-item-71::after {
    content: "NEW";
    position: absolute;
    top: -10px;
    right: -5px;
    background-color: #ff0000;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 3px 7px;
    border-radius: 15px;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: blink 1s infinite;
}


/*Bendera Singapura*/

/* CSS untuk Bendera Singapura */
.sg-flag {
    width: 20px; /* Sesuaikan ukurannya */
    height: 15px;
    background-image: url('https://flagcdn.com/w40/sg.png'); /* Link gambar bendera Singapura */
    background-size: cover;
    background-position: center;
    border-radius: 2px;
    display: inline-block;
}

