/* =========================================================
   THEME COLORS
========================================================= */
:root {
  --primary: #18402f;
  --primary-soft: #1f4d3a;
  --primary-light: #eaf4ee;
  --primary-ultra-light: #f4faf6;
  --border: #d9e4dc;
  --border-soft: #edf2ee;
  --text: #2f3e34;
  --muted: #64756b;
  --white: #ffffff;
  --bg-soft: #f7faf8;
  --shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 10px 24px rgba(0, 0, 0, 0.10);
  --radius: 12px;
  --radius-sm: 8px;
}

/* =========================================================
   GLOBAL RESET / BASIC
========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

a:hover,
a:focus {
  color: var(--primary-soft);
  text-decoration: none;
}

html,
body {
  background-image: url("https://proceeding.lemhannas.com/gambar/noisy-grid.png");
}

.pkp_structure_content {
  background: #fff;
}

/* =========================================================
   TEXT ALIGNMENT
========================================================= */
.pkp_structure_main p,
.pkp_structure_main div,
.pkp_structure_main span,
.pkp_structure_main li,
.pkp_structure_main td,
.pkp_structure_main th,
.obj_article_details .main_entry,
.page_article .article_details,
.page_issue .issue_description,
.item.abstract {
  text-align: justify !important;
}

/* =========================================================
   ARTICLE TITLES
========================================================= */
.obj_article_summary .title,
.obj_article_summary .title a,
.page_issue .obj_article_summary .title a,
.obj_article_details .page_title,
.obj_article_details h1,
.obj_article_details h1 a,
.current_issue_title,
.current_issue_title a,
.name {
  color: var(--primary) !important;
  text-decoration: none;
}

/* =========================================================
   ARTICLE CARDS
========================================================= */
.cmp_article_list.articles .obj_article_summary,
.obj_article_summary {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cmp_article_list.articles .obj_article_summary:hover,
.obj_article_summary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.obj_article_summary > .title {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
}

.obj_article_summary > .title a {
  display: block;
  color: var(--primary) !important;
}

/* =========================================================
   BUTTONS / GALLERY LINKS
========================================================= */
.cmp_button_wire,
.obj_galley_link {
  display: inline-block;
  background: var(--primary);
  border: 1px solid var(--primary);
  color: #fff;
  border-radius: 6px;
  transition: all 0.25s ease;
}

.cmp_button_wire:hover,
.obj_galley_link:hover {
  background: var(--primary-soft);
  border-color: var(--primary-soft);
  color: #fff;
}

/* =========================================================
   SIDEBAR AREA
========================================================= */
.pkp_structure_sidebar {
  background: transparent;
  padding: 1rem 1.5rem 1rem 1.25rem;
  border-left: 1px solid var(--border-soft);
}

.pkp_structure_sidebar,
.pkp_structure_sidebar * {
  box-sizing: border-box;
}

/* =========================================================
   SIDEBAR BLOCK CARD
========================================================= */
.pkp_structure_sidebar .pkp_block {
  width: 100%;
  max-width: 100%;
  margin: 0 0 1.25rem;
  padding: 0;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  line-height: 1.6;
  font-size: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pkp_structure_sidebar .pkp_block:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* =========================================================
   SIDEBAR BLOCK TITLE
========================================================= */
.pkp_structure_sidebar .pkp_block .title {
  display: block;
  margin: 0;
  padding: 13px 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-soft) 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  border: 0;
  border-radius: 0;
}

.pkp_structure_sidebar .pkp_block .bottom {
  display: none;
}

/* =========================================================
   SIDEBAR CONTENT
========================================================= */
.pkp_structure_sidebar .pkp_block .content {
  background: #ffffff;
  padding: 0;
  width: 100%;
}

.pkp_structure_sidebar .pkp_block .content p,
.pkp_structure_sidebar .pkp_block .content div,
.pkp_structure_sidebar .pkp_block .content a,
.pkp_structure_sidebar .pkp_block .content img {
  max-width: 100%;
}

.pkp_structure_sidebar .pkp_block img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0.5rem auto;
}

/* =========================================================
   SIDEBAR LIST MENU
========================================================= */
.pkp_structure_sidebar .pkp_block ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pkp_structure_sidebar .pkp_block ul > li {
  display: block;
  margin: 0;
  padding: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-soft);
}

.pkp_structure_sidebar .pkp_block ul > li:last-child {
  border-bottom: 0;
}

.pkp_structure_sidebar .pkp_block ul > li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  color: var(--text);
  background: #ffffff;
  line-height: 1.5;
  transition: all 0.25s ease;
}

.pkp_structure_sidebar .pkp_block ul > li a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.pkp_structure_sidebar .pkp_block ul > li em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  min-width: 22px;
  margin: 0;
  font-size: 14px;
  color: var(--primary);
  border-right: 0;
}

/* =========================================================
   SIDEBAR CUSTOM CONTENT SPACING
========================================================= */
.pkp_structure_sidebar .pkp_block .content > p,
.pkp_structure_sidebar .pkp_block .content > div,
.pkp_structure_sidebar .pkp_block .content > a,
.pkp_structure_sidebar .pkp_block .content > section {
  padding-left: 16px;
  padding-right: 16px;
}

.pkp_structure_sidebar .pkp_block .content > p:first-child,
.pkp_structure_sidebar .pkp_block .content > div:first-child,
.pkp_structure_sidebar .pkp_block .content > a:first-child,
.pkp_structure_sidebar .pkp_block .content > section:first-child {
  padding-top: 14px;
}

.pkp_structure_sidebar .pkp_block .content > p:last-child,
.pkp_structure_sidebar .pkp_block .content > div:last-child,
.pkp_structure_sidebar .pkp_block .content > a:last-child,
.pkp_structure_sidebar .pkp_block .content > section:last-child {
  padding-bottom: 14px;
}

/* Jika ada HTML custom menu manual dengan div berwarna */
.pkp_structure_sidebar .pkp_block .content > div[style] {
  width: 100% !important;
  max-width: 100% !important;
}

/* =========================================================
   SPECIAL BOXES
========================================================= */
.flagcounter,
.statcounter,
.googlemaps {
  margin: 0.75rem auto;
  padding: 0.75rem;
  background: #f8fbf9;
  border: 1px solid var(--border);
  border-radius: 10px;
}

/* =========================================================
   HOME JOURNAL DESCRIPTION
========================================================= */
.home_journal_description {
  width: 100%;
  margin: 0;
  padding: 16px 18px 20px;
  font-size: 13.5px;
  text-align: justify;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: linear-gradient(135deg, #ffffff 0%, #fafdfa 50%, #f3f8f4 100%);
  box-shadow: var(--shadow);
}

/* =========================================================
   AUTHORS BOX
========================================================= */
.obj_article_details div.main_entry ul.authors {
  width: 100%;
  padding: 20px 24px 12px 18px;
  background: linear-gradient(135deg, #ffffff 0%, #fafcfa 100%);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.item.authors {
  font-size: 14px;
}

.item.authors .email:before {
  content: "\f0e0";
  font-family: FontAwesome;
  margin-right: 5px;
  font-size: 14px;
}

.item.authors span.name:before {
  content: "\f007";
  font-family: FontAwesome;
  margin-right: 5px;
  font-size: 14px;
}

.item.authors span.affiliation:before {
  content: "\f19c";
  font-family: FontAwesome;
  margin-right: 5px;
}

/* =========================================================
   FOOTER
========================================================= */
.pkp_structure_footer_wrapper {
  background: #f9fbf9;
  margin-bottom: 10px;
}

.pkp_structure_footer {
  margin-top: 10px;
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
}

.pkp_footer_content {
  padding: 0;
  background: #ffffff;
}

.pkp_footer_content .footer {
  padding: 30px;
  box-shadow: 0 1px 5px -2px rgba(0, 0, 0, 0.13);
}

.row.copright-container {
  padding: 24px 30px;
  font-size: 13px;
  text-align: justify;
  color: #7a877f;
  border-top: 1px solid var(--border-soft);
  background: linear-gradient(to bottom, #f9fbf9 0%, #ffffff 100%);
}

.pkp_footer_content .theme-credit {
  width: 100%;
  text-align: right;
  color: #a1aca5;
  font-size: 10px;
}

.pkp_footer_content .theme-credit a {
  color: #7e8b84;
  text-decoration: none;
}

.pkp_brand_footer {
  display: none;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 991px) {
  .pkp_structure_sidebar {
    padding: 1rem 0 0;
    border-left: 0;
  }

  .pkp_structure_sidebar .pkp_block {
    margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  .cmp_article_list.articles {
    grid-template-columns: 1fr;
  }

  .pkp_structure_sidebar .pkp_block .title {
    font-size: 13px;
    padding: 12px 14px;
  }

  .pkp_structure_sidebar .pkp_block ul > li a {
    padding: 12px 14px;
  }

  .pkp_footer_content .footer,
  .row.copright-container {
    padding: 20px 18px;
  }
}