/* ==========================================
   GOOGLE FONT IMPORT
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700;800&family=Merriweather:wght@400;700&display=swap');

/* ==========================================
   THEME TOKENS
   ========================================== */
:root{
  --soj-blue-950: #07273d;
  --soj-blue-900: #0b3c5d;
  --soj-blue-800: #154360;
  --soj-blue-700: #1b4f72;
  --soj-blue-500: #2e86c1;
  --soj-blue-400: #85c1e9;
  --soj-blue-300: #aed6f1;
  --soj-blue-200: #d6eaf8;
  --soj-blue-50:  #f0f7fc;
  --text-900:     #1b2631;
  --text-700:     #34495e;
  --muted-600:    #5d6d7e;
  --white:        #ffffff;
}

/* ==========================================
   GLOBAL FONT & TYPOGRAPHY
   ========================================== */
html, body, p, li, td, th, input, select, textarea,
.pkp_structure_main, .pkp_page_content, .cmp_breadcrumbs,
.pkp_navigation_primary, .pkp_navigation_user, .pkp_footer_content {
  font-family: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif !important;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-900);
  font-size: 15px;
}

/* ==========================================
   HEADINGS (Serif elegance)
   ========================================== */
h1, h2, h3, h4, h5, h6,
.pkp_site_name, .pkp_page_title,
.obj_article_details .title, .obj_article_summary .title a {
  font-family: 'Merriweather', Georgia, 'Times New Roman', serif !important;
  font-weight: 700;
  color: var(--soj-blue-900);
  line-height: 1.4;
  letter-spacing: 0.2px;
  margin-bottom: 0.4em;
}
.obj_article_summary .title a:hover { color: var(--soj-blue-800); text-decoration: none; }
.pkp_navigation_primary ul.dropdown-menu > li a { font-weight:500; letter-spacing: 0px; text-transform:capitalize; font-size:18px; }
.pkp_navigation_user li.profile { margin-top: 7px; font-weight:700; border: 2px solid #fff; border-radius:7px }
@media (max-width: 992px){
  .pkp_navigation_user li.profile { display: inline flow-root list-item; }
  .pkp_structure_main:before,.pkp_structure_main:after { width: 0px!important; }
}
@media (min-width: 992px){
  .pkp_navigation_primary > li a { font-weight:600; letter-spacing: 1px; text-transform:uppercase; font-size:18px; }
  .pkp_site_name .is_img { outline: none; }
  .pkp_site_name .is_img img { width: 100px;  max-height: inherit;  filter: drop-shadow(0 25px 30px rgba(0, 0, 0, .3)); background: white; border: 7px solid #fff; border-radius: 100%; }
}
.pkp_navigation_user li.profile a { padding: 5px 10px; display: table-cell; }
.pkp_site_nav_toggle { box-shadow: none; }
#customblock-menu p img { max-width: 150px; }

/* ==========================================
   SIDEBAR
   ========================================== */
.sidebar-box {
  width: 250px;
  padding: 10px 12px;
  background-color: var(--soj-blue-50);
  border-radius: 8px;
  border: 1px solid var(--soj-blue-200);
  font-family: 'Geist', sans-serif;
  font-size: 14px;
}
.sidebar-menu { list-style: none; margin: 0; padding: 0; }
.sidebar-menu li { margin-bottom: 10px; }
.sidebar-menu li a{
  display:block; background-color:var(--soj-blue-200); color:#1b4f72;
  text-decoration:none; padding:10px 12px; border-radius:6px;
  font-weight:500; font-family:'Geist',sans-serif;
  transition:background-color .3s ease, color .3s ease;
}
.sidebar-menu li a:hover{ background-color:var(--soj-blue-300); color:var(--soj-blue-800); }
.sidebar-menu li.active a{ background-color:var(--soj-blue-400); font-weight:600; color:var(--soj-blue-900); }

/* ==========================================
   ARTICLE & METADATA
   ========================================== */
.obj_article_summary, .obj_article_details, .pkp_structure_sidebar {
  font-family: 'Geist', sans-serif !important;
}
.obj_article_details .author, .obj_article_details .date, .item .label {
  font-size: 14px; color: var(--text-700);
}

/* ==========================================
   BUTTONS & LINKS
   ========================================== */
.pkp_button, .cmp_button, button, input[type=submit], a.button {
  font-family: 'Geist', sans-serif !important;
  font-weight: 500; border-radius: 6px;
}
a { color: var(--soj-blue-900); text-decoration: none; }
a:hover { color: var(--soj-blue-800); text-decoration: underline; }
a:focus-visible, .pkp_button:focus-visible, button:focus-visible {
  outline: 2px solid var(--soj-blue-500); outline-offset: 2px;
}

/* ==========================================
   FOOTER WRAPPER (Animated Gradient – Teal Premium)
   ========================================== */
.pkp_structure_footer_wrapper {
  background: linear-gradient(
    160deg,
    #129e97 0%,
    #0f6f75 45%,
    #257a84 100%
  );

  background-size: 300% 300%;
  animation: moveGradient 18s ease infinite, fadeIn 0.8s ease-out;

  box-shadow: inset 0 2px 4px rgba(0,0,0,0.15);
}

/* ==========================================
   FOOTER CONTENT (Animated Gradient)
   ========================================== */
.pkp_structure_footer {
  border-top: 3px solid var(--soj-blue-400);
  padding: 32px 20px;

  max-width: 1100px;
  margin: 0 auto;

  /* Grid layout (sesuai struktur kamu) */
  /* display: grid; */
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;

  /* === Animated Gradient Background === */
  /*background: linear-gradient(
    120deg,
    #257a84 0%,
    #129e97 50%,
    #257a84 100%
  );*/
  background: transparent;
  background-size: 300% 300%;
  animation: moveGradient 14s ease infinite, fadeIn 0.8s ease-out;
}

/* Paragraf & teks bawaan OJS */
.pkp_structure_footer .pkp_footer_content p{
  margin: 0 0 8px 0;
  color: #ffffff !important;
  line-height: 1.7;
  font-size: 14px;
}
.pkp_structure_footer .pkp_footer_content strong{
  color: #ffffff;
  font-weight: 600;
}
.pkp_structure_footer .pkp_footer_content a{
  color: var(--soj-blue-300);
  text-decoration: underline;
}
.pkp_structure_footer .pkp_footer_content a:hover{
  color: var(--white);
}

/* Brand OJS/PKP — pastikan muncul */
.pkp_brand_footer{
  display: flex !important;
  justify-content: flex-end;
  align-items: center;
}
.pkp_brand_footer a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background-color: #fff;
  border-radius: 12px;
}
.pkp_brand_footer img{
  width: 140px;
  height: auto;
  opacity: 0.9;
  filter: none !important; /* jangan invert */
  transition: opacity .3s ease;
}
.pkp_brand_footer img:hover{ opacity: 1; }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 960px){
  .pkp_structure_footer{
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .pkp_brand_footer{
    justify-content: center; /* center logo di mobile */
  }
  .pkp_structure_footer { padding: 24px 16px; }
}

/* ==========================================
   VARIAN (optional)
   ========================================== */
/* Light version
.pkp_structure_footer_wrapper {
  background: #f8f9fa;
  border-top: 1px solid var(--soj-blue-200);
}
.pkp_structure_footer .pkp_footer_content p,
.pkp_structure_footer .pkp_footer_content strong { color: #34495e !important; }
.pkp_structure_footer .pkp_footer_content a { color: var(--soj-blue-900); }
.pkp_structure_footer .pkp_footer_content a:hover { color: var(--soj-blue-800); }
*/


/* =========================================================
   AUTH PAGES — Login & Register (Elegan, konsisten SOJ)
   Berlaku untuk:
   - .page_login, .page_register (OJS 3.x)
   - fallback untuk .pkp_page_login / .pkp_page_register
   ========================================================= */

/* Wrapper halaman: center + breathing space */
.page_login .pkp_page_content,
.page_register .pkp_page_content,
.pkp_page_login .pkp_page_content,
.pkp_page_register .pkp_page_content {
  max-width: 720px;
  margin: 32px auto 64px auto;
  padding: 0 16px;
}

/* Kartu/form utama */
.page_login .cmp_form,
.page_register .cmp_form,
.pkp_page_login .cmp_form,
.pkp_page_register .cmp_form,
.page_login .pkp_form,
.page_register .pkp_form {
  background: #ffffff;
  border: 1px solid var(--soj-blue-200);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 6px 22px rgba(11, 60, 93, 0.08);
  min-width: 100%;
}

/* Judul form */
.page_login h1, .page_register h1,
.pkp_page_login h1, .pkp_page_register h1 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  color: var(--soj-blue-900);
  font-size: 26px;
  margin: 0 0 16px 0;
}
.page_login .subtitle, .page_register .subtitle {
  color: var(--text-700);
  margin-bottom: 22px;
  font-size: 14.5px;
}

/* Field group / label */
.cmp_form .fields > div,
.pkp_form .fields > div { margin-bottom: 5px; padding-bottom: 0; }

.cmp_form label, .pkp_form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--soj-blue-800);
  font-size: 14px;
}

/* Input, select, textarea */
.cmp_form input[type="text"],
.cmp_form input[type="email"],
.cmp_form input[type="password"],
.cmp_form select,
.cmp_form textarea,
.pkp_form input[type="text"],
.pkp_form input[type="email"],
.pkp_form input[type="password"],
.pkp_form select,
.pkp_form textarea {
  width: 100%;
  height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--soj-blue-200);
  border-radius: 10px;
  background: #fff;
  color: var(--text-900);
  transition: border-color .2s ease, box-shadow .2s ease;
  font-family: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
.cmp_form textarea, .pkp_form textarea { min-height: 110px; height: auto; }

.cmp_form input:focus,
.cmp_form select:focus,
.cmp_form textarea:focus,
.pkp_form input:focus,
.pkp_form select:focus,
.pkp_form textarea:focus {
  outline: none;
  border-color: var(--soj-blue-400);
  box-shadow: 0 0 0 3px rgba(133, 193, 233, 0.35);
}

/* Placeholder */
.cmp_form ::placeholder, .pkp_form ::placeholder { color: #9aa7b2; }

/* Checkbox/remember me */
.cmp_form .options, .pkp_form .options { margin: 8px 0 16px; }
.cmp_form .options label, .pkp_form .options label {
  font-weight: 500; color: var(--text-700);
}
.cmp_form input[type="checkbox"], .pkp_form input[type="checkbox"] {
  width: 16px; height: 16px; margin-right: 8px; vertical-align: middle;
}

/* Error & help text */
.cmp_form .error, .pkp_form .error,
.cmp_form .pkp_form_error, .pkp_form .pkp_form_error {
  color: #b33939;
  background: #fdecec;
  border: 1px solid #f5b7b1;
  padding: 8px 10px;
  border-radius: 8px;
  margin-top: 6px;
  font-size: 13px;
}
.cmp_form .description, .pkp_form .description {
  color: var(--muted-600);
  font-size: 13px;
  margin-top: 4px;
}

/* Tombol utama */
.cmp_form .buttons, .pkp_form .buttons {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cmp_form .buttons .submit,
.pkp_form .buttons .submit,
.cmp_form button[type="submit"],
.pkp_form button[type="submit"],
.cmp_form input[type="submit"],
.pkp_form input[type="submit"] {
  background: var(--soj-blue-800);
  color: #fff;
  border: 1px solid var(--soj-blue-800);
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, transform .05s ease;
}
.cmp_form .buttons .submit:hover,
.pkp_form .buttons .submit:hover,
.cmp_form button[type="submit"]:hover,
.pkp_form button[type="submit"]:hover {
  background: var(--soj-blue-900);
}
.cmp_form .buttons .submit:active,
.pkp_form .buttons .submit:active { transform: translateY(1px); }

/* Tombol sekunder (cancel/link) */
.cmp_form .buttons .cancel,
.pkp_form .buttons .cancel,
.cmp_form .buttons a.button,
.pkp_form .buttons a.button {
  background: #fff;
  color: var(--soj-blue-800);
  border: 1px solid var(--soj-blue-300);
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 600;
  text-decoration: none;
}
.cmp_form .buttons .cancel:hover,
.pkp_form .buttons .cancel:hover,
.cmp_form .buttons a.button:hover,
.pkp_form .buttons a.button:hover {
  background: var(--soj-blue-50);
}

/* Link bantuan (Lupa password, Login/Register switch) */
.auth-links {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.auth-links a {
  color: var(--soj-blue-900);
  text-decoration: none;
  font-weight: 600;
}
.auth-links a:hover { text-decoration: underline; color: var(--soj-blue-800); }

/* Pemisah sosial/SSO (opsional) */
.auth-divider {
  position: relative;
  text-align: center;
  margin: 18px 0;
  color: var(--muted-600);
  font-size: 13px;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  position: absolute;
  top: 50%; width: 40%;
  border-top: 1px solid var(--soj-blue-200);
}
.auth-divider::before { left: 0; }
.auth-divider::after  { right: 0; }

/* Tombol SSO (opsional, jika ada plugin) */
.sso-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.sso-buttons .btn-sso {
  flex: 1 1 auto;
  min-width: 180px;
  background: #ffffff;
  border: 1px solid var(--soj-blue-300);
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 600;
  color: var(--soj-blue-900);
  text-align: center;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}
.sso-buttons .btn-sso:hover {
  background: var(--soj-blue-50);
  border-color: var(--soj-blue-400);
}

/* Responsif kartu */
@media (max-width: 640px) {
  .page_login .cmp_form, .page_register .cmp_form,
  .pkp_page_login .cmp_form, .pkp_page_register .cmp_form,
  .page_login .pkp_form, .page_register .pkp_form {
    padding: 22px;
    border-radius: 12px;
  }
}

/* Fokus aksesibel */
.cmp_form input:focus-visible,
.cmp_form select:focus-visible,
.cmp_form textarea:focus-visible,
.pkp_form input:focus-visible,
.pkp_form select:focus-visible,
.pkp_form textarea:focus-visible {
  outline: 2px solid var(--soj-blue-500);
  outline-offset: 2px;
}

/* Header kecil di atas form (opsional) */
.auth-header {
  margin-bottom: 12px;
  padding: 10px 12px;
  background: var(--soj-blue-50);
  border: 1px solid var(--soj-blue-200);
  border-radius: 10px;
  color: var(--soj-blue-800);
  font-weight: 600;
}

.page_login .password a {
  display: block;
}

.page_search .submit button::after {
  display: none;
}

.pkp_structure_head {
    /* Gradient bergerak ala Instagram */
    background: linear-gradient(
        120deg,
        #129e97,
        #129e97,
        #257a84
    );
    background-size: 300% 300%;
    animation: moveGradient 10s ease infinite;

    border-bottom: 1px solid #ddd;

    /* Smooth transition opsional */
    transition: opacity 0.4s ease;
}

/* Animasi gradient bergerak */
@keyframes moveGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@media (min-width: 992px) {
  .pkp_site_nav_menu {
    background: transparent;
  }
  .pkp_nav_list ul a {
    color: #257a84!important;
    border-left: none;
    padding-left: .7rem;
  }
  .pkp_navigation_search_wrapper a { 
    font-size: 18px;
  }
}

@media (max-width: 992px) {
  .pkp_site_nav_menu {
    background: #129e97;
  }
}

.cmp_notification {
  border-radius: 12px;
  border-left: none;
}

h1, h2, h3, h4, h5, h6, .pkp_site_name, .pkp_page_title, .obj_article_details .title, .obj_article_summary .title a {
  color: #257a84;
}

.obj_issue_summary .title {
    font-family: 'Merriweather', Georgia, 'Times New Roman', serif !important;
    font-weight: 700;
    text-decoration: none;
    font-size: 18px;
    color: #129e97;
}

.pkp_structure_footer .pkp_footer_content strong {
  font-family: 'Merriweather', Georgia, 'Times New Roman', serif !important;
  font-size: 24px;
}

/* ==========================================
   ISSN BADGE — pojok kanan header (DESKTOP)
   ========================================== */
.pkp_site_name {
  position: relative;
}

/* ISSN text */
.pkp_site_name::after {
  content: "ISSN 3124-3495";
  position: absolute;
  right: 0;
  bottom: 6px;

  font-family: 'Geist', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;

  color: #ffffff;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(4px);

  padding: 6px 10px;
  border-radius: 8px;

  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  white-space: nowrap;
}

/* Desktop adjustment */
@media (min-width: 992px) {
  .pkp_site_name::after {
    bottom: 10px;
    right: 10px;
    font-size: 14px;
  }
}

/* ==========================================
   JOURNAL NAME — sebelah logo (DESKTOP)
   ========================================== */
.pkp_site_name .is_img {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  position: relative;
  text-decoration: none;
}

/* Text nama journal */
.pkp_site_name .is_img::after {
  content: "Soeharso Orthopaedic Journal";

  font-family: 'Merriweather', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: 0.4px;

  color: #ffffff;       /* putih sesuai header */
  white-space: nowrap;
  text-decoration: none;
}

/* Desktop — lebih besar & tegas */
@media (min-width: 992px) {
  .pkp_site_name .is_img::after {
    font-size: 26px;
  }
}

/* ==========================================
   MOBILE — HIDE ISSN & JOURNAL NAME
   ========================================== */
@media (max-width: 991px) {

  /* hide ISSN */
  .pkp_site_name::after {
    display: none !important;
    content: none !important;
  }

  /* hide journal name */
  .pkp_site_name .is_img::after {
    display: none !important;
    content: none !important;
  }
}


/* =========================================================
   MAKE A SUBMISSION — Premium Animated CTA (OJS)
   ========================================================= */

/* Base button */
.pkp_structure_main .block_make_submission_link,
.pkp_structure_sidebar .block_make_submission_link,
.block_make_submission_link {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;

  padding: 14px 22px !important;
  border-radius: 16px !important;

  font-family: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;

  color: #ffffff !important;
  text-decoration: none !important;

  border: 1px solid rgba(255,255,255,0.18) !important;

  /* Animated gradient */
  background: linear-gradient(135deg, #129e97 0%, #257a84 45%, #129e97 100%) !important;
  background-size: 220% 220% !important;
  animation: sojCtaGradient 8s ease infinite !important;

  box-shadow:
    0 16px 40px rgba(18, 158, 151, 0.40),
    0 6px 16px rgba(7, 39, 61, 0.20),
    inset 0 1px 0 rgba(255,255,255,0.22) !important;

  cursor: pointer !important;
  user-select: none !important;

  transform: translateZ(0) !important;
  will-change: transform, box-shadow, filter !important;

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    filter .18s ease !important;

  overflow: hidden !important; /* for shine + ripple */
}

/* Icon (simple, clean) */
.pkp_structure_main .block_make_submission_link::before,
.pkp_structure_sidebar .block_make_submission_link::before,
.block_make_submission_link::before {
  content: "➜" !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  opacity: .95 !important;
  transform: translateY(-1px) !important;
}

/* Shine sweep overlay */
.pkp_structure_main .block_make_submission_link::after,
.pkp_structure_sidebar .block_make_submission_link::after,
.block_make_submission_link::after {
  content: "" !important;
  position: absolute !important;
  inset: -40% -60% !important;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.22) 45%,
    rgba(255,255,255,0) 70%
  ) !important;
  transform: rotate(18deg) translateX(-120%) !important;
  animation: sojCtaShine 3.2s ease-in-out infinite !important;
  pointer-events: none !important;
  mix-blend-mode: screen !important;
}

/* Hover = lift + glow + slight saturation */
.pkp_structure_main .block_make_submission_link:hover,
.pkp_structure_sidebar .block_make_submission_link:hover,
.block_make_submission_link:hover {
  transform: translateY(-3px) scale(1.01) !important;
  filter: saturate(1.12) brightness(1.02) !important;
  box-shadow:
    0 22px 54px rgba(18, 158, 151, 0.55),
    0 10px 22px rgba(7, 39, 61, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.28) !important;
}

/* Active = press + ripple flash */
.pkp_structure_main .block_make_submission_link:active,
.pkp_structure_sidebar .block_make_submission_link:active,
.block_make_submission_link:active {
  transform: translateY(-1px) scale(0.995) !important;
  box-shadow:
    0 12px 28px rgba(18, 158, 151, 0.45),
    inset 0 6px 14px rgba(0,0,0,0.22) !important;
}

/* Focus-visible accessibility ring */
.pkp_structure_main .block_make_submission_link:focus-visible,
.pkp_structure_sidebar .block_make_submission_link:focus-visible,
.block_make_submission_link:focus-visible {
  outline: none !important;
  box-shadow:
    0 0 0 4px rgba(133, 193, 233, 0.55),
    0 16px 40px rgba(18, 158, 151, 0.40),
    inset 0 1px 0 rgba(255,255,255,0.22) !important;
}

/* Ripple effect (CSS only via background circle) */
.pkp_structure_main .block_make_submission_link span,
.pkp_structure_sidebar .block_make_submission_link span,
.block_make_submission_link span {
  position: relative !important;
  z-index: 2 !important;
}

/* Optional: if link text not wrapped in <span>, still safe */
.pkp_structure_main .block_make_submission_link,
.pkp_structure_sidebar .block_make_submission_link,
.block_make_submission_link {
  z-index: 1 !important;
}

/* =========================================================
   Animations
   ========================================================= */
@keyframes sojCtaGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes sojCtaShine {
  0%   { transform: rotate(18deg) translateX(-120%); opacity: .0; }
  15%  { opacity: .9; }
  35%  { opacity: .35; }
  60%  { opacity: .0; transform: rotate(18deg) translateX(120%); }
  100% { opacity: .0; transform: rotate(18deg) translateX(120%); }
}

/* Subtle floating attention (only when not hovered) */
.pkp_structure_main .block_make_submission_link,
.pkp_structure_sidebar .block_make_submission_link,
.block_make_submission_link {
  animation:
    sojCtaGradient 8s ease infinite,
    sojCtaFloat 4.6s ease-in-out infinite !important;
}

@keyframes sojCtaFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-1.5px); }
}

/* Reduce motion respect */
@media (prefers-reduced-motion: reduce) {
  .pkp_structure_main .block_make_submission_link,
  .pkp_structure_sidebar .block_make_submission_link,
  .block_make_submission_link {
    animation: none !important;
    transition: none !important;
  }
  .pkp_structure_main .block_make_submission_link::after,
  .pkp_structure_sidebar .block_make_submission_link::after,
  .block_make_submission_link::after {
    animation: none !important;
  }
}

/* Mobile: full width + centered */
@media (max-width: 640px) {
  .pkp_structure_main .block_make_submission_link,
  .pkp_structure_sidebar .block_make_submission_link,
  .block_make_submission_link {
    width: 100% !important;
    padding: 14px 18px !important;
    border-radius: 14px !important;
    font-size: 14px !important;
  }
}


/* ========================================================= SIDEBAR — UNIFIED STYLE (Menul + Information + Browse) - No big card wrapper - Same title style + underline accent - Same pill links + arrow + hover - Add block padding - Rename "Menul" -> "Menu Sidebar" ========================================================= */
/* ---------- 1) BLOCK WRAPPER: flat + padding ---------- */
.pkp_structure_sidebar .pkp_block#customblock-menul,
.pkp_structure_sidebar .pkp_block.block_information,
.pkp_structure_sidebar .pkp_block.block_browse {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin: 0 0 22px 0 !important;
}

/* ---------- 2) TITLES: unify ---------- */
.pkp_structure_sidebar .pkp_block#customblock-menul>.title,
.pkp_structure_sidebar .pkp_block.block_information>.title,
.pkp_structure_sidebar .pkp_block.block_browse>.title {
  margin: 0 0 12px 0 !important;
  padding: 0 !important;
  font-family: 'Merriweather', Georgia, serif !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px !important;
  color: #257a84 !important;
}

/* If Menul title is screen-reader only, make it visible */
.pkp_structure_sidebar .pkp_block#customblock-menul>.title.pkp_screen_reader {
  position: static !important;
  width: auto !important;
  height: auto !important;
  clip: auto !important;
  overflow: visible !important;
  white-space: normal !important;
}

/* ✅ Rename Menul -> Menu Sidebar (CSS-only) */
.pkp_structure_sidebar .pkp_block#customblock-menul>.title {
  color: transparent !important;
  /* sembunyikan teks asli */
  position: relative !important;
}

.pkp_structure_sidebar .pkp_block#customblock-menul>.title::before {
  content: "Menu Sidebar" !important;
  display: block !important;
  color: #257a84 !important;
  font-family: 'Merriweather', Georgia, serif !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px !important;
}

/* Underline accent */
.pkp_structure_sidebar .pkp_block#customblock-menul>.title::after,
.pkp_structure_sidebar .pkp_block.block_information>.title::after,
.pkp_structure_sidebar .pkp_block.block_browse>.title::after {
  content: "" !important;
  display: block !important;
  width: 42px !important;
  height: 2px !important;
  margin-top: 6px !important;
  background: linear-gradient(90deg, #129e97, #257a84) !important;
}

/* ---------- 3) CONTENT spacing ---------- */
.pkp_structure_sidebar .pkp_block#customblock-menul .content,
.pkp_structure_sidebar .pkp_block.block_information .content,
.pkp_structure_sidebar .pkp_block.block_browse .content {
  padding: 0 !important;
}

/* Remove extra <br> inside custom block */
.pkp_structure_sidebar #customblock-menul .sidebar-box>br {
  display: none !important;
}

/* Custom aside wrapper should be flat too */
.pkp_structure_sidebar #customblock-menul .sidebar-box {
  width: auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
}

/* ---------- 4) LIST reset (all blocks) ---------- */
.pkp_structure_sidebar #customblock-menul .sidebar-menu,
.pkp_structure_sidebar .pkp_block.block_information ul,
.pkp_structure_sidebar .pkp_block.block_browse ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ---------- 5) LINK STYLE: unify pill links ---------- */
.pkp_structure_sidebar #customblock-menul .sidebar-menu li a,
.pkp_structure_sidebar .pkp_block.block_information li a,
.pkp_structure_sidebar .pkp_block.block_browse li a {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding: 10px 12px !important;
  margin: 6px 0 !important;
  border-radius: 12px !important;
  border: 1px solid #d6eaf8 !important;
  /* soft outline */
  background: #f0f7fc !important;
  /* very light */
  font-family: 'Geist', system-ui, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #0b3c5d !important;
  text-decoration: none !important;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease !important;
}

/* Arrow indicator (same everywhere) */
.pkp_structure_sidebar #customblock-menul .sidebar-menu li a::after,
.pkp_structure_sidebar .pkp_block.block_information li a::after,
.pkp_structure_sidebar .pkp_block.block_browse li a::after {
  content: "→" !important;
  font-weight: 900 !important;
  opacity: 0.6 !important;
  transition: transform .15s ease, opacity .15s ease !important;
}

/* Hover effect */
.pkp_structure_sidebar #customblock-menul .sidebar-menu li a:hover,
.pkp_structure_sidebar .pkp_block.block_information li a:hover,
.pkp_structure_sidebar .pkp_block.block_browse li a:hover {
  background: #d6eaf8 !important;
  border-color: #85c1e9 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(7, 39, 61, .08) !important;
}

.pkp_structure_sidebar #customblock-menul .sidebar-menu li a:hover::after,
.pkp_structure_sidebar .pkp_block.block_information li a:hover::after,
.pkp_structure_sidebar .pkp_block.block_browse li a:hover::after {
  transform: translateX(3px) !important;
  opacity: 1 !important;
}

/* Focus ring */
.pkp_structure_sidebar #customblock-menul .sidebar-menu li a:focus-visible,
.pkp_structure_sidebar .pkp_block.block_information li a:focus-visible,
.pkp_structure_sidebar .pkp_block.block_browse li a:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(133, 193, 233, .45), 0 6px 16px rgba(7, 39, 61, .08) !important;
}

/* ---------- 6) BROWSE: "Categories" label row (match typography) ---------- */
.pkp_structure_sidebar .pkp_block.block_browse li.has_submenu {
  margin-top: 10px !important;
  font-family: 'Geist', system-ui, sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: .4px !important;
  color: #5d6d7e !important;
}

/* Submenu list spacing */
.pkp_structure_sidebar .pkp_block.block_browse li.has_submenu>ul {
  margin-top: 6px !important;
}

/* Indent category pills slightly */
.pkp_structure_sidebar .pkp_block.block_browse li.has_submenu>ul>li a {
  margin-left: 10px !important;
}

/* Dot for category items (adds before arrow) */
.pkp_structure_sidebar .pkp_block.block_browse li.has_submenu>ul>li a::before {
  content: "•" !important;
  margin-right: 8px !important;
  color: #129e97 !important;
  font-weight: 900 !important;
}

/* ---------- 7) OPTIONAL: active link style (if you add .active manually) ---------- */
.pkp_structure_sidebar #customblock-menul .sidebar-menu li.active a,
.pkp_structure_sidebar .pkp_block li.active a {
  background: #aed6f1 !important;
  border-color: #85c1e9 !important;
  color: #07273d !important;
}

/* Mobile tuning */
@media (max-width: 640px) {

  .pkp_structure_sidebar #customblock-menul .sidebar-menu li a,
  .pkp_structure_sidebar .pkp_block.block_information li a,
  .pkp_structure_sidebar .pkp_block.block_browse li a {
    padding: 9px 10px !important;
    font-size: 13.5px !important;
  }
}

/* =========================================================
   FIXED NAV — Elegant + Animated (SOJ)
   ========================================================= */

/* Base state (normal) */
.pkp_navigation_primary_row {
  position: relative;
  z-index: 20;

  transition:
    transform .35s ease,
    box-shadow .35s ease,
    background .35s ease,
    opacity .25s ease;
}

/* ✅ Layout rapih (normal & fixed) */
.pkp_navigation_primary_wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
}

/* Pastikan ul & search sejajar */
.pkp_navigation_primary {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
}

.pkp_navigation_search_wrapper {
  display: flex !important;
  align-items: center !important;
}

/* Fixed state */
.pkp_navigation_primary_row.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  z-index: 999;

  background: linear-gradient(
    135deg,
    rgba(18, 158, 151, 0.94),
    rgba(37, 122, 132, 0.94)
  ) !important;

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  box-shadow: 0 12px 32px rgba(7,39,61,.22);

  animation: sojNavIn .45s cubic-bezier(.22,1,.36,1);
}

/* Entrance animation (slide + fade + subtle scale) */
@keyframes sojNavIn {
  from { transform: translateY(-110%) scale(0.98); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

/* =========================================================
   NAV LINKS — refine on fixed
   ========================================================= */
.pkp_navigation_primary_row.is-fixed .pkp_navigation_primary > li > a {
  color: #ffffff !important;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;

  /* ✅ rapih: tinggi bar konsisten */
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1.1 !important;
  padding: 14px 10px !important;

  transition: color .2s ease, transform .2s ease;
}

/* Hover underline animated */
.pkp_navigation_primary_row.is-fixed .pkp_navigation_primary > li > a::after {
  content: "";
  display: block;
  height: 2px;
  width: 0;
  margin-top: 6px;
  background: linear-gradient(90deg, #eaf6fb, #ffffff);
  transition: width .25s ease;
}

.pkp_navigation_primary_row.is-fixed .pkp_navigation_primary > li > a:hover::after {
  width: 100%;
}

/* Hover state */
.pkp_navigation_primary_row.is-fixed .pkp_navigation_primary > li > a:hover {
  color: #eaf6fb !important;
  transform: translateY(-1px);
}

/* Active link */
.pkp_navigation_primary_row.is-fixed .pkp_navigation_primary > li.current > a,
.pkp_navigation_primary_row.is-fixed .pkp_navigation_primary > li.active > a {
  color: #ffffff !important;
}

/* =========================================================
   ✅ DROPDOWN ARROW — jangan turun + lebih rapih saat fixed
   ========================================================= */

/* Matikan caret bawaan theme/bootstrap (kalau ada) */
.pkp_navigation_primary a[data-toggle="dropdown"]::after {
  display: none !important;
}

/* Buat anchor dropdown tetap inline-flex biar arrow nempel */
.pkp_navigation_primary a[data-toggle="dropdown"] {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding-right: 18px !important; /* ruang arrow */
  line-height: 1.1 !important;
  position: relative !important;
}

/* Arrow custom */
.pkp_navigation_primary a[data-toggle="dropdown"]::before {
  content: "▾" !important;
  display: inline-block !important;

  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1 !important;

  margin-left: 4px !important;

  /* ✅ kunci supaya tidak turun */
  transform: translateY(0) !important;

  opacity: .9 !important;
  transition: transform .2s ease, opacity .2s ease !important;
}

/* Hover: rotate */
.pkp_navigation_primary a[data-toggle="dropdown"]:hover::before {
  transform: rotate(180deg) !important;
  opacity: 1 !important;
}

/* Saat dropdown terbuka (OJS bisa pakai .show atau .open) */
.pkp_navigation_primary li.show > a[data-toggle="dropdown"]::before,
.pkp_navigation_primary li.open > a[data-toggle="dropdown"]::before {
  transform: rotate(180deg) !important;
  opacity: 1 !important;
}

/* =========================================================
   DROPDOWN MENU — fixed state
   ========================================================= */
.pkp_navigation_primary_row.is-fixed .dropdown-menu {
  background: #ffffff !important;
  border-radius: 14px;
  border: 1px solid #d6eaf8;
  box-shadow: 0 16px 36px rgba(7,39,61,.22);
}

.pkp_navigation_primary_row.is-fixed .dropdown-menu li a {
  color: #0b3c5d !important;
  font-weight: 600;
}

.pkp_navigation_primary_row.is-fixed .dropdown-menu li a:hover {
  background: #f0f7fc !important;
  color: #257a84 !important;
}

/* =========================================================
   SEARCH LINK — fixed state (rapih sejajar)
   ========================================================= */
.pkp_navigation_primary_row.is-fixed .pkp_navigation_search_wrapper a {
  color: #ffffff !important;
  font-weight: 700;

  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 14px 10px !important;
  line-height: 1.1 !important;
}

.pkp_navigation_primary_row.is-fixed .pkp_navigation_search_wrapper a:hover {
  color: #eaf6fb !important;
}

/* =========================================================
   MOBILE TUNING
   ========================================================= */
@media (max-width: 992px) {
  .pkp_navigation_primary_row.is-fixed {
    background: linear-gradient(
      135deg,
      rgba(18, 158, 151, 0.98),
      rgba(37, 122, 132, 0.98)
    ) !important;
  }
}

/* =========================================================
   ACCESSIBILITY — reduce motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .pkp_navigation_primary_row,
  .pkp_navigation_primary_row.is-fixed {
    animation: none !important;
    transition: none !important;
  }
}


/* =========================================================
   MOBILE PRIMARY NAV — Vertical & Clean
   Target: #navigationPrimary (UL biasa)
   ========================================================= */
@media (max-width: 992px) {

  /* UL utama */
  #navigationPrimary {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;

    width: 100% !important;
    margin: 0 !important;
    padding: 16px !important;

    list-style: none !important;
    gap: 8px !important;
  }

  /* LI utama */
  #navigationPrimary > li {
    width: 100% !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Link utama */
  #navigationPrimary > li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    width: 100% !important;
    padding: 12px 14px !important;

    border-radius: 12px !important;
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.14) !important;

    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    letter-spacing: .2px !important;
    text-decoration: none !important;
  }

  /* Hover / tap */
  #navigationPrimary > li > a:hover {
    background: rgba(255,255,255,0.14) !important;
  }

  /* ============================
     SUBMENU (About → children)
     ============================ */

  /* UL submenu */
  #navigationPrimary > li > ul {
    display: block !important;
    margin: 6px 0 0 0 !important;
    padding: 6px !important;

    list-style: none !important;
    border-radius: 12px !important;

    background: rgba(0,0,0,0.08) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
  }

  /* LI submenu */
  #navigationPrimary > li > ul > li {
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Link submenu */
  #navigationPrimary > li > ul > li > a {
    display: block !important;

    padding: 10px 12px !important;
    border-radius: 10px !important;

    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-decoration: none !important;
  }

  #navigationPrimary > li > ul > li > a:hover {
    background: rgba(255,255,255,0.12) !important;
  }

}

/* =========================================================
   SOJ FINAL OVERRIDES
   - Layout desktop stabil
   - Current Issue
   - Daftar publikasi
   - Archive issue
   Tempelkan bagian ini paling bawah apabila digabung manual.
   ========================================================= */

/* =========================================================
   1. WIDE DESKTOP LAYOUT — Stabil untuk semua halaman OJS
   ========================================================= */

:root {
  --soj-layout-max-width: 1500px;
  --soj-layout-gutter: 24px;
  --soj-sidebar-width: 300px;
  --soj-content-gap: 34px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

.pkp_structure_main,
.pkp_structure_main > *,
.pkp_page_content,
.additional_content,
.page_index_journal {
  min-width: 0;
  max-width: 100%;
}

.pkp_structure_main img,
.pkp_page_content img,
.additional_content img {
  max-width: 100%;
  height: auto;
}

@media (min-width: 1200px) {

  .pkp_structure_page {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .pkp_head_wrapper,
  .pkp_structure_content,
  .pkp_structure_footer {
    width: calc(100% - (var(--soj-layout-gutter) * 2)) !important;
    max-width: var(--soj-layout-max-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Halaman dengan sidebar */
  .pkp_structure_content.has_sidebar {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: var(--soj-content-gap) !important;
  }

  .pkp_structure_content.has_sidebar > .pkp_structure_main {
    order: 1 !important;
    flex: 1 1 0 !important;

    width: 0 !important;
    max-width: none !important;
    min-width: 0 !important;

    float: none !important;
    clear: none !important;

    margin: 0 !important;
    padding-left: 32px !important;
    padding-right: 32px !important;
  }

  .pkp_structure_content.has_sidebar > .pkp_structure_sidebar,
  .pkp_structure_content.has_sidebar > .pkp_structure_sidebar.left,
  .pkp_structure_content.has_sidebar > .pkp_structure_sidebar.right {
    order: 2 !important;
    flex: 0 0 var(--soj-sidebar-width) !important;

    width: var(--soj-sidebar-width) !important;
    max-width: var(--soj-sidebar-width) !important;
    min-width: 0 !important;

    float: none !important;
    clear: none !important;

    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Halaman tanpa sidebar, misalnya Editorial Team tertentu */
  .pkp_structure_content:not(.has_sidebar) {
    display: block !important;
  }

  .pkp_structure_content:not(.has_sidebar) > .pkp_structure_main {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;

    float: none !important;
    clear: both !important;

    margin: 0 !important;
    padding-left: 32px !important;
    padding-right: 32px !important;
  }

  /* Cegah konten internal melewati kolom utama */
  .pkp_structure_main .additional_content,
  .pkp_structure_main .pkp_page_content,
  .pkp_structure_main .page,
  .pkp_structure_main .page_index_journal {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  :root {
    --soj-sidebar-width: 280px;
    --soj-content-gap: 28px;
  }

  .pkp_structure_content.has_sidebar > .pkp_structure_main,
  .pkp_structure_content:not(.has_sidebar) > .pkp_structure_main {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

@media (min-width: 1600px) {
  :root {
    --soj-layout-gutter: 32px;
    --soj-sidebar-width: 320px;
    --soj-content-gap: 40px;
  }
}

/* Tablet dan mobile kembali mengikuti alur vertikal */
@media (max-width: 1199px) {
  .pkp_structure_content.has_sidebar {
    display: block !important;
  }

  .pkp_structure_content.has_sidebar > .pkp_structure_main,
  .pkp_structure_content.has_sidebar > .pkp_structure_sidebar {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}


/* =========================================================
   2. CURRENT ISSUE — Minimal, profesional, dengan ikon
   ========================================================= */

.page_index_journal .current_issue {
  position: relative;
  margin: 34px 0 46px !important;
  padding: 28px 30px 26px !important;

  border: 0 !important;
  border-radius: 20px !important;

  background:
    radial-gradient(
      circle at 100% 0,
      rgba(18, 158, 151, 0.12),
      transparent 40%
    ),
    linear-gradient(145deg, #ffffff 0%, #f7fbfc 100%) !important;

  box-shadow:
    0 14px 36px rgba(7, 39, 61, 0.075),
    0 3px 9px rgba(7, 39, 61, 0.025) !important;

  overflow: hidden;
}

.page_index_journal .current_issue::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  right: 30px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, #129e97, #257a84, rgba(37, 122, 132, 0.12));
}

.page_index_journal .current_issue::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -75px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(18, 158, 151, 0.035);
  pointer-events: none;
}

.page_index_journal .current_issue > h2 {
  position: relative;
  z-index: 2;

  display: flex !important;
  align-items: center !important;
  gap: 12px !important;

  margin: 0 0 21px !important;
  padding: 0 !important;
  border: 0 !important;

  font-family: 'Merriweather', Georgia, serif !important;
  font-size: 23px !important;
  font-weight: 700 !important;
  color: #257a84 !important;
}

.page_index_journal .current_issue > h2::before {
  content: "\f1ea";

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 39px;
  height: 39px;
  flex: 0 0 39px;

  border-radius: 12px;

  font-family: FontAwesome !important;
  font-size: 17px;
  font-weight: normal;
  color: #ffffff;

  background: linear-gradient(135deg, #129e97, #257a84);
  box-shadow: 0 8px 18px rgba(18, 158, 151, 0.22);
}

.page_index_journal .current_issue .current_issue_title {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  gap: 10px;

  margin: 0 0 12px !important;

  font-family: 'Merriweather', Georgia, serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  color: #0b3c5d !important;
}

.page_index_journal .current_issue .current_issue_title::before {
  content: "\f02d";

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 28px;
  height: 28px;
  flex: 0 0 28px;

  border-radius: 9px;

  font-family: FontAwesome !important;
  font-size: 13px;
  font-weight: normal;
  color: #129e97;

  background: rgba(18, 158, 151, 0.09);
}

.page_index_journal .current_issue .obj_issue_toc,
.page_index_journal .current_issue .obj_issue_toc > .heading {
  position: relative;
  z-index: 2;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.page_index_journal .current_issue .published {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;

  width: fit-content;
  margin: 0 0 20px !important;
  padding: 7px 12px !important;

  border: 0 !important;
  border-radius: 10px !important;

  background: rgba(18, 158, 151, 0.075) !important;

  font-family: 'Geist', system-ui, sans-serif !important;
  font-size: 13px !important;
  color: #526372 !important;
}

.page_index_journal .current_issue .published::before {
  content: "\f073";
  font-family: FontAwesome !important;
  font-size: 13px;
  font-weight: normal;
  color: #129e97;
}

.page_index_journal .current_issue .published .label {
  font-weight: 700 !important;
  color: #0b3c5d !important;
}

.page_index_journal .current_issue > .read_more {
  position: relative;
  z-index: 2;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;

  margin: 8px 0 0 !important;
  padding: 10px 15px !important;

  border: 0 !important;
  border-radius: 11px !important;

  background: linear-gradient(135deg, #129e97, #257a84) !important;

  font-family: 'Geist', system-ui, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  text-decoration: none !important;

  box-shadow: 0 8px 20px rgba(18, 158, 151, 0.2) !important;

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease !important;
}

.page_index_journal .current_issue > .read_more::before {
  content: "\f03a";
  font-family: FontAwesome !important;
  font-size: 13px;
  font-weight: normal;
}

.page_index_journal .current_issue > .read_more::after {
  content: "\f061";
  font-family: FontAwesome !important;
  font-size: 12px;
  font-weight: normal;
  transition: transform 0.18s ease;
}

.page_index_journal .current_issue > .read_more:hover {
  transform: translateY(-2px);
  filter: brightness(1.035);
  box-shadow: 0 12px 25px rgba(18, 158, 151, 0.27) !important;
}

.page_index_journal .current_issue > .read_more:hover::after {
  transform: translateX(3px);
}


/* =========================================================
   3. JUDUL SECTION PUBLIKASI
   ========================================================= */

.obj_issue_toc .sections {
  margin-top: 24px !important;
}

.obj_issue_toc .section {
  margin: 0 0 26px !important;
}

.obj_issue_toc .section > h2,
.obj_issue_toc .section > h3,
.obj_issue_toc .section > .title {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;

  margin: 0 0 14px !important;
  padding: 0 !important;
  border: 0 !important;

  font-family: 'Merriweather', Georgia, serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #257a84 !important;
}

.obj_issue_toc .section > h2::before,
.obj_issue_toc .section > h3::before,
.obj_issue_toc .section > .title::before {
  content: "\f15c";

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 31px;
  height: 31px;
  flex: 0 0 31px;

  border-radius: 9px;

  font-family: FontAwesome !important;
  font-size: 14px;
  font-weight: normal;
  color: #129e97;

  background: rgba(18, 158, 151, 0.09);
}


/* =========================================================
   4. DAFTAR ARTIKEL / PUBLIKASI
   ========================================================= */

.obj_issue_toc .articles {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px !important;

  margin: 0 !important;
  padding: 0 !important;

  list-style: none !important;
}

.obj_issue_toc .articles > li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  list-style: none !important;
}

.page_index_journal .obj_article_summary,
.page_issue .obj_article_summary,
.obj_issue_toc .obj_article_summary {
  position: relative;

  margin: 0 !important;
  padding: 18px 20px 17px 52px !important;

  border: 0 !important;
  border-radius: 15px !important;

  background: #ffffff !important;

  box-shadow:
    0 7px 21px rgba(7, 39, 61, 0.06),
    0 2px 5px rgba(7, 39, 61, 0.02) !important;

  overflow: hidden;

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease !important;
}

.page_index_journal .obj_article_summary::before,
.page_issue .obj_article_summary::before,
.obj_issue_toc .obj_article_summary::before {
  content: "\f15c";

  position: absolute;
  top: 18px;
  left: 17px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 26px;
  height: 26px;

  border-radius: 8px;

  font-family: FontAwesome !important;
  font-size: 12px;
  font-weight: normal;
  color: #129e97;

  background: rgba(18, 158, 151, 0.09);
}

.page_index_journal .obj_article_summary:hover,
.page_issue .obj_article_summary:hover,
.obj_issue_toc .obj_article_summary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 14px 28px rgba(7, 39, 61, 0.095),
    0 4px 9px rgba(18, 158, 151, 0.045) !important;
}

.obj_article_summary .title {
  margin: 0 0 8px !important;
  padding: 0 !important;
  border: 0 !important;

  font-family: 'Merriweather', Georgia, serif !important;
  font-size: 16.5px !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
}

.obj_article_summary .title a {
  color: #0b3c5d !important;
  text-decoration: none !important;
}

.obj_article_summary .title a:hover {
  color: #129e97 !important;
}

.obj_article_summary .authors {
  display: flex;
  align-items: flex-start;
  gap: 7px;

  margin: 0 0 7px !important;

  font-family: 'Geist', system-ui, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
  color: #5d6d7e !important;
}

.obj_article_summary .authors::before {
  content: "\f007";
  flex: 0 0 auto;
  margin-top: 3px;
  font-family: FontAwesome !important;
  font-size: 12px;
  font-weight: normal;
  color: #129e97;
}

.obj_article_summary .pages {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 10px;

  font-family: 'Geist', system-ui, sans-serif !important;
  font-size: 12.5px !important;
  color: #71808e !important;
}

.obj_article_summary .pages::before {
  content: "\f0c5";
  font-family: FontAwesome !important;
  font-size: 11px;
  font-weight: normal;
  color: #129e97;
}

.obj_article_summary .meta,
.obj_article_summary .published,
.obj_article_summary .subtitle {
  font-family: 'Geist', system-ui, sans-serif !important;
  font-size: 12.5px !important;
  line-height: 1.6 !important;
  color: #71808e !important;
}

.obj_article_summary .doi {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 7px;
}

.obj_article_summary .doi::before {
  content: "\f0c1";
  flex: 0 0 auto;
  margin-top: 3px;
  font-family: FontAwesome !important;
  font-size: 12px;
  font-weight: normal;
  color: #129e97;
}

.obj_article_summary .doi,
.obj_article_summary .doi a {
  font-family: 'Geist', system-ui, sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  line-height: 1.55 !important;
  color: #257a84 !important;
  word-break: break-word;
}

.obj_article_summary .abstract,
.obj_article_summary .description {
  margin-top: 10px !important;
  padding: 10px 12px !important;

  border: 0 !important;
  border-radius: 10px !important;

  background: #f7fafb !important;

  font-family: 'Geist', system-ui, sans-serif !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
  color: #526372 !important;
}


/* =========================================================
   5. PDF / GALLEY
   ========================================================= */

.obj_article_summary .galleys_links,
.obj_article_summary .galleys {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;

  margin: 12px 0 0 !important;
  padding: 0 !important;

  border: 0 !important;
  list-style: none !important;
}

.obj_article_summary .galleys_links > li,
.obj_article_summary .galleys > li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  list-style: none !important;
}

.obj_article_summary .obj_galley_link,
.obj_article_summary .galleys_links a,
.obj_article_summary .galleys a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;

  min-height: 33px;
  padding: 7px 12px !important;

  border: 0 !important;
  border-radius: 9px !important;

  background: rgba(18, 158, 151, 0.09) !important;

  font-family: 'Geist', system-ui, sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #0b5c61 !important;
  text-decoration: none !important;
  text-transform: uppercase;

  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease !important;
}

.obj_article_summary .obj_galley_link::before,
.obj_article_summary .galleys_links a::before,
.obj_article_summary .galleys a::before {
  content: "\f1c1";
  font-family: FontAwesome !important;
  font-size: 13px;
  font-weight: normal;
}

.obj_article_summary .obj_galley_link::after,
.obj_article_summary .galleys_links a::after,
.obj_article_summary .galleys a::after {
  content: "\f019";
  font-family: FontAwesome !important;
  font-size: 11px;
  font-weight: normal;
  opacity: 0.75;
}

.obj_article_summary .obj_galley_link:hover,
.obj_article_summary .galleys_links a:hover,
.obj_article_summary .galleys a:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #129e97, #257a84) !important;
  color: #ffffff !important;
}


/* =========================================================
   6. ARCHIVE / LIST ISSUE
   ========================================================= */

.page_issue_archive .issues_archive {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px !important;

  margin: 24px 0 40px !important;
  padding: 0 !important;

  list-style: none !important;
}

.page_issue_archive .issues_archive > li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  list-style: none !important;
}

.page_issue_archive .obj_issue_summary {
  position: relative;

  height: 100%;
  margin: 0 !important;
  padding: 19px !important;

  border: 0 !important;
  border-radius: 17px !important;

  background: #ffffff !important;

  box-shadow:
    0 9px 25px rgba(7, 39, 61, 0.065),
    0 2px 5px rgba(7, 39, 61, 0.02) !important;

  overflow: hidden;

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease !important;
}

.page_issue_archive .obj_issue_summary:hover {
  transform: translateY(-4px);
  box-shadow:
    0 16px 34px rgba(7, 39, 61, 0.105),
    0 4px 9px rgba(18, 158, 151, 0.045) !important;
}

.page_issue_archive .obj_issue_summary .cover {
  position: relative;
  margin-bottom: 15px !important;
}

.page_issue_archive .obj_issue_summary .cover::after {
  content: "\f06e";

  position: absolute;
  right: 9px;
  bottom: 9px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 31px;
  height: 31px;

  border-radius: 9px;

  font-family: FontAwesome !important;
  font-size: 13px;
  font-weight: normal;
  color: #ffffff;

  background: rgba(11, 60, 93, 0.82);
  box-shadow: 0 5px 12px rgba(7, 39, 61, 0.18);

  pointer-events: none;
}

.page_issue_archive .obj_issue_summary .cover img {
  display: block;

  width: 100%;
  max-height: 270px;
  object-fit: cover;

  border: 0 !important;
  border-radius: 12px !important;

  box-shadow: 0 7px 17px rgba(7, 39, 61, 0.095);

  transition: transform 0.22s ease;
}

.page_issue_archive .obj_issue_summary:hover .cover img {
  transform: scale(1.012);
}

.page_issue_archive .obj_issue_summary .title {
  position: relative;

  margin: 0 0 8px !important;
  padding-left: 27px !important;

  border: 0 !important;

  font-family: 'Merriweather', Georgia, serif !important;
  font-size: 16.5px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
}

.page_issue_archive .obj_issue_summary .title::before {
  content: "\f02d";

  position: absolute;
  top: 4px;
  left: 0;

  font-family: FontAwesome !important;
  font-size: 15px;
  font-weight: normal;
  color: #129e97;
}

.page_issue_archive .obj_issue_summary .title a {
  color: #0b3c5d !important;
  text-decoration: none !important;
}

.page_issue_archive .obj_issue_summary .title a:hover {
  color: #129e97 !important;
}

.page_issue_archive .obj_issue_summary .date,
.page_issue_archive .obj_issue_summary .published {
  display: flex;
  align-items: center;
  gap: 7px;

  margin-top: 7px;

  font-family: 'Geist', system-ui, sans-serif !important;
  font-size: 12.5px !important;
  line-height: 1.6 !important;
  color: #71808e !important;
}

.page_issue_archive .obj_issue_summary .date::before,
.page_issue_archive .obj_issue_summary .published::before {
  content: "\f073";
  font-family: FontAwesome !important;
  font-size: 12px;
  font-weight: normal;
  color: #129e97;
}

.page_issue_archive .obj_issue_summary .description {
  margin-top: 9px !important;

  font-family: 'Geist', system-ui, sans-serif !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
  color: #5d6d7e !important;
}


/* =========================================================
   7. RESPONSIVE CURRENT ISSUE & PUBLICATIONS
   ========================================================= */

@media (max-width: 900px) {
  .page_issue_archive .issues_archive {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {

  .page_index_journal .current_issue {
    margin: 26px 0 36px !important;
    padding: 23px 18px 21px !important;
    border-radius: 16px !important;
  }

  .page_index_journal .current_issue::before {
    left: 18px;
    right: 18px;
  }

  .page_index_journal .current_issue > h2 {
    gap: 9px !important;
    margin-bottom: 18px !important;
    font-size: 19px !important;
  }

  .page_index_journal .current_issue > h2::before {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 10px;
  }

  .page_index_journal .current_issue .current_issue_title {
    align-items: flex-start;
    font-size: 17px !important;
  }

  .page_index_journal .current_issue > .read_more {
    width: 100%;
    padding: 11px 14px !important;
  }

  .page_index_journal .obj_article_summary,
  .page_issue .obj_article_summary,
  .obj_issue_toc .obj_article_summary {
    padding: 17px 15px 16px 47px !important;
    border-radius: 13px !important;
  }

  .page_index_journal .obj_article_summary::before,
  .page_issue .obj_article_summary::before,
  .obj_issue_toc .obj_article_summary::before {
    top: 17px;
    left: 14px;
  }

  .obj_article_summary .title {
    font-size: 15px !important;
  }

  .page_issue_archive .obj_issue_summary {
    padding: 15px !important;
    border-radius: 14px !important;
  }
}


/* =========================================================
   8. ACCESSIBILITY
   ========================================================= */

.page_index_journal .current_issue a:focus-visible,
.obj_article_summary a:focus-visible,
.page_issue_archive .obj_issue_summary a:focus-visible {
  outline: 3px solid rgba(18, 158, 151, 0.32) !important;
  outline-offset: 3px !important;
  border-radius: 7px;
}

@media (prefers-reduced-motion: reduce) {
  .page_index_journal .current_issue *,
  .obj_article_summary,
  .obj_article_summary *,
  .page_issue_archive .obj_issue_summary,
  .page_issue_archive .obj_issue_summary * {
    animation: none !important;
    transition: none !important;
  }
}

/* =========================================================
   SOJ BORDER / SEPARATOR FIX
   Menghapus garis bawaan OJS yang tidak lagi sejajar setelah
   layout desktop dilebarkan.
   ========================================================= */

/* Garis horizontal bawaan di atas additional content homepage */
.page_index_journal .additional_content,
.page_index_journal > .additional_content,
.pkp_structure_main .additional_content {
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

/* Hilangkan divider vertikal bawaan main dan sidebar */
@media (min-width: 992px) {
  .pkp_structure_content,
  .pkp_structure_content.has_sidebar,
  .pkp_structure_main,
  .pkp_structure_sidebar,
  .pkp_structure_sidebar.left,
  .pkp_structure_sidebar.right {
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
  }

  .pkp_structure_content.has_sidebar > .pkp_structure_main,
  .pkp_structure_content.has_sidebar > .pkp_structure_sidebar,
  .pkp_structure_content.has_sidebar > .pkp_structure_sidebar.left,
  .pkp_structure_content.has_sidebar > .pkp_structure_sidebar.right {
    border: 0 !important;
    box-shadow: none !important;
  }

  /* Antisipasi separator yang dibuat memakai pseudo-element */
  .pkp_structure_content::before,
  .pkp_structure_content::after,
  .pkp_structure_main::before,
  .pkp_structure_main::after,
  .pkp_structure_sidebar::before,
  .pkp_structure_sidebar::after {
    content: none !important;
    display: none !important;
    border: 0 !important;
  }
}

/* =========================================================
   CURRENT ISSUE — FINAL BUTTON & EMPTY CONTENT FIX
   Merapikan tombol View All Issues dan menghapus ruang kosong
   ketika issue belum memiliki daftar artikel.
   ========================================================= */

/* Pastikan tinggi card mengikuti isi aktual */
.page_index_journal .current_issue {
  min-height: 0 !important;
  height: auto !important;
}

/* Hilangkan ruang dari TOC/sections yang benar-benar kosong */
.page_index_journal .current_issue .obj_issue_toc,
.page_index_journal .current_issue .obj_issue_toc > .heading,
.page_index_journal .current_issue .obj_issue_toc .sections {
  min-height: 0 !important;
  height: auto !important;
}

.page_index_journal .current_issue .sections:empty,
.page_index_journal .current_issue .obj_issue_toc .sections:empty {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* Jarak metadata ke tombol dibuat ringkas */
.page_index_journal .current_issue .obj_issue_toc {
  margin: 0 0 14px !important;
  padding: 0 !important;
}

.page_index_journal .current_issue .obj_issue_toc > .heading {
  margin: 0 !important;
  padding: 0 !important;
}

/* Hilangkan margin bawah berlebih pada published */
.page_index_journal .current_issue .published {
  margin: 0 !important;
}

/* Tombol View All Issues */
.page_index_journal .current_issue > a.read_more,
.page_index_journal .current_issue > .read_more {
  position: static !important;
  float: none !important;
  clear: both !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  gap: 8px !important;

  width: auto !important;
  max-width: max-content !important;
  min-width: 0 !important;
  min-height: 38px !important;
  height: auto !important;

  margin: 0 !important;
  padding: 9px 14px !important;

  border: 0 !important;
  border-radius: 10px !important;

  background: linear-gradient(
    135deg,
    #129e97 0%,
    #257a84 100%
  ) !important;

  font-family: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;

  color: #ffffff !important;
  text-decoration: none !important;

  box-shadow: 0 7px 16px rgba(18, 158, 151, 0.20) !important;

  transform: none !important;

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    filter .18s ease !important;
}

/* Ikon daftar */
.page_index_journal .current_issue > a.read_more::before,
.page_index_journal .current_issue > .read_more::before {
  content: "\f03a" !important;

  position: static !important;
  display: inline-block !important;
  flex: 0 0 auto !important;

  width: auto !important;
  height: auto !important;
  margin: 0 !important;

  font-family: FontAwesome !important;
  font-size: 12px !important;
  font-weight: normal !important;
  line-height: 1 !important;

  color: currentColor !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Ikon panah */
.page_index_journal .current_issue > a.read_more::after,
.page_index_journal .current_issue > .read_more::after {
  content: "\f061" !important;

  position: static !important;
  display: inline-block !important;
  flex: 0 0 auto !important;

  width: auto !important;
  height: auto !important;
  margin: 0 0 0 2px !important;

  font-family: FontAwesome !important;
  font-size: 11px !important;
  font-weight: normal !important;
  line-height: 1 !important;

  color: currentColor !important;
  background: transparent !important;
  box-shadow: none !important;

  transition: transform .18s ease !important;
}

/* Hover */
.page_index_journal .current_issue > a.read_more:hover,
.page_index_journal .current_issue > .read_more:hover {
  transform: translateY(-2px) !important;
  filter: brightness(1.035) !important;

  background: linear-gradient(
    135deg,
    #108f89 0%,
    #216f78 100%
  ) !important;

  color: #ffffff !important;
  text-decoration: none !important;

  box-shadow: 0 10px 21px rgba(18, 158, 151, 0.27) !important;
}

.page_index_journal .current_issue > a.read_more:hover::after,
.page_index_journal .current_issue > .read_more:hover::after {
  transform: translateX(3px) !important;
}

/* Fokus keyboard */
.page_index_journal .current_issue > a.read_more:focus-visible,
.page_index_journal .current_issue > .read_more:focus-visible {
  outline: none !important;
  box-shadow:
    0 0 0 3px rgba(133, 193, 233, 0.45),
    0 8px 18px rgba(18, 158, 151, 0.22) !important;
}

/* Mobile tetap ringkas, tidak dipaksa full width */
@media (max-width: 640px) {
  .page_index_journal .current_issue > a.read_more,
  .page_index_journal .current_issue > .read_more {
    width: auto !important;
    max-width: 100% !important;
    min-height: 38px !important;

    padding: 9px 13px !important;

    font-size: 12.5px !important;
    white-space: normal !important;
  }
}

/* =========================================================
   WIDE DESKTOP LAYOUT — Maksimalkan layar 1600px+
   ========================================================= */

:root {
  --soj-layout-max-width: 1500px;
  --soj-layout-gutter: 24px;
}

/* Header, navigasi, konten, dan footer tetap sejajar */
@media (min-width: 1200px) {

  .pkp_head_wrapper,
  .pkp_structure_content,
  .pkp_structure_footer {
    width: calc(100% - (var(--soj-layout-gutter) * 2)) !important;
    max-width: var(--soj-layout-max-width) !important;

    margin-left: auto !important;
    margin-right: auto !important;

    box-sizing: border-box !important;
  }
}


/* =========================================================
   LAYOUT MAIN CONTENT + SIDEBAR
   Main content mendapatkan ruang tambahan
   ========================================================= */

@media (min-width: 1200px) {

  .pkp_structure_content.has_sidebar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 300px !important;
    column-gap: 34px !important;
    align-items: start !important;
  }

  .pkp_structure_content.has_sidebar .pkp_structure_main {
    width: auto !important;
    min-width: 0 !important;
    float: none !important;

    margin: 0 !important;
  }

  .pkp_structure_content.has_sidebar .pkp_structure_sidebar {
    width: auto !important;
    min-width: 0 !important;
    float: none !important;

    margin: 0 !important;
  }
}


/* =========================================================
   KHUSUS LAYAR 1600px KE ATAS
   ========================================================= */

@media (min-width: 1600px) {

  .pkp_head_wrapper,
  .pkp_structure_content,
  .pkp_structure_footer {
    max-width: 1500px !important;
  }

  .pkp_structure_content.has_sidebar {
    grid-template-columns: minmax(0, 1fr) 310px !important;
    column-gap: 38px !important;
  }
}


/* =========================================================
   TABLET — kembali mengikuti layout OJS
   ========================================================= */

@media (max-width: 1199px) {

  .pkp_head_wrapper,
  .pkp_structure_content,
  .pkp_structure_footer {
    width: 100% !important;
    max-width: none !important;
  }

  .pkp_structure_content.has_sidebar {
    display: block !important;
  }
}

/* =========================================================
   SIDEBAR — Compact vertical spacing
   ========================================================= */

/* Jarak antar-block sidebar */
.pkp_structure_sidebar .pkp_block {
  margin-top: 0 !important;
  margin-bottom: 16px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Judul setiap block */
.pkp_structure_sidebar .pkp_block > .title {
  margin-top: 0 !important;
  margin-bottom: 8px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;

  line-height: 1.35 !important;
}

/* Garis dekorasi di bawah judul */
.pkp_structure_sidebar .pkp_block > .title::after {
  margin-top: 5px !important;
  margin-bottom: 0 !important;
}

/* Konten block */
.pkp_structure_sidebar .pkp_block > .content {
  margin: 0 !important;
  padding: 0 !important;
}

/* Reset paragraf bawaan OJS */
.pkp_structure_sidebar .pkp_block .content > p {
  margin: 0 !important;
  padding: 0 !important;
}

/* Reset list */
.pkp_structure_sidebar .pkp_block ul {
  margin: 0 !important;
  padding: 0 !important;
}

/* Jarak antar-item */
.pkp_structure_sidebar .pkp_block ul > li {
  margin: 0 0 6px !important;
  padding: 0 !important;
}

.pkp_structure_sidebar .pkp_block ul > li:last-child {
  margin-bottom: 0 !important;
}


/* =========================================================
   MENU SIDEBAR
   ========================================================= */

.pkp_structure_sidebar #customblock-menul .sidebar-box {
  margin: 0 !important;
  padding: 0 !important;
}

.pkp_structure_sidebar #customblock-menul .sidebar-box > br {
  display: none !important;
}

.pkp_structure_sidebar #customblock-menul .sidebar-menu {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;

  margin: 0 !important;
  padding: 0 !important;
}

.pkp_structure_sidebar #customblock-menul .sidebar-menu li {
  margin: 0 !important;
  padding: 0 !important;
}

.pkp_structure_sidebar #customblock-menul .sidebar-menu li a,
.pkp_structure_sidebar .block_information li a,
.pkp_structure_sidebar .block_browse li a {
  min-height: auto !important;

  margin: 0 !important;
  padding: 8px 12px !important;

  border-radius: 10px !important;

  font-size: 13.5px !important;
  line-height: 1.35 !important;
}


/* =========================================================
   BROWSE
   ========================================================= */

.pkp_structure_sidebar .block_browse li.has_submenu {
  margin: 0 !important;
  padding: 0 !important;
}

.pkp_structure_sidebar .block_browse li.has_submenu > ul {
  margin-top: 5px !important;
}

.pkp_structure_sidebar .block_browse li.has_submenu > ul > li {
  margin-bottom: 5px !important;
}

.pkp_structure_sidebar .block_browse li.has_submenu > ul > li a {
  margin-left: 0 !important;
}


/* =========================================================
   TEMPLATE ARTICLE
   ========================================================= */

.pkp_structure_sidebar #customblock-template-article .content p {
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;

  margin: 0 !important;
  padding: 0 !important;
}

.pkp_structure_sidebar #customblock-template-article .content br {
  display: none !important;
}

.pkp_structure_sidebar #customblock-template-article img {
  display: block !important;

  width: 100% !important;
  max-width: 200px !important;
  height: auto !important;

  margin: 0 !important;
}


/* =========================================================
   RECOMMENDED TOOLS
   ========================================================= */

.pkp_structure_sidebar #customblock-recommended-tools .content p {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 7px !important;

  margin: 0 !important;
  padding: 0 !important;
}

.pkp_structure_sidebar #customblock-recommended-tools .content br {
  display: none !important;
}

.pkp_structure_sidebar #customblock-recommended-tools a {
  display: inline-flex !important;
  margin: 0 !important;
}

.pkp_structure_sidebar #customblock-recommended-tools img {
  display: block !important;
  height: auto !important;
  margin: 0 !important;
}


/* =========================================================
   WEB FEED
   ========================================================= */

.pkp_structure_sidebar .block_web_feed .content ul {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;

  margin: 0 !important;
  padding: 0 !important;
}

.pkp_structure_sidebar .block_web_feed .content li {
  margin: 0 !important;
  padding: 0 !important;
}

.pkp_structure_sidebar .block_web_feed .content a {
  display: inline-flex !important;
  align-items: center !important;

  margin: 0 !important;
  padding: 0 !important;
}


/* =========================================================
   MAKE A SUBMISSION
   ========================================================= */

.pkp_structure_sidebar .block_make_submission {
  margin-bottom: 18px !important;
}

.pkp_structure_sidebar .block_make_submission .content {
  margin: 0 !important;
}

.pkp_structure_sidebar .block_make_submission_link {
  margin: 0 !important;
}

/* =========================================================
   JOURNAL INFORMATION CARDS
   Tanpa menambah class pada HTML
   Berdasarkan struktur .additional_content yang sudah ada
   ========================================================= */

/* Wrapper utama */
.page_index_journal .additional_content {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Div max-width utama */
.page_index_journal .additional_content > div:first-child {
  width: 100% !important;
  max-width: 1120px !important;

  margin: 0 auto !important;
  padding: 8px 0 18px !important;

  color: #1b2631 !important;
  line-height: 1.7 !important;
}


/* =========================================================
   HEADER: COVER + INFORMASI
   ========================================================= */

.page_index_journal .additional_content
> div:first-child
> div:first-child {
  display: grid !important;
  grid-template-columns: 220px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 26px !important;

  margin: 0 0 24px !important;
}


/* =========================================================
   COVER
   ========================================================= */

.page_index_journal .additional_content
> div:first-child
> div:first-child
> div:first-child {
  width: 100% !important;
  min-width: 0 !important;

  flex: none !important;
}

.page_index_journal .additional_content
> div:first-child
> div:first-child
> div:first-child a {
  display: block !important;
  text-decoration: none !important;
}

.page_index_journal .additional_content
> div:first-child
> div:first-child
> div:first-child img {
  display: block !important;

  width: 100% !important;
  height: auto !important;

  border: 0 !important;
  border-radius: 14px !important;

  box-shadow:
    0 15px 30px rgba(7, 39, 61, 0.14),
    0 4px 10px rgba(7, 39, 61, 0.05) !important;

  transition:
    transform .2s ease,
    box-shadow .2s ease !important;
}

.page_index_journal .additional_content
> div:first-child
> div:first-child
> div:first-child a:hover img {
  transform: translateY(-3px) !important;

  box-shadow:
    0 20px 38px rgba(7, 39, 61, 0.17),
    0 6px 14px rgba(7, 39, 61, 0.07) !important;
}


/* =========================================================
   INFO JOURNAL
   ========================================================= */

.page_index_journal .additional_content
> div:first-child
> div:first-child
> div:nth-child(2) {
  min-width: 0 !important;
  width: 100% !important;

  flex: none !important;
}

/* Judul jurnal */
.page_index_journal .additional_content
> div:first-child
> div:first-child
> div:nth-child(2)
> h2 {
  position: relative;

  margin: 0 0 5px 54px !important;

  font-family: 'Merriweather', Georgia, serif !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;

  color: #257a84 !important;
}

/* Ikon jurnal */
.page_index_journal .additional_content
> div:first-child
> div:first-child
> div:nth-child(2)
> h2::before {
  content: "\f02d";

  position: absolute;
  top: 0;
  left: -54px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  border-radius: 13px;

  font-family: FontAwesome !important;
  font-size: 17px;
  font-weight: normal;

  color: #ffffff;

  background: linear-gradient(
    135deg,
    #129e97,
    #257a84
  );

  box-shadow: 0 8px 18px rgba(18, 158, 151, 0.2);
}

/* Subjudul */
.page_index_journal .additional_content
> div:first-child
> div:first-child
> div:nth-child(2)
> h2 + p {
  margin: 0 0 17px 54px !important;

  font-size: 14px !important;
  line-height: 1.55 !important;

  color: #5d6d7e !important;
}

/* Garis lama dihilangkan */
.page_index_journal .additional_content
> div:first-child
> div:first-child
> div:nth-child(2)
> h2 + p + div {
  display: none !important;
}


/* =========================================================
   GRID METADATA
   ========================================================= */

/* Grid metadata adalah div terakhir pada info journal */
.page_index_journal .additional_content
> div:first-child
> div:first-child
> div:nth-child(2)
> div:last-child {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;

  margin: 0 !important;
  padding: 0 !important;

  font-size: 14px !important;
}

/* Card metadata */
.page_index_journal .additional_content
> div:first-child
> div:first-child
> div:nth-child(2)
> div:last-child
> div {
  position: relative;

  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;

  min-width: 0 !important;
  min-height: 65px !important;

  margin: 0 !important;
  padding: 11px 13px 11px 55px !important;

  border: 0 !important;
  border-radius: 13px !important;

  background:
    linear-gradient(
      145deg,
      #f7fafb 0%,
      #f1f8f8 100%
    ) !important;

  box-shadow:
    0 5px 14px rgba(7, 39, 61, 0.045),
    0 1px 3px rgba(7, 39, 61, 0.02) !important;

  color: #0b3c5d !important;

  transition:
    transform .18s ease,
    background .18s ease,
    box-shadow .18s ease !important;
}

.page_index_journal .additional_content
> div:first-child
> div:first-child
> div:nth-child(2)
> div:last-child
> div:hover {
  transform: translateY(-2px) !important;

  background: #edf7f7 !important;

  box-shadow:
    0 9px 20px rgba(7, 39, 61, 0.075),
    0 2px 5px rgba(18, 158, 151, 0.04) !important;
}

/* Ikon dasar setiap card */
.page_index_journal .additional_content
> div:first-child
> div:first-child
> div:nth-child(2)
> div:last-child
> div::before {
  position: absolute;
  top: 50%;
  left: 13px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 32px;
  height: 32px;

  border-radius: 10px;

  transform: translateY(-50%);

  font-family: FontAwesome !important;
  font-size: 14px;
  font-weight: normal;

  color: #129e97;

  background: rgba(18, 158, 151, 0.1);
}

/* Ikon masing-masing metadata */
.page_index_journal .additional_content
> div:first-child
> div:first-child
> div:nth-child(2)
> div:last-child
> div:nth-child(1)::before {
  content: "\f02b";
}

.page_index_journal .additional_content
> div:first-child
> div:first-child
> div:nth-child(2)
> div:last-child
> div:nth-child(2)::before {
  content: "\f02a";
}

.page_index_journal .additional_content
> div:first-child
> div:first-child
> div:nth-child(2)
> div:last-child
> div:nth-child(3)::before {
  content: "\f0f0";
}

.page_index_journal .additional_content
> div:first-child
> div:first-child
> div:nth-child(2)
> div:last-child
> div:nth-child(4)::before {
  content: "\f007";
}

.page_index_journal .additional_content
> div:first-child
> div:first-child
> div:nth-child(2)
> div:last-child
> div:nth-child(5)::before {
  content: "\f19c";
}

.page_index_journal .additional_content
> div:first-child
> div:first-child
> div:nth-child(2)
> div:last-child
> div:nth-child(6)::before {
  content: "\f073";
}

.page_index_journal .additional_content
> div:first-child
> div:first-child
> div:nth-child(2)
> div:last-child
> div:nth-child(7)::before {
  content: "\f0c1";
}

.page_index_journal .additional_content
> div:first-child
> div:first-child
> div:nth-child(2)
> div:last-child
> div:nth-child(8)::before {
  content: "\f19d";
}

/* Label metadata */
.page_index_journal .additional_content
> div:first-child
> div:first-child
> div:nth-child(2)
> div:last-child
> div strong {
  display: block !important;

  margin: 0 0 2px !important;

  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: .35px !important;

  text-transform: uppercase;

  color: #71808e !important;
}

/* Isi metadata */
.page_index_journal .additional_content
> div:first-child
> div:first-child
> div:nth-child(2)
> div:last-child
> div,
.page_index_journal .additional_content
> div:first-child
> div:first-child
> div:nth-child(2)
> div:last-child
> div a {
  font-family:
    'Geist',
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    Arial,
    sans-serif !important;

  font-size: 13.2px !important;
  line-height: 1.5 !important;

  overflow-wrap: anywhere;
}

.page_index_journal .additional_content
> div:first-child
> div:first-child
> div:nth-child(2)
> div:last-child
> div a {
  width: fit-content;

  color: #087d7a !important;
  text-decoration: none !important;
}

.page_index_journal .additional_content
> div:first-child
> div:first-child
> div:nth-child(2)
> div:last-child
> div a:hover {
  color: #129e97 !important;
}


/* =========================================================
   ABOUT THE JOURNAL CARD
   ========================================================= */

/* Div kedua langsung di dalam wrapper utama */
.page_index_journal .additional_content
> div:first-child
> div:nth-child(2) {
  position: relative;

  margin: 0 !important;
  padding: 23px 25px !important;

  border: 0 !important;
  border-radius: 18px !important;

  background:
    radial-gradient(
      circle at 100% 0,
      rgba(18, 158, 151, 0.08),
      transparent 34%
    ),
    #ffffff !important;

  box-shadow:
    0 12px 30px rgba(7, 39, 61, 0.06),
    0 3px 8px rgba(7, 39, 61, 0.02) !important;

  overflow: hidden;
}

.page_index_journal .additional_content
> div:first-child
> div:nth-child(2)::before {
  content: "";

  position: absolute;
  top: 0;
  left: 25px;
  right: 25px;

  height: 3px;

  border-radius: 0 0 4px 4px;

  background: linear-gradient(
    90deg,
    #129e97,
    #257a84,
    rgba(37, 122, 132, 0.08)
  );
}

/* Judul About */
.page_index_journal .additional_content
> div:first-child
> div:nth-child(2)
> h3 {
  position: relative;

  margin: 0 0 16px 49px !important;

  font-family: 'Merriweather', Georgia, serif !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;

  color: #257a84 !important;
}

/* Ikon About */
.page_index_journal .additional_content
> div:first-child
> div:nth-child(2)
> h3::before {
  content: "\f05a";

  position: absolute;
  top: -6px;
  left: -49px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;

  border-radius: 12px;

  font-family: FontAwesome !important;
  font-size: 16px;
  font-weight: normal;

  color: #129e97;

  background: rgba(18, 158, 151, 0.1);
}

/* Paragraf About */
.page_index_journal .additional_content
> div:first-child
> div:nth-child(2)
> p {
  margin: 0 0 11px !important;

  font-size: 14px !important;
  line-height: 1.75 !important;
  text-align: justify !important;

  color: #34495e !important;
}

.page_index_journal .additional_content
> div:first-child
> div:nth-child(2)
> p strong {
  color: #172b3a !important;
  font-weight: 700 !important;
}

/* Dua paragraf catatan terakhir */
.page_index_journal .additional_content
> div:first-child
> div:nth-child(2)
> p:nth-last-child(-n + 2) {
  position: relative;

  display: inline-flex !important;
  align-items: flex-start !important;

  width: calc(50% - 7px) !important;

  margin-top: 7px !important;
  margin-bottom: 0 !important;
  padding: 10px 12px 10px 35px !important;

  border: 0 !important;
  border-radius: 11px !important;

  background: rgba(18, 158, 151, 0.07) !important;

  font-size: 12.3px !important;
  font-style: italic !important;
  line-height: 1.55 !important;
  text-align: left !important;

  color: #526372 !important;
}

/* Jarak antar-note */
.page_index_journal .additional_content
> div:first-child
> div:nth-child(2)
> p:nth-last-child(2) {
  margin-right: 10px !important;
}

/* Ikon note */
.page_index_journal .additional_content
> div:first-child
> div:nth-child(2)
> p:nth-last-child(-n + 2)::before {
  position: absolute;
  top: 13px;
  left: 13px;

  font-family: FontAwesome !important;
  font-size: 12px;
  font-weight: normal;

  color: #129e97;
}

.page_index_journal .additional_content
> div:first-child
> div:nth-child(2)
> p:nth-last-child(2)::before {
  content: "\f002";
}

.page_index_journal .additional_content
> div:first-child
> div:nth-child(2)
> p:last-child::before {
  content: "\f06a";
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
  .page_index_journal .additional_content
  > div:first-child
  > div:first-child {
    grid-template-columns: 185px minmax(0, 1fr) !important;
    gap: 20px !important;
  }

  .page_index_journal .additional_content
  > div:first-child
  > div:first-child
  > div:nth-child(2)
  > div:last-child {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 700px) {
  .page_index_journal .additional_content
  > div:first-child
  > div:first-child {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .page_index_journal .additional_content
  > div:first-child
  > div:first-child
  > div:first-child {
    width: 180px !important;
    margin: 0 auto !important;
  }

  .page_index_journal .additional_content
  > div:first-child
  > div:nth-child(2)
  > p:nth-last-child(-n + 2) {
    display: flex !important;
    width: 100% !important;
    margin-right: 0 !important;
    margin-bottom: 8px !important;
  }
}

@media (max-width: 480px) {
  .page_index_journal .additional_content
  > div:first-child
  > div:first-child
  > div:nth-child(2)
  > h2 {
    margin-left: 0 !important;
    padding-top: 52px !important;

    font-size: 20px !important;
  }

  .page_index_journal .additional_content
  > div:first-child
  > div:first-child
  > div:nth-child(2)
  > h2::before {
    top: 0;
    left: 0;
  }

  .page_index_journal .additional_content
  > div:first-child
  > div:first-child
  > div:nth-child(2)
  > h2 + p {
    margin-left: 0 !important;
  }

  .page_index_journal .additional_content
  > div:first-child
  > div:nth-child(2) {
    padding: 20px 16px !important;
    border-radius: 15px !important;
  }

  .page_index_journal .additional_content
  > div:first-child
  > div:nth-child(2)::before {
    left: 16px;
    right: 16px;
  }

  .page_index_journal .additional_content
  > div:first-child
  > div:nth-child(2)
  > p {
    text-align: left !important;
    font-size: 13.5px !important;
  }
}

/* =========================================================
   ARTICLE DETAIL — SAFE WIDE LAYOUT
   Hanya mengatur baris main_entry dan entry_details
   ========================================================= */

@media (min-width: 1200px) {

  /* Kembalikan wrapper utama artikel ke alur normal */
  .page_article .obj_article_details {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
  }

  /*
   * OJS membungkus main_entry dan entry_details
   * di dalam elemen .row
   */
  .page_article .obj_article_details > .row {
    display: flex !important;
    align-items: flex-start !important;

    width: 100% !important;
    max-width: none !important;

    gap: 26px !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Isi utama: author, DOI, keyword, abstract, references */
  .page_article .obj_article_details .main_entry {
    flex: 1 1 auto !important;

    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;

    float: none !important;

    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;

    border-right: none!important;
  }

  /* Metadata kanan: PDF, published, issue, section */
  .page_article .obj_article_details .entry_details {
    flex: 0 0 290px !important;

    width: 290px !important;
    max-width: 290px !important;
    min-width: 0 !important;

    float: none !important;

    margin: 0 !important;
    padding-left: 22px !important;
    padding-right: 0 !important;

    border-left: 1px solid #e1e9ec !important;
  }
}

/* Tablet dan mobile kembali satu kolom */
@media (max-width: 1199px) {

  .page_article .obj_article_details > .row {
    display: block !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .page_article .obj_article_details .main_entry,
  .page_article .obj_article_details .entry_details {
    width: 100% !important;
    max-width: none !important;

    float: none !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .page_article .obj_article_details .entry_details {
    margin-top: 28px !important;
    padding-left: 0 !important;

    border-left: 0 !important;
  }
}