/* ==========================================================================
   AL-AFKAR: JURNAL PEMIKIRAN DAN PENDIDIKAN ISLAM
   Custom OJS 3 Stylesheet - Royal Blue & Gold Academic Theme
   ========================================================================== */

}

   p {
    text-align: justify !important;
}

html,
body {
    background-image: url("https://aksaraakademiaid.com/public/gambar/exo.gif") !important;
    background-repeat: repeat !important;
    background-position: top left !important;
    background-attachment: fixed !important;
    background-color: transparent !important;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* 1. BACKGROUND & TIPOGRAFI DASAR (Tetap Mempertahankan Background Portal) */
html,
body {
    background: url("https://aksaraakademiaid.com/public/gambar/exo.gif") fixed !important;
    background-size: auto;
    font-family: 'Segoe UI', 'Poppins', Roboto, Helvetica, Arial, sans-serif;
    color: #1a3668;
    overflow-x: hidden;
}

p,
.obj_article_details .abstract {
    text-align: justify !important;
    line-height: 1.68;
}

h1, h2, h3, h4, h5, h6,
.pkp_structure_sidebar .pkp_block .title {
    font-family: 'Segoe UI', 'Poppins', Roboto, Helvetica, Arial, sans-serif;
    color: #0a1936;
}

.journals ul .body .description a {
    display: inline;
}

/* 2. TAUTAN & TOMBOL UTAMA (ROYAL BLUE & GOLD) */
a {
    color: #224b96;
    transition: all 0.25s ease;
}

a:hover,
a:focus {
    color: #b8860b;
}

.cmp_button_wire,
.obj_galley_link {
    background: linear-gradient(90deg, #0a1936 0%, #224b96 100%) !important;
    border: 1px solid #224b96 !important;
    border-bottom: 2px solid #d4af37 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    padding: 5px 14px !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
}

.cmp_button_wire:hover,
.obj_galley_link:hover {
    background: linear-gradient(90deg, #d4af37 0%, #ffd269 100%) !important;
    border-color: #d4af37 !important;
    color: #050d1e !important;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}

/* 3. STRUKTUR HALAMAN UTAMA (PAGE CONTAINER) */
.pkp_structure_page {
    margin: 20px auto !important;
    width: 1162px;
    padding-bottom: 0 !important;
    background: #ffffff;
    border: 1px solid #d0dcf0;
    border-top: 4px solid #d4af37;
    box-shadow: 0 10px 30px rgba(5, 13, 30, 0.16);
}

.pkp_structure_content {
    padding-top: 10px;
}

@media (max-width: 1180px) {
    .pkp_structure_page {
        width: 96%;
    }
}

@media (max-width: 1000px) {
    .pkp_structure_page {
        width: 100%;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
}

/* 4. HEADER, BANNER & NAVIGASI USER ATAS */
.pkp_site_name_wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
}

.pkp_site_name {
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.pkp_site_name > a {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.pkp_site_name .is_img img {
    max-height: 220px !important;
    max-width: 100%;
    width: 100%;
    display: block;
}

.pkp_navigation_user_wrapper {
    top: 0;
    right: 0;
    padding-right: 15px;
    z-index: 999;
}

.pkp_navigation_user_wrapper .pkp_navigation_user {
    font-family: 'Segoe UI', 'Poppins', sans-serif;
    font-weight: 600;
    border-bottom: 2px solid #d4af37;
    background: rgba(5, 13, 30, 0.85);
    border-radius: 0 0 8px 8px;
    padding: 2px 8px;
}

.pkp_navigation_user_wrapper .pkp_navigation_user > li.profile {
    background: #224b96;
    color: #ffffff;
    border-radius: 4px;
}

.pkp_navigation_user_wrapper .pkp_navigation_user > li.profile > a {
    font-weight: 600 !important;
    padding-right: 10px;
    color: #ffffff !important;
}

.pkp_navigation_user_wrapper .pkp_navigation_user > li.profile > ul.dropdown-menu {
    border-radius: 0 0 6px 6px !important;
    border-top: 2px solid #d4af37;
}

.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: #ffd269 !important;
}

/* 5. MENU NAVIGASI UTAMA (PRIMARY NAVIGATION BAR - ROYAL BLUE & GOLD) */
.pkp_navigation_primary_row {
    background: linear-gradient(90deg, #050d1e 0%, #15326b 50%, #224b96 100%) !important;
    border-top: 2px solid #d4af37 !important;
    border-bottom: 3px solid #f5b041 !important;
}

.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 14px !important;
    line-height: 44px !important;
    font-family: 'Segoe UI', 'Poppins', sans-serif !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.3px;
    border-bottom: none !important;
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li a:hover,
.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li a:focus {
    background: rgba(212, 175, 55, 0.22) !important;
    color: #ffd269 !important;
}

/* Sub-Menu Dropdown */
.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li ul {
    background: #0a1936 !important;
    border: 1px solid #d4af37 !important;
    border-radius: 0 0 8px 8px !important;
    box-shadow: 0 8px 20px rgba(5, 13, 30, 0.3) !important;
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !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 ul li ul li a:hover {
    background: linear-gradient(90deg, #d4af37 0%, #ffd269 100%) !important;
    color: #050d1e !important;
    font-weight: 700 !important;
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper .pkp_search.is_open input[type=text] {
    font-family: 'Segoe UI', 'Poppins', sans-serif;
    border: 1px solid #d4af37;
}

/* 6. DAFTAR ARTIKEL & ISSUE TOC (KARTU ARTIKEL MODERN) */
.obj_issue_toc .articles > li {
    margin-bottom: 18px !important;
    border-bottom: 2px solid #d0dcf0 !important;
    padding: 14px !important;
    background-color: #ffffff;
    border-radius: 8px;
}

.obj_article_summary {
    border: 1px solid #d0dcf0 !important;
    border-left: 4px solid #224b96 !important;
    padding: 14px 16px !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(10, 25, 54, 0.06) !important;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    transition: all 0.25s ease;
}

.obj_article_summary:hover {
    border-left-color: #d4af37 !important;
    box-shadow: 0 6px 18px rgba(10, 25, 54, 0.12) !important;
}

.obj_article_summary .title a {
    color: #0a1936 !important;
    font-weight: 700 !important;
}

.obj_article_summary .title a:hover {
    color: #224b96 !important;
}

.obj_article_summary .item.doi .label {
    background: 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: #224b96;
}

.obj_article_summary .item.stats .galley:before {
    content: "\f1c1";
    font-family: FontAwesome;
    left: -15px;
    position: absolute;
    top: 0;
    color: #b8860b;
}

/* 7. SIDEBAR BLOK & MENU SAMPING (ROYAL BLUE & GOLD) */
.pkp_block {
    margin: 0 !important;
    padding: 12px 10px !important;
}

.sidebar-block {
    background: linear-gradient(90deg, #0a1936 0%, #224b96 100%) !important;
    border-left: 4px solid #f5b041 !important;
    padding: 8px 12px !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-radius: 6px;
    margin: 10px 0 !important;
}

/* Custom Block Sidebar Menu */
#customblock-Sidebar_menu.pkp_block {
    margin: 0 !important;
    padding: 0 10px 10px 10px !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: linear-gradient(90deg, #0a1936 0%, #1d428a 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-left: 3px solid #d4af37 !important;
}

#customblock-Sidebar_menu.pkp_block ul li:first-child {
    border-radius: 6px 6px 0 0;
}

#customblock-Sidebar_menu.pkp_block ul li:last-child {
    border-bottom: none !important;
    border-radius: 0 0 6px 6px;
}

#customblock-Sidebar_menu.pkp_block ul li a {
    background: transparent !important;
    display: block;
    line-height: 40px;
    padding: 0 12px 0 16px;
    color: #ffffff !important;
    font-weight: 600;
    text-decoration: none;
}

#customblock-Sidebar_menu.pkp_block ul li a:hover {
    background: linear-gradient(90deg, #d4af37 0%, #ffd269 100%) !important;
    color: #050d1e !important;
    font-weight: 700;
    padding-left: 20px;
}

/* Tombol Make a Submission di Sidebar */
.pkp_block.block_make_submission .content {
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
}

.pkp_block.block_make_submission .content a {
    display: block !important;
    background: linear-gradient(90deg, #d4af37 0%, #ffd269 100%) !important;
    color: #050d1e !important;
    font-weight: 800 !important;
    line-height: 42px !important;
    border-radius: 8px !important;
    border: 1px solid #b8860b !important;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none !important;
}

.pkp_block.block_make_submission .content a:hover {
    background: linear-gradient(90deg, #0a1936 0%, #224b96 100%) !important;
    color: #ffd269 !important;
    border-color: #d4af37 !important;
}

/* Tools & Visitor Statistics */
#customblock-Tools .content > .content div {
    width: 85% !important;
    margin: auto;
}

#customblock-Tools .content > .content div a img {
    width: 100% !important;
    border-radius: 6px;
}

#customblock-Visitor_statistics .content > .content .supercounter,
#customblock-Visitor_statistics .content > .content .statcounter {
    text-align: center;
}

/* 8. ANNOUNCEMENTS */
.cmp_announcements .obj_announcement_summary.full_width {
    width: 100% !important;
}

.cmp_announcements .obj_announcement_summary .summary p {
    line-height: 1.5em;
    margin-top: 0 !important;
    margin-bottom: 1em !important;
}

/* 9. REKOMENDASI & DAFTAR ARTIKEL TERKAIT (Pencegahan Teks Putih Tak Terbaca) */
.item.recommendations,
.most_read,
.pkp_structure_main ul li {
    color: #1a3668;
}

/* 10. FOOTER UTAMA OJS (DEEP NAVY & GOLD ACCENT) */
.pkp_structure_footer_wrapper {
    background: radial-gradient(circle at top right, #1e4694 0%, #0a1936 55%, #050d1e 100%) !important;
    border-top: 4px solid #d4af37 !important;
    border-bottom: none !important;
    color: #ffffff !important;
}

.pkp_structure_footer .pkp_footer_content,
#pkp_footer_content {
    background: transparent !important;
    color: #ffffff !important;
    padding: 24px 22px !important;
    text-align: justify;
}

.pkp_structure_footer .pkp_footer_content * {
    color: #ffffff !important;
}

.pkp_structure_footer .pkp_footer_content a {
    color: #ffd269 !important;
    text-decoration: underline;
}

.pkp_structure_footer .pkp_footer_content p {
    margin: 0 0 8px 0;
}

.pkp_structure_footer .pkp_brand_footer {
    background: rgba(5, 13, 30, 0.5) !important;
    height: auto !important;
    padding: 12px 20px !important;
    border-top: 1px solid rgba(212, 175, 55, 0.25);
}

.pkp_structure_footer .pkp_brand_footer img {
    width: 65px !important;
    height: auto;
}

.pkp_structure_footer .pkp_footer_content img,
.pkp_structure_footer .pkp_footer_content div.logo2 img {
    width: 88px;
    height: 31px;
}

.pkp_structure_footer .pkp_footer_content div.logo img {
    width: 65px;
    height: 65px;
}

/* 11. KOMPONEN TAMBAHAN (KOLOM & USER NAV BUBBLE) */
.column2 {
    float: left;
    width: 33.33%;
    padding: 10px;
    box-sizing: border-box;
}

.row2:after {
    content: "";
    display: table;
    clear: both;
}

@media screen and (max-width: 600px) {
    .column2 {
        width: 100%;
    }
}

.user_nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.user_nav a {
    display: inline-block;
    padding: 9px 16px;
    background: linear-gradient(90deg, #0a1936 0%, #224b96 100%);
    border-bottom: 2px solid #d4af37;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(10, 25, 54, 0.22);
    transition: all 0.3s ease;
}

.user_nav a:hover {
    background: linear-gradient(90deg, #d4af37 0%, #ffd269 100%);
    color: #050d1e !important;
    transform: translateY(-2px);
}