/* =================================================================
   1. GLOBAL FONT OVERRIDE (WAJIB PALATINO LINOTYPE)
   ================================================================= */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
li,
button,
input,
textarea,
div,
.pkp_structure_head,
.pkp_navigation_primary,
.pkp_block .title,
.vertical-menu a,
.dropdown,
.pkp_head_wrapper .pkp_search .search_controls .search_prompt,
.pkp_page_index .current_issue h2 {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif !important;
}

/* Pengaman Global: Gambar Responsif */
img {
  max-width: 100%;
  height: auto;
}

/* =================================================================
   2. CSS USER (WARNA CREAM #FFF5E4 & FIX LOGO)
   ================================================================= */

/* Fix Link Deskripsi Jurnal */
.journals ul .body .description a {
  display: inline;
}

/* TOC Style */
.obj_issue_toc .articles > li {
  margin-bottom: 20px;
  border-bottom: solid darkseagreen;
  padding: 1rem;
}

/* Header Adjustments */
.pkp_site_name {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.pkp_site_name > a {
  padding-top: 0;
  padding-bottom: 0;
}
.pkp_site_name .is_img img {
  max-height: 200px !important;
}
.pkp_site_name_wrapper {
  padding-left: 0;
  padding-right: 0;
}
.pkp_structure_page {
  margin-top: 20px !important;
  margin-bottom: 20 !important;
  padding-bottom: 20 !important;
}

html,
body {
  background: transparent;
}
body {
  background: #eee;
  overflow-x: hidden;
}

/* Box Sizing Reset */
*,
*:before,
*:after {
  -webkit-border-sizing: border-box;
  -moz-border-sizing: border-box;
  border-sizing: border-box;
}

/* Dropdown Menu Styles */
.dropdown {
  position: relative;
}
.dropdown a {
  text-decoration: none;
}
.dropdown [data-toggle="dropdown"] {
  display: block;
  color: white;
  background: #4682b4;
  box-shadow: 0 1px 0 #1f3a93 inset, 0 -1px 0 #1f3a93 inset;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
  padding: 10px;
}
.dropdown [data-toggle="dropdown"]:hover {
  background: #cd3d2e;
}
.dropdown [data-toggle="dropdown"]:before {
  position: absolute;
  display: block;
  content: "\25BC";
  font-size: 0.7em;
  color: #fff;
  top: 13px;
  right: 10px;
  transition: transform 0.6s;
}
.dropdown > .dropdown-menu {
  max-height: 0;
  overflow: hidden;
  list-style: none;
  padding: 0;
  margin: 0;
  transform: scaleY(0);
  transform-origin: 50% 0%;
  transition: max-height 0.6s ease-out;
}
.dropdown > .dropdown-menu li {
  padding: 0;
}
.dropdown > input[type="checkbox"] {
  opacity: 0;
  display: block;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.dropdown > input[type="checkbox"]:checked ~ .dropdown-menu {
  max-height: 9999px;
  display: block;
  transform: scaleY(1);
  animation: showAnimation 0.5s ease-in-out;
  transition: max-height 2s ease-in-out;
}
.dropdown > input[type="checkbox"]:checked + a[data-toggle="dropdown"]:before {
  transform: rotate(-180deg);
}

@keyframes showAnimation {
  0% {
    transform: scaleY(0.1);
  }
  100% {
    transform: scaleY(1);
  }
}

/* Layout Columns Legacy */
.column2 {
  float: left;
  width: 33%;
  padding: 10px;
}
.row2:after {
  content: "";
  display: table;
  clear: both;
}
@media screen and (max-width: 600px) {
  .column2 {
    width: 100%;
  }
}

/* Footer Styles */
.pkp_footer_content {
  padding: 2.143rem;
  text-align: left;
}
.pkp_structure_footer_wrapper {
  border-bottom: none;
  background: transparent;
  border-top: 0px solid #ddd;
}
.pkp_structure_footer {
  background: #f2f2f2;
  border-top: 1px solid #ddd;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  border-bottom: 1.43rem solid #fff5e4; /* Warna Footer Cream */
}

/* Container Widths */
.container {
  position: relative;
  margin: 0px auto;
  padding: 50px 0;
  clear: both;
}
@media only screen and (min-width: 1200px) {
  .container {
    width: 1210px;
  }
}
@media only screen and (min-width: 960px) {
  .container {
    width: 1030px;
  }
}
@media only screen and (max-width: 959px) {
  .container {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Sidebar Menu (MCD) */
.mcd-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #fff;
  border-radius: 2px;
  width: 100%; /* Fix width fit sidebar */
}
.mcd-menu li {
  position: relative;
}
.mcd-menu li a {
  display: block;
  text-decoration: none;
  padding: 12px 20px;
  color: #777;
  text-align: left;
  height: auto;
  min-height: 36px;
  border-bottom: 1px solid #eee;
}
.mcd-menu li:hover > a {
  color: #e67e22;
}
.mcd-menu li a.active {
  color: #e67e22;
  border: 0;
  box-shadow: 0 0 5px #ddd;
  border-left: 4px solid #e67e22;
  border-right: 4px solid #e67e22;
  margin: 0 -4px;
}

/* Vertical Menu */
.vertical-menu {
  width: 100%;
}
.vertical-menu a {
  background-color: #bcb484;
  color: #2f0277;
  display: block;
  padding: 8px;
  border-bottom: 4px solid #ffffff;
  text-decoration: none;
  font-size: 16px;
}
.vertical-menu a:hover {
  background-color: #504a29;
  color: white;
}

/* BLOCK TITLE (WARNA CREAM + TEKS GELAP) */
.pkp_block .title {
  display: inline-block;
  color: #1f1b16; /* Teks Hitam/Gelap */
  background-color: #fff5e4; /* Background Cream */
  width: 100%;
  padding: 12px 8px;
  border-bottom: 1px solid #c4a484;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.05em;
}

/* Editorial Team List */
.editorial-list {
  position: relative;
}
.editorial-list li {
  margin-bottom: 1.125rem;
}
.editorial-list .img-profile {
  position: absolute;
  width: 95px;
  height: 105px;
  border: 1px solid #ddd;
  padding: 0.5rem;
}
.editorial-list .img-profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-content {
  margin-left: 100px;
  min-height: 105px;
}
.team-content .ico-label {
  width: 18px;
  height: 18px;
  margin-right: 0.5rem;
}

/* LOGO PKP FOOTER (DITAMPILKAN) */
.pkp_brand_footer {
  display: block !important;
  float: none;
  width: 100%;
  text-align: center;
  padding: 20px 0;
  opacity: 1;
}
.pkp_brand_footer img {
  height: auto;
  max-height: 40px;
}

/* General Layout Fixes */
.pkp_structure_content {
  padding-top: 30px;
  background: #fff;
}
.pkp_structure_head {
  background-color: transparent;
  border-bottom: 0px;
}

/* NAVBAR PRIMARY (WARNA CREAM) */
.pkp_navigation_primary_row {
  background: #fff5e4; /* Cream */
  padding-left: 1rem;
  padding-right: 1rem;
}
#navigationPrimary a {
  color: #1f1b16; /* Teks Gelap */
  font-weight: bold;
}

/* Buttons (Make Submission, Galley) */
.cmp_manuscript_button,
.block_make_submission a,
.obj_galley_link {
  background: #fff5e4;
  color: #1f1b16;
  border: 1px solid #c4a484;
}
.obj_galley_link {
  display: inline-block;
  padding: 0 1em;
  border-radius: 3px;
  font-size: 13px;
  line-height: 28px;
  text-decoration: none;
}
.obj_galley_link:hover {
  background: #1f1b16;
  color: #fff5e4;
}
.block_make_submission_link {
  display: block;
  text-align: center;
  padding: 10px;
  font-weight: bold;
  border-radius: 4px;
}

/* Mobile Toggle Menu */
.pkp_site_nav_toggle {
  position: absolute;
  top: 0;
  left: 0;
  width: 3rem;
  height: 3rem;
  border: 0;
  background: none;
  z-index: 999;
}
.pkp_site_nav_toggle > span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 19px;
  border-bottom: 3px solid #000; /* Garis Toggle Hitam */
}

/* Search Prompt */
.pkp_head_wrapper .pkp_search .search_controls .search_prompt {
  font-size: 13px;
  color: #1f1b16;
  font-weight: 700;
  text-transform: uppercase;
}
.pkp_head_wrapper .pkp_search .search_controls .search_prompt:before {
  color: #1f1b16;
}

/* Judul Current Issue */
.pkp_page_index .current_issue h2 {
  display: block;
  width: 100%;
  padding: 5px;
  font-weight: 700;
  color: #000;
}

a:hover {
  text-decoration: underline;
}
.pkp_navigation_primary li a {
  background-color: transparent;
}
.pkp_navigation_primary li a:hover {
  color: #c4a484;
}

/* REVISI JARAK PARAGRAF LEBIH RAPAT (PERBAIKAN UTAMA) */
.pkp_structure_main p {
  line-height: 1.5; /* Tinggi baris standar baca */
  margin: 0 0 10px 0; /* Jarak bawah saja 10px (sebelumnya 20px atas bawah) */
  text-align: justify;
}

/* Tambahan: Rapatkan juga jarak antar Heading */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}

/* =================================================================
   3. LAYOUT KHUSUS: ABOUT THE JOURNAL (GRID SYSTEM)
   Cover Kiri | Tabel Kanan | Teks Bawah
   ================================================================= */

/* A. Tampilan Mobile (Default) */
.jiedu-grid {
  display: block;
}
.jiedu-cover {
  margin-bottom: 15px;
  text-align: center;
}
.jiedu-cover img {
  max-width: 250px;
}
/* Jarak tabel di mobile */
.jiedu-grid .josten-table {
  margin-bottom: 15px;
}

/* B. Tampilan Desktop (Layar > 768px) */
@media (min-width: 768px) {
  /* Aktifkan Grid */
  .jiedu-grid {
    display: grid;
    grid-template-columns: 260px 1fr; /* Kolom 1 (260px), Kolom 2 (Sisa) */
    align-items: start;
  }

  /* TEKNIK 'DISPLAY: CONTENTS' */
  /* Ini membongkar div pembungkus kedua agar Tabel & Teks jadi anak langsung Grid */
  .jiedu-grid > div:nth-child(2) {
    display: contents;
  }

  /* Posisi Cover: Baris 1, Kolom 1 */
  .jiedu-cover {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }
  .jiedu-cover img {
    width: 100%;
    max-width: none;
  }

  /* Posisi Tabel: Baris 1, Kolom 2 */
  .jiedu-grid .josten-table {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    margin-top: 0;
  }

  /* Posisi Semua Teks Penjelasan: Baris Berikutnya, Kolom 1-2 (Full) */
  /* Menarget elemen p, ul, h3, h4 yang tadinya ada di div kedua */
  .jiedu-grid p,
  .jiedu-grid ul,
  .jiedu-grid h3,
  .jiedu-grid h4 {
    grid-column: 1 / 3; /* Span full width */
    margin-top: 10px; /* REVISI: Jarak antar paragraf grid lebih rapat (sebelumnya 1em) */
  }

  /* REVISI: Jarak setelah tabel ke paragraf pertama dipangkas */
  .josten-table + p {
    margin-top: 15px !important;
  } /* Sebelumnya 30px */
}

/* C. Styling Tabel Metadata */
.josten-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #c4a484;
  background: #fff;
}
.josten-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #c4a484;
  vertical-align: top;
  color: #1f1b16;
}
/* Kolom Label (Kiri) */
.josten-table td:first-child {
  font-weight: bold;
  width: 35%;
  background-color: #fff5e4; /* Cream */
  color: #1f1b16;
}

/* =================================================================
   SIDEBAR ELEGAN & PREMIUM (RIGHT SIDEBAR STYLE)
   ================================================================= */

/* 1. Container Sidebar */
.pkp_structure_sidebar {
  padding-left: 15px; /* Memberi jarak nafas dari konten utama */
}

/* 2. Desain Kartu (Block) */
.pkp_block {
  background: #ffffff;
  border: 1px solid rgba(196, 164, 132, 0.2); /* Garis tepi tipis warna Tan */
  border-radius: 8px; /* Sudut yang luwes (tidak lancip) */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04); /* Bayangan lembut melayang */
  margin-bottom: 30px; /* Jarak antar blok */
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efek Hover pada Kartu: Sedikit terangkat saat disentuh mouse */
.pkp_block:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* 3. Judul Blok (Title) yang Mewah */
.pkp_block .title {
  background: #fff; /* Background putih bersih */
  color: #1f1b16; /* Teks Hitam Kopi */
  font-family: "Palatino Linotype", serif !important;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px; /* Spasi antar huruf diperlebar (Ciri khas desain elegan) */
  padding: 25px 25px 10px 25px; /* Padding luas */
  border-bottom: none; /* Hapus garis border default */
  text-align: left; /* Rata kiri lebih elegan daripada tengah */
  position: relative;
  width: 100%;
}

/* Garis Aksen Emas di bawah Judul */
.pkp_block .title::after {
  content: "";
  display: block;
  width: 40px; /* Panjang garis aksen */
  height: 3px; /* Ketebalan garis */
  background: #c4a484; /* Warna Tan/Emas */
  margin-top: 12px;
  border-radius: 2px;
}

/* 4. Isi Konten Blok */
.pkp_block .content {
  padding: 15px 25px 25px 25px;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* 5. Tombol 'Make a Submission' (Tampilan Eksklusif) */
.block_make_submission_link {
  background: #1f1b16 !important; /* Warna Gelap Pekat */
  color: #fff5e4 !important; /* Teks Cream Emas */
  border: 1px solid #1f1b16;
  padding: 14px 20px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
  font-size: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Bayangan tombol */
  transition: all 0.3s ease;
  text-align: center;
  display: block;
}
.block_make_submission_link:hover {
  background: #fff5e4 !important; /* Berubah jadi Cream saat hover */
  color: #1f1b16 !important; /* Teks jadi gelap */
  border-color: #1f1b16;
  transform: translateY(-2px);
}

/* 6. Styling Menu List (Information/Menu) */
/* Reset style list bawaan */
.pkp_block .content ul,
.pkp_block .content li {
  list-style: none !important;
  padding: 0;
  margin: 0;
}
.pkp_block .content li {
  border-bottom: 1px dashed #eee; /* Garis putus-putus tipis antar menu */
  margin-bottom: 8px;
  padding-bottom: 8px;
}
.pkp_block .content li:last-child {
  border-bottom: none;
}

/* Link Menu dengan Efek Geser */
.pkp_block .content a {
  color: #1f1b16;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  display: block; /* Agar area klik luas */
}
.pkp_block .content a:hover {
  color: #c4a484; /* Berubah warna jadi Tan */
  padding-left: 8px; /* Efek geser ke kanan */
  text-decoration: none;
}

/* 7. Perapian Gambar di Sidebar (Template/Counter) */
.pkp_block .content img {
  margin: 0 auto;
  display: block;
  max-width: 100%;
  border-radius: 4px;
  transition: opacity 0.3s;
}
.pkp_block .content img:hover {
  opacity: 0.8;
}
