/* ===== CSS Stylesheet OJS dengan Tema Navy (Revisi: Background Luar Putih) ===== */
/* - Latar belakang halaman (body) dibuat putih, sehingga sisi kanan/kiri konten tetap putih.

Elemen navigasi, footer, dan sidebar menu menggunakan warna navy.

Kontras teks dijaga: teks di atas navy berwarna putih/emas, teks di area putih tetap gelap.
*/

@import url('https://fonts.googleapis.com/css?family=Sunflower:300');

html, body, * {
font-family: Sunflower, helvetica, calibri;
}

/* Body dengan background putih (sisi kanan/kiri tidak ikut navy) /
body {
background: #ffffff !important; / putih, menggantikan navy */
}

/* Link dan aksen menggunakan emas agar kontras dengan navy */
a {
color: #001f3f; /* navy untuk link di area putih */
}
a:hover {
color: #FFD700; /* emas saat hover */
}

/* Tombol dan galley links */
.cmp_button_wire,
.obj_galley_link {
background: #FFD700;
border: 1px solid #001f3f;
color: #001f3f; /* teks navy di atas emas terbaca */
}

/* Artikel summary */
.obj_article_summary {
border: 1px solid #FFD700;
padding: 10px;
border-radius: 5px;
box-shadow: 3px 3px #001f3f;
background: #ffffff;
color: #333;
}

/* Header situs */
.pkp_site_name {
padding-top: 0px;
padding-bottom: 0px;
}
.pkp_site_name_wrapper {
padding-left: 0px;
padding-right: 0px;
}
.pkp_site_name .is_img img {
display: block;
max-height: 100%;
max-width: 100%;
width: auto;
height: auto;
margin-bottom: -6px;
}

/* ===== USER NAVIGATION (pojok kanan atas) ===== */
.pkp_navigation_user_wrapper {
top: 0;
right: 0;
padding: 0;
background: #001f3f; /* navy agar kontras dengan teks putih */
}
.pkp_navigation_user_wrapper .pkp_navigation_user {
font-family: Sunflower, helvetica, calibri;
font-weight: normal;
}
.pkp_navigation_user_wrapper .pkp_navigation_user > li.profile {
font-family: Sunflower, helvetica, calibri;
background: #FFD700;
color: #001f3f;
}
.pkp_navigation_user_wrapper .pkp_navigation_user > li.profile > a {
font-family: Sunflower, helvetica, calibri;
font-weight: normal !important;
padding-right: 10px;
color: #001f3f;
}
.pkp_navigation_user_wrapper .pkp_navigation_user > li.profile > ul.dropdown-menu {
border-radius: 0 !important;
}
.pkp_navigation_user_wrapper .pkp_navigation_user > li.profile > ul.dropdown-menu > li > a {
font-family: Sunflower, helvetica, calibri;
font-weight: normal !important;
}
.pkp_navigation_user {
border-bottom: 2px solid #FFD700; /* emas /
}
.pkp_navigation_user > li > a,
.pkp_navigation_user > li.in_focus > a,
.pkp_navigation_user > li > a:hover,
.pkp_navigation_user > li > a:focus {
color: #ffffff !important; / putih di atas navy */
}

/* ===== PRIMARY NAVIGATION ===== */
.pkp_navigation_primary_row {
background: #001a33 !important; /* navy lebih gelap */
}
.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li {
padding: 0 !important;
margin: 0 !important;
}
.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: Sunflower, helvetica, calibri;
color: #FFFFFF !important;
font-weight: normal !important;
}
.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li a:hover {
background: rgba(255,255,255,0.2) !important;
}
.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li ul,
.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li ul li a:hover {
border-radius: 0 !important;
}
.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li ul {
background: #002244 !important;
}
.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li ul li {
border-bottom: solid 1px rgba(255,255,255,0.35) !important;
}
.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li ul li:last-child {
border-bottom: none !important;
}
.pkp_navigation_primary_row .pkp_navigation_primary_wrapper .pkp_search.is_open input[type=text] {
font-family: Sunflower, helvetica, calibri;
}

/* ===== MAIN LAYOUT ===== */
.pkp_structure_page {
margin: auto;
width: 1162px;
padding-bottom: 0 !important;
border-left: 1px solid #FFD700;
border-right: 1px solid #FFD700;
background: #ffffff;
box-shadow: 0 0 20px rgba(0,0,0,0.1);
}
.pkp_structure_content {
padding-top: 0;
}
h1, h2, h3, h4, h5, h6 {
font-family: Sunflower, helvetica, calibri;
color: #001f3f;
}

@media (max-width: 1000px) {
.pkp_structure_page {
margin: auto;
width: 100%;
border-left: none;
border-right: none;
}
}

/* ===== SIDEBAR BLOCKS ===== */
.pkp_block {
margin: 0 !important;
padding: 15px 10px;
}

/* ===== CUSTOM SIDEBAR MENU (KOTAK-KOTAK) ===== */
#customblock-Sidebar_menu.pkp_block {
margin: 0 !important;
padding: 0 !important;
background: transparent !important;
}
#customblock-Sidebar_menu.pkp_block .content {
padding: 0 !important;
}
#customblock-Sidebar_menu.pkp_block ul,
#customblock-Sidebar_menu.pkp_block ul li {
margin: 0 !important;
padding: 0 !important;
list-style: none;
}
#customblock-Sidebar_menu.pkp_block ul li {
background: #002244 !important;
border: 1px solid #FFD700 !important;
margin-bottom: 8px !important;
border-radius: 4px;
transition: all 0.3s ease;
}
#customblock-Sidebar_menu.pkp_block ul li:hover {
background: #003366 !important;
box-shadow: 0 3px 8px rgba(0,0,0,0.1);
transform: translateY(-2px);
}
#customblock-Sidebar_menu.pkp_block ul li a {
display: block;
line-height: 48px;
padding: 0 15px 0 20px;
color: #ffffff !important;
text-decoration: none;
font-weight: 500;
position: relative;
}
#customblock-Sidebar_menu.pkp_block ul li a:before {
content: "›";
position: absolute;
right: 15px;
color: #FFD700;
font-size: 18px;
}

/* ===== MAKE SUBMISSION BUTTON ===== */
.pkp_block.block_make_submission .content {
margin: 0 !important;
padding: 0 !important;
text-align: center !important;
}
.pkp_block.block_make_submission .content a {
background: #FFD700;
line-height: 48px;
font-family: Sunflower, helvetica, calibri;
color: #001f3f;
display: block;
border-radius: 4px;
transition: all 0.3s ease;
}
.pkp_block.block_make_submission .content a:hover {
background: #e6c200 !important;
color: #001f3f !important;
box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

/* ===== ARTICLE STYLES ===== */
.obj_article_summary .item.doi .label {
background: url(/public/journals/8/images/icon-doi.png) left center no-repeat;
width: 25px !important;
height: 24px !important;
color: transparent;
text-indent: 100%;
white-space: nowrap;
overflow: hidden;
}
.obj_article_summary .item.stats .abstract,
.obj_article_summary .item.stats .galley {
position: relative;
}
.obj_article_summary .item.stats .abstract {
margin-left: 20px;
margin-right: 10px;
}
.obj_article_summary .item.stats .galley {
margin-left: 25px;
}
.obj_article_summary .item.stats .abstract:before {
content: "\f080";
font-family: FontAwesome;
left: -15px;
position: absolute;
top: 0;
color: #001f3f;
}
.obj_article_summary .item.stats .galley:before {
content: "\f1c1";
font-family: FontAwesome;
left: -15px;
position: absolute;
top: 0;
color: #001f3f;
}

/* ===== FOOTER ===== */
.pkp_structure_footer_wrapper {
border-bottom: none !important;
}
.pkp_structure_footer .pkp_footer_content {
background: #002244;
color: #ffffff;
padding: 20px 10px !important;
}
.pkp_structure_footer .pkp_footer_content a {
color: #FFD700;
}
.pkp_structure_footer .pkp_footer_content a:hover {
color: #ffffff;
}
.pkp_structure_footer .pkp_brand_footer {
background: #001f3f;
height: auto !important;
padding: 0;
}
.pkp_structure_footer .pkp_brand_footer img {
width: 48px !important;
height: auto;
}
.pkp_structure_footer .pkp_footer_content img {
width: 88px;
height: 31px;
}
.pkp_structure_footer .pkp_footer_content div.logo img {
width: 65px;
height: 65px;
}
.pkp_structure_footer .pkp_footer_content div.logo2 img {
width: 88px;
height: 31px;
}

/* ===== OTHER BLOCKS ===== */
#customblock-Tools .content > .content div {
width: 80% !important;
margin: auto;
}
#customblock-Tools .content > .content div a img {
width: 100% !important;
}
#customblock-Visitor_statistics .content > .content .supercounter,
#customblock-Visitor_statistics .content > .content .statcounter {
text-align: center;
}
.sidebar-block {
background: #001f3f;
padding: 12px 15px;
color: #ffffff;
margin: 10px -10px;
border-radius: 4px;
}

/* ===== ANNOUNCEMENTS ===== */
.cmp_announcements .obj_announcement_summary.full_width {
width: 100% !important;
}
.cmp_announcements .obj_announcement_summary .summary p {
line-height: 1.3em;
margin-top: 0 !important;
margin-bottom: 1em !important;
}

/* ===== ENHANCEMENTS FOR CUSTOM BLOCKS ===== */
.pkp_block .title {
background: #001f3f;
color: white;
padding: 12px 15px;
margin: -15px -10px 15px -10px;
border-radius: 4px 4px 0 0;
font-size: 16px;
font-weight: bold;
border-bottom: 2px solid #FFD700;
}

/* Konten blok biasa (dengan background putih) */
.pkp_block .content {
line-height: 1.6;
color: #333;
}
.pkp_block .content a {
color: #001f3f;
}
.pkp_block .content a:hover {
color: #FFD700;
}
.pkp_block .content p,
.pkp_block .content ul,
.pkp_block .content ol {
margin-bottom: 15px;
}
.pkp_block .content ul {
padding-left: 20px;
}
.pkp_block .content li {
margin-bottom: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
.pkp_block {
padding: 10px;
}
#customblock-Sidebar_menu.pkp_block ul li {
margin-bottom: 5px !important;
}
#customblock-Sidebar_menu.pkp_block ul li a {
line-height: 42px;
padding: 0 12px;
}
}

/* Tombol galley link di artikel */
.obj_galley_link:hover {
background: #e6c200;
color: #001f3f;
}