/* Semua judul artikel: default hitam */
.obj_article_summary .title,
.obj_article_summary .title a,
.page_issue .obj_article_summary .title a,
.obj_article_details .page_title,
.obj_article_details h1,
.obj_article_details h1 a,
.current_issue_title,
.current_issue_title a {
  color: #000000 !important;
  text-decoration: none;
}

/* Hover: jadi gold tua */
.obj_article_summary .title a:hover,
.page_issue .obj_article_summary .title a:hover,
.obj_article_details h1 a:hover,
.current_issue_title a:hover {
  color: #008E94 !important;
  text-decoration: underline;
}



/* ==== SIDEBAR CONTAINER ==== */
.pkp_structure_sidebar {
    background-color: #ffffff;
    padding: 1.5rem;
    border-left: 1px solid #e0e0e0;
}

/* ==== SETIAP BLOK SIDEBAR ==== */
.pkp_block {
    background-color: #f9f9f9;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease-in-out;
}

.pkp_block:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}

/* ==== JUDUL BLOK ==== */
.pkp_block .title {
    font-size: 16px;
    font-weight: 700;
    color: #008E94;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid #008E94;
    padding-bottom: 0.3rem;
}

/* ==== DAFTAR LINK ==== */
.pkp_block ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.pkp_block ul li {
    margin-bottom: 0.5rem;
}
.pkp_block ul li a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease-in-out;
}
.pkp_block ul li a:hover {
    color: #008E94;
    text-decoration: underline;
}

/* ==== GAMBAR/IKON ==== */
.pkp_block img {
    max-width: 100%;
    display: block;
    margin: 0.5rem auto;
}

/* ==== MAPS, FLAG, STATISTIK ==== */
.flagcounter, .statcounter, .googlemaps {
    background: #f0f0f0;
    border: 1px solid #ccc;
    margin: 0.5rem auto;
    padding: 0.5rem;
    border-radius: 8px;
}

/* ==== BLOK TOOLS ==== */
/* ==== Blok utama transparan ==== */
/* Blok utama transparan (jika tetap ingin latar menyatu) */
.pkp_block.tools-section {
  background-color: transparent;
  color: #ffffff;
  padding: 1.2rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

/* Judul besar dengan gradasi teks (opsional tetap dipakai) */
.pkp_block.tools-section .title {
  font-weight: 700;
  font-size: 16px;
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
  border-bottom: 2px solid #ffffff;

  background: linear-gradient(90deg, #000000, #008E94);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* List item background hitam solid */
.pkp_block.tools-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pkp_block.tools-section ul li {
  background-color: #000000; /* warna latar item */
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
  border-radius: 6px;
  transition: background 0.2s ease, transform 0.2s ease;
}

/* Hover: tetap profesional, tidak mencolok */
.pkp_block.tools-section ul li:hover {
  background-color: #1a1a1a;
  transform: scale(1.02);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.15);
}

/* Tautan tetap putih */
.pkp_block.tools-section ul li a,
.pkp_block.tools-section ul li a:visited,
.pkp_block.tools-section ul li a:active {
  color: #ffffff !important;
  text-decoration: none;
  display: block;
  font-size: 14px;
  font-weight: 500;
}

/* Hover pada link: emas terang */
.pkp_block.tools-section ul li a:hover {
  color: #ffd700 !important;
  text-decoration: underline;
}
/* Target gambar pertama di dalam additional_content */
.pkp_page_index .additional_content > p:first-child,
.pkp_page_index .additional_content > p:first-child > img {
  margin: 0 !important;
  padding: 0 !important;
}

/* Pastikan gambar tidak punya margin/padding dan tampil blok */
.pkp_page_index .additional_content img {
  display: block;
  margin: 0 auto !important;
  padding: 0 !important;
  width: 100%;
  height: auto;
  max-width: 100%;
  border: none;
}

/* Override default container padding if gambar berada di dalamnya */
.pkp_page_index .additional_content {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
/* Hilangkan margin dan padding hanya untuk paragraf pertama yang memuat gambar */
.pkp_page_index .additional_content > p:first-child {
  margin: 0 !important;
  padding: 0 !important;
}

/* Hilangkan margin/padding hanya pada gambar di paragraf pertama */
.pkp_page_index .additional_content > p:first-child > img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 !important;
  padding: 0 !important;
  border: none;
}
.pkp_page_index .additional_content p:first-child {
  margin-left: -15px;
  margin-right: -15px;
}

.pkp_page_index .additional_content p:first-child img {
  width: calc(100% + 30px); /* 15px kiri + 15px kanan */
  max-width: unset;
  height: auto;
  display: block;
}
/* Revisi tampilan blok hitam */
.pkp_block.black-bg {
  background-color: #000000;
  padding: 10px 12px;
  margin-bottom: 12px;
  border-radius: 8px;
  overflow: hidden;
}

/* Ukuran dan gaya judul */
.pkp_block.black-bg .title {
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-bottom: 1px solid #008E94;
  padding-bottom: 6px;
  margin-bottom: 8px;
}

/* Tautan di dalam blok */
.pkp_block.black-bg a {
  color: #ffffff !important;
  text-decoration: none;
  font-size: 13px;
}

/* Hover untuk link */
.pkp_block.black-bg a:hover {
  color: #ffd700 !important;
  text-decoration: underline;
}
/* Container logo horizontal, jarak lebih rapat */
.collab-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px; /* lebih rapat dari sebelumnya */
  margin-top: 8px;
  background-color: transparent; /* atau bisa pakai #ffffff untuk putih */
}

/* Logo tetap proporsional */
.collab-logos img {
  max-width: 60px;
  height: auto;
  display: block;
}
/* Grid dua kolom dengan tinggi box seragam */
.cmp_article_list.articles {
  display: grid;
  grid-template-columns: 1fr 1fr; /* dua kolom seimbang */
  gap: 24px;
  margin-top: 20px;
  align-items: stretch; /* pastikan tinggi kolom seragam */
}

/* Setiap artikel sebagai box profesional */
.cmp_article_list.articles .obj_article_summary {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  border: 1px solid #e0e0e0;
  padding: 16px;
  border-radius: 8px;
  background-color: #fafafa;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

/* Hover untuk efek elegan */
.cmp_article_list.articles .obj_article_summary:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Responsif: satu kolom untuk mobile */
@media (max-width: 768px) {
  .cmp_article_list.articles {
    grid-template-columns: 1fr;
  }
}
/* Membuat semua paragraf dan konten artikel menjadi justified */
.pkp_structure_main p,
.pkp_structure_main div,
.pkp_structure_main span,
.pkp_structure_main li,
.pkp_structure_main td,
.pkp_structure_main th {
    text-align: justify !important;
}

/* Khusus untuk isi artikel full text */
.obj_article_details .main_entry,
.page_article .article_details,
.page_issue .issue_description {
    text-align: justify !important;
}
/* =====================================
   HEADER FULL WIDTH & RESPONSIF FIX
===================================== */

/* Buat header full layar */
.pkp_structure_head,
.pkp_structure_head .pkp_container,
.pkp_site_name,
.pkp_site_name_wrapper {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Warna latar header */
.pkp_site_name {
  background: #008E94;
}

/* Banner image */
.pkp_site_name .is_img img {
    display: block;
    max-height: 150px;
    max-width: 1500%;
    width: auto;
    height: auto
}

.pkp_site_name .is_img img {
    display: block;
    max-height: 150px;
    max-width: 1500%;
    width: auto;
    height: auto

/* Pusatkan isi */
.pkp_site_name_wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===============================
   MOBILE MODE
================================ */
@media (max-width: 768px) {

  .pkp_site_name .is_img img {
    max-width: 100% !important;
  }

  .pkp_site_name {
    padding: 8px 5px;
  }
}

/* ================================
   SEAJIS FOOTER GRID
================================ */

.footer-seajis {
  background: #018e94;
  color: #ffffff;
  padding: 60px 30px;
  font-family: Arial, sans-serif;
}

/* 3 kolom */
.footer-seajis .footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-seajis .footer-col {
  flex: 1 1 30%;
  min-width: 250px;
}

.footer-seajis p {
  line-height: 1.7;
  margin-bottom: 8px;
}

/* License */
.footer-seajis .footer-license {
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
}

.footer-seajis .footer-license img {
  width: 90px;
  margin-bottom: 10px;
}

/* MOBILE */
@media (max-width: 768px) {

  .footer-seajis .footer-grid {
    flex-direction: column;
  }

  .footer-seajis .footer-col {
    width: 100%;
  }

}


/* =====================================
   HILANGKAN BRANDING PKP / OJS
===================================== */
.pkp_branding,
.pkp_brand_footer,
.pkp_footer_content {
  display: none !important;
}