/* =========================================
   ESJ CLEAN LAYOUT SYSTEM (STABLE VERSION)
   ========================================= */

/* -----------------------------------------
   1. GLOBAL BACKGROUND
----------------------------------------- */
html, body {
  background: #EAF2FB;
  margin: 0;
  padding: 0;
}

/* -----------------------------------------
   2. MAIN LAYOUT (FULL WIDTH MODERN)
----------------------------------------- */
.pkp_structure_page {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background: #ffffff;
}

.pkp_structure_page_wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

/* -----------------------------------------
   3. HEADER FULL WIDTH
----------------------------------------- */
.pkp_structure_head {
  width: 100%;
  padding: 0;
  background: #ffffff;
}

.pkp_site_name_wrapper {
  width: 100%;
  padding: 0;
}

.pkp_site_name img {
  width: 100%;
  height: auto;
  display: block;
}

/* -----------------------------------------
   4. CONTENT AREA
----------------------------------------- */
.pkp_structure_content,
.pkp_structure_main,
.page,
.pkp_page_content {
  background: #ffffff;
}

/* Sidebar ONLY (biar nggak ganggu sistem lain) */
.pkp_structure_sidebar .pkp_block {
  background: #ffffff;
}

/* -----------------------------------------
   5. NAVIGATION USER FIX (IMPORTANT)
----------------------------------------- */
.pkp_navigation_user_wrapper a {
  color: #333 !important;
}

.pkp_navigation_user {
  background: #ffffff !important;
}

/* -----------------------------------------
   6. FOOTER WRAPPER
----------------------------------------- */
.pkp_structure_footer_wrapper {
  background: #EAF2FB;
  border-top: 3px solid #FF7A1A;
  padding: 28px 0;
}

/* Footer content */
.pkp_footer_content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  background: transparent;
}

/* Hide OJS branding */
.pkp_brand_footer {
  display: none;
}

/* -----------------------------------------
   7. CUSTOM FOOTER (DSE STYLE)
----------------------------------------- */
.dse-footer {
  background: #F8FBFF;
  border: 1px solid #D6E4F5;
  border-radius: 8px;
  padding: 28px;
}

.dse-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.dse-footer-left,
.dse-footer-right {
  flex: 1;
  min-width: 300px;
}

.dse-footer-title {
  font-size: 14px;
  font-weight: 700;
  color: #1F57A4;
  margin-bottom: 10px;
}

.dse-footer p {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.dse-footer a {
  color: #1F57A4;
  text-decoration: none;
}

.dse-footer a:hover {
  color: #FF7A1A;
  text-decoration: underline;
}

/* Logo cards */
.dse-logo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dse-logo-card {
  width: 140px;
  height: 60px;
  background: #fff;
  border: 1px solid #E3ECF7;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dse-logo-card img {
  max-width: 120px;
  max-height: 40px;
}

/* -----------------------------------------
   8. SIDEBAR CLEAN FIX
----------------------------------------- */
.pkp_structure_sidebar .block_custom {
  margin: 0;
  padding: 0;
}

#customblock-menu {
  margin-top: 0;
}

/* -----------------------------------------
   9. VISITOR (FLAG COUNTER FIX)
----------------------------------------- */
.pkp_block img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* -----------------------------------------
   10. RESPONSIVE
----------------------------------------- */
@media (max-width: 768px) {
  .dse-footer-inner {
    flex-direction: column;
  }

  .pkp_footer_content {
    padding: 0 16px;
  }
}
/* KHUSUS LOGO DSE */
.dse-footer-logo {
  max-width: 120px !important;
}