/* ===============================
   OJS QUICK HIDE CSS
   Letakkan di: Website → Appearance → Advanced → Journal stylesheet (upload .css)
   atau Theme → Additional CSS
   =============================== */

/* --- 0) Utility classes (pakai di HTML sendiri) --- */
.my-hidden { display: none !important; }
.hidden      { display: none !important; }
.hidden-mobile  { display: none !important; }    /* override di desktop di bawah */
.hidden-desktop { }                               /* diisi di media query */

/* Sembunyikan di mobile saja */
@media (max-width: 767px) {
  .hidden-mobile { display: none !important; }
}

/* Sembunyikan di desktop saja */
@media (min-width: 768px) {
  .hidden-desktop { display: none !important; }
}

/* --- 1) Global elements (berlaku semua halaman) --- */
/* Breadcrumbs */
.cmp_breadcrumbs { display: none !important; }

/* Sidebar (kalau mau full-width) */
.pkp_structure_sidebar { display: none !important; }

/* Header nav (kalau perlu sembunyikan menu) */
header.pkp_structure_head .pkp_navigation_primary,
header.pkp_structure_head .pkp_navigation_user { display: none !important; }

/* Site/Journal name & logo (opsional) */
header.pkp_structure_head .pkp_site_name,
header.pkp_structure_head .pkp_site_name_wrapper { display: none !important; }

/* Footer branding (opsional) */
.pkp_brand_footer,
.pkp_structure_footer .pkp_footer_content { display: none !important; }

/* --- 2) Homepage saja --- */
body.pkp_page_index .homepage_image,
body.pkp_page_index .cmp_announcements,
body.pkp_page_index .current_issue,
body.pkp_page_index .additional_content { display: none !important; }

/* --- 3) Halaman Artikel --- */
/* Catatan: OJS kadang pakai body.pkp_page_article atau body.page_article tergantung versi/tema */
body.pkp_page_article .item.galleys,
body.page_article .item.galleys,
body.pkp_page_article .article-details .doi,
body.page_article .article-details .doi,
body.pkp_page_article .author_bios,
body.page_article .author_bios { display: none !important; }

/* --- 4) Halaman Issue / Arsip --- */
body.pkp_page_issue .cmp_issue_toc,
body.pkp_page_issue .cmp_series_list { display: none !important; }

/* --- 5) Contoh: sembunyikan elemen berdasarkan ID/Kelas kustom --- */
/* Misal kamu tau ID/kelas elemen tertentu: */
#banner-atas, .blok-iklan, .hero-banner { display: none !important; }

/* --- 6) Per-halaman (contoh pattern) --- */
/* Hanya di homepage */
body.pkp_page_index .my-hidden-home { display: none !important; }
/* Hanya di artikel */
body.pkp_page_article .my-hidden-article,
body.page_article .my-hidden-article { display: none !important; }
