/* ============================================
   Custom CSS SCD
   Nuansa HIJAU
   OJS 3.5
   ============================================ */

/* --- Font Baloo Tamma 2 --- */
/* kannada */
@font-face {
  font-family: 'Baloo Tamma 2';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/balootamma2/v15/vEFX2_hCAgcR46PaajtrYlBbf1U81-qe.woff2) format('woff2');
  unicode-range: U+0964-0965, U+0C82-0CF2, U+200C-200D, U+20B9, U+25CC;
}
/* vietnamese */
@font-face {
  font-family: 'Baloo Tamma 2';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/balootamma2/v15/vEFX2_hCAgcR46PaajtrYlBbf0A81-qe.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Baloo Tamma 2';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/balootamma2/v15/vEFX2_hCAgcR46PaajtrYlBbf0E81-qe.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Baloo Tamma 2';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/balootamma2/v15/vEFX2_hCAgcR46PaajtrYlBbf0881w.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* kannada */
@font-face {
  font-family: 'Baloo Tamma 2';
  font-style: normal;
  font-weight: 600;
  src: url(https://fonts.gstatic.com/s/balootamma2/v15/vEFX2_hCAgcR46PaajtrYlBbf1U81-qe.woff2) format('woff2');
  unicode-range: U+0964-0965, U+0C82-0CF2, U+200C-200D, U+20B9, U+25CC;
}
/* vietnamese */
@font-face {
  font-family: 'Baloo Tamma 2';
  font-style: normal;
  font-weight: 600;
  src: url(https://fonts.gstatic.com/s/balootamma2/v15/vEFX2_hCAgcR46PaajtrYlBbf0A81-qe.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Baloo Tamma 2';
  font-style: normal;
  font-weight: 600;
  src: url(https://fonts.gstatic.com/s/balootamma2/v15/vEFX2_hCAgcR46PaajtrYlBbf0E81-qe.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Baloo Tamma 2';
  font-style: normal;
  font-weight: 600;
  src: url(https://fonts.gstatic.com/s/balootamma2/v15/vEFX2_hCAgcR46PaajtrYlBbf0881w.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* kannada */
@font-face {
  font-family: 'Baloo Tamma 2';
  font-style: normal;
  font-weight: 700;
  src: url(https://fonts.gstatic.com/s/balootamma2/v15/vEFX2_hCAgcR46PaajtrYlBbf1U81-qe.woff2) format('woff2');
  unicode-range: U+0964-0965, U+0C82-0CF2, U+200C-200D, U+20B9, U+25CC;
}
/* vietnamese */
@font-face {
  font-family: 'Baloo Tamma 2';
  font-style: normal;
  font-weight: 700;
  src: url(https://fonts.gstatic.com/s/balootamma2/v15/vEFX2_hCAgcR46PaajtrYlBbf0A81-qe.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Baloo Tamma 2';
  font-style: normal;
  font-weight: 700;
  src: url(https://fonts.gstatic.com/s/balootamma2/v15/vEFX2_hCAgcR46PaajtrYlBbf0E81-qe.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Baloo Tamma 2';
  font-style: normal;
  font-weight: 700;
  src: url(https://fonts.gstatic.com/s/balootamma2/v15/vEFX2_hCAgcR46PaajtrYlBbf0881w.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Terapkan font ke SEMUA elemen --- */
*,
*::before,
*::after {
  font-family: "Baloo Tamma 2", "Segoe UI", system-ui, sans-serif !important;
}

/* --- Warna aksen HIJAU SCD --- */
:root {
  --accent: #1e7a3a;
  --accent-dark: #145a2a;
  --accent-light: #2e9b4f;
  --sidebar-start: #1e7a3a;
  --sidebar-end: #2e9b4f;
  --sidebar-bg: #eef8f1;
}

/* Link & hover */
a {
  color: var(--accent-light);
}
a:hover {
  color: var(--accent-dark);
  text-decoration: none;
}

/* --- Header & Navigasi --- */
.pkp_structure_head {
  border-bottom: none !important;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.pkp_navigation_primary_row {
  background: linear-gradient(to bottom, #ffffff 0%, #f3faf5 100%) !important;
  border-top: 1px solid #e0efe5;
  border-bottom: 1px solid #d0e8d8;
  padding: 6px 0;
}

.pkp_navigation_primary a,
.pkp_nav_list a {
  color: #2c3e50 !important;
  font-weight: 500;
  transition: color 0.2s;
}

.pkp_navigation_primary a:hover,
.pkp_nav_list a:hover {
  color: var(--accent-light) !important;
}

/* User menu (Register / Login) */
.pkp_navigation_user a {
  color: var(--accent) !important;
  border: 1px solid #a8d5b5;
  border-radius: 6px;
  padding: 4px 12px !important;
  margin-left: 6px;
  background: #f2faf4;
}
.pkp_navigation_user a:hover {
  background: var(--accent);
  color: #fff !important;
  border-color: var(--accent);
}

/* --- Sidebar (gradient hijau) --- */
.pkp_structure_sidebar .pkp_block {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  margin-bottom: 16px;
  border: none;
}

.pkp_structure_sidebar .pkp_block .title {
  background: linear-gradient(135deg, var(--sidebar-start), var(--sidebar-end)) !important;
  color: #fff !important;
  text-align: center;
  font-weight: 600;
  padding: 12px 10px !important;
  border: none !important;
  margin: 0 !important;
}

.pkp_structure_sidebar .pkp_block .content {
  border: 1px solid #c8e6d0 !important;
  border-top: none !important;
  background: var(--sidebar-bg);
  padding: 0 !important;
}

.pkp_structure_sidebar .pkp_block .content a,
.pkp_structure_sidebar .pkp_block .content li a {
  display: block;
  padding: 10px 14px;
  color: #2c3e50 !important;
  border-bottom: 1px solid #d4eadc;
  transition: all 0.15s;
}

.pkp_structure_sidebar .pkp_block .content a:hover {
  background: #d4eadc;
  color: var(--accent) !important;
  padding-left: 18px;
}

/* --- About the Journal box --- */
#homepageAbout,
.homepage_about,
.pkp_page_index .about_journal {
  border: 1.5px dashed var(--accent-light) !important;
  border-radius: 8px;
  padding: 20px 24px !important;
  background: #f4faf6;
  margin-bottom: 24px;
}

#homepageAbout h2,
.homepage_about h2,
.about_journal h2 {
  color: #1e7a3a;
  border-bottom: 3px solid var(--accent-light);
  display: inline-block;
  padding-bottom: 4px;
  margin-bottom: 16px;
}

/* --- Judul section --- */
.pkp_structure_main h1,
.pkp_structure_main h2,
.current_issue h2,
.cmp_announcements h2 {
  color: #1e7a3a;
  font-weight: 600;
}

/* --- Tombol & Galley --- */
.cmp_button,
.obj_galley_link,
.cmp_button_wire {
  border-radius: 6px !important;
  border-color: var(--accent-light) !important;
  color: var(--accent) !important;
  transition: all 0.2s;
}
.cmp_button:hover,
.obj_galley_link:hover {
  background: var(--accent) !important;
  color: #fff !important;
  border-color: var(--accent) !important;
}

/* --- Announcement & Issue card --- */
.obj_announcement_summary,
.obj_issue_summary {
  border-radius: 8px;
  border: 1px solid #d4eadc;
  padding: 16px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  margin-bottom: 16px;
}

.obj_announcement_summary h2 a,
.obj_announcement_summary h3 a,
.obj_issue_summary .title a {
  color: #1e7a3a !important;
}
.obj_announcement_summary h2 a:hover,
.obj_issue_summary .title a:hover {
  color: var(--accent-light) !important;
}

/* --- Footer lebih bersih --- */
.pkp_structure_footer_wrapper {
  background: #f2faf4;
  border-top: 1px solid #d0e8d8;
}

.pkp_brand_footer {
  display: none;
}

/* --- Editorial Team list --- */
.editorial-list {
  position: relative;
}
.editorial-list li {
  margin-bottom: 1.125rem;
}
.editorial-list .img-profile {
  position: absolute;
  width: 95px;
  height: 105px;
  border: 1px solid #ddd;
  padding: .5rem;
}
.editorial-list .img-profile .imgthumb {
  width: 80px;
  height: 90px;
  overflow: hidden;
  margin: 0 auto;
  object-fit: fill;
}
.editorial-list .img-profile img {
  width: 100%;
  height: 100%;
}
.team-content {
  margin-left: 100px;
  min-height: 130px;
}
.team-content .ico-label {
  width: 18px;
  height: 18px;
  margin-right: .5rem;
}
.team-aff ul li {
  margin-bottom: 0;
}
.team-aff ul li .tm_label {
  display: inline-block;
  width: 80px;
}
.team-aff ul li .ico-label {
  width: 18px;
  height: 18px;
  margin-right: .5rem;
}

/* --- Custom features --- */
.cmp_article_list > li {
  border-bottom: 1px solid whitesmoke;
  padding-bottom: 20px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .pkp_structure_sidebar .pkp_block .title {
    font-size: 1em;
  }
}

/* --- Custom Sidebar Menu --- */
.custom-sidebar-menu {
  margin: 0;
  padding: 0;
}

.custom-sidebar-menu .item {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 42px;
  padding: 10px 14px;
  border-bottom: 1px solid #d4eadc;
  box-sizing: border-box;
  transition: all 0.15s ease;
  cursor: pointer;
}

.custom-sidebar-menu .item:last-child {
  border-bottom: none;
}

.custom-sidebar-menu .item:hover {
  background: #d4eadc;
  padding-left: 18px;
}

.custom-sidebar-menu .item img {
  width: 16px;
  height: 16px;
  margin-right: 12px;
  flex-shrink: 0;
  object-fit: contain;
}

.custom-sidebar-menu .item a {
  color: #2c3e50 !important;
  text-decoration: none !important;
  font-size: 14px;
  line-height: 1.4;
  flex: 1;
}

.custom-sidebar-menu .item:hover a {
  color: var(--accent) !important;
}

.custom-sidebar-menu .item a strong {
  font-weight: 600;
}

/* --- Publisher Block --- */
.custom-publisher-block {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  margin-bottom: 16px;
  border: 1px solid #c8e6d0;
  background: #fff;
}

.custom-publisher-block .publisher-title {
  background: linear-gradient(135deg, var(--sidebar-start), var(--sidebar-end));
  color: #fff;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 10px;
  letter-spacing: 0.3px;
}

.custom-publisher-block .publisher-logo {
  text-align: center;
  padding: 16px 12px;
  background: #f4faf6;
}

.custom-publisher-block .publisher-logo img {
  max-width: 150px;
  height: auto;
  display: inline-block;
  transition: opacity 0.2s ease;
}

.custom-publisher-block .publisher-logo a:hover img {
  opacity: 0.85;
}

/* --- About Journal --- */
.about-journal-box {
  border: 1.5px dashed var(--accent-light);
  border-radius: 8px;
  background: #fff;
  padding: 22px 26px 20px;
  margin-bottom: 28px;
}

.about-journal-box .about-title {
  margin: 0 0 12px;
  font-size: 1.45em;
  font-weight: 700;
  color: #1e7a3a;
  display: inline-block;
  border-bottom: 3px solid var(--accent-light);
  padding-bottom: 4px;
  line-height: 1.3;
}

.about-journal-box .about-intro {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.65;
  color: #333;
  text-align: justify;
}

.about-journal-box .about-intro a {
  color: var(--accent-light) !important;
  font-weight: 500;
}

.about-journal-box .about-intro a:hover {
  color: var(--accent-dark) !important;
  text-decoration: underline;
}

.about-body {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.about-cover {
  flex: 0 0 160px;
}

.about-cover img {
  width: 160px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 3px 10px rgba(30, 122, 58, 0.12);
  border: 1px solid #d4eadc;
  display: block;
}

.about-meta {
  flex: 1 1 280px;
  min-width: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #333;
}

.about-meta p {
  margin: 0 0 6px;
}

.about-meta a {
  color: var(--accent-light) !important;
  text-decoration: none;
}

.about-meta a:hover {
  color: var(--accent-dark) !important;
  text-decoration: underline;
}

.about-links {
  margin-top: 12px !important;
  margin-bottom: 14px !important;
}

.about-links a {
  font-weight: 600;
  color: var(--accent) !important;
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 6px;
}

.about-badges img {
  height: 34px;
  width: auto;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 640px) {
  .about-body {
    flex-direction: column;
  }
  .about-cover {
    flex: 0 0 auto;
  }
  .about-cover img {
    width: 140px;
  }
}

/* Sembunyikan anchor homepageAbout */
a#homepageAbout {
  display: none !important;
}

/* --- Authors box --- */
.obj_article_details .item.authors {
  background: #f4faf6;
  border: 1px solid #d4eadc;
  border-radius: 8px;
  padding: 16px 18px;
  margin: 12px 0 20px;
}

.obj_article_details .item.authors ul.authors {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 10px 0;
}

.obj_article_details .item.authors ul.authors > li {
  width: 50%;
  box-sizing: border-box;
  padding-right: 16px;
  margin-bottom: 6px;
}

.obj_article_details .item.authors .name {
  display: block;
  font-weight: 700;
  color: #1e7a3a;
  font-size: 15px;
}

.obj_article_details .item.authors .name::before {
  content: "👤 ";
}

.obj_article_details .item.authors .affiliation {
  display: block;
  font-size: 13px;
  color: #555;
  margin-top: 2px;
}

.obj_article_details .item.authors .affiliation::before {
  content: "🏛️ ";
}

.obj_article_details .item.authors .orcid {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
}

@media (max-width: 640px) {
  .obj_article_details .item.authors ul.authors > li {
    width: 100%;
    padding-right: 0;
  }
}

/* --- Keywords, Abstract, References: justify --- */
.obj_article_details .item.keywords,
.obj_article_details .item.keywords .value,
.obj_article_details .item.keywords span,
.obj_article_details .item.abstract,
.obj_article_details .item.abstract .value,
.obj_article_details .item.abstract p,
.obj_article_details .item.abstract div,
.obj_article_details .item.references,
.obj_article_details .item.references .value,
.obj_article_details .item.references .value p,
.obj_article_details .item.references p {
  text-align: justify !important;
}

.obj_article_details .item.abstract .value,
.obj_article_details .item.references .value {
  display: block !important;
  width: 100% !important;
}

/* Kembalikan font Font Awesome agar icon tampil */
.fa,
.fas,
.far,
.fal,
.fab,
.fa:before,
.fas:before,
.far:before,
.fal:before,
.fab:before,
[class^="fa-"],
[class*=" fa-"] {
  font-family: "FontAwesome" !important;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
