/* ===============================
   HEADER GAMBAR 1241x233
   =============================== */

/* Hilangkan teks judul jurnal */
.pkp_site_name_text {
    display: none !important;
}

/* LEPASKAN FRAME HEADER OJS */
.pkp_head_wrapper,
.pkp_head_wrapper .pkp_container,
.pkp_site_name_wrapper {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* HEADER FULL WIDTH */
.pkp_site_name {
    background: url("/public/site/images/admin/header-jatd.gif")
        center center no-repeat;
    background-size: cover;
    width: 100%;
    min-height: 233px;
    display: flex;
    align-items: center;
}

/* OPSIONAL: JARAK KONTEN KE KIRI */
.pkp_site_name_wrapper {
    padding-left: 0px !important;
}

/* Menu tetap di bawah header */
.pkp_navigation_primary_row {
    margin-top: 0;
}

@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

body {
    margin:0;
    padding:0;
    background-color:transparent;
    background-image:none;
    font-family: "Ubuntu", sans-serif !important;
    font-weight:400;
    font-size:14px;
    color:#222;
    text-align:justify;
}

html,body {
      background: url(/public/site/images/admin/spared.jpg) fixed !important;
      background-color: #03081e !important; /* Biru Siber Sangat Gelap dari latar belakang data sirkuit JATD */
}

.pkp_structure_content.has_sidebar {
    background-image: url(/public/site/images/admin/backgroundcanvas.jpg);
}

.pkp_head_wrapper,
.has_site_logo .pkp_head_wrapper {
    position: relative;
    padding-top: 0;
}

.pkp_site_name {margin: 0;}
.pkp_site_name {padding-top: 0 !important; padding-bottom: 0 !important}
.pkp_site_name > a {padding-top: 0; padding-bottom: 0;}
.pkp_site_name .is_img img {max-height: 1000px;}
.pkp_site_name .is_img img {max-height: 100% !important; max-width: 100% !important;}
.pkp_site_name a {margin: auto !important;}
.pkp_site_name_wrapper {padding-left: 0; padding-right: 0; margin: 0;}
.pkp_navigation_user_wrapper {top: 0; right: 0; padding-right:30px;}
.pkp_structure_page {border-left: 0px solid gray; border-right: 0px solid gray; background: #fff; box-shadow: 1px 1px 5px 2px #0f2347; }

@media (max-width: 1000px) {
    .pkp_structure_page {margin:auto; width: 100%; padding-bottom: 0 !important; border-left: 0px solid gray; border-right: 0px solid gray; background: #fff; box-shadow: 1px 1px 5px 2px #0f2347;}
}

.pkp_structure_page {margin-top: 0px !important; margin-bottom: 0px !important;}

.pkp_block {
    padding-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 1px;
}

/* Navigasi Utama: Gradasi Biru Gelap Siber ke Hijau Daun Teknologi */
.pkp_navigation_primary_row {
    background: linear-gradient(
        0deg,
        #03081e 4%, 
        #0a183d 17%, 
        #2ecc71 44%, 
        #0a183d 95%, 
        #0a183d 140%
    );
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li a {
    margin: 0 !important;
    padding: 0 10px !important;
    line-height: 40px !important;
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li,
.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li a {
    font-family: "Ubuntu", sans-serif !important;
    color: #ffffff !important;
    text-shadow: 0 0 2px rgba(0,0,0,.5);
    text-transform: capitalize !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    transition: 0.2s;
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li a:hover {
    background: #27ae60 !important; /* Hijau Agrotek cerah saat hover */
    color: #ffffff !important;
    text-shadow: 1px 1px rgba(0,0,0,.5);
    border-radius: 5px !important;
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li ul {
    background: #0a183d !important;
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li ul li {
    border-bottom: solid 2px rgba(46, 204, 113, 0.25) !important;
}

/* Tombol PDF / Galley */
.cmp_button_wire, .obj_galley_link {
    background: linear-gradient(to bottom, #ffffff 0%, #f4faf6 50%, #0a183d 51%, #f4faf6 100%) !important;
    border: 1px solid #2ecc71;
    border-radius: 5px;
    font-family: "Ubuntu", sans-serif !important;
    color: #0a183d;
}
.obj_galley_link:hover {
    background: linear-gradient(0deg, #2ecc71 4%, #0a183d 17%, #03081e 44%, #0a183d 95%, #0a183d 140%) !important;
    border: 1px solid #2ecc71;
    color: #fff;
}

/* Artikel Summary */
.obj_article_summary {
    border: 1px solid #cedcd3;
    padding: 15px;
    border-radius: 0px 0px 20px 0px;
    box-shadow: 3px 3px 4px #b8cbd6;
}
.obj_article_summary:hover {
    background: #fff;
    border: 1px solid #2ecc71;
    box-shadow: 3px 10px 20px 0px rgba(46, 204, 113, 0.3);
}

/* Link */
a, a:link, a:active  { 
    color: #0a183d; 
    text-decoration:none;
}
a:hover { color: #2ecc71; }

/* Sidebar Table & Hover */
.hover td {
    background: #0a183d;
    border-bottom: 2px solid #ffffff;
    box-shadow: 0 0 5px rgba(46, 204, 113, 0.5);
}
.hover tr {
    background: #0a183d;
    color:#ffffff;
}
.hover tr:hover td {
    background: linear-gradient(0deg, #2ecc71 4%, #0a183d 17%, #03081e 44%, #0a183d 95%, #0a183d 140%) !important;
}
.hover tr a {
    color: #fff;
}

/* Tester Menu */
.tester {
    background-color: #0a183d;
    border-bottom: 2px solid #cedcd3;
    color: #fff !important;
}
.tester:hover {
    background: linear-gradient(0deg, #2ecc71 4%, #0a183d 17%, #03081e 44%, #0a183d 95%, #0a183d 140%) !important;
}

/* Tombol Submission: Menyesuaikan Hijau-Siber */
a.block_make_submission_link {
    color: #fff;
    background: linear-gradient(0deg, #2ecc71 4%, #0a183d 17%, #03081e 44%, #0a183d 95%, #0a183d 120%);
    box-shadow: 0 0 5px rgba(10, 24, 61, 0.5);
}

/* Footer Custom */
.custom-footer {
    background: #0a183d; /* Biru siber gelap */
    color: #cedcd3;
}
.footer-column h4 {
    border-bottom: 2px solid #2ecc71;
}
.footer-bottom {
    background: #03081e;
    color: #cedcd3;
}

/* =================================================
   OVERRIDE SIDEBAR CUSTOM BLOCK (DARI BIRU → HIJAU AGRO)
   ================================================= */

/* JUDUL BLOK */
.pkp_block.block_custom p[style*="background-image"] {
    background-image: linear-gradient(
        135deg,
        #0a183d,
        #03081e
    ) !important;
    color: #ffffff !important;
}

/* LINK MENU SIDEBAR */
.pkp_block.block_custom a.tester {
    background-color: #f4faf6 !important; /* Latar belakang sangat muda hijau siber */
    color: #03081e !important;
    border-bottom: 1px solid #cedcd3 !important;
}

/* HOVER MENU */
.pkp_block.block_custom a.tester:hover {
    background: #0a183d !important;
    color: #ffffff !important;
}

/* TABLE DALAM SIDEBAR */
.pkp_block.block_custom table td {
    border-color: #cedcd3 !important;
    background: #ffffff !important;
}

/* LINK "More Indexing..." */
.pkp_block.block_custom a[href*="indexing"] {
    color: #0a183d !important;
}

/* AREA STATISTIC */
.pkp_block.block_custom tr[style*="background-color"] {
    background-color: #cedcd3 !important;
}

/* ===============================
   HILANGKAN NAMA JURNAL (FIX)
   =============================== */

/* Sembunyikan teks judul di semua kemungkinan */
.pkp_site_name a {
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
}

/* Jika ada span teks (jaga-jaga) */
.pkp_site_name_text {
    display: none !important;
}

.custom-footer {
    background: linear-gradient(135deg, #0a183d, #03081e, #0f2347);
    color: #f1f5f9;
    margin-top: 50px;
    font-size: 14px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 15px;
    border-bottom: 2px solid #2ecc71;
    padding-bottom: 6px;
}

.footer-column p {
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #e2e8f0;
    text-decoration: none;
}

.footer-column ul li a:hover {
    color: #2ecc71;
    text-decoration: underline;
}

/* LOGO */
.footer-logo {
    margin: 15px 0;
}

.footer-logo img {
    max-width: 180px;
    height: auto;
}

/* Footer bottom */
.footer-bottom {
    text-align: center;
    padding: 15px;
    background: #03081e;
    font-size: 13px;
    color: #cbd5f5;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo img {
        margin: 0 auto;
    }
}

/* Link di footer TETAP sama dengan teks */
.custom-footer a,
.custom-footer a:visited,
.custom-footer a:hover,
.custom-footer a:focus,
.custom-footer a:active {
    color: inherit !important;
    text-decoration: none;
}

/* =================================================
   HILANGKAN LOGO OJS / PKP BRANDING (FIX)
   ================================================= */
.pkp_brand_footer, 
.pkp_footer_content .pkp_brand_footer,
.pkp_structure_footer .pkp_brand_footer {
    display: none !important;
}