/* 
IJIMF - Indonesian Journal of Multidisipliner Famika
*/

.pkp_structure_page {
  margin: 0 auto;
  max-width: 1160px;
  background: #fff;
  box-shadow: none;
}

@media (min-width: 1200px) {
  .pkp_structure_page {
    margin-top: 30px;
    margin-bottom: 30px;
  }
}

.pkp_head_wrapper,
.has_site_logo .pkp_head_wrapper {
  position: relative;
  padding-top: 0;
}

/* ===== SIDEBAR ===== */
.kepala {
  height: 35px;
  font-size: 14px;
  background: #5C2D91;
  width: 100%;
  color: #f7f9fa;
  text-align: center;
  padding-top: 4px;
  vertical-align: middle;
  border-bottom: 1px solid #ffffff;
}

.badan {
  margin-top: -12px;
}

.badan a {
  display: block;
  text-decoration: none;
  padding: 0.8rem;
  background-color: #f8f4ff;
  color: #5a5a5a;
  border-bottom: rgb(255 255 255) 0.2rem solid;
  transition: 0.4s;
  position: relative;
  z-index: 1;
}

.badan .fa {
  padding-right: 10px;
}

.badan a:hover {
  background-color: #DCC6F5;
  box-shadow: gray 0px 0px 1px 0px;
  color: #ffffff;
}

.badan a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 0.2rem;
  background-color: #7B3FC4;
  left: 0;
  bottom: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: 800ms;
}

.badan a:hover::after {
  transform: scaleX(1);
}

/* ===== EDITORIAL TEAM ===== */
.editorial-list {
  position: relative;
}
.editorial-list li {
  margin-bottom: 1.125rem;
}
.editorial-list .img-profile {
  position: absolute;
  width: 95px;
  height: 105px;
  border: 1px solid #d9d5e4;
  padding: .5rem;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.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;
}

/* ===== TABLE OF CONTENT ===== */
.obj_article_summary {
  box-shadow: none;
  padding: 20px;
  border-radius: 0px;
}

.obj_issue_toc .sections ul li:nth-child(odd) .obj_article_summary,
.obj_issue_toc .sections ul li:nth-child(even) .obj_article_summary {
  background: #f8f4ff;
}

.obj_article_summary:hover {
  background: #e8d5ff;
}

.obj_article_summary {
  padding-bottom: 15px !important;
  border-bottom: solid 4px #7B3FC4 !important;
  font-size: 12px;
  padding-top: 12px;
}

.pkp_structure_main h1 {
  font-weight: 600;
  font-size: 20px;
}

.obj_article_summary .title a,
.obj_article_details .page_title,
.cmp_article_list .title a {
  font-family: Lora, geneva, sans-serif !important;
}

.pkp_structure_main a {
  color: #7B3FC4 !important;
}

.pkp_structure_main a:hover {
  color: #f4d35e !important;
}

.obj_galley_link {
  font-weight: 700;
  text-transform: Capitalize !important;
  background: #f8f4ff !important;
  color: #ffffff !important;
  border: solid 1px #7B3FC4 !important;
}

.obj_galley_link:hover {
  background: #e8d5ff !important;
  color: #7B3FC4 !important;
}

/* ===== FOOTER ===== */
.pkp_structure_footer_wrapper {
  background: #f8f4ff;
  border-bottom: 20px solid #5C2D91;
  border-top: 4px solid #5C2D91;
}

.pkp_brand_footer {
  display: none;
}

/* ===== BODY & ABSTRACT ===== */
.main_entry .item.abstract {
  text-align: justify;
}

.main_entry .item.abstract .label {
  display: table;
  margin-bottom: 10px;
}

body {
  font-family: Lora, geneva, sans-serif !important;
}

/* ===== HEADER ===== */
.pkp_site_name_wrapper {
  width: 100% !important;
  background: #5C2D91;
  margin-bottom: 0px !important;
}

.pkp_screen_reader {
  margin: 0px !important;
}

.pkp_navigation_primary_row {
  background: #5C2D91;
  font-weight: bold;
  border-top: 1px solid #ededed;
  padding-left: 30px;
  padding-right: 30px;
}

.pkp_site_name {
  margin: 0 !important;
  padding: 0px;
}

.pkp_site_name > a {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.pkp_site_name_wrapper {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
}

.pkp_site_name .is_img img {
  max-height: 100% !important;
  max-width: 100% !important;
  width: 100%;
  display: block;
}

.pkp_site_name a {
  margin: auto !important;
}

.pkp_site_name {
  margin: 0 !important;
  padding: 0 !important;
}

/* ===== NAVBAR ===== */
.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li {
  padding: 0 !important;
  margin: 0 !important;
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li a {
  margin: 0 !important;
  padding: 0 15px !important;
  line-height: 40px !important;
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li,
.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li a {
  font-family: robot, geneva, sans-serif;
  color: #ffffff !important;
  font-weight: bold !important;
  transition: 0.2s;
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li a {
  transition: all 0.3s ease;
  border-radius: 6px !important;
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li a:hover {
  background: rgba(255,255,255,0.12);
  color: #f4d35e !important;
  backdrop-filter: blur(4px);
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li ul,
.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li ul li a:hover {
  border-radius: 0 !important;
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li ul {
  background: #7B3FC4 !important;
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li ul li {
  border-bottom: solid 1px white !important;
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li ul li:last-child {
  border-bottom: none !important;
}

.pkp_site_nav_toggle {
  background: #7B3FC4 !important;
}

.pkp_navigation_search_wrapper {
  background: #ffffff;
  border-radius: 0px;
  transition: 0.5s;
}

.pkp_navigation_search_wrapper a {
  color: #7B3FC4;
}

.pkp_navigation_search_wrapper a:hover {
  color: #5C2D91;
}

/* ===== ARTICLE PAGE ===== */
.obj_article_details .page_title {
  background: #f8fafc;
  padding: 18px 22px;
  border-left: 4px solid #5C2D91;
  border-radius: 0px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  font-family: Arial, sans-serif;
  font-size: 22px;
  font-weight: 650;
  line-height: 1.5;
  color: #1f2937;
  margin-bottom: 18px;
}

.obj_article_details .page_title .subtitle {
  display: block;
  margin-top: 10px;
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  color: #4b5563;
}

.obj_article_summary .authors {
  line-height: 1.6;
  font-size: 13px;
  font-weight: 400;
}

.obj_article_summary .authors br {
  margin-bottom: 4px;
}

.obj_issue_summary .authors .value .userGroup,
.obj_article_summary .authors .value .userGroup,
.cmp_article_list .authors .value .userGroup {
  display: none;
}

.authors .userGroup {
  display: none;
}

/* ===== HOMEPAGE ===== */
.homepage_about {
  text-align: justify;
}

.description {
  text-align: justify;
}

.homepage_image {
  display: inline-block;
  width: 28%;
  margin-left: 0px;
  float: right;
  margin-top: 0px !important;
}

.homepage_image img {
  margin: 60px 0px 0px -20px;
  width: 300px;
  display: inline-block;
  float: left;
  box-shadow: 4px 2px 5px gray;
  margin-right: 15px;
}

.pkp_structure_content.has_sidebar {
  padding-top: 0px;
}

.pkp_structure_main .page {
  padding-top: 20px;
}

/* ===== DESKRIPSI TABLE ===== */
.deskripsi {
  border: 9px #7B3FC4 ridge;
  padding: 10px;
  background-color: #f8f4ff;
  text-align: left;
  border-collapse: collapse;
  table-layout: auto;
  width: 72%;
}

.deskripsi td {
  vertical-align: top;
  padding: 4px 6px;
}

.deskripsi td.label {
  font-weight: bold;
  white-space: nowrap;
}

.deskripsi td.colon {
  width: 10px;
  text-align: center;
}

/* ===== PKP BLOCK ===== */
.pkp_block {
  padding: 1.143rem;
}

.pkp_block.block_custom {
  padding-left: 15px;
  padding-right: 15px;
}

/* ===== MAKE SUBMISSION ===== */
.block_make_submission a {
  display: block;
  background: #f9f9f9;
  border: 2px solid #5C2D91;
  border-radius: 6px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-size: 1.2rem;
  padding: 0.75rem 1.5rem;
  line-height: 1.5;
  color: #5C2D91;
  text-transform: uppercase;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.block_make_submission a:hover {
  background: #5C2D91;
  color: white;
  transform: scale(1.02);
  transition: 0.6s;
}

/* ===== PROFILE & DROPDOWN ===== */
.profile a {
  background: #7B3FC4;
  color: #ffffff !important;
}

.pkp_navigation_user_wrapper {
  padding-left: 0;
  padding-right: 30px;
  padding-top: 10px;
}

.pkp_navigation_user.pkp_nav_list .profile a {
  border-radius: 15px !important;
  padding-left: 10px;
  padding-right: 10px;
}

.dropdown-menu {
  background: #7B3FC4 !important;
}

.dropdown-menu li a:hover {
  color: #676767 !important;
}

/* ===== LINKS ===== */
a {
  text-decoration: none !important;
}

.pkp_structure_footer_wrapper a {
  text-decoration: none !important;
  transition: color 0.3s ease;
}

.pkp_structure_footer_wrapper a:hover {
  color: #f4d35e !important;
}

/* ===== ANNOUNCEMENTS ===== */
.cmp_announcements.highlight_first {
  background-color: #f8f4ff;
}

/* ===== ARTICLE SUBTITLE ===== */
.obj_article_details .subtitle,
.obj_article_details .page_subtitle,
.obj_article_details h2.subtitle {
  display: block;
  margin-top: 14px;
  font-size: 20px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.5;
  color: #101010;
  font-family: Arial, sans-serif;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .homepage_about {
    width: 100%;
  }
  .deskripsi {
    width: 100% !important;
  }
  .pkp_structure_main {
    padding-top: 20px !important;
  }
}

@media (max-width: 991px) {
  .homepage_about {
    margin-top: 30px;
  }
  .pkp_structure_main {
    margin-top: 0px !important;
  }
  .pkp_site_name_wrapper {
    padding-bottom: 0px;
  }
  .pkp_navigation_search_wrapper {
    margin: center !important;
    padding: 10px !important;
  }
  .pkp_structure_main {
    padding-top: 100px;
  }
}

@media (max-width: 400px) {
  .homepage_image {
    width: 90%;
    margin: 0;
  }
  .homepage_about {
    margin-top: 0px;
  }
  .pkp_structure_main {
    padding-top: 0px !important;
  }
}

/* ===== HEADER IMAGE CENTERED ===== */
.pkp_head_wrapper {
  display: block !important;
  padding: 0 !important;
  max-width: 100% !important;
  min-height: auto !important;
}

.pkp_site_name_wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: auto !important;
  position: relative !important;
  overflow: hidden !important;
}

.pkp_site_name_wrapper > *:not(.pkp_site_name):not(.pkp_site_nav_toggle) {
  position: absolute !important;
  right: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.pkp_site_name {
  position: relative !important;
  z-index: 1 !important;
  width: 100% !important;
  max-width: 100% !important;
}

.pkp_site_name a.is_img {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0;
}

.pkp_site_name a.is_img img,
.pkp_site_name img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    float: none !important;
    object-fit: contain !important;
}

.pkp_site_name a.is_text {
  display: none !important;
}

.pkp_site_nav_toggle {
  position: absolute !important;
  left: 10px !important;
  top: 10px !important;
}

@media (max-width: 768px) {
  .pkp_head_wrapper,
  .pkp_site_name_wrapper {
    min-height: 100px !important;
  }
}

/* ===== HIDE OJS BRANDING ===== */
.pkp_brand_footer,
#developedBy {
  display: none !important;
}

/* ===== HOMEPAGE ORDER ===== */
.page_index_journal {
  display: flex !important;
  flex-direction: column !important;
}

.page_index_journal .additional_content {
  order: 1 !important;
}

.page_index_journal .current_issue {
  order: 2 !important;
}

/* ===== IJIMF SUBMISSION PAGE COMPONENTS ===== */

/* Buttons */
.btn-primary-ijimf {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, #5C2D91, #7B3FC4);
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: bold;
  border-radius: 30px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(92,45,145,0.3);
  transition: 0.3s;
}

.btn-primary-ijimf:hover {
  background: linear-gradient(135deg, #3d1a6e, #5C2D91);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.btn-outline-ijimf {
  display: inline-block;
  padding: 12px 28px;
  background-color: transparent;
  color: #5C2D91 !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: bold;
  border-radius: 30px;
  letter-spacing: 0.5px;
  border: 2px solid #5C2D91;
  transition: 0.3s;
}

.btn-outline-ijimf:hover {
  background-color: #5C2D91;
  color: #ffffff !important;
}

/* Section Heading */
.section-heading-ijimf {
  font-family: 'Lora', Georgia, serif !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #5C2D91 !important;
  margin: 48px 0 12px !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid #c2b8e3 !important;
}

/* Card */
.card-ijimf {
  background: linear-gradient(135deg, #f8f4ff, #ede0ff);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 16px;
  border-left: 5px solid #5C2D91;
  color: #3d1a6e;
}

.card-ijimf a {
  color: #5C2D91 !important;
  font-weight: bold;
}

/* Checklist Items */
.checklist-item-ijimf {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  background: #f8f4ff;
  border-radius: 8px;
  font-size: 14px;
  color: #374151;
}

.checklist-icon-ijimf {
  color: #5C2D91;
  font-weight: bold;
  font-size: 16px;
  flex-shrink: 0;
}

/* Warning Checklist */
.checklist-warning-ijimf {
  background: #fff3f3 !important;
  border-left: 4px solid #e53e3e;
}

.checklist-icon-warning-ijimf {
  color: #e53e3e !important;
  font-weight: bold;
  font-size: 16px;
  flex-shrink: 0;
}

/* ===== BUTTONS ===== */
/* HAPUS yang pertama, pakai ini saja */
.btn-primary-ijimf,
.btn-primary-ijimf:link,
.btn-primary-ijimf:visited,
.pkp_structure_main a.btn-primary-ijimf,
.pkp_structure_main .btn-primary-ijimf {
  display: inline-block;
  padding: 12px 28px;
  background: #7B3FC4 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: bold;
  border-radius: 30px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(123,63,196,0.4);
  transition: 0.3s;
}

.btn-primary-ijimf:hover,
.pkp_structure_main a.btn-primary-ijimf:hover {
  background: #5C2D91 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.btn-outline-ijimf,
.btn-outline-ijimf:link,
.btn-outline-ijimf:visited,
.pkp_structure_main a.btn-outline-ijimf {
  display: inline-block;
  padding: 12px 28px;
  background-color: transparent !important;
  color: #5C2D91 !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: bold;
  border-radius: 30px;
  letter-spacing: 0.5px;
  border: 2px solid #5C2D91;
  transition: 0.3s;
}

.btn-outline-ijimf:hover,
.pkp_structure_main a.btn-outline-ijimf:hover {
  background-color: #5C2D91 !important;
  color: #ffffff !important;
}