/* ============================================================
 * OJS 3.3.0 Custom CSS - WARPSPEED LIGHT GREEN Style
 * Untuk: QEMS Journal (qemsjournal.org)
 * Style: Terinspirasi html-warpspeed-full.vercel.app
 * Warna: Light green bg (#f0fdf4) + Emerald green (#10b981)
 * Font: Inter
 * 
 * CARA PAKAI:
 *   Upload via: Settings → Website → Appearance → 
 *   Journal Style Sheet → Upload
 *   Lalu hapus cache: cache/t_compile/
 * ============================================================ */

/* ============================================================
 * 1. IMPORT FONT
 * ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================================
 * 2. CSS VARIABLES
 * ============================================================ */
:root {
    /* Warpspeed greens */
    --green-50: #ecfdf5;
    --green-100: #d1fae5;
    --green-200: #a7f3d0;
    --green-300: #6ee7b7;
    --green-400: #34d399;
    --green-500: #10b981;
    --green-600: #059669;
    --green-700: #047857;
    --green-800: #065f46;
    --green-900: #064e3b;

    /* Light green backgrounds */
    --bg-page: #f0fdf4;
    --bg-card: #ffffff;
    --bg-card-hover: #f7fef9;
    --bg-elevated: #f0fdf4;
    --bg-input: #ffffff;
    --bg-surface: #e8f9ee;

    /* Borders */
    --border: #d1fae5;
    --border-light: #a7f3d0;
    --border-hover: #10b981;

    /* Text */
    --text-white: #064e3b;
    --text-primary: #1a3a2a;
    --text-secondary: #3d6b55;
    --text-muted: #6b9b85;
    --text-dim: #94c4ad;

    /* Accent */
    --accent: #10b981;
    --accent-light: #059669;
    --accent-dark: #047857;
    --accent-glow: rgba(16, 185, 129, 0.1);
    --accent-glow-strong: rgba(16, 185, 129, 0.18);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(6, 78, 59, 0.06);
    --shadow-md: 0 4px 12px rgba(6, 78, 59, 0.08);
    --shadow-lg: 0 8px 24px rgba(6, 78, 59, 0.1);
    --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.08);
    --shadow-glow-strong: 0 0 30px rgba(16, 185, 129, 0.14);

    /* Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --radius-full: 9999px;

    --transition: all 0.25s ease;
}

/* ============================================================
 * 3. GLOBAL BASE
 * ============================================================ */
.pkp_structure_main {
    overflow-x: visible !important;
}

.page_index_journal {
    overflow: visible !important;
}

.pkp_structure_content {
    overflow-x: hidden;
}

.pkp_structure_content.has_sidebar {
    background: transparent;
}

body.pkp_page_index,
body.pkp_page_issue,
body.pkp_page_article,
body.pkp_page_about,
body.pkp_page_search,
body.pkp_page_announcement,
body.pkp_page_user {
    font-family: 'Inter', 'Source Sans Pro', -apple-system, sans-serif !important;
    color: var(--text-primary);
    line-height: 1.7;
    background-color: var(--bg-page) !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Override all default theme backgrounds */
.pkp_structure_page {
    background: var(--bg-page) !important;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-light);
}

/* ============================================================
 * 4. HEADER / pkp_structure_head
 * ============================================================ */
header.pkp_structure_head {
    background: var(--accent) !important;
    border-bottom: none;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 100;
}

.pkp_head_wrapper {
    padding: 0;
    max-width: 100% !important;
}

/* Site name / Logo - FULL WIDTH */
.pkp_site_name_wrapper {
    position: relative;
    max-width: 100% !important;
    width: 100%;
}

.pkp_site_name {
    text-align: center;
    max-width: 100% !important;
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
}

.pkp_site_name a.is_img {
    display: block;
    width: 100%;
    line-height: 0;
}

.pkp_site_name a.is_img img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    display: block;
    object-fit: cover;
}

.pkp_site_name .is_text {
    font-family: 'Inter', sans-serif !important;
    font-weight: 800;
    font-size: 1.6rem;
    color: #fff !important;
    letter-spacing: -0.03em;
}

.pkp_site_name a.is_text {
    color: #fff !important;
}

/* Mobile toggle */
.pkp_site_nav_toggle {
    background: rgba(255,255,255,0.15) !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    border-radius: var(--radius-md);
    color: #fff !important;
}

h1.pkp_screen_reader {
    color: #fff !important;
}

/* ============================================================
 * 5. NAVIGATION
 * ============================================================ */
.pkp_navigation_primary_row {
    background: var(--accent) !important;
    border-bottom: none;
}

.pkp_navigation_primary_wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

ul.pkp_navigation_primary {
    background: transparent !important;
    margin: 0;
    padding: 0;
}

ul.pkp_navigation_primary > li > a {
    color: rgba(255,255,255,0.9) !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 500;
    font-size: 0.88rem;
    letter-spacing: -0.01em;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    border-bottom: none !important;
}

ul.pkp_navigation_primary > li > a:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.15) !important;
}

ul.pkp_navigation_primary > li.current > a {
    color: #fff !important;
    background: rgba(255,255,255,0.2) !important;
}

/* Dropdown */
ul.pkp_navigation_primary ul {
    background: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-lg) !important;
    overflow: hidden;
    margin-top: 4px !important;
    min-width: 220px;
}

ul.pkp_navigation_primary ul li a {
    color: var(--text-secondary) !important;
    font-size: 0.88rem;
    font-weight: 400;
    padding: 10px 20px !important;
    border-bottom: 1px solid var(--border) !important;
    transition: var(--transition);
}

ul.pkp_navigation_primary ul li:last-child a {
    border-bottom: none !important;
}

ul.pkp_navigation_primary ul li a:hover {
    background: var(--accent-glow) !important;
    color: var(--accent-light) !important;
}

/* Search */
.pkp_search.pkp_search_desktop {
    color: #fff !important;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    transition: var(--transition);
    font-size: 0.85rem;
}

.pkp_search.pkp_search_desktop:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.4);
}

.pkp_search .fa-search {
    color: #fff !important;
}

/* User nav */
.pkp_navigation_user_wrapper {
    background: transparent !important;
}

ul.pkp_navigation_user li a {
    color: rgba(255,255,255,0.9) !important;
    font-size: 0.88rem;
}

ul.pkp_navigation_user ul {
    background: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-lg) !important;
}

ul.pkp_navigation_user ul li a {
    color: var(--text-secondary) !important;
}

ul.pkp_navigation_user ul li a:hover {
    background: var(--accent-glow) !important;
    color: var(--accent-light) !important;
}

.task_count {
    background: #fff !important;
    color: var(--accent) !important;
    font-weight: 700;
    border-radius: var(--radius-full);
}

/* ============================================================
 * 6. SKIP TO CONTENT
 * ============================================================ */
.cmp_skip_to_content a:focus {
    background: var(--accent);
    color: var(--bg-page);
    border-radius: var(--radius-sm);
}

/* ============================================================
 * 7. HOMEPAGE ABOUT - #homepageAbout (FULL CONTAINER)
 * ============================================================ */
#homepageAbout.homepage_about {
    position: relative;
    padding: 40px 30px 80px;
    background: var(--accent) !important;
    color: #fff;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box;
    border-bottom: none;
}

/* Subtle white glow at bottom */
#homepageAbout.homepage_about::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%23f0fdf4' d='M0,32L80,37.3C160,43,320,53,480,53.3C640,53,800,43,960,37.3C1120,32,1280,32,1360,32L1440,32L1440,60L0,60Z'/%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
    pointer-events: none;
}

/* Journal info table */
#homepageAbout table.data {
    background: rgba(255,255,255,0.12) !important;
    border-radius: var(--radius-lg);
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
}

#homepageAbout table.data td {
    padding: 12px 18px !important;
    border-bottom: 1px solid rgba(255,255,255,0.12) !important;
    color: #fff !important;
    font-size: 0.95rem;
    vertical-align: top;
    background: transparent !important;
}

#homepageAbout table.data tr:last-child td {
    border-bottom: none !important;
}

#homepageAbout table.data td:first-child {
    font-weight: 600;
    white-space: nowrap;
    color: rgba(255,255,255,0.8) !important;
    width: 200px;
}

#homepageAbout table.data a {
    color: #fff !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#homepageAbout table.data a:hover {
    opacity: 0.85;
}

#homepageAbout table.data img.ico-label {
    opacity: 0.8;
    vertical-align: middle;
}

/* Description text */
#homepageAbout #tabs-1,
#homepageAbout #tabs-1 + div,
#homepageAbout #tabs,
#homepageAbout #tabs + div {
    color: rgba(255,255,255,0.92);
    font-size: 1rem;
    line-height: 1.8;
}

#homepageAbout #tabs-1 a,
#homepageAbout #tabs-1 + div a,
#homepageAbout div a {
    color: #fff !important;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#homepageAbout #tabs {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Login/Register buttons */
#homepageAbout ul {
    list-style: none;
    padding: 0;
}

#homepageAbout ul li.show {
    margin-bottom: 8px;
}

#homepageAbout ul li.show a {
    display: inline-block;
    background: #fff !important;
    color: var(--accent) !important;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

#homepageAbout ul li.show a:hover {
    background: var(--green-50) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ============================================================
 * 8. ANNOUNCEMENTS
 * ============================================================ */
.announcements_container {
    background: var(--bg-card) !important;
    padding: 35px 28px !important;
    border-radius: var(--radius-xl) !important;
    margin: 40px auto 30px !important;
    max-width: 100%;
    border: 1px solid var(--border) !important;
    box-sizing: border-box;
}

h2.announcements_heading {
    font-family: 'Inter', sans-serif !important;
    font-weight: 800 !important;
    font-size: 1.5rem !important;
    color: var(--text-white) !important;
    text-align: center;
    margin-bottom: 22px !important;
    letter-spacing: -0.03em;
}

h2.announcements_heading::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent);
    margin: 10px auto 0;
    border-radius: var(--radius-full);
}

.announcements_wrapper {
    max-height: 400px !important;
    overflow: hidden;
}

.announcements_scroll {
    max-height: 400px !important;
    overflow-y: auto;
    padding: 0 8px !important;
}

.announcements_scroll::-webkit-scrollbar {
    width: 4px !important;
}

.announcements_scroll::-webkit-scrollbar-track {
    background: var(--bg-surface) !important;
    border-radius: 4px !important;
}

.announcements_scroll::-webkit-scrollbar-thumb {
    background: var(--accent-dark) !important;
    border-radius: 4px !important;
}

.obj_announcement_summary {
    background: var(--bg-elevated) !important;
    border-radius: var(--radius-md) !important;
    padding: 20px 22px !important;
    margin-bottom: 12px !important;
    border: 1px solid var(--border) !important;
    box-shadow: none !important;
    transition: var(--transition);
}

.obj_announcement_summary:hover {
    border-color: var(--border-hover) !important;
    box-shadow: var(--shadow-glow) !important;
}

.obj_announcement_summary h3 {
    margin: 0 0 6px 0 !important;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white) !important;
}

.obj_announcement_summary h3 a {
    color: var(--text-white) !important;
}

.obj_announcement_summary h3 a:hover {
    color: var(--accent) !important;
}

.obj_announcement_summary .date {
    font-size: 0.8rem !important;
    color: var(--text-muted) !important;
}

.obj_announcement_summary .description {
    color: var(--text-secondary) !important;
    font-size: 0.9rem;
    line-height: 1.7;
}

.announcement_divider {
    border: none !important;
}

.more_announcements a {
    display: inline-block;
    background: var(--accent) !important;
    color: var(--bg-page) !important;
    padding: 10px 26px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: -0.01em;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: var(--shadow-glow);
}

.more_announcements a:hover {
    background: var(--accent-light) !important;
    transform: translateY(-2px);
}

/* ============================================================
 * 9. CURRENT ISSUE
 * ============================================================ */
.current_issue {
    padding: 40px 0 50px;
}

.current_issue > h2 {
    font-family: 'Inter', sans-serif !important;
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--text-white);
    text-align: center;
    margin-bottom: 5px;
    letter-spacing: -0.03em;
}

.current_issue > h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent);
    margin: 10px auto 0;
    border-radius: var(--radius-full);
}

.current_issue_title {
    background: var(--accent) !important;
    color: var(--bg-page) !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    padding: 12px 24px !important;
    border-radius: var(--radius-full) !important;
    text-align: center !important;
    margin: 20px auto 28px !important;
    max-width: 450px;
    box-shadow: var(--shadow-glow);
}

/* ============================================================
 * 10. ISSUE TOC
 * ============================================================ */
.obj_issue_toc {
    margin: 0;
}

.obj_issue_toc > .heading {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    margin-bottom: 24px;
    border: 1px solid var(--border);
}

.obj_issue_toc > .heading .description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

.obj_issue_toc > .heading .description strong {
    color: var(--accent);
}

.obj_issue_toc > .heading .pub_id.doi {
    margin-top: 10px;
    font-size: 0.88rem;
}

.obj_issue_toc > .heading .pub_id.doi .type {
    font-weight: 600;
    color: var(--text-muted);
}

.obj_issue_toc > .heading .pub_id.doi a {
    color: var(--accent);
    word-break: break-all;
}

.obj_issue_toc > .heading .published {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.obj_issue_toc > .heading .published .label {
    font-weight: 600;
    color: var(--text-secondary);
}

.obj_issue_toc > .heading .cover img {
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    max-width: 200px;
}

/* ============================================================
 * 11. AUTHORS STATISTICS TABLE
 * ============================================================ */
.obj_issue_toc > .sections > .section:first-child h2 {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--accent) !important;
    -webkit-text-fill-color: var(--accent) !important;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 14px;
}

.obj_issue_toc > .sections > .section table {
    width: 100%;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: 24px !important;
}

.obj_issue_toc > .sections > .section table th {
    background: var(--bg-elevated) !important;
    color: var(--text-muted) !important;
    font-weight: 600 !important;
    padding: 12px 18px !important;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    border: none !important;
    border-bottom: 1px solid var(--border) !important;
}

.obj_issue_toc > .sections > .section table td {
    padding: 10px 18px !important;
    border-bottom: 1px solid var(--border) !important;
    color: var(--text-secondary) !important;
    background: var(--bg-card) !important;
    font-size: 0.92rem;
}

.obj_issue_toc > .sections > .section table tr:last-child td {
    border-bottom: none !important;
}

.obj_issue_toc > .sections > .section table tr:hover td {
    background: var(--bg-elevated) !important;
}

/* ============================================================
 * 12. STYLED SECTIONS
 * ============================================================ */
.styled_sections {
    width: 100% !important;
    margin-bottom: 30px !important;
}

.styled_section {
    background: transparent !important;
    border-radius: var(--radius-lg) !important;
    padding: 0 !important;
    margin-bottom: 20px !important;
}

h2.section_title {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.15rem !important;
    color: var(--accent) !important;
    -webkit-text-fill-color: var(--accent) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid var(--border) !important;
    border-image: none !important;
    margin-bottom: 16px !important;
}

.styled_section .cmp_article_list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ============================================================
 * 13. ARTICLE CARDS
 * ============================================================ */
.article_item {
    background: var(--bg-card) !important;
    border-radius: var(--radius-lg) !important;
    padding: 0 !important;
    margin-bottom: 12px !important;
    border: 1px solid var(--border) !important;
    box-shadow: none !important;
    transition: var(--transition) !important;
    overflow: hidden;
}

.article_item:hover {
    border-color: var(--border-hover) !important;
    box-shadow: var(--shadow-glow) !important;
    transform: translateY(-2px) !important;
}

.article_item:last-child {
    margin-bottom: 12px !important;
}

.obj_article_summary {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 20px 22px !important;
    margin-bottom: 0 !important;
    position: relative;
    overflow: hidden;
    border-left: none !important;
}

/* Green accent dot instead of full border */
.obj_article_summary::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 0;
    width: 3px;
    height: 24px;
    background: var(--accent);
    border-radius: 0 3px 3px 0;
}

/* Article title */
.obj_article_summary .title {
    font-weight: 600 !important;
    font-size: 1rem !important;
    line-height: 1.5;
    margin-bottom: 10px !important;
}

.obj_article_summary .title a {
    color: var(--text-white) !important;
    text-decoration: none !important;
    transition: var(--transition);
}

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

/* Authors */
.obj_article_summary .authors {
    margin-bottom: 8px;
}

.obj_article_summary .authors .consent {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    padding: 1px 0;
}

.obj_article_summary .authors .consent img[src*="authors"] {
    width: 14px;
    height: 14px;
    vertical-align: middle;
    opacity: 0.5;
    margin-right: 4px;
}

.obj_article_summary .authors .consent i {
    color: var(--accent) !important;
    font-style: italic;
    font-size: 0.82rem;
}

.obj_article_summary .authors .consent img[src*="orcid"] {
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

/* Pages */
.obj_article_summary .meta .pages {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* DOI */
.obj_article_summary .meta img[src*="doi"] {
    vertical-align: middle;
    opacity: 0.6;
}

.obj_article_summary .meta a[href*="doi.org"] {
    color: var(--text-muted);
    font-size: 0.82rem;
    word-break: break-all;
}

.obj_article_summary .meta a[href*="doi.org"]:hover {
    color: var(--accent);
}

/* Stats */
.obj_article_summary .stats {
    background: var(--bg-elevated) !important;
    padding: 6px 12px !important;
    border-radius: var(--radius-sm) !important;
    margin-top: 8px !important;
    font-size: 0.78rem !important;
    color: var(--text-muted) !important;
    display: inline-block;
    border: 1px solid var(--border);
}

.obj_article_summary .stats b {
    font-weight: 600;
    color: var(--text-secondary);
}

/* ============================================================
 * 14. GALLEY LINKS
 * ============================================================ */
.galleys_links {
    list-style: none !important;
    padding: 0 !important;
    margin: 12px 0 0 0 !important;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.galleys_links li {
    display: inline-block;
}

a.obj_galley_link,
a.obj_galley_link.pdf {
    display: inline-block !important;
    background: var(--accent) !important;
    color: var(--bg-page) !important;
    padding: 6px 20px !important;
    border-radius: var(--radius-full) !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.78rem !important;
    letter-spacing: -0.01em;
    transition: var(--transition);
    text-decoration: none !important;
    border: none !important;
    box-shadow: var(--shadow-glow);
}

a.obj_galley_link:hover,
a.obj_galley_link.pdf:hover {
    background: var(--accent-light) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow-strong);
    color: var(--bg-page) !important;
}

/* ============================================================
 * 15. VIEW ALL ISSUES
 * ============================================================ */
a.read_more {
    display: inline-block !important;
    background: transparent !important;
    color: var(--accent) !important;
    padding: 12px 30px !important;
    border-radius: var(--radius-full) !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.85rem;
    border: 2px solid var(--accent) !important;
    transition: var(--transition);
    float: none !important;
    text-decoration: none !important;
    margin-top: 20px;
}

a.read_more:hover {
    background: var(--accent) !important;
    color: var(--bg-page) !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-glow-strong) !important;
}

/* ============================================================
 * 16. SIDEBAR
 * ============================================================ */
.pkp_structure_sidebar {
    font-size: 0.9rem;
}

.pkp_block {
    background: var(--bg-card) !important;
    border-radius: var(--radius-lg) !important;
    padding: 0 !important;
    margin-bottom: 14px !important;
    border: 1px solid var(--border) !important;
    box-shadow: none !important;
    overflow: hidden;
}

.pkp_block .title {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding: 14px 18px !important;
    margin: 0 !important;
    background: var(--bg-elevated) !important;
    border-bottom: 1px solid var(--border) !important;
    border-image: none !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Make a Submission */
.block_make_submission .content {
    padding: 16px 18px;
}

.block_make_submission .block_make_submission_link {
    display: block;
    background: var(--accent) !important;
    color: var(--bg-page) !important;
    padding: 12px 20px;
    border-radius: var(--radius-full);
    font-weight: 700;
    text-align: center;
    font-size: 0.85rem;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: var(--shadow-glow);
}

.block_make_submission .block_make_submission_link:hover {
    background: var(--accent-light) !important;
    transform: translateY(-1px);
}

/* Sidebar menu buttons */
#customblock-sidebar .content ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#customblock-sidebar .content ul li.show {
    margin-bottom: 0 !important;
    height: auto !important;
}

#customblock-sidebar .content ul li.show a.cmp_manuscript_button {
    background: transparent !important;
    color: var(--text-secondary) !important;
    padding: 11px 18px !important;
    border-bottom: 1px solid var(--border);
    font-weight: 500 !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.02em;
    transition: var(--transition);
    display: block !important;
}

#customblock-sidebar .content ul li.show a.cmp_manuscript_button:hover {
    background: var(--accent-glow) !important;
    color: var(--accent) !important;
    padding-left: 22px !important;
}

#customblock-sidebar .content ul li.show:last-child a.cmp_manuscript_button {
    border-bottom: none;
}

/* Template & Contact blocks */
#customblock-template_block p[style*="background"],
#customblock-kontak p[style*="background"] {
    background: var(--accent) !important;
    border-bottom: none !important;
    padding: 12px !important;
}

#customblock-template_block .content,
#customblock-kontak .content {
    padding: 16px;
}

/* ============================================================
 * 17. ADDITIONAL CONTENT (Indexers)
 * ============================================================ */
.additional_content {
    padding: 30px 20px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    margin-top: 20px;
    border: 1px solid var(--border);
}

.additional_content h4 {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-white);
    margin-bottom: 18px;
    text-align: center;
    letter-spacing: -0.02em;
}

.additional_content h4::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--accent);
    margin: 8px auto 0;
    border-radius: var(--radius-full);
}

.additional_content .indexers table {
    margin: 0 auto 20px;
}

.additional_content .indexers img {
    transition: var(--transition);
    max-height: 50px;
}

.additional_content .indexers img:hover {
    transform: scale(1.06);
    filter: drop-shadow(0 2px 6px rgba(6,78,59,0.15));
}

.additional_content p strong {
    color: var(--text-white);
}

/* Library cards */
.additional_content table td[style*="border"] {
    border-color: var(--border) !important;
    background: var(--bg-card) !important;
    border-radius: var(--radius-sm) !important;
    transition: var(--transition);
}

.additional_content table td[style*="border"]:hover {
    border-color: var(--accent) !important;
    box-shadow: var(--shadow-glow);
}

/* ============================================================
 * 18. FOOTER
 * ============================================================ */
.pkp_structure_footer_wrapper {
    background: var(--green-900) !important;
    color: var(--green-200) !important;
    border-top: none;
    position: relative;
    margin-top: 40px;
}

/* Wave top in green */
.pkp_structure_footer_wrapper::before {
    content: '';
    position: absolute;
    top: -59px;
    left: 0;
    width: 100%;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%23064e3b' d='M0,0L80,5.3C160,11,320,21,480,26.7C640,32,800,32,960,26.7C1120,21,1280,11,1360,5.3L1440,0L1440,60L0,60Z'/%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
    pointer-events: none;
}

.pkp_structure_footer {
    padding: 40px 20px 20px;
}

.pkp_footer_content {
    color: var(--green-200) !important;
}

.pkp_footer_content table {
    width: 100%;
}

.pkp_footer_content td {
    color: var(--green-200) !important;
    vertical-align: top;
    padding: 8px;
}

.pkp_footer_content a {
    color: var(--green-300) !important;
}

.pkp_footer_content a:hover {
    color: #fff !important;
}

.pkp_footer_content strong {
    color: #fff;
}

.pkp_footer_content img[src*="flagcounter"] {
    border-radius: var(--radius-sm);
    opacity: 0.85;
}

.pkp_footer_content img[src*="licensebuttons"] {
    opacity: 0.75;
    filter: brightness(1.5);
}

/* OJS brand */
.pkp_brand_footer {
    text-align: center;
    padding: 20px 0 10px;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 20px;
}

.pkp_brand_footer img {
    opacity: 0.4;
    filter: brightness(2);
    transition: var(--transition);
}

.pkp_brand_footer img:hover {
    opacity: 0.7;
}

/* ============================================================
 * 19. ARTICLE DETAIL PAGE
 * ============================================================ */
.obj_article_details .page_title {
    font-family: 'Inter', sans-serif !important;
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--text-white);
    line-height: 1.3;
    letter-spacing: -0.03em;
}

.obj_article_details .subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.obj_article_details .authors .name {
    font-weight: 700;
    color: var(--text-white);
}

.obj_article_details .authors .affiliation {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.obj_article_details .item.abstract {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 22px 26px;
    margin: 20px 0;
    border: 1px solid var(--border);
}

.obj_article_details .item.abstract h2 {
    font-weight: 700;
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.obj_article_details .item.abstract .value {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* DOI badge */
.obj_article_details .item.doi .value a {
    display: inline-block;
    background: var(--accent-glow);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--accent-dark);
    font-size: 0.88rem;
    transition: var(--transition);
}

.obj_article_details .item.doi .value a:hover {
    background: var(--accent);
    color: var(--bg-page);
}

/* Keywords */
.obj_article_details .item.keywords .value span {
    display: inline-block;
    background: var(--bg-elevated);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin: 3px 4px 3px 0;
    border: 1px solid var(--border);
}

/* ============================================================
 * 20. ARCHIVE PAGE
 * ============================================================ */
.obj_issue_summary {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 12px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.obj_issue_summary:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

.obj_issue_summary .title a {
    color: var(--text-white);
    font-weight: 600;
}

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

.obj_issue_summary .series {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.obj_issue_summary .cover img {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

/* ============================================================
 * 21. FORMS & BUTTONS
 * ============================================================ */
.pkp_form input[type="text"],
.pkp_form input[type="email"],
.pkp_form input[type="password"],
.pkp_form input[type="url"],
.pkp_form input[type="search"],
.pkp_form textarea,
.pkp_form select {
    background: var(--bg-input) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-sm) !important;
    padding: 10px 14px !important;
    color: var(--text-primary) !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.92rem;
    transition: var(--transition);
}

.pkp_form input:focus,
.pkp_form textarea:focus,
.pkp_form select:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px var(--accent-glow) !important;
    outline: none !important;
}

.pkp_button,
.cmp_button,
button.submit {
    background: var(--accent) !important;
    color: var(--bg-page) !important;
    border: none !important;
    border-radius: var(--radius-full) !important;
    padding: 10px 24px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-glow);
}

.pkp_button:hover,
.cmp_button:hover,
button.submit:hover {
    background: var(--accent-light) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow-strong);
    color: var(--bg-page) !important;
}

/* ============================================================
 * 22. BREADCRUMBS
 * ============================================================ */
.pkp_breadcrumbs {
    font-size: 0.82rem;
    color: var(--text-muted);
    padding: 14px 0;
}

.pkp_breadcrumbs a {
    color: var(--accent);
}

/* ============================================================
 * 23. PAGINATION
 * ============================================================ */
.cmp_pagination {
    text-align: center;
    padding: 28px 0;
}

.cmp_pagination a,
.cmp_pagination .current {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 3px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.cmp_pagination a {
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border);
}

.cmp_pagination a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.cmp_pagination .current {
    background: var(--accent);
    color: var(--bg-page);
    border: 1px solid var(--accent);
}

/* ============================================================
 * 24. RESPONSIVE
 * ============================================================ */
@media (max-width: 992px) {
    #homepageAbout.homepage_about {
        padding: 30px 20px 60px;
    }

    .current_issue {
        padding: 25px 0 35px;
    }

    .announcements_container {
        padding: 25px 18px !important;
    }

    #homepageAbout table.data td:first-child {
        white-space: normal;
        width: auto;
    }
}

@media (max-width: 768px) {
    .pkp_site_name a.is_img img {
        width: 100% !important;
    }

    ul.pkp_navigation_primary > li > a {
        padding: 8px 10px;
        font-size: 0.82rem;
    }

    #homepageAbout.homepage_about {
        padding: 20px 16px 50px;
    }

    #homepageAbout.homepage_about > * {
        max-width: 100%;
    }

    #homepageAbout table.data td {
        padding: 8px 12px !important;
        font-size: 0.88rem;
        display: block;
        width: 100% !important;
    }

    #homepageAbout table.data td:first-child {
        font-weight: 700;
        padding-bottom: 2px !important;
        border-bottom: none !important;
    }

    .current_issue_title {
        border-radius: var(--radius-md) !important;
        font-size: 0.92rem !important;
        max-width: 100%;
    }

    .obj_article_summary {
        padding: 16px 18px !important;
    }

    a.obj_galley_link,
    a.obj_galley_link.pdf {
        padding: 5px 14px !important;
        font-size: 0.75rem !important;
    }

    .obj_article_details .page_title {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .article_item {
        margin-bottom: 10px !important;
    }

    .obj_article_summary {
        padding: 14px !important;
    }
}

/* ============================================================
 * 25. PRINT STYLES
 * ============================================================ */
@media print {
    header.pkp_structure_head,
    .pkp_structure_footer_wrapper,
    .pkp_navigation_primary,
    .pkp_navigation_user,
    .pkp_structure_sidebar,
    .galleys_links,
    .pkp_search,
    .cmp_skip_to_content,
    a.read_more,
    .announcements_container {
        display: none !important;
    }

    body {
        color: #000 !important;
        background: #fff !important;
    }

    #homepageAbout.homepage_about {
        background: #fff !important;
        color: #000 !important;
    }

    .obj_article_summary {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        background: #fff !important;
    }

    a { color: #000 !important; }
}
