/* ========== J-ACT CUSTOM STYLESHEET ========== */
/* Disesuaikan dengan tema warna Journal of Community Action and Empowerment */

/* Import Font */
@import url('https://fonts.googleapis.com/css?family=Sunflower:300,400,500,700&display=swap');

/* ========== DASAR ========== */
html,
body,
* {
    font-family: 'Sunflower', helvetica, calibri, sans-serif;
}

body {
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(245, 245, 245, 0.9)), 
                url(https://anwardani.github.io/css-ojs3/new-grid.png) center top !important;
    background-color: #f5f0eb !important;
}

/* ========== HEADER / SITE NAME ========== */
.pkp_site_name {
    margin: 0;
    background: #ffffff;
}

.pkp_site_name > a {
    padding-top: 0;
    padding-bottom: 0;
}

.pkp_site_name_wrapper {
    padding-left: 0;
    padding-right: 0;
    margin: 0;
}

.pkp_site_name .is_img img {
    max-height: 100%;
    max-width: auto;
}

/* ========== USER NAVIGATION ========== */
.pkp_navigation_user_wrapper {
    padding: 0;
}

.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: #d4a853; /* Warna emas dari gambar */
    color: #2d2c4d;
}

.pkp_navigation_user_wrapper .pkp_navigation_user > li.profile > a {
    font-family: 'Sunflower', helvetica, calibri;
    font-weight: normal !important;
    padding-right: 10px;
    color: #2d2c4d;
}

.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 {
    background: #d4a853; /* Warna emas */
    border-bottom: 3px solid #2d4c4d; /* Warna hijau tua */
}

.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: #2d2c4d;
}

/* ========== PRIMARY NAVIGATION ========== */
.pkp_navigation_primary_row {
    background: #2d4c4d !important; /* Hijau tua seperti di gambar */
}

.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 15px !important;
    line-height: 45px !important;
    color: #ffffff !important;
    font-weight: 400 !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(212, 168, 83, 0.3) !important;
    color: #d4a853 !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;
    -webkit-border-radius: 0 !important;
    -o-border-radius: 0 !important;
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li ul {
    background: #2d4c4d !important;
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li ul li {
    border-bottom: solid 1px rgba(255, 255, 255, 0.25) !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 .search_controls a.headerSearchPrompt.search_prompt {
    font-family: 'Sunflower', helvetica, calibri;
    color: #ffffff !important;
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper .pkp_search.is_open input[type=text] {
    font-family: 'Sunflower', helvetica, calibri;
}

/* ========== STRUCTURE PAGE ========== */
.pkp_structure_page {
    margin: auto;
    width: 1162px;
    padding-bottom: 0 !important;
    border-left: 1px solid #e0d5c8;
    border-right: 1px solid #e0d5c8;
    background: #ffffff;
}

.pkp_structure_content {
    padding-top: 0;
}

/* ========== SIDEBAR BLOCKS ========== */
.pkp_structure_sidebar .pkp_block .title {
    font-family: 'Sunflower', helvetica, calibri;
    background: #2d4c4d; /* Hijau tua */
    color: #ffffff;
    border-left: 10px solid #d4a853; /* Warna emas */
    padding: 10px 5px;
    border-radius: 0 5px 0 0;
    margin-bottom: 0px;
}

/* ========== HEADINGS ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Sunflower', helvetica, calibri;
    color: #2d2c4d;
}

h1 {
    color: #2d4c4d;
}

h2, h3 {
    color: #2d4c4d;
    border-bottom: 2px solid #d4a853;
    padding-bottom: 8px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1000px) {
    .pkp_structure_page {
        margin: auto;
        width: 100%;
    }
}

/* ========== SIDEBAR MENU ========== */
.pkp_block {
    margin: 0 !important;
}

#customblock-Sidebar_menu.pkp_block {
    margin: 10px !important;
    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: #2d4c4d !important;
    border-bottom: solid 1px rgba(255, 255, 255, 0.3);
}

#customblock-Sidebar_menu.pkp_block ul li:hover {
    background: #d4a853 !important;
}

#customblock-Sidebar_menu.pkp_block ul li:last-child {
    border-bottom: none;
}

#customblock-Sidebar_menu.pkp_block ul li a {
    background: #2d4c4d !important;
    display: block;
    line-height: 40px;
    padding: 0 10px 0 20px;
    color: #ffffff;
    text-decoration: none;
}

#customblock-Sidebar_menu.pkp_block ul li a:hover {
    background: #d4a853 !important;
    color: #2d2c4d;
}

/* ========== SUBMISSION BLOCK ========== */
.pkp_block.block_make_submission .content {
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
}

.pkp_block.block_make_submission .content a {
    background: #d4a853;
    line-height: 40px;
    font-family: 'Sunflower', helvetica, calibri;
    color: #2d2c4d;
    font-weight: bold;
    display: block;
    text-decoration: none;
}

.pkp_block.block_make_submission .content a:hover {
    background: #2d4c4d !important;
    color: #ffffff;
}

/* ========== ARTICLE SUMMARY ========== */
.obj_article_summary {
    border: 1px solid #d4a853;
    padding: 15px;
    margin: 0px;
    box-shadow: #d4a853 3px 3px 8px;
    background: #fafaf8;
    border-radius: 4px;
}

.obj_article_summary .meta {
    background: url(http://journal.uinsgd.ac.id/public/site/images/bbusro/icon-group.png) 1px 2px no-repeat rgba(0,0,0,0);
    padding: 0 0 0 20px;
    margin: 5px 0 0 0;
}

.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;
}

.obj_article_summary .item.stats .galley:before {
    content: "\f1c1";
    font-family: FontAwesome;
    left: -15px;
    position: absolute;
    top: 0;
}

/* ========== FOOTER ========== */
.pkp_structure_footer_wrapper {
    border-bottom: none !important;
}

.pkp_structure_footer .pkp_footer_content {
    background: #2d4c4d;
    padding: 15px !important;
    color: #ffffff;
}

.pkp_structure_footer .pkp_footer_content p {
    margin: 0;
}

.pkp_structure_footer .pkp_brand_footer {
    background: #d4a853;
    height: auto !important;
    padding: 10px;
}

.pkp_structure_footer .pkp_brand_footer img {
    width: 48px !important;
    height: auto;
    display: none;
}

/* ========== 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;
}

/* ========== SIDEBAR CUSTOM MENU ========== */
.sidebar-block {
    background: #2d4c4d;
    padding: 5px 2px 5px 10px;
    color: #ffffff;
    margin: 10px -10px;
}

#customblock-custom_css {
    display: none;
}

p.headside {
    margin: 10px 0 1px 0;
}

/* ========== HEADER BACKGROUND ========== */
.pkp_structure_head {
    background-color: #ffffff;
    border-bottom: 3px solid #d4a853;
}

/* ========== LINKS ========== */
a {
    color: #2d4c4d;
    text-decoration: none;
}

a:hover {
    color: #d4a853;
    text-decoration: underline;
}

/* ========== TABLE MENU TAMBAHAN ========== */
.hoverTable {
    width: 100%;
    border-collapse: collapse;
}

.hoverTable th {
    height: 30px;
    background: #ffffff;
    color: #2d2c4d;
    border-bottom: 2px solid #d4a853;
}

.hoverTable td {
    height: 30px;
    padding-top: 3px;
    vertical-align: middle;
    border-bottom: 1px solid #ffffff;
    text-align: center;
}

.hoverTable td a {
    width: 100%;
    display: block;
}

.hoverTable tr {
    background: #2d4c4d;
    color: #ffffff;
}

.hoverTable tr:hover {
    background-color: #d4a853;
    color: #2d2c4d;
}

.hoverTable a {
    color: #ffffff;
}

.hoverTable a:hover {
    color: #d4a853;
}

.hoverTable tr:hover a {
    color: #2d2c4d;
}

/* ========== TOOLS BLOCK ========== */
#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;
}

/* ========== OJS 3.5 USER NAV ALIGNMENT ========== */
.pkp_navigation_user {
    max-width: 1162px;
    margin-left: auto;
    margin-right: auto;
    padding: 5px 15px;
}

.pkp_navigation_user > li:last-child {
    margin-right: 15px;
}

/* ========== HIDE BANNER ON SMALL SCREENS ========== */
@media (max-width: 991px) {
    .pkp_site_name img {
        display: none !important;
    }
}

/* ========== ELEMEN KHUSUS J-ACT ========== */
/* Untuk highlight dan aksen */
.jact-highlight {
    background: #d4a853;
    color: #2d2c4d;
    padding: 2px 10px;
    border-radius: 3px;
    font-weight: bold;
}

.jact-header {
    background: linear-gradient(135deg, #2d4c4d 0%, #1a3333 100%);
    color: #ffffff;
    padding: 20px;
    border-bottom: 5px solid #d4a853;
}

.jact-footer {
    background: #2d4c4d;
    color: #ffffff;
    padding: 15px;
    text-align: center;
}

.jact-footer a {
    color: #d4a853;
}

.jact-footer a:hover {
    color: #ffffff;
}