/* =========================================================
   CUSTOM OJS STYLE - MANFISH JOURNAL
   =========================================================
   TABLE OF CONTENTS:
   1. BODY / GLOBAL
   2. HEADER / LOGO
   3. SIDEBAR (General, Menu, Akreditasi Box)
   4. FOOTER (Branding, Indexed, Custom)
   5. TAMBAHAN / PENYESUAIAN
   ========================================================= */


/* =========================================================
   1. BODY / GLOBAL
   ========================================================= */

/* Background body seluruh website */
body {
  /* background-image: url("https://i.imgur.com/f851FXM.png"); ganti dengan link gambarmu */
  background-repeat: repeat;        
  background-attachment: fixed;     
  background-size: auto;            
}

/* Area konten tetap putih */
.page, .pkp_structure_main {
  background-color: #ffffff;
  padding: 10px;
  border-radius: 5px;
}


/* =========================================================
   2. HEADER / LOGO
   ========================================================= */

.pkp_site_name img {
  max-height: 450px; /* tinggi maksimum gambar header */
  width: 200px;
  margin: 10px 0;
  border-radius: 4px;
}


/* =========================================================
   3. SIDEBAR (General, Menu, Akreditasi Box)
   ========================================================= */

/* Sidebar Hover Effect */
.pkp_block:hover {
  box-shadow: 0 3px 6px rgba(0,0,0,0.10);
  transform: translateY(-2px);
}

/* Judul Sidebar */
.pkp_block .title {
  display: block;
  width: 100%;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 10px;
  padding: 8px 10px;
  border-bottom: 2px solid #ff9900;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  background: linear-gradient(90deg, #0056a6 0%, #007bff 100%);
  border-radius: 3px;
}

/* Link di Sidebar */
.pkp_block a {
  color: #0056a6;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pkp_block a:hover {
  color: #ff9900;
  text-decoration: none;
}

/* List di Sidebar */
.pkp_block ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.pkp_block ul li {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

/* Paragraf di Sidebar */
.pkp_block p {
  line-height: 1.6;
  color: #333;
  margin-bottom: 10px;
}

/* Sidebar Container */
.sidebar-links {
  width: 240px;
  font-family: Arial, sans-serif;
  background: #f8f8f8;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Sidebar Links */
.sidebar-links a {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: #e6e6e6;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 10px;
  margin: 0 0 5px 0;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.sidebar-links a:hover {
  background: #0056a6;
  color: #fff;
  padding-left: 14px;
}

.sidebar-links a:last-child {
  margin-bottom: 0;
}

/* Sidebar: Akreditasi Box */
.pkp_block.akreditasi-box {
  padding: 0;
  overflow: hidden;
}

.pkp_block.akreditasi-box .title {
  background: #2b41e0;
  color: #fff;
  border: none;
  padding: 10px 15px;
  margin: 0;
  border-bottom: 4px solid #f4a100;
}

.pkp_block.akreditasi-box .akreditasi-content {
  padding: 15px;
  text-align: left;
}

.pkp_block.akreditasi-box img {
  display: block;
  margin: 0 auto 12px auto;
  width: 220px;
  height: auto;
}

.pkp_block.akreditasi-box p {
  margin: 0;
  font-size: 15px;
  color: #000;
  line-height: 1.5;
}


/* =========================================================
   4. FOOTER (Branding, Indexed, Custom)
   ========================================================= */

/* Hilangkan Logo/Branding OJS & PKP */
#pkp_brand_footer,
.pkp_brand_footer,
.pkp_brand_footer_wrapper,
.pkp_brand_footer_version,
.pkp_brand,
.footer-brand,
.pkp_site_name_footer,
.pkp_brand_container {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Footer Base */
#footer,
.pkp_structure_footer_wrapper,
.pkp_structure_footer {
    background: #f8f8f8;
    border-top: 1px solid #ddd;
    padding: 20px 0;
    text-align: center;
}

/* Hapus tulisan “Platform & workflow by OJS/PKP” */
.pkp_structure_footer a[href*="pkp.sfu.ca"],
.pkp_structure_footer a[href*="openjournalsystems.com"],
.pkp_structure_footer a[href*="ojs"] {
    display: none !important;
}

.pkp_structure_footer .pkp_brand_footer {
    display: none !important;
}

/* Footer Indexed Custom */
.footer-indexed {
  background-color: #e9edf2;
  padding: 15px 20px;
  font-family: Arial, sans-serif;
  color: #000;
}

.footer-inner {
  text-align: left;
}

.footer-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-logos img {
  height: 60px;
  background: #fff;
  border: 1px solid #ccc;
  padding: 6px;
  transition: transform 0.2s ease;
}

.footer-logos img:hover {
  transform: scale(1.05);
}

.footer-address {
  font-size: 14px;
  font-style: italic;
  margin: 5px 0;
  line-height: 1.5;
}

.footer-address a {
  color: #004aad;
  text-decoration: none;
}

.footer-inner hr {
  border: 0;
  border-top: 1px solid #666;
  margin: 8px 0;
}

.footer-license {
  font-size: 13px;
  margin-top: 8px;
}

.footer-license a {
  color: #004aad;
  text-decoration: none;
}

.footer-license img {
  vertical-align: middle;
}

/* Footer Full Width Override */
.pkp_structure_footer_wrapper,
.pkp_structure_footer {
  background: #e9edf2 !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

.footer-indexed {
  background-color: #e9edf2 !important;
  padding: 10px 25px !important;
  margin: 0 !important;
  text-align: left !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.footer-inner {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}


/* =========================================================
   5. TAMBAHAN / PENYESUAIAN
   ========================================================= */

/* Area konten putih global (backup) */
.page, .pkp_structure_main {
    background-color: #ffffff;
}
