/* ======================================== */
/*            FINAL CSS - IQRQ JOURNAL      */
/*            VERSION FULL - 16 JUNI 2026   */
/* ======================================== */

/* ---------- RESET & BASE ---------- */
html, body {
  background: url(https://journal.uinsgd.ac.id/public/site/images/bbusro/bg.jpg);
  background-size: 300px;
  overflow-x: hidden;
  font-family: tahoma, geneva, sans-serif;
}

/* ---------- HOMEPAGE AREA - DIPERLEBAR ---------- */
/* INI PERUBAHAN UTAMA: AREA ABOUT THE JOURNAL DIPERLEBAR */
.homepage_about {
    display: block !important;      /* dari inline-block jadi block */
    width: 100% !important;         /* dari 70% jadi 100% - LEBAR PENUH */
    margin-top: 0;
}

.homepage_about p {
    text-align: justify;
}

/* Gambar tetap dipertahankan, tidak mengganggu lebar teks */
.homepage_image {
    float: right;
    width: 280px;
    max-width: 100%;
    margin-left: 20px;
    margin-bottom: 20px;
}

.homepage_image img {
    margin: 0;                      /* hilangkan margin negatif -20px */
    width: 100%;
    box-shadow: 4px 2px 5px gray;
    border-radius: 4px;
}

/* Responsive untuk mobile */
@media (max-width: 768px) {
    .homepage_image {
        float: none;
        width: 100%;
        margin: 0 auto 20px;
        text-align: center;
    }
    
    .homepage_image img {
        max-width: 280px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .homepage_about {
        width: 100% !important;
        margin-top: 20px;
    }
}

@media (max-width: 360px) {
    .homepage_image {
        width: 100%;
        margin: 0 0 15px 0;
    }
    .homepage_about {
        margin-top: 0;
    }
}

/* ---------- CURRENT ISSUE ---------- */
.current_issue {
    display: block;
    clear: both;
}

/* ---------- NAVIGATION USER ---------- */
.pkp_navigation_user > li > a {
    color: rgba(0,0,0,0.84);
    background: #8c8c8c;
}

/* ---------- SIDEBAR BLOCK ---------- */
.pkp_block {
    padding: 2.143rem 1.43rem;
    font-size: 1rem;
    line-height: 1.43rem;
    width: 300px;
}

@media (max-width: 480px) {
    .pkp_block {
        width: 100%;
        padding: 1rem;
    }
}

/* ===== FLAG WAVE ANIMATION ===== */
.flag-wave {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.flag-wave img {
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    animation: flagWave 2s ease-in-out infinite;
    transform-origin: left center;
}

.flag-wave img:nth-child(1) { animation-delay: 0s; }
.flag-wave img:nth-child(2) { animation-delay: 0.2s; }
.flag-wave img:nth-child(3) { animation-delay: 0.4s; }
.flag-wave img:nth-child(4) { animation-delay: 0.6s; }
.flag-wave img:nth-child(5) { animation-delay: 0.8s; }
.flag-wave img:nth-child(6) { animation-delay: 1.0s; }
.flag-wave img:nth-child(7) { animation-delay: 1.2s; }

@keyframes flagWave {
    0%   { transform: skewX(0deg) scaleX(1); }
    25%  { transform: skewX(-3deg) scaleX(0.97); }
    50%  { transform: skewX(3deg) scaleX(1.02); }
    75%  { transform: skewX(-2deg) scaleX(0.98); }
    100% { transform: skewX(0deg) scaleX(1); }
}

/* ===== SIDEBAR CUSTOM MENU (LAMA) ===== */
.custom-sidebar-container {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.sidebar-header-main {
    color: #ffffff;
    font-weight: bold;
    padding: 10px 12px;
    margin: -15px -15px 15px -15px;
    border-radius: 10px 10px 0 0;
    text-align: center;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.sidebar-menu-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-menu-list a {
    background: #eef2f5;
    padding: 10px 12px;
    text-decoration: none;
    color: #2c3e50;
    border-radius: 6px;
    font-size: 0.85rem;
    transition: all 0.25s ease;
    font-weight: 500;
    display: block;
    border: 1px solid transparent;
}

.sidebar-menu-list a:hover {
    background: #2c3e50;
    color: white;
    transform: translateX(5px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-color: #1a252f;
}

.sidebar-menu-list .highlight-menu {
    background: #28a745 !important;
    color: white !important;
    font-weight: bold;
}

.sidebar-menu-list .highlight-menu:hover {
    background: #1e7e34 !important;
    transform: translateX(5px);
}

.indexing-grid {
    text-align: center;
    margin: 10px 0;
}

.indexing-grid img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    transition: opacity 0.2s;
}

.indexing-grid img:hover {
    opacity: 0.85;
}

/* Responsif sidebar lama untuk HP */
@media (max-width: 768px) {
    .sidebar-menu-list a {
        font-size: 0.8rem;
        padding: 8px 10px;
    }
    
    .custom-sidebar-container {
        padding: 12px;
    }
    
    .sidebar-header-main {
        font-size: 0.9rem;
        padding: 8px 10px;
        margin: -12px -12px 12px -12px;
    }
}

/* ---------- GABUNGAN DARI STYLESHEET.CSS (ARTIKEL & FOOTER) ---------- */
/* List Artikel Background */
.obj_issue_toc .articles > li {
    margin-bottom: 20px;
    border-bottom: solid darkseagreen;
    background: transparent url("https://ejournal.iainpalopo.ac.id/index.php/ideas/libraryFiles/downloadPublic/57") repeat scroll 0% 0% !important;
    padding: 1rem;
}

/* Header & Navigasi */
.pkp_site_name {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.pkp_site_name > a {
    padding-top: 0;
    padding-bottom: 0;
}

.pkp_site_name .is_img img {
    max-height: 200px !important;
}

.pkp_site_name_wrapper {
    padding-left: 0;
    padding-right: 0;
}

.pkp_navigation_user_wrapper {
    top: 0;
    right: 0;
    padding-right: 30px;
}

.pkp_structure_page {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    padding-bottom: 20px !important;
}

/* Footer Layout */
.pkp_footer_content {
    float: left;
    width: 70%;
    padding-top: 10px;
    padding-bottom: 10px;
}

.pkp_brand_footer {
    float: right;
    width: 30%;
    padding-bottom: 10px;
    padding-top: 100px;
}

/* Clearfix */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* Abstract text alignment */
.obj_article_details .abstract {
    text-align: justify;
}

/* ---------- PERBAIKAN UNTUK MEMASTIKAN TEKS MELEBAR ---------- */
/* Kontainer utama - pastikan tidak ada padding berlebih */
.pkp_structure_content {
    max-width: 100%;
}

/* Hilangkan batasan lebar pada page functional */
.pkp_page_functional {
    width: 100%;
}

/* Pastikan area konten homepage menggunakan full width */
.page_index_journal .pkp_structure_main {
    width: 100%;
}

/* ======================================== */
/* SIDEBAR MENU FIT - TAMBAHAN BARU        */
/* (FIT, TULISAN BESAR, HOVER KUNING EMAS) */
/* ======================================== */
/* SEMUA selector menggunakan class unik "fit" 
   sehingga tidak mengganggu CSS existing */

.custom-sidebar-container-fit {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.sidebar-header-fit {
    background: linear-gradient(135deg, #d2691e, #b85e1a);
    color: #ffffff;
    font-weight: bold;
    padding: 12px 15px;
    text-align: center;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.sidebar-header-fit i {
    margin-right: 8px;
}

.sidebar-menu-list-fit {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 4px;
}

.sidebar-menu-list-fit a {
    background: #f5f7fa;
    padding: 12px 14px;
    text-decoration: none;
    color: #2c3e50;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.25s ease;
    display: block;
    border-left: 3px solid transparent;
}

.sidebar-menu-list-fit a i {
    width: 32px;
    margin-right: 10px;
    text-align: center;
    font-size: 1.05rem;
    color: #d2691e;
}

.sidebar-menu-list-fit a:hover {
    background: #f5c542;
    color: #1a1a2e;
    transform: translateX(3px);
    border-left: 3px solid #d2691e;
    box-shadow: 0 2px 8px rgba(210, 105, 30, 0.2);
}

.sidebar-menu-list-fit a:hover i {
    color: #b85e1a;
}

/* CSS KHUSUS UNTUK MENU TEMPLATE DENGAN GAMBAR */
.template-menu-fit {
    background: #e8f4fd !important;
    border: 1px solid #cde5f5 !important;
    margin-top: 8px;
}

.template-menu-fit:hover {
    background: #f5c542 !important;
    border-color: #d2691e !important;
}

.template-menu-fit:hover img {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

.template-menu-fit img {
    transition: transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Responsive untuk sidebar menu fit */
@media (max-width: 768px) {
    .sidebar-menu-list-fit a {
        padding: 10px 12px;
        font-size: 0.88rem;
    }
    
    .sidebar-menu-list-fit a i {
        width: 28px;
        font-size: 0.95rem;
    }
    
    .sidebar-header-fit {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .custom-sidebar-container-fit {
        border-radius: 6px;
    }
    
    .sidebar-menu-list-fit {
        gap: 1px;
        padding: 3px;
    }
    
    .sidebar-menu-list-fit a {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
}

/* ======================================== */
/* ABOUT THE JOURNAL - IQRO STYLE          */
/* ======================================== */

.iqro-about-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header Section */
.iqro-about-header {
    background: linear-gradient(135deg, #d2691e, #b85e1a);
    color: white;
    padding: 30px 25px;
    border-radius: 12px 12px 0 0;
    margin-bottom: 0;
}

.iqro-about-title {
    font-size: 2rem;
    margin: 0 0 10px 0;
    font-weight: bold;
    letter-spacing: 1px;
}

.iqro-about-title i {
    margin-right: 12px;
}

.iqro-about-subtitle {
    font-size: 1.3rem;
    margin: 0 0 15px 0;
    opacity: 0.95;
}

.iqro-about-badge {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.badge-eissn, .badge-frequency, .badge-language {
    background: rgba(255,255,255,0.2);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Content Description */
.iqro-about-content {
    background: white;
    padding: 25px;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
}

.iqro-description p {
    text-align: justify;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #2c3e50;
}

/* Scope Grid */
.iqro-scope-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.scope-tag {
    background: #f0f4f8;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.85rem;
    color: #2c3e50;
    transition: all 0.2s ease;
    border-left: 3px solid #d2691e;
}

.scope-tag:hover {
    background: #d2691e;
    color: white;
    transform: translateX(3px);
}

/* Journal Information Card */
.iqro-info-card {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-top: none;
    padding: 20px 25px;
}

.iqro-info-card h3 {
    color: #d2691e;
    font-size: 1.3rem;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-table {
    width: 100%;
}

.info-row {
    display: flex;
    flex-wrap: wrap;
    padding: 10px 0;
    border-bottom: 1px dashed #dee2e6;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    width: 150px;
    font-weight: bold;
    color: #2c3e50;
}

.info-value {
    flex: 1;
    color: #555;
}

/* Submission Card */
.iqro-submission-card {
    background: white;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 20px 25px;
}

.iqro-submission-card h3 {
    color: #d2691e;
    font-size: 1.3rem;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.submission-requirements {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.requirement-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.requirement-item i {
    font-size: 1.8rem;
    color: #d2691e;
    min-width: 45px;
    text-align: center;
    margin-top: 5px;
}

.requirement-text strong {
    display: block;
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 1rem;
}

.requirement-text p {
    margin: 0;
    color: #666;
    line-height: 1.5;
    font-size: 0.9rem;
}

.submission-warning {
    margin-top: 25px;
    background: #fff3e0;
    border-left: 4px solid #d2691e;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 0.9rem;
    color: #856404;
}

.submission-warning i {
    font-size: 1.3rem;
    color: #d2691e;
}

/* Responsive About Page */
@media (max-width: 768px) {
    .iqro-about-header {
        padding: 20px 15px;
    }
    
    .iqro-about-title {
        font-size: 1.5rem;
    }
    
    .iqro-about-subtitle {
        font-size: 1rem;
    }
    
    .info-label {
        width: 120px;
        font-size: 0.85rem;
    }
    
    .info-value {
        font-size: 0.85rem;
    }
    
    .requirement-item {
        flex-direction: column;
        gap: 8px;
    }
    
    .requirement-item i {
        margin-top: 0;
    }
    
    .scope-tag {
        font-size: 0.75rem;
        padding: 5px 12px;
    }
}

@media (max-width: 480px) {
    .iqro-about-badge {
        flex-direction: column;
        gap: 8px;
    }
    
    .badge-eissn, .badge-frequency, .badge-language {
        display: inline-block;
        width: fit-content;
    }
    
    .info-row {
        flex-direction: column;
        gap: 4px;
    }
    
    .info-label {
        width: 100%;
    }
}