/* ==========================================================================
   1. FIX HEADER FULL WIDTH
   ========================================================================== */
header.pkp_structure_head,
.pkp_head_wrapper,
.pkp_site_name_wrapper,
.pkp_site_name {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  background-color: transparent !important;
}

.pkp_site_name .is_img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0 !important;
}

.pkp_site_name .is_img img {
  width: 100% !important;
  max-width: 100% !important;
  max-height: 220px !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  margin: 0 !important;
  border: none !important;
}
/* ==========================================================================
   2. FIX LAYOUT CONTAINER
   ========================================================================== */
.pkp_structure_content {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  max-width: 1200px !important;
  margin: 25px auto !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
}

.pkp_structure_main {
  flex: 1 1 auto !important;
  width: calc(100% - 320px) !important;
  max-width: 800px !important;
  padding-right: 35px !important;
  border-right: none !important;
  box-sizing: border-box !important;
}

.pkp_structure_sidebar {
  width: 280px !important;
  min-width: 280px !important;
  flex-shrink: 0 !important;
  margin-left: 0 !important;
  padding-left: 25px !important;
  box-sizing: border-box !important;
}

/* ==========================================================================
   3. STYLING SINGLE BORDER (CARD UNTUK SIDEBAR)
   ========================================================================== */
.sidebar-block-custom {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

/* Berlaku di Homepage maupun Halaman Jurnal Individual */
.pkp_block {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-top: 3px solid #0284c7 !important;
  padding: 16px !important;
  margin-bottom: 20px !important;
  border-radius: 6px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

.pkp_block.block_custom > .title {
  display: none !important;
}

.pkp_block .title,
.sidebar-block-custom .sidebar-title {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #0b1325 !important;
  margin-top: 0 !important;
  margin-bottom: 10px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  padding-bottom: 6px !important;
}

/* ==========================================================================
   4. STYLING TOMBOL SIDEBAR (WA, EMAIL, TEMPLATE)
   ========================================================================== */
.btn-sidebar,
.btn-template-download {
  display: block !important;
  text-align: center !important;
  padding: 10px 14px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  text-decoration: none !important;
  border-radius: 6px !important;
  margin-top: 10px !important;
  line-height: 1.4 !important;
  transition: all 0.2s ease-in-out !important;
  box-sizing: border-box !important;
}

.btn-email,
.btn-template-download {
  background-color: #0284c7 !important;
  color: #ffffff !important;
}

.btn-email:hover,
.btn-template-download:hover {
  background-color: #0369a1 !important;
  color: #ffffff !important;
}

.btn-wa {
  background-color: #16a34a !important;
  color: #ffffff !important;
}

.btn-wa:hover {
  background-color: #15803d !important;
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(22, 163, 74, 0.25) !important;
}

/* ==========================================================================
   5. COMPACT ABOUT / DESCRIPTION PAGE STYLING
   ========================================================================== */
.obj_journal_summary .description,
.page_about .content,
.pkp_block .content {
  line-height: 1.5 !important;
}

.description p,
.page_about p {
  margin-bottom: 8px !important;
}

/* ==========================================================================
   6. FOOTER STYLING LENGKAP (HOMEPAGE & JURNAL INDIVIDUAL)
   ========================================================================== */
.pkp_structure_footer_wrapper,
footer.pkp_structure_footer {
  display: flex !important;
  flex-direction: column !important;
  background-color: #0b1325 !important;
  padding: 0 !important;
  margin-top: 50px !important;
  width: 100% !important;
  max-width: 100% !important;
  border: none !important;
}

.pkp_structure_footer .pkp_footer_content {
  display: none !important;
}

.pkp_brand_footer, 
.pkp_structure_footer .pkp_brand_footer {
  display: none !important;
}

.custom-footer-block {
  order: 1 !important;
  background: linear-gradient(180deg, #0f172a 0%, #0b1325 100%) !important;
  color: #e2e8f0 !important;
  padding: 45px 0 0 0 !important;
  border-top: 4px solid #0284c7 !important;
  margin: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.custom-footer-block .footer-grid {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 25px 40px 25px !important;
  display: grid !important;
  grid-template-columns: 1.3fr 1fr 1fr !important;
  gap: 35px !important;
  text-align: left !important;
  box-sizing: border-box !important;
}

.custom-footer-block .footer-title {
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.8px !important;
  margin-top: 0 !important;
  margin-bottom: 18px !important;
  padding-bottom: 8px !important;
  border-bottom: 2px solid #0284c7 !important;
  display: inline-block !important;
  text-transform: uppercase !important;
}

.custom-footer-block .footer-subtitle {
  color: #38bdf8 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  margin-bottom: 12px !important;
  line-height: 1.4 !important;
}

.custom-footer-block .footer-address {
  color: #94a3b8 !important;
  font-size: 12.5px !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

.custom-footer-block .footer-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.custom-footer-block .footer-links li {
  margin-bottom: 10px !important;
}

.custom-footer-block .footer-links a {
  color: #cbd5e1 !important;
  text-decoration: none !important;
  font-size: 13px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.custom-footer-block .footer-links a:hover {
  color: #38bdf8 !important;
}

.custom-footer-block .footer-contact {
  color: #94a3b8 !important;
  font-size: 12.5px !important;
  line-height: 1.4 !important;
  margin-bottom: 12px !important;
}

.custom-footer-block .footer-contact a {
  color: #38bdf8 !important;
  text-decoration: none !important;
}

.custom-footer-block .footer-bottom-bar {
  background-color: #060b17 !important;
  border-top: 1px solid #1e293b !important;
  padding: 14px 25px !important;
  margin-top: 25px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.custom-footer-block .footer-bottom-content {
  max-width: 1200px !important;
  margin: 0 auto !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

.custom-footer-block .footer-copy {
  margin: 0 !important;
  font-size: 12px !important;
  color: #94a3b8 !important;
}

.custom-footer-block .footer-tagline {
  margin: 0 !important;
  font-size: 12px !important;
  color: #38bdf8 !important;
  font-style: italic !important;
  font-weight: 500 !important;
}

/* Responsif Mobile */
@media (max-width: 850px) {
  .pkp_structure_content {
    flex-direction: column !important;
  }
  .pkp_structure_sidebar {
    width: 100% !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    margin-top: 20px !important;
  }
  .custom-footer-block .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }
  .custom-footer-block .footer-bottom-content {
    flex-direction: column !important;
    gap: 8px !important;
    text-align: center !important;
  }
}