/* ========== J-ACT CUSTOM STYLESHEET ========== */
/* Disesuaikan dengan nuansa CV Digitech Minahasa */
/* Warna Utama: #1a2e3f (biru tua), #c9a84c (emas), #ffffff (putih) */

/* 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.9), rgba(245, 245, 240, 0.95)), 
                url(https://anwardani.github.io/css-ojs3/new-grid.png) center top !important;
    background-color: #f7f5f0 !important;
}

/* ========== HEADER / SITE NAME ========== */
.pkp_site_name {
    margin: 0;
    background: linear-gradient(135deg, #1a2e3f 0%, #2a4659 100%);
    padding: 5px 0;
}

.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: #c9a84c; /* Warna emas */
    color: #1a2e3f;
}

.pkp_navigation_user_wrapper .pkp_navigation_user > li.profile > a {
    font-family: 'Sunflower', helvetica, calibri;
    font-weight: normal !important;
    padding-right: 10px;
    color: #1a2e3f;
}

.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: #c9a84c; /* Warna emas */
    border-bottom: 3px solid #1a2e3f; /* Warna biru 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: #1a2e3f;
}

/* ========== PRIMARY NAVIGATION ========== */
.pkp_navigation_primary_row {
    background: #1a2e3f !important; /* Biru tua */
    border-bottom: 3px solid #c9a84c;
}

.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 18px !important;
    line-height: 48px !important;
    color: #ffffff !important;
    font-weight: 400 !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 13px;
}

.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(201, 168, 76, 0.25) !important;
    color: #c9a84c !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: #1a2e3f !important;
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li ul li {
    border-bottom: solid 1px rgba(255, 255, 255, 0.15) !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 #e8e0d5;
    border-right: 1px solid #e8e0d5;
    background: #ffffff;
}

.pkp_structure_content {
    padding-top: 0;
}

/* ========== SIDEBAR BLOCKS ========== */
.pkp_structure_sidebar .pkp_block .title {
    font-family: 'Sunflower', helvetica, calibri;
    background: #1a2e3f; /* Biru tua */
    color: #ffffff;
    border-left: 10px solid #c9a84c; /* Warna emas */
    padding: 12px 10px;
    border-radius: 0 5px 0 0;
    margin-bottom: 0px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== HEADINGS ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Sunflower', helvetica, calibri;
    color: #1a2e3f;
}

h1 {
    color: #1a2e3f;
    font-weight: 700;
}

h2, h3 {
    color: #1a2e3f;
    border-bottom: 3px solid #c9a84c;
    padding-bottom: 10px;
}

/* ========== 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: #1a2e3f !important;
    border-bottom: solid 1px rgba(255, 255, 255, 0.15);
}

#customblock-Sidebar_menu.pkp_block ul li:hover {
    background: #c9a84c !important;
}

#customblock-Sidebar_menu.pkp_block ul li:last-child {
    border-bottom: none;
}

#customblock-Sidebar_menu.pkp_block ul li a {
    background: #1a2e3f !important;
    display: block;
    line-height: 42px;
    padding: 0 10px 0 20px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
}

#customblock-Sidebar_menu.pkp_block ul li a:hover {
    background: #c9a84c !important;
    color: #1a2e3f;
}

/* ========== 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: linear-gradient(135deg, #c9a84c 0%, #b8973a 100%);
    line-height: 44px;
    font-family: 'Sunflower', helvetica, calibri;
    color: #1a2e3f;
    font-weight: bold;
    display: block;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    border-radius: 4px;
}

.pkp_block.block_make_submission .content a:hover {
    background: #1a2e3f !important;
    color: #c9a84c;
}

/* ========== ARTICLE SUMMARY ========== */
.obj_article_summary {
    border: 1px solid #c9a84c;
    padding: 15px;
    margin: 0px;
    box-shadow: 0 3px 10px rgba(26, 46, 63, 0.12);
    background: #fcfcfa;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.obj_article_summary:hover {
    box-shadow: 0 5px 20px rgba(201, 168, 76, 0.3);
    border-color: #b8973a;
}

.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: #1a2e3f;
    padding: 20px !important;
    color: #ffffff;
    border-top: 5px solid #c9a84c;
}

.pkp_structure_footer .pkp_footer_content p {
    margin: 0;
    font-size: 14px;
}

.pkp_structure_footer .pkp_brand_footer {
    background: linear-gradient(135deg, #c9a84c 0%, #b8973a 100%);
    height: auto !important;
    padding: 12px;
}

.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: #1a2e3f;
    padding: 8px 5px 8px 12px;
    color: #ffffff;
    margin: 10px -10px;
    border-left: 5px solid #c9a84c;
}

#customblock-custom_css {
    display: none;
}

p.headside {
    margin: 10px 0 1px 0;
}

/* ========== HEADER BACKGROUND ========== */
.pkp_structure_head {
    background: linear-gradient(135deg, #f7f5f0 0%, #efebe6 100%);
    border-bottom: 4px solid #c9a84c;
}

/* ========== LINKS ========== */
a {
    color: #1a2e3f;
    text-decoration: none;
}

a:hover {
    color: #c9a84c;
    text-decoration: underline;
}

/* ========== TABLE MENU TAMBAHAN ========== */
.hoverTable {
    width: 100%;
    border-collapse: collapse;
}

.hoverTable th {
    height: 35px;
    background: #1a2e3f;
    color: #c9a84c;
    border-bottom: 2px solid #c9a84c;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hoverTable td {
    height: 35px;
    padding-top: 3px;
    vertical-align: middle;
    border-bottom: 1px solid #e8e0d5;
    text-align: center;
}

.hoverTable td a {
    width: 100%;
    display: block;
}

.hoverTable tr {
    background: #f7f5f0;
    color: #1a2e3f;
}

.hoverTable tr:hover {
    background: #c9a84c;
    color: #1a2e3f;
}

.hoverTable a {
    color: #1a2e3f;
}

.hoverTable a:hover {
    color: #c9a84c;
}

.hoverTable tr:hover a {
    color: #1a2e3f;
}

/* ========== 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: #c9a84c;
    color: #1a2e3f;
    padding: 3px 12px;
    border-radius: 4px;
    font-weight: bold;
}

.jact-header {
    background: linear-gradient(135deg, #1a2e3f 0%, #2a4659 100%);
    color: #ffffff;
    padding: 25px 20px;
    border-bottom: 5px solid #c9a84c;
}

.jact-footer {
    background: #1a2e3f;
    color: #ffffff;
    padding: 15px;
    text-align: center;
    border-top: 3px solid #c9a84c;
}

.jact-footer a {
    color: #c9a84c;
}

.jact-footer a:hover {
    color: #ffffff;
}

/* ========== BUTTON STYLE ========== */
.btn-jact {
    background: linear-gradient(135deg, #c9a84c 0%, #b8973a 100%);
    color: #1a2e3f;
    padding: 10px 25px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-jact:hover {
    background: #1a2e3f;
    color: #c9a84c;
    box-shadow: 0 3px 15px rgba(201, 168, 76, 0.4);
}

/* ========== CARD STYLE ========== */
.jact-card {
    background: #ffffff;
    border: 1px solid #e8e0d5;
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(26, 46, 63, 0.08);
    transition: all 0.3s ease;
}

.jact-card:hover {
    box-shadow: 0 5px 25px rgba(201, 168, 76, 0.2);
    border-color: #c9a84c;
}