/* =====================================================
   TAZKIYAH - JOURNAL OF ISLAMIC PSYCHOLOGY
   BLACK - GOLD THEME
   ===================================================== */


/* =====================================================
   WARNA
   ===================================================== */

:root {
    --black: #111111;
    --black-dark: #000000;
    --black-light: #2b2b2b;

    --gold: #D4AF37;

    --cream: #FBF8F1;
    --text: #333333;
}


/* =====================================================
   BODY
   ===================================================== */

body {
    background: #f5f5f5;
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}


/* =====================================================
   HALAMAN UTAMA OJS
   ===================================================== */

.pkp_structure_page {
    background: #ffffff;
}


/* =====================================================
   HEADER
   ===================================================== */

.pkp_site_name {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.pkp_site_name_wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.pkp_site_name a {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.pkp_site_name img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
}


/* =====================================================
   NAVIGASI
   ===================================================== */

.pkp_navigation_primary_wrapper {
    background: var(--black) !important;

    border-top: 3px solid var(--gold);
    border-bottom: 3px solid var(--gold);
}

.pkp_navigation_primary > li > a {
    color: #ffffff !important;
    font-weight: 600;
}


/* Hover navigasi */

.pkp_navigation_primary > li > a:hover {
    background: var(--black-dark) !important;
    color: #ffffff !important;
}


/* Menu aktif */

.pkp_navigation_primary > li.active > a {
    background: var(--black-dark) !important;
    color: #ffffff !important;
}


/* =====================================================
   DROPDOWN MENU
   ===================================================== */

.pkp_navigation_primary .dropdown-menu {
    background: #ffffff !important;
    border-top: 3px solid var(--gold);
}

.pkp_navigation_primary .dropdown-menu a {
    color: #222222 !important;
}

.pkp_navigation_primary .dropdown-menu a:hover {
    background: #f2f2f2 !important;
    color: #000000 !important;
}


/* =====================================================
   KONTEN
   ===================================================== */

.pkp_structure_content {
    background: #ffffff;
}


/* =====================================================
   SEMUA TEKS ISI - JUSTIFY
   ===================================================== */

p,
.pkp_structure_content p,
.pkp_structure_main p,
.pkp_structure_sidebar p,
.about_site p,
.block p,
.content p {
    text-align: justify !important;
    line-height: 1.8;
}


/* List */

.pkp_structure_content li,
.pkp_structure_main li,
.pkp_structure_sidebar li {
    text-align: justify;
    line-height: 1.7;
}


/* Isi konten */

.pkp_structure_content .content,
.pkp_structure_main .content {
    text-align: justify;
}


/* =====================================================
   JUDUL HALAMAN
   ===================================================== */

h1,
h2,
h3,
h4 {
    color: var(--black-dark);
}


/* Page title */

.page_title {
    color: var(--black-dark);

    border-bottom: 3px solid var(--gold);

    padding-bottom: 10px;
}


/* =====================================================
   ABOUT THE JOURNAL
   ===================================================== */

.about_site h2 {
    color: var(--black-dark);

    border-left: 5px solid var(--gold);

    padding-left: 12px;
}

.about_site p {
    text-align: justify !important;
    line-height: 1.8;
}


/* =====================================================
   LINK
   ===================================================== */

a {
    color: #222222;
}

a:hover {
    color: #000000;
}


/* =====================================================
   SIDEBAR
   ===================================================== */

.pkp_structure_sidebar .title {
    color: var(--black-dark);

    border-bottom: 2px solid var(--gold);

    padding-bottom: 8px;
}


/* Sidebar content */

.pkp_structure_sidebar .content,
.pkp_structure_sidebar p,
.pkp_structure_sidebar li {
    text-align: justify;
}


/* =====================================================
   MAKE A SUBMISSION
   ===================================================== */

.block_make_submission a {
    background: var(--black) !important;

    border: 2px solid var(--gold) !important;

    color: #ffffff !important;

    font-weight: 700;

    text-align: center !important;
}

.block_make_submission a:hover {
    background: var(--black-dark) !important;
}


/* =====================================================
   TOMBOL
   ===================================================== */

.cmp_button,
button,
input[type="submit"] {
    background: var(--black) !important;

    border-color: var(--black) !important;

    color: #ffffff !important;
}

.cmp_button:hover,
button:hover,
input[type="submit"]:hover {
    background: var(--black-dark) !important;
}


/* =====================================================
   FOOTER
   ===================================================== */

.pkp_structure_footer_wrapper {
    background: var(--black-dark) !important;

    border-top: 4px solid var(--gold);
}

.pkp_structure_footer {
    background: var(--black-dark) !important;

    color: #ffffff;
}


/* Footer text */

.pkp_structure_footer p,
.pkp_structure_footer li {
    text-align: justify;
}


/* Footer link */

.pkp_structure_footer a {
    color: #ffffff;
}

.pkp_structure_footer a:hover {
    color: var(--gold);
}


/* =====================================================
   TABLE
   ===================================================== */

table {
    width: 100%;
}

table th {
    background: var(--black);

    color: #ffffff;

    text-align: center;
}

table td {
    border-color: #cccccc;

    text-align: justify;
}


/* =====================================================
   ARTICLE / ISSUE CONTENT
   ===================================================== */

.obj_article_details .abstract {
    text-align: justify;
    line-height: 1.8;
}

.obj_article_details .item {
    text-align: justify;
}

.obj_issue_toc .section {
    text-align: justify;
}


/* =====================================================
   FORM / CONTENT
   ===================================================== */

label,
.description,
.help-block,
.form-control {
    text-align: justify;
}


/* =====================================================
   BREADCRUMB
   ===================================================== */

.pkp_breadcrumb {
    text-align: justify;
}


/* =====================================================
   ANNOUNCEMENT
   ===================================================== */

.obj_announcement_summary {
    text-align: justify;
}

.obj_announcement_summary p {
    text-align: justify;
}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 768px) {

    .pkp_site_name img {
        width: 100% !important;
        height: auto !important;
    }

    .pkp_navigation_primary > li > a {
        padding: 10px 14px;
    }

    p,
    .content p,
    .about_site p {
        text-align: justify !important;
    }

    /* =====================================================
   PKP BRAND / FOOTER ICON - WHITE CONTRAST
   ===================================================== */

    .pkp_brand_footer img {
        filter: brightness(0) invert(1) !important;
        opacity: 1 !important;
    }

    /* Jika logo PKP menggunakan SVG */
    .pkp_brand_footer svg {
        filter: brightness(0) invert(1) !important;
        opacity: 1 !important;
    }

    /* Pastikan area logo footer tetap terlihat jelas */
    .pkp_brand_footer {
        background: transparent !important;
    }

    .pkp_brand_footer a {
        color: #ffffff !important;
    }

    /* Hover tetap putih */
    .pkp_brand_footer a:hover {
        color: #ffffff !important;
    }

}