/* ===============================
   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-mediklin.gif")
        center center no-repeat;
    background-size: cover;
    width: 100%;
    min-height: 250px;
    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: #0D222E !important; /* Warna Utama Baru */
}

.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;}

/* Shadow diubah menjadi nuansa biru */
.pkp_structure_page {border-left: 0px solid gray; border-right: 0px solid gray; background: #fff; box-shadow: 1px 1px 10px 2px #b5c0f2; }

@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 #b5c0f2;}
}

.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 */
.pkp_navigation_primary_row {
    background: linear-gradient(
        0deg,
        #1B4B69 4%, 
        #0D222E 17%, 
        #1A4359 44%, 
        #0D222E 95%, 
        #0D222E 140%
    );
}

.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);
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li a:hover {
    background: #8CC8EA !important; /* Biru lebih terang saat hover */
    color: #ffffff !important;
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li ul {
    background: #2C6A8C !important;
}

/* Tombol PDF / Galley: Aksen Biru */
.cmp_button_wire, .obj_galley_link {
    background: linear-gradient(to bottom, #ffffff 0%, #e2f1f9 50%, #0D222E 51%, #e2f1f9 100%) !important;
    border: 1px solid #0D222E;
    border-radius: 5px;
    font-family: "Ubuntu", sans-serif !important;
    color: #2C6A8C;
}
.obj_galley_link:hover {
    background: linear-gradient(0deg, #8CC8EA 4%, #0D222E 17%, #4A99C9 44%, #0D222E 95%, #0D222E 140%) !important;
    border: 1px solid #4A99C9;
    color: #fff;
}

/* Artikel Summary */
.obj_article_summary {
    border: 1px solid #0D222E;
    padding: 15px;
    border-radius: 0px 0px 20px 0px;
    box-shadow: 3px 3px 4px #b5c0f2;
}
.obj_article_summary:hover {
    background: #fff;
    border: 1px solid #0D222E;
    box-shadow: 3px 10px 20px 0px rgba(108, 182, 226, 0.3);
}

/* Link Umum */
a, a:link, a:active  { 
    color: #4A99C9; 
    text-decoration:none;
}
a:hover { color: #0D222E; }

/* Sidebar Table & Hover */
.hover td {
    background: #0D222E;
    border-bottom: 2px solid #ffffff;
}
.hover tr:hover td {
    background: linear-gradient(0deg, #8CC8EA 4%, #0D222E 17%, #4A99C9 44%, #0D222E 95%, #0D222E 140%) !important;
}
.hover tr a {
    color: #fff;
}

/* Tester Menu Sidebar */
.tester {
    background-color: #0D222E;
    border-bottom: 2px solid #ffffff;
    color: #fff !important;
}
.tester:hover {
    background: linear-gradient(0deg, #8CC8EA 4%, #0D222E 17%, #4A99C9 44%, #0D222E 95%, #0D222E 140%) !important;
}

/* Tombol Submission */
a.block_make_submission_link {
    color: #fff;
    background: linear-gradient(0deg, #8CC8EA 4%, #0D222E 17%, #4A99C9 44%, #0D222E 95%, #0D222E 120%);
    box-shadow: 0 0 5px rgba(108, 182, 226, 0.5);
}

/* =================================================
   OVERRIDE SIDEBAR CUSTOM BLOCK (BIRU)
   ================================================= */

/* JUDUL BLOK */
.pkp_block.block_custom p[style*="background-image"] {
    background-image: linear-gradient(
        135deg,
        #0D222E,
        #2C6A8C
    ) !important;
    color: #ffffff !important;
}

/* LINK MENU SIDEBAR */
.pkp_block.block_custom a.tester {
    background-color: #f1f9fe !important; 
    color: #2C6A8C !important;
    border-bottom: 1px solid #0D222E !important;
}

/* TABLE DALAM SIDEBAR */
.pkp_block.block_custom table td {
    border-color: #0D222E !important;
}

/* AREA STATISTIC */
.pkp_block.block_custom tr[style*="background-color"] {
    background-color: #e2f1f9 !important;
}

/* =================================================
   FOOTER CUSTOM (THEMA BIRU #0D222E)
   ================================================= */

.custom-footer {
    background: linear-gradient(135deg, #0D222E, #4A99C9, #1B4B69) !important;
    color: #ffffff !important;
    margin-top: 50px;
    font-size: 14px;
    border-top: 4px solid #ffffff;
}

.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 #ffffff;
    padding-bottom: 6px;
    color: #ffffff;
}

.footer-column ul li a {
    color: #f1f9fe !important;
}

.footer-column ul li a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding: 15px;
    background: #0D222E;
    font-size: 13px;
    color: #cbd5f5;
}

/* =================================================
   HILANGKAN LOGO OJS / PKP BRANDING & NAMA JURNAL
   ================================================= */
.pkp_brand_footer, 
.pkp_footer_content .pkp_brand_footer,
.pkp_structure_footer .pkp_brand_footer {
    display: none !important;
}

.pkp_site_name a {
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
}