/* ============================================================
   File: /public/site/custom.css
   Custom CSS untuk tema JBUSI (Header, Sidebar, Search Bar)
   Warna utama: Royal Blue #0055AA
   Font: Roboto (Google Fonts)
   ============================================================ */

/* Load Roboto */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

:root {
  --jbusi-royal: #0055AA;
  --jbusi-royal-dark: #004B70;
  --jbusi-accent: #007BBA;
  --jbusi-bg: #f5f9ff;
  --jbusi-card: #ffffff;
  --jbusi-text: #333333;
}
/* ===== HEADER STYLE - JBUSI ===== */
/* Singkatan besar JBUSI dengan serif */
.header-abbr {
  font-size: 2.5em;
  font-family: "Georgia", "Times New Roman", serif;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
  margin: 0;
}

/* Nama lengkap jurnal */
.header-full-title {
  font-size: 1.5em;
  font-family: "Georgia", "Times New Roman", serif;
  font-weight: 600;
  color: #F5F5F5;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
  margin: 0;
}


/* Sidebar base */
.jbusi-sidebar {
  font-family: "Roboto", Arial, sans-serif;
  color: var(--jbusi-text);
}

/* Sidebar block */
.jbusi-sidebar-block {
  background: var(--jbusi-card);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 14px;
  margin-bottom: 18px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

/* Sidebar block title */
.jbusi-block-title {
  margin: 0 0 10px 0;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  padding: 8px 12px;
  background: linear-gradient(90deg, var(--jbusi-accent), var(--jbusi-royal));
  border-radius: 4px;
  display: inline-block;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

/* SEARCH (Sidebar) */
.jbusi-search-form .input-group {
  display: flex;
  gap: 6px;
}

.jbusi-search-form .form-control {
  border-radius: 4px;
  border: 1px solid #d9e9f6;
  padding: 8px 10px;
  flex: 1 1 auto;
}

.jbusi-search-btn {
  background: var(--jbusi-royal);
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

.jbusi-search-btn:hover {
  background: var(--jbusi-royal-dark);
}

/* LATEST ARTICLES */
.jbusi-articles-list {
  list-style: none;
  padding: 6px 0 0 0;
  margin: 0;
}

.jbusi-article-item {
  padding: 8px 0;
  border-bottom: 1px dashed #eef6fb;
}

.jbusi-article-item:last-child {
  border-bottom: none;
}

.jbusi-article-link {
  text-decoration: none;
  color: var(--jbusi-text);
}

.jbusi-article-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0b3350;
}

.jbusi-article-meta {
  font-size: 12px;
  color: #4d6d86;
  margin-top: 4px;
}

/* LATEST ISSUES */
.jbusi-issues-list {
  list-style: none;
  padding: 6px 0 0 0;
  margin: 0;
}

.jbusi-issue-item {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed #eef6fb;
  align-items: center;
}

.jbusi-issue-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.jbusi-issue-link {
  display: flex;
  gap: 12px;
  text-decoration: none;
  color: var(--jbusi-text);
  align-items: center;
  width: 100%;
}

.jbusi-issue-thumb img {
  width: 56px;
  height: 72px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #e6eef6;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

.jbusi-issue-no-thumb {
  width: 56px;
  height: 72px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f1f6fb;
  color:#7a98b0;
  border-radius:4px;
  font-size:11px;
  text-align:center;
  border:1px solid #e6eef6;
}

.jbusi-issue-meta {
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.jbusi-issue-title {
  font-size: 13px;
  font-weight: 700;
  color: #0b3350;
}

.jbusi-issue-vol {
  font-size: 12px;
  color: #4d6d86;
  margin-top:3px;
}

.jbusi-issue-date {
  font-size: 11px;
  color: #7b97ad;
}

/* SUBMIT BUTTON */
.jbusi-submit-block { text-align: center; }

.jbusi-submit-btn {
  display: inline-block;
  background: var(--jbusi-royal);
  color: #fff;
  padding: 10px 18px;
  border-radius: 26px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid rgba(0,0,0,0.03);
  transition: transform .08s ease, box-shadow .12s ease;
}

.jbusi-submit-btn:hover {
  background: var(--jbusi-royal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* small empty state */
.jbusi-empty p { margin: 0; color: #4d6d86; font-size: 13px; }

/* Responsive adjustments */
@media (max-width: 992px) {
  .jbusi-issue-thumb img, .jbusi-issue-no-thumb { width: 48px; height: 62px; }
  .jbusi-block-title { font-size: 14px; }
  .jbusi-submit-btn { padding: 9px 16px; }
}

/* ============================================================
   HEADER NAVIGATION + SEARCH BAR
   ============================================================ */
.nav-center-wrapper {
  background-color: #4a9fe2;
  padding: 0;
}

.nav-center-wrapper .nav-flex {
  display: flex;
  align-items: center;      /* sejajar vertikal */
  justify-content: space-between;
  height: 50px;             /* tinggi seragam */
  padding: 0 10px;
}

/* ====== MENU (KIRI) ====== */
.nav-center-wrapper .nav-left ul.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
}

.nav-center-wrapper .nav-left ul.nav > li > a {
  color: #fff;
  font-weight: 600;
  text-transform: none;
  font-family: "Roboto", sans-serif;
  padding: 10px 15px;
  line-height: 30px;
}

.nav-center-wrapper .nav-left ul.nav > li > a:hover {
  color: #ffdd88;
}

/* ====== SEARCH BAR (KANAN, SEJAJAR MENU) ====== */
.jbusi-nav-search {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;          /* fine-tune posisi vertikal agar pas */
}

.jbusi-nav-search input[type="text"] {
  height: 32px;
  padding: 5px 36px 5px 12px;
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 50px;
  background-color: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 13px;
  font-family: "Roboto", sans-serif;
  transition: all 0.3s ease;
}

.jbusi-nav-search input[type="text"]::placeholder {
  color: rgba(255,255,255,0.8);
}

.jbusi-nav-search input[type="text"]:focus {
  background-color: rgba(255,255,255,0.25);
  outline: none;
}

/* tombol kaca pembesar sejajar di tengah */
.jbusi-nav-search .btn-search {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.3s ease;
}

.jbusi-nav-search .btn-search:hover {
  color: #ffdd88;
}

.home-latest-section {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.latest-block {
  flex: 1 1 45%;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.section-title {
  font-weight: 700;
  color: #1e5fa4;
  margin-bottom: 15px;
  border-bottom: 2px solid #1e5fa4;
  padding-bottom: 5px;
}

.latest-list li {
  margin-bottom: 8px;
}

.latest-list li a {
  color: #333;
  text-decoration: none;
}

.latest-list li a:hover {
  color: #1e5fa4;
}

/* ===== Journal Information Box ===== */
.journal-info-box {
  background-color: #f9fbff;
  border: 1px solid #d9e6f5;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Flex container untuk isi jurnal + cover */
.journal-info-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

/* Tabel informasi */
.journal-info-table {
  flex: 1 1 60%;
  min-width: 300px;
  border-collapse: collapse;
}

.journal-info-table th {
  width: 180px;
  color: #1e4e8c;
  font-weight: 700;
  padding-right: 12px;
  padding-top: 6px;
  padding-bottom: 6px;
  vertical-align: top;
  text-align: left;
  white-space: nowrap;
}

.journal-info-table td {
  color: #333;
  padding-bottom: 6px;
  font-size: 15px;
  line-height: 1.5;
}

.journal-info-table tr {
  border-bottom: 1px solid #eef2f9;
}

.journal-info-table tr:last-child {
  border-bottom: none;
}

/* Gambar cover */
.journal-cover {
  flex: 1 1 35%;
  text-align: center;
}

.journal-cover img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid #d0d8e6;
  box-shadow: 0 3px 6px rgba(0,0,0,0.08);
}

/* ===== Responsiveness ===== */

/* Tablet landscape dan ke bawah */
@media (max-width: 992px) {
  .journal-info-content {
    flex-direction: column;
    align-items: center;
  }
  .journal-info-table {
    width: 100%;
  }
  .journal-info-table th {
    width: 150px;
  }
  .journal-cover {
    margin-top: 20px;
  }
}

/* Mobile kecil */
@media (max-width: 576px) {
  .journal-info-box {
    padding: 15px;
  }
  .journal-info-table th {
    display: block;
    width: 100%;
    color: #1e4e8c;
    margin-bottom: 3px;
  }
  .journal-info-table td {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }
  .journal-info-table tr {
    display: block;
    margin-bottom: 10px;
    border-bottom: 1px dashed #e2e6ef;
  }
  .journal-cover img {
    max-width: 200px;
  }
}

/* ===== Journal Information Box ===== tampilan bagus
.journal-info-box {
  background-color: #f9fbff;
  border: 1px solid #d9e6f5;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.journal-info-content {
  display: flex;
  flex-wrap: wrap;
}

.journal-info-table th {
  width: 180px;
  color: #1e4e8c;
  font-weight: 700;
  padding-right: 12px;
  vertical-align: top;
  text-align: left;
}

.journal-info-table td {
  color: #333;
  padding-bottom: 6px;
  font-size: 15px;
}

.journal-info-table tr {
  border-bottom: 1px solid #eef2f9;
}

.journal-info-table tr:last-child {
  border-bottom: none;
}


.journal-cover {
  text-align: center;
  vertical-align: top;
}

.journal-cover img {
  max-width: 180px;
  border-radius: 6px;
  border: 1px solid #d0d8e6;
  box-shadow: 0 3px 6px rgba(0,0,0,0.08);
}


@media (max-width: 768px) {
  .journal-info-table th {
    width: 120px;
  }
  .journal-cover {
    display: block;
    margin-top: 20px;
  }
}
*/


/* --- Journal Info Layout ---  tampilan responsive tapi kurang bagus
.journal-info-box {
  margin-top: 20px;
  margin-bottom: 25px;
}

 --- Tampilan tabel informasi jurnal --- 
.journal-info-table th {
  width: 180px;
  background-color: #f8f9fa;
  font-weight: 600;
  vertical-align: top;
  color: #333;
}

.journal-info-table td {
  color: #444;
}

.journal-cover-img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  margin-top: 10px;
}

 --- Responsive (mobile) --- 
@media (max-width: 767px) {
  .journal-cover {
    margin-top: 20px;
  }
  .journal-info-table th {
    width: 40%;
  }
}
*/

/* ========== JBUSI SIDEBAR STYLE ========== */
.jbusi-sidebar {
  background: #fff;
  padding: 0;
  border-radius: 6px;
  font-family: "Segoe UI", Roboto, sans-serif;
}

/* 🔍 SEARCH BOX */
.jbusi-search-block {
  margin-bottom: 20px;
}

.jbusi-search-form .input-group {
  display: flex;
}

.jbusi-search-form .form-control {
  border-radius: 6px 0 0 6px;
  border: 1px solid #ccd8f0;
  box-shadow: none;
}

.jbusi-search-btn {
  background: #1e4e8c;
  color: #fff;
  border-radius: 0 6px 6px 0;
  border: 1px solid #1e4e8c;
  transition: all 0.3s ease;
}

.jbusi-search-btn:hover {
  background: #2a6ed9;
  border-color: #2a6ed9;
}

/* 📘 MAIN MENU BOX */
.sidebar-menu-box {
  background-color: #ffffff;
  border: 1px solid #d8e4f3;
  border-radius: 6px;
  margin-bottom: 25px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
}

.sidebar-title {
  background: linear-gradient(90deg, #1e4e8c, #2a6ed9);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 12px;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.5px;
}

.sidebar-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-menu-list li {
  border-bottom: 1px solid #eef2f8;
}

.sidebar-menu-list li:last-child {
  border-bottom: none;
}

.sidebar-menu-list a {
  display: block;
  padding: 12px 10px;
  background-color: #f4f8ff;
  color: #1e4e8c;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.sidebar-menu-list a:hover {
  background-color: #1e4e8c;
  color: #ffffff;
  text-decoration: none;
  padding-left: 16px;
}

/* 📤 SUBMISSION BUTTON */
.jbusi-submit-btn {
  display: inline-block;
  background: #2a6ed9;
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
  padding: 10px 18px;
  text-decoration: none;
  transition: background 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.jbusi-submit-btn:hover {
  background: #1e4e8c;
  color: #fff;
}

/* 📱 RESPONSIVE */
@media (max-width: 768px) {
  .sidebar-menu-box {
    margin-top: 20px;
  }
  .sidebar-menu-list a {
    font-size: 14px;
    padding: 10px;
  }
  .jbusi-submit-btn {
    font-size: 14px;
    padding: 8px 12px;
  }
}

/* === MENAMPILKAN MENU NAVIGASI UTAMA DENGAN JELAS === */
.pkp_site_nav .navbar-nav > li > a {
  color: #ffffff !important;        /* Teks putih terang */
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3); /* Tambah kontras */
}

/* Warna saat hover */
.pkp_site_nav .navbar-nav > li > a:hover {
  color: #FFD700 !important;        /* Warna emas saat hover */
  text-decoration: none;
}

.editorial-section ul {
  list-style: none; /* hilangkan bullet */
  padding-left: 0;
  margin: 0;
}

.editorial-section li {
  margin-bottom: 12px; /* jarak antar baris */
  line-height: 1.6;
  padding-left: 10px;
  border-left: 3px solid #e0e6f1;
}

.editorial-section a {
  color: #0073e6;
  text-decoration: none;
  font-weight: 500;
}

.editorial-section a:hover {
  text-decoration: underline;
}

.editorial-section h3 {
  font-weight: 600;
  color: #0056b3;
  margin-top: 30px;
  margin-bottom: 15px;
}

#sidebar {
  position: sticky;
  top: 100px;
}
