/* =========================================================
   1. STYLING NAVIGASI & HOVER DROPDOWN FUTURISTIK (#990500)
   ========================================================= */

/* Styling Menu Utama dan Menu User (Login/Register) */
.pkp_navigation_primary > li > a,
.pkp_navigation_user > li > a {
    font-weight: 600;
    color: #1a202c !important;
    padding: 10px 18px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 6px;
    letter-spacing: 0.3px;
}

/* Hover & Focus Menu Utama dan Menu User (Login/Register) */
.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus,
.pkp_navigation_primary > li.has-submenu:hover > a,
.pkp_navigation_user > li > a:hover,
.pkp_navigation_user > li > a:focus {
    color: #990500 !important;
    background-color: rgba(153, 5, 0, 0.05) !important;
}

/* Indikator Panah Dropdown */
.pkp_navigation_primary .has-submenu > a::after {
    border-top-color: #4a5568;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.pkp_navigation_primary .has-submenu:hover > a::after {
    border-top-color: #990500;
    transform: rotate(180deg);
}

/* Kontainer Sub-Menu Dropdown Futuristik */
.pkp_navigation_primary ul,
.pkp_navigation_user ul {
    background: #ffffff !important;
    border: 1px solid #edf2f7 !important;
    border-top: 3px solid #990500 !important; /* Aksen Neomorfik Merah di Atas Dropdown */
    border-radius: 0 0 10px 10px !important;
    box-shadow: 0 12px 30px -5px rgba(153, 5, 0, 0.15), 0 4px 10px rgba(0, 0, 0, 0.05) !important;
    padding: 8px 0 !important;
    min-width: 230px !important;
    margin-top: 2px !important;
    overflow: hidden;
}

/* Item didalam Dropdown */
.pkp_navigation_primary ul li a,
.pkp_navigation_user ul li a {
    color: #2d3748 !important;
    padding: 11px 20px !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

/* HOVER STATE DROPDOWN (#990500 + Efek Glow & Slide) */
.pkp_navigation_primary ul li a:hover,
.pkp_navigation_primary ul li a:focus,
.pkp_navigation_user ul li a:hover,
.pkp_navigation_user ul li a:focus {
    background: linear-gradient(90deg, #990500 0%, #bd0d07 100%) !important;
    color: #ffffff !important;
    padding-left: 26px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(153, 5, 0, 0.3);
}

/* =========================================================
   2. HOMEPAGE BANNER & DAFTAR ARTIKEL HALAMAN DEPAN
   ========================================================= */

.page_index_journal .journal_description img,
.homepage-image img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.page_index_journal .journal_description img:hover,
.homepage-image img:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(153, 5, 0, 0.18) !important;
}

.obj_article_summary {
    background-color: #f8f9fa !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 4px solid #990500 !important;
    border-radius: 8px !important;
    padding: 18px 22px !important;
    margin-bottom: 16px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.obj_article_summary:hover {
    background-color: #ffffff !important;
    border-color: #cbd5e0 !important;
    border-left-color: #bd0d07 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(153, 5, 0, 0.12) !important;
}

.obj_article_summary .title a {
    color: #990500 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.obj_article_summary .title a:hover {
    color: #d7130b !important;
}

/* =========================================================
   3. BREADCRUMBS & JUDUL HALAMAN (GENERAL PAGES)
   ========================================================= */

/* Breadcrumbs (Jejak Navigasi Modern) */
.cmp_breadcrumbs ol {
    padding: 8px 14px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #edf2f7;
    font-size: 13px;
}

.cmp_breadcrumbs li a {
    color: #990500 !important;
    text-decoration: none;
    font-weight: 500;
}

.cmp_breadcrumbs li a:hover {
    text-decoration: underline;
}

/* Judul Utama Halaman (Page Title) */
.page_title, 
.page_article .article_title {
    color: #1a202c !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    letter-spacing: -0.3px;
    line-height: 1.35 !important;
    margin-bottom: 20px !important;
    padding-bottom: 12px;
    border-bottom: 2px solid #edf2f7;
    position: relative;
}

.page_title::after,
.page_article .article_title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: #990500;
}

/* =========================================================
   4. STYLING LAMAN DETAIL ARTIKEL (ARTICLE LANDING PAGE)
   ========================================================= */

/* Layout Container Detail Artikel */
.page_article .article_details {
    margin-top: 20px;
}

/* Blok Penulis & Afiliasi */
.page_article .authors {
    background: #f8f9fa;
    border-left: 3px solid #990500;
    padding: 14px 18px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 20px;
}

.page_article .author {
    margin-bottom: 8px;
}

.page_article .author strong,
.page_article .author_name {
    color: #1a202c;
    font-size: 15px;
    font-weight: 700;
}

.page_article .article_summary .author .affiliation {
    color: #718096;
    font-size: 13px;
    font-style: italic;
}

/* DOI Box Modern */
.page_article .doi {
    margin-bottom: 20px;
    font-size: 14px;
}

.page_article .doi a {
    color: #990500 !important;
    font-weight: 600;
    text-decoration: none;
    background: rgba(153, 5, 0, 0.06);
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-block;
    transition: all 0.2s ease;
}

.page_article .doi a:hover {
    background: #990500;
    color: #ffffff !important;
}

/* Blok Abstrak & Kata Kunci */
.page_article .article_summary .item.abstract {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 25px;
}

.page_article .article_summary .item.abstract h3 {
    color: #990500;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid #edf2f7;
}

.page_article .article_summary .item.abstract p {
    color: #2d3748;
    line-height: 1.7;
    text-align: justify;
}

.page_article .item.keywords {
    background: #f8f9fa;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 13.5px;
    color: #4a5568;
    margin-top: 15px;
}

.page_article .item.keywords .label {
    font-weight: 700;
    color: #990500;
}

/* Sidebar Kanan Artikel (Cover, PDF, Metadata, Sitasi) */
.page_article .entry_details {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.page_article .item.cover_image img {
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.page_article .item.cover_image img:hover {
    transform: scale(1.02);
}

/* Tombol PDF Utama pada Laman Artikel */
.page_article .item.galleys a.pdf {
    background: linear-gradient(135deg, #990500 0%, #bd0d07 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 10px 18px !important;
    font-weight: 700 !important;
    text-align: center;
    display: block !important;
    box-shadow: 0 4px 12px rgba(153, 5, 0, 0.3) !important;
    transition: all 0.3s ease !important;
}

.page_article .item.galleys a.pdf:hover {
    box-shadow: 0 6px 18px rgba(153, 5, 0, 0.45) !important;
    transform: translateY(-2px);
}

/* Box Format Sitasi (Citation Box) */
.page_article .item.citation {
    background: #f8f9fa;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    padding: 14px;
    margin-top: 15px;
}

.page_article .item.citation h3 {
    font-size: 14px;
    color: #990500;
    font-weight: 700;
    margin-top: 0;
}

/* Grafik Statistik Unduhan (Download Chart Widget) */
.page_article .item.downloads {
    margin-top: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px;
}

/* =========================================================
   5. STYLING LAMAN STATIS & KEBIJAKAN (STATIC / POLICY PAGES)
   ========================================================= */

/* Laman Kebijakan (Akses Terbuka, Etika, Lisensi, dll) */
.page_content, 
.pkp_structure_main .page {
    line-height: 1.75;
    color: #2d3748;
    font-size: 14.5px;
}

/* Sub-Heading (H2 & H3) pada Laman Kebijakan */
.page_content h2, 
.pkp_structure_main h2 {
    color: #990500 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-top: 28px !important;
    margin-bottom: 12px !important;
    padding-bottom: 4px;
    border-bottom: 1px solid #edf2f7;
}

.page_content h3, 
.pkp_structure_main h3 {
    color: #1a202c !important;
    font-size: 15.5px !important;
    font-weight: 700 !important;
    margin-top: 20px !important;
}

/* Penataan Daftar / List Numbers & Bullets */
.page_content ol, 
.page_content ul {
    padding-left: 22px;
    margin-bottom: 20px;
}

.page_content li {
    margin-bottom: 8px;
    color: #334155;
}

/* Tautan dalam Teks Laman Statis */
.page_content a {
    color: #990500;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

.page_content a:hover {
    color: #d7130b;
}

/* Card Gambar Akses Terbuka (Open Access Badge / Logo) */
.page_content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.page_content img:hover {
    transform: scale(1.02);
}

/* =========================================================
   6. STYLING FORMULIR & HALAMAN REGISTRASI (PROFESIONAL)
   ========================================================= */

/* Kontainer Formulir Pendaftaran dan Login */
.pkp_form,
.pkp_page_register .cmp_form {
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    margin-top: 20px;
    margin-bottom: 30px;
}

/* Label Kolom Input */
.pkp_form label,
.pkp_page_register label {
    font-weight: 600 !important;
    color: #4a5568 !important;
    margin-bottom: 8px;
    display: inline-block;
    font-size: 14.5px;
}

/* Kolom Input (Teks, Email, Password, Dropdown) */
.pkp_form input[type="text"],
.pkp_form input[type="email"],
.pkp_form input[type="password"],
.pkp_form select,
.pkp_form textarea {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid #cbd5e0 !important;
    border-radius: 8px !important;
    font-size: 14.5px !important;
    color: #2d3748 !important;
    background-color: #f8f9fa !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
    margin-bottom: 18px;
}

/* Efek Fokus pada Kolom Input */
.pkp_form input:focus,
.pkp_form select:focus,
.pkp_form textarea:focus {
    border-color: #990500 !important;
    background-color: #ffffff !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(153, 5, 0, 0.15) !important;
}

/* Penyesuaian Kolom Checkbox (Persetujuan) */
.pkp_form input[type="checkbox"],
.pkp_form input[type="radio"] {
    accent-color: #990500;
    transform: scale(1.1);
    margin-right: 8px;
    cursor: pointer;
}

/* Tombol Submit (Register / Login) */
.pkp_form .submit button,
.pkp_form button[type="submit"],
.pkp_button {
    background: linear-gradient(135deg, #990500 0%, #bd0d07 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 12px 28px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(153, 5, 0, 0.2) !important;
    display: inline-block;
}

/* Hover Efek pada Tombol Submit */
.pkp_form .submit button:hover,
.pkp_form button[type="submit"]:hover,
.pkp_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(153, 5, 0, 0.35) !important;
    background: linear-gradient(135deg, #bd0d07 0%, #990500 100%) !important;
}

/* Pesan Error / Validasi pada Form */
.pkp_form_error {
    color: #e53e3e;
    font-size: 13px;
    font-weight: 600;
    margin-top: -12px;
    margin-bottom: 15px;
    display: block;
}