/* =====================================================
   OJS FINAL THEME — HERITAGE STYLE (FINAL COMPLETE)
   Banner normal | Header sticky | Ideal spacing
   Remove vertical line bug | Border ONLY Sidebar & Main
   Premium Sidebar Pseudo Icons | Enhanced Article List
   Compatible : OJS 3.3 / 3.4 / 3.5
===================================================== */

/* =========================
   COLOR SYSTEM
========================= */
:root {
  --primary: #8b1c1c;
  --primary-dark: #6d1515;
  --accent: #d4af37;
  --border: #e5e7eb;
  --text: #1f2937;
  --bg-soft: #f3f4f6;
}

/* =========================
   GLOBAL RESET
========================= */
*,
*::before,
*::after {
  border: none !important;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-soft);
  color: var(--text);
}

/* =====================================================
   HEADER & NAVIGATION
===================================================== */
.pkp_structure_head {
  background: var(--primary) !important;
  border-bottom: 4px solid var(--accent) !important;
  position: sticky;
  top: 0;
  z-index: 999;
  margin-bottom: 0 !important;
}

.pkp_structure_head_wrapper,
.pkp_head_wrapper,
.pkp_site_name_wrapper,
.pkp_site_name,
.pkp_navigation_primary_wrapper {
  background: transparent !important;
  padding-bottom: 0 !important;
}

.pkp_navigation_primary > li > a {
  color: #ffffff;
  font-weight: 600;
  padding: 14px 18px;
  border-radius: 6px;
}

.pkp_navigation_primary > li > a:hover {
  background: rgba(255,255,255,0.15);
}

.pkp_navigation_primary > li.current > a {
  background: rgba(255,255,255,0.18);
}

/* =====================================================
   PAGE CONTAINER
===================================================== */
.pkp_structure_page {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.pkp_structure_content {
  margin-top: 22px !important;
  padding-top: 0 !important;
  border: none !important;
}

/* =====================================================
   BANNER
===================================================== */
.homepage_image,
.page_index_journal .homepage_image,
.pkp_structure_main > img:first-child {
  position: static !important;
  width: 100%;
  max-width: 100%;
  margin: 0 0 22px 0;
  border-radius: 10px;
  display: block;
}

/* =====================================================
   MAIN CONTENT & SIDEBAR
===================================================== */
.pkp_structure_main {
  background: #ffffff;
  padding: 28px;
  margin-top: 6px;
  border-radius: 14px;
  border: 1px solid var(--border) !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  overflow: hidden;
}

.pkp_structure_sidebar {
  padding-left: 22px;
}

/* =====================================================
   STICKY SIDEBAR
===================================================== */
@media (min-width: 992px) {
  .pkp_structure_sidebar {
    position: sticky;
    top: 110px;
  }
}

@media (max-width: 992px) {
  .pkp_structure_sidebar {
    padding-left: 0;
    margin-top: 18px;
  }
}

@media (max-width: 768px) {
  .pkp_structure_main {
    padding: 18px;
  }
}

/* =====================================================
   PREMIUM SIDEBAR BLOCK - MAIN STYLE
   FIX: Background title full width
===================================================== */
.pkp_block {
    background: #ffffff;
    padding: 0 !important;
    margin-bottom: 24px;
    border-radius: 20px;
    border: 1px solid var(--border) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.pkp_block:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* Block Title - PUTIH ELEGAN */
.pkp_block .title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary) !important;
    background: #ffffff !important;
    padding: 14px 20px !important;
    margin: 0 !important;
    border-bottom: 2px solid var(--accent) !important;
    position: relative;
    overflow: hidden;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box;
    border-radius: 0 !important;
}

/* Animated gradient overlay */
.pkp_block .title::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.03), transparent);
    transition: left 0.5s ease;
}

.pkp_block:hover .title::before {
    left: 100%;
}

/* Title icon (kanan) */
.pkp_block .title::after {
    content: "\f0c9";
    font-family: 'FontAwesome', 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.pkp_block:hover .title::after {
    transform: translateY(-50%) rotate(90deg);
}

/* Menu List */
.pkp_block ul {
    list-style: none;
    padding: 8px 0 !important;
    margin: 0 !important;
}

.pkp_block ul li {
    margin-bottom: 0 !important;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.pkp_block ul li:last-child {
    border-bottom: none;
}

/* Link Styling */
.pkp_block ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px !important;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    background: transparent !important;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    position: relative;
    z-index: 1;
}

/* Sliding background */
.pkp_block ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.pkp_block ul li a:hover::before {
    left: 0;
}

.pkp_block ul li a:hover {
    color: #ffffff !important;
    transform: translateX(5px);
}

/* Arrow icon */
.pkp_block ul li a::after {
    font-family: 'FontAwesome', 'Font Awesome 6 Free';
    font-weight: 900;
    content: "\f054";
    margin-left: auto;
    font-size: 12px;
    color: var(--accent);
    transition: transform 0.2s ease;
}

.pkp_block ul li a:hover::after {
    color: #ffffff;
    transform: translateX(3px);
}

/* =====================================================
   CUSTOM MENU BLOCK - JOURNAL MENU
   FIX: Background title full width
===================================================== */
.custom-menu-block {
    background: #ffffff;
    border-radius: 20px;
    margin-bottom: 24px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    padding: 0 !important;
}

.custom-menu-block:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* Block Title - PUTIH ELEGAN */
.custom-menu-block .block-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary) !important;
    background: #ffffff !important;
    padding: 14px 20px !important;
    margin: 0 !important;
    position: relative;
    overflow: hidden;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box;
    border-radius: 0 !important;
    border-bottom: 2px solid var(--accent) !important;
}

.custom-menu-block .block-title::before {
    content: '📋';
    margin-right: 10px;
    font-size: 16px;
    display: inline-block;
}

.custom-menu-block .block-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.03), transparent);
    transition: left 0.5s ease;
}

.custom-menu-block:hover .block-title::after {
    left: 100%;
}

.custom-menu-block ul {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.custom-menu-block ul li {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.custom-menu-block ul li:last-child {
    border-bottom: none;
}

.custom-menu-block ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

/* Sliding background for custom menu */
.custom-menu-block ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.custom-menu-block ul li a:hover::before {
    left: 0;
}

.custom-menu-block ul li a:hover {
    color: #ffffff !important;
    transform: translateX(5px);
}

/* Arrow icon for custom menu */
.custom-menu-block ul li a::after {
    font-family: 'FontAwesome', 'Font Awesome 6 Free';
    font-weight: 900;
    content: "\f054";
    margin-left: auto;
    font-size: 12px;
    color: var(--accent);
    transition: transform 0.2s ease;
}

.custom-menu-block ul li a:hover::after {
    color: #ffffff;
    transform: translateX(3px);
}

/* =====================================================
   CSS PSEUDO ICONS - MENU ICONS (BERDASARKAN TEKS)
   Icons akan muncul otomatis tanpa perlu menulis di HTML
===================================================== */

/* Icon untuk setiap menu berdasarkan teks */
.custom-menu-block ul li a:contains("Editorial Team")::before {
    content: "👥";
    font-size: 14px;
    margin-right: 10px;
    transition: all 0.2s ease;
}

.custom-menu-block ul li a:contains("Peer Reviewers")::before {
    content: "🔍";
    font-size: 14px;
    margin-right: 10px;
    transition: all 0.2s ease;
}

.custom-menu-block ul li a:contains("Focus and Scope")::before {
    content: "🎯";
    font-size: 14px;
    margin-right: 10px;
    transition: all 0.2s ease;
}

.custom-menu-block ul li a:contains("Peer Review Process")::before {
    content: "📋";
    font-size: 14px;
    margin-right: 10px;
    transition: all 0.2s ease;
}

.custom-menu-block ul li a:contains("Publication Ethics")::before {
    content: "⚖️";
    font-size: 14px;
    margin-right: 10px;
    transition: all 0.2s ease;
}

.custom-menu-block ul li a:contains("Online Submission")::before,
.custom-menu-block ul li a:contains("Submissions")::before {
    content: "📝";
    font-size: 14px;
    margin-right: 10px;
    transition: all 0.2s ease;
}

.custom-menu-block ul li a:contains("Author Guidelines")::before {
    content: "📚";
    font-size: 14px;
    margin-right: 10px;
    transition: all 0.2s ease;
}

.custom-menu-block ul li a:contains("Plagiarism")::before {
    content: "⚠️";
    font-size: 14px;
    margin-right: 10px;
    transition: all 0.2s ease;
}

.custom-menu-block ul li a:contains("Retraction")::before {
    content: "↩️";
    font-size: 14px;
    margin-right: 10px;
    transition: all 0.2s ease;
}

.custom-menu-block ul li a:contains("Allegation")::before,
.custom-menu-block ul li a:contains("Misconduct")::before {
    content: "⚠️";
    font-size: 14px;
    margin-right: 10px;
    transition: all 0.2s ease;
}

.custom-menu-block ul li a:contains("Article Processing")::before,
.custom-menu-block ul li a:contains("APC")::before {
    content: "💰";
    font-size: 14px;
    margin-right: 10px;
    transition: all 0.2s ease;
}

.custom-menu-block ul li a:contains("Open Access")::before {
    content: "🔓";
    font-size: 14px;
    margin-right: 10px;
    transition: all 0.2s ease;
}

.custom-menu-block ul li a:contains("Template")::before {
    content: "📄";
    font-size: 14px;
    margin-right: 10px;
    transition: all 0.2s ease;
}

.custom-menu-block ul li a:contains("Ethical Statement")::before {
    content: "📜";
    font-size: 14px;
    margin-right: 10px;
    transition: all 0.2s ease;
}

.custom-menu-block ul li a:contains("Conflict")::before,
.custom-menu-block ul li a:contains("Conflict of Interest")::before {
    content: "📋";
    font-size: 14px;
    margin-right: 10px;
    transition: all 0.2s ease;
}

.custom-menu-block ul li a:contains("Initial Manuscript")::before {
    content: "📊";
    font-size: 14px;
    margin-right: 10px;
    transition: all 0.2s ease;
}

/* Hover effect untuk icons */
.custom-menu-block ul li a:hover::before {
    transform: scale(1.1);
    display: inline-block;
}

/* =====================================================
   CUSTOM BLOCK - PARAGRAPH SPACING
   Memberikan jarak atas, bawah, kiri, kanan untuk tag <p>
===================================================== */
.custom-menu-block p,
.pkp_block p {
    padding: 14px 20px !important;
    margin: 0 !important;
    line-height: 1.7;
    font-size: 13px;
    color: var(--text);
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
}

.custom-menu-block p:last-child,
.pkp_block p:last-child {
    border-bottom: none;
}

.custom-menu-block p:not(:first-child),
.pkp_block p:not(:first-child) {
    border-top: 1px solid #f0f0f0;
    border-bottom: none;
}

/* Paragraph styling untuk block lain */
.block p,
.custom-block p {
    padding: 14px 20px !important;
    margin: 0 !important;
    line-height: 1.7;
    font-size: 13px;
    color: var(--text);
    background: #ffffff;
}

/* =====================================================
   ADDITIONAL CONTENT — ABOUT TOP + IMAGE INFO ROW
===================================================== */
.additional-content {
    display: block;
    padding: 16px;
    margin-top: 10px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.additional-content .about {
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.7;
    text-align: justify;
}

.additional-content .about .title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.additional-content .info-row {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.additional-content .cover {
    width: 140px;
    min-width: 140px;
}

.additional-content .cover img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.additional-content .info {
    flex: 1;
}

.additional-content .info .title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.additional-content .info .desc {
    text-align: justify;
    line-height: 1.6;
}

.additional-content .info ul {
    padding-left: 26px;
    margin-top: 8px;
}

.additional-content .info ul li {
    margin-bottom: 6px;
}

.additional-content .info ul li::marker {
    color: var(--primary);
}

@media (max-width: 768px) {
    .additional-content .info-row {
        flex-direction: column;
    }
    .additional-content .cover {
        width: 100%;
    }
}

/* =====================================================
   ENHANCED ARTICLE LIST - PREMIUM STYLE
===================================================== */
.obj_article_summary {
    background: #ffffff;
    border-radius: 20px !important;
    padding: 24px !important;
    margin-bottom: 24px !important;
    border: 1px solid var(--border) !important;
    transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    position: relative;
    overflow: hidden;
}

.obj_article_summary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.obj_article_summary:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.2);
    border-color: var(--accent) !important;
}

.obj_article_summary:hover::after {
    opacity: 1;
}

.obj_article_summary .title {
    margin-bottom: 14px;
}

.obj_article_summary .title a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 800;
    font-size: 19px;
    line-height: 1.4;
    transition: color 0.25s ease;
    display: inline-block;
}

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

.obj_article_summary .authors {
    color: #4b5563;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.obj_article_summary .authors span {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    padding: 4px 12px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-dark);
    transition: all 0.25s ease;
}

.obj_article_summary .authors span::before {
    content: "✍️";
    font-size: 11px;
}

.obj_article_summary .authors span:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.obj_article_summary .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0;
}

.obj_article_summary .meta .pages,
.obj_article_summary .meta .published,
.obj_article_summary .meta .doi {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 500;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
}

.obj_article_summary .meta .pages::before { content: "📄"; }
.obj_article_summary .meta .published::before { content: "📅"; }
.obj_article_summary .meta .doi::before { content: "🆔"; }

.obj_article_summary .galleys .obj_galley_link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.obj_article_summary .galleys .obj_galley_link:hover {
    background: linear-gradient(135deg, var(--accent) 0%, #b8941a 100%);
    transform: translateY(-3px);
}

/* =====================================================
   ARCHIVE PAGE - PREMIUM CARD LAYOUT
===================================================== */
.page_archive {
    background: transparent;
}

.page_archive h1,
#archiveHeading {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 4px solid var(--accent);
    display: inline-block;
}

.page_archive h1::before,
#archiveHeading::before {
    content: "📚 ";
}

.page_archive h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-dark);
    margin: 45px 0 25px 0;
    padding-left: 18px;
    border-left: 5px solid var(--accent);
    display: flex;
    align-items: center;
    gap: 10px;
}

.page_archive h2::before {
    content: "📅 ";
}

.obj_issue_summary,
.issue-summary,
.toc_issue {
    background: #ffffff;
    border-radius: 28px;
    margin-bottom: 32px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.35s ease;
    position: relative;
    display: block !important;
}

.obj_issue_summary:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 40px -15px rgba(0, 0, 0, 0.2);
    border-color: var(--accent);
}

.obj_issue_summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.obj_issue_summary:hover::before {
    opacity: 1;
}

.obj_issue_summary .title {
    display: block !important;
    width: 100%;
    margin: 0 0 22px 0 !important;
    padding: 0 0 18px 0 !important;
    border-bottom: 2px solid rgba(212, 175, 55, 0.25);
}

.obj_issue_summary .title a {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.obj_issue_summary .title a:hover {
    color: var(--accent);
}

.content-row {
    display: flex;
    gap: 35px;
    align-items: flex-start;
}

.obj_issue_summary .cover {
    flex-shrink: 0;
    width: 220px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
}

.obj_issue_summary .cover img {
    width: 100%;
    max-width: 180px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.obj_issue_summary .description {
    flex: 1;
    margin: 0 !important;
    padding: 0 10px 0 0 !important;
}

.obj_issue_summary .description p {
    font-size: 14px;
    line-height: 1.7;
    color: #4b5563;
    margin: 0 0 16px 0 !important;
    text-align: justify;
}

.obj_issue_summary .published,
.obj_issue_summary .volume,
.obj_issue_summary .number {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 500;
    color: #475569;
    margin-right: 12px;
    margin-bottom: 18px;
}

.obj_issue_summary .published::before { content: "📅"; }
.obj_issue_summary .volume::before { content: "📊"; }
.obj_issue_summary .number::before { content: "🔢"; }

.obj_issue_summary .obj_galley_link {
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white !important;
    padding: 10px 28px !important;
    border-radius: 50px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    margin-top: 8px;
}

.obj_issue_summary .obj_galley_link:hover {
    background: linear-gradient(135deg, var(--accent) 0%, #b8941a 100%) !important;
    transform: translateY(-3px);
}

/* =====================================================
   PAGINATION
===================================================== */
.pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.pagination a,
.pagination .current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: 14px;
    background: white;
    border: 1px solid var(--border);
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.25s ease;
}

.pagination a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.pagination .current {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

/* =====================================================
   FOOTER
===================================================== */
.pkp_structure_footer_wrapper {
    background: #8f1d1d;
    margin-top: 25px;
    padding: 0;
}

.pkp_footer {
    background: #8f1d1d;
    color: #ffffff;
    padding: 20px 0 0;
    font-size: 13px;
    line-height: 1.6;
}

.pkp_footer .pkp_structure_page {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    background: transparent;
}

.pkp_footer .footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr 1.2fr;
    gap: 30px;
    align-items: start;
}

.pkp_footer h3,
.pkp_footer .footer-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffffff;
    border-bottom: 2px solid rgba(255,255,255,0.25);
    padding-bottom: 6px;
    display: inline-block;
}

.footer-about {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.journal-logo-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.journal-logo-footer img {
    max-width: 50px;
    height: auto;
    border-radius: 8px;
    background: #ffffff;
    padding: 4px;
}

.journal-name-footer {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.footer-about p {
    text-align: justify;
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 1.6;
}

.pkp_footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pkp_footer li {
    margin-bottom: 8px;
}

.pkp_footer a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 12px;
}

.pkp_footer a:hover {
    opacity: 0.8;
    text-decoration: underline;
    padding-left: 3px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.contact-address::before { content: "📍"; width: 22px; display: inline-block; }
.contact-email::before { content: "📧"; width: 22px; display: inline-block; }
.contact-phone::before { content: "📞"; width: 22px; display: inline-block; }

.footer-social-section {
    display: flex;
    flex-direction: column;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.social-item a {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-facebook::before { content: "📘"; width: 22px; display: inline-block; }
.social-instagram::before { content: "📷"; width: 22px; display: inline-block; }
.social-twitter::before { content: "🐦"; width: 22px; display: inline-block; }
.social-youtube::before { content: "▶️"; width: 22px; display: inline-block; }
.social-scholar::before { content: "🔗"; width: 22px; display: inline-block; }
.social-linkedin::before { content: "💼"; width: 22px; display: inline-block; }

.footer-brand {
    margin-top: 10px;
}

.footer-brand img {
    max-width: 100px;
    height: auto;
    display: block;
    opacity: 0.95;
}

.footer-bottom {
    margin-top: 25px;
    padding: 12px 0;
    text-align: center;
    font-size: 11px;
    border-top: 1px solid rgba(255,255,255,0.25) !important;
    background: rgba(0,0,0,0.08);
}

/* RESPONSIVE FOOTER */
@media (max-width: 992px) {
    .pkp_footer .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .footer-social-section {
        grid-column: span 2;
        margin-top: 10px;
        padding-top: 15px;
        border-top: 1px solid rgba(255,255,255,0.2);
    }
    .footer-social {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .pkp_footer .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    .footer-about p { text-align: center; }
    .footer-contact p { justify-content: center; }
    .social-item { justify-content: center; }
    .journal-logo-footer { justify-content: center; }
    .pkp_footer h3 { display: block; text-align: center; }
    .footer-social-section { grid-column: span 1; }
    .footer-social { flex-direction: column; align-items: center; }
    .footer-brand { display: flex; justify-content: center; }
}

/* =====================================================
   ANIMATIONS
===================================================== */
@keyframes cardEntrance {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.obj_article_summary {
    animation: cardEntrance 0.5s ease forwards;
    opacity: 0;
}

.obj_article_summary:nth-child(1) { animation-delay: 0.05s; }
.obj_article_summary:nth-child(2) { animation-delay: 0.1s; }
.obj_article_summary:nth-child(3) { animation-delay: 0.15s; }
.obj_article_summary:nth-child(4) { animation-delay: 0.2s; }
.obj_article_summary:nth-child(5) { animation-delay: 0.25s; }
.obj_article_summary:nth-child(6) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.custom-menu-block,
.pkp_block {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.custom-menu-block:nth-child(1) { animation-delay: 0.03s; }
.custom-menu-block:nth-child(2) { animation-delay: 0.06s; }
.custom-menu-block:nth-child(3) { animation-delay: 0.09s; }
.custom-menu-block:nth-child(4) { animation-delay: 0.12s; }
.custom-menu-block:nth-child(5) { animation-delay: 0.15s; }

.pkp_block:nth-child(1) { animation-delay: 0.03s; }
.pkp_block:nth-child(2) { animation-delay: 0.06s; }
.pkp_block:nth-child(3) { animation-delay: 0.09s; }
.pkp_block:nth-child(4) { animation-delay: 0.12s; }
.pkp_block:nth-child(5) { animation-delay: 0.15s; }

/* =====================================================
   DARK MODE SUPPORT
===================================================== */
@media (prefers-color-scheme: dark) {
    body {
        background: #0f172a;
    }
    
    .pkp_structure_main {
        background: #1e293b;
        border-color: #334155 !important;
    }
    
    .pkp_block,
    .custom-menu-block {
        background: #1e293b;
        border-color: #334155 !important;
    }
    
    .pkp_block ul li,
    .custom-menu-block ul li {
        border-bottom-color: #334155;
    }
    
    .pkp_block ul li a,
    .custom-menu-block ul li a {
        color: #cbd5e1;
    }
    
    /* Dark mode untuk paragraph */
    .custom-menu-block p,
    .pkp_block p {
        color: #cbd5e1;
        background: #1e293b;
        border-bottom-color: #334155;
    }
    
    .custom-menu-block p:not(:first-child),
    .pkp_block p:not(:first-child) {
        border-top-color: #334155;
    }
    
    .obj_article_summary {
        background: #1e293b;
        border-color: #334155 !important;
    }
    
    .obj_article_summary .authors span {
        background: #0f172a;
        color: #94a3b8;
    }
    
    .obj_article_summary .meta .pages,
    .obj_article_summary .meta .published,
    .obj_article_summary .meta .doi {
        background: #0f172a;
        border-color: #334155;
        color: #94a3b8;
    }
    
    .additional-content {
        background: #1e293b;
        border-color: #334155;
    }
    
    .additional-content .about .title {
        color: var(--accent);
    }
    
    .additional-content .info .desc {
        color: #94a3b8;
    }
    
    .pagination a {
        background: #1e293b;
        border-color: #334155;
        color: var(--accent);
    }
    
    .pagination a:hover {
        background: var(--primary);
        color: white;
    }
}

/* =====================================================
   FIXES & UTILITIES
===================================================== */
.pkp_structure_page::before,
.pkp_structure_page::after,
.pkp_structure_main::before,
.pkp_structure_main::after,
.page_archive::before,
.page_archive::after {
    display: none !important;
}

body {
    background-image: none !important;
}

.obj_issue_summary .cover + *,
.issue-summary .cover + *,
.toc_issue .cover + * {
    margin-top: 0;
}

/* =====================================================
   STATISTICS SECTION STYLING
===================================================== */
.stats-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 12px;
    color: #4b5563;
    transition: all 0.2s ease;
}

.stat:hover {
    background: var(--primary, #8b1c1c);
    color: white;
    transform: translateY(-2px);
}

.stat strong {
    font-weight: 700;
    color: var(--primary, #8b1c1c);
    margin-left: 3px;
}

.stat:hover strong {
    color: white;
}