/* --- CUSTOM THEME: NAKULA --- */
/* Base Template: nakula.css */
/* Auto-Sync: ON */

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");
.header {
  background-color: #fde16d;
}
/* .journal-logo {
  max-height: 100% !important;
  max-width: 100%;
} */

@media (max-width: 746px) {
  .header {
    background-color: #fde16d;
    overflow: hidden;
  }

  .journal-logo {
    width: 100%;
  }

  .card-body .row .col-md-4 {
    display: flex;
    justify-content: center;
  }

  .card-body .row .col-md-4 img {
    max-width: 48%;
  }
}

.nav-link {
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  box-shadow: none;
}

.nav-link:hover {
  background-color: #fff;
}

.container-page {
  padding-top: 40px;
  padding-bottom: 70px;
}

.additional_content {
  margin-top: -100px;
}

.announcements {
  margin: -100px 0 140px;
  background-color: white;
  padding: 20px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.sidebar_wrapper {
  display: contents;
}

.homepage_image {
  /* min-height: 50vh; */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0px 0px;
}

.additional_indexing_container {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-template-rows: repeat(1, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.journal-logo {
  max-height: 100%;
}
@media (max-width: 746px) {
  .additional_indexing_container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(1, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
  }

  .homepage_image {
    min-height: 10vh;
    background-size: contain;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .additional_content {
    margin-top: -68px;
  }

  .announcements {
    margin: -68px 0 140px;
    background-color: white;
    padding: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }
}
.pkpbrand-wrapper {
  max-width: 25%;
  flex: 0 0 25%;
  display: none;
  justify-content: flex-end;
}
.user-page-footer {
  max-width: 100%;
  flex: 0 0 100%;
}

main {
  text-align: justify;
}

.page_index_journal .container-page {
  padding-top: 40px;
  padding-bottom: 70px;
  display: flex;
  flex-direction: column-reverse;
}

.current_issue {
  margin-top: 40px;
}

.current_issue header {
  margin-bottom: 10px;
}

.site-footer {
  background-color: #ffffff;
  padding-top: 60px;
  padding-bottom: 60px;
}

.galleys_links .galley-link {
  display: block;
  width: 100%;
  border: none;
  margin-bottom: 5px;
  background-color: #fde16d !important;
  color: white;
  padding: 8px 28px;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
}

.galleys_links .galley-link:hover {
  display: block;
  width: 100%;
  border: none;
  border: 2px solid #fde16d;
  background-color: #fff !important;
  color: #fde16d;
  padding: 8px 28px;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
}

.galleys_links .galley_info {
  margin-top: 10px;
  width: 100%;
  border: none;
  font-size: 13px;
  text-align: center;
}

.summary_meta .authors .bi {
  color: #fde16d;
}

.galleys_links .galley_info .bi {
  color: #fde16d;
}
/* =========================================================
   CUSTOM MENU NAVIGATION COLOR - NEXUS PUBLISHING
   ========================================================= */

/* 1. Mengubah warna teks menu utama (Home, Articles, About, dll) */
#navigationPrimary .nav-link {
    color: #2C3E50 !important;
}

/* 2. Menyesuaikan warna teks saat menu utama di-hover */
#navigationPrimary .nav-link:hover,
#navigationPrimary .nav-link:focus {
    color: #2C3E50 !important;
    background-color: rgba(44, 62, 80, 0.05) !important; /* Efek highlight tipis */
}

/* 3. Mengubah warna teks pada sub-menu (Dropdown Items) */
#navigationPrimary .dropdown-item {
    color: #2C3E50 !important;
}

/* 4. Interaksi Hover pada sub-menu (Background menjadi #2C3E50, teks putih) */
#navigationPrimary .dropdown-item:hover,
#navigationPrimary .dropdown-item:focus {
    background-color: #2C3E50 !important;
    color: #ffffff !important;
}
/* =========================================================
   CUSTOM USER & LANGUAGE NAVIGATION COLOR - NEXUS PUBLISHING
   ========================================================= */

/* 1. Mengubah warna teks menu User (admin) dan menu Bahasa */
#navigationUser .nav-link,
#languageNav .nav-link {
    color: #2C3E50 !important;
}

/* 2. Menyesuaikan efek hover pada menu User dan menu Bahasa */
#navigationUser .nav-link:hover,
#navigationUser .nav-link:focus,
#languageNav .nav-link:hover,
#languageNav .nav-link:focus {
    color: #2C3E50 !important;
    background-color: rgba(44, 62, 80, 0.05) !important;
}

/* 3. Mengubah warna teks pada sub-menu (Dashboard, Profile, Logout, Indonesian, dll) */
#navigationUser .dropdown-item,
#languageNav .dropdown-item {
    color: #2C3E50 !important;
}

/* 4. Interaksi Hover pada sub-menu (Background #2C3E50, teks putih) */
#navigationUser .dropdown-item:hover,
#navigationUser .dropdown-item:focus,
#languageNav .dropdown-item:hover,
#languageNav .dropdown-item:focus {
    background-color: #2C3E50 !important;
    color: #ffffff !important;
}
/* =========================================================
   FIX OVERLAPPING HOMEPAGE IMAGE - NEXUS PUBLISHING
   ========================================================= */

/* 1. Mengembalikan posisi additional content ke bawah gambar (Layar Desktop) */
.additional_content {
    margin-top: 40px !important; 
}

/* 2. Menyesuaikan posisi pada layar kecil / HP (Layar Mobile) */
@media (max-width: 746px) {
    .additional_content {
        margin-top: 20px !important; 
    }
}