/* =========================================================
   JOCSSES (jocss.com) - Custom stylesheet untuk OJS 3
   (Default Theme)
   Upload: Settings > Website > Appearance > Advanced >
           Journal style sheet
   Fail ini GANTI jocsses-font.css (font dah termasuk).
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&display=swap');

/* ---------- 1. FONT SELURUH LAMAN ---------- */
body,
.pkp_structure_page,
.pkp_structure_page h1,
.pkp_structure_page h2,
.pkp_structure_page h3,
.pkp_structure_page h4,
.pkp_structure_page h5,
.pkp_structure_page h6,
.pkp_structure_page p,
.pkp_structure_page li,
.pkp_structure_page a,
.pkp_structure_page button,
.pkp_structure_page input,
.pkp_structure_page select,
.pkp_structure_page textarea {
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
}

/* ---------- 2. MENU ATAS: HURUF BESAR + TEBAL ---------- */
.pkp_navigation_primary > li > a,
.pkp_navigation_user > li > a,
.pkp_navigation_search_wrapper a {
  text-transform: uppercase;
  font-weight: 700;
}

/* ---------- 3. TAJUK BAHAGIAN: HURUF BESAR + TEBAL ---------- */
.pkp_page_index .homepage_about h2,
.pkp_page_index .current_issue h2,
.pkp_block .title {
  text-transform: uppercase;
  font-weight: 700;
}

/* ---------- 4. TAJUK ARTIKEL & BUTANG PDF: TEBAL ---------- */
.obj_article_summary .title a {
  font-weight: 700;
}
.obj_galley_link {
  text-transform: uppercase;
  font-weight: 700;
}

/* ---------- 5. HOMEPAGE: COVER KIRI + MAKLUMAT JURNAL KANAN ---------- */
/* Naikkan Additional Content ke atas homepage */
.pkp_page_index .page_index_journal {
  display: flex;
  flex-direction: column;
}
.pkp_page_index .page_index_journal .homepage_image {
  order: -2;
}
.pkp_page_index .page_index_journal .additional_content {
  order: -1;
  border-top: 0;
  border-bottom: 1px solid #ddd;
}
.jocsses-home {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  margin-bottom: 24px;
}
/* Gambar cover dikecilkan (berkesan walaupun editor buang class) */
.pkp_page_index .additional_content img {
  max-width: 200px !important;
  height: auto !important;
}
.jocsses-home-cover {
  flex: 0 0 200px;
  max-width: 200px;
}
.jocsses-home-cover img {
  display: block;
  width: 100% !important;
  height: auto !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.jocsses-home-info {
  flex: 1 1 300px;
}
.jocsses-home-info h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0c0c6e;
}
.jocsses-home-info p {
  margin: 0 0 6px;
  line-height: 1.6;
}

/* ---------- 6. MENU SISI (Custom Block) - BIRU ---------- */
/* sorok tajuk asal block, guna tajuk dalam HTML sendiri */
.pkp_block:has(.jocsses-menu) > .title {
  display: none;
}
.jocsses-menu-title {
  background: #0c0c6e;          /* biru gelap, sama dengan header */
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  padding: 18px 18px;
  border-bottom: 5px solid #f0a500;   /* jalur emas di bawah tajuk */
}
.jocsses-menu ul {
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
}
/* Setiap butang satu petak berasingan, ada jarak di antaranya */
.jocsses-menu li {
  margin: 20px 0 0 !important;
  padding: 0 !important;
  border: 0;
}
.jocsses-menu li a {
  display: block;
  background: #e3e8ed;          /* kelabu pucat */
  color: #111;
  padding: 18px 18px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.jocsses-menu li a:hover,
.jocsses-menu li a:focus {
  background: #0c0c6e;
  color: #fff;
}
