/* =====================================================
   CSS HEADER OJS 3.5
   ADA PENGATUR TINGGI HEADER
   Cocok untuk PEMULA
   ===================================================== */

/* ===== HEADER UTAMA (BAGIAN BIRU SAJA) ===== */
.pkp_structure_head {
  background-image: url('https://cvauratun.com/wp-content/uploads/2026/01/jurnal-kusdsddsdsdsdsdsdsds-scaled.jpg'); /* gambar header */
  background-size: cover;       /* gambar penuh */
  background-position: center;  /* posisi tengah */
  background-repeat: no-repeat; /* tidak diulang */
  background-color: #1e5f8a;    /* warna cadangan */

  /* 🔧 PENGATUR TINGGI HEADER */
  padding-top: 15px;    /* PERBESAR = header makin tinggi */
  padding-bottom: 15px; /* PERKECIL = header makin tipis */
}

/* ===== AREA JUDUL & MENU (BIAR MENYATU) ===== */
.pkp_site_name_wrapper,
.pkp_navigation_primary_wrapper {
  background: transparent;
}

/* ===== TEKS JUDUL JURNAL ===== */
.pkp_site_name a {
  color: #ffffff !important;
  font-weight: bold;
}

/* ===== MENU NAVIGASI ===== */
.pkp_navigation_primary > li > a {
  color: #ffffff !important;
}

/* ===== MENU SAAT DISENTUH MOUSE ===== */
.pkp_navigation_primary > li > a:hover {
  color: #ffd700 !important;
}

/* ===== LOGIN & REGISTER ===== */
.pkp_navigation_user > li > a {
  color: #ffffff !important;
}

/* ===== SEARCH ICON ===== */
.pkp_search {
  color: #ffffff !important;
}

/* ===== ISI HALAMAN (HILANGKAN GAMBAR DARI BAWAH) ===== */
.pkp_structure_main {
  background: #f5f5f5 !important;
}

/* ===== HAPUS GARIS PUTIH PEMISAH ===== */
.pkp_structure_head::after {
  display: none;
}



/* =========================================
   MENU PINDAH KE BAWAH HEADER
   LOGO / JUDUL TETAP DI ATAS
   ========================================= */

/* HEADER UTAMA (GAMBAR + JUDUL) */
.pkp_structure_head {
  padding-bottom: 0; /* biar menu tidak ikut */
}

/* AREA JUDUL / LOGO */
.pkp_site_name_wrapper {
  padding-top: 20px;
  padding-bottom: 60px;
  text-align: left; /* ganti center jika mau */
}

/* ================================
   AREA MENU DI BAWAH HEADER
   ================================ */
.pkp_navigation_primary_wrapper {
  background-color: #af0510; /* warna menu */
  margin-top: 0;
}

/* MENU LIST */
.pkp_navigation_primary {
  justify-content: flex-start; /* kiri */
}

/* MENU LINK */
.pkp_navigation_primary > li > a {
  color: #ffffff !important;
  padding: 15px 20px;
}

/* HOVER MENU */
.pkp_navigation_primary > li > a:hover {
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
}

/* SEARCH TETAP DI KANAN */
.pkp_navigation_search_wrapper {
  margin-left: auto;
}

/* =====================================================
   CUSTOM HEADER OJS 3.5
   Tombol Login & Register + Box Judul Jurnal
   Dibuat untuk PEMULA (mudah diubah)
   ===================================================== */

/* ===============================
   JUDUL / NAMA JURNAL (DALAM KOTAK)
   + EFEK HOVER
   =============================== */
   .pkp_site_name a {
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.35); /* WARNA KOTAK NORMAL */
    color: #ffffff !important;            /* WARNA TEKS */
    padding: 12px 25px;                   /* UKURAN KOTAK */
    border-radius: 12px;                  /* SUDUT MEMBULAT */
    border: 2px solid #ffffff;            /* GARIS KOTAK */
    text-decoration: none;
  
    /* ANIMASI HALUS */
    transition: 
      background-color 0.3s ease,
      transform 0.3s ease,
      border-color 0.3s ease;
  }
  
  /* ===============================
     HOVER JUDUL (SAAT DISENTUH)
     =============================== */
  .pkp_site_name a:hover {
    background-color: rgba(255, 215, 0, 0.85); /* WARNA SAAT HOVER */
    color: #000000 !important;                /* WARNA TEKS SAAT HOVER */
    border-color: #ffd700;                    /* WARNA BORDER */
    transform: scale(1.08);                   /* MEMBESAR HALUS */
  }
  
  
  /* ===============================
     AREA LOGIN & REGISTER
     =============================== */
  .pkp_navigation_user {
    gap: 10px; /* jarak antar tombol */
  }
  
  /* TOMBOL LOGIN & REGISTER */
  .pkp_navigation_user > li > a {
    background-color: #f3f3f3;           /* WARNA TOMBOL */
    color: #000000 !important;            /* WARNA TEKS */
    padding: 8px 18px;                    /* UKURAN TOMBOL */
    border-radius: 10px;                  /* SUDUT TOMBOL */
    border: 2px solid #ffffff;             /* GARIS TOMBOL */
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);/* BAYANGAN TIPIS */
    transition: all 0.3s ease;            /* ANIMASI HALUS */
    font-weight: 600;
  }
  
  /* HOVER LOGIN & REGISTER */
  .pkp_navigation_user > li > a:hover {
    background-color: #a00000;            /* WARNA SAAT DISENTUH */
    color: #ffffff !important;
    box-shadow: 0 6px 12px rgba(0,0,0,0.25);
  }
  
  /* =====================================================
   CSS MENU OJS 3.5 – VERSI CANTIK & MUDAH DIATUR
   Semua bisa diubah: warna, jarak, radius, icon, hover
   ===================================================== */


/* ===============================
   1. BAR MENU (MERAH)
   =============================== */
.pkp_navigation_primary_wrapper {
  background-color: #b0000f; /* WARNA BAR MENU */
  padding: 10px 0;           /* TINGGI BAR MENU */
}


/* ===============================
   2. POSISI MENU AGAR TIDAK TERLALU KE PINGGIR
   =============================== */
.pkp_navigation_primary {
  padding-left: 50px;  /* TARIK MENU KE DALAM (KIRI) */
}


/* ===============================
   3. POSISI SEARCH AGAR TIDAK TERLALU KE KANAN
   =============================== */
.pkp_search {
  margin-right: 50px; /* TARIK SEARCH KE DALAM (KANAN) */
  margin-top: -3px;   /* NAIKKAN SEARCH SEDIKIT */
}


/* ===============================
   4. MENU JADI KOTAK + BORDER
   =============================== */
.pkp_navigation_primary > li > a {
  color: #ffffff !important;      /* WARNA TEKS */
  padding: 10px 18px;             /* UKURAN KOTAK MENU */
  margin-right: 10px;             /* JARAK ANTAR MENU */
  border: 1px solid #ffffff55;    /* BORDER MENU */
  border-radius: 10px;            /* LENGKUNG KOTAK */
  display: inline-flex;           /* AGAR ICON & TEKS RAPI */
  align-items: center;
  gap: 8px;                       /* JARAK ICON & TEKS */
  transition: all 0.3s ease;      /* ANIMASI HALUS */
}


/* ===============================
   5. HOVER MENU (WARNA & MEMBESAR)
   =============================== */
.pkp_navigation_primary > li > a:hover {
  background-color: #ffffff; /* WARNA SAAT DISENTUH */
  color: #b0000f !important; /* WARNA TEKS SAAT HOVER */
  transform: scale(1.08);    /* MEMBESAR SAAT HOVER */
}


/* ===============================
   6. ICON MENU (BISA DIGANTI)
   =============================== */

/* ICON CURRENT */
.pkp_navigation_primary li:nth-child(1) > a::before {
  content: "🏠";
}

/* ICON ARCHIVES */
.pkp_navigation_primary li:nth-child(2) > a::before {
  content: "📚";
}

/* ICON ABOUT */
.pkp_navigation_primary li:nth-child(3) > a::before {
  content: "ℹ️";
}


/* ===============================
   7. SEARCH ICON DIBUAT KOTAK JUGA
   =============================== */
.pkp_search a {
  border: 1px solid #ffffff55;
  padding: 8px 14px;
  border-radius: 10px;
  color: #ffffff !important;
  transition: all 0.3s ease;
}

.pkp_search a:hover {
  background-color: #ffffff;
  color: #b0000f !important;
  transform: scale(1.08);
}

/* ===============================
   8. AGAR TIDAK ADA GARIS ANEH
   =============================== */
.pkp_structure_head::after {
  display: none;
}


/* ===========================
   SIDEBAR JURNAL (FINAL RAPI)
=========================== */

.journal-sidebar {
  font-family: "Poppins", sans-serif;
  margin-bottom: 30px;
}

/* JUDUL SIDEBAR */
.sidebar-title {
  background: #b40000;
  color: #fff;
  text-align: center;
  padding: 12px;
  font-weight: 600;
  border-radius: 8px;
  margin-bottom: 14px;
}

/* LIST MENU */
.sidebar-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* JARAK ANTAR KOTAK (UBAH DI SINI) */
.sidebar-menu li {
  margin-bottom: 5px; /* <-- JARAK KOTAK */
}

/* KOTAK MENU */
.sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 5px;

  padding: 14px 18px;
  background: #ffffff;
  color: #b30000;

  border: 1px solid #b30000;   /* WARNA BORDER */
  border-radius: 10px;         /* BORDER RADIUS */

  text-decoration: none;
  font-weight: 500;

  transition: all 0.3s ease;
}

/* ICON */
.sidebar-menu .icon {
  font-size: 18px;
  min-width: 24px;
  text-align: center;
}

/* HOVER */
.sidebar-menu a:hover {
  background: #b30000;   /* MERAH */
  color: #ffffff;        /* TEKS PUTIH */
  transform: translateX(6px); /* geser halus */
}

/* ICON SAAT HOVER */
.sidebar-menu a:hover .icon {
  transform: scale(1.15);
}


/* ================= TOP WRAPPER ================= */
.journal-top-wrapper {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 18px;
}

/* ================= DESKRIPSI ================= */
.journal-desc {
  flex: 1;
}

.journal-desc p {
  text-align: justify;
  line-height: 1.65;
  font-size: 14px;
  margin-bottom: 10px;
}

/* ================= COVER ================= */
.journal-cover-side {
  width: 220px;
}

.journal-cover-side img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}

.journal-cover-side img:hover {
  transform: scale(1.15);
  box-shadow: 0 16px 36px rgba(0,0,0,0.4);
}

/* ================= INFO JURNAL ================= */
.journal-info-section {
  margin-top: 5px;
}

/* Header hijau tegas */
.info-header {
  background: #b30000;
  color: #fff;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 6px 6px 0 0;
}

/* Tabel */
.journal-info-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  font-size: 14px;
}

.journal-info-table td {
  padding: 5px 12px;
  border-bottom: 1px solid #b30000;
}

.journal-info-table td:first-child {
  width: 30%;
  font-weight: 600;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .journal-top-wrapper {
    flex-direction: column;
  }

  .journal-cover-side {
    width: 180px;
    margin: 0 auto;
  }
}




/* ===========================
   PERBAIKI JARAK NAVBAR KE KONTEN
=========================== */

/* Wrapper utama OJS */
.pkp_structure_content,
.pkp_structure_main {
  margin-top: 50 !important;
  padding-top: 50 !important;
}

/* Konten artikel */
.pkp_structure_main {
  padding-top: 20px; /* atur jarak halus */
}

/* Sidebar */
.journal-sidebar {
  margin-top: 50 !important;
}

/* Jika masih turun, paksa naik */
.pkp_structure_main::before {
  content: none !important;
}


/* ===========================
   EDITORIAL TEAM – SELARAS SIDEBAR
=========================== */

.editorial-preview {
  padding: 0;
}

/* ITEM EDITOR */
.editor-item {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 8px;

  background: #ffffff;
  border: 1px solid #b30000;
  border-radius: 10px;

  transition: all 0.3s ease;
}

/* HOVER SEIRAMA MENU */
.editor-item:hover {
  background: #b30000;
  transform: translateX(6px);
}

/* FOTO */
.editor-item img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #b30000;
  background: #fff;
}

/* INFO */
.editor-info strong {
  display: block;
  font-size: 14px;
  color: #b30000;
  transition: color 0.3s;
}

.editor-info span {
  font-size: 12px;
  font-weight: 500;
  color: #555;
  transition: color 0.3s;
}

.editor-info small {
  font-size: 11px;
  color: #777;
  transition: color 0.3s;
}

/* SAAT HOVER → PUTIH */
.editor-item:hover strong,
.editor-item:hover span,
.editor-item:hover small {
  color: #ffffff;
}

/* TOMBOL READ MORE */
.editor-more {
  display: block;
  margin-top: 10px;
  padding: 10px;
  text-align: center;

  background: #ffffff;
  color: #b30000;
  border: 1px solid #b30000;
  border-radius: 10px;

  font-weight: 500;
  text-decoration: none;

  transition: all 0.3s ease;
}

.editor-more:hover {
  background: #b30000;
  color: #ffffff;
  transform: translateX(6px);
}











/* ===========================
   INDEX / TOOLS GRID
=========================== */

.journal-index-wrapper {
  margin-top: 10px;
  padding: 14px;
  background: #ffffff;
  border-radius: 12px;
}

/* Judul */
.index-title {
  text-align: center;
  font-weight: 600;
  margin-bottom: 10px;
  color: #b30000;
}

/* GRID OTOMATIS */
.index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

/* KOTAK LOGO */
.index-item {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 14px;
  background: #ffffff;

  border: 1px solid #d0d0ff;
  border-radius: 12px;

  transition: all 0.3s ease;
}

/* GAMBAR */
.index-item img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;

  transition: all 0.3s ease;
}

/* HOVER */
.index-item:hover {
  transform: scale(1.06);
  background: #f4f4f4;
}

/* GAMBAR JADI ABU + HALUS */
.index-item:hover img {
  filter: grayscale(100%);
  opacity: 0.85;
}

/* ===========================
   PERBAIKAN JARAK INDEX
=========================== */

.journal-info-section {
  margin-bottom: 10px !important;
}

.journal-index-wrapper {
  margin-top: 0 !important;
  padding-top: 3 !important;
}

.index-title {
  margin-top: 0 !important;
  margin-bottom: 18px;
}


/* ==========================================================
   BACKGROUND AREA ABU-ABU (DI LUAR KOTAK KONTEN)
   Dengan fitur:
   1. Bisa ganti warna background jika tidak pakai gambar
   2. Bisa atur ukuran background image
   ========================================================== */

/* ====== PENGATURAN BACKGROUND UTAMA ====== */
body {
  /* --- Ganti warna jika tidak pakai gambar --- */
  background-color: #000000;  /* Ganti warna di sini */

  /* --- Gambar background (opsional) --- */
  background-image: url('https://cvauratun.com/wp-content/uploads/2026/01/jurnal-kussssssss-scaled.png');

  background-repeat: no-repeat;
  background-position: center top;

  /* --- KONTROL UKURAN GAMBAR --- */
  background-size: cover; 
  /* 
     Opsi lain:
     background-size: contain;   (gambar penuh tapi tidak terpotong)
     background-size: 100% auto; (lebar penuh)
     background-size: auto 100%; (tinggi penuh)
  */

  background-attachment: fixed;
}

