:root {
  --jss-ink: #0f2a20;
  --jss-body: #33443d;
  --jss-muted: #667970;
  --jss-line: #d8e4de;
  --jss-paper: #ffffff;
  --jss-tint: #f3f8f5;
  --jss-accent: #1b7f5a;
  --jss-accent-dark: #145c42;
  --jss-gold: #e8c547;
  --jss-radius: 14px;
  --jss-shadow: 0 12px 36px rgba(16, 36, 28, .08);
  --jss-max: 1180px;
  --jss-sans: "Segoe UI", system-ui, sans-serif;
  --jss-serif: Georgia, "Times New Roman", serif;
}

html { scroll-behavior: smooth; }
body.jss_theme {
  margin: 0;
  color: var(--jss-body);
  background: #eef3f0;
  font-family: var(--jss-sans);
  line-height: 1.55;
}
body.jss_theme a { color: var(--jss-accent-dark); }
body.jss_theme a:focus-visible,
body.jss_theme button:focus-visible { outline: 3px solid var(--jss-gold); outline-offset: 3px; }

/* Skip links — disembunyikan (tetap ada di DOM untuk aksesibilitas jika diinjeksi parent) */
body.jss_theme .cmp_skip_to_content { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

body.jss_theme .pkp_structure_page { max-width: none; margin: 0; box-shadow: none; background: transparent; }

/* Header */
body.jss_theme .jss_head {
  border-bottom: 4px solid var(--jss-gold);
  background: #071a2f;
}
body.jss_theme .jss_masthead {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  overflow: hidden;
  background: #06172a;
  border-radius: 0 0 var(--jss-radius) var(--jss-radius);
  box-shadow: 0 14px 32px rgba(3, 13, 25, .28);
}
body.jss_theme .jss_masthead img { display: block; width: 100%; height: auto; aspect-ratio: 15 / 4; object-fit: cover; }
body.jss_theme .jss_masthead__issn {
  position: absolute; top: .8rem; right: 1rem; display: flex; gap: .55rem; margin: 0;
  padding: .45rem .65rem; background: rgba(3,14,26,.76); border: 1px solid rgba(255,255,255,.22);
  border-radius: .55rem; color: #fff; font-size: .78rem; backdrop-filter: blur(8px);
}
body.jss_theme .jss_masthead__issn span { display: grid; }
body.jss_theme .jss_masthead__issn small { color: #c7d7e6; font-size: .58rem; text-transform: uppercase; letter-spacing: .07em; }
body.jss_theme .jss_head_wrapper {
  max-width: var(--jss-max); margin: 0 auto; padding: .85rem 1.25rem;
  background: linear-gradient(135deg, #0f3d2c 0%, var(--jss-accent) 65%, #24966b 100%);
}
body.jss_theme .jss_head_brand { display: flex; align-items: flex-start; gap: .75rem; }
body.jss_theme .jss_head_identity { display: flex; align-items: center; gap: 1rem; flex: 1; min-width: 0; }
body.jss_theme .jss_head_logo img { display: block; max-height: 72px; width: auto; border-radius: 10px; background: rgba(255,255,255,.95); padding: .35rem .5rem; }
body.jss_theme .jss_head_logo__mark {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 12px;
  background: rgba(255,255,255,.95); color: var(--jss-accent-dark); font-size: 1.35rem; font-weight: 900; letter-spacing: -.04em;
}
body.jss_theme .jss_head_title { margin: 0; font-family: var(--jss-serif); font-size: clamp(1.15rem, 2.4vw, 1.85rem); font-weight: 700; line-height: 1.15; }
body.jss_theme .jss_head_title a { color: #fff; text-decoration: none; }
body.jss_theme .jss_head_meta { display: flex; flex-wrap: wrap; gap: .35rem .75rem; margin: .35rem 0 0; color: rgba(255,255,255,.88); font-size: .8rem; font-weight: 600; }
body.jss_theme .jss_head_indexes { display: flex; flex-wrap: wrap; gap: .35rem; margin: .45rem 0 0; }
body.jss_theme .jss_head_index {
  display: inline-block; padding: .15rem .5rem; border-radius: .35rem;
  background: rgba(255,255,255,.16); color: #fff; font-size: .68rem; font-weight: 700; text-transform: lowercase;
}
body.jss_theme .jss_head_nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: .85rem; padding-top: .75rem; border-top: 1px solid rgba(255,255,255,.18);
}
body.jss_theme .jss_head_nav .jss_head_actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; position: relative; }
body.jss_theme .jss_head_nav .pkp_navigation_user_wrapper { margin-left: 0; position: static; }
body.jss_theme .pkp_site_nav_menu.jss_head_nav {
  position: static; width: auto; height: auto; padding: 0; background: transparent; border: 0;
}
body.jss_theme .jss_quicknav { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; list-style: none; }
body.jss_theme .jss_quicknav a {
  display: inline-block; padding: .42rem .85rem; border-radius: 999px;
  background: rgba(255,255,255,.12); color: #fff !important; font-size: .86rem; font-weight: 700; text-decoration: none;
}
body.jss_theme .jss_quicknav a:hover { background: rgba(255,255,255,.24); }
body.jss_theme .pkp_navigation_user { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; margin: 0; padding: 0; list-style: none; }
body.jss_theme .pkp_navigation_user > li { list-style: none; }
body.jss_theme .pkp_navigation_user > li > a {
  display: inline-block; padding: .35rem .7rem; border-radius: 999px;
  background: rgba(255,255,255,.12); color: #fff !important; font-size: .82rem; font-weight: 700; text-decoration: none;
}
body.jss_theme .pkp_navigation_user > li > a:hover { background: rgba(255,255,255,.24); }
body.jss_theme .pkp_navigation_user > li.profile { position: relative; }
body.jss_theme .pkp_navigation_user > li.profile > ul {
  display: none; position: absolute; right: 0; top: calc(100% + .35rem); z-index: 30;
  min-width: 180px; margin: 0; padding: .35rem; list-style: none;
  background: #fff; border: 1px solid var(--jss-line); border-radius: .65rem; box-shadow: var(--jss-shadow);
}
body.jss_theme .pkp_navigation_user > li.profile:hover > ul,
body.jss_theme .pkp_navigation_user > li.profile:focus-within > ul { display: block; }
body.jss_theme .pkp_navigation_user > li.profile > ul a { color: var(--jss-accent-dark) !important; background: transparent; border-radius: .45rem; font-weight: 600; }
body.jss_theme .pkp_navigation_user > li.profile > ul a:hover { background: var(--jss-tint); }
body.jss_theme .pkp_navigation_user .unsoed-theme-toggle-item { display: none; }

/* Theme toggle */
body.jss_theme .jss-theme-toggle {
  display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); border-radius: 50%;
  color: #fff; cursor: pointer; transition: background .15s ease, transform .15s ease;
}
body.jss_theme .jss-theme-toggle:hover { background: rgba(255,255,255,.28); transform: scale(1.05); }
body.jss_theme .jss-theme-toggle__icon { display: none; }
html[data-jss-theme="light"] .jss-theme-toggle__icon--moon,
html:not([data-jss-theme]) .jss-theme-toggle__icon--moon { display: block; }
html[data-jss-theme="dark"] .jss-theme-toggle__icon--sun { display: block; }

body.jss_theme .pkp_site_nav_toggle { color: #fff; border-color: rgba(255,255,255,.35); }
@media (min-width: 992px) {
  body.jss_theme .pkp_site_nav_toggle { display: none; }
}
body.jss_theme .pkp_site_name_wrapper,
body.jss_theme .pkp_navigation_primary_row,
body.jss_theme .pkp_navigation_primary_wrapper,
body.jss_theme .pkp_navigation_search_wrapper { display: none !important; }

/* Layout */
body.jss_theme .pkp_structure_content,
body.jss_theme .pkp_structure_main { max-width: none; width: 100%; padding: 0; float: none; }
body.jss_theme .pkp_structure_sidebar { display: none; }

/* Halaman detail native OJS: About, Submissions, Contact, Issue, Search. */
body.jss_theme .pkp_structure_main > .page,
body.jss_theme .pkp_structure_main > [class^="page_"] {
  max-width: var(--jss-max); margin: 1.35rem auto 2.5rem; padding: 1.5rem;
  background: var(--jss-paper); border: 1px solid var(--jss-line); border-radius: var(--jss-radius); box-shadow: var(--jss-shadow);
}
body.jss_theme .pkp_structure_main > .page h1,
body.jss_theme .pkp_structure_main > [class^="page_"] h1 {
  margin-top: 0; padding-bottom: .8rem; border-bottom: 3px solid var(--jss-accent);
  color: var(--jss-ink); font-family: var(--jss-serif); font-size: clamp(1.55rem, 3vw, 2.15rem);
}
body.jss_theme .pkp_structure_main > .page h2,
body.jss_theme .pkp_structure_main > [class^="page_"] h2 { color: var(--jss-ink); font-size: 1.18rem; }
body.jss_theme .pkp_structure_main > .page p,
body.jss_theme .pkp_structure_main > .page li,
body.jss_theme .pkp_structure_main > [class^="page_"] p,
body.jss_theme .pkp_structure_main > [class^="page_"] li { line-height: 1.75; }
body.jss_theme .obj_issue_summary,
body.jss_theme .obj_announcement_summary { padding: 1rem; border: 1px solid var(--jss-line); border-radius: .65rem; background: var(--jss-tint); }
body.jss_theme .cmp_form input,
body.jss_theme .cmp_form select,
body.jss_theme .cmp_form textarea { border-color: var(--jss-line); border-radius: .45rem; }

.jss-journal { overflow: hidden; }
.jss-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 1.25rem;
  max-width: var(--jss-max); margin: 0 auto; padding: 1.35rem 1.25rem 2.5rem;
}

.jss-kicker {
  margin: 0 0 .45rem; color: var(--jss-accent); font-size: .72rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
}
.jss-profile, .jss-current, .jss-side-card, .jss-empty, .jss-articles {
  background: var(--jss-paper); border: 1px solid var(--jss-line); border-radius: var(--jss-radius); box-shadow: var(--jss-shadow);
}
.jss-profile, .jss-current, .jss-empty, .jss-articles { padding: 1.35rem 1.5rem; }
.jss-profile { margin-bottom: 1.25rem; border-top: 4px solid var(--jss-accent); }
.jss-profile__title { margin: 0 0 1rem; color: var(--jss-ink); font-family: var(--jss-serif); font-size: clamp(1.35rem, 2.5vw, 1.75rem); line-height: 1.2; }

.jss-meta-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 1.25rem; margin: 0 0 1rem;
}
.jss-meta-grid div { padding: .65rem .75rem; border: 1px solid var(--jss-line); border-radius: .65rem; background: var(--jss-tint); }
.jss-meta-grid dt { margin: 0 0 .2rem; color: var(--jss-muted); font-size: .7rem; font-style: italic; font-weight: 600; }
.jss-meta-grid dd { margin: 0; color: var(--jss-ink); font-size: .9rem; font-weight: 800; }

.jss-index-badges { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.jss-index-badge {
  display: inline-flex; align-items: center; min-height: 26px; padding: .2rem .6rem;
  border-radius: .35rem; background: #fff; border: 1px solid var(--jss-line);
  color: var(--jss-accent-dark); font-size: .68rem; font-weight: 700; text-transform: lowercase;
}
.jss-description, .jss-additional { color: var(--jss-body); line-height: 1.75; font-size: .95rem; }
.jss-description p, .jss-additional p { margin: 0 0 .75rem; }

.jss-current__tabs { display: flex; gap: .5rem; margin-bottom: 1rem; border-bottom: 1px solid var(--jss-line); padding-bottom: .75rem; }
.jss-current__tab {
  display: inline-flex; align-items: center; min-height: 36px; padding: .4rem .95rem;
  border-radius: .45rem; border: 1px solid var(--jss-line); background: var(--jss-tint);
  color: var(--jss-body); font-size: .78rem; font-weight: 800; text-decoration: none;
}
.jss-current__tab.is-active { background: var(--jss-accent); border-color: var(--jss-accent); color: #fff; }

.jss-current__panel { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 1rem; margin-bottom: 1.25rem; }
.jss-current__cover img, .jss-current__cover-placeholder {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: calc(var(--jss-radius) - 4px); border: 1px solid var(--jss-line);
}
.jss-current__cover-placeholder {
  display: grid; place-items: center; background: linear-gradient(160deg, var(--jss-accent), #0f5a40);
  color: #fff; font-size: 2rem; font-weight: 900;
}
.jss-current__table { width: 100%; border-collapse: collapse; font-size: .88rem; align-self: start; }
.jss-current__table th, .jss-current__table td { padding: .6rem .75rem; border: 1px solid var(--jss-line); text-align: left; }
.jss-current__table th { width: 38%; background: var(--jss-tint); color: var(--jss-muted); font-weight: 700; }
.jss-current__table td { color: var(--jss-ink); font-weight: 700; }

.jss-articles-title { margin: 0 0 .75rem; color: var(--jss-ink); font-size: 1.05rem; font-weight: 800; }
.jss-articles .sections, .jss-articles .section { margin: 0; }
.jss-articles .section h4, .jss-articles .section h3 { margin: 1rem 0 .5rem; color: var(--jss-accent-dark); font-size: .95rem; }
.jss-articles .obj_article_summary {
  margin: 0 0 .75rem; padding: .85rem 1rem; border: 1px solid var(--jss-line); border-radius: .65rem; background: var(--jss-tint);
}
.jss-articles .obj_article_summary h4, .jss-articles .obj_article_summary h3 { margin: 0 0 .35rem; font-size: .98rem; line-height: 1.35; }
.jss-articles .obj_article_summary h4 a, .jss-articles .obj_article_summary h3 a { color: var(--jss-ink); text-decoration: none; font-weight: 700; }
.jss-articles .obj_article_summary h4 a:hover, .jss-articles .obj_article_summary h3 a:hover { color: var(--jss-accent); text-decoration: underline; }
.jss-articles .obj_article_summary .authors { color: var(--jss-muted); font-size: .84rem; }
.jss-current__more { margin: 1rem 0 0; font-size: .88rem; font-weight: 700; }
.jss-current__more a { color: var(--jss-accent-dark); text-decoration: none; }
.jss-current__more a:hover { text-decoration: underline; }

.jss-empty h3 { margin-top: 0; color: var(--jss-ink); }
.jss-empty p { color: var(--jss-muted); max-width: 52ch; }
.jss-btn {
  display: inline-flex; align-items: center; min-height: 40px; padding: .55rem 1rem;
  border-radius: .45rem; background: var(--jss-accent); color: #fff; font-weight: 800; text-decoration: none;
}
.jss-btn:hover { color: #fff; filter: brightness(1.05); }

.jss-side { display: flex; flex-direction: column; gap: 1rem; }
.jss-side-card { padding: 1rem 1.1rem; }
.jss-side-card h2 { margin: 0 0 .75rem; color: var(--jss-ink); font-size: .92rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.jss-side-card--accent { background: linear-gradient(180deg, #fff, var(--jss-tint)); border-color: color-mix(in srgb, var(--jss-accent) 25%, var(--jss-line)); }
.jss-side-list { margin: 0; padding: 0; list-style: none; }
.jss-side-list li + li { margin-top: .35rem; }
.jss-side-list a {
  display: block; padding: .45rem .65rem; border-radius: .45rem; background: var(--jss-tint);
  color: var(--jss-ink); font-weight: 700; text-decoration: none; font-size: .86rem;
}
.jss-side-list a:hover { background: var(--jss-accent); color: #fff; }
.jss-badges { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }
.jss-badge {
  display: inline-flex; min-height: 24px; align-items: center; padding: .15rem .55rem;
  border-radius: 999px; background: #fff; border: 1px solid var(--jss-line); color: var(--jss-accent-dark);
  font-size: .65rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
}
.jss-side-card--announcements .cmp_notification { border: 0; padding: 0; background: transparent; box-shadow: none; }
.jss-side-card--announcements h2 { font-size: .92rem; }

/* Footer */
body.jss_theme .jss_footer_wrapper { background: var(--jss-ink); color: #dce8e2; margin-top: 1rem; }
body.jss_theme .jss_footer { max-width: var(--jss-max); margin: 0 auto; padding: 1.5rem 1.25rem; }
body.jss_theme .jss_footer_grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.5rem; }
body.jss_theme .jss_footer_kicker { margin: 0 0 .35rem; color: var(--jss-gold); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
body.jss_theme .jss_footer_title { margin: 0 0 .5rem; color: #fff; font-weight: 700; }
body.jss_theme .jss_footer_meta, body.jss_theme .jss_footer_copy { margin: 0; color: #b8ccc3; font-size: .86rem; }
body.jss_theme .jss_footer_heading { margin: 0 0 .5rem; color: #fff; font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
body.jss_theme .jss_footer_links { margin: 0; padding: 0; list-style: none; }
body.jss_theme .jss_footer_links li + li { margin-top: .35rem; }
body.jss_theme .jss_footer_links a { color: #fff; font-size: .86rem; font-weight: 600; text-decoration: none; }
body.jss_theme .jss_footer_links a:hover { color: var(--jss-gold); }
body.jss_theme .jss_footer_bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.12); }

@media (max-width: 960px) {
  .jss-layout { grid-template-columns: 1fr; }
  .jss-meta-grid { grid-template-columns: 1fr; }
  .jss-current__panel { grid-template-columns: 1fr; }
  .jss-current__cover { max-width: 180px; }
  body.jss_theme .jss_footer_grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body.jss_theme .jss_masthead { border-radius: 0; }
  body.jss_theme .jss_masthead img { min-height: 150px; object-position: center; }
  body.jss_theme .jss_masthead__issn { top: .45rem; right: .45rem; font-size: .68rem; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Dark mode */
html[data-jss-theme="dark"] { color-scheme: dark; }
html[data-jss-theme="dark"] body.jss_theme { background: #0c1612; color: #c8d8d0; }
html[data-jss-theme="dark"] body.jss_theme a { color: #6ecfaa; }
html[data-jss-theme="dark"] body.jss_theme .jss_head {
  background: #040e19;
}
html[data-jss-theme="dark"] .jss-profile,
html[data-jss-theme="dark"] .jss-current,
html[data-jss-theme="dark"] .jss-side-card,
html[data-jss-theme="dark"] .jss-empty,
html[data-jss-theme="dark"] .jss-articles {
  background: #152620; border-color: #2a4038; box-shadow: none;
}
html[data-jss-theme="dark"] body.jss_theme .pkp_structure_main > .page,
html[data-jss-theme="dark"] body.jss_theme .pkp_structure_main > [class^="page_"] { background: #152620; border-color: #2a4038; box-shadow: none; }
html[data-jss-theme="dark"] .jss-profile__title,
html[data-jss-theme="dark"] .jss-side-card h2,
html[data-jss-theme="dark"] .jss-articles-title,
html[data-jss-theme="dark"] .jss-empty h3,
html[data-jss-theme="dark"] .jss-meta-grid dd,
html[data-jss-theme="dark"] .jss-current__table td { color: #e8f2ed; }
html[data-jss-theme="dark"] .jss-description,
html[data-jss-theme="dark"] .jss-additional,
html[data-jss-theme="dark"] .jss-meta-grid dt,
html[data-jss-theme="dark"] .jss-empty p { color: #8fa59a; }
html[data-jss-theme="dark"] .jss-meta-grid div,
html[data-jss-theme="dark"] .jss-current__tab,
html[data-jss-theme="dark"] .jss-articles .obj_article_summary,
html[data-jss-theme="dark"] .jss-side-list a { background: #1a2f28; border-color: #2a4038; color: #c8d8d0; }
html[data-jss-theme="dark"] .jss-current__table th { background: #1a2f28; color: #8fa59a; }
html[data-jss-theme="dark"] .jss-current__table th,
html[data-jss-theme="dark"] .jss-current__table td { border-color: #2a4038; }
html[data-jss-theme="dark"] .jss-index-badge,
html[data-jss-theme="dark"] .jss-badge { background: #1a2f28; border-color: #3a5548; color: #6ecfaa; }
html[data-jss-theme="dark"] body.jss_theme .jss_footer_wrapper { background: #071510; }
html[data-jss-theme="dark"] body.jss_theme .pkp_navigation_user > li.profile > ul { background: #152620; border-color: #2a4038; }
html[data-jss-theme="dark"] body.jss_theme .pkp_navigation_user > li.profile > ul a { color: #6ecfaa !important; }
html[data-jss-theme="dark"] body.jss_theme .pkp_navigation_user > li.profile > ul a:hover { background: #1a2f28; }
