/* =========================================================
   PORTAL OJS UNIVERSITAS SERAMBI MEKKAH
   Tema Elegan Biru–Emas
   ========================================================= */

:root {
    --usm-navy: #031a35;
    --usm-blue: #075b96;
    --usm-blue-light: #0c7fc1;
    --usm-gold: #e5b83d;
    --usm-gold-light: #ffd76a;
    --usm-text: #17324d;
    --usm-muted: #64748b;
    --usm-line: #dce7f0;
    --usm-soft: #f3f7fb;
    --usm-white: #ffffff;
    --usm-shadow: 0 14px 40px rgba(4, 45, 83, 0.10);
}

/* =========================================================
   DASAR HALAMAN
   ========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--usm-text);
    background:
        radial-gradient(circle at 5% 10%, rgba(12, 127, 193, 0.08), transparent 28%),
        radial-gradient(circle at 95% 80%, rgba(229, 184, 61, 0.08), transparent 28%),
        #f5f8fb;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

a {
    color: var(--usm-blue);
    transition: color 0.25s ease, background 0.25s ease,
                transform 0.25s ease, box-shadow 0.25s ease;
}

a:hover {
    color: var(--usm-navy);
}

/* Hilangkan garis pembatas bawaan OJS */

.pkp_structure_page {
    max-width: none;
    margin: 0;
    background: transparent;
    box-shadow: none;
}

.pkp_structure_main::before,
.pkp_structure_main::after {
    display: none;
}

/* =========================================================
   HEADER
   ========================================================= */

.pkp_structure_head {
    position: relative;
    z-index: 10;
    overflow: visible;
    border: 0;
    border-bottom: 4px solid var(--usm-gold);
    background:
        radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.12), transparent 25%),
        linear-gradient(135deg, #02162d 0%, #064f83 55%, #0b75ad 100%);
    box-shadow: 0 10px 30px rgba(2, 26, 53, 0.20);
}

.pkp_structure_head::after {
    position: absolute;
    right: -80px;
    bottom: -140px;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(255, 215, 106, 0.16);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.pkp_head_wrapper {
    max-width: 1200px;
    min-height: 0;
    margin: 0 auto;
    padding: 0 28px;
}

.pkp_site_name_wrapper {
    min-height: 0;
    height: auto;
    padding: 0;
}

.pkp_site_name {
    height: auto;
    margin: 0;
    padding: 16px 0;
    text-align: left;
}

.pkp_site_name > a {
    display: inline-flex;
    align-items: center;
    min-height: 92px;
    padding: 0;
}

.pkp_site_name .is_img {
    display: inline-flex;
    align-items: center;
}

.pkp_site_name .is_img img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 100px;
    filter: drop-shadow(0 7px 10px rgba(0, 0, 0, 0.25));
    transition: transform 0.3s ease;
}

.pkp_site_name .is_img img:hover {
    transform: translateY(-2px) scale(1.02);
}

/* Nama situs jika tidak menggunakan gambar */

.pkp_site_name .is_text {
    color: #ffffff;
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* Hilangkan ruang kosong navigasi */

.pkp_site_nav_menu,
.pkp_navigation_primary_wrapper {
    min-height: 0;
    margin: 0;
    padding: 0;
}

/* Jika navigasi utama tersedia */

.pkp_navigation_primary_wrapper:has(#navigationPrimary > li) {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(2, 22, 45, 0.28);
}

.pkp_navigation_primary {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}

.pkp_navigation_primary > li > a {
    padding: 14px 16px;
    border: 0;
    color: #ffffff;
    font-weight: 700;
}

.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus {
    border-color: var(--usm-gold);
    color: var(--usm-gold-light);
}

/* Menu pengguna di kanan atas */

.pkp_navigation_user_wrapper {
    top: 20px;
    right: 28px;
}

.pkp_navigation_user > li > a {
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.pkp_navigation_user > li > a:hover {
    border-color: var(--usm-gold);
    color: var(--usm-navy);
    background: var(--usm-gold-light);
}

/* =========================================================
   STRUKTUR KONTEN
   ========================================================= */

.pkp_structure_content {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 44px 28px 60px;
    border: 0;
    background: transparent;
}

.pkp_structure_main {
    float: none;
    width: calc(100% - 362px);
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.page_index_site {
    padding: 0;
}

/* Informasi portal */

.page_index_site .about_site {
    position: relative;
    overflow: hidden;
    margin: 0 0 28px;
    padding: 28px 30px;
    border: 1px solid rgba(7, 91, 150, 0.14);
    border-radius: 18px;
    background: linear-gradient(135deg, #ffffff, #f4f9fd);
    box-shadow: var(--usm-shadow);
}

.page_index_site .about_site::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(var(--usm-gold), var(--usm-blue));
    content: "";
}

.page_index_site .about_site p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   JUDUL DAFTAR JURNAL
   ========================================================= */

.page_index_site .journals > h2 {
    position: relative;
    margin: 0 0 25px;
    padding: 0 0 14px;
    border: 0;
    color: var(--usm-navy);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.page_index_site .journals > h2::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 78px;
    height: 4px;
    border-radius: 20px;
    background: linear-gradient(90deg, var(--usm-gold), var(--usm-blue));
    content: "";
}

/* =========================================================
   KARTU JURNAL
   ========================================================= */

.page_index_site .journals > ul {
    display: grid;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.page_index_site .journals > ul > li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 25px;
    overflow: hidden;
    min-height: 150px;
    margin: 0;
    padding: 25px;
    border: 1px solid var(--usm-line);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(247, 251, 255, 1));
    box-shadow: 0 8px 25px rgba(4, 45, 83, 0.07);
    transition: transform 0.3s ease, border-color 0.3s ease,
                box-shadow 0.3s ease;
}

.page_index_site .journals > ul > li::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--usm-gold), var(--usm-blue-light));
    content: "";
    opacity: 0;
    transition: opacity 0.3s ease;
}

.page_index_site .journals > ul > li:hover {
    z-index: 2;
    border-color: rgba(7, 91, 150, 0.30);
    box-shadow: 0 18px 40px rgba(4, 45, 83, 0.14);
    transform: translateY(-5px);
}

.page_index_site .journals > ul > li:hover::before {
    opacity: 1;
}

/* Thumbnail jurnal */

.page_index_site .journals .thumb {
    flex: 0 0 140px;
    margin: 0;
}

.page_index_site .journals .thumb a {
    display: block;
    padding: 7px;
    border: 1px solid var(--usm-line);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(3, 45, 79, 0.10);
}

.page_index_site .journals .thumb img {
    display: block;
    width: 100%;
    height: 140px;
    margin: 0;
    border-radius: 9px;
    object-fit: contain;
    background: var(--usm-soft);
    transition: transform 0.35s ease;
}

.page_index_site .journals > ul > li:hover .thumb img {
    transform: scale(1.035);
}

/* Isi kartu jurnal */

.page_index_site .journals .body {
    flex: 1;
    min-width: 0;
}

.page_index_site .journals h3 {
    margin: 0 0 10px;
    padding: 0;
    border: 0;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.4;
}

.page_index_site .journals h3 a {
    color: #004f87;
    text-decoration: none;
}

.page_index_site .journals h3 a:hover {
    color: var(--usm-gold);
}

.page_index_site .journals .description {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 17px;
    color: var(--usm-muted);
    font-size: 14.5px;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.page_index_site .journals .description p {
    margin: 0;
}

/* Tombol View Journal dan Current Issue */

.page_index_site .journals .links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.page_index_site .journals .links li {
    margin: 0;
    padding: 0;
    border: 0;
}

.page_index_site .journals .links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 17px;
    border: 1px solid rgba(7, 91, 150, 0.20);
    border-radius: 50px;
    color: var(--usm-blue);
    background: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 5px 14px rgba(4, 45, 83, 0.07);
}

.page_index_site .journals .links a::after {
    margin-left: 7px;
    content: "→";
    transition: transform 0.25s ease;
}

.page_index_site .journals .links a:hover {
    border-color: var(--usm-blue);
    color: #ffffff;
    background: linear-gradient(135deg, var(--usm-navy), var(--usm-blue-light));
    box-shadow: 0 8px 18px rgba(7, 91, 150, 0.22);
    transform: translateY(-2px);
}

.page_index_site .journals .links a:hover::after {
    transform: translateX(3px);
}

.page_index_site .journals .links .current a {
    border-color: var(--usm-gold);
    color: var(--usm-navy);
    background: linear-gradient(135deg, var(--usm-gold-light), var(--usm-gold));
}

/* =========================================================
   SIDEBAR
   ========================================================= */

.pkp_structure_sidebar {
    float: none;
    width: 330px;
    margin: 0;
    padding: 0;
}

.pkp_structure_sidebar .pkp_block {
    overflow: hidden;
    margin: 0 0 26px;
    padding: 0;
    border: 1px solid #d5e3ef;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--usm-shadow);
}

.pkp_structure_sidebar .pkp_block:hover {
    box-shadow: 0 18px 45px rgba(4, 45, 83, 0.14);
}

.pkp_structure_sidebar .pkp_block .title {
    position: relative;
    margin: 0;
    padding: 21px 23px;
    border: 0;
    border-bottom: 4px solid var(--usm-gold);
    color: #ffffff;
    background: linear-gradient(135deg, var(--usm-navy), var(--usm-blue-light));
    font-size: 21px;
    font-weight: 800;
    line-height: 1.35;
}

.pkp_structure_sidebar .pkp_block .title::after {
    position: absolute;
    top: 50%;
    right: 20px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--usm-gold-light);
    box-shadow: 0 0 0 5px rgba(255, 215, 106, 0.15);
    content: "";
    transform: translateY(-50%);
}

.pkp_structure_sidebar .pkp_block .content {
    padding: 16px 14px 18px;
}

/* Daftar menu sidebar */

.pkp_structure_sidebar .pkp_block ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pkp_structure_sidebar .pkp_block ul li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #e4ecf3;
}

.pkp_structure_sidebar .pkp_block ul li:last-child {
    border-bottom: 0;
}

.pkp_structure_sidebar .pkp_block ul li > a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    padding: 11px 15px;
    border-radius: 10px;
    color: #004f87;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
}

.pkp_structure_sidebar .pkp_block ul li > a::after {
    margin-left: 12px;
    color: #d99b00;
    font-size: 19px;
    content: "→";
    transition: transform 0.25s ease;
}

.pkp_structure_sidebar .pkp_block ul li > a:hover {
    padding-left: 20px;
    color: var(--usm-navy);
    background: linear-gradient(90deg, rgba(229, 184, 61, 0.16), rgba(7, 91, 150, 0.06));
}

.pkp_structure_sidebar .pkp_block ul li > a:hover::after {
    transform: translateX(4px);
}

/* Jika menu sidebar dibuat menggunakan paragraf */

.pkp_structure_sidebar .pkp_block .content > p {
    margin: 0;
    border-bottom: 1px solid #e4ecf3;
}

.pkp_structure_sidebar .pkp_block .content > p:last-child {
    border-bottom: 0;
}

.pkp_structure_sidebar .pkp_block .content > p > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 15px;
    border-radius: 10px;
    color: #004f87;
    font-weight: 700;
    text-decoration: none;
}

.pkp_structure_sidebar .pkp_block .content > p > a::after {
    color: #d99b00;
    content: "→";
}

.pkp_structure_sidebar .pkp_block .content > p > a:hover {
    padding-left: 20px;
    color: var(--usm-navy);
    background: linear-gradient(90deg, rgba(229, 184, 61, 0.16), rgba(7, 91, 150, 0.06));
}

/* =========================================================
   FOOTER
   ========================================================= */

.pkp_structure_footer_wrapper {
    margin: 0;
    border-top: 4px solid var(--usm-gold);
    background:
        radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.08), transparent 25%),
        linear-gradient(135deg, #02162d, #064f83);
}

.pkp_structure_footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 38px 28px;
    color: rgba(255, 255, 255, 0.86);
}

.pkp_structure_footer a {
    color: var(--usm-gold-light);
}

.pkp_structure_footer a:hover {
    color: #ffffff;
}

/* =========================================================
   AKSESIBILITAS
   ========================================================= */

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(229, 184, 61, 0.65);
    outline-offset: 3px;
}

/* =========================================================
   RESPONSIVE TABLET
   ========================================================= */

@media (max-width: 992px) {
    .pkp_structure_content {
        display: block;
        padding: 32px 22px 50px;
    }

    .pkp_structure_main,
    .pkp_structure_sidebar {
        width: 100%;
    }

    .pkp_structure_sidebar {
        margin-top: 35px;
    }

    .pkp_structure_sidebar .pkp_block {
        max-width: none;
    }
}

/* =========================================================
   RESPONSIVE PONSEL
   ========================================================= */

@media (max-width: 767px) {
    body {
        font-size: 15px;
    }

    .pkp_head_wrapper {
        padding: 0 17px;
    }

    .pkp_site_name {
        padding: 12px 0;
        text-align: center;
    }

    .pkp_site_name > a {
        justify-content: center;
        min-height: 76px;
    }

    .pkp_site_name .is_img img {
        max-height: 78px;
    }

    .pkp_navigation_user_wrapper {
        position: static;
        padding: 0 0 12px;
        text-align: center;
    }

    .pkp_navigation_primary {
        padding: 7px 15px;
    }

    .pkp_navigation_primary > li {
        display: block;
    }

    .pkp_navigation_primary > li > a {
        padding: 11px 12px;
    }

    .pkp_structure_content {
        padding: 25px 15px 40px;
    }

    .page_index_site .about_site {
        padding: 22px 20px 22px 25px;
        border-radius: 14px;
    }

    .page_index_site .journals > ul {
        gap: 17px;
    }

    .page_index_site .journals > ul > li {
        display: block;
        min-height: 0;
        padding: 20px;
        border-radius: 15px;
    }

    .page_index_site .journals .thumb {
        width: 100%;
        max-width: 180px;
        margin: 0 auto 20px;
    }

    .page_index_site .journals .thumb img {
        height: 170px;
    }

    .page_index_site .journals h3 {
        font-size: 18px;
        text-align: center;
    }

    .page_index_site .journals .description {
        text-align: center;
    }

    .page_index_site .journals .links {
        justify-content: center;
    }

    .page_index_site .journals .links a {
        min-height: 38px;
        padding: 8px 14px;
        font-size: 13px;
    }

    .pkp_structure_sidebar {
        margin-top: 28px;
    }

    .pkp_structure_sidebar .pkp_block {
        border-radius: 15px;
    }

    .pkp_structure_sidebar .pkp_block .title {
        padding: 18px 20px;
        font-size: 19px;
    }
}

/* Ponsel sangat kecil */

@media (max-width: 420px) {
    .page_index_site .journals .links {
        display: grid;
        grid-template-columns: 1fr;
    }

    .page_index_site .journals .links a {
        width: 100%;
        box-sizing: border-box;
    }
}

/* =========================================================
   PERBAIKAN RESPONSIVE PORTAL OJS
   Tempelkan di PALING BAWAH CSS
   ========================================================= */

/* Pastikan seluruh ukuran menggunakan border-box */

.pkp_structure_page *,
.pkp_structure_page *::before,
.pkp_structure_page *::after {
    box-sizing: border-box;
}

/* =========================================================
   PERBAIKAN HEADER TERLALU TINGGI
   ========================================================= */

.pkp_structure_head,
.pkp_head_wrapper,
.pkp_site_name_wrapper,
.pkp_site_name {
    height: auto !important;
    min-height: 0 !important;
}

.pkp_structure_head {
    border-bottom: 3px solid #e6b937 !important;
    background:
        radial-gradient(circle at 85% 20%, rgba(255,255,255,.10), transparent 25%),
        linear-gradient(120deg, #031a38 0%, #064f83 55%, #0b7bbb 100%) !important;
}

.pkp_head_wrapper {
    position: relative !important;
    width: 100% !important;
    max-width: 1320px !important;
    margin: 0 auto !important;
    padding: 0 28px !important;
}

.pkp_site_name {
    display: flex !important;
    align-items: center !important;
    padding: 14px 0 !important;
}

.pkp_site_name > a {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 0 !important;
    padding: 0 !important;
}

.pkp_site_name .is_img img {
    display: block !important;
    width: auto !important;
    height: 92px !important;
    max-width: 100% !important;
    max-height: 92px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 7px 10px rgba(0,0,0,.22));
}

/* Hilangkan ruang kosong navigasi */

.pkp_site_nav_menu,
.pkp_navigation_primary_wrapper {
    min-height: 0 !important;
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Posisi akun admin */

.pkp_navigation_user_wrapper {
    top: 16px !important;
    right: 28px !important;
}

/* =========================================================
   LAYOUT UTAMA: KONTEN + SIDEBAR
   ========================================================= */

.pkp_structure_content {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 330px !important;
    align-items: start !important;
    gap: 32px !important;

    width: 100% !important;
    max-width: 1320px !important;
    margin: 0 auto !important;
    padding: 38px 28px 60px !important;

    border: 0 !important;
    background: transparent !important;
}

.pkp_structure_main {
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.pkp_structure_sidebar {
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* =========================================================
   DAFTAR JURNAL
   Paksa menjadi satu kolom agar tidak terpotong
   ========================================================= */

.page_index_site,
.page_index_site .journals {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

.page_index_site .journals > ul {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px !important;

    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Kartu jurnal */

.page_index_site .journals > ul > li {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 180px !important;

    margin: 0 !important;
    padding: 24px !important;
    overflow: hidden !important;

    border: 1px solid #dce7f0 !important;
    border-radius: 18px !important;
    background: linear-gradient(135deg, #ffffff, #f7fbff) !important;
    box-shadow: 0 10px 28px rgba(4,45,83,.08) !important;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease !important;
}

.page_index_site .journals > ul > li::before {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;

    width: 100% !important;
    height: 5px !important;

    background: linear-gradient(
        90deg,
        #063b70,
        #0b86c6,
        #e8ba32
    ) !important;

    content: "" !important;
}

.page_index_site .journals > ul > li:hover {
    border-color: rgba(7,91,150,.35) !important;
    box-shadow: 0 18px 42px rgba(4,45,83,.15) !important;
    transform: translateY(-4px) !important;
}

/* =========================================================
   GAMBAR JURNAL
   ========================================================= */

.page_index_site .journals .thumb {
    flex: 0 0 145px !important;
    width: 145px !important;
    max-width: 145px !important;
    margin: 0 !important;
}

.page_index_site .journals .thumb a {
    display: block !important;
    width: 100% !important;
    padding: 7px !important;

    border: 1px solid #dce7f0 !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 20px rgba(4,45,83,.09) !important;
}

.page_index_site .journals .thumb img {
    display: block !important;
    width: 100% !important;
    height: 155px !important;
    max-width: 100% !important;
    margin: 0 !important;

    border-radius: 9px !important;
    background: #f4f8fb !important;
    object-fit: contain !important;
}

/* =========================================================
   ISI KARTU
   ========================================================= */

.page_index_site .journals .body {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.page_index_site .journals h3 {
    width: 100% !important;
    margin: 0 0 10px !important;
    padding: 0 !important;

    color: #004f87 !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    overflow-wrap: anywhere !important;
}

.page_index_site .journals h3 a {
    color: #00568e !important;
    text-decoration: none !important;
}

.page_index_site .journals h3 a:hover {
    color: #d49b08 !important;
}

.page_index_site .journals .description {
    display: -webkit-box !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 16px !important;
    overflow: hidden !important;

    color: #526b83 !important;
    font-size: 15px !important;
    line-height: 1.7 !important;

    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
}

/* =========================================================
   PERBAIKAN TOMBOL TERPOTONG
   ========================================================= */

.page_index_site .journals .links {
    display: flex !important;
    flex-wrap: wrap !important;
    grid-template-columns: none !important;
    align-items: center !important;
    gap: 10px !important;

    width: 100% !important;
    max-width: none !important;
    margin: 15px 0 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    list-style: none !important;
}

.page_index_site .journals .links li {
    display: block !important;
    flex: 0 0 auto !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
}

.page_index_site .journals .links li a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 42px !important;

    padding: 10px 18px !important;
    overflow: visible !important;

    border: 1px solid #075b96 !important;
    border-radius: 50px !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #063b70, #0878b7) !important;
    box-shadow: 0 7px 18px rgba(7,91,150,.18) !important;

    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: center !important;
    text-decoration: none !important;

    white-space: nowrap !important;
    text-overflow: clip !important;
}

.page_index_site .journals .links li a::after {
    flex: 0 0 auto !important;
    margin-left: 8px !important;
    content: "→" !important;
}

.page_index_site .journals .links li a:hover {
    border-color: #e4b52e !important;
    color: #031a38 !important;
    background: linear-gradient(135deg, #ffdc72, #e4b52e) !important;
    box-shadow: 0 10px 22px rgba(228,181,46,.25) !important;
    transform: translateY(-2px) !important;
}

/* Tombol Current Issue */

.page_index_site .journals .links .current a {
    border-color: #e4b52e !important;
    color: #031a38 !important;
    background: linear-gradient(135deg, #ffdc72, #e4b52e) !important;
}

/* =========================================================
   SIDEBAR
   ========================================================= */

.pkp_structure_sidebar .pkp_block {
    width: 100% !important;
    margin: 0 0 24px !important;
    overflow: hidden !important;

    border: 1px solid #d5e3ef !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    box-shadow: 0 12px 32px rgba(4,45,83,.10) !important;
}

.pkp_structure_sidebar .pkp_block .title {
    margin: 0 !important;
    padding: 19px 22px !important;

    border: 0 !important;
    border-bottom: 4px solid #e4b52e !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #031a38, #087abb) !important;

    font-size: 20px !important;
    font-weight: 800 !important;
}

.pkp_structure_sidebar .pkp_block .content {
    padding: 14px 16px 18px !important;
}

/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 1050px) {
    .pkp_structure_content {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 30px !important;
        padding: 32px 22px 50px !important;
    }

    .pkp_structure_sidebar {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        align-items: start !important;
        gap: 22px !important;
    }

    .pkp_structure_sidebar .pkp_block {
        margin: 0 !important;
    }
}

/* =========================================================
   PONSEL
   ========================================================= */

@media screen and (max-width: 700px) {
    .pkp_head_wrapper {
        padding: 0 16px !important;
    }

    .pkp_site_name {
        justify-content: center !important;
        padding: 11px 0 !important;
    }

    .pkp_site_name .is_img img {
        height: 72px !important;
        max-height: 72px !important;
    }

    .pkp_navigation_user_wrapper {
        position: static !important;
        width: 100% !important;
        padding: 0 0 11px !important;
        text-align: center !important;
    }

    .pkp_structure_content {
        display: block !important;
        padding: 24px 14px 40px !important;
    }

    .page_index_site .journals > ul {
        gap: 17px !important;
    }

    .page_index_site .journals > ul > li {
        display: block !important;
        min-height: 0 !important;
        padding: 20px 17px !important;
        border-radius: 15px !important;
    }

    .page_index_site .journals .thumb {
        width: 150px !important;
        max-width: 150px !important;
        margin: 0 auto 18px !important;
    }

    .page_index_site .journals .thumb img {
        height: 155px !important;
    }

    .page_index_site .journals h3,
    .page_index_site .journals .description {
        text-align: center !important;
    }

    .page_index_site .journals h3 {
        font-size: 18px !important;
    }

    .page_index_site .journals .links {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 9px !important;
    }

    .page_index_site .journals .links li,
    .page_index_site .journals .links li a {
        width: 100% !important;
    }

    .page_index_site .journals .links li a {
        white-space: normal !important;
    }

    .pkp_structure_sidebar {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 18px !important;
        margin-top: 28px !important;
    }
}

/* Ponsel kecil */

@media screen and (max-width: 400px) {
    .pkp_structure_content {
        padding-right: 10px !important;
        padding-left: 10px !important;
    }

    .page_index_site .journals > ul > li {
        padding: 18px 14px !important;
    }

    .page_index_site .journals .thumb {
        width: 135px !important;
        max-width: 135px !important;
    }

    .page_index_site .journals .thumb img {
        height: 140px !important;
    }
}