/* ==================================================
   1. HEADER FULL WIDTH CUSTOMIZATION
   ================================================== */

/* Paksa kontainer paling luar untuk memenuhi lebar layar */
.pkp_structure_head .pkp_head_wrapper {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
}

/* Pastikan pembungkus logo/nama situs mengambil 100% lebar (menghancurkan sistem kolom) */
.pkp_site_name_wrapper {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important; 
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
}

/* Reset properti link di dalam logo */
.pkp_site_name {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center;
}

/* Target utama: Gambar header */
.pkp_site_name .is_img {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.pkp_site_name .is_img img {
    display: block !important;
    width: 100% !important;      /* Paksa gambar selebar layar */
    max-width: 100% !important;
    height: auto !important;     /* Jaga proporsi agar tidak penyet */
    max-height: none !important; /* MENGHAPUS batasan 80px yang anda keluhkan */
    margin: 0 auto !important;
    padding: 0 !important;
    border: none !important;
}

/* Pastikan navigasi turun ke bawah gambar jika sebelumnya ada di samping */
.pkp_navigation_primary_wrapper {
    width: 100% !important;
    clear: both !important;
    display: block !important;
}

/* Menghapus padding header pada tampilan desktop yang seringkali tersisa */
@media (min-width: 992px) {
    .pkp_site_name .is_img img {
        max-height: none !important; /* Memastikan aturan 80px tertimpa total */
    }
}

/* ==================================================
   2. CLEAN MULTI-JOURNAL LIST (GRID VIEW)
   ================================================== */

.pkp_page_index .journals {
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.pkp_page_index .journals > ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pkp_page_index .journals > ul > li {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 1.5rem !important;
    margin: 0 !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eef2f5;
}

.pkp_page_index .journals > ul > li:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* Logo Jurnal (Thumbnail) */
.pkp_page_index .journals .thumb {
    float: none !important;
    width: 100% !important;
    margin: 0 0 1.5rem 0 !important;
    padding: 0 !important;
    text-align: center;
    background: #fcfdfe;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.pkp_page_index .journals .thumb img {
    max-width: 90%;
    max-height: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Judul Jurnal */
.pkp_page_index .journals h3 {
    margin: 0 0 1rem 0 !important;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

.pkp_page_index .journals h3 a {
    color: #1e6292;
    text-decoration: none;
}

/* Sembunyikan Deskripsi agar ringkas */
.pkp_page_index .journals .description {
    display: none !important;
}

/* Tombol Aksi */
.pkp_page_index .journals .links {
    margin-top: auto;
    padding-top: 1.2rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    border-top: 1px solid #f1f5f9;
}

.pkp_page_index .journals .links li {
    margin: 0 !important;
}

.pkp_page_index .journals .links li a {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: #1e6292;
    color: #ffffff !important;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s;
}

.pkp_page_index .journals .links li a:hover {
    background: #144d73;
}

/* Responsif Mobile */
@media (max-width: 768px) {
    .pkp_page_index .journals > ul {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
}