/**
 * Nexus Metro Theme CSS v4.0
 * Design reference: template/index.html
 * Bootstrap 5 base + custom overrides
 */

/* ═══════════════════════════════════════════════════════
   CSS VARIABLES
═══════════════════════════════════════════════════════ */
:root {
  --primary-navy:   #071933;
  --secondary-navy: #092347;
  --accent-blue:    #0077b6;
  --accent-green:   #16a34a;
  --accent-orange:  #ea580c;
  --accent-purple:  #7e22ce;
  --accent-red:     #dc2626;
  --bg-light:       #f0f3f8;
  --white:          #ffffff;
  --border-color:   #e2e8f0;
  --text-main:      #1e293b;
  --text-muted-clr: #64748b;
  --fn-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fn-head: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

/* ═══════════════════════════════════════════════════════
   BASE RESET
═══════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--fn-body) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: var(--text-main) !important;
  background-color: var(--bg-light) !important;
  overflow-x: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--fn-head) !important;
}

a { color: var(--accent-blue); text-decoration: none; transition: color .15s; }
a:hover { color: var(--primary-navy); text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ═══════════════════════════════════════════════════════
   TOP BAR
═══════════════════════════════════════════════════════ */
.nm-topbar {
  background-color: #1e293b;
  color: rgba(255,255,255,.75);
  padding: 5px 0;
  font-size: 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nm-topbar .container-fluid { padding-left: 1.5rem; padding-right: 1.5rem; }
.nm-topbar a {
  color: rgba(255,255,255,.8) !important;
  text-decoration: none;
  transition: color .15s;
}
.nm-topbar a:hover { color: #fff !important; }
.nm-topbar .badge { font-size: 11px; }

/* ═══════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════ */
.pkp_structure_head {
  background: var(--white) !important;
  border-bottom: 1px solid var(--border-color) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.07) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1030 !important;
  padding: 0 !important;
}

.pkp_head_wrapper {
  background: var(--white);
  padding: 10px 1.5rem;
}

.pkp_site_name_wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 56px !important;
  background: var(--white) !important;
  padding: 0 !important;
  max-width: 1320px;
  margin: 0 auto;
}

/* Logo */
.pkp_site_name a.is_img {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.pkp_site_name a.is_img img {
  max-height: 48px !important;
  width: auto !important;
  object-fit: contain !important;
}
.pkp_site_name a.is_text {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.pkp_site_name a.is_text .is_text__name {
  font-family: var(--fn-head) !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: var(--primary-navy) !important;
  line-height: 1.2;
}

/* Nav toggle mobile */
.pkp_site_nav_toggle {
  background: none;
  border: 1px solid var(--border-color);
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 4px;
  display: none;
}
@media (max-width: 991px) { .pkp_site_nav_toggle { display: block; } }

/* Header right: user nav */
.pkp_navigation_user_wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pkp_navigation_user .pkp_nav_list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 6px;
}
.pkp_navigation_user .pkp_nav_list > li > a {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--text-main) !important;
  padding: 5px 12px !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 4px !important;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.pkp_navigation_user .pkp_nav_list > li > a:hover {
  background: var(--accent-blue) !important;
  color: #fff !important;
  border-color: var(--accent-blue) !important;
}

/* ═══════════════════════════════════════════════════════
   PRIMARY NAV BAR
═══════════════════════════════════════════════════════ */
.pkp_site_nav_menu {
  background: var(--primary-navy) !important;
  border: none !important;
}

.pkp_navigation_primary_row {
  background: var(--primary-navy);
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.pkp_navigation_primary_wrapper { display: flex; align-items: stretch; }

#navigationPrimary,
.pkp_navigation_primary {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
}
#navigationPrimary > li { position: relative; }
#navigationPrimary > li > a,
.pkp_navigation_primary > li > a {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  color: rgba(255,255,255,.88) !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  padding: 10px 16px !important;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background .15s;
  border-right: 1px solid rgba(255,255,255,.07);
}
#navigationPrimary > li > a:hover,
#navigationPrimary > li.is_current > a {
  background: rgba(255,255,255,.12) !important;
  color: #fff !important;
}
/* Dropdown */
#navigationPrimary > li > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--secondary-navy) !important;
  border-top: 2px solid var(--accent-blue);
  list-style: none;
  padding: 4px 0;
  margin: 0;
  min-width: 210px;
  z-index: 1050;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  border-radius: 0 0 4px 4px;
}
#navigationPrimary > li:hover > ul { display: block; }
#navigationPrimary > li > ul > li > a {
  display: block;
  color: rgba(255,255,255,.82) !important;
  font-size: 12px !important;
  padding: 8px 16px !important;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .12s, padding-left .12s;
}
#navigationPrimary > li > ul > li > a:hover {
  background: rgba(255,255,255,.1) !important;
  color: #fff !important;
  padding-left: 20px !important;
}
/* Search in nav */
.pkp_navigation_search_wrapper { margin-left: auto; }
.pkp_navigation_search_wrapper a {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  color: rgba(255,255,255,.82) !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  padding: 10px 16px !important;
  transition: background .15s;
}
.pkp_navigation_search_wrapper a:hover { background: rgba(255,255,255,.12) !important; }

/* Mobile nav */
@media (max-width: 991px) {
  .pkp_site_nav_menu { display: none !important; }
  .pkp_site_nav_menu.is_open { display: block !important; }
  #navigationPrimary { flex-direction: column; }
  #navigationPrimary > li > a { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
  #navigationPrimary > li > ul { position: static; display: none; }
  #navigationPrimary > li.is_open > ul { display: block; }
}

/* ═══════════════════════════════════════════════════════
   HERO BANNER
═══════════════════════════════════════════════════════ */
.nm-hero {
  background: linear-gradient(135deg, #06152b 0%, #092244 50%, #0c2f5d 100%);
  color: #fff;
  padding: 40px 0 0;
  position: relative;
  overflow: hidden;
}
.nm-hero .container-fluid {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 2;
}

/* Hero badges */
.nm-hero-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.nm-hero-badges .badge { font-size: 11px; padding: 4px 10px; }

/* Hero title */
.nm-hero-title {
  font-family: var(--fn-head) !important;
  font-size: 1.85rem !important;
  font-weight: 800 !important;
  line-height: 1.2;
  margin-bottom: 10px;
  color: #fff !important;
}

/* Hero description */
.nm-hero-desc {
  font-size: 14.5px;
  color: rgba(255,255,255,.82);
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 600px;
}

/* Hero CTA buttons */
.nm-hero-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.nm-hero-btns .btn { font-weight: 700; font-size: 13px; padding: 9px 20px; border-radius: 4px; }

/* Hero 4-box grid (2×2) */
.nm-hero-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.nm-hero-box {
  padding: 14px;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  transition: opacity .15s, transform .1s;
  display: block;
}
.nm-hero-box:hover { opacity: .88; transform: translateY(-2px); color: #fff; }
.nm-hero-box--blue   { background-color: var(--accent-blue); }
.nm-hero-box--green  { background-color: var(--accent-green); }
.nm-hero-box--orange { background-color: var(--accent-orange); }
.nm-hero-box--purple { background-color: var(--accent-purple); }
.nm-hero-box i { font-size: 1.6rem; margin-bottom: 6px; display: block; }
.nm-hero-box h6 { font-size: 11px; font-weight: 700; text-transform: uppercase; margin-bottom: 2px; }
.nm-hero-box small { font-size: 10.5px; color: rgba(255,255,255,.7); }

/* EKG Wave */
@keyframes ekgRun {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.nm-ekg-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 25px;
  overflow: hidden;
  opacity: .55;
  pointer-events: none;
}
.nm-ekg-svg {
  width: 200%;
  height: 100%;
  animation: ekgRun 15s linear infinite;
}

/* ═══════════════════════════════════════════════════════
   STAT CARDS (Line Cards)
═══════════════════════════════════════════════════════ */
.nm-stats-section {
  padding: 20px 0 4px;
  background: var(--bg-light);
}
.nm-stats-section .container-fluid {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.nm-line-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: transform .2s ease, box-shadow .2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.nm-line-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,.08);
}
.nm-line-card--blue   { border-top: 4px solid var(--accent-blue) !important; }
.nm-line-card--green  { border-top: 4px solid var(--accent-green) !important; }
.nm-line-card--red    { border-top: 4px solid var(--accent-red) !important; }
.nm-line-card--purple { border-top: 4px solid var(--accent-purple) !important; }

.nm-line-card__body { padding: 14px 16px; }
.nm-line-card__label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted-clr);
  letter-spacing: .05em;
  display: block;
  margin-bottom: 2px;
}
.nm-line-card__number {
  font-family: var(--fn-head) !important;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 2px;
}
.nm-line-card__number--blue   { color: var(--accent-blue) !important; }
.nm-line-card__number--green  { color: var(--accent-green) !important; }
.nm-line-card__number--red    { color: var(--accent-red) !important; }
.nm-line-card__number--purple { color: var(--accent-purple) !important; }
.nm-line-card__desc { font-size: 11.5px; color: var(--text-muted-clr); }
.nm-line-card__icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}
.nm-line-card__footer {
  padding: 8px 16px;
  border-top: 1px solid var(--border-color);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ═══════════════════════════════════════════════════════
   PAGE LAYOUT — 2-COLUMN
═══════════════════════════════════════════════════════ */
.pkp_structure_page { background: var(--bg-light); }
.pkp_structure_content { padding-top: 0 !important; }

/* OJS uses float layout; keep it but also support flex wrapper */
.pkp_structure_main {
  float: left !important;
  width: 74% !important;
  padding-right: 16px !important;
}
.pkp_structure_sidebar {
  float: right !important;
  width: 25% !important;
}
@media (max-width: 991px) {
  .pkp_structure_main  { width: 62% !important; }
  .pkp_structure_sidebar { width: 37% !important; }
}
@media (max-width: 767px) {
  .pkp_structure_main,
  .pkp_structure_sidebar { width: 100% !important; float: none !important; padding: 0 !important; }
  .pkp_structure_sidebar { margin-top: 20px; }
}

/* Page inner padding */
.nm-page-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 20px 1.5rem 40px;
}
.nm-page-inner::after { content: ''; display: table; clear: both; }

/* ═══════════════════════════════════════════════════════
   CURRENT ISSUE CARD
═══════════════════════════════════════════════════════ */
.nm-current-issue {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  overflow: hidden;
}
.nm-current-issue__body { padding: 20px; }

/* Cover placeholder */
.nm-issue-cover-box {
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--accent-blue);
  border-radius: 4px;
  padding: 14px;
  background: var(--white);
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
}
.nm-issue-cover-box img {
  max-width: 100%;
  max-height: 120px;
  object-fit: contain;
  margin-bottom: 8px;
}
.nm-issue-cover-box .badge { font-size: 9px; margin-bottom: 8px; }
.nm-issue-cover-box h6 { font-size: 11px; font-weight: 700; margin-bottom: 2px; }
.nm-issue-cover-box small { font-size: 10px; color: var(--text-muted-clr); }

/* Issue meta */
.nm-current-issue__title {
  font-family: var(--fn-head) !important;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 6px;
}
.nm-current-issue__desc { font-size: 12.5px; color: var(--text-muted-clr); line-height: 1.7; text-align: justify; }

/* ═══════════════════════════════════════════════════════
   LATEST ARTICLES HEADING
═══════════════════════════════════════════════════════ */
.nm-articles-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--accent-blue);
}
.nm-articles-heading h4 {
  font-family: var(--fn-head) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  color: var(--primary-navy) !important;
  margin: 0 !important;
}

/* ═══════════════════════════════════════════════════════
   ARTICLE CARDS
═══════════════════════════════════════════════════════ */

/* OJS wraps articles in .obj_article_summary */
.obj_article_summary {
  background: var(--white) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 8px !important;
  margin-bottom: 12px !important;
  box-shadow: 0 1px 4px rgba(0,0,0,.06) !important;
  padding: 12px 14px !important;
  transition: box-shadow .2s !important;
}
.obj_article_summary:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,.1) !important;
}

/* Article top row: category + date + pages + stats */
.obj_article_summary .nm-art-toprow {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-color);
  gap: 6px;
}
.obj_article_summary .nm-art-toprow-left {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.obj_article_summary .nm-art-stats {
  font-size: 11px;
  color: var(--text-muted-clr);
  font-family: monospace;
  display: flex;
  gap: 8px;
}

/* Article title */
.obj_article_summary .title {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  margin-bottom: 4px !important;
  margin-top: 0 !important;
}
.obj_article_summary .title a {
  color: var(--primary-navy) !important;
  text-decoration: none !important;
}
.obj_article_summary .title a:hover { color: var(--accent-blue) !important; }

/* Authors */
.obj_article_summary .authors {
  font-size: 12px !important;
  color: var(--text-muted-clr) !important;
  font-style: italic !important;
  margin-bottom: 6px !important;
}

/* Pages */
.obj_article_summary .pages {
  font-size: 11px !important;
  color: var(--text-muted-clr) !important;
  font-family: monospace !important;
  background: none !important;
  padding: 0 !important;
}

/* Bottom row: DOI + buttons */
.obj_article_summary .nm-art-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid var(--border-color);
  gap: 6px;
  margin-top: 6px;
}
.obj_article_summary .nm-art-doi {
  font-size: 11px;
  color: var(--text-muted-clr);
  font-family: monospace;
}
.obj_article_summary .nm-art-doi a { color: var(--accent-blue) !important; }

/* Galley links (PDF etc.) */
.obj_article_summary .galleys_links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
}
.obj_article_summary .galleys_links li { display: inline-block !important; }

.obj_galley_link,
a.obj_galley_link {
  font-size: 10.5px !important;
  font-weight: 700 !important;
  padding: 3px 10px !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
  color: #fff !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  border: none !important;
  border-radius: 4px !important;
  transition: opacity .15s !important;
  text-decoration: none !important;
}
.obj_galley_link:hover { opacity: .85 !important; color: #fff !important; }
.obj_galley_link.pdf   { background: var(--accent-red) !important; }
.obj_galley_link:not(.pdf) { background: var(--accent-blue) !important; }

/* Section heading inside TOC */
.obj_issue_toc .sections .section > h3,
.obj_issue_toc .sections .section > h4 {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .07em !important;
  color: var(--accent-blue) !important;
  background: #eff6ff !important;
  border-left: 3px solid var(--accent-blue) !important;
  padding: 6px 12px !important;
  margin: 12px 0 0 !important;
  border-radius: 0 4px 4px 0 !important;
}

/* Article list container */
.cmp_article_list.articles {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ═══════════════════════════════════════════════════════
   ANALYTICS SECTION (Chart + Map)
═══════════════════════════════════════════════════════ */
.nm-analytics-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  margin-bottom: 20px;
  overflow: hidden;
}
.nm-analytics-card__header {
  padding: 16px 20px 10px;
  border-bottom: 1px solid var(--border-color);
}
.nm-analytics-card__header h5 {
  font-family: var(--fn-head) !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  color: var(--primary-navy) !important;
  margin: 0 0 2px !important;
}
.nm-analytics-card__header small { font-size: 11.5px; color: var(--text-muted-clr); }
.nm-analytics-card__body { padding: 16px 20px; }

#nm-metrics-chart { height: 240px; }
#nm-geo-map { height: 320px; border-radius: 6px; border: 1px solid var(--border-color); }

/* ═══════════════════════════════════════════════════════
   SIDEBAR WIDGETS
═══════════════════════════════════════════════════════ */
.pkp_block {
  background: var(--white) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 6px !important;
  margin-bottom: 12px !important;
  box-shadow: 0 1px 4px rgba(0,0,0,.06) !important;
  overflow: hidden !important;
}

/* Widget header — dark navy like template .sidebar-widget-header */
.pkp_block .title,
.pkp_block h2.title {
  background-color: #0c2340 !important;
  color: #fff !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  letter-spacing: .5px !important;
  padding: 8px 14px !important;
  text-transform: uppercase !important;
  margin: 0 !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}
.pkp_block .title::before,
.pkp_block h2.title::before {
  content: '\f054';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 9px;
  color: rgba(255,255,255,.5);
}

.pkp_block .content {
  padding: 10px 12px !important;
}

/* Block lists */
.pkp_block .content ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.pkp_block .content ul li a {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 7px 10px !important;
  font-size: 12px !important;
  color: var(--text-main) !important;
  border-bottom: 1px solid var(--border-color) !important;
  transition: background .1s, padding-left .1s !important;
}
.pkp_block .content ul li:last-child a { border-bottom: none !important; }
.pkp_block .content ul li a:hover {
  background: #eff6ff !important;
  color: var(--accent-blue) !important;
  padding-left: 14px !important;
}

/* Make Submission block */
.block_makeSubmission .content a {
  display: block !important;
  background: var(--accent-blue) !important;
  color: #fff !important;
  text-align: center !important;
  padding: 10px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  border-radius: 4px;
  transition: background .15s !important;
}
.block_makeSubmission .content a:hover { background: var(--primary-navy) !important; }

/* Language block */
.block_language .content ul li.current a {
  font-weight: 700;
  color: var(--accent-blue) !important;
  background: #eff6ff !important;
}

/* Custom menu block */
#customblock-menu .content,
#customblock-mainmenu .content {
  padding: 6px !important;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}
.nm-sb-menu-btn {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 7px 10px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  transition: opacity .15s !important;
  color: var(--text-main) !important;
  border: 1px solid var(--border-color) !important;
  background: var(--white) !important;
}
.nm-sb-menu-btn:hover { opacity: .85; background: #eff6ff !important; color: var(--accent-blue) !important; }
.nm-sb-menu-btn--danger { background: var(--accent-red) !important; color: #fff !important; border-color: var(--accent-red) !important; }
.nm-sb-menu-btn--danger:hover { background: #b91c1c !important; color: #fff !important; }

/* Accreditation widget */
#customblock-accreditation .content,
#customblock-akreditasi .content { padding: 10px !important; }

/* Scholar table */
.nm-scholar-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.nm-scholar-table th {
  background: #f8fafc;
  font-weight: 700;
  padding: 5px 8px;
  border: 1px solid var(--border-color);
  text-align: center;
  font-size: 11px;
}
.nm-scholar-table td {
  padding: 5px 8px;
  border: 1px solid var(--border-color);
  text-align: center;
}
.nm-scholar-table td:first-child { text-align: left; }
.nm-scholar-table td strong { color: var(--accent-blue); }

/* WhatsApp button */
.nm-wa-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: #16a34a !important;
  color: #fff !important;
  padding: 10px 14px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  transition: background .15s !important;
  width: 100%;
}
.nm-wa-btn:hover { background: #15803d !important; color: #fff !important; }
.nm-wa-btn i { font-size: 18px; }

/* ═══════════════════════════════════════════════════════
   HOMEPAGE OJS ELEMENTS
═══════════════════════════════════════════════════════ */
.homepage_image { display: none !important; }
.page_index_journal {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.homepage_about {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent-blue);
  border-radius: 4px;
  padding: 14px 16px;
  margin-bottom: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.homepage_about h2 {
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: var(--primary-navy) !important;
  margin-bottom: 8px !important;
}

/* ═══════════════════════════════════════════════════════
   ANNOUNCEMENTS
═══════════════════════════════════════════════════════ */
.obj_announcement_summary {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--accent-blue);
  border-radius: 4px;
  padding: 12px 14px;
  margin-bottom: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.obj_announcement_summary .title a {
  color: var(--primary-navy) !important;
  font-weight: 700;
  font-size: 13.5px;
}

/* ═══════════════════════════════════════════════════════
   BREADCRUMBS
═══════════════════════════════════════════════════════ */
.cmp_breadcrumbs {
  background: var(--white) !important;
  border-bottom: 1px solid var(--border-color) !important;
  padding: 7px 1.5rem !important;
  font-size: 12px !important;
  margin-bottom: 0 !important;
}
.cmp_breadcrumbs a { color: var(--accent-blue) !important; }

/* ═══════════════════════════════════════════════════════
   ARTICLE DETAIL PAGE
═══════════════════════════════════════════════════════ */
.obj_article_details {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--accent-blue);
  border-radius: 6px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.obj_article_details .page_title {
  font-family: var(--fn-head) !important;
  font-size: 1.2rem !important;
  font-weight: 800 !important;
  color: var(--primary-navy) !important;
  border-bottom: 2px solid var(--border-color) !important;
  padding-bottom: 14px !important;
  margin-bottom: 16px !important;
  line-height: 1.35 !important;
}
.obj_article_details .abstract {
  background: #eff6ff;
  border-left: 4px solid var(--accent-blue);
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.75;
  margin: 16px 0;
  text-align: justify;
  border-radius: 0 4px 4px 0;
}
.obj_article_details .authors { font-size: 13px; color: var(--text-muted-clr); margin-bottom: 10px; }

/* ═══════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════ */
.btn-primary { background-color: var(--accent-blue) !important; border-color: var(--accent-blue) !important; }
.btn-primary:hover { background-color: var(--primary-navy) !important; border-color: var(--primary-navy) !important; }
.pkp_button_primary {
  background: var(--accent-blue) !important;
  border-color: var(--accent-blue) !important;
  color: #fff !important;
}

/* ═══════════════════════════════════════════════════════
   PAGINATION
═══════════════════════════════════════════════════════ */
.cmp_pagination .pagination > li > a,
.cmp_pagination .pagination > li > span {
  color: var(--accent-blue) !important;
  border-color: var(--border-color) !important;
  font-size: 12px !important;
}
.cmp_pagination .pagination > .active > a {
  background: var(--accent-blue) !important;
  border-color: var(--accent-blue) !important;
  color: #fff !important;
}

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.pkp_structure_footer {
  background: #1e293b !important;
  color: rgba(255,255,255,.65) !important;
  padding: 40px 0 0 !important;
  margin-top: 0 !important;
  border-top: none !important;
  font-size: 13px !important;
  clear: both !important;
}

.nm-footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nm-footer-col h5 {
  font-family: var(--fn-head) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #fff !important;
  margin-bottom: 12px !important;
}
.nm-footer-col h6 {
  font-size: 11.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .06em !important;
  color: #fff !important;
  margin-bottom: 14px !important;
}
.nm-footer-col p { font-size: 12.5px; color: rgba(255,255,255,.55); margin-bottom: 5px; }
.nm-footer-col a { color: rgba(255,255,255,.6) !important; }
.nm-footer-col a:hover { color: #fff !important; }

.nm-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nm-footer-links li { padding: 3px 0; }
.nm-footer-links li a {
  font-size: 12.5px;
  color: rgba(255,255,255,.55) !important;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .15s, padding-left .15s;
}
.nm-footer-links li a::before {
  content: '\203A';
  font-size: 14px;
  color: var(--accent-blue);
}
.nm-footer-links li a:hover { color: #fff !important; padding-left: 4px; }

.nm-footer-bottom {
  max-width: 1320px;
  margin: 28px auto 0;
  padding: 14px 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
}
.nm-footer-bottom p {
  margin: 0;
  font-size: 12px;
  color: rgba(255,255,255,.4);
}

/* OJS default footer elements */
.pkp_site_footer { color: rgba(255,255,255,.4) !important; font-size: 11.5px !important; text-align: center; padding: 8px 0; }
.pkp_footer_brand { opacity: .25; }
.pkp_footer_brand a { color: rgba(255,255,255,.35) !important; font-size: 11px !important; }

/* ═══════════════════════════════════════════════════════
   BACK TO TOP
═══════════════════════════════════════════════════════ */
.nm-back-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: var(--accent-blue);
  color: #fff;
  border: none;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, background .15s;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.nm-back-top.is-visible { opacity: 1; pointer-events: auto; }
.nm-back-top:hover { background: var(--primary-navy); }

/* ═══════════════════════════════════════════════════════
   SKIP LINK
═══════════════════════════════════════════════════════ */
.cmp_skip_to_content { display: none; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .nm-hero-title { font-size: 1.35rem !important; }
  .nm-hero-boxes { grid-template-columns: 1fr 1fr; gap: 6px; }
  .nm-line-card__number { font-size: 1.4rem; }
  .nm-footer-inner { display: block; }
  .nm-footer-col { margin-bottom: 24px; }
  .obj_article_summary .nm-art-toprow { flex-direction: column; align-items: flex-start; }
  .obj_article_summary .nm-art-bottom { flex-direction: column; }
}
