: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_head {
    background-color: var(--gradient-highlight) !important;
}

.pkp_site_name_wrapper {
    background: var(--gradient-primary) !important;
}

/* Remove underline on hover for all links globally */
a {
    text-decoration: none !important;
}

.pkp_structure_page {
    box-shadow: 1px 3px 9px 5px rgba(40, 40, 40, 0.52);
}

.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: none;
}

.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: none;
}

/* ── 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-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    background: var(--surface-soft);
}

.apc-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s ease;
}

.apc-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-glow);
}

.apc-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.apc-card-header h5 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
}

.badge.free {
    background: #dcfce7;
    color: #166534;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid #bbf7d0;
    white-space: nowrap;
}

.apc-card-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
}

.apc-card-price .currency {
    font-size: 1rem;
    font-weight: 600;
    color: var(--muted);
    margin-right: 0.25rem;
    margin-top: 0.35rem;
}

.apc-card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.btn-apc-pay {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none !important;
    transition: all 0.3s var(--ease-out);
    box-shadow: 0 4px 6px -1px rgba(13, 140, 98, 0.2);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-apc-pay:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(13, 140, 98, 0.3);
    background: var(--gradient-highlight);
}

.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);
}

/* similarity style */
#articlesBySimilarityList {
    background: var(--surface);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    margin: 2.5rem 0;
    padding: 2rem;
    overflow: hidden;
    position: relative;
    max-width: 800px;
}

#articlesBySimilarityList::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

#articlesBySimilarityList h2.label {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 1.5rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(13, 140, 98, 0.1);
}

#articlesBySimilarityList ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

#articlesBySimilarityList ul li {
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.25rem 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    color: transparent;
    font-size: 0.95rem;
    line-height: 1.6;
}

#articlesBySimilarityList ul li::first-line {
    color: var(--text-secondary);
    font-weight: 600;
}

#articlesBySimilarityList ul li:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-glow);
    background: #ffffff;
}

#articlesBySimilarityList ul li a:first-of-type {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-decoration: none;
    line-height: 1.4;
    font-family: var(--font-heading);
    margin: 0.5rem 0 0.75rem 0;
    transition: color 0.2s ease;
}

#articlesBySimilarityList ul li a:first-of-type:hover {
    color: var(--primary);
    text-decoration: none;
}

#articlesBySimilarityList ul li a:last-of-type {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(13, 140, 98, 0.1);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    margin-left: -10px;
    /* Hide comma space */
}

#articlesBySimilarityList ul li a:last-of-type:hover {
    background: var(--primary);
    color: #ffffff;
}

#articlesBySimilarityList .cmp_pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

#articlesBySimilarityList .cmp_pagination span.current {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--muted);
}

#articlesBySimilarityList .cmp_pagination a {
    background: var(--surface);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-xl);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

#articlesBySimilarityList .cmp_pagination a:hover {
    background: var(--primary);
    color: #ffffff;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

#articlesBySimilaritySearch {
    margin: 1.5rem 0 0;
    text-align: center;
    font-size: 0.95rem;
    color: var(--muted);
    background: #f8fafc;
    padding: 1rem;
    border-radius: var(--radius-lg);
}

#articlesBySimilaritySearch a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    position: relative;
}

#articlesBySimilaritySearch a:hover {
    text-decoration: none;
    color: var(--primary-dark);
}

/* ── Modern Issue Page ── */
.page_issue {
    animation: fadeInUp 0.5s var(--ease-out) 0.1s both;
}

.page_issue h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

.page_issue h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.obj_issue_toc {
    background: var(--surface);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    margin-bottom: 3rem;
}

.obj_issue_toc .heading {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 1.5rem 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: center;
    border-bottom: 1px solid var(--border);
    position: relative;
    justify-items: center;
}

@media (min-width: 640px) {
    .obj_issue_toc .heading {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        gap: 0.75rem 1.5rem;
        justify-items: start;
    }
}

.obj_issue_toc .heading::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.obj_issue_toc .cover {
    grid-column: 1 / -1;
}

@media (min-width: 640px) {
    .obj_issue_toc .cover {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
    }
}

.obj_issue_toc .cover img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    max-width: 150px;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
    display: block;
}

.obj_issue_toc .cover img:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.obj_issue_toc .heading .pub_id,
.obj_issue_toc .heading .published {
    background: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--border);
    width: fit-content;
}

@media (min-width: 640px) {
    .obj_issue_toc .heading .pub_id {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        align-self: end;
        margin-bottom: -0.25rem;
    }

    .obj_issue_toc .heading .published {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        align-self: start;
        margin-top: -0.25rem;
    }
}

.obj_issue_toc .heading .pub_id .type,
.obj_issue_toc .heading .published .label {
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    background: var(--surface-soft);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.obj_issue_toc .heading .pub_id a,
.obj_issue_toc .heading .published .value {
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
}

.obj_issue_toc .heading .pub_id a {
    color: var(--primary);
    transition: color 0.2s ease;
}

.obj_issue_toc .heading .pub_id a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

.obj_issue_toc .sections {
    padding: 2.5rem;
}

.obj_issue_toc .section h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text);
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(13, 140, 98, 0.15);
    padding-bottom: 0.75rem;
}

.cmp_article_list.articles {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1.5rem;
}

.cmp_article_list.articles>li {
    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, border-color 0.3s ease;
}

.cmp_article_list.articles>li:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-glow);
    background: #ffffff;
}

.obj_article_summary {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.obj_article_summary .title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
}

.obj_article_summary .title a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.obj_article_summary .title a:hover {
    color: var(--primary);
}

.obj_article_summary .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.obj_article_summary .authors {
    font-weight: 600;
}

.obj_article_summary .pages {
    background: #e2e8f0;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
}

.obj_article_summary .galleys_links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0.75rem;
}

.obj_article_summary .galleys_links li a.obj_galley_link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 140, 98, 0.1);
    color: var(--primary);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.obj_article_summary .galleys_links li a.obj_galley_link:hover {
    background: var(--primary);
    color: #ffffff;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* ── Modern Article Details Page ── */
.obj_article_details {
    animation: fadeInUp 0.5s var(--ease-out) 0.1s both;
    margin-bottom: 4rem;
}

.obj_article_details .page_title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 2.5rem;
    line-height: 1.3;
    position: relative;
    padding-bottom: 1rem;
}

.obj_article_details .page_title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 5px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.obj_article_details .row {
    display: grid;
    gap: 2rem;
    align-items: start;
    margin: 0;
    padding: 0;
    width: 100%;
}

@media (min-width: 992px) {
    .obj_article_details .row {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
        gap: 1rem;
    }
}

.page.page_submissions {
    overflow-wrap: break-word;
}

/* Main Entry Content */
.obj_article_details .main_entry {
    grid-column: 1 / 2 !important;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 0;
    width: 100% !important;
    float: none !important;
}

.obj_article_details .main_entry>.item {
    background: var(--surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    padding: 1.5rem 2rem;
    transition: box-shadow 0.3s ease;
    overflow-wrap: break-word;
}

.obj_article_details .main_entry>.item:hover {
    box-shadow: var(--shadow-md);
}

.obj_article_details .main_entry>.item.abstract {
    background: var(--surface-soft);
    border-left: 5px solid var(--primary);
    border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
    padding: 2rem;
}

.obj_article_details .main_entry>.item.doi {
    padding: 1.25rem 2rem;
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.obj_article_details .main_entry>.item .label {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-top: 0;
    margin-bottom: 1rem;
    border-bottom: 2px solid rgba(13, 140, 98, 0.1);
    padding-bottom: 0.5rem;
    display: block;
}

.obj_article_details .main_entry>.item.doi .label {
    margin: 0;
    padding: 0;
    border: none;
    font-size: 1.05rem;
    color: var(--text);
    display: inline-block;
}

.obj_article_details .main_entry>.item .value {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
}

.obj_article_details .main_entry>.item.doi .value a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.obj_article_details .main_entry>.item.doi .value a:hover {
    text-decoration: none;
    color: var(--primary-dark);
}

/* Keywords — Tag Pills */
.obj_article_details .main_entry>.item.keywords {
    padding: 1.5rem 2rem;
    display: block;
}

.obj_article_details .main_entry>.item.keywords .label {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 1rem;
    padding: 0 0 0.5rem;
    border-bottom: 2px solid rgba(13, 140, 98, 0.1);
    display: block;
}

.obj_article_details .main_entry>.item.keywords .value {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0;
    line-height: 0;
}

/* Make each comma-separated keyword look like a pill.
   OJS outputs keywords as plain text separated by commas,
   so we style the entire .value span and use word-spacing tricks */

/* Fallback: if keywords are NOT individually wrapped */
.obj_article_details .main_entry>.item.keywords .value {
    font-size: 0.88rem;
    line-height: 2.4;
    color: var(--primary-dark);
}

/* If keywords ARE individually wrapped in spans/links */
.obj_article_details .main_entry>.item.keywords .value a,
.obj_article_details .main_entry>.item.keywords .value span:not(.label) {
    display: inline-block;
    background: rgba(13, 140, 98, 0.08);
    color: var(--primary-dark);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
    border: 1px solid rgba(13, 140, 98, 0.15);
    transition: all 0.25s ease;
    margin: 0.15rem 0;
}

.obj_article_details .main_entry>.item.keywords .value a:hover,
.obj_article_details .main_entry>.item.keywords .value span:not(.label):hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(13, 140, 98, 0.2);
}

/* Authors */
.obj_article_details .item.authors {
    padding: 1.5rem 2rem;
}

.obj_article_details .item.authors h2.pkp_screen_reader {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.obj_article_details ul.authors {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.obj_article_details ul.authors li {
    background: var(--surface-soft);
    border: 1px solid var(--border);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease;
}

.obj_article_details ul.authors li:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-glow);
    background: #ffffff;
}

.obj_article_details ul.authors li::before {
    content: "";
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(13, 140, 98, 0.15), rgba(13, 140, 98, 0.05));
    border: 2px solid rgba(13, 140, 98, 0.2);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='%230d8c62' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6m2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0m4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4m-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10s-3.516.68-4.168 1.332c-.678.678-.83 1.418-.832 1.664z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
}

.obj_article_details ul.authors .name {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text);
    display: block;
    line-height: 1.3;
}

.obj_article_details ul.authors .affiliation {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 0.15rem;
    display: block;
    font-style: italic;
    line-height: 1.4;
}

/* References */
.obj_article_details .item.references .value p {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    text-indent: -1.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Sidebar Details */
.obj_article_details .entry_details {
    background: var(--surface);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    margin-left: 10px;
    padding: 1.5rem;
    position: sticky;
    top: 2rem;
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100% !important;
    float: none !important;
    align-self: start;
}

.obj_article_details .entry_details .item {
    margin-top: 1px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    padding-bottom: 1.25rem;
}

.obj_article_details .entry_details .item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.obj_article_details .entry_details .item .label {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.5rem;
}

.obj_article_details .entry_details .sub_item {
    margin-bottom: 1rem;
}

.obj_article_details .entry_details .sub_item:last-child {
    margin-bottom: 0;
}

/* Cover Image */
.obj_article_details .cover_image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.obj_article_details .cover_image a:hover img {
    transform: scale(1.02);
}

/* Galleys (Downloads) */
.obj_article_details .item.galleys {
    background: linear-gradient(135deg, var(--surface-soft) 0%, #ffffff 100%);
}

.obj_article_details .item.galleys h2.pkp_screen_reader {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.obj_article_details .galleys_links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.obj_article_details .galleys_links .obj_galley_link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    background: var(--gradient-primary);
    color: #ffffff !important;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none !important;
    transition: all 0.3s var(--ease-out);
    box-shadow: 0 4px 14px rgba(13, 140, 98, 0.25);
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    position: relative;
    overflow: hidden;
}

.obj_article_details .galleys_links .obj_galley_link::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.obj_article_details .galleys_links .obj_galley_link:hover::before {
    left: 100%;
}

.obj_article_details .galleys_links .obj_galley_link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 140, 98, 0.35);
    background: var(--gradient-highlight);
}

/* Issue Link */
.obj_article_details .issue .title {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
    background: rgba(13, 140, 98, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-md);
}

.obj_article_details .issue .title:hover {
    background: var(--primary);
    color: #ffffff;
}

/* Copyright License */
.obj_article_details .copyright img {
    margin: 0.5rem 0;
    border-radius: 4px;
}

.obj_article_details .copyright p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

/* Publication Facts Plugin Constraints */
.obj_article_details .entry_details .item.pflPlugin {
    max-width: 100%;
    overflow-x: hidden;
}

/* ══════════════════════════════════════════════════════════════
   ── Modern Login & Register Pages
   ══════════════════════════════════════════════════════════════ */

/* ── Shared Page Layout ── */
.page_login,
.page_register {
    animation: fadeInUp 0.5s var(--ease-out) 0.1s both;
    margin: 0 auto;
    padding: 2rem 0;
    max-width: 750px;
}

/* ── Page Title ── */
.page_login>h1,
.page_register>h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--text);
    text-align: center;
    margin: 0 0 0.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.page_login>h1::after,
.page_register>h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* ── Required notice ── */
.page_login>p,
.page_register>p {
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.page_login abbr.required,
.page_register abbr.required {
    color: #ef4444;
    text-decoration: none;
    font-weight: 700;
}

/* ── Breadcrumbs ── */
.page_login .cmp_breadcrumbs,
.page_register .cmp_breadcrumbs {
    margin-bottom: 1.5rem;
}

.page_login .cmp_breadcrumbs ol,
.page_register .cmp_breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    font-size: 0.9rem;
}

.page_login .cmp_breadcrumbs a,
.page_register .cmp_breadcrumbs a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.page_login .cmp_breadcrumbs a:hover,
.page_register .cmp_breadcrumbs a:hover {
    color: var(--primary-dark);
}

.page_login .cmp_breadcrumbs .separator,
.page_register .cmp_breadcrumbs .separator {
    color: var(--muted);
    opacity: 0.5;
    margin: 0 0.15rem;
}

.page_login .cmp_breadcrumbs .current,
.page_register .cmp_breadcrumbs .current {
    color: var(--text-secondary);
    font-weight: 600;
}

/* ── Form Card Container ── */
.page_login .cmp_form,
.page_register .cmp_form {
    background: var(--surface);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    max-width: 750px;
}

.page_login .cmp_form::before,
.page_register .cmp_form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-highlight);
}

/* ── Fieldset & Legend ── */
.page_login fieldset,
.page_register fieldset {
    border: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.page_login fieldset legend,
.page_register fieldset legend {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(13, 140, 98, 0.12);
    display: block;
    width: 100%;
}

.page_login fieldset legend.pkp_screen_reader,
.page_register fieldset legend.pkp_screen_reader {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/* ── Fieldset Sections (Register) ── */
.page_register fieldset.identity,
.page_register fieldset.login,
.page_register fieldset.consent {
    background: var(--surface-soft);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page_register fieldset.identity:hover,
.page_register fieldset.login:hover,
.page_register fieldset.consent:hover {
    border-color: rgba(13, 140, 98, 0.25);
    box-shadow: 0 4px 12px rgba(13, 140, 98, 0.06);
}

.page_register fieldset.identity legend,
.page_register fieldset.login legend {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(13, 140, 98, 0.12);
}

/* ── Input Fields Grid ── */
.page_login .fields,
.page_register .fields {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* ── Label Styling ── */
.page_login .fields label,
.page_register .fields label {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.page_login .fields .label,
.page_register .fields .label {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.page_login .fields .required,
.page_register .fields .required {
    color: #ef4444;
    font-weight: 700;
}

.page_login .pkp_screen_reader,
.page_register .pkp_screen_reader {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/* ── Text Inputs, Email, Password, Select ── */
.page_login input[type="text"],
.page_login input[type="password"],
.page_login input[type="email"],
.page_register input[type="text"],
.page_register input[type="password"],
.page_register input[type="email"],
.page_register select {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    font-family: var(--font-heading);
    color: var(--text);
    background: #ffffff;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.page_login input[type="text"]:hover,
.page_login input[type="password"]:hover,
.page_login input[type="email"]:hover,
.page_register input[type="text"]:hover,
.page_register input[type="password"]:hover,
.page_register input[type="email"]:hover,
.page_register select:hover {
    border-color: #94a3b8;
    background: var(--surface-soft);
}

.page_login input[type="text"]:focus,
.page_login input[type="password"]:focus,
.page_login input[type="email"]:focus,
.page_register input[type="text"]:focus,
.page_register input[type="password"]:focus,
.page_register input[type="email"]:focus,
.page_register select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(13, 140, 98, 0.12);
    background: #ffffff;
}

.page_login input::placeholder,
.page_register input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

/* ── Select Dropdown ── */
.page_register select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 2.5rem;
    cursor: pointer;
}

/* ── Forgot Password Link ── */
.page_login .password a {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.page_login .password a:hover {
    color: var(--primary-dark);
}

/* ── Checkbox (Remember me & Consent) ── */
.page_login .remember label,
.page_register .optin label {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.page_login .remember input[type="checkbox"],
.page_register .optin input[type="checkbox"],
.page_register .consent input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid var(--border);
    border-radius: 5px;
    background: #ffffff;
    cursor: pointer;
    position: relative;
    margin-top: 2px;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.page_login .remember input[type="checkbox"]:hover,
.page_register .optin input[type="checkbox"]:hover,
.page_register .consent input[type="checkbox"]:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 140, 98, 0.1);
}

.page_login .remember input[type="checkbox"]:checked,
.page_register .optin input[type="checkbox"]:checked,
.page_register .consent input[type="checkbox"]:checked {
    background: var(--primary);
    border-color: var(--primary);
}

.page_login .remember input[type="checkbox"]:checked::after,
.page_register .optin input[type="checkbox"]:checked::after,
.page_register .consent input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 11px;
    border: solid #ffffff;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

/* ── ORCID Button ── */
.page_register #connect-orcid-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 2px solid #A6CE39;
    border-radius: var(--radius-xl);
    padding: 0.6rem 1.5rem;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
    transition: all 0.3s var(--ease-out);
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.page_register #connect-orcid-button:hover {
    background: #f7fee7;
    border-color: #84b520;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.page_register .orcid_button_container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
}

.page_register .orcid_icon {
    width: 24px;
    height: 24px;
}

.page_register a[href*="orcid/about"] {
    display: inline-block;
    margin-left: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.page_register a[href*="orcid/about"]:hover {
    color: var(--primary-dark);
}

/* ── Privacy Consent Section ── */
.page_register fieldset.consent legend {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text);
    font-size: 1.05rem;
}

.page_register .optin a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.page_register .optin a:hover {
    color: var(--primary-dark);
}

/* ── reCAPTCHA ── */
.page_register .recaptcha_wrapper {
    border: none;
    margin: 0 0 1.5rem;
    padding: 0;
}

.page_register .recaptcha {
    display: flex;
    justify-content: center;
}

.page_register .g-recaptcha {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

/* ── Buttons Area ── */
.page_login .buttons,
.page_register .buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1.75rem;
    flex-wrap: wrap;
}

/* Submit Button */
.page_login .buttons .submit,
.page_register .buttons .submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2.5rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    box-shadow: 0 4px 14px rgba(13, 140, 98, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.75px;
    position: relative;
    overflow: hidden;
}

.page_login .buttons .submit::before,
.page_register .buttons .submit::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.page_login .buttons .submit:hover::before,
.page_register .buttons .submit:hover::before {
    left: 100%;
}

.page_login .buttons .submit:hover,
.page_register .buttons .submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 140, 98, 0.35);
    background: var(--gradient-highlight);
}

.page_login .buttons .submit:active,
.page_register .buttons .submit:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 140, 98, 0.3);
}

/* Secondary Links (Register / Login) */
.page_login .buttons .register,
.page_register .buttons .login {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    padding: 0.85rem 2rem;
    border: 2px solid var(--primary);
    border-radius: var(--radius-xl);
    transition: all 0.3s var(--ease-out);
    text-transform: uppercase;
    letter-spacing: 0.75px;
}

.page_login .buttons .register:hover,
.page_register .buttons .login:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 140, 98, 0.25);
}

/* ── Fade-in Animation (if not already defined) ── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Responsive ── */
@media (max-width: 640px) {

    .page_login,
    .page_register {
        padding: 1rem 0;
    }

    .page_login .cmp_form,
    .page_register .cmp_form {
        padding: 1.75rem 1.25rem;
        border-radius: var(--radius-xl);
    }

    .page_register fieldset.identity,
    .page_register fieldset.login,
    .page_register fieldset.consent {
        padding: 1.25rem;
    }

    .page_login .buttons,
    .page_register .buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .page_login .buttons .submit,
    .page_register .buttons .submit,
    .page_lost_password .buttons .submit,
    .page_login .buttons .register,
    .page_register .buttons .login,
    .page_lost_password .buttons .register {
        width: 100%;
        text-align: center;
    }

    .page_lost_password {
        padding: 1rem 0;
    }

    .page_lost_password .cmp_form {
        padding: 1.75rem 1.25rem;
        border-radius: var(--radius-xl);
    }

    .page_lost_password .buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* ══════════════════════════════════════════════════════════════
   ── Modern Lost / Reset Password Page
   ══════════════════════════════════════════════════════════════ */

.page_lost_password {
    animation: fadeInUp 0.5s var(--ease-out) 0.1s both;
    margin: 0 auto;
    padding: 2rem 0;
    max-width: 750px;
}

.page_lost_password>h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--text);
    text-align: center;
    margin: 0 0 0.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.page_lost_password>h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.page_lost_password>p {
    text-align: center;
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Breadcrumbs */
.page_lost_password .cmp_breadcrumbs {
    margin-bottom: 1.5rem;
}

.page_lost_password .cmp_breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    font-size: 0.9rem;
}

.page_lost_password .cmp_breadcrumbs a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.page_lost_password .cmp_breadcrumbs a:hover {
    color: var(--primary-dark);
}

.page_lost_password .cmp_breadcrumbs .separator {
    color: var(--muted);
    opacity: 0.5;
    margin: 0 0.15rem;
}

.page_lost_password .cmp_breadcrumbs .current {
    color: var(--text-secondary);
    font-weight: 600;
}

/* Form Card */
.page_lost_password .cmp_form {
    background: var(--surface);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    max-width: 750px;
}

.page_lost_password .cmp_form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-highlight);
}

/* Fields */
.page_lost_password .fields {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.page_lost_password .fields label {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.page_lost_password .fields .label {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.page_lost_password .fields .required {
    color: #ef4444;
    font-weight: 700;
}

.page_lost_password .pkp_screen_reader {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/* Input */
.page_lost_password input[type="email"] {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    font-family: var(--font-heading);
    color: var(--text);
    background: #ffffff;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.page_lost_password input[type="email"]:hover {
    border-color: #94a3b8;
    background: var(--surface-soft);
}

.page_lost_password input[type="email"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(13, 140, 98, 0.12);
    background: #ffffff;
}

.page_lost_password input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

/* Buttons */
.page_lost_password .buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1.75rem;
    flex-wrap: wrap;
}

.page_lost_password .buttons .submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2.5rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    box-shadow: 0 4px 14px rgba(13, 140, 98, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.75px;
    position: relative;
    overflow: hidden;
}

.page_lost_password .buttons .submit::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.page_lost_password .buttons .submit:hover::before {
    left: 100%;
}

.page_lost_password .buttons .submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 140, 98, 0.35);
    background: var(--gradient-highlight);
}

.page_lost_password .buttons .submit:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 140, 98, 0.3);
}

.page_lost_password .buttons .register {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    padding: 0.85rem 2rem;
    border: 2px solid var(--primary);
    border-radius: var(--radius-xl);
    transition: all 0.3s var(--ease-out);
    text-transform: uppercase;
    letter-spacing: 0.75px;
}

.page_lost_password .buttons .register:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 140, 98, 0.25);
}

/* ══════════════════════════════════════════════════════════════
   ── Modern Issue Archive Page
   ══════════════════════════════════════════════════════════════ */

.page_issue_archive {
    animation: fadeInUp 0.5s var(--ease-out) 0.1s both;
}

/* Breadcrumbs */
.page_issue_archive .cmp_breadcrumbs {
    margin-bottom: 1.5rem;
}

.page_issue_archive .cmp_breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.9rem;
}

.page_issue_archive .cmp_breadcrumbs a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.page_issue_archive .cmp_breadcrumbs a:hover {
    color: var(--primary-dark);
}

.page_issue_archive .cmp_breadcrumbs .separator {
    color: var(--muted);
    opacity: 0.5;
    margin: 0 0.15rem;
}

.page_issue_archive .cmp_breadcrumbs .current {
    color: var(--text-secondary);
    font-weight: 600;
}

/* Page Title */
.page_issue_archive>h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--text);
    margin: 0 0 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.page_issue_archive>h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Issues List */
.page_issue_archive .issues_archive {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Issue Card — Horizontal Layout */
.page_issue_archive .issues_archive>li {
    background: var(--surface);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s ease;
}

.page_issue_archive .issues_archive>li:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-glow);
}

/* Summary: horizontal flex */
.page_issue_archive .obj_issue_summary {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 200px;
}

/* Cover — left side, flush with card */
.page_issue_archive .obj_issue_summary .cover {
    display: block;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    width: 180px;
    background: var(--surface-soft);
}

.page_issue_archive .obj_issue_summary .cover::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.04), transparent);
    pointer-events: none;
}

.page_issue_archive .obj_issue_summary .cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
    border-radius: 0;
    box-shadow: none;
    max-width: none;
}

.page_issue_archive .issues_archive>li:hover .cover img {
    transform: scale(1.06);
}

/* Content area — right side */
.page_issue_archive .obj_issue_summary h2,
.page_issue_archive .obj_issue_summary .description {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Title — card header */
.page_issue_archive .obj_issue_summary h2 {
    margin: 0;
    padding-top: 1.5rem;
    padding-bottom: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
    border-bottom: 1px solid var(--border);
}

.page_issue_archive .obj_issue_summary h2::after {
    display: none;
}

.page_issue_archive .obj_issue_summary h2 a.title {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.page_issue_archive .obj_issue_summary h2 a.title:hover {
    color: var(--primary);
}

/* Description — card body */
.page_issue_archive .obj_issue_summary .description {
    padding-top: 0.75rem;
    padding-bottom: 1.5rem;
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
}

.page_issue_archive .obj_issue_summary .description p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* Responsive — stack vertically on mobile */
@media (max-width: 640px) {
    .page_issue_archive .obj_issue_summary {
        flex-direction: column;
    }

    .page_issue_archive .obj_issue_summary .cover {
        width: 100%;
        max-height: 220px;
    }
}



/* === Author Guidelines: Modern layout === */
/* Uses existing journal tokens: #0d8c62, #0a3d2e, #6ee7b7 */
.pkp_page_submissions .ag-guidelines,
.pkp_page_about .ag-guidelines,
.ag-guidelines {
  --ag-primary: #0d8c62;
  --ag-dark: #0a3d2e;
  --ag-accent: #6ee7b7;
  color: var(--ag-dark);
  line-height: 1.7;
  max-width: 1120px;
  margin: 0 auto;
}
.ag-guidelines * { box-sizing: border-box; }
.ag-guidelines .ag-hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 1.5rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 18px;
  background: var(--ag-dark);
  color: #fff;
  box-shadow: 0 14px 32px rgba(10, 61, 46, .18);
}
.ag-guidelines .ag-hero::after {
  content: "";
  position: absolute;
  width: 15rem;
  height: 15rem;
  right: -5rem;
  top: -7rem;
  border-radius: 50%;
  background: var(--ag-accent);
  opacity: .16;
}
.ag-guidelines .ag-eyebrow,
.ag-guidelines .ag-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ag-guidelines .ag-eyebrow { color: var(--ag-accent); margin-bottom: .75rem; }
.ag-guidelines .ag-hero h1,
.ag-guidelines .ag-hero h2 { color: #fff; margin: 0 0 .65rem; line-height: 1.2; }
.ag-guidelines .ag-hero p { max-width: 48rem; margin: 0; color: rgba(255,255,255,.9); }
.ag-guidelines .ag-badges { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.15rem; }
.ag-guidelines .ag-badge { padding: .42rem .7rem; border: 1px solid rgba(110,231,183,.45); border-radius: 999px; color: #fff; background: rgba(255,255,255,.08); }
.ag-guidelines .ag-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0 1.75rem; }
.ag-guidelines .ag-button,
.ag-guidelines a.ag-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .78rem 1rem;
  border-radius: 10px;
  background: var(--ag-primary);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(13,140,98,.2);
  transition: transform .18s ease, background .18s ease;
}
.ag-guidelines .ag-button:hover,
.ag-guidelines .ag-button:focus { background: var(--ag-dark); color: #fff !important; transform: translateY(-1px); }
.ag-guidelines .ag-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 1.25rem 0 1.75rem; }
.ag-guidelines .ag-card {
  padding: 1.2rem;
  border: 1px solid rgba(13,140,98,.16);
  border-top: 4px solid var(--ag-primary);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(10,61,46,.07);
}
.ag-guidelines .ag-card h2,
.ag-guidelines .ag-card h3 { color: var(--ag-dark); margin-top: 0; line-height: 1.3; }
.ag-guidelines .ag-card > :last-child { margin-bottom: 0; }
.ag-guidelines .ag-checklist { list-style: none; margin: 0; padding: 0; }
.ag-guidelines .ag-checklist li { position: relative; padding: .55rem 0 .55rem 2rem; border-bottom: 1px solid rgba(13,140,98,.12); }
.ag-guidelines .ag-checklist li:last-child { border-bottom: 0; }
.ag-guidelines .ag-checklist li::before { content: "✓"; position: absolute; left: 0; top: .5rem; width: 1.3rem; height: 1.3rem; display: grid; place-items: center; border-radius: 50%; background: rgba(110,231,183,.45); color: var(--ag-dark); font-weight: 800; }
.ag-guidelines .ag-callout { margin: 1.25rem 0; padding: 1rem 1.15rem; border-left: 4px solid var(--ag-primary); border-radius: 0 12px 12px 0; background: rgba(110,231,183,.17); }
.ag-guidelines .ag-callout--warning { border-left-color: var(--ag-dark); background: rgba(13,140,98,.1); }
.ag-guidelines .ag-callout h2,
.ag-guidelines .ag-callout h3 { margin-top: 0; color: var(--ag-dark); }
.ag-guidelines h2 { color: var(--ag-dark); margin: 2rem 0 .8rem; line-height: 1.3; }
.ag-guidelines h3 { color: var(--ag-primary); margin: 1.35rem 0 .55rem; }
.ag-guidelines ul:not(.ag-checklist),
.ag-guidelines ol { padding-left: 1.35rem; }
.ag-guidelines li + li { margin-top: .35rem; }
.ag-guidelines table { width: 100%; margin: 1rem 0 1.5rem; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid rgba(13,140,98,.18); border-radius: 12px; }
.ag-guidelines th { background: var(--ag-dark); color: #fff; }
.ag-guidelines th,
.ag-guidelines td { padding: .8rem .9rem; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(13,140,98,.12); }
.ag-guidelines tr:last-child td { border-bottom: 0; }
.ag-guidelines a:not(.ag-button) { color: var(--ag-primary); font-weight: 600; }
@media (min-width: 700px) { .ag-guidelines .ag-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ag-guidelines .ag-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 599px) { .ag-guidelines { font-size: .97rem; } .ag-guidelines table { display: block; overflow-x: auto; white-space: normal; } .ag-guidelines .ag-hero { border-radius: 14px; } }


/* === Author Guidelines: spacing refinement === */
.author_guidelines {
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

@media (max-width: 640px) {
  .author_guidelines {
    padding: 1rem;
  }
}


/* === Author Guidelines: checklist refinement === */
.author_guidelines .ag-checklist,
.author_guidelines ul.ag-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.author_guidelines .ag-checklist li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  min-width: 0;
  margin: 0;
  padding: 0.95rem 1rem;
  color: var(--textColor, #0a3d2e);
  background: color-mix(in srgb, #6ee7b7 16%, transparent);
  border: 1px solid color-mix(in srgb, #0d8c62 28%, transparent);
  border-radius: 0.8rem;
  line-height: 1.55;
}

.author_guidelines .ag-checklist li::before {
  content: "✓";
  display: inline-grid;
  flex: 0 0 1.35rem;
  width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  margin-top: 0.08rem;
  color: #fff;
  background: #0d8c62;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
}

.author_guidelines .ag-checklist li > :first-child {
  margin-top: 0;
}

.author_guidelines .ag-checklist li > :last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .author_guidelines .ag-checklist,
  .author_guidelines ul.ag-checklist {
    grid-template-columns: 1fr;
    gap: 0.625rem;
    margin: 1rem 0 1.25rem;
  }

  .author_guidelines .ag-checklist li {
    padding: 0.85rem 0.9rem;
  }
}


/* === Author Guidelines: modern component fallbacks === */
.author_guidelines .ag-checklist,
.author_guidelines .ag-checklist ul,
.author_guidelines ul.ag-checklist {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.25rem 0 1.75rem !important;
  padding: 0 !important;
  list-style: none !important;
}
.author_guidelines .ag-checklist > li,
.author_guidelines .ag-checklist li {
  position: relative;
  margin: 0 !important;
  padding: 1rem 1rem 1rem 3rem !important;
  list-style: none !important;
  border: 1px solid color-mix(in srgb, #0d8c62 24%, transparent);
  border-radius: .875rem;
  background: color-mix(in srgb, #6ee7b7 12%, transparent);
  color: inherit;
  box-shadow: 0 .25rem .8rem color-mix(in srgb, #0a3d2e 8%, transparent);
}
.author_guidelines .ag-checklist > li::before,
.author_guidelines .ag-checklist li::before {
  content: "✓";
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: grid;
  width: 1.25rem;
  height: 1.25rem;
  place-items: center;
  border-radius: 50%;
  background: #0d8c62;
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1;
}
.author_guidelines .ag-checklist > li > :first-child,
.author_guidelines .ag-checklist li > :first-child { margin-top: 0; }
.author_guidelines .ag-checklist > li > :last-child,
.author_guidelines .ag-checklist li > :last-child { margin-bottom: 0; }
@media (max-width: 640px) {
  .author_guidelines .ag-checklist,
  .author_guidelines .ag-checklist ul,
  .author_guidelines ul.ag-checklist {
    grid-template-columns: 1fr;
    gap: .75rem;
  }
  .author_guidelines .ag-checklist > li,
  .author_guidelines .ag-checklist li { padding: .9rem .9rem .9rem 2.8rem !important; }
  .author_guidelines .ag-checklist > li::before,
  .author_guidelines .ag-checklist li::before { top: .9rem; left: .9rem; }
}


/* === Layout: Current Issue heading alignment refinement === */
.current_issue.obj_issue_toc .heading,
.current_issue .obj_issue_toc .heading {
    background: linear-gradient(135deg, var(--surface-soft) 0%, var(--border) 100%);
    padding: 1.75rem;
    gap: 1.25rem;
    align-items: center;
    justify-items: center;
}

.current_issue.obj_issue_toc .heading::before,
.current_issue .obj_issue_toc .heading::before {
    height: 5px;
}

.current_issue.obj_issue_toc .cover,
.current_issue .obj_issue_toc .cover {
    display: flex;
    justify-content: center;
    width: 100%;
}

.current_issue.obj_issue_toc .heading .pub_id,
.current_issue.obj_issue_toc .heading .published,
.current_issue .obj_issue_toc .heading .pub_id,
.current_issue .obj_issue_toc .heading .published {
    margin: 0;
    max-width: 100%;
}

@media (min-width: 640px) {
    .current_issue.obj_issue_toc .heading,
    .current_issue .obj_issue_toc .heading {
        grid-template-columns: minmax(132px, 160px) minmax(0, 1fr);
        grid-template-rows: auto auto;
        column-gap: 2rem;
        row-gap: .6rem;
        padding: 2rem 2.25rem;
        justify-items: start;
    }

    .current_issue.obj_issue_toc .cover,
    .current_issue .obj_issue_toc .cover {
        grid-column: 1;
        grid-row: 1 / span 2;
        justify-content: flex-start;
    }

    .current_issue.obj_issue_toc .heading .pub_id,
    .current_issue .obj_issue_toc .heading .pub_id {
        grid-column: 2;
        grid-row: 1;
        align-self: end;
        margin-bottom: 0;
    }

    .current_issue.obj_issue_toc .heading .published,
    .current_issue .obj_issue_toc .heading .published {
        grid-column: 2;
        grid-row: 2;
        align-self: start;
        margin-top: 0;
    }
}

@media (max-width: 639px) {
    .current_issue.obj_issue_toc .heading,
    .current_issue .obj_issue_toc .heading {
        padding: 1.25rem;
    }

    .current_issue.obj_issue_toc .heading .pub_id,
    .current_issue.obj_issue_toc .heading .published,
    .current_issue .obj_issue_toc .heading .pub_id,
    .current_issue .obj_issue_toc .heading .published {
        justify-content: center;
        text-align: center;
    }
}



/* === Layout: Current Issue cover, description & metadata flow === */
/* Keep the cover in its own column; let description and issue facts use the full reading width. */
@media (min-width: 640px) {
    .current_issue.obj_issue_toc,
    .current_issue .obj_issue_toc {
        display: grid;
        grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
        column-gap: 2.25rem;
        align-items: start;
    }

    .current_issue.obj_issue_toc .heading,
    .current_issue .obj_issue_toc .heading {
        grid-column: 1 / -1;
        grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
        justify-items: stretch;
    }

    .current_issue.obj_issue_toc > .cover,
    .current_issue .obj_issue_toc > .cover {
        grid-column: 1;
        grid-row: 2;
        width: 100%;
        margin: 0;
    }

    .current_issue.obj_issue_toc > .cover img,
    .current_issue .obj_issue_toc > .cover img {
        width: 100%;
        max-width: 190px;
        height: auto;
    }

    .current_issue.obj_issue_toc > .description,
    .current_issue .obj_issue_toc > .description {
        grid-column: 2;
        grid-row: 2;
        min-width: 0;
        max-width: none;
        width: 100%;
        margin: 0;
    }

    .current_issue.obj_issue_toc > .pub_id,
    .current_issue.obj_issue_toc > .published,
    .current_issue .obj_issue_toc > .pub_id,
    .current_issue .obj_issue_toc > .published {
        grid-column: 2;
        width: fit-content;
        max-width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 639px) {
    .current_issue.obj_issue_toc > .description,
    .current_issue .obj_issue_toc > .description {
        width: 100%;
        max-width: none;
    }
}


/* === Current Issue — isolated modern responsive layout === */
.current_issue.obj_issue_toc,
.current_issue .obj_issue_toc {
  display: block;
}

.current_issue.obj_issue_toc > .heading,
.current_issue .obj_issue_toc > .heading {
  position: relative;
  display: block;
  padding: 1.25rem;
  margin: 0 0 1.25rem;
  background: var(--surface-soft, #f8fafc);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: .75rem;
}

.current_issue.obj_issue_toc > .heading::before,
.current_issue .obj_issue_toc > .heading::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  border-radius: .75rem .75rem 0 0;
  background: var(--gradient-primary, var(--primary, #0d8c62));
}

.current_issue.obj_issue_toc > .heading .cover,
.current_issue .obj_issue_toc > .heading .cover {
  float: none;
  width: min(100%, 190px);
  margin: 0 auto 1rem;
}

.current_issue.obj_issue_toc > .heading .cover img,
.current_issue .obj_issue_toc > .heading .cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: .5rem;
}

.current_issue.obj_issue_toc > .heading .description,
.current_issue .obj_issue_toc > .heading .description,
.current_issue.obj_issue_toc > .heading .pub_id,
.current_issue .obj_issue_toc > .heading .pub_id,
.current_issue.obj_issue_toc > .heading .published,
.current_issue .obj_issue_toc > .heading .published {
  clear: none;
  width: auto;
  max-width: none;
  margin-left: 0;
}

.current_issue.obj_issue_toc .cmp_article_list.articles,
.current_issue .obj_issue_toc .cmp_article_list.articles {
  display: block;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}

.current_issue.obj_issue_toc .cmp_article_list.articles > li,
.current_issue .obj_issue_toc .cmp_article_list.articles > li {
  grid-column: auto;
  width: auto;
  max-width: none;
}

@media (min-width: 640px) {
  .current_issue.obj_issue_toc > .heading,
  .current_issue .obj_issue_toc > .heading {
    display: grid;
    grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
    column-gap: 1.5rem;
    align-items: start;
    padding: 1.5rem;
  }

  .current_issue.obj_issue_toc > .heading .cover,
  .current_issue .obj_issue_toc > .heading .cover {
    grid-column: 1;
    grid-row: 1 / span 4;
    width: 100%;
    margin: 0;
  }

  .current_issue.obj_issue_toc > .heading .description,
  .current_issue .obj_issue_toc > .heading .description,
  .current_issue.obj_issue_toc > .heading .pub_id,
  .current_issue .obj_issue_toc > .heading .pub_id,
  .current_issue.obj_issue_toc > .heading .published,
  .current_issue .obj_issue_toc > .heading .published {
    grid-column: 2;
    min-width: 0;
  }
}



/* === Modern APC Override === */
/* Uses the active journal palette and preserves the legacy APC markup. */
.apc-page {
  --apc-primary: #0d8c62;
  --apc-primary-dark: #0a3d2e;
  --apc-accent: #6ee7b7;
  --apc-text: #1e293b;
  --apc-muted: #64748b;
  --apc-surface: #ffffff;
  --apc-soft: #f8fafc;
  --apc-border: #e2e8f0;
  color: var(--apc-text);
  background: var(--apc-surface);
  line-height: 1.7;
}
.apc-page .apc-section,
.apc-page .apc-header-content {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}
.apc-page .apc-section { padding: clamp(3rem, 7vw, 6rem) 0; }
.apc-page .apc-section--soft { background: var(--apc-soft); }

/* === Modern APC Hero === */
.apc-page .apc-header {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 10vw, 8rem) 0;
  background: linear-gradient(135deg, var(--apc-primary-dark) 0%, var(--apc-primary) 68%, var(--apc-accent) 170%);
  color: var(--apc-surface);
}
.apc-page .apc-header::after {
  content: "";
  position: absolute;
  width: 28rem;
  height: 28rem;
  right: -13rem;
  bottom: -17rem;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  box-shadow: 0 0 0 3rem rgba(255,255,255,.05), 0 0 0 7rem rgba(255,255,255,.035);
}
.apc-page .apc-header-content { position: relative; z-index: 1; max-width: 780px; margin-left: max(1rem, calc((100% - 1120px) / 2)); }
.apc-page .apc-eyebrow,
.apc-page .apc-card-label {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: 1rem;
  color: inherit;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.apc-page .apc-eyebrow::before { content: ""; width: 1.75rem; height: 2px; background: currentColor; }
.apc-page .apc-header h1 { margin: 0; max-width: 760px; color: inherit; font-size: clamp(2.35rem, 5vw, 4.5rem); line-height: 1.08; letter-spacing: -.035em; }
.apc-page .apc-header p { max-width: 680px; margin: 1.35rem 0 0; color: rgba(255,255,255,.88); font-size: clamp(1rem, 2vw, 1.18rem); }

/* === Modern APC Components === */
.apc-page .apc-section-heading { max-width: 700px; margin-bottom: 2rem; }
.apc-page .apc-section-heading .apc-eyebrow { color: var(--apc-primary); }
.apc-page .apc-section-heading h2,
.apc-page .apc-cta h2 { margin: 0; color: var(--apc-text); font-size: clamp(1.85rem, 3.2vw, 3rem); line-height: 1.15; letter-spacing: -.025em; }
.apc-page .apc-section-heading p { margin: 1rem 0 0; color: var(--apc-muted); font-size: 1.03rem; }
.apc-page .apc-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr));
  gap: 1.25rem;
}
.apc-page .apc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  border: 1px solid var(--apc-border);
  border-radius: 1.25rem;
  background: var(--apc-surface);
  box-shadow: 0 10px 28px rgba(10,61,46,.07);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.apc-page .apc-card:hover { transform: translateY(-5px); border-color: rgba(13,140,98,.35); box-shadow: 0 18px 40px rgba(10,61,46,.13); }
.apc-page .apc-card--featured,
.apc-page .apc-card.featured {
  border-color: var(--apc-primary);
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
}
.apc-page .apc-card-label { color: var(--apc-primary); }
.apc-page .apc-card h3 { margin: 0; color: var(--apc-text); font-size: clamp(1.35rem, 2.5vw, 1.8rem); line-height: 1.2; }
.apc-page .apc-card-price,
.apc-page .apc-card h3.apc-price { margin: .5rem 0 0; color: var(--apc-primary-dark); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.04em; }
.apc-page .apc-card p { color: var(--apc-muted); }
.apc-page .apc-card ul { margin: 1.25rem 0; padding: 0; list-style: none; }
.apc-page .apc-card li { display: flex; justify-content: space-between; gap: 1rem; padding: .78rem 0; border-bottom: 1px solid var(--apc-border); color: var(--apc-muted); }
.apc-page .apc-card li:last-child { border-bottom: 0; }
.apc-page .apc-card li::before { content: "✓"; margin-right: .55rem; color: var(--apc-primary); font-weight: 800; }
.apc-page .apc-card li strong { margin-left: auto; color: var(--apc-text); }
.apc-page .apc-service-card { overflow: hidden; }
.apc-page .apc-service-number { display: block; margin-bottom: 1.35rem; color: var(--apc-primary); font-size: .78rem; font-weight: 800; letter-spacing: .12em; }
.apc-page .apc-service-card > strong { display: block; margin-top: auto; padding-top: 1rem; color: var(--apc-primary-dark); font-size: 1.25rem; }
.apc-page .apc-service-card--accent { color: var(--apc-surface); border-color: var(--apc-primary-dark); background: var(--apc-primary-dark); }
.apc-page .apc-service-card--accent h3,
.apc-page .apc-service-card--accent > strong { color: var(--apc-surface); }
.apc-page .apc-service-card--accent p { color: rgba(255,255,255,.76); }
.apc-page .apc-service-card--accent .apc-service-number { color: var(--apc-accent); }

/* === Modern APC Process & CTA === */
.apc-page .apc-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; counter-reset: apc-step; }
.apc-page .apc-steps > li {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.5rem;
  border: 1px solid var(--apc-border);
  border-radius: 1rem;
  background: var(--apc-surface);
  color: transparent;
  counter-increment: apc-step;
}
.apc-page .apc-steps > li::before { content: counter(apc-step, decimal-leading-zero); display: grid; place-items: center; width: 2.75rem; aspect-ratio: 1; border-radius: 50%; background: var(--apc-primary); color: var(--apc-surface); font-size: .78rem; font-weight: 800; }
.apc-page .apc-steps h3 { margin: .2rem 0 0; color: var(--apc-text); font-size: 1.1rem; }
.apc-page .apc-steps p { margin: .5rem 0 0; color: var(--apc-muted); font-size: .94rem; }
.apc-page .apc-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(1.75rem, 5vw, 3.5rem); border-radius: 1.35rem; background: var(--apc-primary-dark); color: var(--apc-surface); }
.apc-page .apc-cta h2 { color: var(--apc-surface); max-width: 620px; }
.apc-page .apc-cta p { margin: .85rem 0 0; color: rgba(255,255,255,.78); }
.apc-page .apc-cta .apc-eyebrow { color: var(--apc-accent); }
.apc-page .apc-cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.apc-page .btn-apc-pay { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: .75rem 1.15rem; border: 1px solid var(--apc-primary); border-radius: .65rem; background: var(--apc-primary); color: var(--apc-surface) !important; font-weight: 750; line-height: 1; text-decoration: none !important; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.apc-page .btn-apc-pay:hover { transform: translateY(-2px); border-color: var(--apc-primary-dark); background: var(--apc-primary-dark); color: var(--apc-surface) !important; }
.apc-page .apc-header .btn-apc-pay,
.apc-page .apc-cta .btn-apc-pay { border-color: var(--apc-surface); background: var(--apc-surface); color: var(--apc-primary-dark) !important; }
.apc-page .apc-header .btn-apc-pay:hover,
.apc-page .apc-cta .btn-apc-pay:hover { background: var(--apc-accent); border-color: var(--apc-accent); color: var(--apc-primary-dark) !important; }
.apc-page .btn-apc-pay-outline,
.apc-page .apc-cta .btn-outline { border-color: rgba(255,255,255,.65); background: transparent; color: var(--apc-surface) !important; }
.apc-page .btn-apc-pay-outline:hover,
.apc-page .apc-cta .btn-outline:hover { border-color: var(--apc-surface); background: rgba(255,255,255,.12); }
@media (max-width: 640px) {
  .apc-page .apc-header { padding: 4rem 0; }
  .apc-page .apc-header-content { width: min(100% - 2rem, 1120px); margin-inline: auto; }
  .apc-page .apc-card { padding: 1.4rem; }
  .apc-page .apc-cta { align-items: stretch; }
  .apc-page .apc-cta-actions .btn-apc-pay { width: 100%; }
}


/* === APC compact refinement === */
.apc-page {
  --apc-space-section: clamp(2.25rem, 5vw, 3.5rem);
  --apc-radius: 16px;
}
.apc-page .apc-header {
  min-height: auto;
  padding: clamp(2.5rem, 6vw, 4.25rem) 1.25rem;
}
.apc-page .apc-header-content {
  max-width: 760px;
}
.apc-page .apc-eyebrow {
  margin-bottom: .65rem;
  font-size: .72rem;
  letter-spacing: .12em;
}
.apc-page .apc-header h1 {
  max-width: 690px;
  margin: 0 auto .8rem;
  font-size: clamp(1.85rem, 4vw, 2.7rem);
  line-height: 1.13;
}
.apc-page .apc-header p {
  max-width: 640px;
  margin-bottom: 1.25rem;
  font-size: clamp(.95rem, 1.5vw, 1.05rem);
  line-height: 1.65;
}
.apc-page .apc-section {
  padding-block: var(--apc-space-section);
}
.apc-page .apc-section-heading {
  max-width: 680px;
  margin-bottom: 1.5rem;
}
.apc-page .apc-section-heading h2 {
  margin-bottom: .55rem;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.22;
}
.apc-page .apc-section-heading p,
.apc-page .apc-card p {
  font-size: .95rem;
  line-height: 1.65;
}
.apc-page .apc-cards-container {
  gap: 1rem;
}
.apc-page .apc-card {
  padding: 1.25rem;
  border-radius: var(--apc-radius);
}
.apc-page .apc-card h3 {
  margin-bottom: .55rem;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
}
.apc-page .apc-card-price,
.apc-page .apc-price {
  font-size: clamp(1.9rem, 4vw, 2.65rem);
  line-height: 1.1;
}
.apc-page .apc-card li,
.apc-page .apc-checklist li {
  padding-block: .42rem;
  font-size: .9rem;
}
.apc-page .apc-service-card {
  min-height: 0;
}
.apc-page .apc-steps {
  gap: .85rem;
}
.apc-page .apc-steps > li {
  padding: 1rem;
  font-size: 1.25rem;
}
.apc-page .apc-steps h3 {
  margin-bottom: .25rem;
  font-size: 1.05rem;
}
.apc-page .apc-steps p {
  font-size: .9rem;
  line-height: 1.55;
}
.apc-page .apc-cta {
  padding: clamp(1.35rem, 3vw, 2rem);
  border-radius: var(--apc-radius);
  gap: 1rem;
}
.apc-page .apc-cta h2 {
  margin-bottom: .45rem;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  line-height: 1.2;
}
.apc-page .apc-cta p {
  font-size: .93rem;
  line-height: 1.55;
}
.apc-page .btn-apc-pay,
.apc-page .btn-apc-pay-outline {
  padding: .65rem 1rem;
  border-radius: 10px;
  font-size: .88rem;
  line-height: 1.2;
}
@media (max-width: 640px) {
  .apc-page .apc-header { padding: 2.35rem 1rem; }
  .apc-page .apc-section { padding-block: 2.2rem; }
  .apc-page .apc-card { padding: 1.1rem; }
  .apc-page .apc-cta { padding: 1.2rem; }
  .apc-page .apc-cta-actions { gap: .65rem; }
}


/* === APC compact spacing, payment step & included-addon details === */
.apc-page .apc-section {
  margin: 0;
  padding-block: clamp(2.25rem, 4vw, 3.5rem);
}
.apc-page .apc-section + .apc-section {
  border-top: 1px solid var(--apc-border, #e2e8f0);
}
.apc-page .apc-section-heading {
  margin-bottom: clamp(1.25rem, 2.5vw, 1.85rem);
}
.apc-page .apc-cards-container,
.apc-page .apc-steps {
  margin-top: 0;
}

/* Payment process: supports existing three steps and an optional fourth payment step */
.apc-page .apc-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: .9rem;
  padding: 0;
  list-style: none;
  counter-reset: apc-step;
}
.apc-page .apc-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  gap: .75rem;
  align-items: start;
  min-height: 100%;
  margin: 0;
  padding: 1rem;
  color: var(--apc-text, #1e293b);
  background: var(--apc-surface, #ffffff);
  border: 1px solid var(--apc-border, #e2e8f0);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(10, 61, 46, .06);
}
.apc-page .apc-steps li::first-letter {
  color: transparent;
}
.apc-page .apc-steps li::before {
  content: counter(apc-step);
  counter-increment: apc-step;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  color: #ffffff;
  background: var(--apc-primary, #0d8c62);
  font-size: .78rem;
  font-weight: 800;
  line-height: 1;
}
.apc-page .apc-steps li > div { min-width: 0; }
.apc-page .apc-steps h3 {
  margin: .05rem 0 .3rem;
  font-size: 1rem;
  line-height: 1.3;
}
.apc-page .apc-steps p {
  margin: 0;
  color: var(--apc-muted, #64748b);
  font-size: .88rem;
  line-height: 1.55;
}

/* Add-on service detail: mark automatically bundled items without changing other pages */
.apc-page .apc-service-card .apc-included,
.apc-page .apc-service-card [data-included="true"] {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  width: fit-content;
  margin: .55rem 0 0;
  padding: .22rem .5rem;
  border: 1px solid color-mix(in srgb, var(--apc-primary, #0d8c62) 24%, transparent);
  border-radius: 999px;
  color: var(--apc-primary-dark, #0a3d2e);
  background: color-mix(in srgb, var(--apc-accent, #6ee7b7) 22%, #ffffff);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .02em;
}
.apc-page .apc-service-card .apc-included::before,
.apc-page .apc-service-card [data-included="true"]::before { content: "✓"; }
.apc-page .apc-service-card .apc-included-note,
.apc-page .apc-service-card [data-included-note="true"] {
  display: block;
  margin-top: .4rem;
  color: var(--apc-muted, #64748b);
  font-size: .8rem;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .apc-page .apc-section { padding-block: 2rem; }
  .apc-page .apc-section-heading { margin-bottom: 1.15rem; }
  .apc-page .apc-steps { grid-template-columns: 1fr; }
}


/* === APC compact layout refinements === */
.apc-page .apc-section{padding-block:2rem;margin:0}
.apc-page .apc-section+.apc-section{border-top:1px solid var(--apc-border,#e2e8f0)}
.apc-page .apc-section-heading{margin-bottom:1.25rem}
.apc-page .apc-section-heading h2{margin:0 0 .45rem;font-size:clamp(1.35rem,2.4vw,1.8rem);line-height:1.2}
.apc-page .apc-section-heading p{margin:0;max-width:46rem;font-size:.95rem;line-height:1.65}
.apc-page .apc-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem;margin:0;padding:0;list-style:none;counter-reset:apc-step}
.apc-page .apc-steps>li{position:relative;display:flex;gap:.75rem;align-items:flex-start;padding:1rem;border:1px solid var(--apc-border,#e2e8f0);border-radius:14px;background:var(--apc-surface,#fff);font-size:0;box-shadow:0 5px 15px rgba(10,61,46,.06)}
.apc-page .apc-steps>li::before{content:counter(apc-step,decimal-leading-zero);counter-increment:apc-step;display:grid;place-items:center;flex:0 0 2rem;width:2rem;height:2rem;border-radius:999px;background:var(--apc-primary,#0d8c62);color:#fff;font-size:.72rem;font-weight:800;letter-spacing:.04em}
.apc-page .apc-steps>li div{font-size:inherit}
.apc-page .apc-steps h3{margin:.08rem 0 .25rem;font-size:1rem;line-height:1.25;color:var(--apc-primary-dark,#0a3d2e)}
.apc-page .apc-steps p{margin:0;font-size:.86rem;line-height:1.55;color:var(--apc-muted,#64748b)}
.apc-page .apc-service-card .apc-included,.apc-page .apc-service-card [data-included="true"]{display:inline-flex;align-items:center;gap:.3rem;margin:0 0 .55rem;padding:.25rem .55rem;border-radius:999px;background:rgba(13,140,98,.1);color:var(--apc-primary-dark,#0a3d2e);font-size:.7rem;font-weight:800;line-height:1;text-transform:uppercase;letter-spacing:.055em}
.apc-page .apc-service-card .apc-included::before,.apc-page .apc-service-card [data-included="true"]::before{content:'✓';font-size:.8rem}
.apc-page .apc-service-card .apc-included-note,.apc-page .apc-service-card [data-included-note="true"]{display:block;margin:.55rem 0 0;padding-top:.6rem;border-top:1px solid var(--apc-border,#e2e8f0);font-size:.78rem;line-height:1.45;color:var(--apc-muted,#64748b)}
@media (max-width:900px){.apc-page .apc-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.apc-page .apc-section{padding-block:1.5rem}.apc-page .apc-steps{grid-template-columns:1fr;gap:.65rem}.apc-page .apc-steps>li{padding:.9rem}.apc-page .apc-section-heading{margin-bottom:1rem}}


/* === Additional Files: Tokens === */
.af-page{--af-primary:var(--primary,#0d8c62);--af-dark:var(--primary-dark,#0a3d2e);--af-accent:var(--primary-glow,#6ee7b7);--af-text:var(--text,#1e293b);--af-text-secondary:var(--text-secondary,#475569);--af-muted:var(--muted,#64748b);--af-surface:var(--surface,#ffffff);--af-soft:var(--surface-soft,#f8fafc);--af-border:var(--border,#e2e8f0);--af-gradient:var(--gradient-primary,linear-gradient(135deg,#0a3d2e 0%,#064a36 40%,#0d6b4a 100%));--af-shadow:var(--shadow-lg,0 10px 15px -3px rgba(0,0,0,.1));--af-radius:var(--radius-2xl,1.25rem);color:var(--af-text);font-family:var(--font-heading,'Inter',system-ui,sans-serif);line-height:1.65}

/* === Additional Files: Layout === */
.af-page,.af-page *{box-sizing:border-box}.af-page{max-width:1180px;margin:0 auto}.af-hero,.af-cta{position:relative;overflow:hidden;background:var(--af-gradient);color:var(--af-surface);border-radius:var(--af-radius);padding:clamp(2rem,7vw,5rem) clamp(1.25rem,6vw,4.5rem)}.af-hero::after,.af-cta::after{content:"";position:absolute;width:18rem;height:18rem;right:-7rem;top:-8rem;border:1px solid rgba(255,255,255,.18);border-radius:50%}.af-hero__content{position:relative;z-index:1;max-width:760px}.af-intro{text-align:center;max-width:720px;margin:clamp(2.75rem,6vw,5rem) auto 1.75rem;padding-inline:1rem}.af-grid{display:grid;grid-template-columns:1fr;gap:1rem}.af-compliance{display:grid;gap:1.25rem;margin:clamp(2.75rem,6vw,5rem) 0;padding:clamp(1.35rem,4vw,2.5rem);background:var(--af-soft);border:1px solid var(--af-border);border-radius:var(--af-radius)}.af-steps{margin:clamp(2.75rem,6vw,5rem) 0}.af-steps .af-intro{margin-top:0}.af-steps ol{display:grid;grid-template-columns:1fr;gap:.85rem;list-style:none;padding:0;margin:0}.af-cta{display:grid;gap:1.5rem;align-items:center;margin-top:clamp(2.75rem,6vw,5rem)}

/* === Additional Files: Components === */
.af-eyebrow,.af-kicker,.af-card__label{margin:0 0 .55rem;font-size:.76rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.af-eyebrow{color:var(--af-accent)}.af-kicker,.af-card__label{color:var(--af-primary)}.af-hero h1{margin:0 0 .85rem;color:var(--af-surface);font-size:clamp(2rem,6vw,4rem);line-height:1.05}.af-lead{max-width:62ch;margin:0;font-size:clamp(1rem,2vw,1.18rem);color:var(--af-surface);opacity:.92}.af-hero__actions,.af-cta__actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.35rem}.af-trust{display:flex;flex-wrap:wrap;gap:.55rem;list-style:none;margin:1.4rem 0 0;padding:0}.af-trust li{padding:.35rem .7rem;border:1px solid rgba(255,255,255,.25);border-radius:999px;font-size:.78rem;color:var(--af-surface)}.af-intro h2,.af-compliance h2,.af-steps h2,.af-cta h2{margin:0 0 .65rem;line-height:1.18;font-size:clamp(1.45rem,3.2vw,2.25rem)}.af-intro>p:last-child,.af-compliance p{color:var(--af-text-secondary)}.af-card{position:relative;display:flex;flex-direction:column;padding:1.35rem;background:var(--af-surface);border:1px solid var(--af-border);border-radius:var(--af-radius);box-shadow:var(--shadow-md);transition:transform var(--duration-normal,.3s) var(--ease-out),box-shadow var(--duration-normal,.3s) var(--ease-out)}.af-card:hover{transform:translateY(-5px);box-shadow:var(--af-shadow)}.af-card--featured{border-top:4px solid var(--af-primary)}.af-card__number{display:grid;place-items:center;width:2.5rem;height:2.5rem;margin-bottom:1rem;border-radius:999px;background:var(--af-soft);color:var(--af-primary);font-weight:800}.af-card h2{margin:0 0 .65rem;color:var(--af-dark);font-size:1.25rem}.af-card>p:not(.af-card__label){margin:0;color:var(--af-text-secondary)}.af-checklist{list-style:none;margin:1rem 0 1.25rem;padding:0}.af-checklist li{position:relative;padding:.35rem 0 .35rem 1.65rem;color:var(--af-text-secondary)}.af-checklist li::before{content:"✓";position:absolute;left:0;top:.36rem;display:grid;place-items:center;width:1.05rem;height:1.05rem;border-radius:50%;background:var(--af-primary);color:var(--af-surface);font-size:.66rem;font-weight:900}.af-btn{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;width:fit-content;padding:.72rem 1rem;border:1px solid transparent;border-radius:999px;font-weight:800;text-align:center;text-decoration:none!important;transition:transform var(--duration-normal,.3s) var(--ease-out),background var(--duration-normal,.3s) var(--ease-out)}.af-btn:hover{transform:translateY(-2px)}.af-card .af-btn{margin-top:auto}.af-btn--primary{background:var(--af-primary);color:var(--af-surface)!important}.af-btn--secondary{background:var(--af-soft);border-color:var(--af-border);color:var(--af-dark)!important}.af-btn--accent{background:var(--af-accent);color:var(--af-dark)!important}.af-btn--outline-light{border-color:rgba(255,255,255,.48);color:var(--af-surface)!important;background:transparent}.af-text-link{color:var(--af-primary)!important;font-weight:800;text-decoration:none!important}.af-steps li{display:flex;gap:1rem;padding:1rem;background:var(--af-surface);border:1px solid var(--af-border);border-radius:var(--radius-xl,.75rem)}.af-steps li>span{display:grid;place-items:center;flex:0 0 2.25rem;height:2.25rem;border-radius:999px;background:var(--af-primary);color:var(--af-surface);font-weight:800}.af-steps h3{margin:0;color:var(--af-dark);font-size:1rem}.af-steps p{margin:.2rem 0 0;color:var(--af-muted);font-size:.9rem}.af-cta h2{color:var(--af-surface)}.af-cta p:not(.af-eyebrow){margin:0;color:var(--af-surface);opacity:.9}

/* === Additional Files: Responsive === */
@media (min-width:720px){.af-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.af-compliance{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}.af-steps ol{grid-template-columns:repeat(2,minmax(0,1fr))}.af-cta{grid-template-columns:minmax(0,1.25fr) auto}.af-cta__actions{justify-content:flex-end;margin-top:0}}@media (max-width:719px){.af-page{padding-inline:.25rem}.af-hero,.af-cta{border-radius:var(--radius-xl,.75rem)}.af-btn{width:100%}.af-hero__actions,.af-cta__actions{display:grid}}


/* === Current Issue Pagination: Layout === */
.pkp_page_index .current_issue .sections .section[data-ci-paginated="true"] > .articles > li[hidden]{display:none!important}

/* === Current Issue Pagination: Components === */
.ci-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.45rem;margin:1.5rem 0 .25rem;padding:1rem;border-top:1px solid var(--border,#e2e8f0)}
.ci-pagination__status{flex-basis:100%;margin:0 0 .35rem;text-align:center;color:var(--muted,#64748b);font-size:.875rem}
.ci-pagination button{min-width:2.5rem;min-height:2.5rem;padding:.45rem .7rem;border:1px solid var(--border,#e2e8f0);border-radius:var(--radius-md,.375rem);background:var(--surface,#fff);color:var(--primary-dark,#0a3d2e);font:inherit;font-weight:700;cursor:pointer;transition:background var(--duration-normal,.3s) var(--ease-out,ease),color var(--duration-normal,.3s) var(--ease-out,ease),border-color var(--duration-normal,.3s) var(--ease-out,ease)}
.ci-pagination button:hover,.ci-pagination button:focus-visible{border-color:var(--primary,#0d8c62);background:var(--surface-soft,#f8fafc);outline:2px solid var(--primary-glow,#6ee7b7);outline-offset:2px}
.ci-pagination button[aria-current="page"]{border-color:var(--primary,#0d8c62);background:var(--primary,#0d8c62);color:var(--surface,#fff)}
.ci-pagination button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:480px){.ci-pagination{gap:.3rem;padding-inline:.25rem}.ci-pagination button{min-width:2.25rem;min-height:2.25rem;padding:.35rem .55rem}.ci-pagination__status{font-size:.8rem}}
