@charset "UTF-8";

/* =====================================================
   STYLESHEET FINAL V7 - SCOPUS STYLE - CLEAN REFACTOR
   OJS 3.3
   IJEVS Academic Theme
   Optimized, Deduplicated, Lightweight
===================================================== */

/* ---------- Variables ---------- */
:root{
  --ijevs-green:#088802;
  --ijevs-green-dark:#066a02;
  --ijevs-blue:#1d5fae;
  --ijevs-blue-dark:#154b8c;
  --text:#2f3a45;
  --border:#dbe3ea;
  --bg:#f7fafc;
  --shadow:0 4px 14px rgba(0,0,0,.08);
  --sc-text:#2e2e2e;
  --sc-muted:#6b6b6b;
  --sc-link:#007398;
  --sc-link-hover:#005a76;
  --sc-accent:#e9711c;
  --sc-accent-soft:#fff4ec;
  --sc-accent-border:#f6c7a3;
  --sc-border:#dcdcdc;
  --sc-mail:#24356b;
  --orcid-icon:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23A6CE39' d='M256 128c0 70.7-57.3 128-128 128S0 198.7 0 128 57.3 0 128 0s128 57.3 128 128z'/%3E%3Cpath fill='%23fff' d='M86.3 186.2H70.9V79.1h15.4v107.1zM108.9 79.1h41.6c39.6 0 57 28.3 57 53.6 0 27.5-21.5 53.6-56.8 53.6h-41.8V79.1zm15.4 93.3h24.5c34.9 0 42.9-26.5 42.9-39.7C191.7 111.2 178 93 148 93h-23.7v79.4zM88.7 56.8c0 5.5-4.5 10.1-10.1 10.1s-10.1-4.6-10.1-10.1c0-5.6 4.5-10.1 10.1-10.1s10.1 4.6 10.1 10.1z'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
body{font-size:15px;line-height:1.8;color:var(--text)}
a{color:var(--ijevs-blue);text-decoration:none}
a:hover{color:var(--ijevs-green)}
.pkp_structure_page{margin:0 auto;box-shadow:none}

/* ---------- Header ---------- */
.pkp_structure_head{margin-bottom:.25rem;background:var(--ijevs-green)}
.pkp_navigation_user a,
.pkp_navigation_user a:hover{color:#fff}
.pkp_site_name .is_img img{display:block;width:auto;height:auto;max-height:none}

/* ---------- Navigation ---------- */
.pkp_navigation_primary_row{
  background:#fff;
  border-top:3px solid var(--ijevs-green);
  box-shadow:var(--shadow);
  padding:6px 10px;
}

#navigationPrimary>li>a{
  color:var(--text);
  font-weight:600;
}

/* submenu (About): tema memberi warna putih untuk menu HP, padahal latar menu putih */
#navigationPrimary ul a{color:var(--text)}

#navigationPrimary>li>a:hover,
#navigationPrimary ul a:hover{
  color:var(--ijevs-green);
}

/* ---------- Current Issue ---------- */
.obj_issue_toc{
  background:#fff;
  padding:24px;
  border-radius:12px;
  box-shadow:var(--shadow);
}

.obj_issue_toc .cover{
  display:block!important;
  float:left;
  width:220px;
  margin-right:24px;
}

.obj_issue_toc .cover img{
  width:100%;
  border-radius:8px;
  box-shadow:var(--shadow);
}

/* =====================================================
   ARTIKEL GAYA SCOPUS (article summary + article detail)
   Markup: templates/frontend/objects/article_summary.tpl + article_details.tpl
   Nama (1) [email] [iD], Nama (2) [iD]  +  daftar afiliasi bernomor
===================================================== */

/* ---------- Kartu artikel ---------- */
.obj_article_summary{
  position:relative;
  overflow:hidden;
  margin-bottom:14px;
  padding:16px 20px 14px;
  background:#fff;
  border:1px solid var(--sc-border);
  border-left:3px solid var(--sc-border);
  border-radius:4px;
  font-size:14px;
  line-height:1.5;
  color:var(--sc-muted);
  transition:border-color .15s ease,box-shadow .15s ease;
}

.obj_article_summary:hover{
  border-left-color:var(--sc-accent);
  box-shadow:0 2px 8px rgba(0,0,0,.07);
}

/* Label "Article Open Access" (kartu + halaman detail) */
.obj_article_summary:before,
.obj_article_details .page_title:before{
  content:"\f09c\00a0 Article Open Access";
  display:table;
  margin:0 0 8px;
  padding:1px 9px;
  background:var(--sc-accent-soft);
  color:var(--sc-accent);
  border:1px solid var(--sc-accent-border);
  border-radius:3px;
  font-family:FontAwesome,"Noto Sans",sans-serif;
  font-size:12px;
  font-weight:600;
  line-height:1.6;
}

.obj_article_summary .cover{
  float:left;
  width:120px;
  min-width:120px;
  margin-right:20px;
}

.obj_article_summary .cover img{
  width:100%;
  height:160px;
  object-fit:cover;
  border-radius:4px;
}

.obj_article_summary>.title{
  margin:0 0 4px;
  font-size:18px;
  font-weight:600;
  line-height:1.35;
}

.obj_article_summary>.title a{
  font-size:18px;
  font-weight:600;
  color:var(--sc-link);
}

.obj_article_summary>.title a:hover,
.obj_article_summary>.title a:focus{
  color:var(--sc-link-hover);
  text-decoration:underline;
}

.obj_article_summary .subtitle{
  display:block;
  margin-top:2px;
  font-size:14px;
  color:var(--sc-muted);
}

.obj_article_summary .meta{position:static;margin:0}

/* Halaman: kanan atas kartu, sebaris dengan label Open Access */
.obj_article_summary .meta .pages{
  position:absolute;
  top:16px;
  right:20px;
  font-size:13px;
  color:var(--sc-muted);
}

/* ---------- Author bernomor + email + ORCID (kartu & detail) ---------- */
.ij_authors{margin:6px 0 10px}

.ij_author_list{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:2px 10px;
  margin:0;
  padding:0;
  list-style:none;
  font-size:14.5px;
  line-height:1.6;
}

/* selector kedua menimpa tema: .obj_article_details .authors li{margin-bottom:.714rem} */
.ij_authors li,
.obj_article_details .ij_authors li{
  margin:0;
  list-style:none;
}

/* Nama(1) [email] [iD], : semua jarak dari satu gap 4px */
.ij_author{
  display:inline-flex;
  align-items:center;
  gap:4px;
  white-space:nowrap;
}

/* koma menempel ke elemen terakhir (gap 4px dibatalkan) */
.ij_author:not(:last-child):after{
  content:",";
  margin-left:-4px;
  color:var(--sc-text);
}

.ij_author_name{
  font-weight:600;
  color:var(--sc-text);
}

/* nomor afiliasi: superscript menempel ke nama */
.ij_author .ij_aff_no{
  align-self:flex-start;
  margin:1px 2px 0 -2px;
  font-size:11px;
  font-weight:600;
  line-height:1;
  color:var(--sc-muted);
}

/* ikon email & ORCID: lingkaran 16px yang sama */
.ij_icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 16px;
  width:16px;
  height:16px;
  border-radius:50%;
  text-decoration:none;
}

.ij_icon:hover,
.ij_icon:focus{opacity:.75;text-decoration:none}

.ij_email{background:var(--sc-mail)}

.ij_email:before{
  content:"\f0e0";
  font-family:FontAwesome;
  font-size:8px;
  line-height:1;
  color:#fff;
}

.ij_orcid{background:var(--orcid-icon) center/contain no-repeat}

/* daftar afiliasi: (1) Universitas ..., baris lanjutan rata setelah nomor */
.ij_affiliations{
  margin:4px 0 0;
  padding:0;
  list-style:none;
  font-size:13px;
  line-height:1.5;
  color:var(--sc-muted);
}

.ij_affiliations li{
  position:relative;
  padding-left:26px;
}

.ij_affiliations .ij_aff_no{
  position:absolute;
  left:0;
  top:0;
}

/* ---------- Tombol PDF (hijau) + DOI sebaris ---------- */
.ij_actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 18px;
  margin:10px 0 6px;
}

.obj_article_summary .galleys_links{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:0;
  padding:0;
}

.obj_article_summary .galleys_links li{margin:0}

.obj_article_summary .obj_galley_link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 14px;
  border-radius:4px;
  font-size:14px;
  font-weight:600;
  line-height:1.5;
}

.ij_doi{
  font-size:14px;
  overflow-wrap:anywhere;
}

.ij_doi_label{
  margin-right:4px;
  font-weight:600;
  color:var(--sc-text);
}

.ij_doi a,
.obj_article_details .item.doi .value a{
  display:inline-flex;
  align-items:center;
  color:var(--sc-link);
}

.ij_doi a:hover,
.ij_doi a:focus,
.obj_article_details .item.doi .value a:hover,
.obj_article_details .item.doi .value a:focus{
  color:var(--sc-link-hover);
  text-decoration:underline;
}

.ij_badges{margin:4px 0 0}

/* ---------- Article Detail ---------- */
.obj_article_details .page_title{
  font-size:28px;
  line-height:1.35;
  color:var(--sc-text);
}

.obj_article_details .item.authors{padding-top:0}
.obj_article_details .ij_author_list{font-size:15.5px}
.obj_article_details .item.ijevs_metrics_item{padding-top:0}

.obj_article_details .item.doi .label{
  display:inline;
  margin-right:6px;
  font-size:15px;
  font-weight:700;
}

.item.abstract{text-align:justify}

/* ---------- Ikon Font Awesome 4.7 (bawaan OJS) ---------- */
.obj_article_details .item.doi .value a:before,
.ij_doi a:before,
.obj_article_summary .meta .pages:before{
  display:inline-block;
  width:16px;
  margin-right:5px;
  font-family:FontAwesome;
  font-weight:normal;
  font-style:normal;
  text-align:center;
  -webkit-font-smoothing:antialiased;
}

.obj_article_details .item.doi .value a:before,
.ij_doi a:before{content:"\f0c1";color:var(--ijevs-green)}

.obj_article_summary .meta .pages:before{content:"\f0f6";color:var(--sc-accent)}

/* ---------- Article Metrics (markup .ijevs_metrics di template) ---------- */
.ijevs_metrics{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:10px;
}

.ijevs_metric{
  min-width:100px;
  padding:6px 12px;
  background:#dde7f0;
  border-radius:4px;
  color:var(--ijevs-blue);
  font-size:14px;
  line-height:1.3;
}

.ijevs_metric strong{
  display:block;
  font-size:15px;
  font-weight:700;
  color:var(--ijevs-blue-dark);
}

/* ---------- Sidebar ---------- */
.pkp_structure_sidebar:before{border-left:1px solid var(--border)}

.pkp_block{
  margin-bottom:20px;
  font-size:14px;
}

.pkp_block .title{
  background:linear-gradient(135deg,var(--ijevs-blue),var(--ijevs-green));
  color:#fff;
  padding:12px;
  text-align:center;
  border-radius:8px 8px 0 0;
  font-weight:700;
}

.pkp_block .content{
  background:#fff;
  border:1px solid var(--border);
  border-top:none;
  border-radius:0 0 8px 8px;
}

.pkp_block ul{margin:0;padding:0}
.pkp_block li{list-style:none;border-bottom:1px solid #eef2f5}

.pkp_block li a{
  display:block;
  padding:12px 15px;
  color:var(--text);
}

.pkp_block li a:hover{
  background:#f4f9ff;
  color:var(--ijevs-blue);
  padding-left:20px;
}

/* ---------- Tombol PDF (galley) ---------- */
.obj_galley_link{
  background:var(--ijevs-green);
  border-color:var(--ijevs-green);
  color:#fff;
  text-align:center;
}

.obj_galley_link:hover,
.obj_galley_link:focus{
  background:var(--ijevs-green-dark);
  border-color:var(--ijevs-green-dark);
  color:#fff;
}

/* ---------- Archive ---------- */
.page_issue_archive .cover{
  display:block!important;
  width:180px;
}

.page_issue_archive .cover img{
  width:100%;
  border-radius:8px;
  box-shadow:var(--shadow);
}

/* ---------- Footer ---------- */
.pkp_structure_footer_wrapper{
  background:var(--bg);
  border-top:3px solid var(--ijevs-green);
}

.pkp_structure_footer a{color:var(--ijevs-blue)}
.pkp_structure_footer a:hover{color:var(--ijevs-green)}
.pkp_brand_footer{display:none}

/* ---------- Responsive ---------- */
@media(max-width:768px){

  .obj_issue_toc .cover{
    float:none;
    width:140px;
    margin:0 auto 15px;
  }

  .obj_article_summary .cover{
    width:80px;
    min-width:80px;
  }

  .obj_article_summary .cover img{
    height:110px;
  }

  .obj_article_summary>.title a{
    font-size:15px;
  }

  .obj_article_details .page_title{
    font-size:24px;
  }
}

/* Author Countries (archive, otomatis dari data author tiap issue) */
.obj_issue_summary .author-countries-title{margin:.9em 0 .4em;font-weight:700;color:var(--sc-text)}
.obj_issue_summary .author-countries-title:before{content:"\f0ac";font-family:FontAwesome;font-weight:normal;color:var(--sc-accent);margin-right:.5em}
.obj_issue_summary ol.author-countries{list-style:none;margin:0 0 .5em;padding:0;counter-reset:ac}
.obj_issue_summary ol.author-countries li{counter-increment:ac;margin:0;padding:.2em 0;font-size:.93em;color:var(--sc-text)}
.obj_issue_summary ol.author-countries li:before{content:"(" counter(ac) ")";display:inline-block;min-width:2.2em;color:var(--sc-muted)}
