/*!
 * Silatul Afkar v2 — skema Anggur — Journal Style Sheet untuk OJS 3 (tema Default)
 * Arah: tinta malam, emas, dan kisi bintang delapan (khatam) sebagai simbol "silah", jalinan gagasan.
 * Unggah di: Pengaturan > Situs Web > Tampilan > Lanjutan > Stylesheet Jurnal
 * Semua warna, huruf, dan jarak berasal dari token di :root.
 */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600&family=DM+Mono:wght@400;500&family=Hanken+Grotesk:wght@400;500;600;700&family=Reem+Kufi:wght@500;600&display=swap");

:root {
  /* Warna */
  --sa-night: #2a0e1d;
  --sa-night-2: #431730;
  --sa-lapis: #7a1f48;
  --sa-lapis-deep: #5a1535;
  --sa-lapis-tint: #f3e4eb;
  --sa-gold: #b58a2b;
  --sa-gold-light: #e3c36f;
  --sa-paper: #f6f3f4;
  --sa-surface: #ffffff;
  --sa-ink: #24151d;
  --sa-ink-soft: #54424b;
  --sa-muted: #6a5660;
  --sa-line: #e0d5da;
  --sa-ruby: #b42318;
  --sa-focus: #2a6fdb;
  --sa-on-night: #f8eef2;
  --sa-on-night-soft: #dcc6d0;

  /* Huruf */
  --sa-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sa-body: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --sa-mono: "DM Mono", ui-monospace, Menlo, monospace;
  --sa-kufi: "Reem Kufi", "Noto Kufi Arabic", "Traditional Arabic", sans-serif;

  /* Skala huruf */
  --sa-text-xs: 0.75rem;
  --sa-text-sm: 0.875rem;
  --sa-text-md: 1rem;
  --sa-text-lg: 1.25rem;
  --sa-text-xl: 1.75rem;
  --sa-text-2xl: 2.75rem;

  /* Jarak (kelipatan 4) */
  --sa-space-1: 4px;
  --sa-space-2: 8px;
  --sa-space-3: 12px;
  --sa-space-4: 16px;
  --sa-space-5: 24px;
  --sa-space-6: 32px;
  --sa-space-7: 48px;
  --sa-space-8: 64px;

  /* Bentuk */
  --sa-radius: 0;
  --sa-offset: 3px 3px 0 var(--sa-gold);

  /* Motif (SVG tertanam) */
  --sa-lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96' fill='none' stroke='%23e3c36f' stroke-opacity='.24' stroke-width='1'%3E%3Crect x='26' y='26' width='44' height='44'/%3E%3Crect x='26' y='26' width='44' height='44' transform='rotate(45 48 48)'/%3E%3Ccircle cx='48' cy='48' r='2.5' fill='%23e3c36f' fill-opacity='.4' stroke='none'/%3E%3Cpath d='M0 0L26 26M96 0L70 26M0 96L26 70M96 96L70 70'/%3E%3Ccircle cx='0' cy='0' r='2' fill='%23e3c36f' fill-opacity='.35' stroke='none'/%3E%3Ccircle cx='96' cy='0' r='2' fill='%23e3c36f' fill-opacity='.35' stroke='none'/%3E%3Ccircle cx='0' cy='96' r='2' fill='%23e3c36f' fill-opacity='.35' stroke='none'/%3E%3Ccircle cx='96' cy='96' r='2' fill='%23e3c36f' fill-opacity='.35' stroke='none'/%3E%3C/svg%3E");
  --sa-thread: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='18' viewBox='0 0 120 18' fill='none'%3E%3Cpath d='M0 9H44M76 9H120' stroke='%23b58a2b' stroke-width='1'/%3E%3Cg transform='translate(60 9)' stroke='%23e3c36f' stroke-width='1'%3E%3Crect x='-5' y='-5' width='10' height='10'/%3E%3Crect x='-5' y='-5' width='10' height='10' transform='rotate(45)'/%3E%3C/g%3E%3Ccircle cx='52' cy='9' r='1.5' fill='%23b58a2b'/%3E%3Ccircle cx='68' cy='9' r='1.5' fill='%23b58a2b'/%3E%3C/svg%3E");
  --sa-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='-6 -6 12 12'%3E%3Cg fill='%23b58a2b'%3E%3Crect x='-4' y='-4' width='8' height='8'/%3E%3Crect x='-4' y='-4' width='8' height='8' transform='rotate(45)'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Dasar ---------- */
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sa-body);
  font-size: var(--sa-text-md);
  line-height: 1.7;
  color: var(--sa-ink);
  background: var(--sa-paper);
}
.pkp_structure_page { background: var(--sa-paper); }
.pkp_structure_content { padding-top: var(--sa-space-7); }

h1, h2, h3, h4, .page_title, .pkp_page_title {
  font-family: var(--sa-display);
  color: var(--sa-ink);
  line-height: 1.15;
  text-wrap: balance;
  font-weight: 600;
}
h1, .page_title, .pkp_page_title { font-size: var(--sa-text-2xl); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: var(--sa-text-xl); }
h3 { font-size: var(--sa-text-lg); }

a { color: var(--sa-lapis); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--sa-lapis-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sa-focus); outline-offset: 3px; }

/* ---------- Kepala situs ---------- */
.pkp_structure_head {
  position: relative;
  overflow: hidden;
  background: radial-gradient(900px 320px at 88% -10%, rgba(227, 195, 111, 0.18), transparent 70%), linear-gradient(180deg, var(--sa-night) 0%, var(--sa-night-2) 100%);
  border-bottom: 0;
  padding-bottom: 18px;
}
.pkp_structure_head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--sa-lattice) 0 0 / 96px 96px;
  -webkit-mask-image: linear-gradient(100deg, transparent 18%, #000 92%);
  mask-image: linear-gradient(100deg, transparent 18%, #000 92%);
  pointer-events: none;
}
.pkp_structure_head::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 18px;
  background: var(--sa-thread) repeat-x center / 120px 18px;
  pointer-events: none;
}
.pkp_head_wrapper { position: relative; z-index: 1; padding-top: var(--sa-space-6); }

.pkp_site_name_wrapper { padding-bottom: var(--sa-space-4); }
.pkp_site_name .is_text, .pkp_site_name > a {
  display: block;
  font-family: var(--sa-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--sa-on-night);
  text-decoration: none;
}
/* Wordmark Arab bergaya kufi di atas nama Latin */
.pkp_site_name .is_text::before {
  content: "صِلَةُ الْأَفْكَار";
  display: block;
  margin-bottom: var(--sa-space-1);
  font-family: var(--sa-kufi);
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.35;
  color: var(--sa-gold-light);
  direction: rtl;
  unicode-bidi: plaintext;
  text-align: left;
}

.pkp_navigation_user > li > a { font-family: var(--sa-body); font-size: var(--sa-text-sm); color: var(--sa-on-night-soft); }
.pkp_navigation_user > li > a:hover, .pkp_navigation_user > li > a:focus { color: #fff; background: transparent; text-decoration: underline; }

.pkp_navigation_primary_row { background: transparent; border-top: 1px solid rgba(227, 195, 111, 0.28); }
.pkp_navigation_primary > li > a {
  position: relative;
  font-family: var(--sa-body);
  font-size: var(--sa-text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sa-on-night);
  padding: var(--sa-space-4) var(--sa-space-4);
  border-bottom: 0;
}
.pkp_navigation_primary > li > a:hover, .pkp_navigation_primary > li > a:focus { color: var(--sa-gold-light); background: transparent; }
.pkp_navigation_primary > li > a::after {
  content: "";
  position: absolute;
  left: var(--sa-space-4); right: var(--sa-space-4); bottom: 8px;
  height: 1px;
  background: var(--sa-gold-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.pkp_navigation_primary > li > a:hover::after, .pkp_navigation_primary > li > a:focus::after,
.pkp_navigation_primary > li.current > a::after, .pkp_navigation_primary > li > a[aria-current]::after { transform: scaleX(1); }
.pkp_navigation_primary ul {
  background: var(--sa-night);
  border: 1px solid rgba(227, 195, 111, 0.35);
  border-radius: var(--sa-radius);
  box-shadow: 0 12px 32px rgba(14, 21, 48, 0.35);
}
.pkp_navigation_primary ul a { color: var(--sa-on-night); font-size: var(--sa-text-sm); }
.pkp_navigation_primary ul a:hover, .pkp_navigation_primary ul a:focus { background: var(--sa-night-2); color: var(--sa-gold-light); }
.pkp_navigation_search_wrapper a { color: var(--sa-on-night); }

/* ---------- Tombol: bayangan emas bergeser ---------- */
.cmp_button, .cmp_button_wire, .pkp_button, button.submit, input[type="submit"], .block_make_submission a {
  font-family: var(--sa-body);
  font-size: var(--sa-text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
  padding: 0.9em 1.6em;
  border: 1px solid var(--sa-lapis);
  border-radius: var(--sa-radius);
  background: var(--sa-lapis);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--sa-offset);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.cmp_button:hover, .pkp_button:hover, button.submit:hover, input[type="submit"]:hover, .block_make_submission a:hover {
  background: var(--sa-lapis-deep);
  border-color: var(--sa-lapis-deep);
  color: #fff;
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--sa-gold);
}
.cmp_button:active, .pkp_button:active, input[type="submit"]:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--sa-gold); }
.cmp_button_wire { background: transparent; color: var(--sa-lapis); box-shadow: none; }
.cmp_button_wire:hover { background: var(--sa-lapis-tint); color: var(--sa-lapis-deep); box-shadow: none; transform: none; }
.cmp_button[disabled], .pkp_button[disabled], input[type="submit"][disabled] {
  background: var(--sa-line); border-color: var(--sa-line); color: var(--sa-muted);
  box-shadow: none; cursor: not-allowed; transform: none;
}

/* ---------- Penanda bagian: bintang kecil ---------- */
.current_issue h2, .page_index_journal .current_issue > h2,
.obj_issue_toc .sections h2, .obj_issue_toc .section h2, .pkp_block .title {
  font-family: var(--sa-body);
  font-size: var(--sa-text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sa-lapis);
  display: flex;
  align-items: center;
  gap: var(--sa-space-2);
}
.current_issue h2::before, .obj_issue_toc .sections h2::before, .obj_issue_toc .section h2::before, .pkp_block .title::before {
  content: "";
  flex: none;
  width: 12px; height: 12px;
  background: var(--sa-star) center / contain no-repeat;
}
.current_issue h2::after, .obj_issue_toc .sections h2::after, .obj_issue_toc .section h2::after, .pkp_block .title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--sa-gold), transparent);
}

/* ---------- Beranda ---------- */
.journal-description, .journal_description, .page_index_journal .journal-description {
  font-family: var(--sa-display);
  font-size: 1.6rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.45;
  color: var(--sa-ink-soft);
  max-width: 40ch;
}
.additional_content { color: var(--sa-ink-soft); max-width: 65ch; }

.current_issue_title, .obj_issue_summary .title { font-family: var(--sa-display); font-size: var(--sa-text-xl); font-weight: 600; }
/* Sampul berbingkai ganda emas */
.obj_issue_summary .cover img, .obj_issue_toc .cover img, .current_issue .cover img {
  display: block;
  outline: 1px solid var(--sa-gold);
  outline-offset: 6px;
  box-shadow: 0 18px 32px -14px rgba(14, 21, 48, 0.45);
}

/* ---------- Daftar artikel ---------- */
.obj_article_summary { padding: var(--sa-space-5) 0; border-bottom: 1px solid var(--sa-line); }
.obj_article_summary .title {
  font-family: var(--sa-display);
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 var(--sa-space-2);
}
.obj_article_summary .title a { color: var(--sa-ink); text-decoration: none; }
.obj_article_summary .title a:hover { color: var(--sa-lapis); text-decoration: underline; text-decoration-thickness: 1px; }
.obj_article_summary .authors { font-size: var(--sa-text-sm); font-weight: 500; color: var(--sa-ink-soft); }
.obj_article_summary .pages { font-family: var(--sa-mono); font-size: var(--sa-text-xs); color: var(--sa-muted); }
.obj_article_summary .galleys_links { margin-top: var(--sa-space-3); }

.obj_galley_link {
  font-family: var(--sa-body);
  font-size: var(--sa-text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.5em 1.1em;
  border: 1px solid var(--sa-lapis);
  border-radius: var(--sa-radius);
  background: transparent;
  color: var(--sa-lapis);
  text-decoration: none;
}
.obj_galley_link:hover, .obj_galley_link:focus { background: var(--sa-lapis); color: #fff; }

/* ---------- Halaman artikel ---------- */
.obj_article_details .page_title { font-size: var(--sa-text-2xl); }
.obj_article_details .item.doi .value, .obj_article_details .item.doi .value a,
.obj_article_details .item.keywords .value, .pkp_structure_main .doi a {
  font-family: var(--sa-mono);
  font-size: var(--sa-text-sm);
  word-break: break-word;
}
.obj_article_details .item.abstract {
  font-family: var(--sa-display);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.6;
  max-width: 62ch;
}
/* Huruf pertama abstrak dibesarkan, hanya di layar lebar */
@media (min-width: 768px) {
  .obj_article_details .item.abstract > p:first-of-type::first-letter {
    float: left;
    font-size: 4.2rem;
    line-height: 0.85;
    padding: 0.08em 0.1em 0 0;
    font-weight: 700;
    color: var(--sa-lapis);
  }
}
.obj_article_details .item .label, .obj_article_details .item h2.label {
  font-family: var(--sa-body);
  font-size: var(--sa-text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sa-muted);
}
.obj_article_details .entry_details .item { border-top: 1px solid var(--sa-line); padding-top: var(--sa-space-4); }
.citation_display .csl-entry, .item.references .value { font-size: var(--sa-text-sm); line-height: 1.65; padding-left: 1.5em; text-indent: -1.5em; }

/* ---------- Bilah samping ---------- */
.pkp_block {
  background: var(--sa-surface);
  border: 1px solid var(--sa-line);
  border-top: 2px solid var(--sa-night);
  border-radius: var(--sa-radius);
  padding: var(--sa-space-5);
  margin-bottom: var(--sa-space-5);
}
.pkp_block .title { margin-bottom: var(--sa-space-4); }
.pkp_block a { color: var(--sa-ink); text-decoration: none; }
.pkp_block a:hover { color: var(--sa-lapis); text-decoration: underline; }
.pkp_block.block_make_submission { background: var(--sa-night); border-color: var(--sa-night); border-top-color: var(--sa-gold); position: relative; overflow: hidden; }
.pkp_block.block_make_submission::before { content: ""; position: absolute; inset: 0; background: var(--sa-lattice) 0 0 / 96px 96px; opacity: 0.8; pointer-events: none; }
.pkp_block.block_make_submission > * { position: relative; }
.pkp_block.block_make_submission a { display: block; text-align: center; background: var(--sa-gold-light); border-color: var(--sa-gold-light); color: var(--sa-night); box-shadow: 3px 3px 0 var(--sa-lapis); }
.pkp_block.block_make_submission a:hover { background: #fff; border-color: #fff; color: var(--sa-night); box-shadow: 5px 5px 0 var(--sa-lapis); }

/* ---------- Formulir ---------- */
input[type="text"], input[type="email"], input[type="password"], input[type="search"], select, textarea {
  font-family: var(--sa-body);
  font-size: var(--sa-text-md);
  color: var(--sa-ink);
  background: var(--sa-surface);
  border: 1px solid #848ba6;
  border-radius: var(--sa-radius);
  padding: 0.65em 0.85em;
}
input:focus, select:focus, textarea:focus { border-color: var(--sa-lapis); }
label, .label { font-weight: 600; }
.cmp_notification.error, .pkp_form .error { color: var(--sa-ruby); }

.cmp_breadcrumbs { font-size: var(--sa-text-sm); color: var(--sa-muted); }
.cmp_breadcrumbs a { color: var(--sa-lapis); }
.cmp_breadcrumbs .separator { color: var(--sa-gold); }

/* ---------- Kaki situs ---------- */
.pkp_structure_footer_wrapper {
  position: relative;
  background: var(--sa-night);
  color: var(--sa-on-night-soft);
  margin-top: var(--sa-space-8);
  padding-top: 18px;
}
.pkp_structure_footer_wrapper::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 18px; background: var(--sa-thread) repeat-x center / 120px 18px; }
.pkp_footer_content { color: var(--sa-on-night-soft); font-size: var(--sa-text-sm); padding: var(--sa-space-6) 0; }
.pkp_footer_content a { color: var(--sa-gold-light); }
.pkp_footer_content a:hover { color: #fff; }
.pkp_brand_footer { opacity: 0.85; }

/* ---------- Layar kecil dan gerak ---------- */
@media (max-width: 991px) {
  h1, .page_title, .pkp_page_title { font-size: 2.1rem; }
  .pkp_block { padding: var(--sa-space-4); }
  .obj_article_summary .title { font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* =====================================================================
   Penyesuaian untuk struktur situs ypppm.or.id (OJS 3.5.0.4, tema Default)
   Blok kustom di sidebar memakai gaya langsung di tag HTML, jadi aturan di
   bawah memakai !important hanya untuk menimpa gaya tersebut.
   ===================================================================== */
:root { --sa-lattice-soft: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96' fill='none' stroke='%237a1f48' stroke-opacity='.07' stroke-width='1'%3E%3Crect x='26' y='26' width='44' height='44'/%3E%3Crect x='26' y='26' width='44' height='44' transform='rotate(45 48 48)'/%3E%3Cpath d='M0 0L26 26M96 0L70 26M0 96L26 70M96 96L70 70'/%3E%3C/svg%3E"); }

/* ---------- Latar di luar kolom: kisi tipis, tidak ramai ---------- */
body {
  background-color: var(--sa-paper);
  background-image: var(--sa-lattice-soft);
  background-size: 96px 96px;
}
.pkp_structure_page {
  background: var(--sa-paper);
  box-shadow: 0 0 0 1px var(--sa-line), 0 28px 56px -28px rgba(14, 21, 48, 0.35);
}

/* ---------- Banner dan menu utama ---------- */
.pkp_site_name .is_img { display: block; line-height: 0; }
.pkp_site_name .is_img img { display: block; width: 100%; height: auto; max-height: none; }
.pkp_structure_head .pkp_navigation_primary_row,
.pkp_structure_head .pkp_navigation_primary_wrapper {
  background: var(--sa-night) !important;
}
.pkp_structure_head .pkp_navigation_primary_row { border-top: 1px solid rgba(227, 195, 111, 0.35); }
.pkp_structure_head .pkp_navigation_primary > li > a { color: var(--sa-on-night) !important; }
.pkp_structure_head .pkp_navigation_primary > li > a:hover,
.pkp_structure_head .pkp_navigation_primary > li > a:focus { color: var(--sa-gold-light) !important; }

/* ---------- Beranda ---------- */
.page_index_journal .cz {
  border: 1px solid var(--sa-line);
  border-top: 2px solid var(--sa-night);
  border-radius: 0 !important;
  overflow: hidden;
  margin-bottom: var(--sa-space-6);
}
.obj_issue_toc .sections h3 {
  display: flex;
  align-items: center;
  gap: var(--sa-space-2);
  font-family: var(--sa-body);
  font-size: var(--sa-text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sa-lapis);
}
.obj_issue_toc .sections h3::before {
  content: "";
  flex: none;
  width: 12px; height: 12px;
  background: var(--sa-star) center / contain no-repeat;
}
.obj_issue_toc .sections h3::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--sa-gold), transparent);
}
.obj_article_summary .title b { font-weight: 600; }
.obj_article_summary .meta { display: grid; gap: var(--sa-space-1); }
/* "View All Issues": baris berbingkai, huruf serif miring, garis emas yang memanjang saat disorot */
.current_issue .read_more {
  display: inline-flex;
  align-items: center;
  gap: var(--sa-space-5);
  margin-top: var(--sa-space-6);
  padding: var(--sa-space-4) var(--sa-space-6);
  background: var(--sa-surface);
  border: 1px solid var(--sa-line);
  border-top: 2px solid var(--sa-night);
  font-family: var(--sa-display);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  color: var(--sa-night);
  transition: background-color 0.25s ease, color 0.25s ease;
}
.current_issue .read_more::after {
  content: "";
  flex: 0 0 64px;
  width: auto;
  height: 12px;
  margin: 0;
  font-family: inherit;
  background:
    linear-gradient(var(--sa-gold), var(--sa-gold)) left center / calc(100% - 8px) 1px no-repeat,
    var(--sa-star) right center / 12px 12px no-repeat;
  transition: flex-basis 0.3s ease;
}
.current_issue .read_more:hover,
.current_issue .read_more:focus-visible {
  background: var(--sa-night);
  color: var(--sa-gold-light);
  text-decoration: none;
}
.current_issue .read_more:hover::after,
.current_issue .read_more:focus-visible::after {
  flex-basis: 112px;
  background:
    linear-gradient(var(--sa-gold-light), var(--sa-gold-light)) left center / calc(100% - 8px) 1px no-repeat,
    var(--sa-star) right center / 12px 12px no-repeat;
}

/* ---------- Sidebar: blok Menu (gaya inline ditimpa) ---------- */
.block_custom .sm {
  background-color: var(--sa-night) !important;
  background-image: none !important;
  border-radius: 0 !important;
  border-top: 2px solid var(--sa-gold);
  box-shadow: none !important;
  color: var(--sa-on-night) !important;
  font-family: var(--sa-body) !important;
  padding: 20px 16px 16px !important;
}
.block_custom .sm > p {
  margin: 18px 0 8px !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.18em !important;
  color: var(--sa-gold-light) !important;
}
.block_custom .sm > p:first-child { margin-top: 0 !important; }
.block_custom .sm .sm-item {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border-radius: 0 !important;
  border-bottom: 1px solid rgba(227, 195, 111, 0.18);
  color: var(--sa-on-night) !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  transition: background-color 0.15s ease;
}
.block_custom .sm .sm-item:hover,
.block_custom .sm .sm-item:focus { background-color: rgba(227, 195, 111, 0.16) !important; color: #ffffff !important; }
.block_custom .sm .sm-item > span {
  background-color: transparent !important;
  border: 1px solid rgba(227, 195, 111, 0.55);
  border-radius: 0 !important;
  color: var(--sa-gold-light) !important;
  width: 28px !important; height: 28px !important; line-height: 26px !important;
}
.block_custom .sm .sm-issn {
  background-color: transparent !important;
  border: 1px solid rgba(227, 195, 111, 0.55) !important;
  border-radius: 0 !important;
  color: var(--sa-on-night) !important;
  font-family: var(--sa-mono) !important;
  font-size: 0.72rem !important;
}
.block_custom .sm > a:last-child {
  background-color: var(--sa-gold-light) !important;
  border-radius: 0 !important;
  box-shadow: 3px 3px 0 var(--sa-lapis) !important;
  color: var(--sa-night) !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.block_custom .sm > a:last-child:hover { background-color: #ffffff !important; box-shadow: 5px 5px 0 var(--sa-lapis) !important; }

/* ---------- Sidebar: blok Template, Tools, Visitor ---------- */
#customblock-template-journal a {
  border: 1px solid var(--sa-line) !important;
  border-radius: 0 !important;
  box-shadow: var(--sa-offset) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}
#customblock-template-journal a:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--sa-gold) !important; }
#customblock-template-journal a div {
  color: var(--sa-lapis) !important;
  font-family: var(--sa-display) !important;
  font-size: 1.5rem !important;
  letter-spacing: 0.14em;
}
#customblock-tools img { background: #ffffff; border: 1px solid var(--sa-line); padding: 4px; }
#customblock-make-a-submission img { display: block; margin-inline: auto; }

/* ---------- Kaki situs ---------- */
.pkp_footer_content h4 {
  font-family: var(--sa-display);
  font-size: var(--sa-text-lg);
  font-weight: 600;
  color: var(--sa-gold-light);
  margin: var(--sa-space-4) 0 var(--sa-space-1);
}
.pkp_footer_content p { color: var(--sa-on-night-soft); }

/* ---------- Header: mengisi ruang kosong di sisi kanan ---------- */
:root { --sa-medallion: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400' fill='none' stroke-width='1'%3E%3Ccircle cx='200' cy='200' r='190' stroke='%23e3c36f' stroke-opacity='.28'/%3E%3Ccircle cx='200' cy='200' r='160' stroke='%23e3c36f' stroke-opacity='.2' stroke-dasharray='2 6'/%3E%3Cpath d='M312.0 200.0L390.0 200.0' stroke='%23e3c36f' stroke-opacity='.16'/%3E%3Cpath d='M303.8 242.0L376.2 271.2' stroke='%23e3c36f' stroke-opacity='.16'/%3E%3Cpath d='M280.6 277.8L336.7 332.0' stroke='%23e3c36f' stroke-opacity='.16'/%3E%3Cpath d='M245.6 302.3L277.3 373.6' stroke='%23e3c36f' stroke-opacity='.16'/%3E%3Cpath d='M203.9 311.9L206.6 389.9' stroke='%23e3c36f' stroke-opacity='.16'/%3E%3Cpath d='M161.7 305.2L135.0 378.5' stroke='%23e3c36f' stroke-opacity='.16'/%3E%3Cpath d='M125.1 283.2L72.9 341.2' stroke='%23e3c36f' stroke-opacity='.16'/%3E%3Cpath d='M99.3 249.1L29.2 283.3' stroke='%23e3c36f' stroke-opacity='.16'/%3E%3Cpath d='M88.3 207.8L10.5 213.3' stroke='%23e3c36f' stroke-opacity='.16'/%3E%3Cpath d='M93.5 165.4L19.3 141.3' stroke='%23e3c36f' stroke-opacity='.16'/%3E%3Cpath d='M114.2 128.0L54.5 77.9' stroke='%23e3c36f' stroke-opacity='.16'/%3E%3Cpath d='M147.4 101.1L110.8 32.2' stroke='%23e3c36f' stroke-opacity='.16'/%3E%3Cpath d='M188.3 88.6L180.1 11.0' stroke='%23e3c36f' stroke-opacity='.16'/%3E%3Cpath d='M230.9 92.3L252.4 17.4' stroke='%23e3c36f' stroke-opacity='.16'/%3E%3Cpath d='M269.0 111.7L317.0 50.3' stroke='%23e3c36f' stroke-opacity='.16'/%3E%3Cpath d='M297.0 144.0L364.5 105.0' stroke='%23e3c36f' stroke-opacity='.16'/%3E%3Cpath d='M310.9 184.4L388.2 173.6' stroke='%23e3c36f' stroke-opacity='.16'/%3E%3Crect x='102.0' y='102.0' width='196' height='196' stroke='%23e3c36f' stroke-opacity='0.5' stroke-width='1.2'/%3E%3Crect x='102.0' y='102.0' width='196' height='196' transform='rotate(45 200 200)' stroke='%23e3c36f' stroke-opacity='0.5' stroke-width='1.2'/%3E%3Crect x='130.0' y='130.0' width='140' height='140' stroke='%23e3c36f' stroke-opacity='0.42' stroke-width='1'/%3E%3Crect x='130.0' y='130.0' width='140' height='140' transform='rotate(45 200 200)' stroke='%23e3c36f' stroke-opacity='0.42' stroke-width='1'/%3E%3Crect x='158.0' y='158.0' width='84' height='84' stroke='%23e3c36f' stroke-opacity='0.5' stroke-width='1'/%3E%3Crect x='158.0' y='158.0' width='84' height='84' transform='rotate(45 200 200)' stroke='%23e3c36f' stroke-opacity='0.5' stroke-width='1'/%3E%3Ccircle cx='200' cy='200' r='34' stroke='%23e3c36f' stroke-opacity='.55'/%3E%3Ccircle cx='200' cy='200' r='5' fill='%23e3c36f' fill-opacity='.85' stroke='none'/%3E%3C/svg%3E"); }

/* Cahaya warna utama di kiri bawah dan emas di kanan atas */
.pkp_structure_head {
  background:
    radial-gradient(620px 300px at 6% 115%, color-mix(in srgb, var(--sa-lapis) 70%, transparent), transparent 70%),
    radial-gradient(640px 320px at 90% 40%, color-mix(in srgb, var(--sa-lapis) 55%, transparent), transparent 72%),
    radial-gradient(420px 200px at 96% -20%, rgba(227, 195, 111, 0.10), transparent 70%),
    linear-gradient(180deg, var(--sa-night) 0%, var(--sa-night-2) 100%);
}
/* Medali bintang berlapis di sisi kanan, di belakang menu dan teks */
.pkp_structure_head .pkp_head_wrapper::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  right: -24px;
  width: 360px;
  height: 360px;
  transform: translateY(-52%);
  background: var(--sa-medallion) center / contain no-repeat;
  pointer-events: none;
}
/* Baris pengenal di bawah judul */
.pkp_site_name .is_text::after {
  content: "P-ISSN 2988-7887  ·  E-ISSN 3026-1090";
  display: block;
  margin-top: var(--sa-space-3);
  font-family: var(--sa-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: none;
  color: var(--sa-on-night-soft);
  white-space: pre;
}
@media (max-width: 991px) {
  .pkp_structure_head .pkp_head_wrapper::after { width: 240px; height: 240px; right: -60px; opacity: 0.6; }
  .pkp_site_name .is_text::after { white-space: normal; }
}

/* ---------- Penyamaan warna: logo OJS/PKP, ruang bawah footer, seleksi, scrollbar ---------- */
html { scrollbar-color: var(--sa-lapis) var(--sa-paper); }
::selection { background: var(--sa-gold-light); color: var(--sa-night); }

.pkp_structure_footer_wrapper .pkp_footer_content { padding-bottom: var(--sa-space-4); }
.pkp_structure_footer_wrapper .pkp_brand_footer {
  float: none;
  width: auto;
  margin: 0;
  padding: var(--sa-space-2) 0 var(--sa-space-6);
  text-align: right;
  opacity: 1;
}
/* Logo bawaan berwarna gelap; dibuat terang agar terbaca di latar anggur */
.pkp_structure_footer_wrapper .pkp_brand_footer img {
  display: inline-block;
  width: 132px;
  max-width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.5;
  transition: opacity 0.2s ease;
}
.pkp_structure_footer_wrapper .pkp_brand_footer a:hover img,
.pkp_structure_footer_wrapper .pkp_brand_footer a:focus-visible img { opacity: 0.9; }
@media (max-width: 900px) {
  .pkp_structure_footer_wrapper .pkp_brand_footer { text-align: left; }
}

/* ---------- Paksa header ikut warna palet (menimpa latar biru dari sumber lain) ---------- */
html body .pkp_structure_head {
  background-color: var(--sa-night) !important;
  background-image:
    radial-gradient(620px 300px at 6% 115%, color-mix(in srgb, var(--sa-lapis) 70%, transparent), transparent 70%),
    radial-gradient(640px 320px at 90% 40%, color-mix(in srgb, var(--sa-lapis) 55%, transparent), transparent 72%),
    radial-gradient(420px 200px at 96% -20%, rgba(227, 195, 111, 0.10), transparent 70%),
    linear-gradient(180deg, var(--sa-night) 0%, var(--sa-night-2) 100%) !important;
}
html body .pkp_structure_head .pkp_head_wrapper,
html body .pkp_structure_head .pkp_site_name_wrapper,
html body .pkp_structure_head .pkp_site_name,
html body .pkp_structure_head .pkp_site_name .is_text {
  background: transparent !important;
}

/* ---------- Penyempurnaan bagian bawah beranda ---------- */
/* Kisi di tepi halaman diredam supaya tidak ramai */
body {
  background-image:
    linear-gradient(rgba(246, 243, 244, 0.78), rgba(246, 243, 244, 0.78)),
    var(--sa-lattice-soft);
}

/* View All Issues: bilah selebar kolom, warna dikunci agar tidak biru */
html body .current_issue .read_more {
  display: flex !important;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  color: var(--sa-night) !important;
  font-family: var(--sa-display) !important;
  font-style: italic;
  font-size: 1.6rem;
  background: var(--sa-surface) !important;
  border: 1px solid var(--sa-line) !important;
  border-top: 2px solid var(--sa-night) !important;
}
html body .current_issue .read_more::after { flex: 0 0 96px; }
html body .current_issue .read_more:hover,
html body .current_issue .read_more:focus-visible {
  background: var(--sa-night) !important;
  color: var(--sa-gold-light) !important;
}

/* Blok Tools: baris lebih rapat dan rapi */
#customblock-tools p { line-height: 1.6 !important; }

/* ---------- Sidebar lebih pendek: Tools dan Template dipadatkan ---------- */
html body .pkp_block .sa-tools-lead { display: none !important; }
html body .pkp_block .sa-side-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 8px 4px !important;
  line-height: 1.25 !important;
}
html body .pkp_block .sa-side-txt { display: grid !important; gap: 0 !important; }
html body .pkp_block .sa-side-mark { width: 30px !important; height: 30px !important; }
html body .pkp_block .sa-side-go { margin-left: auto; }
html body .pkp_block .sa-side-list p,
html body .pkp_block .sa-side-item p { margin: 0 !important; line-height: 1.25 !important; }
#customblock-template-journal { padding-block: var(--sa-space-3) !important; }
#customblock-template-journal a { padding: var(--sa-space-3) !important; }

/* =====================================================================
   Komponen blok kustom (tampilan jurnal ilmiah modern)
   Dipakai oleh lima blok HTML: About the Journal, Quick Menu, Template,
   Tools, dan Footer. Semua warna dan huruf berasal dari token di :root.
   ===================================================================== */

/* ---------- Label bagian beranda ---------- */
.homepage_about { margin-bottom: var(--sa-space-7); }
.homepage_about > h2,
.obj_issue_toc .galleys h3 {
  display: flex;
  align-items: center;
  gap: var(--sa-space-2);
  font-family: var(--sa-body);
  font-size: var(--sa-text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sa-lapis);
}
.homepage_about > h2::before, .obj_issue_toc .galleys h3::before {
  content: ""; flex: none; width: 12px; height: 12px;
  background: var(--sa-star) center / contain no-repeat;
}
.homepage_about > h2::after, .obj_issue_toc .galleys h3::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--sa-gold), transparent);
}
.homepage_about > p:empty { display: none; }

/* ---------- About the Journal ---------- */
.sa-about { display: grid; gap: var(--sa-space-4); margin-top: var(--sa-space-4); }
.sa-about p { margin: 0; }

.sa-hero {
  position: relative;
  overflow: hidden;
  padding: 52px 44px 56px;
  color: var(--sa-on-night);
  border-top: 2px solid var(--sa-gold);
  background:
    radial-gradient(520px 260px at 4% 120%, color-mix(in srgb, var(--sa-lapis) 70%, transparent), transparent 70%),
    linear-gradient(180deg, var(--sa-night), var(--sa-night-2));
}
.sa-hero::before {
  content: ""; position: absolute; inset: 0;
  background: var(--sa-lattice) 0 0 / 96px 96px;
  -webkit-mask-image: linear-gradient(100deg, transparent 20%, #000 95%);
  mask-image: linear-gradient(100deg, transparent 20%, #000 95%);
  pointer-events: none;
}
.sa-hero::after {
  content: ""; position: absolute; right: -80px; top: 50%;
  width: 340px; height: 340px; transform: translateY(-50%);
  background: var(--sa-medallion) center / contain no-repeat;
  opacity: 0.85; pointer-events: none;
}
.sa-hero > * { position: relative; z-index: 1; }
.sa-eyebrow {
  display: flex; align-items: center; gap: var(--sa-space-2);
  font-family: var(--sa-body); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--sa-gold-light);
}
.sa-eyebrow::before { content: ""; width: 12px; height: 12px; background: var(--sa-star) center / contain no-repeat; }
.sa-title {
  margin: var(--sa-space-3) 0 0;
  max-width: 16ch;
  font-family: var(--sa-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.08;
  color: #ffffff;
}
.sa-title em { font-style: italic; font-weight: 600; color: var(--sa-gold-light); }
.sa-lead { max-width: 56ch; margin-top: var(--sa-space-4) !important; font-size: 1.05rem; line-height: 1.7; color: var(--sa-on-night-soft); }
.sa-lead a { color: var(--sa-gold-light); }
.sa-lead a:hover { color: #ffffff; }
.sa-actions { display: flex; flex-wrap: wrap; gap: var(--sa-space-4); margin-top: var(--sa-space-6) !important; }

.sa-btn {
  display: inline-block;
  padding: 0.95em 1.7em;
  font-family: var(--sa-body); font-size: var(--sa-text-xs); font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.2; text-decoration: none;
  border: 1px solid var(--sa-gold-light);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.sa-btn--gold { background: var(--sa-gold-light); color: var(--sa-night); box-shadow: 3px 3px 0 var(--sa-lapis); }
.sa-btn--gold:hover, .sa-btn--gold:focus-visible { background: #ffffff; border-color: #ffffff; color: var(--sa-night); transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--sa-lapis); }
.sa-btn--ghost { background: transparent; color: var(--sa-gold-light); }
.sa-btn--ghost:hover, .sa-btn--ghost:focus-visible { background: rgba(227, 195, 111, 0.14); color: #ffffff; }

.sa-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sa-space-3); }
.sa-stat {
  display: grid; align-content: start; gap: 2px; min-width: 0;
  padding: 20px 18px;
  background: var(--sa-surface);
  border: 1px solid var(--sa-line);
  border-top: 2px solid var(--sa-night);
}
.sa-num { font-family: var(--sa-display); font-size: clamp(1.55rem, 2.3vw, 2.1rem); font-weight: 700; line-height: 1; color: var(--sa-lapis); white-space: nowrap; }
.sa-label { margin-top: var(--sa-space-2) !important; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.3; color: var(--sa-ink-soft); }
.sa-delta { margin-top: var(--sa-space-1) !important; font-family: var(--sa-mono); font-size: 0.72rem; color: var(--sa-muted); }
.sa-source { font-size: 0.8rem; color: var(--sa-muted); }

.sa-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--sa-space-4); align-items: stretch; }
.sa-col { display: grid; grid-template-rows: 1fr; gap: var(--sa-space-4); min-width: 0; }
.sa-col > .sa-card { align-content: start; }
.sa-card {
  display: grid; gap: var(--sa-space-4); min-width: 0;
  padding: var(--sa-space-5);
  background: var(--sa-surface);
  border: 1px solid var(--sa-line);
  border-top: 2px solid var(--sa-night);
}
.sa-card-title {
  display: flex; align-items: center; gap: 10px;
  margin: 0; font-family: var(--sa-display); font-size: 1.5rem; font-weight: 600; line-height: 1.15; color: var(--sa-ink);
}
.sa-card-title::before { content: ""; flex: none; width: 12px; height: 12px; background: var(--sa-star) center / contain no-repeat; }
.sa-card-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--sa-gold), transparent); }

.sa-rows { display: grid; }
.sa-row {
  display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: var(--sa-space-4);
  align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--sa-line);
}
.sa-row:last-child { border-bottom: 0; }
.sa-key { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.4; color: var(--sa-muted); }
.sa-val { font-size: 0.92rem; color: var(--sa-ink); overflow-wrap: anywhere; }

.sa-badge {
  display: inline-block; padding: 0.5em 0.85em;
  font-family: var(--sa-body); font-size: 0.64rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; line-height: 1; vertical-align: middle;
  color: var(--sa-lapis); border: 1px solid var(--sa-lapis);
}
.sa-badge--solid { background: var(--sa-lapis); color: #ffffff; }
.sa-badge--gold { background: var(--sa-gold-light); border-color: var(--sa-gold-light); color: var(--sa-night); }

.sa-sched { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sa-space-3); padding: 10px 0; border-bottom: 1px solid var(--sa-line); }
.sa-sched-no { font-family: var(--sa-display); font-size: 1.3rem; font-style: italic; font-weight: 600; color: var(--sa-lapis); }
.sa-sched-period { font-size: 0.9rem; color: var(--sa-ink-soft); text-align: right; }
.sa-issue { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--sa-ink-soft); }

.sa-text { font-size: 0.95rem; line-height: 1.7; color: var(--sa-ink-soft); max-width: 70ch; }
.sa-chips { display: flex; flex-wrap: wrap; gap: var(--sa-space-2); }
.sa-chip {
  padding: 0.55em 0.95em;
  font-size: 0.8rem; font-weight: 600; line-height: 1.2;
  color: var(--sa-lapis-deep); background: var(--sa-lapis-tint);
  border: 1px solid color-mix(in srgb, var(--sa-lapis) 22%, transparent);
}

.sa-note { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: var(--sa-space-4); align-items: start; padding: 10px 0; border-bottom: 1px solid var(--sa-line); }
.sa-note:last-child { border-bottom: 0; }
.sa-note-text { font-size: 0.92rem; color: var(--sa-ink-soft); }

.sa-explore { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.sa-link {
  display: flex; align-items: center; gap: var(--sa-space-3);
  padding: 12px 14px;
  background: var(--sa-surface); border: 1px solid var(--sa-line);
  font-size: 0.85rem; font-weight: 600; color: var(--sa-ink); text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.sa-link-ico {
  flex: none; width: 28px; height: 28px; display: grid; place-items: center;
  font-size: 0.85rem; color: var(--sa-lapis); border: 1px solid var(--sa-lapis);
}
.sa-link:hover, .sa-link:focus-visible { background: var(--sa-night); border-color: var(--sa-night); color: var(--sa-gold-light); text-decoration: none; }
.sa-link:hover .sa-link-ico, .sa-link:focus-visible .sa-link-ico { color: var(--sa-gold-light); border-color: var(--sa-gold-light); }

/* ---------- Sidebar: Quick Menu dan Tools ---------- */
.sa-side { display: grid; gap: 0; }
.pkp_block .sa-side-cta {
  display: flex; align-items: center; gap: 14px; margin-bottom: var(--sa-space-2);
  padding: 16px; color: var(--sa-on-night); text-decoration: none;
  background: linear-gradient(135deg, var(--sa-night), color-mix(in srgb, var(--sa-night-2) 60%, var(--sa-lapis)));
  box-shadow: 3px 3px 0 var(--sa-gold);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pkp_block .sa-side-cta:hover, .pkp_block .sa-side-cta:focus-visible { color: #ffffff; text-decoration: none; transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--sa-gold); }
.sa-side-cta-ico { flex: none; width: 38px; height: 38px; display: grid; place-items: center; font-size: 1rem; color: var(--sa-night); background: var(--sa-gold-light); }
.sa-side-cta-txt { display: grid; gap: 2px; min-width: 0; }
.sa-side-cta-txt small { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sa-gold-light); }
.sa-side-cta-txt strong { font-family: var(--sa-display); font-size: 1.2rem; font-weight: 600; line-height: 1.2; color: #ffffff; }
.sa-side-head {
  display: flex; align-items: center; gap: var(--sa-space-2);
  margin: 18px 0 4px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sa-lapis);
}
.sa-side-head::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--sa-gold), transparent); }
.sa-side-list { display: grid; border-top: 1px solid var(--sa-line); }
.pkp_block .sa-side-item {
  display: flex; align-items: center; gap: var(--sa-space-3);
  padding: 10px 4px; border-bottom: 1px solid var(--sa-line);
  color: var(--sa-ink); text-decoration: none;
  transition: background-color 0.2s ease, padding-left 0.2s ease;
}
.pkp_block .sa-side-item:hover, .pkp_block .sa-side-item:focus-visible { background: var(--sa-lapis-tint); padding-left: 10px; color: var(--sa-ink); text-decoration: none; }
.sa-side-mark { flex: none; width: 30px; height: 30px; display: grid; place-items: center; font-size: 0.85rem; font-weight: 700; color: var(--sa-lapis); border: 1px solid var(--sa-lapis); }
.sa-side-txt { flex: 1; min-width: 0; display: grid; }
.sa-side-txt strong { font-size: 0.88rem; font-weight: 600; line-height: 1.25; }
.sa-side-txt small { font-size: 0.72rem; color: var(--sa-muted); }
.sa-side-go { flex: none; font-size: 1.15rem; color: var(--sa-gold); transition: transform 0.2s ease; }
.pkp_block .sa-side-item:hover .sa-side-go { transform: translateX(3px); }
.sa-side-issn { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sa-space-2); margin-top: var(--sa-space-4); }
.pkp_block .sa-side-issn a {
  padding: 10px 6px; text-align: center; font-family: var(--sa-mono); font-size: 0.72rem;
  color: var(--sa-lapis); border: 1px solid var(--sa-lapis); text-decoration: none;
}
.pkp_block .sa-side-issn a:hover { background: var(--sa-lapis); color: #ffffff; text-decoration: none; }
.sa-tools-lead { margin: 0 0 var(--sa-space-3); font-size: 0.85rem; color: var(--sa-ink-soft); }

/* ---------- Sidebar: kartu Template ---------- */
.pkp_block .sa-tpl {
  display: flex; align-items: center; gap: 14px; padding: 16px;
  background: var(--sa-surface); color: var(--sa-ink); text-decoration: none;
  border: 1px solid var(--sa-line); border-top: 2px solid var(--sa-night);
  box-shadow: 3px 3px 0 var(--sa-gold);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pkp_block .sa-tpl:hover, .pkp_block .sa-tpl:focus-visible { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--sa-gold); color: var(--sa-ink); text-decoration: none; }
.sa-tpl-doc {
  flex: none; width: 46px; height: 58px; display: grid; place-items: end center; padding-bottom: 8px;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em; color: #ffffff; background: var(--sa-lapis);
  clip-path: polygon(0 0, 70% 0, 100% 22%, 100% 100%, 0 100%);
}
.sa-tpl-body { flex: 1; min-width: 0; display: grid; }
.sa-tpl-kicker { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sa-lapis); }
.sa-tpl-title { font-family: var(--sa-display); font-size: 1.3rem; font-weight: 600; line-height: 1.2; }
.sa-tpl-sub { font-size: 0.72rem; color: var(--sa-muted); }
.sa-tpl-go { flex: none; width: 32px; height: 32px; display: grid; place-items: center; color: var(--sa-lapis); border: 1px solid var(--sa-lapis); transition: background-color 0.2s ease, color 0.2s ease; }
.pkp_block .sa-tpl:hover .sa-tpl-go { background: var(--sa-lapis); color: #ffffff; }

/* ---------- Kaki situs ---------- */
.sa-footer { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 0.8fr); gap: var(--sa-space-6); text-align: left; }
.sa-footer p { margin: 0; }
.sa-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sa-f-ar { font-family: var(--sa-kufi); font-size: 2.4rem; font-weight: 500; line-height: 1.3; color: var(--sa-gold-light); direction: rtl; unicode-bidi: plaintext; text-align: left; }
.sa-f-brand { margin-top: var(--sa-space-1) !important; font-family: var(--sa-display); font-size: 1.5rem; font-weight: 600; line-height: 1.2; color: #ffffff; }
.sa-f-head { margin-bottom: var(--sa-space-3) !important; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sa-gold-light); }
.sa-fbadge {
  display: inline-block; margin: var(--sa-space-3) var(--sa-space-2) 0 0; padding: 0.45em 0.75em;
  font-family: var(--sa-mono); font-size: 0.72rem; color: var(--sa-on-night);
  border: 1px solid rgba(227, 195, 111, 0.55);
}
.sa-copy { margin-top: var(--sa-space-6); padding-top: var(--sa-space-4); border-top: 1px solid rgba(227, 195, 111, 0.25); font-size: 0.8rem; color: var(--sa-on-night-soft); }

/* ---------- Layar kecil ---------- */
@media (max-width: 900px) {
  .sa-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sa-grid { grid-template-columns: 1fr; }
  .sa-footer { grid-template-columns: 1fr; gap: var(--sa-space-5); }
  .sa-hero { padding: 36px 22px 40px; }
  .sa-hero::after { width: 220px; height: 220px; right: -90px; opacity: 0.5; }
  .sa-row { grid-template-columns: 1fr; gap: 2px; }
  .sa-note { grid-template-columns: 1fr; gap: 6px; }
}
