/* =========================================================
   PRIEM – Tema lengkap (OJS 3.3.0.7, tema Default)
   Palet: oranye, merah, maroon
   Pasang di: Settings > Website > Appearance > Advanced
              > Journal style sheet  (ganti isi lama)
   Warna cukup diubah di blok :root di bawah.
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&family=Source+Serif+4:wght@500;600;700&display=swap");

:root {
  --c-maroon:   #5a0f26;   /* gelap: judul, footer */
  --c-red:      #c8102e;   /* utama: link, tombol */
  --c-red-dk:   #9e0c24;
  --c-orange:   #e8832a;   /* aksen: garis, hover */
  --c-orange-dk:#c96c18;
  --c-blush:    #fbf0ec;   /* latar lembut */
  --c-line:     #ead9d3;
  --c-text:     #2b2326;
  --c-muted:    #6d5f63;
}

/* ---------- Dasar ---------- */
body, .pkp_structure_page {
  font-family: "Barlow", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-text);
  background: #fff;
}
h1, h2, h3, h4, h5,
.page_title,
.obj_article_summary .title,
.obj_issue_summary .title {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  color: var(--c-maroon);
}
a { color: var(--c-red); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover, a:focus { color: var(--c-orange-dk); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--c-orange);
  outline-offset: 2px;
}
::selection { background: var(--c-orange); color: #fff; }

/* ---------- Area konten ---------- */
.pkp_structure_content { padding-top: 32px; }
.pkp_structure_main { padding-bottom: 32px; }
.pkp_structure_main::before,
.pkp_structure_main::after { border-color: var(--c-line); }

.page_title,
h1.page_title {
  font-size: 1.9rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--c-orange);
}

/* ---------- Beranda: About ---------- */
.page_index_journal .homepage_about {
  background: #fff;
  border: 1px solid var(--c-line);
  border-top: 5px solid var(--c-red);
  border-radius: 6px;
  padding: 28px 32px;
  margin-bottom: 32px;
  box-shadow: 0 6px 18px rgba(90, 15, 38, .07);
}
.page_index_journal .homepage_about > h2 {
  margin-top: 0;
  font-size: 1.6rem;
  text-align: center;
}

/* Blok info (priem-about.html) */
.priem-info {
  display: grid;
  grid-template-columns: 170px 1fr;
  margin: 12px 0 24px;
  border-top: 1px solid var(--c-line);
}
.priem-info dt, .priem-info dd {
  margin: 0;
  padding: 9px 12px;
  border-bottom: 1px solid var(--c-line);
}
.priem-info dt { font-weight: 600; color: var(--c-maroon); background: var(--c-blush); }

.priem-scope { list-style: none; margin: 8px 0 24px; padding: 0; }
.priem-scope li {
  position: relative;
  padding: 6px 0 6px 26px;
  border-bottom: 1px dashed var(--c-line);
}
.priem-scope li::before {
  content: "✓";
  position: absolute; left: 4px;
  color: var(--c-orange-dk); font-weight: 700;
}
.priem-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 24px; padding: 0; list-style: none; }
.priem-badges li {
  padding: 4px 14px;
  background: var(--c-blush);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  font-size: .92rem;
  color: var(--c-maroon);
}
.priem-policy {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 8px 0 24px;
}
.priem-policy > div {
  padding: 14px 16px;
  background: var(--c-blush);
  border-left: 4px solid var(--c-orange);
}
.priem-policy h4 { margin: 0 0 6px; font-size: 1.05rem; }
.priem-policy p { margin: 0; font-size: .95rem; }
.priem-contact { font-size: .95rem; }

/* tabel bawaan di Journal Summary */
.homepage_about table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; }
.homepage_about table td { padding: 8px 10px; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.homepage_about table td:first-child { width: 28%; font-weight: 600; color: var(--c-maroon); }

/* ---------- THUMBNAIL / COVER ---------- */
/* Gambar thumbnail jurnal di beranda */
.homepage_image img,
.page_index_journal .homepage_image img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 28px;
  border: 6px solid #fff;
  border-bottom: 8px solid var(--c-orange);
  border-radius: 6px;
  box-shadow: 0 10px 26px rgba(90, 15, 38, .25);
}

/* Cover edisi (current issue, archive, daftar isi) */
.obj_issue_summary .cover,
.obj_issue_toc .cover,
.current_issue .cover {
  display: block;
}
.obj_issue_summary .cover img,
.obj_issue_toc .cover img,
.current_issue .cover img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 5px solid #fff;
  border-bottom: 8px solid var(--c-orange);
  border-radius: 6px;
  box-shadow: 0 10px 26px rgba(90, 15, 38, .25);
  transition: transform .2s, box-shadow .2s;
}
.obj_issue_summary .cover:hover img,
.obj_issue_summary .cover:focus img {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(90, 15, 38, .32);
}

/* Cover artikel di daftar artikel */
.obj_article_summary .cover img,
.obj_article_details .cover_image img {
  max-width: 100%;
  height: auto;
  border: 3px solid #fff;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(90, 15, 38, .22);
}

/* Gambar di sidebar */
.pkp_structure_sidebar .pkp_block img,
.pkp_block.block_custom img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 8px;
}

/* ---------- Current issue ---------- */
.current_issue > h2 {
  font-size: 1.5rem;
  margin: 0 0 16px;
  padding-left: 12px;
  border-left: 6px solid var(--c-orange);
}
.current_issue .current_issue_title {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.15rem;
  color: var(--c-red);
}
.current_issue .obj_issue_summary { margin-bottom: 20px; }
.current_issue .published { color: var(--c-muted); font-size: .92rem; }

@media (min-width: 768px) {
  .current_issue .obj_issue_summary {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    align-items: start;
  }
  .current_issue .obj_issue_summary .cover,
  .current_issue .obj_issue_summary > a.cover { grid-column: 1; }
  .current_issue .obj_issue_summary > :not(.cover) { grid-column: 2; }
}

/* ---------- Daftar artikel ---------- */
.obj_issue_toc .section > h2,
.current_issue .section > h2 {
  font-size: 1.2rem;
  margin: 24px 0 14px;
  padding: 8px 14px;
  color: #fff;
  background: linear-gradient(90deg, var(--c-red), var(--c-maroon));
  border-radius: 4px;
}
.obj_article_summary {
  padding: 16px 0;
  border-bottom: 1px solid var(--c-line);
}
.obj_article_summary:last-child { border-bottom: 0; }
.obj_article_summary .title { font-size: 1.12rem; line-height: 1.35; margin: 0 0 6px; }
.obj_article_summary .title a { color: var(--c-maroon); text-decoration: none; }
.obj_article_summary .title a:hover,
.obj_article_summary .title a:focus { color: var(--c-red); text-decoration: underline; }
.obj_article_summary .authors { color: var(--c-muted); font-size: .94rem; }
.obj_article_summary .pages { color: var(--c-muted); font-size: .92rem; }

/* Tombol PDF & galley */
a.obj_galley_link,
.obj_galley_link {
  display: inline-block;
  padding: 5px 16px;
  background: var(--c-red);
  border: 1px solid var(--c-red);
  border-radius: 4px;
  color: #fff;
  font-size: .86rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s;
}
a.obj_galley_link:hover,
a.obj_galley_link:focus {
  background: var(--c-orange);
  border-color: var(--c-orange);
  color: #fff;
}

/* ---------- Halaman artikel ---------- */
.obj_article_details .page_title { font-size: 1.7rem; }
.obj_article_details .main_entry .item { margin-bottom: 22px; }
.obj_article_details .item > .label,
.obj_article_details .item h2.label,
.obj_article_details .item h3.label {
  font-family: "Source Serif 4", Georgia, serif;
  color: var(--c-maroon);
  font-size: 1.1rem;
  border-bottom: 2px solid var(--c-orange);
  padding-bottom: 4px;
}
.obj_article_details .entry_details .item {
  border: 1px solid var(--c-line);
  border-radius: 4px;
  padding: 12px 14px;
  margin-bottom: 14px;
  background: #fff;
}
.obj_article_details .entry_details .label { color: var(--c-maroon); }
.obj_article_details .authors li .name { color: var(--c-maroon); font-weight: 600; }

/* ---------- Archive ---------- */
.page_issue_archive .issues_archive { list-style: none; padding: 0; }
.page_issue_archive .issues_archive > li {
  padding: 18px 0;
  border-bottom: 1px solid var(--c-line);
}
.obj_issue_summary .title { font-size: 1.15rem; margin: 0 0 6px; }
.obj_issue_summary .title a { text-decoration: none; }
.obj_issue_summary .description { color: var(--c-muted); }

/* ---------- Tombol & form ---------- */
.cmp_button, .cmp_button_wire, .pkp_button,
button.submit, input[type="submit"], .read_more, .block_make_submission a {
  border-radius: 4px;
  font-family: "Barlow", Arial, sans-serif;
  font-weight: 600;
}
.cmp_button, .pkp_button, button.submit, input[type="submit"],
.block_make_submission a {
  background: var(--c-red);
  border-color: var(--c-red);
  color: #fff;
}
.cmp_button:hover, .pkp_button:hover, button.submit:hover,
input[type="submit"]:hover, .block_make_submission a:hover {
  background: var(--c-orange);
  border-color: var(--c-orange);
  color: #fff;
}
.cmp_button_wire, .read_more {
  background: transparent;
  color: var(--c-red);
  border: 1px solid var(--c-red);
}
.cmp_button_wire:hover, .read_more:hover { background: var(--c-red); color: #fff; }

input[type="text"], input[type="email"], input[type="password"],
input[type="search"], textarea, select {
  border: 1px solid #cdb9b3;
  border-radius: 4px;
}
input:focus, textarea:focus, select:focus { border-color: var(--c-orange); }

/* ---------- Breadcrumb & paginasi ---------- */
.cmp_breadcrumbs { color: var(--c-muted); }
.cmp_breadcrumbs a { color: var(--c-red); }
.cmp_pagination a { color: var(--c-red); }

/* ---------- Sidebar ---------- */
.pkp_structure_sidebar .pkp_block {
  margin-bottom: 24px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--c-line);
}
.pkp_structure_sidebar .pkp_block .title {
  display: block;
  margin: 0 0 12px;
  padding: 9px 14px;
  background: linear-gradient(90deg, var(--c-red), var(--c-maroon));
  border-left: 5px solid var(--c-orange);
  border-radius: 0 4px 4px 0;
  color: #fff;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
}
.pkp_structure_sidebar .pkp_block ul li a { padding: 5px 4px; }

/* ---------- Footer ---------- */
.pkp_structure_footer_wrapper {
  margin-top: 24px;
  background: var(--c-maroon);
  border-top: 6px solid var(--c-orange);
  color: #f6e7e2;
}
.pkp_footer_content { color: #f6e7e2; padding-top: 28px; padding-bottom: 28px; }
.pkp_footer_content a { color: #ffd2a8; }
.pkp_footer_content a:hover { color: #fff; }
.pkp_footer_content h2, .pkp_footer_content h3, .pkp_footer_content h4 { color: #fff; }

/* ---------- Responsif ---------- */
@media (max-width: 767px) {
  .page_index_journal .homepage_about { padding: 20px 16px; }
  .priem-info { grid-template-columns: 1fr; }
  .priem-info dt { border-bottom: 0; padding-bottom: 2px; }
  .page_title, h1.page_title { font-size: 1.5rem; }
  .current_issue .obj_issue_summary .cover img { max-width: 220px; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* =========================================================
   PRIEM – Header banner ala Spektrum Cendekia
   OJS 3.3.0.7, tema Default. TEMPEL DI BAGIAN PALING BAWAH
   Journal style sheet (setelah CSS sebelumnya), atau pakai
   file gabungan priem-journal-style-header.css.

   Ubah teks/warna di bagian "PENGATURAN" di bawah ini.
   ========================================================= */

/* ---------- PENGATURAN ---------- */
:root {
  --hd-maroon-1: #d0112b;   /* kiri banner */
  --hd-maroon-2: #7a0f28;   /* kanan banner */
  --hd-orange:   #e58a35;   /* garis diagonal & tombol */
  --hd-red-text: #9e0c24;   /* teks ISSN & penerbit */
  --hd-nav-bg:   #e6e6e6;
  --hd-nav-line: #c4c4c4;
  --hd-height:   270px;
}

/* ---------- Kerangka header ---------- */
.pkp_structure_head {
  background: #fff;
  border-bottom: 0;
}
.pkp_head_wrapper {
  position: relative;
  width: 100%;
  max-width: none;
  padding: 0;
}

/* ---------- Banner ---------- */
.pkp_site_name_wrapper {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  min-height: var(--hd-height);
  margin: 0;
  padding: 0 5%;
  overflow: hidden;
  background:
    linear-gradient(60deg,
      var(--hd-maroon-1) 0%,
      var(--hd-maroon-2) 53%,
      var(--hd-orange) 53%,
      var(--hd-orange) 56%,
      transparent 56%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cpath d='M10 10h52v52H22V28h28v22H34' fill='none' stroke='%23f1e4da' stroke-width='6'/%3E%3C/svg%3E"),
    #fff;
}

.pkp_site_name {
  display: flex;
  align-items: center;
  min-height: var(--hd-height);
  padding: 0;
  margin: 0;
}

/* Sembunyikan gambar logo lama, ganti dengan teks judul */
.pkp_site_name > a,
.pkp_site_name .is_img,
.pkp_site_name .is_text {
  display: block;
  max-width: 52%;
  padding: 0;
  text-decoration: none;
  font-size: 0;            /* sembunyikan teks bawaan jika memakai judul teks */
  line-height: 1;
}
.pkp_site_name .is_img img { display: none; }

/* Judul besar (singkatan) */
.pkp_site_name > a::before {
  content: "PRIEM";                       /* <-- ganti judul singkat */
  display: block;
  font-family: "Barlow", "Segoe UI", Arial, sans-serif;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.1;
  color: #fff;
}
/* Subjudul */
.pkp_site_name > a::after {
  content: "Journal of Policy Review and Innovation in Educational Management";  /* <-- ganti subjudul */
  display: block;
  margin-top: 8px;
  font-family: "Barlow", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1rem, 2vw, 1.7rem);
  font-weight: 400;
  line-height: 1.25;
  color: #fff;
}

/* Badge indeksasi (kanan atas) */
.pkp_site_name_wrapper::before {
  content: "";
  position: absolute;
  top: 24px;
  right: 24%;
  width: 380px;
  height: 46px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='380' height='46'%3E%3Cg fill='%23fff' stroke='%23d8d8d8'%3E%3Crect x='1' y='1' width='118' height='38' rx='19'/%3E%3Crect x='131' y='1' width='108' height='38' rx='19'/%3E%3Crect x='251' y='1' width='126' height='38' rx='19'/%3E%3C/g%3E%3Cg font-family='Arial,sans-serif' font-size='14' font-weight='700' fill='%235a0f26' text-anchor='middle'%3E%3Ctext x='60' y='25'%3EGoogle Scholar%3C/text%3E%3Ctext x='185' y='25'%3EGaruda%3C/text%3E%3Ctext x='314' y='25'%3ECrossref%3C/text%3E%3C/g%3E%3C/svg%3E") no-repeat;
  pointer-events: none;
}

/* ISSN (pojok kanan atas) */
.pkp_site_name_wrapper::after {
  content: "E-ISSN : 3124-7911\A DOI : 10.56404";   /* <-- ganti */
  white-space: pre;
  position: absolute;
  top: 64px;
  right: 24px;
  font-family: "Barlow", Arial, sans-serif;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  color: var(--hd-red-text);
  pointer-events: none;
}

/* Penerbit (bawah, sisi kanan) */
.pkp_site_name::after {
  content: "Published by CV. Gerasi Insan Nusantara";   /* <-- ganti */
  position: absolute;
  bottom: 22px;
  right: 24%;
  font-family: "Barlow", Arial, sans-serif;
  font-size: .9rem;
  font-weight: 700;
  font-style: italic;
  color: var(--hd-red-text);
  pointer-events: none;
}

/* ---------- Register / Login: POJOK KANAN ATAS ---------- */
.pkp_structure_head .pkp_navigation_user_wrapper {
  position: absolute !important;
  top: 0 !important;
  left: auto !important;
  right: 16px !important;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 50;
}
.pkp_structure_head .pkp_navigation_user {
  display: flex !important;
  justify-content: flex-end !important;
  float: none !important;
  gap: 8px;
  margin: 0 !important;
  padding: 0 !important;
  text-align: right;
}
.pkp_structure_head .pkp_navigation_user > li { float: none !important; margin: 0 !important; }
.pkp_structure_head .pkp_navigation_user > li > a {
  display: block;
  padding: 10px 22px;
  background: var(--hd-orange);
  border: 0;
  border-radius: 0 0 12px 12px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.pkp_structure_head .pkp_navigation_user > li > a:hover,
.pkp_structure_head .pkp_navigation_user > li > a:focus {
  background: #c96c18;
  color: #fff;
  border: 0;
}

/* ---------- Menu utama (bar abu-abu) ---------- */
.pkp_navigation_primary_row {
  background: var(--hd-nav-bg);
  border-top: 6px solid var(--hd-nav-line);
}
.pkp_navigation_primary_wrapper {
  max-width: 1130px;
  margin: 0 auto;
}
.pkp_navigation_primary {
  display: flex;
  justify-content: space-around;
  float: none;
  margin: 0;
}
.pkp_navigation_primary > li > a {
  padding: 16px 14px;
  color: #111;
  font-size: 1.05rem;
  font-weight: 500;
  border-bottom: 3px solid transparent;
}
.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus {
  color: var(--hd-maroon-1);
  border-bottom-color: var(--hd-orange);
}

/* ---------- Tablet & HP ---------- */
@media (max-width: 991px) {
  :root { --hd-height: 190px; }
  .pkp_site_name_wrapper {
    padding: 0 20px;
    background:
      linear-gradient(60deg, var(--hd-maroon-1) 0%, var(--hd-maroon-2) 100%);
  }
  .pkp_site_name > a,
  .pkp_site_name .is_img,
  .pkp_site_name .is_text { max-width: 100%; }
  .pkp_site_name_wrapper::before,
  .pkp_site_name_wrapper::after,
  .pkp_site_name::after { display: none; }
  .pkp_structure_head .pkp_navigation_user_wrapper { right: 12px !important; }
  .pkp_navigation_user > li > a { padding: 8px 14px; }
  .pkp_site_name { padding-top: 40px; padding-bottom: 20px; }
}

/* =========================================================
   BERANDA (priem-home.html): cover kiri, deskripsi kanan
   ========================================================= */
.priem-home {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 28px;
}
.priem-home__cover { text-align: center; }
.priem-home__cover img {
  display: block;
  width: 100%;
  height: auto;
  border: 6px solid #fff;
  border-bottom: 8px solid var(--c-orange);
  border-radius: 6px;
  box-shadow: 0 10px 26px rgba(90, 15, 38, .25);
}
.priem-home__caption {
  margin: 12px 0 14px;
  font-weight: 600;
  color: var(--c-maroon);
  line-height: 1.4;
}
.priem-btn {
  display: block;
  margin: 0 0 8px;
  padding: 9px 14px;
  background: var(--c-red);
  border: 1px solid var(--c-red);
  border-radius: 4px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.priem-btn:hover, .priem-btn:focus { background: var(--c-orange); border-color: var(--c-orange); color: #fff; }
.priem-btn--ghost { background: transparent; color: var(--c-red); }

.priem-home__title {
  margin: 0 0 8px;
  text-align: center;
  font-size: 1.6rem;
}
.priem-home__desc .priem-info { margin-top: 0; }

.priem-section { margin-bottom: 8px; }
.priem-section h3 {
  margin: 20px 0 8px;
  font-size: 1.25rem;
  padding-left: 12px;
  border-left: 5px solid var(--c-orange);
}

@media (max-width: 767px) {
  .priem-home { grid-template-columns: 1fr; gap: 20px; }
  .priem-home__cover { max-width: 260px; margin: 0 auto; }
}

/* =========================================================
   ADDITIONAL CONTENT disembunyikan
   (blok "Additional Content" di beranda)
   Untuk menampilkan lagi: hapus aturan di bawah ini.
   ========================================================= */
.page_index_journal .additional_content,
.additional_content {
  display: none !important;
}

/* =========================================================
   URUTAN MENU: Current > Home > menu lainnya
   Home otomatis ada di KANAN Current, di mana pun item Home
   diletakkan di Navigation Menus. Item Home dibuat dulu sebagai
   "Remote URL" (OJS 3.3 tidak punya tipe "Home"):
   Settings > Website > Setup > Navigation Menus
   ========================================================= */
.pkp_navigation_primary > li { order: 10; }
.pkp_navigation_primary > li:has(> a[href*="/issue/current"]) { order: 1; }
.pkp_navigation_primary > li:has(> a[href$="/priem"]),
.pkp_navigation_primary > li:has(> a[href$="/priem/"]),
.pkp_navigation_primary > li:has(> a[href$="/priem/index"]) { order: 2; }

/* =========================================================
   MENU UTAMA: jarak atas-bawah dirapatkan
   Ubah angka padding (8px) untuk lebih rapat / lebih longgar
   ========================================================= */
.pkp_structure_head .pkp_navigation_primary_row {
  padding: 0 !important;
  margin: 0 !important;
  border-top-width: 4px;
}
.pkp_structure_head .pkp_navigation_primary_wrapper {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.pkp_structure_head .pkp_navigation_primary {
  margin: 0 !important;
  padding: 0 !important;
}
.pkp_structure_head .pkp_navigation_primary_row .pkp_navigation_primary > li > a,
.pkp_structure_head .pkp_navigation_search_wrapper > a {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  line-height: 1.3 !important;
  font-size: 1rem;
}

/* =========================================================
   ADDITIONAL MENU (blok custom di sidebar) – tampilan daftar
   Berlaku untuk blok berisi tautan teks, baik berupa <ul>
   (lihat priem-additional-menu.html) maupun paragraf.
   Gambar bertautan di blok lain tidak ikut berubah.
   ========================================================= */
.pkp_block.block_custom .content ul,
.priem-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pkp_block.block_custom .content p { margin: 0; }

.pkp_block.block_custom .content li > a:not(:has(img)),
.pkp_block.block_custom .content p > a:not(:has(img)),
.priem-menu a {
  display: block;
  padding: 9px 12px 9px 14px;
  border-left: 4px solid transparent;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-maroon);
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}
.pkp_block.block_custom .content li > a:not(:has(img)):hover,
.pkp_block.block_custom .content li > a:not(:has(img)):focus,
.pkp_block.block_custom .content p > a:not(:has(img)):hover,
.pkp_block.block_custom .content p > a:not(:has(img)):focus,
.priem-menu a:hover,
.priem-menu a:focus {
  background: var(--c-blush);
  border-left-color: var(--c-orange);
  color: var(--c-red);
}
.pkp_block.block_custom .content li:last-child > a:not(:has(img)),
.priem-menu li:last-child a { border-bottom: 0; }

/* kotak pembungkus daftar menu */
.priem-menu {
  border: 1px solid var(--c-line);
  border-radius: 0 0 4px 4px;
  background: #fff;
}

/* =========================================================
   MENU UTAMA (bar abu-abu) – DIRAPATKAN LAGI
   Tinggi bar = tinggi teks + padding atas/bawah.
   Ubah "5px" di bawah untuk lebih rapat / lebih longgar.
   ========================================================= */
.pkp_structure_head .pkp_head_wrapper { padding-bottom: 0 !important; }

.pkp_structure_head .pkp_navigation_primary_row {
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border-top: 3px solid var(--hd-nav-line);
  line-height: 1.2 !important;
}
.pkp_structure_head .pkp_navigation_primary_wrapper,
.pkp_structure_head .pkp_navigation_search_wrapper {
  height: auto !important;
  min-height: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.pkp_structure_head .pkp_navigation_primary,
.pkp_structure_head .pkp_navigation_primary > li {
  height: auto !important;
  min-height: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 1.2 !important;
}
.pkp_structure_head .pkp_navigation_primary_row .pkp_navigation_primary > li > a,
.pkp_structure_head .pkp_navigation_primary_row .pkp_navigation_search_wrapper > a {
  display: block;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  line-height: 1.2 !important;
  border-bottom-width: 2px !important;
  font-size: 1rem;
}
