/* =====================================================
   EL DIRHAM JOURNAL THEME
   OJS 3.3 CUSTOM STYLESHEET
   ===================================================== */

/* =====================================================
   COLOR VARIABLES
   ===================================================== */

:root {
    --primary-blue: #003b8e;
    --dark-blue: #002b6b;
    --gold: #d4af37;
    --gold-light: #e8c766;
    --background: #f5f7fb;
    --white: #ffffff;
    --text: #2c3e50;
}

/* =====================================================
   GLOBAL
   ===================================================== */

body {
    background: var(--background);
    color: var(--text);
    font-family: Georgia, "Times New Roman", serif;
}

/* =====================================================
   HEADER
   ===================================================== */

.pkp_structure_head {
    background: #001b4d;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.pkp_site_name_wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.pkp_site_name {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Hilangkan batas tinggi logo bawaan OJS */

.pkp_site_name .is_img img {
    max-height: none !important;
    max-width: 100% !important;

    width: 100% !important;
    height: auto !important;

    display: block;
}

/* Container header penuh */

.pkp_head_wrapper,
.pkp_structure_head {
    max-width: 100% !important;
    width: 100% !important;
}

/* Banner Full Width */

.pkp_site_name {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.pkp_site_name a {
    display: block;
    width: 100%;
}

.pkp_site_name img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

/* =====================================================
   TOP USER MENU
   ===================================================== */

.pkp_navigation_user_wrapper {
    background: #001b4d;
    border-bottom: 1px solid #c9a44c;
}

.pkp_navigation_user_wrapper a,
.pkp_navigation_user_wrapper a:visited {
    color: #d4af37;
    font-weight: 500;
    transition: all .3s ease;
}

.pkp_navigation_user_wrapper a:hover {
    color: #ffffff;
    text-decoration: none;
}

/* =====================================================
   MAIN NAVIGATION
   ===================================================== */

.pkp_navigation_primary_wrapper {
    background: var(--primary-blue);
    border-top: 1px solid rgba(255,255,255,.1);
    border-bottom: 3px solid var(--gold);
}

.pkp_navigation_primary > li > a {
    color: white !important;
    font-weight: 600;
    transition: .3s;
}

.pkp_navigation_primary > li > a:hover {
    color: var(--gold) !important;
}

.pkp_navigation_primary > li.current > a {
    color: var(--gold) !important;
}

/* =====================================================
   SEARCH
   ===================================================== */

.pkp_search {
    color: white;
}

.pkp_search:hover {
    color: var(--gold);
}

/* =====================================================
   CONTENT AREA
   ===================================================== */

.pkp_structure_content {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-top: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.page h1,
.page h2,
.page h3,
.page h4 {
    color: var(--primary-blue);
}

/* =====================================================
   ARTICLE LIST
   ===================================================== */

.obj_article_summary {
    border-left: 4px solid var(--primary-blue);
    padding-left: 20px;
    margin-bottom: 25px;
}

.obj_article_summary .title a {
    color: var(--primary-blue);
    font-weight: 700;
}

.obj_article_summary .title a:hover {
    color: var(--gold);
}

/* =====================================================
   SIDEBAR
   ===================================================== */

.eldirham-sidebar{

    background:#ffffff;

    border:1px solid #dbe7f5;

    border-radius:10px;

    padding:15px;

    margin-bottom:20px;

    box-shadow:0 3px 12px rgba(0,0,0,.08);
}

.eldirham-title{

    text-align:center;

    color:#003b8e;

    font-size:20px;

    font-weight:700;

    margin:0 0 15px 0;

    padding-bottom:10px;

    border-bottom:2px solid #d4af37;
}

.eldirham-link{

    display:block;

    padding:12px;

    margin-bottom:8px;

    text-decoration:none;

    color:#ffffff !important;

    font-weight:600;

    border-radius:6px;

    background:linear-gradient(
        180deg,
        #0052cc,
        #003b8e
    );

    transition:all .3s ease;
}

.eldirham-link:hover{

    background:#d4af37;

    color:#002b6b !important;

    transform:translateX(3px);
}

.eldirham-link:last-child{
    margin-bottom:0;
}

/* Link terakhir */

.eldirham-sidebar a:last-child{
    margin-bottom:0;
}
.block_make_submission {

    background:#ffffff;

    border:1px solid #dbe7f5;

    border-radius:10px;

    padding:15px;

    margin-top:20px;

    box-shadow:0 3px 12px rgba(0,0,0,.08);
}

.block_make_submission .content {

    padding:0;
}

.block_make_submission a {

    display:block;

    width:100%;

    box-sizing:border-box;

    text-align:center;

    padding:12px;

    border-radius:6px;

    background:linear-gradient(
        180deg,
        #0052cc,
        #003b8e
    );

    color:#ffffff !important;

    font-weight:600;

    text-decoration:none;

    transition:.3s;
}

.block_make_submission a:hover {

    background:#d4af37;

    color:#002b6b !important;
}


/* =====================================
   INFORMATION BLOCK
   ===================================== */

.block_information {

    background:#ffffff;

    border:1px solid #dbe7f5;

    border-radius:10px;

    padding:15px;

    margin-top:20px;

    box-shadow:0 3px 12px rgba(0,0,0,.08);
}

.block_information .title {

    text-align:center;

    color:#003b8e;

    font-size:22px;

    font-weight:700;

    margin-bottom:15px;

    padding-bottom:10px;

    border-bottom:2px solid #d4af37;
}

.block_information ul {

    margin:0;

    padding:0;

    list-style:none;
}

.block_information li {

    margin-bottom:8px;
}

.block_information a {

    display:block;

    padding:12px;

    border-radius:6px;

    background:linear-gradient(
        180deg,
        #0052cc,
        #003b8e
    );

    color:#ffffff !important;

    text-decoration:none;

    font-weight:600;

    transition:.3s;
}

.block_information a:hover {

    background:#d4af37;

    color:#002b6b !important;
}
/* =====================================================
   CURRENT ISSUE
   ===================================================== */

.current_issue {
    border-radius: 8px;
    overflow: hidden;
}

.current_issue .title {
    color: var(--primary-blue);
}

/* =====================================================
   BUTTONS
   ===================================================== */

.cmp_button,
.obj_galley_link,
button,
input[type="submit"] {

    background: var(--primary-blue) !important;

    color: white !important;

    border: none !important;

    border-radius: 5px;

    transition: .3s;
}

.cmp_button:hover,
.obj_galley_link:hover,
button:hover,
input[type="submit"]:hover {

    background: var(--gold) !important;

    color: var(--dark-blue) !important;
}

/* =====================================================
   LINKS
   ===================================================== */

a {
    color: var(--primary-blue);
}

a:hover {
    color: var(--gold);
}

/* =====================================================
   FOOTER
   ===================================================== */

.pkp_structure_footer_wrapper {

    background: var(--dark-blue);

    color: white;

    padding: 30px 0;

    margin-top: 40px;
}

.pkp_structure_footer_wrapper a {
    color: var(--gold-light);
}

.pkp_structure_footer_wrapper a:hover {
    color: white;
}

/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 768px) {

    .pkp_site_name img {
        width: 100%;
        height: auto;
    }

    .pkp_structure_content {
        padding: 15px;
    }

    .pkp_block {
        margin-top: 20px;
    }
}