/* ===================================
   HEADER HERO PRESISI
   Banner 6000x1000 (Diskursus Islam)
=================================== */

/* Hapus semua jarak global */
body,
.pkp_structure_head {
  margin: 0 !important;
  padding: 0 !important;
}

/* Wrapper header */
.pkp_site_name_wrapper {
  margin: 0 !important;
  padding: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: 260px !important;      /* TINGGI PALING IDEAL */
  overflow: hidden !important;
  background: none !important;
}

/* Container site name */
.pkp_site_name {
  margin: 0 !important;
  padding: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: 260px !important;
}

/* Link logo */
.pkp_site_name a {
  display: block !important;
  width: 100vw !important;
  height: 260px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* GAMBAR BANNER */
.pkp_site_name img {
  display: block !important;
  width: 100vw !important;
  height: 260px !important;
  object-fit: cover !important;   /* CROP SEMPURNA */
  object-position: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Hilangkan elemen pengganggu */
.pkp_site_name_wrapper .pkp_helpers_align_right,
.pkp_site_name_wrapper .pkp_navigation_user,
.pkp_site_name_wrapper .search {
  display: none !important;
}

/* Tidak ada jarak vertikal tersembunyi */
.pkp_structure_head *,
.pkp_site_name_wrapper *,
.pkp_site_name * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Menu langsung nempel banner */
.pkp_navigation_primary_wrapper {
  margin-top: 0 !important;
}

/* Mobile */
@media (max-width: 768px) {
  .pkp_site_name_wrapper,
  .pkp_site_name,
  .pkp_site_name a,
  .pkp_site_name img {
    height: 200px !important;
  }
}


/* ===== JOURNAL INFORMATION SIDEBAR ===== */

.menu_item {
  margin: 0;
  padding: 0;
}

.menu_item a {
  display: block;
  padding: 6px 14px;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #333333;
  text-decoration: none;
  line-height: 1.35;
  border-bottom: 1px solid #e5e5e5;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Icon */
.menu_item a em.fa {
  width: 18px;
  text-align: center;
  margin-right: 6px;
  color: #bb0102;
  font-size: 13px;
}

/* Hover */
.menu_item a:hover {
  background-color: #f6f6f6;
  color: #bb0102;
  text-decoration: none;
}

/* Active / current page (jika OJS menambahkan class active) */
.menu_item a.active {
  background-color: #fff0f0;
  color: #bb0102;
  font-weight: 700;
}

/* Header Journal Information (jika mau lebih konsisten) */
.menu_item:first-of-type {
  margin-top: 2px;
}

/* Responsive – aman untuk mobile */
@media (max-width: 768px) {
  .menu_item a {
    font-size: 12.5px;
    padding: 6px 12px;
  }

  .menu_item a em.fa {
    font-size: 12px;
  }
}
/* ===============================
   MODERN EDITORIAL BOARD (OJS)
================================ */

.editorial-section {
  margin: 30px 0;
}

.editorial-title {
  font-size: 20px;
  font-weight: 700;
  margin: 30px 0 15px;
  border-left: 5px solid #bb0102;
  padding-left: 12px;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.editor-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  border: 1px solid #e5e5e5;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  transition: all .25s ease;
}

.editor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,.15);
}

.editor-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #bb0102;
  margin-bottom: 12px;
}

.editor-name {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
}

.editor-affiliation {
  font-size: 13px;
  font-style: italic;
  color: #555;
  margin-bottom: 10px;
}

.editor-icons img {
  width: 18px;
  margin: 0 6px;
  vertical-align: middle;
  opacity: .9;
}

.editor-icons img:hover {
  opacity: 1;
}


/* Container Utama */
.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    font-family: 'Inter', -apple-system, sans-serif;
    animation: fadeInUp 0.8s ease-out;
}

/* Animasi Dasar */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header & Judul */
header {
    text-align: center;
    margin-bottom: 30px;
}

.subtitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: #0c4a6e;
    font-weight: 700;
    margin-bottom: 10px;
}

h1 {
    font-size: 2.5rem;
    color: #111827;
    margin: 10px 0;
    font-weight: 800;
}

.divider {
    height: 4px;
    width: 60px;
    background: #0284c7;
    margin: 20px auto;
    border-radius: 2px;
}

/* Deskripsi */
.description {
    text-align: center;
    line-height: 1.8;
    color: #4b5563;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Grid Ruang Lingkup */
.scope-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: #1f2937;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

/* Animasi pada Kartu */
.scope-card {
    background: #f8fafc;
    padding: 15px 20px;
    border-radius: 10px;
    border-left: 4px solid #0284c7;
    color: #334155;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
}

.scope-card:hover {
    background: #0284c7;
    color: #ffffff;
    transform: translateX(10px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
}

/* Footer */
footer {
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
}

/* Responsif untuk Mobile */
@media (max-width: 640px) {
    h1 { font-size: 1.8rem; }
    .container { padding: 15px; margin: 10px; }
}

:root {
    --primary-gold: #b2945b; /* Warna emas elegan */
    --dark-blue: #0f172a;
    --light-bg: #f8fafc;
    --text-main: #334155;
}

/* Container Utama */
.editorial-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
    font-family: 'Inter', sans-serif;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Header Section */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-blue);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Pembatas Peran (Role Divider) */
.role-divider {
    display: flex;
    align-items: center;
    margin: 40px 0 25px;
}

.role-divider::before, .role-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.role-title {
    padding: 0 20px;
    font-weight: 700;
    color: var(--primary-gold);
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

/* Grid Layout */
.editorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* Profile Card */
.profile-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.profile-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-gold);
}

/* Editor-in-Chief Khusus */
.full-width {
    grid-column: 1 / -1;
}

.name {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 8px;
}

.affiliation {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    line-height: 1.4;
}

/* ID Badges (Scopus, ORCID, Scholar) */
.id-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.id-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.3s;
}

.scopus { background: #e0f2fe; color: #0369a1; }
.orcid { background: #f0fdf4; color: #15803d; }
.scholar { background: #fff7ed; color: #9a3412; }

.id-badge:hover {
    filter: brightness(0.9);
}

/* Responsif */
@media (max-width: 768px) {
    .section-header h2 { font-size: 1.8rem; }
    .editorial-grid { grid-template-columns: 1fr; }
    .profile-card { padding: 20px; }
}

/* Animasi Muncul dari Bawah (Fade In Up) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animasi Halus untuk Container Utama */
.container {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Efek Muncul Bertahap pada Kartu Scope */
.scope-card {
    opacity: 0; /* Mulai dari tidak terlihat */
    animation: fadeInUp 0.5s ease-out forwards;
}

/* Delay Animasi agar kartu muncul satu per satu */
.scope-card:nth-child(1) { animation-delay: 0.2s; }
.scope-card:nth-child(2) { animation-delay: 0.3s; }
.scope-card:nth-child(3) { animation-delay: 0.4s; }
.scope-card:nth-child(4) { animation-delay: 0.5s; }
.scope-card:nth-child(5) { animation-delay: 0.6s; }
.scope-card:nth-child(6) { animation-delay: 0.7s; }
.scope-card:nth-child(7) { animation-delay: 0.8s; }
.scope-card:nth-child(8) { animation-delay: 0.9s; }

/* Interaksi Hover yang lebih dinamis */
.scope-card:hover {
    transform: scale(1.02) translateX(10px);
    box-shadow: 5px 5px 20px rgba(193, 45, 45, 0.2);
    cursor: pointer;
}

/* Tambahan: Transisi warna pada teks saat hover */
.scope-card:hover span {
    color: var(--primary-gold);
    opacity: 1;
}

/* Perbaikan untuk tampilan mobile agar lebih rapat */
@media (max-width: 600px) {
    body { padding: 10px; }
    .container { padding: 25px 15px; }
    h1 { font-size: 1.8rem; }
    .grid-container { gap: 10px; }
}

/* Container Reviewer */
.reviewer-container {
    max-width: 1200px;
    margin: 40px auto;
    background: #ffffff;
    padding: 60px 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-top: 10px solid #c12d2d;
    animation: fadeInUp 0.8s ease-out;
}

/* Header & Line */
.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #c12d2d;
    text-align: center;
    margin-bottom: 10px;
}

.header-line {
    height: 3px;
    width: 80px;
    background: #c5a059;
    margin: 0 auto 40px;
}

/* Grid System */
.reviewer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Profile Card Styling */
.profile-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    animation: slideUp 0.5s ease-out forwards;
}

/* Hover Effect */
.profile-card:hover {
    border-color: #c12d2d;
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(193, 45, 45, 0.1);
}

.name {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
    display: block;
}

.affiliation {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Badges Styling */
.id-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}

.id-badge {
    font-size: 0.65rem;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s;
}

.scopus { background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }
.orcid { background: #ecfdf5; color: #047857; border: 1px solid #d1fae5; }
.scholar { background: #fff7ed; color: #c2410c; border: 1px solid #ffedd5; }

/* Animasi Keyframes */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Staggered Delay untuk Reviewer */
.profile-card:nth-child(odd) { animation-delay: 0.1s; }
.profile-card:nth-child(even) { animation-delay: 0.2s; }

/* Responsivitas */
@media (max-width: 1024px) {
    .reviewer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .reviewer-grid { grid-template-columns: 1fr; }
    .reviewer-container { padding: 30px 20px; }
    .section-header h2 { font-size: 2rem; }
}

/* ===================================
   HEADER HERO PRESISI (LINK DISABLED)
   Banner 6000x1000 (Diskursus Islam)
=================================== */

/* Hapus semua jarak global */
body,
.pkp_structure_head {
  margin: 0 !important;
  padding: 0 !important;
}

/* Wrapper header */
.pkp_site_name_wrapper {
  margin: 0 !important;
  padding: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: 260px !important;
  overflow: hidden !important;
  background: none !important;
}

/* Container site name */
.pkp_site_name {
  margin: 0 !important;
  padding: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: 260px !important;
}

/* MENONAKTIFKAN LINK LOGO */
.pkp_site_name a {
  display: block !important;
  width: 100vw !important;
  height: 260px !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important; /* Membuat link tidak bisa diklik */
  cursor: default !important;      /* Mengubah kursor kembali ke panah biasa */
  text-decoration: none !important;
}

/* GAMBAR BANNER */
.pkp_site_name img {
  display: block !important;
  width: 100vw !important;
  height: 260px !important;
  object-fit: cover !important;
  object-position: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Hilangkan elemen pengganggu di area header */
.pkp_site_name_wrapper .pkp_helpers_align_right,
.pkp_site_name_wrapper .pkp_navigation_user,
.pkp_site_name_wrapper .search {
  display: none !important;
}

/* Menghilangkan semua margin tersembunyi */
.pkp_structure_head *,
.pkp_site_name_wrapper *,
.pkp_site_name * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Navigasi menu langsung nempel banner */
.pkp_navigation_primary_wrapper {
  margin-top: 0 !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .pkp_site_name_wrapper,
  .pkp_site_name,
  .pkp_site_name a,
  .pkp_site_name img {
    height: 200px !important;
  }
}

/* ===================================
   NAVIGASI MENU KE SAMPING KIRI
=================================== */

/* Menarik container navigasi ke kiri */
.pkp_navigation_primary_wrapper {
    display: flex !important;
    justify-content: flex-start !important; /* Memaksa konten ke kiri */
    padding-left: 20px !important;        /* Jarak aman dari pinggir layar */
}

/* Memastikan daftar menu tidak memiliki margin otomatis yang memposisikan ke tengah */
.pkp_navigation_primary {
    margin-left: 0 !important;
    margin-right: auto !important;
    display: flex !important;
    flex-direction: row !important;
}

/* Menghilangkan padding berlebih pada elemen list navigasi */
ul.pkp_navigation_primary {
    padding-left: 0 !important;
}

/* Penyesuaian jarak antar item menu agar tetap rapi */
.pkp_navigation_primary > li {
    margin-right: 15px !important; /* Memberi jarak antar tulisan menu */
}

/* Responsif: Tetap rapi di mobile */
@media (max-width: 768px) {
    .pkp_navigation_primary_wrapper {
        justify-content: center !important; /* Di mobile biasanya lebih bagus tetap di tengah */
        padding-left: 0 !important;
    }
}
