/* ==========================================================================
   DESIGN BY CV PELANTAR PRESS
   Journal stylesheet - modern green academic redesign (CSS only)
   --------------------------------------------------------------------------
   Palet : hijau hutan + lime (mengikuti banner jurnal)
   Font  : Plus Jakarta Sans (UI) + Lora (judul)
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Lora:wght@500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

/* ==========================================================================
   KONFIGURASI WARNA TEMA  <-- UBAH HANYA DI SINI
   --------------------------------------------------------------------------
   Untuk memakai desain ini di jurnal lain:
   1. Copy file ini ke jurnal tujuan (atau upload lewat Setup > Step 5).
   2. Ganti nilai --theme-* di bawah dengan warna jurnal tersebut.
      Minimal yang perlu diganti: 6 warna --theme-primary*, 2 warna
      --theme-accent*, --theme-bg, dan --theme-ink. Sisanya opsional.
   3. Semua komponen (header, navbar, kartu, tombol, sidebar, TOC)
      otomatis mengikuti. Tidak perlu menyunting bagian lain.

   CONTOH PRESET (salin lalu timpa nilai di atas):
   BIRU AKADEMIK
     --theme-primary-darker: #081a2f;
     --theme-primary-dark:   #0d2f52;
     --theme-primary:        #134a7d;
     --theme-primary-light:  #1a639f;
     --theme-primary-light-2:#2b7fc0;
     --theme-primary-light-3:#4ea3dc;
     --theme-accent:         #f2c14e;
     --theme-accent-hover:   #ffd66b;
     --theme-bg:             #eef4f9;
     --theme-ink:            #0e2438;

   MAROON
     --theme-primary-darker: #2a0709;
     --theme-primary-dark:   #4a0f13;
     --theme-primary:        #7a1b22;
     --theme-primary-light:  #9a2730;
     --theme-primary-light-2:#b83540;
     --theme-primary-light-3:#d25560;
     --theme-accent:         #f2c14e;
     --theme-accent-hover:   #ffd66b;
     --theme-bg:             #f8f1f1;
     --theme-ink:            #2b1214;

   CATATAN: bila warna utama berubah jauh (mis. biru/maroon), sesuaikan
   juga --theme-surface-mint dan --theme-line* agar tint hijau tidak
   tertinggal. Untuk tema hijau, nilai bawaan sudah pas.
   ========================================================================== */

:root {
    /* 1. Warna utama jurnal (6 tingkat: paling gelap -> paling terang) */
    --theme-primary-darker: #07231a;
    --theme-primary-dark: #0b3d2c;
    --theme-primary: #115740;
    --theme-primary-light: #177a57;
    --theme-primary-light-2: #1f9d6f;
    --theme-primary-light-3: #2fbf8a;

    /* 2. Warna aksen (menu Home, highlight, garis judul) */
    --theme-accent: #b7e04a;
    --theme-accent-hover: #c8ec6a;

    /* 3. Latar & teks */
    --theme-bg: #f2f7f3;
    --theme-surface: #ffffff;
    --theme-surface-soft: #f4faf6;
    --theme-surface-mint: #eaf7f0;
    --theme-ink: #12261e;
    --theme-body: #3a4b43;
    --theme-muted: #64776d;

    /* 4. Garis / border */
    --theme-line: #e2ece6;
    --theme-line-strong: #cfdfd6;
    --theme-line-soft: #d7ecdf;

    /* 5. Warna status (tombol PDF, error, peringatan) */
    --theme-danger: #b3261e;
    --theme-danger-hover: #c0392b;
    --theme-danger-soft: #fdeeee;
    --theme-danger-line: #f6d5d2;
    --theme-warning: #ecc36a;
    --theme-warning-soft: #fffaf0;
    --theme-highlight: #fff2c2;
}

/* ==========================================================================
   PEMETAAN OTOMATIS — tidak perlu diubah
   ========================================================================== */

:root {
    --brand-950: var(--theme-primary-darker);
    --brand-900: var(--theme-primary-dark);
    --brand-800: var(--theme-primary);
    --brand-700: var(--theme-primary-light);
    --brand-600: var(--theme-primary-light-2);
    --brand-500: var(--theme-primary-light-3);

    --lime: var(--theme-accent);
    --accent-hover: var(--theme-accent-hover);

    --ink: var(--theme-ink);
    --body: var(--theme-body);
    --muted: var(--theme-muted);

    --line: var(--theme-line);
    --line-strong: var(--theme-line-strong);
    --line-soft: var(--theme-line-soft);

    --surface: var(--theme-surface);
    --surface-soft: var(--theme-surface-soft);
    --surface-mint: var(--theme-surface-mint);
    --bg: var(--theme-bg);

    --danger: var(--theme-danger);
    --danger-hover: var(--theme-danger-hover);
    --danger-soft: var(--theme-danger-soft);
    --danger-line: var(--theme-danger-line);
    --warning: var(--theme-warning);
    --warning-soft: var(--theme-warning-soft);
    --highlight: var(--theme-highlight);

    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 11px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, .08);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, .12);
    --font-ui: "Plus Jakarta Sans", "Open Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-display: "Lora", Georgia, "Times New Roman", serif;
}

/* --------------------------------------------------------------------------
   1. Dasar
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    color: var(--body);
    background-color: var(--bg);
    background-image:
        radial-gradient(1100px 420px at 12% -8%, color-mix(in srgb, var(--brand-500) 14%, transparent), transparent 62%),
        radial-gradient(900px 360px at 100% 0%, color-mix(in srgb, var(--lime) 16%, transparent), transparent 58%);
    background-repeat: no-repeat;
    font-family: var(--font-ui);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a:link,
a:visited {
    color: var(--brand-700);
    text-decoration: none;
    transition: color .18s ease, background-color .18s ease;
}

a:hover,
a:focus {
    color: var(--brand-900);
    background-color: transparent;
    text-decoration: underline;
}

img {
    border: 0;
    max-width: 100%;
}

hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 22px 0;
}

:focus-visible {
    outline: 3px solid var(--brand-500);
    outline-offset: 2px;
}

::selection {
    background: color-mix(in srgb, var(--lime) 55%, transparent);
    color: var(--brand-950);
}

/* --------------------------------------------------------------------------
   2. Kerangka halaman
   -------------------------------------------------------------------------- */

#container {
    display: block;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

#header {
    display: block;
    padding: 26px 0 0;
    background: transparent;
}

#headerTitle {
    display: block;
    width: 100%;
    position: relative;
    overflow: hidden;
    line-height: 0;
    background: var(--brand-900);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

#headerTitle::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
    pointer-events: none;
}

#headerTitle h1 {
    margin: 0;
    padding: 0;
    font-family: var(--font-display);
    line-height: 0;
}

#headerTitle h1 img {
    display: block;
    width: 100%;
    height: auto;
}

#body {
    display: flex;
    align-items: flex-start;
    gap: 26px;
    width: 100%;
    margin: 22px 0 54px;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

#main {
    order: 1;
    display: block;
    float: none;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0 30px 34px;
    position: relative;
    overflow: visible;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

#sidebar {
    order: 2;
    float: none;
    flex: 0 0 304px;
    width: 304px;
    margin: 0;
    padding: 0;
}

/* --------------------------------------------------------------------------
   3. Navigasi utama
   -------------------------------------------------------------------------- */

#navbar {
    display: block;
    width: auto;
    height: auto;
    min-height: 58px;
    margin: 0 -30px 24px;
    padding: 0 12px;
    overflow-x: auto;
    overflow-y: hidden;
    background: linear-gradient(120deg, var(--brand-900) 0%, var(--brand-800) 55%, var(--brand-700) 100%);
    border: 0;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .09);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#navbar::-webkit-scrollbar {
    display: none;
}

#navbar ul {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
    min-height: 58px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#navbar ul li {
    float: none;
    margin: 0;
    padding: 0;
}

#navbar a,
#navbar a:link,
#navbar a:visited {
    display: flex;
    align-items: center;
    height: 38px;
    margin: 0;
    padding: 0 12px;
    color: rgba(255, 255, 255, .93);
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .01em;
    white-space: nowrap;
    text-decoration: none;
    border-radius: 10px;
}

#navbar a:hover,
#navbar a:focus {
    color: #fff;
    background: rgba(255, 255, 255, .15);
    text-decoration: none;
}

#navbar a::before,
#navbar a::after {
    content: none;
    display: none;
}

#navbar li#home a {
    color: var(--brand-900);
    background: var(--lime);
    font-weight: 800;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--lime) 35%, transparent);
}

#navbar li#home a:hover,
#navbar li#home a:focus {
    color: var(--brand-950);
    background: var(--accent-hover);
}

/* --------------------------------------------------------------------------
   4. Breadcrumb & judul halaman
   -------------------------------------------------------------------------- */

#breadcrumb {
    margin: 0;
    padding: 0 0 14px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.6;
}

#breadcrumb a {
    color: var(--brand-700);
    font-weight: 600;
}

#breadcrumb a:hover {
    color: var(--brand-900);
}

#breadcrumb .current {
    color: var(--muted);
    font-weight: 500;
}

#main > h2 {
    position: relative;
    margin: 20px 0 20px;
    padding: 0 0 14px;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -.01em;
}

#main > h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 64px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand-600), var(--lime));
}

/* --------------------------------------------------------------------------
   5. Isi / konten
   -------------------------------------------------------------------------- */

#content {
    padding: 0;
    color: var(--body);
    font-size: 15px;
    line-height: 1.72;
}

#content::after {
    content: "";
    display: block;
    clear: both;
}

#content p {
    margin: 0 0 14px;
}

#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
    color: var(--ink);
    font-family: var(--font-display);
    line-height: 1.3;
}

#content h1 {
    margin: 6px 0 16px;
    font-size: 28px;
}

#content h2 {
    margin: 32px 0 14px;
    font-size: 25px;
}

#content h3 {
    margin: 30px 0 14px;
    padding-bottom: 9px;
    border-bottom: 1px solid var(--line);
    font-size: 22px;
}

#content h4 {
    margin: 26px 0 10px;
    color: var(--brand-700);
    font-family: var(--font-ui);
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

#content h5,
#content h6 {
    margin: 20px 0 8px;
    font-size: 16px;
}

#content ul,
#content ol {
    margin: 0 0 16px;
    padding-left: 1.4em;
}

#content li {
    margin-bottom: 5px;
}

#content blockquote {
    margin: 20px 0;
    padding: 14px 20px;
    background: var(--surface-mint);
    border-left: 4px solid var(--brand-500);
    border-radius: 0 12px 12px 0;
    color: var(--brand-800);
}

#content code,
#content pre {
    font-family: "Courier New", Courier, monospace;
    font-size: .92em;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 6px;
}

#content code {
    padding: 1px 5px;
}

#content pre {
    padding: 14px;
    overflow: auto;
}

#content table:not(.tocArticle) {
    max-width: 100%;
}

#content td,
#content th {
    vertical-align: top;
}

#content table:not(.tocArticle) td,
#content table:not(.tocArticle) th {
    padding: 6px 8px;
}

/* Menu tab/pil (dipakai beberapa halaman OJS) */
#content ul.menu {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

#content ul.menu li {
    margin: 0;
    padding: 0;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 999px;
}

#content ul.menu li a {
    display: block;
    padding: 7px 15px;
    color: var(--brand-800);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    transition: color .18s ease, background-color .18s ease;
}

#content ul.menu li.current,
#content ul.menu li:hover {
    background: var(--brand-600);
    border-color: var(--brand-600);
}

#content ul.menu li.current a,
#content ul.menu li:hover a,
#content ul.menu li a:hover {
    color: #fff;
    background: transparent;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   6. Sidebar
   -------------------------------------------------------------------------- */

#rightSidebar {
    float: none;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    font-size: 13px;
}

#rightSidebar div.block {
    margin: 0 0 16px;
    padding: 16px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

#rightSidebar div.block span.blockTitle {
    display: block;
    margin: -16px -16px 14px;
    padding: 11px 16px;
    color: #fff;
    background: linear-gradient(120deg, var(--brand-800), var(--brand-700));
    font-family: var(--font-ui);
    font-size: 11.5px;
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: .12em;
    text-transform: uppercase;
}

#rightSidebar div.block p {
    margin: 0 0 8px;
}

#rightSidebar div.block p:last-child {
    margin-bottom: 0;
}

#rightSidebar .block .block {
    margin: 0;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

#rightSidebar #sidebarHelp {
    margin: 0 0 10px;
    padding: 0;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-align: center;
}

#rightSidebar .block img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

#rightSidebar .block a:hover {
    text-decoration: none;
}

#sidebarDevelopedBy.block,
#sidebarHelp.block {
    background: var(--surface);
}

/* Menu tautan kanan-atas (custom block) */
#customblock-Menu-Kanan-atas {
    padding: 8px !important;
}

#customblock-Menu-Kanan-atas table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
}

#customblock-Menu-Kanan-atas td {
    height: auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid var(--line) !important;
    text-align: left !important;
}

#customblock-Menu-Kanan-atas tr:last-child td {
    border-bottom: 0 !important;
}

#customblock-Menu-Kanan-atas td a {
    display: block;
    padding: 10px 12px;
    color: var(--brand-800) !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 9px;
    transition: background-color .18s ease, color .18s ease;
}

#customblock-Menu-Kanan-atas td a span {
    color: inherit !important;
}

#customblock-Menu-Kanan-atas td a::before {
    content: "\203A";
    margin-right: 8px;
    color: var(--brand-500);
    font-weight: 800;
}

#customblock-Menu-Kanan-atas td:hover {
    background: var(--surface-mint) !important;
}

#customblock-Menu-Kanan-atas td:hover a {
    color: var(--brand-900) !important;
}

/* Form login & pencarian di sidebar */
#sidebar table {
    width: 100%;
    border-collapse: collapse;
}

#sidebar td {
    padding: 3px 0;
    vertical-align: middle;
}

#sidebarUser td:first-child {
    width: 42%;
}

#sidebarUser td {
    padding: 4px 0;
    font-size: 12.5px;
}

#sidebarUser label {
    font-weight: 600;
    color: var(--muted);
}

#sidebarUser input[type="text"],
#sidebarUser input[type="password"],
#simpleQuery,
#searchField {
    width: 100%;
}

#sidebarUser input[type="checkbox"] {
    width: auto;
    margin-right: 5px;
}

#simpleSearchForm {
    margin: 0 0 12px;
}

#simpleSearchInput {
    border-collapse: collapse;
}

#simpleSearchInput td {
    padding: 0 0 9px;
}

#simpleSearchInput label {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

#simpleSearchInput br {
    display: none;
}

#simpleSearchForm input[type="submit"] {
    width: 100%;
}

#sidebarNavigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#sidebarNavigation ul li {
    margin: 0 0 4px;
}

#sidebarNavigation ul li a {
    display: block;
    padding: 7px 10px;
    color: var(--brand-700);
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color .18s ease, color .18s ease;
}

#sidebarNavigation ul li a:hover {
    color: var(--brand-900);
    background: var(--surface-mint);
    text-decoration: none;
}

#sidebarNavigation .blockSubtitle {
    display: block;
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* Keyword cloud */
#sidebarKeywordCloud a {
    display: inline-block;
    margin: 0 4px 6px 0;
    padding: 3px 9px;
    color: var(--brand-700);
    background: var(--surface-mint);
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    line-height: 1.5;
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease;
}

#sidebarKeywordCloud a:hover {
    color: #fff;
    background: var(--brand-600);
    border-color: var(--brand-600);
}

#sidebarKeywordCloud a span {
    color: inherit;
}

#sidebarKeywordCloud .blockTitle {
    margin-bottom: 14px;
}

/* Statistik pihak ketiga */
#customblock-statcounter {
    text-align: center;
}

#customblock-creativecommons {
    text-align: center;
    font-size: 11.5px;
    line-height: 1.55;
    color: var(--muted);
}

#customblock-creativecommons a {
    color: var(--brand-700);
}

/* --------------------------------------------------------------------------
   7. Halaman beranda jurnal
   -------------------------------------------------------------------------- */

#journalDescription {
    float: left;
    width: 60%;
    font-size: 15px;
    line-height: 1.72;
}

#journalDescription p {
    margin: 0 0 13px;
}

#journalDescription strong {
    color: var(--brand-800);
    font-weight: 700;
}

#journalDescription table {
    width: 100%;
    border-collapse: collapse;
}

#journalDescription td {
    padding: 4px 8px 4px 0;
}

#homepageImage {
    float: right;
    width: 35%;
    margin: 0 0 18px 24px;
}

#homepageImage img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    border: 7px solid var(--surface);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
}

#setupForm #homepageImage,
#setupForm #journalDescription {
    width: 100%;
}

#setupForm #homepageImage img {
    margin: 0;
}

/* Kotak pengantar / highlight */
.intro,
.highlight {
    display: block;
    margin: 0 0 18px;
    padding: 16px 18px;
    border-radius: 14px;
    font-size: 14px;
}

.intro {
    background: var(--surface-mint);
    border: 1px solid var(--line-soft);
    border-left: 4px solid var(--brand-500);
}

.highlight {
    background: var(--warning-soft);
    border: 1px dashed var(--warning);
}

.intro ul {
    margin: 0;
    padding-left: 1.1em;
}

span.highlight {
    display: inline;
    padding: 1px 5px;
    background: var(--highlight);
    border: 0;
    border-radius: 5px;
}

/* Banner / indexer */
.banner-img {
    display: inline-block;
    margin-bottom: 12px;
}

.banner-img:hover {
    opacity: .82;
}

.indexers {
    margin: 16px 0;
}

.indexers a {
    display: inline-block;
    padding: 4px;
    border: 0;
    background: transparent;
    opacity: .8;
    transition: opacity .18s ease, transform .18s ease;
}

.indexers a:hover {
    opacity: 1;
    transform: translateY(-2px);
    background: transparent;
    border: 0;
}

.indexers a img {
    height: 38px;
    width: auto;
    border-radius: 5px;
}

/* --------------------------------------------------------------------------
   8. Daftar artikel (Table of Contents)
   -------------------------------------------------------------------------- */

table.tocArticle {
    width: 100%;
    margin: 0 0 14px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    border-collapse: separate;
    border-spacing: 0;
    box-shadow: var(--shadow-sm);
    transition: border-color .18s ease, box-shadow .18s ease;
}

table.tocArticle:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-md);
}

table.tocArticle tr {
    background: transparent;
}

table.tocArticle td {
    padding: 15px 16px;
    vertical-align: top;
    background: transparent;
    border: 0;
}

table.tocArticle tr:hover td {
    background: var(--surface-soft);
}

table.tocArticle td.tocArticleCoverImage {
    width: 1%;
    padding: 0;
}

table.tocArticle td.tocArticleCoverImage img {
    width: 60px;
    height: auto;
    margin: 15px 0 15px 16px;
    border-radius: 6px;
    box-shadow: var(--shadow-md);
}

.tocTitle {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 16.5px;
    font-weight: 600;
    line-height: 1.45;
}

.tocTitle a {
    color: var(--ink);
    text-decoration: none;
}

.tocTitle a:hover {
    color: var(--brand-700);
    text-decoration: none;
}

.tocAuthors {
    margin-top: 8px;
    color: var(--muted);
    font-size: 12.5px;
    font-style: normal;
    line-height: 1.55;
}

/* DOI: ikon eksternal disembunyikan, diganti badge CSS */
.tocDoi,
.tocDOI,
.articleDOI {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 9px;
    color: var(--muted);
    font-family: var(--font-ui);
    font-size: 12px;
}

.tocDoi img,
.tocDOI img {
    display: none;
}

.tocDoi::before,
.tocDOI::before,
.articleDOI::before {
    content: "DOI";
    padding: 2px 6px;
    color: #fff;
    background: var(--brand-600);
    border-radius: 5px;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .07em;
}

.tocDoi a,
.tocDOI a,
.articleDOI a {
    color: var(--muted);
    font-weight: 500;
}

.tocDoi a:hover,
.tocDOI a:hover,
.articleDOI a:hover {
    color: var(--brand-700);
}

td.tocArticleGalleysPages {
    width: 88px;
    text-align: right;
    white-space: nowrap;
}

.tocGalleys a,
.tocArticle a.file {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    color: var(--danger);
    background: var(--danger-soft);
    border: 1px solid var(--danger-line);
    border-radius: 9px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .04em;
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease;
}

.tocGalleys a:hover,
.tocArticle a.file:hover {
    color: #fff;
    background: var(--danger-hover);
    border-color: var(--danger-hover);
    text-decoration: none;
}

.tocPages {
    margin-top: 9px;
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 600;
}

/* Halaman detail artikel */
#topBar {
    width: 100%;
    padding: 0;
}

#topBar:has(#accessKey) {
    padding: 0 0 16px;
}

#articleTitle {
    margin: 0 0 8px;
}

#articleTitle h3 {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 27px;
    line-height: 1.35;
}

#authorString {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

#authorString em {
    font-style: normal;
    font-weight: 600;
    color: var(--brand-800);
}

#articleAbstract,
#articleSubject,
#articleFullText,
#articleCitations {
    margin-bottom: 20px;
}

#articleFullText a.file,
#articleFullText a.file:visited {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    color: #fff;
    background: linear-gradient(180deg, var(--brand-600), var(--brand-700));
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-decoration: none;
    box-shadow: 0 6px 16px color-mix(in srgb, var(--brand-600) 30%, transparent);
}

#articleFullText a.file:hover {
    color: #fff;
    background: linear-gradient(180deg, var(--brand-700), var(--brand-800));
    text-decoration: none;
}

#articleSubject > div {
    padding: 12px 15px;
    color: var(--brand-800);
    background: var(--surface-mint);
    border: 1px solid var(--line-soft);
    border-radius: 10px;
    font-size: 13.5px;
}

#articleCitations .citation {
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13.5px;
}

/* Sampul terbitan */
.issueCoverImage {
    margin: 0;
    padding: 0;
    border: 0;
}

.issueCoverImage img {
    width: 110px;
    height: auto;
    margin: 0 0 16px;
    padding: 4px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.cover-image-intro {
    width: 110px;
    margin: 0 0 16px 16px;
    padding: 4px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

/* --------------------------------------------------------------------------
   9. Form & tombol
   -------------------------------------------------------------------------- */

input.textField,
input.uploadField,
select.selectMenu,
textarea.textArea {
    max-width: 100%;
    padding: 9px 11px;
    color: var(--ink);
    background-color: var(--surface-soft);
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    font-family: var(--font-ui);
    font-size: 13px;
    line-height: 1.4;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .04);
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

input.textField:focus,
input.uploadField:focus,
select.selectMenu:focus,
textarea.textArea:focus {
    outline: none;
    background-color: var(--surface);
    border-color: var(--brand-500);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-500) 22%, transparent);
}

textarea.textArea {
    width: 100%;
    min-height: 120px;
    resize: vertical;
}

input[type="button"],
input[type="submit"],
input.button,
.button,
button {
    display: inline-block;
    padding: 10px 18px;
    color: #fff;
    background: linear-gradient(180deg, var(--brand-600), var(--brand-700));
    border: 0;
    border-radius: 10px;
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: none;
    cursor: pointer;
    box-shadow: 0 6px 16px color-mix(in srgb, var(--brand-600) 30%, transparent);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

input[type="button"]:hover,
input[type="submit"]:hover,
input.button:hover,
.button:hover,
button:hover {
    color: #fff;
    background: linear-gradient(180deg, var(--brand-700), var(--brand-800));
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 9px 20px color-mix(in srgb, var(--brand-600) 38%, transparent);
}

input[type="button"]:active,
input[type="submit"]:active,
input.button:active,
.button:active,
button:active {
    transform: translateY(0);
}

input.defaultButton {
    color: #fff;
    font-weight: 800;
}

input[type="checkbox"],
input[type="radio"] {
    accent-color: var(--brand-600);
    vertical-align: middle;
}

label {
    font-size: 13px;
}

div.separator {
    margin: 18px 0;
    border-bottom: 1px solid var(--line);
}

div.thickSeparator {
    margin-bottom: 12px;
    border-bottom: 3px solid var(--brand-600);
}

.formError,
.error {
    color: var(--danger);
}

/* --------------------------------------------------------------------------
   10. Pengumuman, berita, dan elemen lain
   -------------------------------------------------------------------------- */

#announcementsHome,
#announcements {
    width: 100%;
    margin: 24px 0;
}

#announcementsHome h3,
#announcements h3 {
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.announcementSummary,
.announcement {
    margin: 0 0 14px;
    padding: 16px 18px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 13px;
}

.announcementSummary h4,
.announcement h4 {
    margin: 0 0 6px;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.announcementSummary .date,
.announcement .date {
    color: var(--muted);
    font-size: 12px;
}

#additionalHomeContent {
    clear: both;
}

/* --------------------------------------------------------------------------
   11. Responsif
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
    #body {
        flex-wrap: wrap;
        gap: 20px;
    }

    #main {
        flex: 1 1 100%;
        width: 100%;
    }

    #sidebar {
        order: 3;
        flex: 1 1 100%;
        width: 100%;
    }

    #rightSidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        align-items: start;
    }

    #rightSidebar div.block {
        margin: 0;
    }

    #journalDescription {
        width: 58%;
    }

    #homepageImage {
        width: 37%;
    }
}

@media (max-width: 720px) {
    #container {
        padding: 0 14px;
    }

    #header {
        padding-top: 16px;
    }

    #headerTitle {
        border-radius: 16px;
    }

    #body {
        margin-top: 16px;
        margin-bottom: 36px;
    }

    #main {
        padding: 0 18px 24px;
        border-radius: 16px;
    }

    #navbar {
        margin: 0 -18px 18px;
        padding: 0 8px;
        overflow-x: auto;
        overflow-y: hidden;
        border-radius: 16px 16px 0 0;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    #navbar::-webkit-scrollbar {
        display: none;
    }

    #navbar ul {
        flex-wrap: nowrap;
        gap: 0;
    }

    #navbar a,
    #navbar a:link,
    #navbar a:visited {
        padding: 0 11px;
        font-size: 12px;
    }

    #main > h2 {
        margin-top: 16px;
        font-size: 24px;
    }

    #content {
        font-size: 14.5px;
    }

    #content h2 {
        font-size: 22px;
    }

    #content h3 {
        font-size: 19px;
    }

    #journalDescription,
    #homepageImage {
        float: none;
        width: 100%;
        margin: 0 0 18px;
    }

    #homepageImage img {
        max-width: 280px;
        margin: 0 auto;
    }

    #rightSidebar {
        grid-template-columns: 1fr;
    }

    table.tocArticle td {
        padding: 12px;
    }

    td.tocArticleGalleysPages {
        width: 70px;
    }

    #content ul.menu li a {
        padding: 6px 12px;
        font-size: 12px;
    }
}

@media (max-width: 420px) {
    #main {
        padding: 0 14px 20px;
    }

    #navbar {
        margin: 0 -14px 16px;
    }

    #main > h2 {
        font-size: 21px;
    }
}

/* --------------------------------------------------------------------------
   12. Cetak
   -------------------------------------------------------------------------- */

@media print {
    body {
        background: #fff;
    }

    #header,
    #navbar,
    #sidebar,
    #breadcrumb {
        display: none !important;
    }

    #container {
        max-width: 100%;
        padding: 0;
    }

    #body {
        display: block;
        margin: 0;
    }

    #main {
        padding: 0;
        border: 0;
        box-shadow: none;
    }
}
