@import url("https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css");
/* =========================================================
   TARBIYA MODERN OVERRIDE
   Tempel di bagian PALING BAWAH CSS lama
========================================================= */

:root {
  --primary: #2f1bb3;
  --primary-dark: #221070;
  --primary-soft: #4d37d7;
  --primary-light: #f1efff;
  --primary-line: #ded9ff;
  --accent: #00a8ff;
  --text: #2f3142;
  --muted: #6f7487;
  --white: #ffffff;
  --bg-soft: #f6f7fc;
  --bg-card: rgba(255, 255, 255, 0.96);
  --border: #e7e8f2;
  --border-strong: #d8dbeb;
  --shadow-sm: 0 6px 16px rgba(33, 24, 96, 0.06);
  --shadow-md: 0 14px 32px rgba(33, 24, 96, 0.10);
  --radius: 18px;
  --radius-sm: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* =========================================================
   GLOBAL
========================================================= */
html,
body {
  background: #f5f6fb url("https://proceeding.lemhannas.com/gambar/noisy-grid.png") center top repeat;
  color: var(--text);
}

body,
.pkp_structure_main,
.pkp_structure_sidebar,
.pkp_footer_content {
  font-family: "Source Sans Pro", Arial, Helvetica, sans-serif;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.25s ease;
}

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

.pkp_structure_content {
  background: transparent;
}

/* =========================================================
   HEADER + TOP NAV
========================================================= */
.pkp_structure_head {
  background: transparent;
  border-bottom: 0;
}

.pkp_site_name_wrapper {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-soft) 100%);
  box-shadow: 0 8px 18px rgba(28, 16, 107, 0.18);
}

.pkp_site_name {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.pkp_site_name .is_text,
.pkp_site_name a {
  color: #ffffff !important;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.pkp_navigation_primary_wrapper {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(35, 17, 122, 0.04);
}

.pkp_navigation_primary > li > a,
.pkp_navigation_user > li > a,
.pkp_navigation_search_wrapper a,
.pkp_navigation_primary_row .navItem > a {
  color: #5b6076 !important;
  font-weight: 700;
  transition: color 0.25s ease;
}

.pkp_navigation_primary > li > a:hover,
.pkp_navigation_user > li > a:hover,
.pkp_navigation_search_wrapper a:hover,
.pkp_navigation_primary_row .navItem > a:hover {
  color: var(--primary) !important;
}

/* =========================================================
   MAIN AREA
========================================================= */
.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;
}

.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;
}

/* =========================================================
   ARTICLE / CONTENT CARDS
========================================================= */
.cmp_article_list.articles .obj_article_summary,
.obj_article_summary {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

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

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

/* =========================================================
   HOME JOURNAL DESCRIPTION / ABOUT CARD
========================================================= */
.home_journal_description {
  width: 100%;
  margin: 0;
  padding: 22px 24px 24px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.home_journal_description h3,
.home_journal_description h4 {
  color: var(--primary-dark);
  margin-top: 0;
}

.home_journal_description table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #ffffff;
}

.home_journal_description table td,
.home_journal_description table th {
  padding: 11px 14px !important;
  vertical-align: top;
  border-bottom: 1px solid #ececf5;
}

.home_journal_description table tr:last-child td,
.home_journal_description table tr:last-child th {
  border-bottom: 0;
}

.home_journal_description img {
  border-radius: 12px;
}

/* =========================================================
   BUTTONS
========================================================= */
.cmp_button_wire,
.obj_galley_link,
.block_make_submission a,
.block_make_submission_link a,
.pkp_block.block_make_submission .content a {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-soft) 100%);
  border: 1px solid transparent;
  color: #ffffff !important;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(47, 27, 179, 0.18);
  transition: all 0.25s ease;
}

.cmp_button_wire:hover,
.obj_galley_link:hover,
.block_make_submission a:hover,
.block_make_submission_link a:hover,
.pkp_block.block_make_submission .content a:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(47, 27, 179, 0.22);
  color: #ffffff !important;
}

/* =========================================================
   SIDEBAR WRAPPER
========================================================= */
.pkp_structure_sidebar {
  background: transparent;
  padding: 1rem 1.5rem 1rem 1.4rem;
  border-left: 0;
}

.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.35rem;
  padding: 0;
  background: var(--bg-card);
  border: 1px solid rgba(47, 27, 179, 0.10);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  font-size: 14px;
  line-height: 1.6;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  backdrop-filter: blur(4px);
}

.pkp_structure_sidebar .pkp_block:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(33, 24, 96, 0.14);
}

/* =========================================================
   SIDEBAR TITLE
========================================================= */
.pkp_structure_sidebar .pkp_block .title {
  display: block;
  margin: 0;
  padding: 15px 18px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 58%, var(--primary-soft) 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0.2px;
  border: 0;
}

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

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

.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 (OJS DEFAULT)
========================================================= */
.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 #ececf5;
}

.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: 12px;
  padding: 14px 18px;
  color: var(--text);
  background: #ffffff;
  line-height: 1.5;
  transition: all 0.25s ease;
}

.pkp_structure_sidebar .pkp_block ul > li a:hover {
  background: linear-gradient(90deg, #f7f5ff 0%, #f1efff 100%);
  color: var(--primary);
  padding-left: 22px;
}

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

/* =========================================================
   SIDEBAR CUSTOM HTML MENU
   Untuk block sidebar yang dibuat dengan div + inline style
========================================================= */
.pkp_structure_sidebar .pkp_block .content > div[style] {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.pkp_structure_sidebar .pkp_block .content > div[style]:first-child {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 58%, var(--primary-soft) 100%) !important;
  padding: 15px 18px !important;
  text-align: center !important;
  border-bottom: 0 !important;
}

.pkp_structure_sidebar .pkp_block .content > div[style]:first-child span,
.pkp_structure_sidebar .pkp_block .content > div[style]:first-child strong,
.pkp_structure_sidebar .pkp_block .content > div[style]:first-child em {
  color: #ffffff !important;
  font-weight: 800 !important;
}

.pkp_structure_sidebar .pkp_block .content > div[style]:not(:first-child) {
  background: #ffffff !important;
  border-top: 1px solid #ececf5 !important;
  border-bottom: 0 !important;
  padding: 0 !important;
}

.pkp_structure_sidebar .pkp_block .content > div[style]:not(:first-child) a {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  padding: 14px 18px !important;
  color: var(--text) !important;
  background: transparent !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
}

.pkp_structure_sidebar .pkp_block .content > div[style]:not(:first-child) a:hover {
  background: linear-gradient(90deg, #f7f5ff 0%, #f1efff 100%) !important;
  color: var(--primary) !important;
}

.pkp_structure_sidebar .pkp_block .content > div[style]:not(:first-child) a span,
.pkp_structure_sidebar .pkp_block .content > div[style]:not(:first-child) a strong,
.pkp_structure_sidebar .pkp_block .content > div[style]:not(:first-child) a em {
  color: inherit !important;
}

.pkp_structure_sidebar .pkp_block .content > div[style]:not(:first-child) a em {
  width: 20px;
  min-width: 20px;
  text-align: center;
  font-size: 14px;
  color: var(--primary) !important;
}

/* =========================================================
   SIDEBAR SPACING FOR GENERIC CONTENT
========================================================= */
.pkp_structure_sidebar .pkp_block .content > p,
.pkp_structure_sidebar .pkp_block .content > div:not([style]),
.pkp_structure_sidebar .pkp_block .content > a,
.pkp_structure_sidebar .pkp_block .content > section {
  padding-left: 18px;
  padding-right: 18px;
}

.pkp_structure_sidebar .pkp_block .content > p:first-child,
.pkp_structure_sidebar .pkp_block .content > div:not([style]):first-child,
.pkp_structure_sidebar .pkp_block .content > a:first-child,
.pkp_structure_sidebar .pkp_block .content > section:first-child {
  padding-top: 16px;
}

.pkp_structure_sidebar .pkp_block .content > p:last-child,
.pkp_structure_sidebar .pkp_block .content > div:not([style]):last-child,
.pkp_structure_sidebar .pkp_block .content > a:last-child,
.pkp_structure_sidebar .pkp_block .content > section:last-child {
  padding-bottom: 16px;
}

/* =========================================================
   SPECIAL SIDEBAR BOXES
========================================================= */
.flagcounter,
.statcounter,
.googlemaps {
  margin: 0.75rem auto;
  padding: 0.9rem;
  background: linear-gradient(180deg, #fcfcff 0%, #f6f7ff 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
}

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

.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: transparent;
  margin-bottom: 10px;
}

.pkp_structure_footer {
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.pkp_footer_content {
  padding: 0;
  background: transparent;
}

.pkp_footer_content .footer {
  padding: 30px;
  background: #ffffff;
}

.row.copright-container {
  padding: 24px 30px;
  font-size: 13px;
  text-align: justify;
  color: #767c91;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, #fafaff 0%, #ffffff 100%);
}

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

.pkp_footer_content .theme-credit a {
  color: #7e85a0;
}

.pkp_brand_footer {
  display: none;
}

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

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

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

  .home_journal_description {
    padding: 18px 16px 20px;
    border-radius: 16px;
  }

  .pkp_structure_sidebar .pkp_block {
    border-radius: 16px;
  }

  .pkp_structure_sidebar .pkp_block .title,
  .pkp_structure_sidebar .pkp_block .content > div[style]:first-child {
    padding: 13px 14px !important;
    font-size: 13px;
  }

  .pkp_structure_sidebar .pkp_block ul > li a,
  .pkp_structure_sidebar .pkp_block .content > div[style]:not(:first-child) a {
    padding: 12px 14px !important;
  }

  .pkp_footer_content .footer,
  .row.copright-container {
    padding: 20px 18px;
  }
}
/* =========================================================
   TARBIYA SIDEBAR MENU FIX
   Tempel di bagian paling bawah CSS
========================================================= */

#customblock-sidebarmenu {
  background: #ffffff !important;
  border: 1px solid #e3e6f3 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 12px 30px rgba(36, 26, 110, 0.10) !important;
}

#customblock-sidebarmenu > .title,
#customblock-sidebarmenu .title {
  display: block !important;
  margin: 0 !important;
  padding: 16px 18px !important;
  background: linear-gradient(135deg, #221070 0%, #2f1bb3 55%, #4d37d7 100%) !important;
  color: #ffffff !important;
  text-align: center !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px !important;
  text-transform: uppercase !important;
  border: 0 !important;
}

#customblock-sidebarmenu .content {
  padding: 0 !important;
  background: #ffffff !important;
}

/* menu list */
#customblock-sidebarmenu .sidebar-menu-clean,
#customblock-sidebarmenu ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#customblock-sidebarmenu .sidebar-menu-clean li,
#customblock-sidebarmenu ul li {
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid #ececf5 !important;
  background: #ffffff !important;
}

#customblock-sidebarmenu .sidebar-menu-clean li:last-child,
#customblock-sidebarmenu ul li:last-child {
  border-bottom: 0 !important;
}

#customblock-sidebarmenu .sidebar-menu-clean li a,
#customblock-sidebarmenu ul li a {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 14px 18px !important;
  color: #34384a !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  background: #ffffff !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
}

#customblock-sidebarmenu .sidebar-menu-clean li a:hover,
#customblock-sidebarmenu ul li a:hover {
  background: linear-gradient(90deg, #f8f6ff 0%, #f2efff 100%) !important;
  color: #2f1bb3 !important;
  padding-left: 22px !important;
}

/* icon */
#customblock-sidebarmenu .sidebar-menu-clean li a .fa,
#customblock-sidebarmenu ul li a .fa,
#customblock-sidebarmenu ul li a em.fa,
#customblock-sidebarmenu ul li a span.fa {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  min-width: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #2f1bb3 !important;
  font-size: 14px !important;
  border-right: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

/* matikan style lama yang bikin cuma muncul garis */
#customblock-sidebarmenu ul li a em[style] {
  width: 22px !important;
  margin: 0 !important;
  border-right: 0 !important;
  font: normal normal normal 14px/1 FontAwesome !important;
}

/* promo/template image */
#customblock-sidebarmenu .sidebar-promo {
  padding: 16px !important;
  border-top: 1px solid #ececf5 !important;
  background: linear-gradient(180deg, #fcfcff 0%, #f6f7ff 100%) !important;
}

#customblock-sidebarmenu .sidebar-promo a {
  display: block !important;
}

#customblock-sidebarmenu .sidebar-promo img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  border-radius: 12px !important;
  border: 1px solid #e6e8f7 !important;
  box-shadow: 0 8px 20px rgba(38, 25, 120, 0.08) !important;
}

/* jika ada gambar/logo lain di block sidebar, jangan ikut hilang */
#customblock-sidebarmenu img,
.pkp_structure_sidebar .pkp_block img {
  visibility: visible !important;
  opacity: 1 !important;
}

/* rapikan sidebar kanan secara umum */
.pkp_structure_sidebar {
  padding: 1rem 1.5rem 1rem 1.35rem !important;
}

.pkp_structure_sidebar .pkp_block {
  overflow: hidden !important;
}

/* mobile */
@media (max-width: 768px) {
  #customblock-sidebarmenu .title {
    padding: 14px 14px !important;
    font-size: 14px !important;
  }

  #customblock-sidebarmenu .sidebar-menu-clean li a,
  #customblock-sidebarmenu ul li a {
    padding: 12px 14px !important;
    font-size: 13.5px !important;
  }

  #customblock-sidebarmenu .sidebar-promo {
    padding: 14px !important;
  }
}
/* =========================================================
   FIX ICON + IMAGE SIDEBAR TARBIYA
========================================================= */

/* Ikon menu */
#customblock-sidebarmenu ul li a em.fa,
#customblock-sidebarmenu ul li a span.fa {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  min-width: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 15px !important;
  line-height: 1 !important;
  color: #2f1bb3 !important;
  border-right: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Hilangkan style lama yang bikin ikon seperti garis */
#customblock-sidebarmenu ul li a em[style] {
  margin: 0 !important;
  width: 22px !important;
  border-right: 0 !important;
}

/* Rapikan item menu */
#customblock-sidebarmenu ul li a {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 14px 18px !important;
}

/* Gambar/template di bawah menu */
#customblock-sidebarmenu .content > p:last-child {
  margin: 0 !important;
  padding: 16px !important;
  border-top: 1px solid #ececf5 !important;
  background: linear-gradient(180deg, #fcfcff 0%, #f6f7ff 100%) !important;
}

#customblock-sidebarmenu .content > p:last-child a {
  display: block !important;
}

#customblock-sidebarmenu .content > p:last-child img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  border-radius: 12px !important;
  border: 1px solid #e6e8f7 !important;
  box-shadow: 0 8px 20px rgba(38, 25, 120, 0.08) !important;
  visibility: visible !important;
  opacity: 1 !important;
}