/* ===================== CSS LAMA (tidak diubah) ===================== */

/* Gambar logo di header */
.pkp_site_name .is_img img {
    display: inline-block;
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
}

@media screen and (max-width: 768px) {
    .has_site_logo .pkp_site_name {
        display: none !important;
    }
}

/* Struktur halaman */
/* Kontainer utama agar proporsional dan responsif */
.pkp_structure_page {
    margin-top: -20px;
    padding-left: 20px;
    padding-right: 40px; /* ruang kosong kanan */
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* Padding navigasi dan site name */
.pkp_site_name_wrapper,
.navigation_primary_row {
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
}

.pkp_site_name {
    padding-top: 30px;
    padding-bottom: 0px;
}
.pkp_site_name .pkp_site_name_text {
    display: none !important;
}

.pkp_navigation_primary_row {
    padding-top: 0px;
    padding-bottom: 0px;
}

/* Format abstrak artikel */
.obj_article_details .abstract {
    text-align: justify;
    font-family: Tahoma, Geneva, sans-serif;
}

/* Footer layout */
.pkp_footer_content {
    float: left;
    width: 70%;
    padding-top: 10px;
    padding-bottom: 10px;
}

.pkp_brand_footer {
    float: right;
    width: 30%;
    padding-top: 100px;
    padding-bottom: 10px;
}

/* Layout dua kolom untuk homepage image dan about journal */
.page_index_journal {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
    padding-right: 60px; /* Tambahkan ruang kosong di kanan */
    padding-left: 20px;  /* Tambahkan sedikit ruang di kiri agar seimbang */
}

/* Kolom gambar */
.page_index_journal .homepage_image {
    flex: 0 0 280px;
    margin-right: 20px;
}

.page_index_journal .homepage_image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Kolom teks */
.page_index_journal .homepage_about {
    flex: 1;
    max-width: calc(100% - 320px); /* Sisakan ruang untuk gambar dan margin */
}

/* Format teks deskripsi jurnal */
.homepage_about .scriptor-paragraph p {
    margin-bottom: 1em;
    line-height: 1.6;
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 14px;
    text-align: justify;
}

/* Bersihkan float jika masih ada */
.page_index_journal::after {
    content: "";
    display: table;
    clear: both;
}

/* Responsif untuk layar kecil */
@media screen and (max-width: 768px) {
    .page_index_journal {
        flex-direction: column;
        padding-right: 0;
        padding-left: 0;
    }
    .page_index_journal .homepage_image,
    .page_index_journal .homepage_about {
        width: 100%;
        max-width: 100%;
    }
}
/* ===================== BARU: halaman Editorial Team ===================== */
/* Warna dan font mengikuti tema HAJAS: Montserrat (judul) dan Noto Serif (isi) */
.hajas-eb {
    --eb-accent: #3f6e82;        /* teal, sedikit lebih gelap dari warna tautan #4B7D92 */
    --eb-accent-light: #a7ee60;  /* hijau muda header HAJAS */
    --eb-ink: #111827;
    --eb-muted: #6b7280;
    --eb-line: rgba(17, 24, 39, .10);
    --eb-head: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    --eb-body: "Noto Serif", Georgia, "Times New Roman", serif;
    color: var(--eb-ink);
    font-family: var(--eb-body);
    font-size: 14px;
    line-height: 1.45;
}
.hajas-eb * { box-sizing: border-box; }

.hajas-eb .eb-header {
    position: relative;
    overflow: hidden;
    margin: 0 0 16px;
    padding: 14px 16px 14px 24px;
    border: 1px solid rgba(75, 125, 146, .25);
    border-radius: 16px;
    background: linear-gradient(90deg, rgba(167, 238, 96, .35) 0%, rgba(167, 238, 96, .12) 55%, transparent 100%);
}
.hajas-eb .eb-header::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 7px;
    background: linear-gradient(180deg, var(--eb-accent), var(--eb-accent-light));
}
.hajas-eb .eb-subtitle {
    margin: 0;
    color: #374151;
    font-family: var(--eb-body);
    font-size: 15px;
    font-weight: 700;
    font-style: italic;
}

.hajas-eb .eb-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 14px;
}
.hajas-eb .eb-role {
    grid-column: span 6;
    margin-top: 13px;
    padding-top: 11px;
    border-top: 1px solid var(--eb-line);
}
.hajas-eb .eb-role.full { grid-column: 1 / -1; }

.hajas-eb .eb-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
    color: var(--eb-accent);
    font-family: var(--eb-head);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .2px;
    text-transform: uppercase;
}
.hajas-eb .eb-badge::before {
    content: "";
    width: 9px; height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: var(--eb-accent);
    box-shadow: 0 0 0 3px rgba(167, 238, 96, .55);
}

.hajas-eb .eb-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.hajas-eb .eb-card {
    position: relative;
    overflow: hidden;
    min-height: 118px;
    padding: 14px 15px 13px 27px;
    border: 1px solid var(--eb-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(17, 24, 39, .05);
    transition: transform .15s, box-shadow .15s, border-color .15s;
}
.hajas-eb .eb-card::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 7px;
    background: linear-gradient(180deg, var(--eb-accent), var(--eb-accent-light));
}
.hajas-eb .eb-card:hover {
    transform: translateY(-2px);
    border-color: rgba(75, 125, 146, .35);
    box-shadow: 0 11px 25px rgba(17, 24, 39, .09);
}

.hajas-eb .eb-name {
    margin: 0 0 4px;
    color: var(--eb-ink);
    font-family: var(--eb-head);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}
.hajas-eb .eb-card.lead .eb-name { font-size: 16px; }
.hajas-eb .eb-affil {
    margin: 0 0 10px;
    color: var(--eb-muted);
    font-family: var(--eb-body);
    font-size: 13px;
    line-height: 1.45;
}
.hajas-eb .eb-links { display: flex; flex-wrap: wrap; gap: 7px; }
.hajas-eb a.eb-scopus {
    display: inline-flex;
    align-items: center;
    padding: 3px 11px;
    border-radius: 999px;
    background: var(--eb-accent);
    color: #fff !important;
    font-family: var(--eb-head);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 2px 5px rgba(17, 24, 39, .12);
}
.hajas-eb a.eb-scopus:hover { background: #315869; }
.hajas-eb .eb-note { margin: 18px 0 0; color: var(--eb-muted); font-size: 13px; }

@media (max-width: 860px) {
    .hajas-eb .eb-role { grid-column: 1 / -1; }
    .hajas-eb .eb-cards { grid-template-columns: 1fr; }
}

/* ===== Tabel umum (APC dan halaman lain) ===== */
table.hajas-table {
  width: 100%;
  max-width: 640px;
  border-collapse: collapse;
  margin: 12px 0 18px;
  font-size: 14px;
}
table.hajas-table th,
table.hajas-table td {
  padding: 10px 14px;
  border: 1px solid #d5dde1;
  text-align: left;
  vertical-align: top;
}
table.hajas-table thead th {
  background: #a7ee60;
  color: #1f3a46;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
}
table.hajas-table tbody tr:nth-child(even) td {
  background: #f4f8f6;
}
table.hajas-table td:nth-child(2),
table.hajas-table td:nth-child(3),
table.hajas-table th:nth-child(2),
table.hajas-table th:nth-child(3) {
  text-align: right;
  white-space: nowrap;
}

.pkp_structure_sidebar .pkp_block {
  padding-top: 12px;
  padding-bottom: 12px;
}