/* =========================================
   MASTER CSS - JURNAL DATU
   ========================================= */

/* 1. BODY & HEADER */

/* =========================================
   PERBAIKAN MENU NAVIGASI (BARIS BIRU)
   ========================================= */
.pkp_navigation_primary_row,
.pkp_navigation_primary_wrapper {
  background: linear-gradient(to right, #003366, #005b9f) !important;
  border-top: 1px solid #002244 !important;
}

.pkp_navigation_primary_row a,
#navigationPrimary a {
  color: #ffffff !important;
  font-weight: bold !important;
}

.pkp_navigation_primary_row a:hover,
#navigationPrimary a:hover {
  color: #ffd700 !important; /* Warna kuning saat di-hover */
}

/* Memperbaiki jarak logo dan menu agar tidak terlalu mepet */
.pkp_site_name_wrapper {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
body {
  background-color: #f8f9fa !important;
  font-family: "Open Sans", "Roboto", sans-serif !important;
}
.pkp_structure_page {
  background-color: #ffffff !important;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1) !important;
  margin-top: 20px;
  border-radius: 8px;
}
.pkp_structure_head {
  background: linear-gradient(to right, #003366, #005b9f) !important;
  border-bottom: 4px solid #4da6ff !important;
}
.pkp_navigation_primary > li > a,
.pkp_navigation_user > li > a {
  color: #ffffff !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  font-size: 14px;
}
.pkp_navigation_primary > li > a:hover,
.pkp_navigation_user > li > a:hover {
  color: #ffd700 !important;
  text-decoration: none;
}

/* 2. SIDEBAR (FLAT DESIGN) */
.hover {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
  margin-bottom: 20px;
}
.hover th {
  background-color: #005b9f !important;
  color: #ffffff !important;
  font-weight: 600;
  padding: 12px 15px;
  text-transform: uppercase;
  font-size: 14px;
}
.hover tr {
  background-color: #ffffff !important;
  transition: all 0.2s ease-in-out;
}
.hover td {
  padding: 10px 15px;
  border-bottom: 1px solid #f0f0f0 !important;
  text-align: left !important;
}
.hover td a {
  color: #333333 !important;
  text-decoration: none;
  display: block;
  font-weight: 500;
}
.hover tr:hover {
  background-color: #f4f8fc !important;
}
.hover tr:hover a {
  color: #005b9f !important;
}

/* 3. ARTICLE LIST CARDS */
/* =========================================
   9. DESAIN KARTU ARTIKEL (GAYA MODERN)
   Mengubah tampilan daftar artikel (Current Issue)
   ========================================= */

/* Wadah Utama Kartu */
.obj_article_summary {
    background-color: #f0f7fd !important; /* Latar biru sangat muda */
    border: 1px solid #a9ccec !important; /* Garis tepi biru lembut */
    border-radius: 12px 12px 25px 12px !important; /* Efek melengkung asimetris yang elegan */
    padding: 20px 25px !important;
    margin-bottom: 25px !important;
    box-shadow: 2px 5px 15px rgba(0, 91, 159, 0.08) !important;
    position: relative;
    transition: all 0.3s ease;
}

/* Efek saat mouse diarahkan ke kartu (Hover) */
.obj_article_summary:hover {
    transform: translateY(-3px);
    box-shadow: 2px 8px 20px rgba(0, 91, 159, 0.15) !important;
}

/* Judul Artikel */
.obj_article_summary > .title {
    margin-bottom: 15px !important;
}

.obj_article_summary > .title a {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #004d80 !important;
    text-transform: capitalize !important; /* Mengubah huruf besar semua menjadi normal */
    text-decoration: none !important;
    line-height: 1.4 !important;
}

.obj_article_summary > .title a:hover {
    text-decoration: underline !important;
}

/* Meta Data (Bungkus untuk Penulis & Halaman) */
.obj_article_summary .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px !important;
    padding-bottom: 15px !important;
    border-bottom: 1px dashed #cde4f7 !important; /* Garis pemisah putus-putus */
}

/* Nama Penulis */
.obj_article_summary .authors {
    font-size: 14px !important;
    color: #222 !important;
    font-weight: bold !important;
    display: inline-flex !important;
    align-items: center;
    margin-bottom: 0 !important;
}

/* Menambahkan Icon "Orang" di sebelah nama penulis */
.obj_article_summary .authors::before {
    content: "👥"; 
    margin-right: 8px;
    font-size: 16px;
}

/* Nomor Halaman */
.obj_article_summary .pages {
    font-size: 13px !important;
    color: #666 !important;
    font-weight: normal !important;
}

/* Tombol PDF (Gaya Glossy) */
.obj_article_summary .obj_galley_link {
    background: linear-gradient(to bottom, #ffffff 0%, #e6f2ff 100%) !important;
    border: 1px solid #8cbaff !important;
    color: #005b9f !important;
    font-weight: bold !important;
    padding: 6px 15px !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
    text-transform: uppercase !important;
    display: inline-flex !important;
    align-items: center;
    transition: all 0.2s ease;
}

.obj_article_summary .obj_galley_link:hover {
    background: linear-gradient(to bottom, #e6f2ff 0%, #ffffff 100%) !important;
    color: #003366 !important;
    border-color: #005b9f !important;
}
  color: #003366;
  text-decoration: underline;
}

/* 4. ABOUT THE JOURNAL (REVERSE CLOAKING / PEMBANGKIT KOTAK) */
.datu-hero-box {
  display: flex !important; /* Memaksa kotak muncul */
  flex-wrap: wrap;
  background-color: #e0f7fa;
  border: 1px solid #b2ebf2;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-bottom: 25px;
  font-family: "Open Sans", Arial, sans-serif;
}
.datu-hero-text {
  flex: 1 1 60%;
  padding: 20px 25px;
  box-sizing: border-box;
  min-width: 300px;
}
.datu-hero-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  color: #333;
}
.datu-hero-table td {
  padding: 6px 0;
  border: none !important;
}
.datu-label {
  width: 35%;
  color: #003366;
  font-weight: bold;
}
.datu-hero-image {
  flex: 1 1 35%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  padding: 15px;
  box-sizing: border-box;
  min-width: 250px;
}
.datu-hero-image img {
  max-width: 100%;
  height: auto;
  max-height: 280px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}

/* =========================================
   MASTER LAYOUT: ADDITIONAL CONTENT TO TOP
   ========================================= */

/* 1. Mengubah struktur halaman menjadi Flexbox */
.page_index_journal {
    display: flex !important;
    flex-direction: column !important;
}

/* 2. Sembunyikan blok About bawaan OJS (karena kita akan buat sendiri di bawah) */
.page_index_journal .homepage_about {
    display: none !important;
}

/* 3. TELEPORTASI: Paksa Additional Content naik ke urutan PERTAMA (Paling Atas) */
.page_index_journal .additional_content {
    order: 1 !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 40px 0 20px 0 !important; /* Jarak dari menu atas */
}

/* 4. Current Issue (Daftar Artikel) menjadi urutan KEDUA */
.page_index_journal .current_issue {
    order: 2 !important;
    width: 100% !important;
    margin-top: 20px !important;
}