/* Nusantara: publisher-inspired journal layout, served directly without a build. */
body.nusantara {
  --n-body-font: "Work Sans", sans-serif;
  --n-heading-font: "Libre Baskerville", serif;
  --n-dark: #363636;
  --n-paper: #f6f3ef;
  --n-ink: #282628;
  --n-muted: #686369;
  --n-line: #dcd6d4;
  --n-header-height: 152px;
  margin: 0 auto;
  background: #fff;
  color: var(--n-ink);
  font: 16px/1.7 var(--n-body-font);
  -webkit-font-smoothing: antialiased;
}
.nusantara *,
.nusantara *::before,
.nusantara *::after {
  box-sizing: border-box;
}
.nusantara h1,
.nusantara h2,
.nusantara h3,
.nusantara h4,
.nusantara h5,
.nusantara h6 {
  color: var(--n-heading);
  font-family: var(--n-heading-font);
  font-weight: 400;
}
.nusantara a {
  color: var(--n-heading);
  text-underline-offset: 0.25em;
}
.nusantara a:hover {
  text-decoration-line: underline !important;
  text-decoration-thickness: 2px;
}
.nusantara a:focus-visible,
.nusantara button:focus-visible,
.nusantara summary:focus-visible,
.nusantara input:focus-visible {
  outline: 3px solid #ae751f;
  outline-offset: 4px;
  box-shadow: none;
}
.nusantara img {
  max-width: 100%;
  height: auto;
}
.nusantara p {
  margin: 0 0 1rem;
}
.nusantara .nusantara-container {
  width: min(100% - 80px, 1200px);
  margin-inline: auto;
}
.nusantara .cmp_breadcrumbs .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  background: transparent;
}
.nusantara .cmp_breadcrumbs .breadcrumb > li {
  display: inline-flex;
  align-items: center;
  padding: 0;
  color: var(--n-muted);
}
.nusantara .cmp_breadcrumbs .breadcrumb > li + li::before {
  content: "/";
  padding: 0;
  margin: 0 10px;
  color: var(--n-muted);
  opacity: 0.65;
}
.nusantara .cmp_breadcrumbs .breadcrumb a {
  color: var(--n-muted);
  text-decoration: none;
}
.nusantara .cmp_breadcrumbs .breadcrumb > li.active {
  color: var(--n-ink);
  font-weight: 600;
}
.nusantara:not(.nusantara-homepage) main#main-content {
  position: relative;
  isolation: isolate;
}
.nusantara:not(.nusantara-homepage) main#main-content::before {
  content: "";
  display: none;
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: calc((100vw - 100%) / -2);
  width: clamp(40px, 6vw, 88px);
  background-color: var(--n-primary);
  -webkit-mask-image: url("../assets/images/ornament.svg");
  mask-image: url("../assets/images/ornament.svg");
  -webkit-mask-repeat: repeat-y;
  mask-repeat: repeat-y;
  -webkit-mask-position: center var(--ornament-rail-offset, 0px);
  mask-position: center var(--ornament-rail-offset, 0px);
  -webkit-mask-size: 100% auto;
  mask-size: 100% auto;
  opacity: 0.5;
  pointer-events: none;
}
.nusantara:not(.nusantara-homepage) main#main-content::after {
  content: "";
  display: none;
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: calc((100vw - 100%) / -2);
  width: clamp(40px, 6vw, 88px);
  background: color-mix(in srgb, var(--n-primary) 10%, white);
  pointer-events: none;
}
@media (min-width: 992px) {
  .nusantara:not(.nusantara-homepage) main#main-content::before,
  .nusantara:not(.nusantara-homepage) main#main-content::after {
    display: block;
  }
}
.nusantara:not(.nusantara-homepage) main#main-content > * {
  position: relative;
  z-index: 2;
}
.nusantara .nusantara-main-content {
  padding: 0;
  margin: 0;
  background: #fff;
}
.nusantara .pkp_structure_content {
  padding: 0;
  border: 0;
  margin-top: 0;
}
.nusantara .pkp_structure_content > .row {
  margin: 0;
}
.nusantara .pkp_structure_content > .row > .pkp_structure_main {
  margin-top: 0;
}
.nusantara .pkp_structure_main {
  min-width: 0;
  padding: 48px 24px 64px 0;
  border: 0;
  background: transparent;
}
.nusantara .pkp_structure_main::before,
.nusantara .pkp_structure_main::after {
  content: none;
}
.nusantara-homepage .nusantara-content {
  width: 100%;
  max-width: none;
  margin: 0;
}
.nusantara-homepage .pkp_structure_main {
  padding: 0;
}
.nusantara-skip {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 2000;
  padding: 12px 20px;
  background: #fff;
}
.nusantara-skip:focus {
  top: 12px;
}
.nusantara-header {
  position: sticky;
  top: 0;
  z-index: 10001;
  background: #fff;
  box-shadow: 0 1px 0 var(--n-line);
}
.nusantara-utility {
  background: var(--n-primary);
  color: var(--n-primary-contrast);
}
.nusantara-utility > .nusantara-container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  min-height: 42px;
}
.nusantara-utility > .nusantara-container > a {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.nusantara-utility > .nusantara-container > nav {
  margin-left: auto;
  flex-shrink: 0;
}
.nusantara #navigationUser {
  padding: 0;
  margin: 0;
}
.nusantara #navigationUser .nav-link {
  padding: 10px 0 10px 16px;
  color: var(--n-primary-contrast);
  font-size: 12px;
}
body.nusantara:not(.nusantara-dark) #navigationUser .dropdown-menu .badge {
  color: #fff;
  background: var(--n-primary);
}
.nusantara .nusantara-navbar {
  display: flex;
  gap: 24px;
  padding-block: 23px;
  box-shadow: none;
}
.nusantara .nusantara-brand {
  margin: 0 auto 0 0;
  padding: 0;
  max-width: 300px;
  font: 30px/1.2 var(--n-heading-font);
  white-space: normal;
  overflow-wrap: anywhere;
  text-decoration: none;
}
.nusantara-brand img {
  display: block;
  max-height: 64px;
  max-width: 270px;
  width: auto;
  object-fit: contain;
}
.nusantara #nav-menu {
  justify-content: flex-end;
  gap: 24px;
}
.nusantara #primaryNav {
  padding: 0;
  margin: 0;
  gap: 6px;
  flex-wrap: wrap;
}
.nusantara #primaryNav .nav-link {
  padding: 12px;
  color: var(--n-heading);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.nusantara #primaryNav .nav-link:hover {
  text-decoration: underline;
}
.nusantara .dropdown-menu {
  border: 1px solid var(--n-line);
  border-radius: 0;
  background: #fff;
  box-shadow: 0 10px 24px #30212a15;
  min-width: 210px;
  padding: 8px;
}
.nusantara .dropdown-item {
  color: var(--n-heading);
  font-size: 14px;
  padding: 11px 12px;
  white-space: normal;
}
.nusantara .dropdown-item:hover,
.nusantara .dropdown-item:focus {
  background: var(--n-paper);
}
.nusantara-search {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 8px 0 8px 18px;
  border-left: 1px solid var(--n-line);
  font-size: 14px;
  text-decoration: none;
}
.nusantara .navbar-toggler {
  width: 44px;
  height: 44px;
  padding: 6px;
  border: 1px solid var(--n-line);
  border-radius: 0;
  color: var(--n-heading);
  font-size: 24px;
}
.nusantara-icon {
  display: inline-block;
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  vertical-align: middle;
}
.nusantara-hero {
  position: relative;
  isolation: isolate;
  background: var(--n-paper);
}
.nusantara-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  width: 28%;
  background: var(--n-accent);
}
.nusantara-hero-grid {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: clamp(38px, 5vw, 80px);
  align-items: center;
  padding-block: 58px 64px;
}
.nusantara-hero-grid::before {
  content: "";
  position: absolute;
  z-index: -10;
  inset: 0 calc((100vw - 100%) / -2) 0 0;
  background: var(
    --n-hero-background,
    url("../assets/images/back.jpg") top left / auto repeat
  );
  opacity: 0.2;
  pointer-events: none;
}
.nusantara-cover-stage {
  min-width: 0;
  padding-left: 20px;
}
.nusantara-cover-link {
  display: block;
  max-width: 285px;
  margin: 0;
  text-decoration: none;
}
.nusantara-cover {
  display: block;
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  border: solid 8px var(--n-accent);
}
.nusantara-cover-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  min-height: 385px;
  aspect-ratio: 3/4;
  padding: 32px 26px;
  color: var(--n-primary-contrast);
  background: var(--n-primary);
  border-left: 9px solid #00000022;
  box-shadow: 5px 10px 16px #36252324;
  overflow-wrap: anywhere;
}
.nusantara-cover-name {
  font: 35px/1.1 var(--n-heading-font);
  letter-spacing: -0.045em;
}
.nusantara-cover-rule {
  width: 44px;
  height: 2px;
  background: var(--n-accent);
  margin-top: auto;
}
.nusantara-cover-placeholder strong {
  font: 20px/1.35 var(--n-heading-font);
}
.nusantara-cover-placeholder > span:last-child {
  font-size: 12px;
  letter-spacing: 0.12em;
}
.nusantara-cover-caption {
  display: flex;
  justify-content: center;
  gap: 14px;
  min-height: 44px;
  align-items: center;
  margin-top: 20px;
  font-size: 12px;
  text-decoration: none;
  color: var(--n-ink) !important;
}
.nusantara-rail {
  display: none;
}
.nusantara-hero-copy {
  min-width: 0;
}
.nusantara .nusantara-eyebrow {
  margin: 0 0 12px;
  color: var(--n-heading);
  font: 500 11px/1.6 var(--n-body-font);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.nusantara-hero h1 {
  margin: 0 0 22px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.nusantara-hero-meta {
  margin: 0 0 26px;
}
.nusantara-hero-meta > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0 8px;
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.6;
}
.nusantara-hero-meta dt {
  font-weight: 500;
}
.nusantara-hero-meta dt::after {
  content: ":";
}
.nusantara-hero-meta dd {
  margin: 0;
  min-width: 0;
}
.nusantara-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.nusantara .nusantara-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 23px;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--n-accent);
  color: var(--n-accent-contrast);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.nusantara .nusantara-button:hover {
  box-shadow: 0 4px 0 #00000018;
  transform: translateY(-2px);
}
.nusantara .nusantara-button-outline {
  background: transparent;
  color: var(--n-heading);
  border-color: var(--n-heading);
}
.nusantara .nusantara-button-primary {
  background: var(--n-primary);
  color: var(--n-primary-contrast);
}
.nusantara-intro {
  margin-top: 28px;
  padding-top: 25px;
  border-top: 1px solid var(--n-line);
  font-size: 14px;
  line-height: 1.8;
}
.nusantara-intro p {
  margin-bottom: 6px;
}
.nusantara-intro > a {
  display: inline-flex;
  gap: 12px;
  padding: 5px 0;
  font-size: 12px;
}
.nusantara-jump {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--n-primary);
  color: var(--n-primary-contrast);
}
.nusantara-jump-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-height: 72px;
  gap: 12px 28px;
  padding-block: 12px;
}
.nusantara-jump-label {
  font-size: 11px;
  letter-spacing: 0.04em;
}
.nusantara-jump-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
}
.nusantara-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--n-primary-contrast);
  font-size: 13px;
  text-decoration: none;
}
.nusantara-jump a:hover {
  text-decoration: underline;
}
.nusantara-jump-search {
  margin-left: auto;
  gap: 9px;
}
.nusantara-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 255px;
  align-items: start;
  gap: clamp(36px, 5vw, 80px);
  padding-block: 60px 72px;
}
.nusantara-primary {
  min-width: 0;
}
.nusantara-section {
  margin-bottom: 56px;
  scroll-margin-top: calc(var(--n-header-height) + 24px);
}
.nusantara-section:focus,
.nusantara-section:focus-visible {
  outline: none;
}
.nusantara-details,
.nusantara-current,
.nusantara-resources {
  position: relative;
  isolation: isolate;
  overflow: visible;
}
.nusantara-details::after,
.nusantara-current::after,
.nusantara-resources::after {
  display: none;
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: -40px;
  width: 60px;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #eaeaea60;
  opacity: 1;
  will-change: transform;
  font: 700 70px/0.85 var(--n-heading-font);
  letter-spacing: -0.05em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.nusantara-details::after {
  content: "ABOUT";
}
.nusantara-current::after {
  content: "LATEST";
}
.nusantara-resources::after {
  content: "AUTHOR";
}
@media (min-width: 992px) {
  .nusantara-details::after,
  .nusantara-current::after,
  .nusantara-resources::after {
    display: flex;
  }
}
@media (min-width: 1280px) {
  .nusantara-details::after,
  .nusantara-current::after,
  .nusantara-resources::after {
    left: calc(600px - 50vw);
  }
}
.nusantara-details > *,
.nusantara-current > *,
.nusantara-resources > * {
  position: relative;
  z-index: 1;
}
.nusantara-section h2 {
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
}
.nusantara-section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}
.nusantara-section-heading h2 {
  margin: 0;
}
.nusantara .nusantara-text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 13px;
}
.nusantara-issue-heading {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 24px;
  background: var(--n-paper);
  border-left: 3px solid var(--n-accent);
}
.nusantara-issue-heading h3 {
  font-size: 24px;
  line-height: 1.3;
  margin: 0 0 10px;
}
.nusantara-issue-heading h3 a {
  text-decoration: none;
}
.nusantara-issue-heading p {
  margin-bottom: 0;
  font-size: 12px;
  color: var(--n-muted);
}
.nusantara-issue-cover {
  display: block;
  flex: 0 0 clamp(64px, 8vw, 100px);
}
.nusantara-issue-cover img {
  display: block;
  width: 100%;
  height: auto;
}
.nusantara-issue-info {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.nusantara-issue-info h3 {
  font-family: var(--n-body-font) !important;
}
.nusantara-issue-description {
  margin-top: 14px;
  font-size: 14px;
}
.nusantara .nusantara-issue-toc-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.nusantara .nusantara-issue-toc-cover {
  width: auto;
  margin: 0;
  padding: 0;
}
.nusantara .nusantara-issue-toc-cover .cover,
.nusantara .nusantara-issue-toc-cover img {
  display: block;
}
.nusantara .nusantara-issue-toc-cover img {
  width: auto;
  height: 200px;
  max-width: 100%;
  object-fit: contain;
  border: 5px solid var(--n-secondary, var(--n-accent));
}
.nusantara .nusantara-issue-toc-heading .issue-details {
  width: 100%;
}
.nusantara .nusantara-issue-toc-heading .published {
  margin-bottom: 12px;
}
.nusantara .nusantara-issue-toc-heading .issue-title {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.2;
}
.nusantara .nusantara-issue-toc-heading .description {
  max-width: 850px;
}
.nusantara .issue-toc .page-header {
  margin: 24px 0 0;
  border: 0;
  padding: 0;
}
.nusantara .issue-toc .page-header h2 {
  font: 500 12px/1.5 var(--n-heading-font);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0;
}
.nusantara .article-details > header .page-header {
  font-weight: 700;
}
.nusantara .article-sidebar .cover-image img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 160px;
  object-fit: contain;
  border: 5px solid var(--n-secondary, var(--n-accent));
}
.nusantara .article-sidebar .download {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}
.nusantara .article-sidebar .download .btn {
  margin: 0;
  border: 1px solid var(--n-line);
  background: #fff;
  color: var(--n-heading);
}
.nusantara-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.nusantara-keyword {
  padding: 0.5rem;
  background: var(--n-secondary, var(--n-accent));
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.nusantara-article-doi-details {
  overflow-wrap: anywhere;
}
.nusantara-article-usage,
.nusantara-external-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px;
}
.nusantara-usage-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 110px;
  padding: 12px;
  background: color-mix(in srgb, var(--n-secondary) 10%, white);
}
.nusantara-usage-stat svg {
  flex: 0 0 20px;
  color: var(--n-secondary, var(--n-accent));
}
.nusantara-usage-stat strong,
.nusantara-usage-stat span {
  display: block;
}
.nusantara-usage-stat strong {
  font-size: 20px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.nusantara-usage-stat span {
  color: var(--n-muted);
  font-size: 12px;
}
.nusantara-metric-card {
  display: flex;
  flex: 1 1 110px;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 14px 10px;
  border: 1px solid var(--n-line);
  background: var(--n-paper);
}
.nusantara-metric-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 72px;
}
.nusantara-metric-card > p {
  margin: auto 0 0;
  font-size: 12px;
  text-align: center;
}
.nusantara .article-sidebar .article-more-details {
  display: grid;
  gap: 14px;
  width: 100%;
  margin-top: 18px;
}
.nusantara .article-sidebar .article-more-details .card {
  width: 100%;
  margin: 0;
  border: 1px solid var(--n-line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  overflow: visible;
}
.nusantara .article-sidebar .article-more-details .card-header {
  padding: 12px 14px;
  border-bottom: 1px solid var(--n-line);
  background: color-mix(in srgb, var(--n-secondary) 8%, white);
}
.nusantara .article-sidebar .article-more-details .card-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
}
.nusantara .article-sidebar .article-more-details .card-body {
  padding: 14px;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.nusantara .article-sidebar .article-more-details .biography + .biography {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--n-line);
}
.nusantara .article-sidebar .article-more-details .biography-author {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.4;
}
.nusantara .article-sidebar .how-to-cite .btn-group > .btn {
  padding: 8px 10px;
  border: 1px solid var(--n-line);
  background: #fff;
}
.nusantara .article-sidebar .how-to-cite .btn-group + .btn-group {
  margin-top: 8px;
}
.nusantara .article-sidebar .how-to-cite .btn-group:hover > .dropdown-menu {
  display: none !important;
}
.nusantara .article-sidebar .how-to-cite .btn-group.open > .dropdown-menu,
.nusantara .article-sidebar .how-to-cite .btn-group.show > .dropdown-menu {
  display: block !important;
}
.nusantara .article-main .article-summary > h2,
.nusantara .article-main .nusantara-article-keywords > h2,
.nusantara .article-main .article-references > h2 {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.35;
}
.nusantara .article-main .nusantara-article-keywords {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--n-line);
}
.nusantara .article-main .article-references {
  min-width: 0;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--n-line);
  overflow-wrap: anywhere;
}
.nusantara .article-main .article-references-content p {
  margin-bottom: 14px;
}
.nusantara-orcid-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.nusantara-orcid-link .nusantara-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}
@media (min-width: 768px) {
  .nusantara .article-details > .row > .article-sidebar {
    order: 2;
  }
  .nusantara .article-details > .row > .article-sidebar + .col-md-8 {
    order: 1;
  }
}
.nusantara .page_issue_archive .issues {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px 24px;
}
.nusantara .page_issue_archive .issue-summary {
  display: flex;
  min-width: 0;
  margin: 0;
  flex-direction: column;
}
.nusantara .page_issue_archive .issue-summary .media-left {
  display: block;
  margin: 0 0 18px;
  padding: 0;
}
.nusantara .page_issue_archive .issue-summary .cover {
  display: block;
}
.nusantara .page_issue_archive .issue-summary .media-object {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 200px;
  margin: 0;
  object-fit: contain;
}
.nusantara .page_issue_archive .issue-summary .media-body {
  width: 100%;
  min-width: 0;
}
.nusantara .page_issue_archive .issue-summary-date {
  margin: 8px 0 14px;
  color: var(--n-muted);
  font-size: 13px;
  line-height: 1.5;
}
@media (min-width: 768px) {
  .nusantara .page_issue_archive .issues {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 992px) {
  .nusantara .page_issue_archive .issues {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.nusantara .article-summary {
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--n-line);
}
.nusantara .article-summary .media-heading {
  font-size: 23px;
  line-height: 1.35;
  margin-bottom: 10px;
  font-weight: 500;
}
.nusantara .article-summary .media-heading a {
  color: var(--n-dark);
  text-decoration: none;
}
.nusantara .article-summary .authors,
.nusantara .article-summary .pages {
  color: var(--n-muted);
  font-size: 13px;
}
.nusantara .article-summary .cover img {
  max-width: 100px;
}
.nusantara .article-summary .btn,
.nusantara .galleys .btn {
  margin-top: 12px;
  padding: 5px 10px;
  border: 1px solid var(--n-line);
  background: #fff;
  color: var(--n-heading);
  font-size: 12px;
}
.nusantara .galley-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}
.nusantara .galley-link .nusantara-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}
.nusantara .galley-link:hover {
  border-color: var(--n-primary);
  background: var(--n-primary);
  color: #fff;
  text-decoration: none !important;
}
.nusantara-richtext {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.85;
}
.nusantara-richtext > :last-child {
  margin-bottom: 0;
}
.nusantara-richtext table {
  max-width: 100%;
  width: 100% !important;
  table-layout: fixed;
}
.nusantara-richtext td,
.nusantara-richtext th {
  padding: 10px;
  overflow-wrap: anywhere;
}
.nusantara-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 28px 0 0;
}
.nusantara-facts:empty {
  display: none;
}
.nusantara-facts dt {
  font-size: 12px;
  font-weight: 500;
  color: var(--n-muted);
}
.nusantara-facts dd {
  font-size: 14px;
  margin-bottom: 0;
}
.nusantara .nusantara-resource-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
  padding: 18px 0;
  border-top: 1px solid var(--n-line);
  scroll-margin-top: calc(var(--n-header-height) + 24px);
  color: var(--n-dark);
  font: 23px/1.4 var(--n-body-font);
  text-decoration: none;
}
.nusantara-resource-link:last-child {
  border-bottom: 1px solid var(--n-line);
}
.nusantara .nusantara-resource-link:hover {
  text-decoration: underline;
}
.nusantara-resource-link > span {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--n-primary-contrast);
  background: var(--n-primary);
  font: 20px/1 sans-serif;
}
.nusantara-sidebar {
  padding: 0 24px 24px;
  background: var(--n-paper);
  border-radius: 0px 0px 10px 10px;
}
.nusantara-sidebar > h2 {
  margin: 0 -24px 12px;
  padding: 14px 18px;
  background: var(--n-primary);
  color: var(--n-primary-contrast);
  font: 500 11px/1.5 var(--n-heading-font);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  border-radius: 10px 10px 0px 0px;
}
.nusantara-sidebar > a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid var(--n-line);
  font-size: 15px !important;
  font-weight: 500 !important;
  text-decoration: none;
}
.nusantara-sidebar > a:hover {
  text-decoration: underline;
}
.nusantara-ojs-blocks {
  margin-top: 24px;
}
.nusantara-ojs-blocks .pkp_block {
  padding: 18px 0;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.nusantara-ojs-blocks .pkp_block .title {
  font: 21px var(--n-heading-font);
}
.nusantara .pkp_structure_sidebar {
  padding-top: 48px;
}
.nusantara .pkp_structure_sidebar .pkp_block {
  padding: 24px;
  margin-bottom: 24px;
  background: var(--n-paper);
}
.nusantara .pkp_structure_sidebar ul {
  list-style: none;
  padding-left: 0;
}
.nusantara-additional,
.nusantara .cmp_announcements {
  margin-top: 48px;
}
.nusantara .cmp_announcements {
  width: 100%;
  margin-right: 0;
  margin-left: 0;
}
.nusantara .cmp_announcements > h2,
.nusantara .cmp_announcements .announcement-summary .media-heading {
  position: static !important;
  top: auto;
  left: auto !important;
  width: auto;
  height: auto;
  clip: auto !important;
}
.nusantara .cmp_announcements > h2 {
  margin: 0 0 24px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.035em;
}
.nusantara .cmp_announcements .announcement-summary .media-heading {
  margin: 0 0 12px;
}
.nusantara .nusantara-announcements-list > article {
  float: none;
  width: 100%;
  margin: 0;
}
.nusantara .nusantara-announcements-list > article + article {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--n-line);
}
.nusantara .nusantara-announcements-list .obj_announcement_summary h3 {
  margin: 0 0 8px;
  font-size: 20px;
}
.nusantara .nusantara-announcements-all {
  display: inline-flex;
  margin-top: 24px;
}
.nusantara-explore {
  background: var(--n-accent);
  color: var(--n-accent-contrast);
}
.nusantara-explore-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 38px;
}
.nusantara-explore .nusantara-eyebrow {
  color: inherit;
  font-size: 12px;
  margin-bottom: 3px;
}
.nusantara-explore h2 {
  color: inherit;
  font-size: 38px;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.035em;
}
.nusantara-explore .nusantara-text-link {
  color: inherit;
}

/* FOOTER */
#explore-title {
  font-family: var(--n-body-font) !important;
}

.nusantara-footer {
  position: relative;
  isolation: isolate;
  padding: 66px 0 24px;
  color: var(--n-footer-contrast);
  background: var(--n-footer);
  overflow: hidden;
}
.nusantara-footer-watermark {
  position: absolute;
  z-index: -1;
  bottom: 0;
  left: -40px;
  font: 700 240px/0.9 var(--n-heading-font);
  white-space: nowrap;
  color: inherit;
  opacity: 0.035;
  pointer-events: none;
}
.nusantara-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
}
.nusantara .nusantara-footer-brand {
  display: inline-block;
  margin-bottom: 18px;
  font: 600 clamp(32px, 3.1vw, 48px)/1.1 var(--n-body-font);
  letter-spacing: -0.055em;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.nusantara-footer-brand > span {
  color: var(--n-accent);
}
.nusantara-footer p,
.nusantara-address {
  font-size: 13px;
  margin-bottom: 8px;
}
.nusantara-footer a {
  color: inherit;
}
.nusantara-footer nav a {
  display: block;
  padding: 7px 0;
  font-size: 13px;
  text-decoration: none;
  line-height: 1.65;
}
.nusantara-footer nav a:hover {
  text-decoration: underline;
}
.nusantara .nusantara-footer nav h2 {
  color: inherit;
  font: 500 14px/1.4 var(--n-heading-font);
  padding: 0 0 18px;
  margin: 0 0 13px;
  border-bottom: 1px solid currentColor;
}
.nusantara-footer-identity {
  min-width: 0;
}
.nusantara-footer-email,
.nusantara-footer-contact {
  display: block;
  font-size: 13px;
  overflow-wrap: anywhere;
  padding: 5px 0;
}
.nusantara-footer-custom {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid currentColor;
  font-size: 13px;
}
.nusantara-footer-custom h1,
.nusantara-footer-custom h2,
.nusantara-footer-custom h3 {
  color: inherit;
}
.nusantara-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 26px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid currentColor;
  font-size: 11px;
}
.nusantara-footer-bottom > span {
  margin-right: auto;
}
.nusantara-footer-bottom a {
  padding: 8px 0;
}
.nusantara-empty {
  margin: 0 0 48px;
  padding: 24px;
  background: var(--n-paper);
  color: var(--n-muted);
}
@media (min-width: 992px) {
  .nusantara-rail {
    display: block;
    position: absolute;
    inset: 0 auto 0 0;
    width: 60px;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
  }
  .nusantara-rail-text {
    display: block;
    position: absolute;
    top: 12px;
    left: 50%;
    writing-mode: vertical-rl;
    transform: translateX(-50%) translateY(var(--rail-offset, 0px))
      rotate(180deg);
    color: #eaeaea60;
    opacity: 1;
    font: 700 70px/0.85 var(--n-heading-font);
    letter-spacing: -0.05em;
    text-transform: uppercase;
    white-space: nowrap;
  }
}
@media (max-width: 991.98px) {
  .nusantara .nusantara-container {
    width: calc(100% - 48px);
  }
  .nusantara .nusantara-brand {
    max-width: calc(100% - 70px);
  }
  .nusantara-brand img {
    max-width: 100%;
    max-height: 56px;
  }
  .nusantara #nav-menu {
    flex-basis: 100%;
  }
  .nusantara #primaryNav {
    padding-top: 16px;
  }
  .nusantara #primaryNav .nav-link {
    padding: 12px 0;
    min-height: 44px;
  }
  .nusantara-search {
    padding-left: 0;
    border: 0;
    margin-top: 8px;
  }
  .nusantara-hero-grid {
    grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
    gap: 30px;
    padding-block: 38px;
  }
  .nusantara-cover-stage {
    padding-left: 0;
  }
  .nusantara-cover-placeholder {
    min-height: 310px;
    padding: 24px 18px;
  }
  .nusantara-cover-name {
    font-size: 30px;
  }
  .nusantara-hero h1 {
    font-size: 46px;
  }
  .nusantara-body-grid {
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 28px;
    padding-block: 44px;
  }
  .nusantara-jump-inner {
    gap: 8px 18px;
  }
  .nusantara-jump-links {
    gap: 6px 16px;
  }
  .nusantara-footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
  }
  .nusantara-footer-identity {
    grid-column: 1/-1;
    max-width: 480px;
  }
  .nusantara-explore-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }
}
@media (max-width: 767.98px) {
  .nusantara .nusantara-container {
    width: calc(100% - 40px);
  }
  .nusantara-hero::before {
    width: 100%;
    height: 185px;
  }
  .nusantara-hero-grid {
    grid-template-columns: 1fr;
    padding-block: 32px 36px;
  }
  .nusantara-cover-link {
    max-width: 180px;
  }
  .nusantara-cover {
    max-height: 270px;
  }
  .nusantara-cover-placeholder {
    min-height: 250px;
    padding: 20px 16px;
    gap: 16px;
  }
  .nusantara-cover-name {
    font-size: 27px;
  }
  .nusantara-cover-placeholder strong {
    font-size: 16px;
  }
  .nusantara-cover-caption {
    margin-top: 6px;
  }
  .nusantara-hero h1 {
    font-size: 46px;
  }
  .nusantara-intro {
    margin-top: 22px;
    padding-top: 20px;
  }
  .nusantara-jump-label {
    display: none;
  }
  .nusantara-jump-inner {
    padding-block: 6px;
    gap: 0 12px;
  }
  .nusantara-jump-links {
    flex: 1;
    gap: 0 16px;
  }
  .nusantara-jump a {
    font-size: 12px;
  }
  .nusantara-jump-search {
    margin-left: 0;
  }
  .nusantara-body-grid {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 36px;
  }
  .nusantara-section {
    margin-bottom: 36px;
  }
  .nusantara-section h2 {
    font-size: 30px;
  }
  .nusantara-sidebar {
    padding: 0 20px 20px;
  }
  .nusantara-sidebar > h2 {
    margin-inline: -20px;
  }
  .nusantara-explore-inner {
    padding-block: 30px;
  }
  .nusantara-explore h2 {
    font-size: 32px;
  }
  .nusantara-footer {
    padding-top: 38px;
  }
  .nusantara-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .nusantara-footer-identity {
    grid-column: auto;
  }
  .nusantara-footer nav a {
    min-height: 44px;
    padding: 10px 0;
  }
  .nusantara-footer nav h2 {
    padding-bottom: 12px !important;
    margin-bottom: 6px !important;
  }
  .nusantara-footer-watermark {
    font-size: 170px;
  }
  .nusantara-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .nusantara .pkp_structure_main {
    padding-right: 0;
  }
}
@media (max-width: 374.98px) {
  .nusantara .nusantara-button {
    padding-inline: 16px;
    gap: 14px;
  }
  .nusantara-hero h1 {
    font-size: 39px;
  }
  .nusantara-hero-meta > div {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nusantara *,
  .nusantara *::before,
  .nusantara *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
  .nusantara-rail-text {
    --rail-offset: 0px !important;
  }
  .nusantara-details,
  .nusantara-current,
  .nusantara-resources {
    --section-rail-offset: 0px !important;
  }
}

/* Search is anchored to the full-width header, outside the constrained navbar. */
@keyframes nusantaraSearchReveal {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes nusantaraSearchContentReveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.nusantara-search-panel:not([hidden]) {
  animation: nusantaraSearchReveal 0.38s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.nusantara-search-panel:not([hidden]) .nusantara-search-heading {
  animation: nusantaraSearchContentReveal 0.42s 0.08s
    cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.nusantara-search-panel:not([hidden]) .nusantara-search-form {
  animation: nusantaraSearchContentReveal 0.45s 0.14s
    cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.nusantara-search-panel {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: calc(100dvh - var(--n-header-height));
  overflow-y: auto;
  padding: 24px 0 28px;
  background: var(--n-paper);
  border-top: 1px solid var(--n-line);
  border-bottom: 3px solid var(--n-primary);
  box-shadow: 0 16px 28px #30212a20;
}
.nusantara-search-panel[hidden],
.nusantara-scroll-top[hidden] {
  display: none;
}
.nusantara-search-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}
.nusantara-search-heading h2 {
  margin: 0;
  font-size: 28px;
}
.nusantara-search-close {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  height: 44px;
  border: 1px solid var(--n-line);
  border-radius: 6px;
  background: #fff;
  color: var(--n-heading);
  font-size: 26px;
}
.nusantara-search-form {
  display: flex;
  gap: 12px;
}
.nusantara-search-form .form-control {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  font: inherit;
  border-color: var(--n-line);
}
.nusantara-search-form .nusantara-button {
  flex-shrink: 0;
}
.nusantara .nusantara-scroll-top {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 1020;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--n-accent);
  border-radius: 6px;
  background: var(--n-primary);
  color: var(--n-primary-contrast);
  font-size: 24px;
  box-shadow: 0 4px 16px #30212a24;
}
.nusantara .nusantara-scroll-top[hidden] {
  display: none;
}
.nusantara-hero-identifiers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-bottom: 16px;
}
.nusantara .nusantara-hero-identifiers .nusantara-eyebrow {
  margin: 0;
}
.nusantara-hero-identifiers a {
  font-size: 12px;
  white-space: nowrap;
}
.nusantara-hero-without-cover::before {
  display: none;
}
.nusantara-hero-without-cover .nusantara-hero-grid {
  grid-template-columns: minmax(0, 1fr);
  padding-left: 40px;
}
.nusantara-hero-without-cover .nusantara-hero-copy {
  max-width: 940px;
}
@media (max-width: 991.98px) {
  .nusantara #nav-menu {
    max-height: 55dvh;
    overflow-y: auto;
  }
  .nusantara-hero-without-cover .nusantara-hero-grid {
    padding-left: 0;
  }
}
@media (max-width: 575.98px) {
  .nusantara-search-form {
    flex-wrap: wrap;
  }
  .nusantara-search-form .form-control {
    flex-basis: 100%;
  }
  .nusantara-search-form .nusantara-button {
    width: 100%;
  }
}

/* Only the main navigation sticks; account navigation scrolls with the page. */
.nusantara-utility {
  position: relative;
  z-index: 10002;
}
.nusantara .dropdown-menu {
  z-index: 10000;
}
.nusantara-header {
  --n-logo-height: 64px;
  --n-logo-scale: 1;
}
.nusantara .nusantara-brand img {
  max-height: calc(var(--n-logo-height) * var(--n-logo-scale));
  max-width: min(100%, calc(270px * var(--n-logo-scale)));
  transition:
    max-height 0.2s ease,
    max-width 0.2s ease;
}
.nusantara-header.is-compact {
  --n-logo-scale: 0.5;
}
.nusantara .nusantara-header.is-compact {
  background: var(--n-paper);
  background: color-mix(in srgb, var(--n-primary) 10%, white);
}
.nusantara .nusantara-header.is-compact .nusantara-navbar {
  padding-block: 0;
}
.nusantara #current-issue-title,
.nusantara #journal-details-title,
.nusantara #journal-resources-title {
  font-weight: 700;
}
@keyframes nusantaraFadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.nusantara-reveal-pending {
  opacity: 0;
}
.nusantara-reveal {
  animation: nusantaraFadeInUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  animation-delay: var(--n-reveal-delay, 0s);
}
@media (max-width: 991.98px) {
  .nusantara-header {
    --n-logo-height: 56px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nusantara-reveal-pending {
    opacity: 1;
  }
  .nusantara-reveal {
    animation: none !important;
  }
  .nusantara .nusantara-brand img {
    transition: none;
  }
}

/* Article metadata follows the galley links and wraps on narrow screens. */
.nusantara-article-metadata {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 20px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--n-muted);
}
.nusantara-article-doi {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.nusantara-article-stat {
  white-space: nowrap;
}
.nusantara-article-pages {
  margin-inline-start: auto;
  overflow-wrap: anywhere;
}

.text-work-sans {
  font-family: var(--n-body-font);
}
.text-libre-baskerville {
  font-family: var(--n-heading-font);
}

/* ====================================================================
   ACCESSIBILITY TOOLBAR (inline in utility bar / navbar)
   ==================================================================== */
.nusantara-a11y-toolbar {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
/* Navbar slot — hidden by default, shown when toolbar moves here */
.nusantara-a11y-navbar-slot {
  display: none;
}
.nusantara-a11y-navbar-slot .nusantara-a11y-toolbar {
  margin-right: auto;
  margin-left: 16px;
}
/* When toolbar is in the navbar slot */
.nusantara-a11y-navbar-slot:has(.nusantara-a11y-toolbar) {
  display: flex;
  align-items: center;
}
/* Buttons — base (works on dark utility bar bg) */
.nusantara-a11y-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 28px;
  padding: 0 7px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--n-primary-contrast);
  font: 600 12px/1 var(--n-body-font);
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s;
  white-space: nowrap;
}
.nusantara-a11y-btn:hover,
.nusantara-a11y-btn:focus-visible {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.45);
}
.nusantara-a11y-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.nusantara-a11y-sep {
  width: 1px;
  height: 18px;
  margin: 0 3px;
  background: rgba(255, 255, 255, 0.2);
}
/* When toolbar is inside the navbar → invert colors for light bg */
.nusantara-a11y-navbar-slot .nusantara-a11y-btn {
  border-color: var(--n-line);
  background: var(--n-paper);
  color: var(--n-heading);
}
.nusantara-a11y-navbar-slot .nusantara-a11y-btn:hover,
.nusantara-a11y-navbar-slot .nusantara-a11y-btn:focus-visible {
  background: var(--n-line);
  border-color: var(--n-heading);
}
.nusantara-a11y-navbar-slot .nusantara-a11y-sep {
  background: var(--n-line);
}

/* Dark-mode toggle icon (sun / moon) */
.nusantara-darkmode-icon {
  display: block;
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
/* Sun icon (default — click to switch to dark) */
.nusantara-darkmode-icon {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Cline x1='12' y1='1' x2='12' y2='3'/%3E%3Cline x1='12' y1='21' x2='12' y2='23'/%3E%3Cline x1='4.22' y1='4.22' x2='5.64' y2='5.64'/%3E%3Cline x1='18.36' y1='18.36' x2='19.78' y2='19.78'/%3E%3Cline x1='1' y1='12' x2='3' y2='12'/%3E%3Cline x1='21' y1='12' x2='23' y2='12'/%3E%3Cline x1='4.22' y1='19.78' x2='5.64' y2='18.36'/%3E%3Cline x1='18.36' y1='5.64' x2='19.78' y2='4.22'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Cline x1='12' y1='1' x2='12' y2='3'/%3E%3Cline x1='12' y1='21' x2='12' y2='23'/%3E%3Cline x1='4.22' y1='4.22' x2='5.64' y2='5.64'/%3E%3Cline x1='18.36' y1='18.36' x2='19.78' y2='19.78'/%3E%3Cline x1='1' y1='12' x2='3' y2='12'/%3E%3Cline x1='21' y1='12' x2='23' y2='12'/%3E%3Cline x1='4.22' y1='19.78' x2='5.64' y2='18.36'/%3E%3Cline x1='18.36' y1='5.64' x2='19.78' y2='4.22'/%3E%3C/svg%3E");
}
/* Moon icon (when dark mode is active) */
#nusantara-darkmode-toggle[aria-pressed="true"] .nusantara-darkmode-icon {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12.79A9 9 0 1111.21 3a7 7 0 009.79 9.79z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12.79A9 9 0 1111.21 3a7 7 0 009.79 9.79z'/%3E%3C/svg%3E");
}

/* ====================================================================
   FONT-SIZE SCALING (applied via CSS custom property on body)
   ==================================================================== */
body.nusantara {
  --n-font-scale: 1;
  font-size: calc(16px * var(--n-font-scale));
}
/* Scale text-bearing elements that use hardcoded px sizes */
body.nusantara p,
body.nusantara a,
body.nusantara span,
body.nusantara small,
body.nusantara li,
body.nusantara dd,
body.nusantara dt,
body.nusantara td,
body.nusantara th,
body.nusantara label,
body.nusantara blockquote {
  font-size: calc(1em * var(--n-font-scale, 1));
}
/* Prevent double-scaling for nested inline elements */
body.nusantara p span,
body.nusantara p small,
body.nusantara p a,
body.nusantara a span,
body.nusantara a small,
body.nusantara li span,
body.nusantara li small,
body.nusantara li a,
body.nusantara li p,
body.nusantara small span,
body.nusantara small a,
body.nusantara span span,
body.nusantara span small,
body.nusantara span a,
body.nusantara td span,
body.nusantara td p,
body.nusantara td small,
body.nusantara td a,
body.nusantara th span,
body.nusantara th a,
body.nusantara dd span,
body.nusantara dd p,
body.nusantara dd a,
body.nusantara dt span,
body.nusantara dt a,
body.nusantara label span,
body.nusantara label a {
  font-size: inherit;
}
/* Exclude toolbar and nav elements from text scaling */
.nusantara-a11y-toolbar span,
.nusantara-a11y-toolbar small,
.nusantara #navigationUser span,
.nusantara #navigationUser a,
.nusantara #primaryNav span,
.nusantara #primaryNav a,
.nusantara .navbar-toggler span,
.nusantara .nusantara-brand,
.nusantara .nusantara-search {
  font-size: revert;
}
/* Keep the decorative hero rail at 70px while respecting body font scaling. */
body.nusantara .nusantara-rail-text {
  font-size: 4.375em;
}
/* Restore the decorative footer watermark after the global span scaling rule. */
body.nusantara .nusantara-footer-watermark {
  font-size: 15em;
}
@media (max-width: 767.98px) {
  body.nusantara .nusantara-footer-watermark {
    font-size: 10.625em;
  }
}

/* Journal galley viewer: share the active Nusantara palette. */
.pkp_page_article.pkp_op_view .header_view {
  position: relative;
  z-index: 2;
  height: 48px;
  background: var(--n-primary);
  box-shadow: 0 2px 12px rgba(var(--n-primary-rgb), 0.24);
  font-family: "Work Sans", sans-serif;
}
.pkp_page_article.pkp_op_view .header_view a {
  min-height: 48px;
  line-height: 48px;
  color: var(--n-primary-contrast);
  text-decoration: none;
  transition: background-color 0.18s ease;
}
.pkp_page_article.pkp_op_view .header_view .return {
  width: 48px;
  height: 48px;
  background: color-mix(in srgb, var(--n-primary) 82%, white);
  color: var(--n-primary-contrast);
}
.pkp_page_article.pkp_op_view .header_view .title {
  padding: 0 156px 0 62px;
  overflow: hidden;
  color: var(--n-primary-contrast);
  font-size: 15px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pkp_page_article.pkp_op_view .header_view .download {
  width: auto;
  min-width: 132px;
  padding: 0 20px;
  background: color-mix(in srgb, var(--n-primary) 88%, white);
  color: var(--n-primary-contrast);
  text-align: center;
}
.pkp_page_article.pkp_op_view .header_view a:hover,
.pkp_page_article.pkp_op_view .header_view a:focus-visible {
  background: color-mix(in srgb, var(--n-primary) 72%, white);
  color: var(--n-primary-contrast);
}
.pkp_page_article.pkp_op_view .galley_view iframe {
  box-sizing: border-box;
  padding-top: 48px;
}
@media (max-width: 575.98px) {
  .pkp_page_article.pkp_op_view .header_view,
  .pkp_page_article.pkp_op_view .header_view a {
    height: 44px;
    min-height: 44px;
    line-height: 44px;
  }
  .pkp_page_article.pkp_op_view .header_view .return,
  .pkp_page_article.pkp_op_view .header_view .download {
    width: 44px;
    min-width: 44px;
    padding: 0;
  }
  .pkp_page_article.pkp_op_view .header_view .title {
    padding: 0 54px;
    font-size: 13px;
  }
  .pkp_page_article.pkp_op_view .header_view .download .label {
    display: none;
  }
  .pkp_page_article.pkp_op_view .galley_view iframe {
    padding-top: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pkp_page_article.pkp_op_view .header_view a {
    transition: none;
  }
}

/* ====================================================================
   DARK MODE
   ==================================================================== */
body.nusantara.nusantara-dark {
  --n-dark: #ffffff;
  --n-paper: #1e1c1f;
  --n-ink: #e0dce0;
  --n-muted: #a09aa0;
  --n-line: #3a353a;
  --n-heading: #f0ecf0;
  background: #141214;
  color: var(--n-ink);
}

/* Main structure */
.nusantara-dark .nusantara-main-content {
  background: #141214;
}
.nusantara-dark .nusantara-header {
  background: #1a171a;
  box-shadow: 0 1px 0 var(--n-line);
}
.nusantara-dark .nusantara-header.is-compact {
  background: #1e1c1f;
}
.nusantara-dark .pkp_structure_main {
  background: transparent;
}

/* Utility bar */
.nusantara-dark .nusantara-utility {
  background: color-mix(in srgb, var(--n-primary) 75%, #000);
}

/* Navbar */
.nusantara-dark .nusantara-navbar {
  box-shadow: none;
}
.nusantara-dark .navbar-toggler {
  border-color: var(--n-line);
  color: var(--n-ink);
}

/* Dropdowns */
.nusantara-dark .dropdown-menu {
  background: #242024;
  border-color: var(--n-line);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}
.nusantara-dark .dropdown-item {
  color: var(--n-ink);
}
.nusantara-dark .dropdown-item:hover,
.nusantara-dark .dropdown-item:focus {
  background: #2c282c;
}

/* Hero */
.nusantara-dark .nusantara-hero {
  background: #1a171a;
}
.nusantara-dark .nusantara-hero::before {
  opacity: 0.7;
}
.nusantara-dark .nusantara-hero-grid::before {
  opacity: 0.08;
}
.nusantara-dark .nusantara-cover-placeholder {
  box-shadow: 5px 10px 16px rgba(0, 0, 0, 0.4);
}

/* Sections */
.nusantara-dark .nusantara-issue-heading {
  background: #1e1c1f;
  border-left-color: var(--n-accent);
}

/* Cards and sidebar */
.nusantara-dark .article-sidebar .article-more-details .card {
  background: #1e1c1f;
  border-color: var(--n-line);
}
.nusantara-dark .article-sidebar .article-more-details .card-header {
  background: #242024;
  border-bottom-color: var(--n-line);
}
.nusantara-dark .article-sidebar .download .btn,
.nusantara-dark .article-summary .btn,
.nusantara-dark .galleys .btn {
  background: #242024;
  border-color: var(--n-line);
  color: var(--n-ink);
}
.nusantara-dark .article-sidebar .how-to-cite .btn-group > .btn {
  background: #242024;
  border-color: var(--n-line);
  color: var(--n-ink);
}

/* Article summary */
.nusantara-dark .article-summary {
  border-bottom-color: var(--n-line);
}

/* Usage stats */
.nusantara-dark .nusantara-usage-stat {
  background: #242024;
}
.nusantara-dark .nusantara-metric-card {
  background: #1e1c1f;
  border-color: var(--n-line);
}

/* Related sidebar */
.nusantara-dark .nusantara-sidebar {
  background: #1e1c1f;
}
.nusantara-dark .nusantara-sidebar > a {
  border-bottom-color: var(--n-line);
}

/* OJS blocks */
.nusantara-dark .pkp_structure_sidebar .pkp_block {
  background: #1e1c1f;
}

/* Search panel */
.nusantara-dark .nusantara-search-panel {
  background: #1e1c1f;
  border-top-color: var(--n-line);
}
.nusantara-dark .nusantara-search-close {
  background: #242024;
  border-color: var(--n-line);
  color: var(--n-ink);
}
.nusantara-dark .nusantara-search-form .form-control {
  background: #242024;
  border-color: var(--n-line);
  color: var(--n-ink);
}

/* Footer */
.nusantara-dark .nusantara-footer {
  background: color-mix(in srgb, var(--n-footer) 70%, #000);
}

/* Explore section */
.nusantara-dark .nusantara-explore {
  background: color-mix(in srgb, var(--n-accent) 80%, #000);
}

/* Scroll-to-top */
.nusantara-dark .nusantara-scroll-top {
  background: color-mix(in srgb, var(--n-primary) 80%, #000);
  border-color: color-mix(in srgb, var(--n-primary) 60%, #000);
}

/* Focus ring */
.nusantara-dark a:focus-visible,
.nusantara-dark button:focus-visible,
.nusantara-dark summary:focus-visible,
.nusantara-dark input:focus-visible {
  outline-color: var(--n-accent);
}

/* Links */
.nusantara-dark a {
  color: var(--n-heading);
}
.nusantara-dark .nusantara-cover-caption {
  color: var(--n-ink) !important;
}

/* Breadcrumbs */
.nusantara-dark .cmp_breadcrumbs .breadcrumb a {
  color: var(--n-muted);
}
.nusantara-dark .cmp_breadcrumbs .breadcrumb > li.active {
  color: var(--n-ink);
}

/* Forms (registration, login, etc.) */
.nusantara-dark .form-control,
.nusantara-dark .form-select,
.nusantara-dark textarea.form-control {
  background: #242024;
  border-color: var(--n-line);
  color: var(--n-ink);
}
.nusantara-dark .form-control::placeholder {
  color: var(--n-muted);
}
.nusantara-dark .btn-primary,
.nusantara-dark .btn-default {
  background: var(--n-primary);
  border-color: var(--n-primary);
  color: var(--n-primary-contrast);
}

/* Richtext content */
.nusantara-dark .nusantara-richtext td,
.nusantara-dark .nusantara-richtext th {
  border-color: var(--n-line);
}

/* Resource links */
.nusantara-dark .nusantara-resource-link {
  border-top-color: var(--n-line);
}
.nusantara-dark .nusantara-resource-link:last-child {
  border-bottom-color: var(--n-line);
}

/* Galley link hover */
.nusantara-dark .galley-link:hover {
  background: var(--n-primary);
  border-color: var(--n-primary);
  color: var(--n-primary-contrast);
}

/* Keywords */
.nusantara-dark .nusantara-keyword {
  background: color-mix(in srgb, var(--n-secondary) 70%, #000);
}

/* Ornament rail on inner pages */
.nusantara-dark:not(.nusantara-homepage) main#main-content::after {
  background: color-mix(in srgb, var(--n-primary) 10%, #141214);
}

/* Empty state */
.nusantara-dark .nusantara-empty {
  background: #1e1c1f;
  color: var(--n-muted);
}

/* OJS core overrides — PKP components rendered outside Nusantara scope */
.nusantara-dark .pkp_notification {
  background: #242024;
  border-color: var(--n-line);
  color: var(--n-ink);
}

/* Jump nav */
.nusantara-dark .nusantara-jump {
  background: color-mix(in srgb, var(--n-primary) 80%, #000);
}

/* Section rail watermarks */
.nusantara-dark .nusantara-details::after,
.nusantara-dark .nusantara-current::after,
.nusantara-dark .nusantara-resources::after {
  color: #2a252a60;
}

/* Bootstrap tables */
.nusantara-dark .table,
.nusantara-dark table {
  color: var(--n-ink);
}
.nusantara-dark .table td,
.nusantara-dark .table th,
.nusantara-dark table td,
.nusantara-dark table th {
  border-color: var(--n-line);
}

/* Pagination */
.nusantara-dark .page-link {
  background: #242024;
  border-color: var(--n-line);
  color: var(--n-ink);
}
.nusantara-dark .page-item.active .page-link {
  background: var(--n-primary);
  border-color: var(--n-primary);
  color: var(--n-primary-contrast);
}

/* Issue TOC cover */
.nusantara-dark .nusantara-issue-toc-cover img {
  border-color: color-mix(in srgb, var(--n-secondary) 60%, #000);
}

/* Bootstrap accordion/collapse borders */
.nusantara-dark .accordion-item,
.nusantara-dark details {
  border-color: var(--n-line);
}
.nusantara-dark details summary {
  color: var(--n-heading);
}

/* Bootstrap list-group (article sidebar) */
.nusantara-dark .list-group {
  --bs-list-group-bg: #1e1c1f;
  --bs-list-group-color: var(--n-ink);
  --bs-list-group-border-color: var(--n-line);
}
.nusantara-dark .list-group-item {
  background-color: #1e1c1f;
  color: var(--n-ink);
  border-color: var(--n-line);
}
.nusantara-dark .list-group-item a {
  color: var(--n-heading);
}

/* Bootstrap cards (article sidebar details) */
.nusantara-dark .card {
  background-color: #1e1c1f;
  border-color: var(--n-line);
  color: var(--n-ink);
}
.nusantara-dark .card-header {
  background-color: #242024;
  border-bottom-color: var(--n-line);
  color: var(--n-ink);
}
.nusantara-dark .card-body {
  background-color: #1e1c1f;
  color: var(--n-ink);
}
.nusantara-dark .card-footer {
  background-color: #242024;
  border-top-color: var(--n-line);
}

/* Bootstrap alerts */
.nusantara-dark .alert {
  border-color: var(--n-line);
}
.nusantara-dark .alert-warning {
  background-color: rgba(237, 180, 91, 0.15);
  border-color: rgba(237, 180, 91, 0.3);
  color: #edb45b;
}
.nusantara-dark .alert-info {
  background-color: rgba(100, 160, 220, 0.15);
  border-color: rgba(100, 160, 220, 0.3);
  color: #8cc4f0;
}

/* How-to-cite dropdown / tab-content */
.nusantara-dark .tab-content {
  background-color: #1e1c1f;
  color: var(--n-ink);
}
.nusantara-dark .nav-tabs {
  border-bottom-color: var(--n-line);
}
.nusantara-dark .nav-tabs .nav-link {
  color: var(--n-muted);
}
.nusantara-dark .nav-tabs .nav-link.active {
  background-color: #1e1c1f;
  border-color: var(--n-line) var(--n-line) #1e1c1f;
  color: var(--n-heading);
}

/* Article author details */
.nusantara-dark .article-author-affiliation {
  color: var(--n-muted);
}

/* media (biography) */
.nusantara-dark .media-body {
  color: var(--n-ink);
}

/* ====================================================================
   QUICK SHARE CARD
   ==================================================================== */

.nusantara-share-card {
  margin-top: 20px;
}
.nusantara-share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.nusantara-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 6px;
  border: 1px solid var(--n-line);
  background: var(--n-paper);
  color: var(--n-ink);
  transition: all 0.2s ease;
  text-decoration: none !important;
}
.nusantara-share-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nusantara-share-wa:hover {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}
.nusantara-share-fb:hover {
  background: #1877f2;
  color: #fff;
  border-color: #1877f2;
}
.nusantara-share-in:hover {
  background: #0a66c2;
  color: #fff;
  border-color: #0a66c2;
}
.nusantara-copy-btn:hover {
  background: var(--n-primary);
  color: var(--n-primary-contrast);
  border-color: var(--n-primary);
}
.nusantara-qr-btn:hover {
  background: var(--n-secondary, var(--n-accent));
  color: #fff;
  border-color: var(--n-secondary, var(--n-accent));
}

.nusantara-qr-container {
  margin-top: 16px;
  padding: 16px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--n-line);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.nusantara-qr-container img {
  display: block;
  margin: 0 auto 10px;
  border-radius: 4px;
}
.nusantara-qr-tip {
  margin: 0;
  font-size: 11px;
  color: var(--n-muted);
  line-height: 1.4;
}

/* Dark mode overrides for share card */
.nusantara-dark .nusantara-share-btn {
  background: #242024;
  border-color: var(--n-line);
  color: var(--n-ink);
}
.nusantara-dark .nusantara-qr-container {
  background: #1e1c1f;
  border-color: var(--n-line);
}
