/* Pascasarjana UDB · IC-Garuda public pages */
.pkp_structure_page {
  --ink: #132b4b;
  --muted: #445b73;
  --accent: #006c65;
  --line: #d5e4ee;
  --surface: #fff;
  color: var(--ink);
  background: #f5f9fd;
}

.pkp_structure_page .pkp_structure_head {
  background: radial-gradient(ellipse at 90% 0%, #d8f6ed 0%, transparent 58%),
    linear-gradient(120deg, #fff, #e9f4ff);
  border-bottom: 1px solid #c3dce7;
}

.pkp_site_name_wrapper .pkp_site_name {
  padding-top: clamp(36px, 6vw, 84px);
  padding-bottom: clamp(24px, 4vw, 56px);
}

.pkp_site_name_wrapper .pkp_site_name a {
  display: inline-block;
  color: var(--ink);
  max-width: 30ch;
  font-size: clamp(1.45rem, 2.9vw, 2.65rem);
  line-height: 1.17;
  font-weight: 750;
  letter-spacing: -.035em;
  white-space: normal;
  overflow-wrap: anywhere;
}
.pkp_site_name_wrapper .pkp_site_name a[href*="/ic-garuda"]::before {
  display: block;
  content: "IC-Garuda";
  margin-bottom: .65rem;
  color: var(--accent);
  font-size: .9rem;
  font-weight: 750;
  letter-spacing: .06em;
}

.pkp_navigation_primary > li > a,
.pkp_navigation_user > li > a,
.pkp_navigation_search_wrapper a,
.pkp_site_nav_toggle {
  color: var(--ink);
}
.pkp_site_nav_toggle span,
.pkp_site_nav_toggle span::before,
.pkp_site_nav_toggle span::after {
  background-color: var(--ink);
}
.pkp_navigation_primary > li > a:hover,
.pkp_navigation_user > li > a:hover,
.pkp_navigation_search_wrapper a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.pkp_structure_page .pkp_structure_main h1, .pkp_structure_main h2, .pkp_structure_main h3 {
  color: var(--ink);
  letter-spacing: -.02em;
}
.pkp_structure_page .pkp_structure_main a:not([class]),
.pkp_structure_page .pkp_structure_footer_wrapper a {
  color: var(--accent);
}
.pkp_structure_page :focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.pkp_structure_page .page_index_site .journals,
.page_index_journal .additional_content,
.page_index_journal .current_issue {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid #16988b;
  border-radius: 16px;
  padding: clamp(18px, 4vw, 40px);
  box-shadow: 0 16px 42px rgba(19, 43, 75, .07);
}
.pkp_structure_page .page_index_site .journals h2 { margin-top: 0; }
.pkp_structure_page .page_index_site .journals > ul > li + li { border-top: 1px solid var(--line); }

.pkp_structure_page .pkp_structure_footer_wrapper {
  background: #eaf4fb;
  color: var(--muted);
  border-top: 1px solid #c3dce7;
}
.pkp_brand_footer,
.pkp_structure_footer a[href*="aboutThisPublishingSystem"],
.pkp_structure_footer img[src*="ojs_brand"] { display: none !important; }

@media (max-width: 767px) {
  .pkp_site_name_wrapper .pkp_site_name { padding-inline: 18px; }
  .pkp_navigation_primary_wrapper { background: #eaf5fb; }
  .pkp_structure_page .page_index_site .journals,
  .page_index_journal .additional_content,
  .page_index_journal .current_issue { border-radius: 12px; }
}

/* Editorial typography and reading rhythm */
.pkp_structure_page {
  --editorial-serif: Georgia, "Times New Roman", serif;
  --reading-sans: "Noto Sans", system-ui, sans-serif;
  font-family: var(--reading-sans);
}

.pkp_structure_page .pkp_site_name_wrapper .pkp_site_name a {
  max-width: 33ch;
  font-family: var(--editorial-serif);
  font-size: clamp(1.5rem, 3.5vw, 3.15rem);
  font-weight: 700;
  line-height: 1.12;
  text-wrap: balance;
}

.pkp_structure_page .pkp_site_name a[href*="/ic-garuda"]::before {
  width: fit-content;
  padding: .35rem .65rem;
  border: 1px solid #a5d9ce;
  border-radius: .35rem;
  background: #f3fffb;
  font-family: var(--reading-sans);
  font-size: .83rem;
  letter-spacing: .09em;
}

.pkp_structure_page .pkp_structure_main :is(h1, h2, h3) {
  font-family: var(--editorial-serif);
  line-height: 1.25;
  text-wrap: balance;
}

.pkp_structure_page .pkp_structure_main p {
  line-height: 1.75;
}

.pkp_structure_page .page_index_journal .additional_content h2 {
  font-size: clamp(1.45rem, 3vw, 2.15rem);
}

.pkp_structure_page .page_index_journal .additional_content a {
  text-underline-offset: .2em;
}

/* Keep the title readable over any header artwork. */
.pkp_structure_page .pkp_structure_head .pkp_site_name_wrapper .pkp_site_name a.is_text {
  box-sizing: border-box;
  max-width: min(33ch, 100%);
  padding: clamp(.8rem, 2.5vw, 1.65rem);
  color: #132b4b;
  background-color: #f8fcff;
  border: 1px solid #cee3ec;
  border-inline-start: .25rem solid #16877f;
  border-radius: .5rem;
}

.pkp_structure_page .pkp_structure_head .pkp_site_name_wrapper .pkp_site_name a.is_text:is(:hover, :focus-visible) {
  color: #132b4b;
  background-color: #f8fcff;
}
