/**
 * NusantaraReborn — shared stylesheet (OJS 3.3 and 3.5 packages).
 * Developed by Ikhwan Arief (ikhwan[at]unand.ac.id).
 * Copyright (c) 2026 Ikhwan Arief. Copyright held by the application developer.
 * Code license: GPL-3.0-or-later.
 *
 * Every rule is scoped to body.nr_theme or an nr_ class so plugin and core markup outside the
 * theme components keeps its own styling. Colour tokens are declared on body.nr_theme; the
 * selected preset (styles/presets.css, body.nr_scheme_*) overrides them, and the derived tokens
 * below are re-evaluated on the same element so they always follow the active preset.
 * Ornaments are CSS backgrounds only: never focusable and invisible to assistive technology.
 */

/* Defaults = Zamrud Khatulistiwa. Fonts default to system stacks; PHP injects the chosen mode. */
body.nr_theme {
    --nr-primary: #145A43;
    --nr-primary-dark: #0E4030;
    --nr-primary-dark-rgb: 14,64,48;
    --nr-primary-soft: #E7F1EC;
    --nr-accent: #8A6421;
    --nr-accent-dark: #6E4F18;
    --nr-accent-bright: #A87C2E;
    --nr-nav-active-bg: #B88A38;
    --nr-nav-active-text: #1C1608;
    --nr-page-bg: #FAF7EF;
    --nr-surface: #F3EEE1;
    --nr-text: #1F2B26;
    --nr-muted: #55625C;
    --nr-border: #E2DACA;
    --nr-on-primary: #FFFFFF;
    --nr-ornament: none;
    --nr-ornament-strip: none;
    --nr-shadow: 0 10px 30px rgba(20, 30, 25, .08);
    --nr-radius: 8px;
    --nr-content: 1280px;
    --nr-gutter: max(20px, calc((100% - var(--nr-content)) / 2));
    --nr-font-ui: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
    --nr-font-serif: ui-serif, Georgia, Cambria, "Times New Roman", "Noto Serif", serif;
    --nr-hero-position: 60% 50%;
    /* Derived tokens: evaluated here, after the preset tokens, on the same element. */
    --nr-box: color-mix(in srgb, var(--nr-accent-bright) 7%, var(--nr-page-bg));
    --nr-box-line: color-mix(in srgb, var(--nr-accent-bright) 22%, var(--nr-page-bg));
    --nr-ink: var(--nr-primary-dark);
    --nr-card: #FFFFFF;
}
@supports not (color: color-mix(in srgb, red 50%, white)) {
    body.nr_theme { --nr-box: var(--nr-surface); --nr-box-line: var(--nr-border); }
}

html { scroll-behavior: smooth; }
body.nr_theme {
    margin: 0;
    background: var(--nr-page-bg);
    color: var(--nr-text);
    font-family: var(--nr-font-ui);
    font-size: 16px;
    line-height: 1.58;
    -webkit-font-smoothing: antialiased;
}
body.nr_theme *, body.nr_theme *::before, body.nr_theme *::after { box-sizing: border-box; }
body.nr_theme a { color: var(--nr-primary); text-decoration-thickness: .08em; text-underline-offset: .14em; }
body.nr_theme a:hover { color: var(--nr-primary-dark); }
body.nr_theme a:focus-visible,
body.nr_theme button:focus-visible,
body.nr_theme input:focus-visible,
body.nr_theme select:focus-visible,
body.nr_theme textarea:focus-visible {
    outline: 3px solid var(--nr-accent-bright);
    outline-offset: 3px;
}
body.nr_theme img { max-width: 100%; height: auto; }
body.nr_theme h1,
body.nr_theme h2,
body.nr_theme h3,
body.nr_theme h4 {
    color: var(--nr-text);
    font-family: var(--nr-font-serif);
    font-weight: 700;
    letter-spacing: -.01em;
}

/* ---------- Global OJS structure ----------
 * Neutralise Default Theme scaffolding that assumes its own fixed-width layout:
 * fixed container widths, clearfix pseudo-elements inside flex containers, the
 * 1px column rules drawn by .pkp_structure_main::before/::after and the extra
 * top margin given to a sidebar-less main column.
 */
.nr_theme .pkp_structure_page { margin: 0; padding: 0; max-width: none; box-shadow: none; overflow-x: clip; }
.nr_theme .pkp_structure_content {
    display: flex;
    width: min(var(--nr-content), calc(100% - 40px));
    margin: 0 auto;
    padding: 34px 0 56px;
}
.nr_theme .pkp_structure_content::before,
.nr_theme .pkp_structure_content::after,
.nr_theme .pkp_structure_main::before,
.nr_theme .pkp_structure_main::after { display: none; content: none; }
.nr_theme .pkp_structure_main,
.nr_theme .pkp_structure_main:first-child:last-child {
    float: none;
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}
.nr_theme .pkp_structure_content.has_sidebar .pkp_structure_main { width: calc(100% - 330px); padding-right: 42px; }
.nr_theme .pkp_structure_sidebar { float: none; width: 330px; flex: 0 0 330px; padding: 0 0 0 30px; border-left: 1px solid var(--nr-border); }
.nr_theme .cmp_breadcrumbs { margin-bottom: 24px; color: var(--nr-muted); font-size: .88rem; }
.nr_theme .cmp_breadcrumbs a { color: var(--nr-muted); }

/* ---------- Header ---------- */
.nr_theme .nr_header { position: relative; background: #fff; border: 0; box-shadow: none; }
.nr_header_top { background: #fff; }
.nr_header_inner {
    width: min(var(--nr-content), calc(100% - 40px));
    min-height: 124px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 18px 0;
}
.nr_brand_cluster { display: flex; align-items: center; min-width: 0; gap: 34px; }
.nr_brand_logo { flex: 0 0 auto; display: block; line-height: 0; }
.nr_brand_logo img { display: block; width: auto; max-width: 290px; max-height: 82px; object-fit: contain; }
.nr_brand_cluster.is-text-only .nr_journal_identity { padding-left: 0; border-left: 0; }
.nr_journal_identity { min-width: 0; padding-left: 34px; border-left: 2px solid var(--nr-border); }
.nr_journal_name { margin: 0; font-family: var(--nr-font-serif); font-size: clamp(1.5rem, 2.3vw, 2.25rem); line-height: 1.12; font-weight: 700; }
body.nr_theme .nr_journal_name a { color: var(--nr-primary-dark); text-decoration: none; }
.nr_header_tagline { margin-top: 6px; color: var(--nr-muted); font-size: 1rem; line-height: 1.35; }
.nr_header_issn { margin-top: 4px; color: var(--nr-muted); font-size: .86rem; letter-spacing: .01em; white-space: pre; }
.nr_header_actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; padding-top: 44px; }
body.nr_theme .nr_search_link { display: inline-flex; align-items: center; gap: 8px; color: var(--nr-text); text-decoration: none; font-size: .92rem; font-weight: 500; }
.nr_search_link .fa { font-size: 1.05rem; }
.nr_search_mobile { display: none !important; }
.nr_nav_toggle { display: none; }

/* ---------- Primary navigation bar ---------- */
.nr_theme .nr_nav {
    display: block;
    position: static;
    top: auto;
    left: auto;
    width: 100%;
    padding: 0;
    background: var(--nr-primary-dark);
    border: 0;
    z-index: auto;
}
.nr_nav_inner { width: min(var(--nr-content), calc(100% - 40px)); margin: 0 auto; }
.nr_theme .nr_nav .pkp_navigation_primary_row,
.nr_theme .nr_nav .pkp_navigation_primary_wrapper {
    display: flex;
    align-items: stretch;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
}
.nr_theme .nr_nav .pkp_navigation_primary_wrapper::before,
.nr_theme .nr_nav .pkp_navigation_primary_wrapper::after,
.nr_theme .nr_nav .pkp_navigation_user::before,
.nr_theme .nr_nav .pkp_navigation_user::after { display: none; content: none; }
.nr_theme .nr_nav .pkp_navigation_primary {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    max-width: none;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}
.nr_theme .nr_nav .pkp_navigation_primary > li { position: relative; display: block; margin: 0; }
.nr_theme .nr_nav .nr_nav_home,
.nr_theme .nr_nav .pkp_navigation_primary > li > a {
    display: flex;
    align-items: center;
    min-height: 50px;
    margin: 0;
    padding: 0 22px;
    border: 0;
    color: var(--nr-on-primary);
    font-size: .95rem;
    font-weight: 500;
    text-decoration: none;
}
.nr_theme .nr_nav .nr_nav_home:hover,
.nr_theme .nr_nav .nr_nav_home:focus,
.nr_theme .nr_nav .pkp_navigation_primary > li > a:hover,
.nr_theme .nr_nav .pkp_navigation_primary > li > a:focus { background: rgba(255,255,255,.12); color: #fff; text-decoration: none; }
.nr_theme .nr_nav .nr_nav_home.nr_current,
.nr_theme .nr_nav .pkp_navigation_primary > li.nr_current > a {
    background: var(--nr-nav-active-bg);
    color: var(--nr-nav-active-text);
    font-weight: 600;
}
.nr_theme .nr_nav .pkp_navigation_primary [aria-haspopup]:after { margin-left: .45em; }
.nr_theme .nr_nav .dropdown-menu {
    margin: 0;
    padding: 8px 0;
    min-width: 230px;
    background: #fff;
    border: 1px solid var(--nr-border);
    border-radius: 0 0 8px 8px;
    box-shadow: var(--nr-shadow);
}
.nr_theme .nr_nav .dropdown-menu a { display: block; margin: 0; padding: 9px 16px; border: 0; color: var(--nr-text); text-decoration: none; }
.nr_theme .nr_nav .dropdown-menu a:hover,
.nr_theme .nr_nav .dropdown-menu a:focus { background: var(--nr-primary-soft); color: var(--nr-primary-dark); }

/* User/utility menu: rendered inside the nav (keeps OJS JS and mobile menu
 * behaviour) but shown in the header's top-right corner on desktop. */
.nr_theme .nr_nav .pkp_navigation_user_wrapper {
    position: absolute;
    top: 24px;
    right: var(--nr-gutter);
    left: auto;
    transform: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    border: 0;
    text-align: right;
    z-index: 1000;
}
.nr_theme .nr_nav .pkp_navigation_user {
    display: flex;
    align-items: center;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    font-size: .92rem;
}
.nr_theme .nr_nav .pkp_navigation_user > li { position: relative; display: block; margin: 0; }
.nr_theme .nr_nav .nr_utility > .nr_search_link,
.nr_theme .nr_nav .pkp_navigation_user > li > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 2px 16px;
    margin: 0;
    border: 0;
    color: var(--nr-text);
    font-weight: 500;
    text-decoration: none;
}
.nr_theme .nr_nav .nr_utility > .nr_search_link { padding-left: 0; }
.nr_theme .nr_nav .pkp_navigation_user > li > a:hover,
.nr_theme .nr_nav .pkp_navigation_user > li > a:focus { color: var(--nr-primary); background: transparent; text-decoration: underline; }
.nr_theme .nr_nav .nr_utility > .nr_search_link + .pkp_navigation_user > li:first-child,
.nr_theme .nr_nav .pkp_navigation_user > li + li { border-left: 1px solid var(--nr-border); }
.nr_theme .nr_nav .pkp_navigation_user > li:last-child > a { padding-right: 0; }
.nr_theme .nr_nav .pkp_navigation_user ul,
.nr_theme .nr_nav .pkp_navigation_user .dropdown-menu { left: auto !important; right: 0; top: 100%; }

/* Hero */
.nr_hero {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    background: var(--nr-primary-dark);
    color: #fff;
}
.nr_hero_media { position: absolute; inset: 0; }
body.nr_theme .nr_hero_media img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--nr-hero-position); }
.nr_hero_overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg,
        rgba(var(--nr-primary-dark-rgb), .94) 0%,
        rgba(var(--nr-primary-dark-rgb), .82) 28%,
        rgba(var(--nr-primary-dark-rgb), .38) 52%,
        rgba(var(--nr-primary-dark-rgb), 0) 72%);
}
.nr_hero_inner {
    position: relative;
    z-index: 2;
    width: min(var(--nr-content), calc(100% - 40px));
    min-height: 360px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 34px 0 38px;
}
.nr_hero_copy { max-width: 560px; }
body.nr_theme .nr_hero_copy h1 {
    margin: 0 0 16px;
    padding-left: 20px;
    border-left: 5px solid var(--nr-accent-bright);
    color: #fff;
    font-size: clamp(2.2rem, 3.6vw, 3.25rem);
    line-height: 1.08;
    text-shadow: 0 2px 18px rgba(0,0,0,.25);
}
.nr_hero_description { margin: 0 0 22px; max-width: 470px; color: rgba(255,255,255,.94); font-size: 1.12rem; line-height: 1.5; }
.nr_hero_actions { display: flex; gap: 14px; flex-wrap: wrap; }
.nr_hero_caption {
    position: absolute;
    right: var(--nr-gutter);
    bottom: 14px;
    z-index: 2;
    margin: 0;
    color: rgba(255,255,255,.92);
    font-family: var(--nr-font-serif);
    font-size: .84rem;
    font-style: italic;
    text-shadow: 0 1px 6px rgba(0,0,0,.55);
}

/* Buttons */
.nr_btn,
.nr_theme .obj_galley_link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 20px;
    border-radius: 4px;
    border: 1px solid transparent;
    font-family: var(--nr-font-serif);
    font-size: .98rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    transition: transform .12s ease, background-color .12s ease, color .12s ease, border-color .12s ease;
}
.nr_btn:hover { transform: translateY(-1px); }
body.nr_theme .nr_btn_primary { background: var(--nr-accent); color: #fff; border-color: var(--nr-accent); }
body.nr_theme .nr_btn_primary:hover { background: var(--nr-accent-dark); border-color: var(--nr-accent-dark); color: #fff; }
body.nr_theme .nr_btn_ghost { background: rgba(0,0,0,.08); color: #fff; border-color: rgba(255,255,255,.9); font-family: var(--nr-font-serif); }
body.nr_theme .nr_btn_ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
body.nr_theme .nr_btn_dark { background: var(--nr-primary-dark); color: #fff; border-color: var(--nr-primary-dark); font-family: var(--nr-font-ui); font-size: .9rem; font-weight: 600; }
body.nr_theme .nr_btn_dark:hover { background: var(--nr-primary); color: #fff; }
.nr_header_submit { min-height: 48px; padding: 11px 26px; }

/* ---------- Large tablet ---------- */
@media (max-width: 1200px) {
    .nr_header_tagline { font-size: .92rem; }
    .nr_theme .nr_nav .nr_nav_home,
    .nr_theme .nr_nav .pkp_navigation_primary > li > a { padding: 0 16px; font-size: .9rem; }
}

/* ---------- OJS navigation collapse ----------
 * The Default Theme shows its desktop navigation from min-width 992px, so the
 * collapsed menu must end just below that value to avoid a 1px overlap.
 */
@media (max-width: 991.98px) {
    .nr_header_inner { min-height: 0; padding: 14px 0; gap: 12px; }
    .nr_header_actions { padding-top: 0; gap: 6px; }
    .nr_search_mobile { display: inline-flex !important; width: 44px; height: 44px; justify-content: center; font-size: 1.1rem; }
    .nr_brand_logo img { max-width: 220px; max-height: 62px; }
    .nr_brand_cluster { gap: 22px; }
    .nr_journal_identity { padding-left: 22px; }
    .nr_header_issn { display: none; }

    .nr_theme .nr_nav_toggle {
        display: block;
        position: relative;
        top: auto;
        left: auto;
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        cursor: pointer;
    }
    .nr_nav_toggle > span {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 24px;
        height: 19px;
        transform: translate(-50%, -50%);
        border-bottom: 3px solid var(--nr-primary-dark);
        color: transparent;
        text-indent: -9999px;
        overflow: hidden;
    }
    .nr_nav_toggle > span::before,
    .nr_nav_toggle > span::after { content: ""; position: absolute; left: 0; width: 100%; height: 3px; background: var(--nr-primary-dark); }
    .nr_nav_toggle > span::before { top: 0; }
    .nr_nav_toggle > span::after { top: 8px; }
    .nr_nav_toggle.pkp_site_nav_toggle--transform > span { border-bottom: 0; overflow: visible; }
    .nr_nav_toggle.pkp_site_nav_toggle--transform > span::before { top: 8px; transform: rotate(45deg); }
    .nr_nav_toggle.pkp_site_nav_toggle--transform > span::after { top: 8px; transform: rotate(-45deg); }

    .nr_theme .nr_nav { display: none; position: static; }
    .nr_theme .nr_nav.pkp_site_nav_menu--isOpen { display: block; }
    .nr_nav_inner { width: 100%; }
    .nr_theme .nr_nav .pkp_navigation_primary_row,
    .nr_theme .nr_nav .pkp_navigation_primary_wrapper,
    .nr_theme .nr_nav .pkp_navigation_primary,
    .nr_theme .nr_nav .pkp_navigation_user { display: block; width: 100%; }
    .nr_theme .nr_nav .pkp_navigation_primary > li,
    .nr_theme .nr_nav .pkp_navigation_user > li { display: block; width: 100%; border: 0; }
    .nr_theme .nr_nav .nr_nav_home,
    .nr_theme .nr_nav .pkp_navigation_primary > li > a,
    .nr_theme .nr_nav .pkp_navigation_user > li > a {
        display: flex;
        min-height: 48px;
        padding: 0 20px;
        border-bottom: 1px solid rgba(255,255,255,.12);
        color: #fff;
    }
    .nr_theme .nr_nav .pkp_navigation_user > li:last-child > a { padding-right: 20px; }
    .nr_theme .nr_nav .pkp_navigation_user_wrapper {
        position: static;
        display: block;
        transform: none;
        text-align: left;
        background: rgba(0,0,0,.14);
    }
    .nr_theme .nr_nav .nr_utility > .nr_search_desktop { display: none; }
    .nr_theme .nr_nav .nr_utility > .nr_search_link + .pkp_navigation_user > li:first-child,
    .nr_theme .nr_nav .pkp_navigation_user > li + li { border-left: 0; }
    .nr_theme .nr_nav .pkp_navigation_primary ul,
    .nr_theme .nr_nav .pkp_navigation_user ul {
        position: static;
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
        background: rgba(0,0,0,.12);
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .nr_theme .nr_nav .pkp_navigation_primary ul a,
    .nr_theme .nr_nav .pkp_navigation_user ul a { display: block; padding: 11px 34px; color: #fff; border: 0; text-decoration: none; }

    .nr_theme .pkp_structure_content.has_sidebar { display: block; }
    .nr_theme .pkp_structure_content.has_sidebar .pkp_structure_main,
    .nr_theme .pkp_structure_sidebar { width: 100%; padding: 0; border: 0; }
    .nr_theme .pkp_structure_sidebar { margin-top: 36px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
    body.nr_theme { font-size: 15px; }
    .nr_theme .pkp_structure_content { width: calc(100% - 28px); padding: 22px 0 38px; }

    .nr_header_inner { width: calc(100% - 28px); padding: 10px 0; }
    .nr_brand_cluster { flex: 1; min-width: 0; }
    .nr_brand_logo img { max-width: 190px; max-height: 52px; }
    .nr_brand_cluster:not(.is-text-only) .nr_journal_identity { display: none; }
    .nr_journal_name { font-size: 1.25rem; }
    .nr_header_tagline { font-size: .85rem; }

    .nr_hero, .nr_hero_inner { min-height: 0; }
    .nr_hero_inner { width: calc(100% - 28px); padding: 30px 0 46px; }
    .nr_hero_overlay { background: linear-gradient(90deg, rgba(var(--nr-primary-dark-rgb), .92), rgba(var(--nr-primary-dark-rgb), .66)); }
    body.nr_theme .nr_hero_copy h1 { padding-left: 14px; border-left-width: 4px; font-size: clamp(1.9rem, 8.5vw, 2.6rem); }
    .nr_hero_description { font-size: 1rem; }
    .nr_hero_actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
    .nr_hero_caption { right: 14px; bottom: 12px; font-size: .74rem; }

    .nr_section_head { flex-wrap: wrap; row-gap: 4px; }


}

@media (max-width: 430px) {
    .nr_brand_logo img { max-width: 168px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .nr_btn { transition: none; }
    .nr_btn:hover { transform: none; }
}

/* Print */
@media print {
    .nr_header_actions, .nr_nav, .nr_hero_actions, .nr_footer { display: none !important; }
    .nr_theme .pkp_structure_content { width: 100%; }
    .nr_hero { min-height: 0; background: none; color: #000; }
    .nr_hero_media, .nr_hero_overlay, .nr_hero_caption { display: none; }
    body.nr_theme .nr_hero_copy h1, .nr_hero_description { color: #000; text-shadow: none; }
}

/* =====================================================================
 * Page designs v1.2 (homepage, article, archives, policies, editorial team)
 * All colours come from the preset tokens, so every preset gets the same pages.
 * ===================================================================== */
/* Layout helpers */
.nr_theme .pkp_structure_content { padding: 18px 0 52px; }
.nr_theme.nr_is_home .pkp_structure_content { display: block; width: 100%; padding: 0; }
.nr_wrap { width: min(var(--nr-content), calc(100% - 40px)); margin-left: auto; margin-right: auto; }
.nr_band { padding: 26px 0 30px; }
.nr_band + .nr_band { border-top: 1px solid var(--nr-border); }
body.nr_theme .nr_title {
    position: relative;
    margin: 0 0 14px;
    padding-left: 16px;
    color: var(--nr-ink);
    font-family: var(--nr-font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.2;
}
body.nr_theme .nr_title::before { content: ""; position: absolute; left: 0; top: .14em; bottom: .14em; width: 5px; background: var(--nr-accent-bright); }
.nr_section_head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
body.nr_theme .nr_section_head .nr_title { margin-bottom: 0; }
body.nr_theme .nr_section_head > a,
.nr_link_button { display: inline-flex; align-items: center; gap: 8px; color: var(--nr-primary); font-size: .9rem; font-weight: 600; text-decoration: none; }
.nr_link_button { padding: 0; border: 0; background: none; cursor: pointer; font-family: inherit; }
.nr_box { padding: 18px 22px; border-radius: 6px; background: var(--nr-box); }
.nr_badge { display: inline-block; padding: 3px 9px; border-radius: 3px; background: var(--nr-accent); color: #fff; font-size: .82rem; font-weight: 600; }
.nr_flag { font-family: "Apple Color Emoji", "Noto Color Emoji", "Segoe UI Emoji", sans-serif; font-size: 1.05em; line-height: 1; vertical-align: -.08em; }
.nr_doi_icon { display: inline-grid; place-items: center; width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; background: var(--nr-accent-bright); color: #fff; font-family: var(--nr-font-ui); font-size: .58rem; font-weight: 800; letter-spacing: -.02em; }
.nr_oa_icon::before { font-family: FontAwesome; content: "\f13e"; color: var(--nr-accent-bright); font-size: 1.15em; }
.nr_oa_large::before { font-size: 3rem; }
.nr_address { white-space: pre-line; }
body.nr_theme .nr_btn_outline { background: #fff; color: var(--nr-primary-dark); border-color: var(--nr-primary-dark); font-family: var(--nr-font-ui); font-size: .88rem; font-weight: 600; }
body.nr_theme .nr_btn_outline:hover { background: var(--nr-primary-soft); color: var(--nr-primary-dark); }
.nr_btn_small { min-height: 36px; padding: 6px 14px; font-size: .86rem; }
.nr_fact_list { display: grid; gap: 12px; margin: 0; }
.nr_fact_list > div { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 12px; }
.nr_fact_list dt { display: contents; margin: 0; }
.nr_fact_list dt > .fa,
.nr_fact_list dt > .nr_doi_icon { grid-row: 1 / span 2; align-self: start; justify-self: center; margin-top: 2px; color: var(--nr-accent-bright); font-size: 1.45rem; }
.nr_fact_list dt > .nr_doi_icon { width: 26px; height: 26px; color: #fff; font-size: .62rem; }
.nr_fact_list dt { font-size: .92rem; font-weight: 700; color: var(--nr-ink); }
.nr_fact_list dd { grid-column: 2; margin: 0; color: var(--nr-muted); font-size: .88rem; line-height: 1.4; }
.nr_fact_list dd a { overflow-wrap: anywhere; }

/* Breadcrumbs with chevrons */
.nr_theme .cmp_breadcrumbs { margin: 0 0 18px; font-size: .86rem; }
.nr_theme .cmp_breadcrumbs ol { margin: 0; padding: 0; list-style: none; }
.nr_theme .cmp_breadcrumbs li { display: inline; }
body.nr_theme .cmp_breadcrumbs a { color: var(--nr-primary); text-decoration: none; }
.nr_theme .cmp_breadcrumbs .separator { font-size: 0; margin: 0 10px; }
.nr_theme .cmp_breadcrumbs .separator::before { content: "\203A"; font-size: .95rem; color: var(--nr-muted); }
.nr_theme .cmp_breadcrumbs .current { color: var(--nr-ink); }

/* ---------- Hero additions ---------- */
.nr_hero_meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: -4px 0 20px; padding: 0; list-style: none; color: rgba(255,255,255,.92); font-size: .9rem; }
.nr_hero_meta li { display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; }
.nr_hero_meta li:first-child { padding-left: 0; }
.nr_hero_meta li + li { border-left: 1px solid rgba(255,255,255,.55); }

/* ---------- Inner-page banner ---------- */
.nr_page_banner { position: relative; display: flex; align-items: center; min-height: 250px; overflow: hidden; background: var(--nr-primary-dark); color: #fff; }
.nr_page_banner__media { position: absolute; inset: 0; }
body.nr_theme .nr_page_banner__media img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--nr-hero-position); }
.nr_page_banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(var(--nr-primary-dark-rgb), .94) 0%, rgba(var(--nr-primary-dark-rgb), .8) 30%, rgba(var(--nr-primary-dark-rgb), .25) 56%, rgba(var(--nr-primary-dark-rgb), 0) 72%);
}
.nr_page_banner__inner { position: relative; z-index: 2; width: min(var(--nr-content), calc(100% - 40px)); margin: 0 auto; padding: 28px 0 34px; }
.nr_page_banner__title {
    max-width: 560px;
    margin: 0 0 12px;
    padding-left: 18px;
    border-left: 5px solid var(--nr-accent-bright);
    color: #fff;
    font-family: var(--nr-font-serif);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    line-height: 1.12;
}
.nr_page_banner__inner p { max-width: 520px; margin: 0; color: rgba(255,255,255,.94); font-size: 1rem; line-height: 1.5; }
.nr_page_banner__crumbs .cmp_breadcrumbs { margin-bottom: 14px; }
body.nr_theme .nr_page_banner__crumbs a,
body.nr_theme .nr_page_banner__crumbs .current,
body.nr_theme .nr_page_banner__crumbs .separator::before { color: #fff; }
.nr_page_banner .nr_hero_caption { bottom: 10px; }

/* ---------- Homepage ---------- */
.nr_home_intro { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.nr_overview .nr_richtext { color: var(--nr-text); font-size: 1rem; line-height: 1.6; }
.nr_features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 18px 0 0; padding: 0; list-style: none; }
.nr_features li { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 2px 12px; color: var(--nr-muted); font-size: .9rem; line-height: 1.35; text-align: center; }
.nr_features li + li { border-left: 1px solid var(--nr-border); }
.nr_features .fa { color: var(--nr-accent-bright); font-size: 2.2rem; line-height: 1; }
.nr_current_grid { display: grid; grid-template-columns: 180px minmax(0, 1fr) minmax(0, 380px); gap: 28px; align-items: start; }
.nr_current_cover img { display: block; width: 180px; aspect-ratio: .73; object-fit: cover; border-radius: 3px; box-shadow: 0 8px 22px rgba(0,0,0,.18); }
body.nr_theme .nr_current_body h3 { margin: 6px 0 4px; font-family: var(--nr-font-serif); font-size: 1.6rem; }
body.nr_theme .nr_current_body h3 a { color: var(--nr-ink); text-decoration: none; }
.nr_current_date { color: var(--nr-muted); font-size: 1.05rem; margin-bottom: 10px; }
.nr_current_description { margin-bottom: 18px; color: var(--nr-muted); font-size: .95rem; line-height: 1.5; }
.nr_current_description p { margin: 0; }
body.nr_theme .nr_in_issue h3 { margin: 0 0 6px; font-family: var(--nr-font-serif); font-size: 1.2rem; }
.nr_in_issue ul { margin: 0; padding: 0; list-style: none; }
.nr_in_issue li + li { border-top: 1px solid var(--nr-box-line); }
body.nr_theme .nr_in_issue a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; color: var(--nr-text); font-size: .9rem; line-height: 1.35; text-decoration: none; }
body.nr_theme .nr_in_issue a:hover { color: var(--nr-primary); }

/* Article cards (Latest Articles, Related Articles) */
.nr_cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.nr_card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--nr-border); border-radius: 4px; background: #fff; }
.nr_card_media { position: relative; display: block; line-height: 0; }
.nr_card_media img,
.nr_card_placeholder { display: block; width: 100%; aspect-ratio: 16 / 7.4; object-fit: cover; }
.nr_card_placeholder { display: grid; place-items: center; background: var(--nr-primary-soft); color: var(--nr-primary); font-size: 2rem; }
.nr_card_badge { position: absolute; left: 10px; bottom: 0; padding: 4px 10px; border-radius: 3px 3px 0 0; background: #fff; color: var(--nr-primary-dark); font-size: .76rem; font-weight: 700; line-height: 1.3; }
.nr_card_body { display: flex; flex: 1; flex-direction: column; padding: 12px 14px 14px; }
body.nr_theme .nr_card_title { margin: 0 0 8px; font-family: var(--nr-font-serif); font-size: 1.02rem; line-height: 1.3; }
body.nr_theme .nr_card_title a { color: var(--nr-ink); text-decoration: none; }
body.nr_theme .nr_card_title a:hover { color: var(--nr-primary); text-decoration: underline; }
.nr_card_authors { margin-bottom: 8px; color: var(--nr-text); font-size: .84rem; line-height: 1.45; }
.nr_card_author sup { font-size: .68em; }
.nr_card_meta { display: flex; flex-wrap: wrap; gap: 2px 0; color: var(--nr-muted); font-size: .8rem; line-height: 1.45; }
.nr_card_meta span:first-child { flex-basis: 100%; }
.nr_card_meta span + span:not(:nth-child(2))::before { content: "|"; margin: 0 8px; color: var(--nr-border); }
.nr_card_actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: auto; padding-top: 12px; }
body.nr_theme .nr_card_doi { display: inline-flex; align-items: center; gap: 7px; color: var(--nr-text); font-size: .8rem; text-decoration: none; }

/* Announcements + Editor in Chief */
.nr_home_bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 44px; }
.nr_home_bottom.is-single { grid-template-columns: minmax(0, 1fr); }
.nr_home_bottom:not(.is-single) .nr_editor { padding-left: 44px; border-left: 1px solid var(--nr-border); }
body.nr_theme .nr_feature_announcement { display: grid; grid-template-columns: 44px minmax(0, 1fr) 30px; gap: 16px; align-items: center; margin-bottom: 8px; color: var(--nr-text); text-decoration: none; }
.nr_feature_announcement > .fa-bullhorn { color: var(--nr-accent-bright); font-size: 2rem; }
.nr_feature_copy { display: flex; flex-direction: column; gap: 2px; }
.nr_feature_label { color: var(--nr-ink); font-family: var(--nr-font-serif); font-size: 1.35rem; line-height: 1.2; }
.nr_feature_title { color: var(--nr-accent); font-family: var(--nr-font-serif); font-size: 1rem; font-weight: 700; line-height: 1.3; }
.nr_feature_summary { color: var(--nr-muted); font-size: .85rem; }
.nr_round_arrow { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--nr-accent-bright); color: #fff; font-size: .9rem; }
.nr_ann_list { margin: 0; padding: 0; list-style: none; }
.nr_ann_list li + li { border-top: 1px solid var(--nr-border); }
body.nr_theme .nr_ann_list a { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto 18px; gap: 12px; align-items: center; padding: 9px 0; color: var(--nr-text); font-size: .92rem; text-decoration: none; }
body.nr_theme .nr_ann_list a:hover .nr_ann_title { color: var(--nr-primary); text-decoration: underline; }
.nr_ann_list .fa-bullhorn { color: var(--nr-accent-bright); font-size: 1.15rem; }
.nr_ann_list time { color: var(--nr-muted); font-size: .82rem; white-space: nowrap; }
.nr_editor_profile { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: start; }
.nr_editor_photo { display: block; width: 120px; height: 150px; object-fit: cover; border-radius: 3px; background: var(--nr-primary-soft); }
.nr_editor_avatar { display: grid; place-items: center; color: var(--nr-primary); font-size: 2.6rem; }
.nr_editor_text { color: var(--nr-muted); font-size: .86rem; line-height: 1.45; }
.nr_editor_text strong { display: block; color: var(--nr-ink); font-family: var(--nr-font-serif); font-size: 1.02rem; }
.nr_editor_role { color: var(--nr-text); }
.nr_editor_text p { margin: 10px 0 12px; }

/* ---------- Article page ---------- */
.nr_article_grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; align-items: start; }
body.nr_theme .nr_article .page_title { margin: 12px 0 14px; color: var(--nr-ink); font-family: var(--nr-font-serif); font-size: clamp(1.7rem, 2.6vw, 2.15rem); line-height: 1.2; }
.nr_article .item { margin: 0; padding: 0; border: 0; }
.nr_authors { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 0 0 12px; padding: 0; list-style: none; font-size: 1.05rem; }
.nr_authors li { display: inline-flex; align-items: baseline; }
.nr_authors .name { color: var(--nr-ink); font-weight: 600; }
.nr_authors sup { margin-left: 2px; font-size: .65em; }
.nr_sep { margin-right: 8px; }
body.nr_theme .nr_orcid { display: inline-grid; place-items: center; align-self: center; width: 18px; height: 18px; margin-left: 6px; border-radius: 50%; background: #A6CE39; color: #fff; font-size: .58rem; font-weight: 700; text-decoration: none; }
body.nr_theme .nr_mail { align-self: center; margin-left: 6px; color: var(--nr-ink); font-size: 1rem; text-decoration: none; }
.nr_affiliations { margin: 0 0 14px; padding: 0; list-style: none; color: var(--nr-text); font-size: .9rem; line-height: 1.5; }
.nr_affiliations li { display: flex; gap: 10px; align-items: baseline; }
.nr_aff_num { flex: 0 0 14px; color: var(--nr-muted); font-size: .75rem; }
.nr_dates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 12px; padding: 12px 0; border-top: 1px solid var(--nr-border); border-bottom: 1px solid var(--nr-border); }
.nr_dates > div { padding: 0 14px; }
.nr_dates > div:first-child { padding-left: 0; }
.nr_dates > div + div { border-left: 1px solid var(--nr-border); }
.nr_dates dt { color: var(--nr-ink); font-size: .84rem; font-weight: 600; }
.nr_dates dd { margin: 2px 0 0; color: var(--nr-text); font-size: .9rem; }
.nr_doi_line { display: flex; align-items: center; gap: 10px; margin-bottom: 18px !important; font-size: .95rem; }
.nr_article .abstract { margin-bottom: 22px !important; }
.nr_theme .nr_article .nr_article_main .item.nr_box { padding: 18px 22px; }
body.nr_theme .nr_article .nr_article_main .label.nr_title { display: block; margin: 0 0 12px; font-family: var(--nr-font-serif); font-size: 1.45rem; font-weight: 700; color: var(--nr-ink); }
body.nr_theme .nr_article .nr_article_side .nr_title { font-size: 1.3rem; }
.nr_article .abstract .value { color: var(--nr-text); font-size: 1rem; line-height: 1.65; }
.nr_article .abstract .value p { margin: 0 0 10px; }
.nr_article .keywords { margin-bottom: 20px !important; }
.nr_article .keywords .value { margin: 0; padding-left: 16px; color: var(--nr-text); }
.nr_references { margin-bottom: 24px !important; padding: 16px 20px !important; border: 1px solid var(--nr-border) !important; border-radius: 6px; }
.nr_reference_list { margin: 0; padding-left: 22px; color: var(--nr-text); font-size: .9rem; line-height: 1.5; }
.nr_reference_list li { margin-bottom: 8px; overflow-wrap: anywhere; }
.nr_reference_list.is-collapsed > li:nth-child(n+4) { display: none; }
.nr_references_more { display: flex; margin-left: auto; }
.nr_raw_references { white-space: pre-line; color: var(--nr-text); font-size: .9rem; }
.nr_article_side { display: grid; gap: 14px; }
/* Default Theme article_details rules (floats, fixed widths, item borders) neutralised. */
.nr_theme .nr_article .entry_details { float: none; width: auto; margin: 0; padding: 0; border: 0; }
.nr_theme .nr_article .entry_details .item { margin: 0; padding: 18px 22px; border: 0; }
.nr_theme .nr_article .entry_details .item .label { margin: 0; }
.nr_article_side .nr_title { font-size: 1.3rem; }
body.nr_theme .nr_download { width: 100%; min-height: 50px; justify-content: space-between; font-size: 1.05rem; }
.nr_download_meta { margin: 8px 0 12px; color: var(--nr-muted); font-size: .82rem; text-align: center; }
.nr_side_buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nr_side_buttons .nr_btn { width: 100%; padding: 6px 8px; font-size: .8rem; gap: 6px; white-space: nowrap; }
.nr_dropdown { position: relative; }
.nr_dropdown > summary { list-style: none; cursor: pointer; }
.nr_dropdown > summary::-webkit-details-marker { display: none; }
.nr_dropdown > ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 200px; margin: 0; padding: 6px 0; list-style: none; background: #fff; border: 1px solid var(--nr-border); border-radius: 6px; box-shadow: var(--nr-shadow); }
.nr_dropdown li a,
.nr_dropdown li button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 14px; border: 0; background: none; color: var(--nr-text); font-size: .88rem; text-align: left; text-decoration: none; cursor: pointer; }
.nr_dropdown li a:hover, .nr_dropdown li button:hover { background: var(--nr-primary-soft); }
.is-copied .fa::before { content: "\f00c"; }
.nr_article_side #citationOutput { color: var(--nr-text); font-size: .86rem; line-height: 1.5; overflow-wrap: anywhere; }
.nr_article_side .citation_formats { margin: 8px 0 12px; }
body.nr_theme .nr_article_side .citation_formats_button { width: auto; padding: 3px 26px 3px 8px; border: 1px solid var(--nr-box-line); border-radius: 3px; background: #fff; color: var(--nr-muted); font-size: .76rem; font-weight: 500; }
.nr_article_info h3.label { margin: 14px 0 6px; font-size: .9rem; }
.nr_article_info ul { margin: 0; padding-left: 18px; font-size: .85rem; }
.nr_corresponding_body,
.nr_license_body { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; color: var(--nr-muted); font-size: .86rem; line-height: 1.45; }
.nr_corresponding_body > .fa { color: var(--nr-accent-bright); font-size: 1.5rem; }
.nr_corresponding_body strong { display: block; color: var(--nr-ink); }
.nr_license_body { grid-template-columns: 44px minmax(0, 1fr); font-size: .8rem; }
.nr_license_body p { margin: 0 0 6px; }
.nr_license_links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 8px; font-size: .84rem; }
.nr_license_links a { font-weight: 600; text-decoration: none; }
.nr_license_links p { display: none; }
.nr_license_links img { display: block; height: 31px; width: auto; }
.nr_related { margin-top: 30px; }

/* ---------- Archives ---------- */
.nr_archive_tools { display: grid; grid-template-columns: minmax(220px, .55fr) minmax(0, 1.45fr); gap: 0; margin-bottom: 28px; padding: 16px 22px; }
.nr_archive_tool { display: flex; flex-direction: column; gap: 8px; padding-right: 22px; }
.nr_archive_tool + .nr_archive_tool { padding: 0 0 0 22px; border-left: 1px solid var(--nr-box-line); }
.nr_archive_tool label { display: flex; align-items: center; gap: 12px; color: var(--nr-ink); font-family: var(--nr-font-serif); font-weight: 700; }
.nr_archive_tool label .fa { color: var(--nr-accent-bright); font-size: 1.3rem; }
.nr_archive_tool select,
.nr_archive_tool input { width: 100%; min-height: 38px; padding: 6px 12px; border: 1px solid var(--nr-border); border-radius: 4px; background: #fff; color: var(--nr-text); font-size: .9rem; }
.nr_archive_search_row { display: flex; gap: 10px; }
.nr_archive_search_row .nr_btn { min-height: 38px; padding: 6px 20px; }
.nr_archive_year { margin-bottom: 30px; padding-bottom: 6px; border-bottom: 1px solid var(--nr-border); }
.nr_archive_year:last-of-type { border-bottom: 0; }
body.nr_theme .nr_archive_year .nr_title { font-size: 2rem; }
.nr_archive_count { color: var(--nr-primary-dark); font-size: .92rem; }
.nr_theme .nr_issue_grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 0 0 18px; padding: 0; list-style: none; }
.nr_theme .nr_issue_grid > li { margin: 0; padding: 0; border: 0; }
.nr_theme .nr_issue_grid > li:only-child { max-width: 480px; }
.nr_theme .nr_issue_card { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; height: 100%; margin: 0; padding: 10px; background: #fff; border: 1px solid var(--nr-border); border-radius: 4px; }
.nr_theme .nr_issue_card::before,
.nr_theme .nr_issue_card::after { display: none; content: none; }
.nr_theme .nr_issue_card .cover { float: none; display: block; width: auto; margin: 0; padding: 0; }
.nr_theme .nr_issue_card .cover img { display: block; width: 110px; aspect-ratio: .7; object-fit: cover; border-radius: 2px; }
.nr_issue_card_body { display: flex; flex-direction: column; min-width: 0; }
body.nr_theme .nr_issue_card h3 { margin: 0; font-family: var(--nr-font-serif); font-size: 1rem; line-height: 1.3; }
body.nr_theme .nr_issue_card h3 a { color: var(--nr-ink); text-decoration: none; }
.nr_issue_card_date { color: var(--nr-muted); font-size: .86rem; }
.nr_theme .nr_issue_card .description { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; margin: 6px 0; color: var(--nr-muted); font-size: .78rem; line-height: 1.4; }
.nr_issue_card .description p { margin: 0; }
.nr_issue_card_stats { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: auto 0 8px; color: var(--nr-muted); font-size: .76rem; }
.nr_issue_card_stats .fa { color: var(--nr-accent-bright); font-size: .95rem; }
.nr_issue_card_stats .nr_sep { margin: 0 2px; }
.nr_issue_card .nr_btn { align-self: flex-start; }

/* ---------- Policy pages ---------- */
.nr_policy_layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 32px; align-items: start; }
.nr_policy_nav { position: sticky; top: 16px; display: grid; gap: 14px; }
body.nr_theme .nr_policy_nav h2 { margin: 0 0 10px; color: var(--nr-ink); font-family: var(--nr-font-serif); font-size: 1.05rem; }
.nr_toc ol { margin: 0; padding: 0; list-style: none; }
.nr_toc li { border-left: 3px solid transparent; }
body.nr_theme .nr_toc a { display: block; padding: 5px 10px; color: var(--nr-text); font-size: .86rem; line-height: 1.3; text-decoration: none; }
.nr_toc li.is-active { border-left-color: var(--nr-accent-bright); }
body.nr_theme .nr_toc li.is-active a { color: var(--nr-accent); font-weight: 600; }
.nr_related_info ul { margin: 0; padding: 0; list-style: none; }
body.nr_theme .nr_related_info a { display: flex; align-items: center; gap: 12px; padding: 6px 0; color: var(--nr-text); font-size: .88rem; text-decoration: none; }
.nr_related_info .fa { width: 20px; color: var(--nr-accent-bright); font-size: 1.15rem; text-align: center; }
body.nr_theme .nr_policy_page > h1 { font-size: clamp(1.8rem, 2.6vw, 2.2rem); }
.nr_policy_intro { padding-bottom: 14px; border-bottom: 1px solid var(--nr-border); color: var(--nr-text); font-size: 1rem; line-height: 1.55; }
.nr_policy_page.is-structured .nr_policy_intro { padding-left: 20px; }
.nr_policy_section { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 22px; padding: 16px 0; border-bottom: 1px solid var(--nr-border); }
.nr_policy_section:last-child { border-bottom: 0; }
.nr_policy_icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 6px; background: var(--nr-box); color: var(--nr-accent-bright); font-size: 1.9rem; }
body.nr_theme .nr_policy_body > h2 { margin: 2px 0 6px; color: var(--nr-ink); font-family: var(--nr-font-serif); font-size: 1.3rem; scroll-margin-top: 16px; }
.nr_policy_body p, .nr_policy_body li { max-width: none; color: var(--nr-muted); font-size: .92rem; line-height: 1.5; }
.nr_policy_body p { margin: 0 0 8px; }
.nr_policy_body ul { margin: 4px 0 10px; padding: 0; list-style: none; }
.nr_policy_body ul li { position: relative; padding-left: 16px; }
.nr_policy_body ul li::before { content: ""; position: absolute; left: 2px; top: .58em; width: 6px; height: 6px; border-radius: 50%; background: var(--nr-accent-bright); }
.nr_policy_body ul.nr_two_cols { columns: 2; column-gap: 28px; }
.nr_policy_body .nr_more_link a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.nr_policy_body .nr_more_link a::after { font-family: FontAwesome; content: "\f061"; font-size: .85em; }
.nr_callout { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: center; margin: 10px 0; padding: 10px 16px; border: 0; border-radius: 6px; background: var(--nr-primary-soft); }
.nr_callout p { margin: 0; color: var(--nr-text); }
.nr_callout_icon { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--nr-primary-dark); color: #fff; font-size: .8rem; }
.nr_callout.is-money { background: var(--nr-box); border: 1px solid var(--nr-box-line); }
.nr_callout.is-money .nr_callout_icon { background: transparent; border: 2px solid var(--nr-accent-bright); color: var(--nr-accent); }

/* ---------- Editorial Team ---------- */
.nr_two_col { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
.nr_side { display: grid; gap: 16px; }
.nr_side .nr_title { font-size: 1.3rem; }
body.nr_theme .page_editorial_team > h1.nr_title { font-size: clamp(2rem, 3vw, 2.5rem); }
.nr_lead { color: var(--nr-text); font-size: .98rem; line-height: 1.55; }
.nr_lead p { margin: 0 0 18px; }
body.nr_theme .nr_masthead h2.nr_title { margin: 26px 0 12px; font-size: 1.45rem; }
.nr_people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.nr_person { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px; border: 1px solid var(--nr-border); border-radius: 4px; }
.nr_people.is-single { grid-template-columns: minmax(0, 1fr); }
.nr_people.is-single .nr_person { grid-template-columns: 110px minmax(0, 1fr); }
.nr_person_photo { display: block; width: 100%; aspect-ratio: .9; object-fit: cover; border-radius: 3px; background: var(--nr-primary-soft); }
.nr_person_initials { display: grid; place-items: center; color: var(--nr-primary); font-family: var(--nr-font-serif); font-size: 1.6rem; font-weight: 700; }
.nr_person_text { display: flex; flex-direction: column; gap: 2px; color: var(--nr-muted); font-size: .88rem; }
.nr_person_text strong { color: var(--nr-ink); font-family: var(--nr-font-serif); font-size: 1.02rem; }
.nr_role { color: var(--nr-accent); }
.nr_country { display: inline-flex; align-items: center; gap: 8px; color: var(--nr-muted); font-size: .86rem; }
.nr_person_link { font-size: .85rem; }
.nr_people_table { border: 1px solid var(--nr-border); border-radius: 4px; }
.nr_people_row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, .6fr); gap: 14px; align-items: center; padding: 9px 16px; color: var(--nr-muted); font-size: .88rem; }
.nr_people_table.has-role .nr_people_row { grid-template-columns: minmax(0, 1.15fr) minmax(0, .65fr) minmax(0, .9fr) minmax(0, .6fr); }
.nr_people_row + .nr_people_row { border-top: 1px solid var(--nr-border); }
.nr_people_row strong { color: var(--nr-ink); font-family: var(--nr-font-serif); font-size: .95rem; }
.nr_office p { margin: 0 0 12px; color: var(--nr-text); font-size: .9rem; }
.nr_office_contact { margin: 0; padding: 0; list-style: none; }
.nr_office_contact li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; padding: 4px 0; color: var(--nr-text); font-size: .88rem; }
.nr_office_contact .fa { color: var(--nr-accent-bright); font-size: 1.15rem; }

/* ---------- Footer ---------- */
.nr_theme .nr_footer {
    margin: 0;
    padding: 0;
    border: 0;
    color: rgba(255,255,255,.86);
    background:
        linear-gradient(rgba(var(--nr-primary-dark-rgb), .93), rgba(var(--nr-primary-dark-rgb), .97)),
        var(--nr-primary-dark);
}
.nr_footer_inner {
    width: min(var(--nr-content), calc(100% - 40px));
    margin: 0 auto;
    padding: 30px 0 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 22px 0;
    font-size: .86rem;
    line-height: 1.5;
}
.nr_footer_inner > * { flex: 1 1 200px; min-width: 0; }
.nr_footer_inner > .nr_footer_journal { flex: 1.6 1 280px; }
.nr_footer_inner > * { padding: 0 26px; }
.nr_footer_inner > :first-child { padding-left: 0; }
.nr_footer_inner > :last-child { padding-right: 0; }
.nr_footer_inner > * + * { border-left: 1px solid rgba(255,255,255,.22); }
body.nr_theme .nr_footer a { color: #fff; text-decoration: none; }
body.nr_theme .nr_footer a:hover { text-decoration: underline; }
.nr_footer_journal { display: grid; gap: 4px; }
.nr_footer_name { display: block; color: #fff; font-family: var(--nr-font-serif); font-size: 1rem; }
.nr_footer_contact { margin: 0; padding-top: 0; padding-bottom: 0; list-style: none; }
.nr_footer_contact li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; padding: 2px 0; }
.nr_footer_label { margin-bottom: 8px; color: #fff; font-size: .86rem; }
.nr_footer_follow ul { display: flex; gap: 14px; margin: 0; padding: 0; list-style: none; font-size: 1.35rem; }
.nr_footer_bottom { border-top: 1px solid rgba(255,255,255,.18); }
.nr_footer_bottom_inner { width: min(var(--nr-content), calc(100% - 40px)); margin: 0 auto; padding: 12px 0 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; font-size: .78rem; }
.nr_footer_links { display: flex; flex-wrap: wrap; }
.nr_footer_links a { padding: 0 12px; }
.nr_footer_links a + a { border-left: 1px solid rgba(255,255,255,.45); }
.nr_footer_platform { display: flex; flex-wrap: wrap; }
.nr_footer_platform > * { padding: 0 12px; }
.nr_footer_platform > * + * { border-left: 1px solid rgba(255,255,255,.45); }
.nr_footer .pkp_footer_content { padding-top: 0; color: rgba(255,255,255,.86); }

/* ---------- Responsive (v1.2 pages) ---------- */
@media (max-width: 1200px) {
    .nr_current_grid { grid-template-columns: 160px minmax(0, 1fr); }
    .nr_current_cover img { width: 160px; }
    .nr_in_issue { grid-column: 1 / -1; }
    .nr_article_grid { grid-template-columns: minmax(0, 1fr) 280px; }
}
@media (max-width: 991.98px) {
    .nr_header_submit { display: none !important; }
    .nr_home_intro, .nr_home_bottom, .nr_article_grid, .nr_policy_layout, .nr_two_col { grid-template-columns: minmax(0, 1fr); }
    .nr_home_bottom:not(.is-single) .nr_editor { margin-top: 26px; padding: 26px 0 0; border-left: 0; border-top: 1px solid var(--nr-border); }
    .nr_cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nr_policy_nav { position: static; }
    .nr_footer_inner > * { padding: 0 20px 0 0; border-left: 0 !important; }
}
@media (max-width: 768px) {
    .nr_wrap, .nr_page_banner__inner { width: calc(100% - 28px); }
    .nr_band { padding: 20px 0 22px; }
    body.nr_theme .nr_title { font-size: 1.35rem; }
    .nr_features { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
    .nr_features li:nth-child(odd) { border-left: 0; }
    .nr_current_grid { grid-template-columns: 110px minmax(0, 1fr); gap: 16px; }
    .nr_current_cover img { width: 110px; }
    .nr_cards { grid-template-columns: minmax(0, 1fr); }
    .nr_dates { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; }
    .nr_dates > div:nth-child(odd) { padding-left: 0; border-left: 0; }
    .nr_archive_tools { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .nr_archive_tool, .nr_archive_tool + .nr_archive_tool { padding: 0; border-left: 0; }
    .nr_people { grid-template-columns: minmax(0, 1fr); }
    .nr_people_row, .nr_people_table.has-role .nr_people_row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .nr_policy_section { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
    .nr_policy_icon { width: 44px; height: 44px; font-size: 1.3rem; }
    .nr_policy_body ul.nr_two_cols { columns: 1; }
    .nr_page_banner { min-height: 0; }
    .nr_page_banner::after { background: linear-gradient(90deg, rgba(var(--nr-primary-dark-rgb), .92), rgba(var(--nr-primary-dark-rgb), .7)); }
    .nr_footer_inner { width: calc(100% - 28px); flex-direction: column; gap: 18px; }
    .nr_footer_bottom_inner { width: calc(100% - 28px); flex-direction: column; align-items: flex-start; }
    .nr_footer_links a:first-child, .nr_footer_platform > :first-child { padding-left: 0; }
    .nr_ann_list a { grid-template-columns: 26px minmax(0, 1fr) 14px; }
    .nr_ann_list time { grid-column: 2; grid-row: 2; }
}

/* =====================================================================
 * NusantaraReborn additions: page background, footer blocks, sidebar band,
 * focus on dark surfaces, Nusantara ornaments.
 * ===================================================================== */
body.nr_theme { background: var(--nr-page-bg); }
.nr_more { margin: 4px 0 0; font-size: .9rem; }
body.nr_theme .nr_more a { font-weight: 600; text-decoration: none; }
.nr_home_intro.is-single { grid-template-columns: minmax(0, 1fr); }
.nr_home_intro.is-single .nr_facts { max-width: 720px; }
.nr_feature_date { color: var(--nr-muted); font-size: .8rem; }
.nr_footer_publisher, .nr_footer_issn { color: rgba(255,255,255,.9); }
.nr_footer_indexed ul { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0; padding: 0; list-style: none; }
.nr_footer_indexed li { padding: 2px 10px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; font-size: .8rem; }
.nr_footer_custom { border-top: 1px solid rgba(255,255,255,.18); }
.nr_footer_custom_inner { width: min(var(--nr-content), calc(100% - 40px)); margin: 0 auto; padding: 14px 0; color: rgba(255,255,255,.9); font-size: .84rem; }
body.nr_theme .nr_footer_custom_inner a { text-decoration: underline; }
.nr_theme .nr_footer .pkp_footer_content { padding: 14px 0; }

/* Sidebar blocks on full-width pages: shown as a band so block plugins stay visible. */
.nr_sidebar_band { padding: 26px 0 30px; background: var(--nr-surface); border-top: 1px solid var(--nr-border); }
.nr_theme .nr_sidebar_band .pkp_structure_sidebar {
    float: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px 26px;
    width: min(var(--nr-content), calc(100% - 40px));
    margin: 0 auto;
    padding: 0;
    border: 0;
}
.nr_theme .nr_sidebar_band .pkp_block { margin: 0; padding: 16px 18px; background: var(--nr-card); border: 1px solid var(--nr-border); border-radius: 6px; }
.nr_theme .pkp_block .title { color: var(--nr-ink); font-family: var(--nr-font-serif); font-weight: 700; }

/* Keyboard focus that stays visible on dark nav, hero, banner and footer surfaces. */
body.nr_theme .nr_nav a:focus-visible,
body.nr_theme .nr_hero a:focus-visible,
body.nr_theme .nr_page_banner a:focus-visible,
body.nr_theme .nr_footer a:focus-visible { outline-color: #FFFFFF; }

/* Skip links: always reachable and readable when focused. */
body.nr_theme .cmp_skip_to_content a:focus { background: var(--nr-card); color: var(--nr-primary-dark); outline: 3px solid var(--nr-accent-bright); }

/* ---------- Nusantara ornaments (decorative, CSS backgrounds only) ---------- */
.nr_ornaments_subtle .nr_header::after {
    content: "";
    display: block;
    height: 6px;
    background: var(--nr-accent-bright) var(--nr-ornament-strip) left center / auto 6px repeat-x;
    pointer-events: none;
}
.nr_ornaments_subtle .nr_hero.is-preset::after,
.nr_ornaments_subtle .nr_page_banner.is-preset::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(46%, 640px);
    z-index: 1;
    background-image: var(--nr-ornament);
    background-repeat: repeat;
    opacity: .28;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
}
.nr_ornaments_subtle .nr_footer { position: relative; }
.nr_ornaments_subtle .nr_footer::before {
    content: "";
    display: block;
    height: 12px;
    background-image: var(--nr-ornament);
    background-repeat: repeat-x;
    background-size: auto 24px;
    background-position: left center;
    border-bottom: 1px solid rgba(255,255,255,.12);
    opacity: .7;
    pointer-events: none;
}
.nr_ornaments_subtle .nr_title::before { box-shadow: 3px 0 0 0 var(--nr-page-bg), 6px 0 0 0 var(--nr-accent-bright); }
.nr_ornaments_off .nr_header::after,
.nr_ornaments_off .nr_hero::after,
.nr_ornaments_off .nr_page_banner::before,
.nr_ornaments_off .nr_footer::before { content: none; display: none; }

@media (max-width: 768px) {
    .nr_ornaments_subtle .nr_hero.is-preset::after,
    .nr_ornaments_subtle .nr_page_banner.is-preset::before { width: 60%; opacity: .18; }
    .nr_sidebar_band .pkp_structure_sidebar { width: calc(100% - 28px); }
}
@media print {
    .nr_header::after, .nr_hero::after, .nr_page_banner::before, .nr_footer::before, .nr_sidebar_band { display: none !important; }
}

/* Short pages (site index, empty journals): keep the footer at the bottom of the viewport. */
body.nr_theme .pkp_structure_page { display: flex; flex-direction: column; min-height: 100vh; }
body.nr_theme .pkp_structure_page > .nr_footer { margin-top: auto; }

/* =====================================================================
 * OJS 3.5 components (no effect on OJS 3.3 markup): editorial masthead and
 * history, homepage highlights, usage statistics chart, ROR/ORCID marks,
 * data availability, author user groups.
 * ===================================================================== */
.nr_theme .page_masthead h1 { color: var(--nr-ink); font-family: var(--nr-font-serif); }
.nr_theme .page_masthead h2 {
    position: relative;
    margin: 28px 0 12px;
    padding-left: 16px;
    color: var(--nr-ink);
    font-family: var(--nr-font-serif);
    font-size: 1.4rem;
}
.nr_theme .page_masthead h2::before { content: ""; position: absolute; left: 0; top: .14em; bottom: .14em; width: 5px; background: var(--nr-accent-bright); }
.nr_theme .page_masthead .user_listing {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
    margin: 0 0 8px;
    padding: 0;
    list-style: none;
}
.nr_theme .page_masthead .user_listing > li {
    margin: 0;
    padding: 12px 14px;
    background: var(--nr-card);
    border: 1px solid var(--nr-border);
    border-left: 4px solid var(--nr-accent-bright);
    border-radius: 4px;
}
.nr_theme .page_masthead .user_listing .name { display: block; color: var(--nr-ink); font-family: var(--nr-font-serif); font-weight: 700; }
.nr_theme .page_masthead .user_listing .affiliation,
.nr_theme .page_masthead .user_listing .date_start { display: block; color: var(--nr-muted); font-size: .88rem; }
.nr_theme .page_masthead .user_listing .orcid { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: .84rem; }
.nr_theme .page_masthead .user_listing .orcid svg,
.nr_theme .nr_orcid_link svg,
.nr_theme .nr_ror svg { width: 16px; height: 16px; vertical-align: -3px; }

.nr_highlights { padding-top: 22px; }
.nr_theme .nr_highlights .highlights { margin: 0; }
.nr_theme .nr_highlights .swiper { border-radius: 6px; overflow: hidden; background: var(--nr-surface); }
.nr_theme .nr_highlights .swiper-slide-title { color: var(--nr-ink); font-family: var(--nr-font-serif); }
.nr_theme .nr_highlights .swiper-slide-desc { color: var(--nr-text); }
.nr_theme .nr_highlights .swiper-slide-button { background: var(--nr-accent); border-color: var(--nr-accent); color: #fff; }
.nr_theme .nr_highlights .swiper-pagination-bullet-active { background: var(--nr-accent-bright); }
.nr_theme .nr_highlights .swiper-button-prev,
.nr_theme .nr_highlights .swiper-button-next { color: var(--nr-primary-dark); }

.nr_stats_chart { margin: 0 0 22px; }
.nr_stats_chart canvas { max-width: 100%; }
.nr_stats_chart .usageStatsUnavailable { color: var(--nr-muted); font-size: .9rem; }

.nr_orcid_link { display: inline-flex; align-self: center; margin-left: 6px; text-decoration: none; }
.nr_ror { display: inline-flex; margin-left: 4px; text-decoration: none; }
.nr_user_group { margin-left: 6px; color: var(--nr-muted); font-size: .85rem; font-weight: 400; }
.nr_more_galleys { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 6px; }
.nr_side_buttons.is-single { grid-template-columns: minmax(0, 1fr); }
.nr_data_availability { margin-bottom: 24px !important; padding: 16px 20px !important; border: 1px solid var(--nr-border) !important; border-radius: 6px; }
.nr_data_availability .value { color: var(--nr-text); font-size: .95rem; line-height: 1.6; }

/* CSL block inserted by the Citation Style Language plugin into the side column (OJS 3.5). */
.nr_theme .nr_article_side .item.citation { padding: 18px 22px; border-radius: 6px; background: var(--nr-box); }
.nr_theme .nr_article_side .item.citation h2.label { margin: 0 0 10px; color: var(--nr-ink); font-family: var(--nr-font-serif); font-size: 1.3rem; font-weight: 700; }
body.nr_theme .nr_article_side .item.citation .citation_formats_button { width: auto; margin-top: 10px; padding: 4px 26px 4px 10px; border: 1px solid var(--nr-box-line); border-radius: 3px; background: var(--nr-card); color: var(--nr-muted); font-family: var(--nr-font-ui); font-size: .8rem; font-weight: 500; }
.nr_theme .nr_article_side #citationOutput { color: var(--nr-text); font-size: .86rem; line-height: 1.5; overflow-wrap: anywhere; }

/* ORCID badge when OJS provides no ORCID icon (OJS 3.4 with the orcidProfile plugin). */
.nr_orcid_badge { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #A6CE39; color: #fff; font-size: .58rem; font-weight: 700; line-height: 1; }
.nr_orcid_badge.is-unverified { background: #FFFFFF; color: #3C7A1F; box-shadow: inset 0 0 0 1px #A6CE39; }
