/* =========================================================
   Custom CSS - LAIQA: Journal of Islamic Studies
   (Tema: OJS Default 3.4)
   Upload di: Settings > Website > Appearance > Advanced
              > Journal style sheet
   ========================================================= */

/* Font & ikon (harus di paling atas) */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css");

/* =========================================================
   1. HURUF & WARNA DASAR
   ========================================================= */
body {
  font-family: "Montserrat", Arial, sans-serif;
}

/* Paksa semua teks memakai Montserrat,
   KECUALI ikon dan isi halaman Editorial Team (yang punya huruf sendiri) */
html body *:not(.fa):not([class^="fa-"]):not([class*=" fa-"]):not([class*="icon"]):not(.editorial-team):not(.editorial-team *) {
  font-family: "Montserrat", Arial, sans-serif !important;
}

/* Kembalikan huruf ikon (mis. ikon kaca pembesar di "Search") */
html body .fa,
html body [class^="fa-"],
html body [class*=" fa-"] {
  font-family: "FontAwesome" !important;
}

/* =========================================================
   LATAR HALAMAN (biru muda polos, seperti tampilan awal Laiqa)
   ========================================================= */
html,
body {
  background: #eef3fb !important;
  color: #222;
}

.pkp_structure_page {
  max-width: 1160px;
  margin: 0 auto !important;
  background: #eef3fb;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.06);
}

.pkp_structure_content,
.pkp_structure_main,
.pkp_structure_sidebar {
  background: #eef3fb;
}

/* =========================================================
   HEADER: banner logo selebar halaman, latar putih
   ========================================================= */
.pkp_structure_head {
  background: #fff !important;
  border-bottom: none;
}
.pkp_head_wrapper {
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
}
.pkp_site_name_wrapper {
  padding: 0 !important;
  width: 100% !important;
  height: auto !important;
}
.pkp_site_name {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
}
.pkp_site_name .is_img {
  display: block;
  margin: 0 !important;
}
.pkp_site_name .is_img img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  max-height: none !important;
  height: auto !important;
}

/* Tombol Register / Login (dan nama user) di pojok kanan atas */
.pkp_navigation_user_wrapper {
  position: absolute !important;
  top: 20px;
  right: 20px;
  z-index: 10;
  padding: 0 !important;
}
.pkp_navigation_user > li > a {
  display: inline-block;
  background: #fff !important;
  color: #111 !important;
  font-weight: 700 !important;
  border-radius: 8px;
  padding: 8px 18px !important;
  margin-left: 18px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.pkp_navigation_user > li > a:hover {
  background: #f2f2f2 !important;
}

/* Menu utama: putih, tulisan hitam tebal */
.pkp_navigation_primary_row {
  background: #fff !important;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.pkp_navigation_primary > li > a {
  color: #111 !important;
  font-weight: 700 !important;
  text-transform: uppercase;
}
.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus {
  color: #4a857a !important;
  border-color: #4a857a !important;
}
.pkp_navigation_search_wrapper a {
  color: #17294a !important;
  font-weight: 700 !important;
  text-transform: uppercase;
}

@media (max-width: 1280px) {
  .pkp_structure_page { max-width: 100%; }
}

/* =========================================================
   HALAMAN DEPAN: kotak info jurnal (Additional Content) di atas,
   lalu Current Issue di bawahnya
   ========================================================= */
.pkp_page_index .page_index_journal {
  display: flex;
  flex-direction: column;
}
.pkp_page_index .page_index_journal .additional_content {
  order: -1;
  border-top: none !important;
  padding-top: 0 !important;
}

.pkp_structure_main p,
.obj_article_details .abstract p {
  line-height: 1.75;
  text-align: justify;
}

/* =========================================================
   2. LOGO FOOTER (supaya tidak membesar)
   ========================================================= */
.pkp_structure_footer img,
.pkp_footer_content img {
  max-width: 120px !important;
  height: auto !important;
}

.pkp_structure_footer_wrapper {
  background: #f1f1f1;
}

/* =========================================================
   3. HALAMAN ARTIKEL - JUDUL
   ========================================================= */
.obj_article_details .page_title {
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1.3;
  color: #1a1a1a;
}

/* =========================================================
   4. PENULIS: ikon orang & kampus, tanpa label "Author"
   ========================================================= */
.obj_article_details .authors .userGroup,
.authors .userGroup {
  display: none !important;
}

.obj_article_details .authors li,
.authors li {
  list-style: none;
  margin-bottom: 12px;
}

.obj_article_details .authors .name,
.authors .name {
  font-weight: 700;
  color: #111;
}

.obj_article_details .authors .name::before,
.authors .name::before {
  font-family: "FontAwesome" !important;
  content: "\f007";
  display: inline-block;
  width: 1.4em;
  font-weight: normal;
  color: #000;
}

.obj_article_details .authors .affiliation,
.authors .affiliation {
  font-size: 0.9rem;
  color: #666;
}

.obj_article_details .authors .affiliation::before,
.authors .affiliation::before {
  font-family: "FontAwesome" !important;
  content: "\f19c";
  display: inline-block;
  width: 1.4em;
  color: #666;
}

/* =========================================================
   5. DOI, KEYWORDS, ABSTRACT
   ========================================================= */
.obj_article_details .main_entry .item .label,
.obj_article_details .main_entry .keywords .label {
  font-weight: 700;
  color: #666;
}

.obj_article_details .doi .label {
  font-weight: 700;
}

/* =========================================================
   6. KOTAK SAMPING (Published, Issue, Section, License)
   ========================================================= */
.obj_article_details .entry_details {
  border: none !important;
}

.obj_article_details .entry_details .item {
  background: #e4e8f0;
  border: 1px solid #dde2ea !important;
  border-radius: 6px;
  margin-bottom: 30px;
  padding: 0 22px 20px 22px;
  overflow: hidden;
}

.obj_article_details .entry_details .item .label {
  display: block;
  background: #dcdcdc;
  margin: 0 -22px 18px -22px;
  padding: 14px 22px;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #666;
}

.obj_article_details .entry_details .item .sub_item .label {
  background: none;
  margin: 15px 0 10px 0;
  padding: 0 0 8px 0;
  border-bottom: 1px solid #333;
}

/* Tombol PDF */
.obj_article_details .entry_details .item.galleys {
  background: none;
  border: none !important;
  padding: 0;
}

.obj_galley_link {
  border-radius: 4px;
  font-weight: 600;
}

/* =========================================================
   7. REFERENSI (daftar pustaka)
   ========================================================= */
.obj_article_details .item.references {
  margin-top: 30px;
}

.obj_article_details .item.references .label {
  font-weight: 700;
  color: #666;
  margin-bottom: 12px;
}

.obj_article_details .item.references .value p,
.obj_article_details .references .value p {
  font-size: 0.92rem !important;
  line-height: 1.6 !important;
  text-align: justify !important;
  margin: 0 0 12px 0 !important;
  padding-left: 0 !important;           /* tanpa menjorok */
  text-indent: 0 !important;
  word-break: normal !important;
  overflow-wrap: break-word !important; /* URL panjang pindah baris, tidak terpotong di tengah kata */
}

.obj_article_details .references .value {
  padding-left: 0 !important;
  margin-left: 0 !important;
  overflow: visible !important;
}

.obj_article_details .references .value a {
  word-break: normal !important;
  overflow-wrap: anywhere !important;
  color: #1a5fa8;
}

/* =========================================================
   8. TEKS LISENSI
   ========================================================= */
.obj_article_details .copyright,
.obj_article_details .copyright p,
.item.copyright p {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* =========================================================
   9. HALAMAN EDITORIAL TEAM
   (kartu anggota, foto, tombol Scopus / WoS / Scholar / ORCID / SINTA)
   ========================================================= */
.editorial-team {
  line-height: 1.6;
  color: #333;
  max-width: 1000px;
}
.editorial-section {
  margin-bottom: 0;
}
.editorial-section-title {
  border-bottom: 1px solid #2c3e50;
  padding-bottom: 4px;
  margin-top: 14px !important;
  margin-bottom: 8px !important;
  color: #2c3e50;
  font-size: 1.2rem;
}
.editorial-member-card {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  background: #fdfdfd;
  margin-bottom: 10px;
}
.editorial-featured {
  border-left: 3px solid #4a857a;
  margin-bottom: 10px;
}
.editorial-photo {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  flex-shrink: 0;
  margin: 0 8px;
}
.editorial-member-info {
  flex: 1;
}
.editorial-member-name {
  margin: 0 !important;
  line-height: 1.3 !important;
}
.editorial-member-name strong {
  color: #1a1a1a;
  font-size: 1.05rem;
}
.editorial-member-affiliation {
  margin: 2px 0 4px 0 !important;
  font-size: 14px !important;
  color: #555;
}
.editorial-team {
  font-family: "Times New Roman", Times, serif;
}
.editorial-section-title {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
}
.editorial-link-btn {
  display: inline-block;
  padding: 5px 10px;
  margin: 4px 6px 4px 0;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  border: 1px solid #002478;
  transition: all 0.2s ease;
}
.editorial-scopus  { color: #ff6600 !important; border-color: #ff6600; }
.editorial-wos     { color: #2c3e50 !important; border-color: #2c3e50; }
.editorial-scholar { color: #4285f4 !important; border-color: #4285f4; }
.editorial-orcid   { color: #a6ce39 !important; border-color: #a6ce39; }
.editorial-sinta   { color: #212529 !important; border-color: #212529; }
.editorial-link-btn:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
@media (max-width: 425px) {
  .editorial-member-card {
    align-items: center;
  }
}

/* =========================================================
   10. ELEMEN KUSTOM LAIN (logo indeksasi, tabel panduan, dll.)
   ========================================================= */
.indexing-logo a img {
  width: auto;
  height: 40px;
  max-width: 150px;
  object-fit: contain;
}
.indexing-logo a img:hover {
  transform: scale(1.1);
}
table.table2 {
  caption-side: bottom;
  border-collapse: collapse;
}
.table2 td {
  padding: 10px;
}
div#authorGuidelines,
div#privacyStatement {
  text-align: justify;
}
.animated-link {
  text-decoration: none !important;
}

/* =========================================================
   11. WARNA LAIQA (toska & kuning emas) + FOOTER
   ========================================================= */
:root {
  --laiqa-primary: #4a857a;   /* toska: warna utama Laiqa */
  --laiqa-dark: #3c6e65;      /* toska tua */
  --laiqa-gold: #f0b429;      /* kuning emas: garis aksen */
}

/* Link umum & breadcrumb */
.pkp_structure_main a,
.cmp_breadcrumbs a {
  color: var(--laiqa-primary);
}
.pkp_structure_main a:hover {
  color: var(--laiqa-dark);
}

/* Tombol PDF */
.obj_galley_link {
  background: var(--laiqa-primary) !important;
  border-color: var(--laiqa-primary) !important;
  color: #fff !important;
}
.obj_galley_link:hover {
  background: #fff !important;
  color: var(--laiqa-primary) !important;
}

/* Editorial Team: garis judul bagian toska, anggota utama bergaris emas */
.editorial-section-title {
  border-bottom: 2px solid var(--laiqa-primary) !important;
  color: var(--laiqa-dark) !important;
}
.editorial-featured {
  border-left: 3px solid var(--laiqa-gold) !important;
  padding-left: 6px;
}

/* Footer: rapi, logo kecil, link toska */
.pkp_structure_footer_wrapper {
  background: #f1f1f1;
  border-top: 3px solid var(--laiqa-primary);
}
.pkp_footer_content {
  padding: 20px 30px !important;
  line-height: 1.6;
}
.pkp_footer_content img {
  max-width: 110px !important;
  height: auto !important;
  margin: 8px 0 12px 0;
}
.pkp_footer_content a {
  color: var(--laiqa-primary);
}
.pkp_footer_content a:hover {
  color: var(--laiqa-dark);
}
