:root {
    /* Colors */
    --primary: #0d8c62;
    --primary-dark: #0a3d2e;
    --primary-glow: #6ee7b7;
    --text: #1e293b;
    --text-secondary: #475569;
    --muted: #64748b;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --border: #e2e8f0;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0a3d2e 0%, #064a36 40%, #0d6b4a 100%);
    --gradient-highlight: linear-gradient(90deg, #0d8c62, #10b981, #0d8c62);

    /* Fonts */
    --font-heading: 'Inter', system-ui, sans-serif;

    /* Radii */
    --radius-md: 0.375rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1.25rem;

    /* Shadows */
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    /* Transitions */
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.4, 0, 0.2, 1);
    --duration-normal: 0.3s;
}

.pkp_structure_page {
    box-shadow: 1px 3px 9px 5px rgba(40, 40, 40, 0.52);
}

.pkp_site_name .is_text {
    text-decoration: none;
}

.pkp_block {
    overflow: hidden;
    border-radius: 5px;
    border: solid 1px rgba(157, 157, 159, 0.5);
    padding: 0 5px 12px;
    margin: 0 5px 10px;
    color: inherit;
    box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.sidebar,
.sidebar-content {
    text-align: center;
}

.sidebar-title {
    padding: 0.5em 1em;
    font-size: large;
    margin-bottom: 12px;
    background: var(--gradient-primary);
    display: block;
    color: #ffffff;
    font-weight: bold;
    letter-spacing: 0;
    margin-left: -5px;
    margin-right: -5px;
    text-align: center;
}

.sidebar-content img {
    max-width: 270px;
    max-height: 355px;
    box-shadow: 0px 1px 3px 1px rgba(0, 1, 1, 0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease !important;
}

.sidebar-content img:hover {
    transform: scale(1.04) !important;
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.14) !important;
}

.sidebar-menu {
    padding: 10px;
    border-bottom: 2.3px solid #ffffff;
    background: var(--gradient-primary);
    color: #f8f8ff;
    text-align: right;
}

.sidebar-menu a {
    color: #ffffff;
    font-weight: bold;
    font-size: medium;
    position: relative;
    overflow: hidden;
}

.sidebar-menu a::before {
    content: " ";
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: #ffffff;
    transform: scaleY(0);
    transition: transform 0.25s ease;
    transform-origin: bottom;
}

.sidebar-menu a:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

#openid-provider-list {
    padding: 0;
    width: auto;
}

/* ── Homepage Banner Image ── */
.homepage_image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
    animation: fadeInUp 0.5s var(--ease-out) 0.1s both;
}

.homepage_image img {
    width: 100%;
    display: block;
    transition: transform 0.6s var(--ease-out);
}

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

/* ── About the Journal / Description ── */
.pkp_structure_main h2,
.page_about h2,
h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text);
    position: relative;
    padding-bottom: 0.6rem;
    margin-bottom: 1.25rem;
}

.pkp_structure_main>h2::after,
.page_about h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border-radius: 2px;
}

/* ── About Table Enhancement ── */
.pkp_structure_main table,
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    margin: 1rem 0 1.5rem;
    font-size: 0.92rem;
}

table tr:nth-child(even) {
    background: #f7f9fc;
}

table tr:hover {
    background: #e6f7f0;
}

table td,
table th {
    padding: 0.7rem 1rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    text-align: left;
}

table td:first-child,
table th:first-child {
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
    width: 180px;
}

/* ── Cover Issue Effect ── */
.obj_issue_summary .cover img {
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    max-width: 220px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.obj_issue_summary .cover img:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.14);
}

/* ── Footer Enhancement ── */
.pkp_structure_footer_wrapper {
    background: var(--gradient-primary);
    color: rgba(255, 255, 255, 0.85);
    padding: 2.5rem 2rem 1.5rem;
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
}

.pkp_structure_footer_wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-highlight);
}

.pkp_structure_footer_wrapper::after {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.pkp_structure_footer_wrapper a {
    color: var(--primary-glow) !important;
    transition: color 0.2s ease;
}

.pkp_structure_footer_wrapper a:hover {
    color: #a7f3d0 !important;
    text-decoration: underline;
}

.pkp_structure_footer_wrapper p {
    text-align: center;
    line-height: 1.8;
    font-size: 0.92rem;
}

.pkp_footer_content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.pkp_footer_content p {
    margin-bottom: 0.75rem;
}

.pkp_footer_content strong,
.pkp_footer_content b {
    color: #ffffff;
    font-weight: 700;
}

.pkp_brand_footer {
    display: none !important;
}

/* ── Hero Section ── */
.hero {
    margin-bottom: 2rem;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-2xl);
    background: linear-gradient(135deg, #e0f2fe 0%, #f0fdf4 50%, #eff6ff 100%);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13, 140, 98, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero h1 {
    margin: 0 0 0.75rem;
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 2.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text);
}

.hero p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.85;
}

/* ── Index Logos Section ── */
.section,
.section-indeks {
    overflow: hidden;
    background: var(--surface);
}

.section {
    animation: fadeInUp 0.5s var(--ease-out) 0.25s both;
    margin-bottom: 2rem;
}

.section-indeks {
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    margin-bottom: 1.75rem;
}

.section-header {
    padding: 1.5rem 1.75rem 0;
}

.section-header h2 {
    margin: 0 0 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.section-header p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.75;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    padding: 1.5rem;
}

.logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: var(--surface-soft);
    border: 1px solid var(--border);
    transition: transform var(--duration-normal) var(--ease-spring),
        box-shadow var(--duration-normal) var(--ease-out),
        border-color var(--duration-normal) ease;
}

.logo-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-glow);
    box-shadow: var(--shadow-lg);
}

.logo-card img {
    max-width: 100%;
    max-height: 55px;
    object-fit: contain;
    transition: transform var(--duration-normal) var(--ease-out);
}

.logo-card:hover img {
    transform: scale(1.05);
}

/* ── Modern Action Buttons ── */
.journal-action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-xl);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none !important;
    transition: all 0.3s var(--ease-out);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    border: none;
}

.btn-submit {
    background: var(--gradient-primary);
    color: #ffffff !important;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: var(--gradient-highlight);
    color: #ffffff !important;
}

.btn-guidelines {
    background: var(--surface);
    color: var(--primary) !important;
    border: 2px solid var(--primary);
}

.btn-guidelines:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: var(--surface-soft);
    border-color: var(--primary-dark);
}

/* ── Modern Editorial Board ── */
.modern-editorial-board {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    margin: 2rem 0;
}

.modern-editorial-board h4 {
    display: inline-block;
    font-family: var(--font-heading);
    color: #ffffff;
    background: var(--gradient-primary);
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-md);
    font-size: 1.15rem;
    margin-top: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-editorial-board h4:first-child {
    margin-top: 0;
}

.modern-editorial-board ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: grid;
    gap: 1rem;
}

.modern-editorial-board li {
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s ease;
}

.modern-editorial-board li:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-glow);
    background: #ffffff;
}

.editor-info {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1 1 250px;
}

.editor-info strong {
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 700;
}

.editor-info em {
    color: var(--primary-dark);
    font-style: normal;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
}

.editor-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.editor-badges img {
    height: 28px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
    transition: transform 0.2s ease;
}

.editor-badges a:hover img {
    transform: scale(1.1);
}

.editor-badges a, .board-cert-empty {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-md);
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
}

.editor-badges a {
    background: rgba(13, 140, 98, 0.1);
    color: var(--primary) !important;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.editor-badges a:hover {
    background: var(--primary);
    color: #ffffff !important;
    box-shadow: var(--shadow-md);
}

.board-cert-empty {
    background: #f1f5f9;
    color: var(--muted);
    border: 1px dashed #cbd5e1;
    cursor: not-allowed;
}

.join-banner {
    background: linear-gradient(135deg, #e0f2fe 0%, #eff6ff 100%);
    border: 1px solid #bae6fd;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-xl);
    text-align: center;
    margin-top: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.join-banner p {
    margin: 0;
    font-size: 1.05rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.join-banner a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.join-banner a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ── Modern APC (Author Processing Charges) ── */
.modern-apc {
    background: var(--surface);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    margin: 2rem 0;
    overflow: hidden;
}

.apc-header {
    background: var(--gradient-primary);
    padding: 2rem 2rem 1.5rem;
    color: #ffffff;
    text-align: center;
}

.apc-header svg {
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.apc-header h4 {
    margin: 0 0 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.apc-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
}

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

.apc-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s ease;
}

.apc-list li:last-child {
    border-bottom: none;
}

.apc-list li:hover {
    background: var(--surface-soft);
}

.apc-label {
    font-weight: 600;
    color: var(--text);
    font-size: 1.05rem;
}

.apc-value {
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-align: right;
}

.apc-value.free {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.apc-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2rem;
    background: #f8fafc;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.95rem;
}

.apc-footer p {
    margin: 0;
}

/* ── Modern Focus & Scope ── */
.modern-focus-scope {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.fs-section {
    background: var(--surface);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    overflow: hidden;
}

.fs-header {
    background: var(--gradient-primary);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #ffffff;
}

.fs-icon {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.75rem;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fs-header h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.fs-content {
    padding: 2rem;
}

.fs-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-top: 0;
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.fs-content p strong {
    color: var(--text);
    font-weight: 600;
}

.fs-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fs-bullets li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.fs-bullets li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: 700;
}

.scope-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.scope-card {
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.scope-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-glow);
    background: #ffffff;
}

.scope-card h4 {
    margin: 0 0 1rem;
    color: var(--primary-dark);
    font-size: 1.15rem;
    font-weight: 700;
    font-family: var(--font-heading);
    border-bottom: 2px solid rgba(13, 140, 98, 0.15);
    padding-bottom: 0.75rem;
}

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

.scope-card ul li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.6rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.scope-card ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.25rem;
    line-height: 1;
    top: -2px;
}

/* ── Modern Downloads ── */
.modern-downloads {
    background: var(--surface);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    margin: 2rem 0;
    overflow: hidden;
}

.download-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 2rem;
    color: #ffffff;
    text-align: center;
}

.download-header svg {
    margin-bottom: 0.75rem;
    color: var(--primary-glow);
}

.download-header h4 {
    margin: 0 0 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.download-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    background: #f8fafc;
}

.download-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: #ffffff;
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    text-decoration: none !important;
    color: inherit;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease;
}

.download-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.dl-icon {
    background: rgba(13, 140, 98, 0.1);
    color: var(--primary);
    padding: 1rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, color 0.3s ease;
}

.download-card:hover .dl-icon {
    background: var(--primary);
    color: #ffffff;
}

.dl-info h5 {
    margin: 0 0 0.25rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    font-family: var(--font-heading);
}

.dl-info span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.download-footer {
    text-align: center;
    padding: 1.25rem 2rem;
    background: #ffffff;
    border-top: 1px solid var(--border);
}

.download-footer p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.download-footer strong {
    color: var(--primary);
}