/* ==========================================================
   1. GLOBAL FONT (HyperOS Style - Plus Jakarta Sans)
   ========================================================== */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

body,
p,
div,
span,
a,
li,
input,
button,
h1,
h2,
h3,
h4,
h5 {
  font-family: "Plus Jakarta Sans", sans-serif !important;
}

/* ==========================================================
   HEADER PREMIUM (DESKTOP DEFAULT)
   ========================================================== */

/* 1. CONTAINER HEADER (Latar Putih Bersih) */
.pkp_structure_head {
  background-color: #ffffff !important;
  border-bottom: 2px solid #d4a017; /* Emas */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  z-index: 1000; /* Pastikan selalu di atas */
  position: relative;
}

/* 2. LOGO (DESKTOP) */
.pkp_site_name_wrapper {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

.pkp_site_name .is_img img {
  max-height: 100px;
  width: auto;
  transition: 0.3s ease;
}

/* 3. NAVIGASI (DESKTOP) */
.pkp_navigation_primary a {
  font-family: "Plus Jakarta Sans", sans-serif, Arial;
  font-weight: 800 !important;
  color: #bfa500 !important; /* Emas Gelap */
  text-transform: uppercase;
  font-size: 14px !important;
  letter-spacing: 1px;
  padding: 10px 15px;
  transition: 0.3s;
}

.pkp_navigation_primary a:hover {
  color: #000 !important;
  background: #f4f4f4;
  border-radius: 4px;
}

/* ==========================================================
   MOBILE RESPONSIVE FIX – OJS (STABIL & AMAN)
   ========================================================== */
@media (max-width: 991px) {
  /* ================= HEADER ================= */

  /* Header container */
  .pkp_structure_head {
    background: #0b0c10 !important;
    border-bottom: 2px solid #d4a017 !important;
    position: sticky;
    top: 0;
    z-index: 999;
  }

  /* Logo */
  .pkp_site_name_wrapper {
    display: block !important;
    text-align: left;
  }

  .pkp_site_name {
    font-size: 16px !important;
    color: #fff !important;
  }

  /* Sembunyikan search desktop */
  .pkp_head_wrapper .pkp_search {
    display: none !important;
  }

  /* Hamburger button */
  .pkp_site_nav_toggle {
    display: block !important;
    position: absolute;
    right: 15px;
    top: 12px;
    background: transparent !important;
    border: 1px solid #d4a017 !important;
    border-radius: 4px;
    width: 42px;
    height: 38px;
    z-index: 1001;
  }

  .pkp_site_nav_toggle:before {
    content: "\f0c9";
    font-family: FontAwesome;
    font-size: 20px;
    color: #d4a017;
  }

  /* Menu mobile */
  .pkp_navigation_primary {
    background: #1f2833 !important;
  }

  .pkp_navigation_primary ul li a {
    color: #ffffff !important;
    padding: 12px 15px;
    border-bottom: 1px solid #2f2f2f;
  }

  /* ================= LAYOUT ================= */

  /* Matikan layout desktop */
  .pkp_structure_content,
  .pkp_structure_content > .row {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
  }

  /* Konten & sidebar full width */
  .pkp_structure_main,
  .pkp_structure_sidebar {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    padding: 15px !important;
    box-sizing: border-box;
  }

  /* Jarak antar section */
  .pkp_structure_main {
    margin-bottom: 30px !important;
  }

  .pkp_structure_sidebar {
    border-top: 1px dashed #ccc;
    margin-top: 20px;
    padding-top: 20px;
  }

  /* Sidebar wrapper */
  .mq-sidebar-wrapper {
    width: 100% !important;
    margin: 0 !important;
  }
}

/* ==========================================================
   FIX: ABOUT THE JOURNAL TIDAK TUMPANG TINDIH (MOBILE)
   ========================================================== */
@media (max-width: 991px) {
  /* Pastikan header punya tinggi tetap */
  .pkp_structure_head {
    position: relative !important;
    z-index: 10;
  }

  /* PAKSA seluruh konten halaman turun */
  .pkp_structure_content {
    margin-top: 140px !important; /* KUNCI UTAMA */
    position: relative !important;
    z-index: 1;
  }

  /* Judul halaman */
  .page_title,
  .pkp_page_title {
    position: static !important; /* PUTUS DARI HEADER */
    margin: 0 0 25px 0 !important;
    padding: 10px 15px !important;
    color: #ffffff !important;
    background: transparent !important;
    font-weight: 600;
    text-align: left;
  }
}

/* ==========================================================
   FIX WARNA TEKS JUDUL HALAMAN (MOBILE)
   ========================================================== */
@media (max-width: 991px) {
  /* Judul halaman & semua teks di dalamnya */
  .page_title,
  .pkp_page_title,
  .page_title *,
  .pkp_page_title * {
    color: #ffffff !important; /* PUTIH TOTAL */
  }
}

/* ==========================================================
   SIDEBAR 11 MENU (GOLD PREMIUM)
   ========================================================== */

/* 1. Kotak Utama Sidebar */
.mq-sidebar-wrapper {
  background: #0b0c10; /* Hitam */
  border: 1px solid #1f2833;
  border-top: 4px solid #d4a017; /* Emas */
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-family: "Plus Jakarta Sans", sans-serif;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 2. Judul Sidebar */
h3.mq-sidebar-title {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 15px;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* 3. Tombol Submit (Gold) */
a.mq-btn-submit {
  display: block;
  background: #d4a017;
  color: #000 !important;
  text-align: center;
  padding: 12px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 13px;
  letter-spacing: 0.5px;
  transition: 0.3s;
}

a.mq-btn-submit:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(255, 255, 255, 0.1);
}

/* 4. List Menu Sidebar */
.mq-menu-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

a.mq-side-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #15171e;
  border-left: 3px solid #333;
  padding: 12px 15px;
  color: #aaa !important;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 0 4px 4px 0;
}

a.mq-side-link .arrow {
  opacity: 0;
  transform: translateX(-10px);
  transition: 0.3s;
  color: #d4a017;
  font-weight: bold;
}

a.mq-side-link:hover {
  background: #1f2833;
  border-left-color: #d4a017;
  color: #fff !important;
  padding-left: 20px;
}

a.mq-side-link:hover .arrow {
  opacity: 1;
  transform: translateX(0);
}

/* 5. Tombol Template */
a.mq-btn-template {
  display: block;
  margin-top: 15px;
  border: 1px dashed #444;
  text-align: center;
  padding: 8px;
  color: #666 !important;
  font-size: 11px;
  text-decoration: none;
  border-radius: 4px;
  transition: 0.3s;
}

a.mq-btn-template:hover {
  border-color: #d4a017;
  color: #d4a017 !important;
}

/* ==========================================================
   INDEXING LOGO CARDS
   ========================================================== */

.indexing-section-full {
  width: 100%;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e5e5e5;
  background-color: #ffffff;
}

.center-heading {
  text-align: center;
  color: #111111;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 25px;
  font-weight: 800;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 15px;
  max-width: 1000px;
  margin: 0 auto;
}

.logo-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.logo-card img {
  max-width: 100%;
  max-height: 50px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: 0.3s ease;
}

.logo-card:hover {
  transform: translateY(-5px);
  background: #0b0c10;
  border-color: #d4a017;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(212, 160, 23, 0.3);
}

.logo-card:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================
   CUSTOM FOOTER MALAQBI (BLACK & GOLD)
   ========================================================== */

/* Reset Footer Bawaan */
body .pkp_structure_footer_wrapper,
body .pkp_structure_footer {
  padding: 0 !important;
  margin: 0 !important;
  background: #0b0c10 !important;
  border: none !important;
  width: 100% !important;
  max-width: 100% !important;
  color: #c5c6c7 !important;
}

.malaqbi-gold-footer {
  width: 100%;
  font-family: "Plus Jakarta Sans", sans-serif, Arial;
  background-color: #0b0c10;
}

.gold-cta-bar {
  background: #1f2833;
  border-top: 4px solid #d4a017;
  border-bottom: 1px solid #d4a017;
  padding: 30px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  text-align: center;
}

.gold-cta-bar h3 {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}
.gold-cta-bar p {
  margin: 0;
  color: #aaa;
  font-size: 14px;
}

.cta-btn {
  background-color: #d4a017;
  color: #000 !important;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 13px;
  transition: 0.3s;
}
.cta-btn:hover {
  background-color: #fff;
  transform: scale(1.05);
}

.gold-content-wrapper {
  display: flex;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0 auto;
  padding: 50px 24px;
  gap: 40px;
  justify-content: space-between;
}

.gold-col {
  flex: 1;
  min-width: 200px;
}
.brand-col {
  flex: 2;
  min-width: 300px;
}

.gold-brand {
  font-size: 38px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 5px 0;
  line-height: 1;
}
.gold-subbrand {
  color: #d4a017;
  font-weight: 700;
  letter-spacing: 4px;
  font-size: 12px;
  margin-bottom: 20px;
}
.gold-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #bbb;
}

.gold-heading {
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  border-bottom: 2px solid #d4a017;
  padding-bottom: 8px;
  margin-bottom: 20px;
  display: inline-block;
}

.gold-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.gold-list li {
  margin-bottom: 10px;
}
.gold-list a {
  color: #aaa;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}
.gold-list a:hover {
  color: #d4a017;
  padding-left: 5px;
}

.gold-badges a {
  display: inline-block;
  border: 1px solid #444;
  padding: 6px 12px;
  margin: 0 5px 5px 0;
  font-size: 12px;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
}
.gold-badges a:hover {
  background: #d4a017;
  color: #000;
  border-color: #d4a017;
}

.gold-issn strong {
  color: #d4a017;
}
.gold-contact a {
  color: #d4a017;
  font-weight: bold;
}

.gold-copyright {
  background: #000;
  text-align: center;
  padding: 20px;
  font-size: 13px;
  color: #666;
  border-top: 1px solid #222;
}

/* Responsif Footer HP */
@media (max-width: 768px) {
  .gold-content-wrapper {
    flex-direction: column;
  }
  .gold-cta-bar {
    flex-direction: column;
  }
  .brand-col {
    min-width: 100%;
  }
}
