/*! This file is auto-generated */
@charset "UTF-8";
@import "https://fonts.googleapis.com/css2?family=Baloo+Tamma+2&display=swap";
@import 'https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css';

/* Semua judul artikel: default ungu */
.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: #c5b200!important;
  text-decoration: none;
}

/* 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;
}

/* 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 #c5b200;
  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;
}

/* Khusus untuk isi artikel full text */
.obj_article_details .main_entry,
.page_article .article_details,
.page_issue .issue_description {
    text-align: justify !important;
}
/* Logo tetap proporsional */
.collab-logos img {
  max-width: 60px;
  height: auto;
  display: block;
}

/* 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 */
}

/* nama penulis pada detail */
.name {
    color: #070707;
}

.pkp_block .title {
    display: block;
    padding: 10px;
    text-align: left;
    background-color: #a8141a;
    color: #ffffff;
    font-weight: bold;
}

/* 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;
  }
}

/* untuk daftar artikel */
a {
    color: #070707;
}

a:hover {
    color: #c5b200;
}

.cmp_button_wire,
.obj_galley_link {
    background: #a8141a;;
    border: 1px solid #fff6bf;;
    color: #fff;
}

.obj_article_summary {
    border: 1px solid #fff6bf;;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 3px 3px #c5b200;
}

/* Latar batik putih transparan di atas merah (pola ditanam di CSS, tidak perlu upload gambar) */
html,body {
  background-color: rgb(236, 224, 225); /* warna dasar: ganti di sini kalau mau kuning (#c5b200) */
  background-image: url(data:image/svg+xml,%3Csvg xmlns='url(motif-batik.jpg)' width='120' height='120' viewBox='0 0 120 120'%3E%3Cdefs%3E%3Cmask id='m'%3E%3Crect width='120' height='120' fill='white'/%3E%3Ccircle cx='30' cy='30' r='4' fill='black'/%3E%3Ccircle cx='90' cy='90' r='4' fill='black'/%3E%3C/mask%3E%3C/defs%3E%3Cg fill='white' opacity='.8' mask='url(%23m)'%3E%3Cellipse cx='30' cy='30' rx='14.5' ry='6.5' transform='rotate(0 30 30)'/%3E%3Cellipse cx='30' cy='30' rx='14.5' ry='6.5' transform='rotate(90 30 30)'/%3E%3Cellipse cx='30' cy='30' rx='10' ry='4.5' transform='rotate(45 30 30)'/%3E%3Cellipse cx='30' cy='30' rx='10' ry='4.5' transform='rotate(135 30 30)'/%3E%3Cellipse cx='90' cy='90' rx='14.5' ry='6.5' transform='rotate(0 90 90)'/%3E%3Cellipse cx='90' cy='90' rx='14.5' ry='6.5' transform='rotate(90 90 90)'/%3E%3Cellipse cx='90' cy='90' rx='10' ry='4.5' transform='rotate(45 90 90)'/%3E%3Cellipse cx='90' cy='90' rx='10' ry='4.5' transform='rotate(135 90 90)'/%3E%3C/g%3E%3Cg fill='white' opacity='.8'%3E%3Ccircle cx='30' cy='30' r='1.6'/%3E%3Ccircle cx='42.7' cy='42.7' r='1.4'/%3E%3Ccircle cx='42.7' cy='17.3' r='1.4'/%3E%3Ccircle cx='17.3' cy='42.7' r='1.4'/%3E%3Ccircle cx='17.3' cy='17.3' r='1.4'/%3E%3Ccircle cx='90' cy='90' r='1.6'/%3E%3Ccircle cx='102.7' cy='102.7' r='1.4'/%3E%3Ccircle cx='102.7' cy='77.3' r='1.4'/%3E%3Ccircle cx='77.3' cy='102.7' r='1.4'/%3E%3Ccircle cx='77.3' cy='77.3' r='1.4'/%3E%3Ccircle cx='90' cy='30' r='1.5'/%3E%3Ccircle cx='107.5' cy='30.0' r='1.3'/%3E%3Ccircle cx='102.4' cy='42.4' r='1.3'/%3E%3Ccircle cx='90.0' cy='47.5' r='1.3'/%3E%3Ccircle cx='77.6' cy='42.4' r='1.3'/%3E%3Ccircle cx='72.5' cy='30.0' r='1.3'/%3E%3Ccircle cx='77.6' cy='17.6' r='1.3'/%3E%3Ccircle cx='90.0' cy='12.5' r='1.3'/%3E%3Ccircle cx='102.4' cy='17.6' r='1.3'/%3E%3Ccircle cx='30' cy='90' r='1.5'/%3E%3Ccircle cx='47.5' cy='90.0' r='1.3'/%3E%3Ccircle cx='42.4' cy='102.4' r='1.3'/%3E%3Ccircle cx='30.0' cy='107.5' r='1.3'/%3E%3Ccircle cx='17.6' cy='102.4' r='1.3'/%3E%3Ccircle cx='12.5' cy='90.0' r='1.3'/%3E%3Ccircle cx='17.6' cy='77.6' r='1.3'/%3E%3Ccircle cx='30.0' cy='72.5' r='1.3'/%3E%3Ccircle cx='42.4' cy='77.6' r='1.3'/%3E%3C/g%3E%3Cg fill='none' stroke='white' opacity='.8'%3E%3Ccircle cx='90' cy='30' r='11' stroke-width='4'/%3E%3Ccircle cx='90' cy='30' r='4.5' stroke-width='3'/%3E%3Ccircle cx='30' cy='90' r='11' stroke-width='4'/%3E%3Ccircle cx='30' cy='90' r='4.5' stroke-width='3'/%3E%3Ccircle cx='0' cy='0' r='5.5' stroke-width='1.8'/%3E%3Ccircle cx='0' cy='60' r='5.5' stroke-width='1.8'/%3E%3Ccircle cx='0' cy='120' r='5.5' stroke-width='1.8'/%3E%3Ccircle cx='60' cy='0' r='5.5' stroke-width='1.8'/%3E%3Ccircle cx='60' cy='60' r='5.5' stroke-width='1.8'/%3E%3Ccircle cx='60' cy='120' r='5.5' stroke-width='1.8'/%3E%3Ccircle cx='120' cy='0' r='5.5' stroke-width='1.8'/%3E%3Ccircle cx='120' cy='60' r='5.5' stroke-width='1.8'/%3E%3Ccircle cx='120' cy='120' r='5.5' stroke-width='1.8'/%3E%3C/g%3E%3Cg fill='white' opacity='.8'%3E%3Ccircle cx='0' cy='0' r='2'/%3E%3Ccircle cx='0' cy='60' r='2'/%3E%3Ccircle cx='0' cy='120' r='2'/%3E%3Ccircle cx='60' cy='0' r='2'/%3E%3Ccircle cx='60' cy='60' r='2'/%3E%3Ccircle cx='60' cy='120' r='2'/%3E%3Ccircle cx='120' cy='0' r='2'/%3E%3Ccircle cx='120' cy='60' r='2'/%3E%3Ccircle cx='120' cy='120' r='2'/%3E%3Ccircle cx='60' cy='30' r='2'/%3E%3Ccircle cx='60' cy='90' r='2'/%3E%3Ccircle cx='0' cy='30' r='2'/%3E%3Ccircle cx='120' cy='30' r='2'/%3E%3Ccircle cx='0' cy='90' r='2'/%3E%3Ccircle cx='120' cy='90' r='2'/%3E%3Ccircle cx='30' cy='60' r='2'/%3E%3Ccircle cx='90' cy='60' r='2'/%3E%3Ccircle cx='30' cy='0' r='2'/%3E%3Ccircle cx='90' cy='0' r='2'/%3E%3Ccircle cx='30' cy='120' r='2'/%3E%3Ccircle cx='90' cy='120' r='2'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 150px 150px; /* besar-kecilnya motif */
}

.pkp_structure_content {
  background: #fcfcfb;
}

.pkp_site_name > a {padding-top: 0; padding-bottom: 0;}
.pkp_navigation_user_wrapper {top: 0; right: 0; padding-right:30px;}

/* ==== 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;
}

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

/* ==== SETIAP BLOK SIDEBAR ==== */
.pkp_block {
    background-color: #e9e6d0;
    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);
}
/* 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: 60%;
  height: auto;
  max-width: 60%;
  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(70% + 30px); /* 15px kiri + 15px kanan */
  max-width: unset;
  height: auto;
  display: block;
}