/* =========================================================
   JEPCS CUSTOM CSS â€” CLEAN CONSOLIDATED VERSION
   Homepage / Hero / Announcements / Insights / Sidebar /
   Editorial Team / Current Issue / Latest Articles / Footer
   ========================================================= */

:root {
    --jepcs-green: #16803a;
    --jepcs-green-dark: #116b31;
    --jepcs-text: #222222;
    --jepcs-muted: #646464;
    --jepcs-border: #d9d9d9;
    --jepcs-border-light: #e7e7e7;
    --jepcs-hero-bg: #4a4a4a;
}


/* =========================================================
   1. HOMEPAGE HERO
   ========================================================= */

.jepcs-hero {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: var(--jepcs-hero-bg);
    color: #ffffff;
    box-sizing: border-box;
}

.jepcs-hero-inner {
    display: grid;
    grid-template-columns: minmax(165px, 215px) minmax(0, 1fr);
    gap: 42px;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 38px 55px;
    align-items: center;
    box-sizing: border-box;
}

.jepcs-hero-cover {
    width: 100%;
    min-width: 0;
}

.jepcs-hero-cover img {
    display: block;
    width: 100%;
    max-width: 215px;
    height: auto;
    margin: 0;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.jepcs-hero-content {
    min-width: 0;
}

.jepcs-hero-badge {
    display: inline-block;
    margin: 0 0 14px;
    padding: 5px 11px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
    line-height: 1.3;
    font-weight: 600;
    color: #ffffff;
}

.jepcs-hero-title {
    max-width: 1050px;
    margin: 0 0 14px;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(2rem, 3vw, 2.75rem);
    line-height: 1.16;
    font-weight: 400;
    color: #ffffff;
}

.jepcs-hero-subtitle {
    max-width: 950px;
    margin: 0 0 27px;
    padding: 0;
    font-size: 1.06rem;
    line-height: 1.65;
    color: #eeeeee;
    text-align: justify;
    text-justify: inter-word;
}

.jepcs-hero-meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
    max-width: 1150px;
    margin: 0;
    padding: 0;
}

.jepcs-hero-item {
    min-width: 0;
    padding: 2px 8px 3px 15px;
    border-left: 2px solid #89ce6d;
}

.jepcs-hero-meta-label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.77rem;
    line-height: 1.3;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.045em;
    color: #cecece;
}

.jepcs-hero-meta-value {
    display: block;
    font-size: 0.98rem;
    line-height: 1.45;
    font-weight: 600;
    color: #ffffff;
}

.jepcs-hero-item .jepcs-hero-meta-value + .jepcs-hero-meta-value {
    margin-top: 3px;
}

.jepcs-hero-meta-note {
    display: block;
    margin-top: 2px;
    font-size: 0.79rem;
    line-height: 1.4;
    color: #d7d7d7;
}

.jepcs-hero-insights-link {
    display: inline-block;
    margin-top: 5px;
    font-size: 0.79rem;
    line-height: 1.35;
    font-weight: 500;
    color: #d9f0d2;
    text-decoration: none;
    transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

.jepcs-hero-insights-link:hover,
.jepcs-hero-insights-link:focus {
    color: #ffffff;
    text-decoration: underline;
}

.page_index_journal > .homepage_image {
    display: none !important;
}


/* =========================================================
   2. GLOBAL READING TEXT
   ========================================================= */

.pkp_structure_main p,
.pkp_structure_main .page p,
.pkp_structure_main .homepage_about p,
.pkp_structure_main .additional_content p,
.pkp_structure_main .abstract,
.pkp_structure_main .abstract p,
.pkp_structure_main .description,
.pkp_structure_main .description p {
    text-align: justify;
    text-justify: inter-word;
}

.pkp_structure_main .page li {
    text-align: justify;
    text-justify: inter-word;
}


/* =========================================================
   3. HOMEPAGE ABOUT + WHY PUBLISH BULLETS
   ========================================================= */

.page_index_journal .homepage_about {
    box-sizing: border-box;
}

.page_index_journal .homepage_about p {
    text-align: justify;
    text-justify: inter-word;
}

.jepcs-about-benefits {
    margin-top: 32px;
    padding: 0;
}

.jepcs-about-benefits ul {
    margin: 0;
    padding-left: 24px;
    columns: 1;
}

.jepcs-about-benefits li {
    margin-bottom: 9px;
    font-size: 0.98rem;
    line-height: 1.55;
    color: #333333;
    text-align: left !important;
}

.jepcs-about-benefits li strong {
    font-weight: 700;
    color: #222222;
}

/* Unified homepage section headings */
.page_index_journal .homepage_about > h2,
.page_index_journal .jepcs-about-benefits > h3,
.page_index_journal .jepcs-home-section-heading > h2,
.page_index_journal .jepcs-latest-articles-header > h2 {
    margin-top: 0 !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 1.55rem !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    color: #222222 !important;
}

.page_index_journal .homepage_about > h2 {
    margin-bottom: 26px !important;
}

.page_index_journal .jepcs-about-benefits > h3 {
    margin-bottom: 16px !important;
}

.page_index_journal .jepcs-home-section-heading > h2 {
    margin-bottom: 0 !important;
}

.page_index_journal .jepcs-latest-articles-header > h2 {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
}


/* =========================================================
   4. ANNOUNCEMENTS
   Only a TOP section separator is used
   ========================================================= */

body.pkp_page_index .page_index_journal > section.cmp_announcements {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 38px 0 !important;
    padding: 0 !important;
    border-top: 1px solid var(--jepcs-border) !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

body.pkp_page_index .page_index_journal > section.cmp_announcements > h2 {
    display: none !important;
}

body.pkp_page_index .page_index_journal > section.cmp_announcements > .obj_announcement_summary {
    display: block !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 30px 40px 32px !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

body.pkp_page_index .page_index_journal section.cmp_announcements .obj_announcement_summary_details {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

body.pkp_page_index .page_index_journal section.cmp_announcements > .more {
    display: block !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

body.pkp_page_index .page_index_journal section.cmp_announcements::before,
body.pkp_page_index .page_index_journal section.cmp_announcements::after,
body.pkp_page_index .page_index_journal section.cmp_announcements > .more::before,
body.pkp_page_index .page_index_journal section.cmp_announcements > .more::after,
body.pkp_page_index .page_index_journal section.cmp_announcements > .obj_announcement_summary::before,
body.pkp_page_index .page_index_journal section.cmp_announcements > .obj_announcement_summary::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

body.pkp_page_index .page_index_journal section.cmp_announcements > .more > .obj_announcement_summary {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 24px 40px !important;
    border: 0 !important;
    border-top: 1px solid var(--jepcs-border-light) !important;
    box-sizing: border-box !important;
}

body.pkp_page_index .page_index_journal section.cmp_announcements .obj_announcement_summary h2,
body.pkp_page_index .page_index_journal section.cmp_announcements .obj_announcement_summary h3 {
    margin: 0 0 9px !important;
    padding: 0 !important;
    line-height: 1.3 !important;
}

body.pkp_page_index .page_index_journal section.cmp_announcements .obj_announcement_summary .date {
    margin: 0 0 22px !important;
    padding: 0 !important;
}

body.pkp_page_index .page_index_journal section.cmp_announcements .obj_announcement_summary .summary {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    line-height: 1.65 !important;
    text-align: justify !important;
    text-justify: inter-word !important;
}

body.pkp_page_index .page_index_journal section.cmp_announcements .obj_announcement_summary .summary p {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
    text-align: justify !important;
    text-justify: inter-word !important;
}

body.pkp_page_index .page_index_journal section.cmp_announcements .read_more {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    margin: 20px 0 0 !important;
    padding: 0 !important;
    position: static !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    text-align: left !important;
}

body.pkp_page_index .page_index_journal section.cmp_announcements .read_more::before {
    content: none !important;
    display: none !important;
}

body.pkp_page_index .page_index_journal section.cmp_announcements .read_more::after {
    content: "â†’" !important;
    display: inline-block !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin-left: 10px !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    font-size: 1em !important;
    line-height: 1 !important;
    transform: none !important;
}


/* =========================================================
   5. HOMEPAGE PUBLISHING TIMELINE
   Only a TOP section separator is used
   ========================================================= */

.jepcs-home-timeline {
    width: 100%;
    margin: 38px 0 42px;
    padding: 34px 0 10px;
    border-top: 1px solid var(--jepcs-border) !important;
    border-bottom: 0 !important;
    box-sizing: border-box;
}

.jepcs-home-section-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.jepcs-home-section-note {
    font-size: 0.82rem;
    line-height: 1.4;
    color: #777777;
}

.jepcs-home-timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(145px, auto);
    gap: 22px;
    align-items: stretch;
}

.jepcs-home-time-item {
    min-width: 0;
    padding: 7px 14px 8px 17px;
    border-left: 2px solid #555555;
}

.jepcs-home-time-number {
    margin-bottom: 8px;
    font-size: clamp(1.45rem, 2vw, 1.9rem);
    line-height: 1.1;
    font-weight: 400;
    color: #202020;
    white-space: nowrap;
}

.jepcs-home-time-label {
    max-width: 180px;
    font-size: 0.84rem;
    line-height: 1.4;
    color: #444444;
    text-align: left;
}

.jepcs-home-time-more {
    display: flex;
    align-items: center;
    min-width: 0;
    padding-left: 20px;
    border-left: 2px solid #555555;
}

.jepcs-home-time-button {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #222222;
    font-size: 0.9rem;
    line-height: 1.3;
    font-weight: 600;
    text-decoration: none;
}

.jepcs-home-time-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--jepcs-green);
    color: #ffffff;
    font-size: 1.3rem;
    transition: background 0.18s ease, transform 0.18s ease;
}

.jepcs-home-time-button:hover {
    color: var(--jepcs-green);
}

.jepcs-home-time-button:hover .jepcs-home-time-arrow {
    background: var(--jepcs-green-dark);
    transform: translateX(2px);
}


/* =========================================================
   6. HOMEPAGE CURRENT / LATEST ISSUE
   Only a TOP section separator is used
   ========================================================= */

.jepcs-current-issue {
    width: 100%;
    margin: 45px 0 0;
    padding: 38px 0 40px;
    border-top: 1px solid var(--jepcs-border) !important;
    border-bottom: 0 !important;
    box-sizing: border-box;
}

.jepcs-current-issue-inner {
    display: flex;
    align-items: flex-start;
    gap: 28px;
}

.jepcs-current-issue-cover {
    flex: 0 0 145px;
}

.jepcs-current-issue-cover a {
    display: block;
    text-decoration: none;
}

.jepcs-current-issue-cover img {
    display: block;
    width: 145px;
    max-width: 100%;
    height: auto;
    background: #ffffff;
    box-shadow: 0 4px 13px rgba(0, 0, 0, 0.14);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.jepcs-current-issue-cover a:hover img {
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.20);
}

.jepcs-current-issue-info {
    flex: 1;
    min-width: 0;
}

.jepcs-current-issue-label {
    margin: 0 0 8px;
    font-size: 1.05rem;
    line-height: 1.3;
    font-weight: 700;
    color: #333333;
}

.jepcs-current-issue-status {
    display: inline-block;
    margin: 0 0 10px;
    padding: 4px 10px;
    border: 1px solid #b9d8c2;
    background: #f2f8f4;
    color: var(--jepcs-green);
    font-size: 0.78rem;
    line-height: 1.3;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.035em;
}

.jepcs-current-issue-title {
    margin: 0 0 28px !important;
    padding: 0 !important;
    border: 0 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: clamp(1.45rem, 2vw, 1.85rem) !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
}

.jepcs-current-issue-title a {
    color: #222222;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.jepcs-current-issue-title a:hover {
    color: var(--jepcs-green);
}

.jepcs-current-issue-date {
    margin: 0 0 28px;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #666666;
}

.jepcs-current-issue-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 10px 22px;
    border: 2px solid var(--jepcs-green);
    border-radius: 28px;
    color: var(--jepcs-green);
    font-size: 0.92rem;
    line-height: 1.3;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease;
}

.jepcs-current-issue-button span {
    font-size: 1.2rem;
}

.jepcs-current-issue-button:hover {
    background: var(--jepcs-green);
    color: #ffffff;
}


/* =========================================================
   7. HOMEPAGE LATEST ARTICLES
   ========================================================= */

.jepcs-latest-articles {
    width: 100%;
    margin: 45px 0;
    padding: 38px 0 0;
    border-top: 1px solid var(--jepcs-border);
    box-sizing: border-box;
}

.jepcs-latest-articles-header {
    margin: 0 0 20px;
}

.jepcs-latest-articles-list {
    width: 100%;
}

.jepcs-latest-article {
    position: relative;
    width: 100%;
    padding: 27px 0 30px;
    border-bottom: 1px solid var(--jepcs-border-light);
    box-sizing: border-box;
}

.jepcs-latest-article-section {
    margin: 0 0 7px;
    font-size: 0.78rem;
    line-height: 1.3;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.035em;
    color: var(--jepcs-green);
}

.jepcs-latest-article .obj_article_summary {
    position: relative;
    min-height: 100px;
    padding: 0;
    overflow: hidden;
}

.jepcs-latest-article .obj_article_summary .cover {
    float: right !important;
    width: 165px !important;
    max-width: 165px !important;
    margin: 0 0 10px 30px !important;
}

.jepcs-latest-article .obj_article_summary .cover img {
    display: block;
    width: 100% !important;
    max-width: 165px !important;
    height: auto;
    border: 1px solid #dddddd;
    border-radius: 5px;
}

.jepcs-latest-article .obj_article_summary > .title {
    margin: 0 0 12px !important;
    padding: 0 !important;
    border: 0 !important;
    font-size: 1.2rem !important;
    line-height: 1.38 !important;
    font-weight: 700 !important;
}

.jepcs-latest-article .obj_article_summary > .title a {
    color: #202020 !important;
    text-decoration: underline !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 3px;
}

.jepcs-latest-article .obj_article_summary > .title a:hover {
    color: var(--jepcs-green) !important;
}

.jepcs-latest-article .obj_article_summary .meta {
    padding-top: 3px !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    color: #444444 !important;
}

.jepcs-latest-article .obj_article_summary .authors {
    margin-bottom: 4px;
    color: #444444;
}

.jepcs-latest-article .obj_article_summary .published {
    position: static !important;
    color: #666666 !important;
}

.jepcs-latest-article .obj_article_summary .galleys_links {
    display: none !important;
}

.jepcs-latest-empty,
.jepcs-no-latest-articles {
    padding: 18px 0 28px;
    font-size: 0.96rem;
    line-height: 1.55;
    color: #777777;
}

.jepcs-latest-articles-footer {
    margin-top: 28px;
}

.jepcs-view-all-articles {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    border: 2px solid var(--jepcs-green);
    border-radius: 30px;
    color: var(--jepcs-green);
    font-size: 0.92rem;
    line-height: 1.3;
    font-weight: 700;
    text-decoration: none;
}

.jepcs-view-all-articles:hover {
    background: var(--jepcs-green);
    color: #ffffff;
}


/* =========================================================
   8. JOURNAL INSIGHTS PAGE
   ========================================================= */

.jepcs-insights {
    width: 100%;
    max-width: 100%;
    margin: 10px 0 40px;
    color: var(--jepcs-text);
    box-sizing: border-box;
}

.jepcs-insights * {
    box-sizing: border-box;
}

.jepcs-insights .ji-row {
    display: grid;
    grid-template-columns: minmax(210px, 28%) minmax(0, 1fr);
    gap: 34px;
    width: 100%;
    max-width: 100%;
    padding: 34px 10px;
    border-top: 1px solid var(--jepcs-border);
    align-items: start;
}

.jepcs-insights .ji-row:last-child {
    border-bottom: 1px solid var(--jepcs-border);
}

.jepcs-insights .ji-label {
    font-size: 1.55rem;
    line-height: 1.3;
    font-weight: 500;
    color: #202020;
}

.jepcs-insights .ji-content {
    min-width: 0;
    max-width: 100%;
    font-size: 1.02rem;
    line-height: 1.6;
    overflow: hidden;
    text-align: justify;
    text-justify: inter-word;
}

.jepcs-insights .ji-content p {
    margin-top: 0;
    margin-bottom: 14px;
    text-align: justify;
    text-justify: inter-word;
}

.jepcs-insights .ji-subject-list ul {
    margin: 0;
    padding-left: 1.35rem;
    columns: 2;
    column-gap: 42px;
}

.jepcs-insights .ji-subject-list li {
    margin: 0 0 8px;
    padding-left: 4px;
    break-inside: avoid;
    text-align: left;
}

.jepcs-insights .ji-option {
    padding: 0 0 2px 22px;
    border-left: 3px solid var(--jepcs-green);
}

.jepcs-insights .ji-option h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
    color: #111111;
}

.jepcs-insights .ji-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 20px;
    width: 100%;
    max-width: 100%;
}

.jepcs-insights .ji-metric {
    min-width: 0;
    min-height: 118px;
    padding: 6px 10px 8px 18px;
    border-left: 2px solid #555555;
}

.jepcs-insights .ji-number {
    margin-bottom: 8px;
    font-size: clamp(1.55rem, 2.6vw, 2rem);
    line-height: 1.1;
    font-weight: 400;
    color: #1c1c1c;
    white-space: nowrap;
}

.jepcs-insights .ji-caption {
    font-size: 0.96rem;
    line-height: 1.4;
    color: #333333;
    overflow-wrap: anywhere;
    text-align: left;
}

.jepcs-insights .ji-indexing-row {
    min-height: 150px;
}


/* =========================================================
   9. SIDEBAR / INNER-PAGE LAYOUT
   ========================================================= */

.pkp_structure_sidebar .block_information,
.pkp_structure_sidebar .pkp_block.block_information {
    display: none !important;
}

.pkp_structure_content.has_sidebar > .pkp_structure_main::after,
.pkp_structure_content.has_sidebar > .pkp_structure_sidebar::before,
.pkp_structure_content.has_sidebar > .pkp_structure_sidebar::after {
    content: none !important;
    display: none !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

.pkp_structure_content.has_sidebar > .pkp_structure_main {
    border-right: 0 !important;
    box-shadow: none !important;
}

.pkp_structure_content.has_sidebar > .pkp_structure_sidebar {
    border-left: 0 !important;
    box-shadow: none !important;
}

.jepcs-sidebar-cover {
    width: 100%;
    margin: 32px 0 34px;
    padding: 0;
    text-align: center;
    box-sizing: border-box;
}

.jepcs-sidebar-cover a {
    display: inline-block;
    width: 100%;
    max-width: 210px;
    text-decoration: none;
}

.jepcs-sidebar-cover img {
    display: block;
    width: 100%;
    max-width: 210px;
    height: auto;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.jepcs-sidebar-cover a:hover img,
.jepcs-sidebar-cover a:focus img {
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.20);
}

.jepcs-sidebar-insights {
    width: 100%;
    margin: 0 0 28px;
    padding: 0;
    color: var(--jepcs-text);
    box-sizing: border-box;
}

.jepcs-sidebar-insights h2 {
    margin: 0 0 16px;
    padding: 0 0 9px;
    border-bottom: 2px solid var(--jepcs-green);
    font-size: 1.18rem;
    line-height: 1.3;
    color: #333333;
}

.jepcs-sidebar-insights .jsi-item {
    padding: 11px 0;
    border-bottom: 1px solid var(--jepcs-border-light);
}

.jepcs-sidebar-insights .jsi-label {
    display: block;
    margin-bottom: 3px;
    font-size: 0.74rem;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #777777;
}

.jepcs-sidebar-insights strong {
    display: block;
    font-size: 0.94rem;
    line-height: 1.4;
    font-weight: 600;
    color: #222222;
}

.jepcs-sidebar-insights small {
    display: block;
    margin-top: 3px;
    font-size: 0.79rem;
    line-height: 1.35;
    color: #666666;
}

.jepcs-linkedin-block {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #d8d8d8;
    text-align: center;
}

.jepcs-linkedin-title {
    margin-bottom: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #222222;
}

.jepcs-linkedin-block a {
    display: inline-block;
    text-decoration: none;
}

.jepcs-linkedin-logo {
    display: block;
    width: 90px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.jepcs-linkedin-block a:hover .jepcs-linkedin-logo {
    transform: scale(1.08);
    opacity: 0.85;
}


/* =========================================================
   10. EDITORIAL TEAM
   Heading first, separator directly below heading.
   No bottom boundaries on editor sections/cards.
   ========================================================= */

.jepcs-editorial-team {
    width: 100%;
    box-sizing: border-box;
}

.jepcs-editorial-team > h1 {
    margin: 0 0 45px;
    font-size: 2.1rem;
    line-height: 1.2;
    font-weight: 700;
    color: #222222;
}

.jepcs-editorial-section {
    margin: 0;
    padding: 0;
    border: 0 !important;
}

.jepcs-editorial-section > h2 {
    margin: 0 0 38px !important;
    padding: 0 0 20px !important;
    border-top: 0 !important;
    border-bottom: 2px solid #b9b9b9 !important;
    font-size: 1.35rem !important;
    line-height: 1.3;
    font-weight: 700;
    color: #222222;
}

/* Space between Co-Editors-in-Chief and Associate Editors.
   This supports the current HTML even if it does not use
   an extra jepcs-chief-section class. */
.jepcs-editorial-team > .jepcs-editorial-section:first-of-type {
    margin-bottom: 70px;
}

.jepcs-editorial-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 55px;
    row-gap: 50px;
}

.jepcs-editor-card {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

/* Explicitly neutralize all old Associate Editors section borders */
.jepcs-associate-section {
    margin-top: 0 !important;
    padding: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
}

.jepcs-associate-section > h2 {
    margin: 0 0 38px !important;
    padding: 0 0 20px !important;
    border-top: 0 !important;
    border-bottom: 2px solid #b9b9b9 !important;
}

.jepcs-associate-section .jepcs-editorial-grid {
    margin: 0;
    row-gap: 50px;
    column-gap: 55px;
    border: 0 !important;
}

.jepcs-associate-section .jepcs-editor-card {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.jepcs-editorial-section::before,
.jepcs-editorial-section::after,
.jepcs-associate-section::before,
.jepcs-associate-section::after {
    content: none !important;
    display: none !important;
    border: 0 !important;
}

.jepcs-editor-photo {
    flex: 0 0 120px;
}

.jepcs-editor-photo img {
    display: block;
    width: 120px;
    height: 150px;
    object-fit: cover;
    object-position: center top;
    border: 1px solid #c7c7c7;
    background: #f5f5f5;
}

.jepcs-editor-info {
    flex: 1;
    min-width: 0;
}

.jepcs-editor-info h3 {
    margin: 0 0 7px;
    padding: 0;
    font-size: 1.45rem;
    line-height: 1.2;
    font-weight: 700;
    color: #222222;
}

.jepcs-editor-role {
    margin: 0 0 13px;
    font-size: 1rem;
    line-height: 1.45;
    font-weight: 400;
    color: #333333;
}

.jepcs-editor-affiliation {
    margin: 0 0 14px;
    font-size: 0.98rem;
    line-height: 1.55;
    font-weight: 400;
    color: #333333;
}

.jepcs-editor-email {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.5;
    font-weight: 400;
    color: #333333;
}

.jepcs-editor-email a {
    font-weight: 400;
    color: #0073aa;
    text-decoration: none;
}

.jepcs-editor-email a:hover {
    text-decoration: underline;
}


/* Temporary profile placeholder */
.jepcs-editor-placeholder {
    position: relative;
    flex: 0 0 120px;
    width: 120px;
    height: 150px;
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid #c7c7c7;
    background: #eeeeee;
}

.jepcs-placeholder-head {
    position: absolute;
    top: 24px;
    left: 50%;
    width: 52px;
    height: 58px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: #9f9f9f;
    z-index: 2;
}

.jepcs-placeholder-body {
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 108px;
    height: 78px;
    transform: translateX(-50%);
    border-radius: 52px 52px 0 0;
    background: #8d8d8d;
}

.jepcs-placeholder-shirt {
    position: absolute;
    top: 4px;
    left: 50%;
    width: 30px;
    height: 48px;
    transform: translateX(-50%);
    background: #eeeeee;
    clip-path: polygon(0 0, 50% 30%, 100% 0, 78% 100%, 22% 100%);
}

.jepcs-placeholder-tie {
    position: absolute;
    top: 15px;
    left: 50%;
    width: 9px;
    height: 40px;
    transform: translateX(-50%);
    background: #666666;
    clip-path: polygon(50% 0, 100% 18%, 72% 100%, 28% 100%, 0 18%);
}


/* =========================================================
   11. COMPACT FOOTER
   ========================================================= */

.pkp_structure_footer_wrapper {
    padding: 0 !important;
}

.pkp_structure_footer {
    padding: 0 !important;
    margin: 0 !important;
}

.pkp_footer_content {
    padding: 18px 30px !important;
    margin: 0 !important;
}

.pkp_footer_content p {
    margin: 0 0 7px !important;
    line-height: 1.45 !important;
}

.pkp_brand_footer {
    display: none !important;
}


/* =========================================================
   12. RESPONSIVE LAYOUT
   ========================================================= */

@media (min-width: 992px) {
    .pkp_structure_content.has_sidebar > .pkp_structure_main {
        width: 78% !important;
        max-width: 78% !important;
        box-sizing: border-box !important;
    }

    .pkp_structure_content.has_sidebar > .pkp_structure_sidebar {
        width: 22% !important;
        max-width: 22% !important;
        padding: 0 25px !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 1200px) {
    .jepcs-hero-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .jepcs-home-timeline-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jepcs-home-time-more {
        border-left: 2px solid #555555;
        min-height: 75px;
    }
}

@media (max-width: 1050px) {
    .jepcs-insights .ji-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jepcs-insights .ji-subject-list ul {
        columns: 1;
    }

    .jepcs-hero-inner {
        grid-template-columns: 180px minmax(0, 1fr);
        gap: 30px;
        padding: 32px 34px;
    }

    .jepcs-hero-cover img {
        max-width: 180px;
    }

    .jepcs-hero-meta {
        gap: 18px;
    }
}

@media (max-width: 991px) {
    .pkp_structure_content.has_sidebar > .pkp_structure_main,
    .pkp_structure_content.has_sidebar > .pkp_structure_sidebar {
        width: 100% !important;
        max-width: 100% !important;
    }

    .jepcs-hero-inner {
        grid-template-columns: 170px minmax(0, 1fr);
        gap: 28px;
        padding: 30px 28px;
    }

    .jepcs-hero-cover img {
        max-width: 170px;
    }

    .jepcs-hero-meta {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .jepcs-sidebar-cover {
        margin: 28px 0;
    }

    .jepcs-sidebar-cover a,
    .jepcs-sidebar-cover img {
        max-width: 175px;
    }
}

@media (max-width: 950px) {
    .jepcs-editorial-grid {
        grid-template-columns: 1fr;
    }

    .jepcs-editorial-team > .jepcs-editorial-section:first-of-type {
        margin-bottom: 55px;
    }

    .jepcs-editorial-section > h2,
    .jepcs-associate-section > h2 {
        margin-bottom: 32px !important;
    }

    .jepcs-associate-section .jepcs-editorial-grid,
    .jepcs-editorial-grid {
        row-gap: 38px;
    }
}

@media (max-width: 700px) {
    .jepcs-hero-inner {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 25px 20px;
    }

    .jepcs-hero-cover img {
        width: 165px;
        max-width: 165px;
    }

    .jepcs-hero-title {
        font-size: 1.7rem;
    }

    .jepcs-hero-subtitle {
        font-size: 1rem;
        text-align: left;
    }

    body.pkp_page_index .page_index_journal > section.cmp_announcements > .obj_announcement_summary {
        padding: 25px 20px 27px !important;
    }

    body.pkp_page_index .page_index_journal section.cmp_announcements > .more > .obj_announcement_summary {
        padding: 22px 20px !important;
    }

    .pkp_structure_main p {
        text-align: left;
    }

    .jepcs-insights .ji-row {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 26px 4px;
    }

    .jepcs-insights .ji-label {
        font-size: 1.35rem;
    }

    .jepcs-insights .ji-metrics {
        grid-template-columns: 1fr;
    }

    .jepcs-insights .ji-content,
    .jepcs-insights .ji-content p {
        text-align: left;
    }

    .jepcs-about-benefits {
        margin-top: 25px;
    }

    .jepcs-about-benefits ul {
        padding-left: 20px;
    }

    .jepcs-about-benefits li {
        font-size: 0.94rem;
        margin-bottom: 10px;
    }

    .page_index_journal .homepage_about > h2,
    .page_index_journal .jepcs-about-benefits > h3,
    .page_index_journal .jepcs-home-section-heading > h2,
    .page_index_journal .jepcs-latest-articles-header > h2 {
        font-size: 1.4rem !important;
    }

    .jepcs-home-section-heading {
        display: block;
    }

    .jepcs-home-section-note {
        display: block;
        margin-top: 6px;
    }

    .jepcs-home-timeline-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .jepcs-home-time-label {
        max-width: none;
    }

    .jepcs-home-time-more {
        padding: 16px 0 0;
        border-left: 0;
        border-top: 1px solid var(--jepcs-border);
    }

    .jepcs-current-issue-inner {
        gap: 20px;
    }

    .jepcs-current-issue-cover {
        flex-basis: 105px;
    }

    .jepcs-current-issue-cover img {
        width: 105px;
    }

    .jepcs-current-issue-title {
        font-size: 1.3rem !important;
    }

    .jepcs-current-issue-button {
        padding: 8px 15px;
        font-size: 0.84rem;
    }

    .jepcs-latest-article .obj_article_summary .cover {
        float: none !important;
        width: 130px !important;
        max-width: 130px !important;
        margin: 0 0 18px !important;
    }

    .jepcs-latest-article .obj_article_summary .cover img {
        max-width: 130px !important;
    }

    .jepcs-latest-article .obj_article_summary > .title {
        font-size: 1.08rem !important;
    }
}

@media (max-width: 600px) {
    .jepcs-editorial-team > h1 {
        font-size: 1.8rem;
        margin-bottom: 32px;
    }

    .jepcs-editorial-section > h2,
    .jepcs-associate-section > h2 {
        font-size: 1.2rem !important;
        padding-bottom: 16px !important;
        margin-bottom: 28px !important;
    }

    .jepcs-editor-card {
        gap: 17px;
    }

    .jepcs-editor-photo,
    .jepcs-editor-placeholder {
        flex-basis: 95px;
        width: 95px;
    }

    .jepcs-editor-photo img,
    .jepcs-editor-placeholder {
        width: 95px;
        height: 120px;
    }

    .jepcs-editor-info h3 {
        font-size: 1.25rem;
    }

    .jepcs-editor-role,
    .jepcs-editor-affiliation,
    .jepcs-editor-email {
        font-size: 0.92rem;
    }
}
/* =========================================================
   JEPCS ARTICLE PROCESSING CHARGES PAGE
   ========================================================= */

.jepcs-apc-page {
    width: 100%;
    max-width: 100%;
    color: #222;
}

.jepcs-apc-page h2 {
    margin: 0 0 28px;
}

.jepcs-apc-page h3 {
    margin: 32px 0 12px;
    font-size: 1.2rem;
    line-height: 1.35;
    color: #222;
}

.jepcs-apc-page p {
    line-height: 1.65;
}

.jepcs-apc-highlight {
    margin: 28px 0 34px;
    padding: 24px 28px;

    border-left: 4px solid var(--jepcs-green);

    background: #f6faf7;
}

.jepcs-apc-highlight h3 {
    margin-top: 0;
    color: var(--jepcs-green-dark);
}

.jepcs-apc-current {
    margin-bottom: 0;
    font-size: 1.05rem;
}

/* =========================================================
   JEPCS ARTICLE LANDING PAGE â€” CONSOLIDATED
   Current article template + JATS full text + CSL citation UI
   ========================================================= */

/* ---------------------------------------------------------
   1. ARTICLE PAGE SHELL
   --------------------------------------------------------- */

body.pkp_page_article.pkp_op_view .pkp_structure_content.has_sidebar > .pkp_structure_sidebar {
    display: none !important;
}

body.pkp_page_article.pkp_op_view .pkp_structure_content.has_sidebar > .pkp_structure_main {
    width: 100% !important;
    max-width: 100% !important;
    padding-right: 0 !important;
    border-right: 0 !important;
    box-shadow: none !important;
}

body.pkp_page_article.pkp_op_view .pkp_structure_content {
    width: 100% !important;
    max-width: 1500px !important;
    margin: 0 auto !important;
    padding-left: 34px !important;
    padding-right: 34px !important;
    box-sizing: border-box !important;
}

body.pkp_page_article.pkp_op_view .cmp_breadcrumbs {
    display: none !important;
}

.jepcs-article-page {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 0 60px;
    color: #222222;
    box-sizing: border-box;
}

.jepcs-article-page *,
.jepcs-article-page *::before,
.jepcs-article-page *::after {
    box-sizing: border-box;
}

.jepcs-article-page > .cmp_notification {
    margin: 5px 0 35px !important;
    padding: 18px 24px !important;
    border-left: 5px solid var(--jepcs-green) !important;
    background: #eeeeee !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
}


/* ---------------------------------------------------------
   2. ARTICLE LAYOUT
   --------------------------------------------------------- */

.jepcs-article-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 42px;
    width: 100%;
    align-items: start;
}

.jepcs-article-main {
    min-width: 0;
    width: 100%;
}


/* ---------------------------------------------------------
   3. LEFT JOURNAL / ISSUE PANEL
   --------------------------------------------------------- */

.jepcs-article-left {
    width: 250px;
    min-width: 250px;
    padding: 0;
}

.jepcs-article-cover {
    width: 100%;
    margin: 0;
    padding: 0 0 28px;
}

.jepcs-article-cover a {
    display: block;
    text-decoration: none;
}

.jepcs-article-cover img {
    display: block;
    width: 220px;
    max-width: 220px;
    height: auto;
    margin: 0 auto 0 0;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.14);
}

.jepcs-article-journal-name {
    margin: 0;
    padding: 26px 0 20px;
    border-top: 4px solid #292929;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.22rem;
    line-height: 1.4;
    font-weight: 400;
    color: #222222;
}

.jepcs-article-metadata {
    margin: 3px 0 0;
    padding: 0;
}

.jepcs-article-meta-row {
    margin: 0 0 13px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.94rem;
    line-height: 1.45;
    color: #333333;
}

.jepcs-article-meta-row strong {
    font-weight: 700;
}

.jepcs-article-meta-row a {
    color: #222222;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.jepcs-article-meta-row a:hover {
    color: var(--jepcs-green);
}

.jepcs-left-doi {
    overflow-wrap: anywhere;
}

/* The journal name is already shown above the metadata.
   Keep the legacy HTML harmless if it still exists. */
.jepcs-published-by {
    display: none !important;
}


/* ---------------------------------------------------------
   4. ARTICLE HEADER
   --------------------------------------------------------- */

.jepcs-article-header {
    width: 100%;
    margin: 0;
    padding: 3px 0 27px;
    border-bottom: 2px solid #333333;
}

.jepcs-article-labels {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 11px;
    margin: 0 0 18px;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.jepcs-article-type,
.jepcs-open-access {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 400;
    color: #333333;
}

.jepcs-open-access {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.jepcs-open-access-dot {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: var(--jepcs-green);
}

.jepcs-article-title {
    width: 100%;
    max-width: none;
    margin: 0 0 23px !important;
    padding: 0 !important;
    border: 0 !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 2.25rem !important;
    line-height: 1.18 !important;
    font-weight: 400 !important;
    letter-spacing: -0.012em !important;
    color: #222222 !important;
}

.jepcs-article-subtitle {
    max-width: 1050px;
    margin: 0 0 18px !important;
    padding: 0 !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 1.3rem !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
    color: #444444 !important;
}


/* ---------------------------------------------------------
   5. AUTHORS + AFFILIATIONS + HISTORY
   --------------------------------------------------------- */

.jepcs-article-authors {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin: 0 0 12px;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

.jepcs-article-author {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.jepcs-author-name {
    color: #252525;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.jepcs-author-separator {
    margin-right: 4px;
    color: #555555;
}

.jepcs-author-orcid {
    display: inline-flex;
    align-items: center;
    margin-left: 2px;
    text-decoration: none !important;
}

.jepcs-author-orcid svg,
.jepcs-author-orcid img {
    width: 17px !important;
    height: 17px !important;
}

.jepcs-article-affiliations {
    width: 100%;
    max-width: 1050px;
    margin: 5px 0 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.jepcs-article-affiliations:empty {
    display: none;
}

.jepcs-affiliation-row {
    margin: 0 0 3px;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8rem;
    line-height: 1.45;
    color: #666666;
}

.jepcs-affiliation-author {
    font-weight: 600;
    color: #444444;
}

.jepcs-affiliation-value {
    color: #666666;
}

.jepcs-article-history {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 22px 0 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.89rem;
    line-height: 1.5;
    color: #444444;
}

.jepcs-article-history strong {
    font-weight: 700;
}

.jepcs-article-history span:not(:last-child)::after {
    content: ",";
}


/* ---------------------------------------------------------
   6. PDF / CITE / SHARE / DOI ACTION BAR
   --------------------------------------------------------- */

.jepcs-article-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 26px;
    width: 100%;
    margin: 24px 0 0;
    padding: 0;
}

.jepcs-article-galleys {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin: 0;
}

.jepcs-article-galleys .obj_galley_link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 128px !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 0 32px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: var(--jepcs-green) !important;
    color: #ffffff !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 1rem !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: background 0.18s ease;
}

.jepcs-article-galleys .obj_galley_link::before {
    content: "View ";
}

.jepcs-article-galleys .obj_galley_link:hover,
.jepcs-article-galleys .obj_galley_link:focus {
    background: var(--jepcs-green-dark) !important;
}

.jepcs-article-action-link {
    appearance: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 0 2px !important;
    border: 0 !important;
    background: transparent !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 1rem !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    color: var(--jepcs-green) !important;
    cursor: pointer !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.jepcs-article-action-link:hover,
.jepcs-article-action-link:focus {
    color: var(--jepcs-green-dark) !important;
    text-decoration: underline !important;
}

.jepcs-action-icon {
    display: inline-flex !important;
    align-items: center !important;
    margin-right: 5px !important;
    font-size: 1.05rem !important;
    line-height: 1 !important;
}

.jepcs-article-header-doi {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    min-height: 40px;
    padding-left: 28px;
    border-left: 1px solid #bdbdbd;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.96rem;
    line-height: 1.4;
}

.jepcs-article-header-doi a {
    color: #333333;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.jepcs-article-header-doi a:hover {
    color: var(--jepcs-green);
    text-decoration: underline;
}


/* ---------------------------------------------------------
   7. CITATION PANEL + NATIVE OJS CSL UI
   --------------------------------------------------------- */

.jepcs-citation-panel {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 20px 0 0 !important;
    padding: 20px 24px !important;
    overflow: visible !important;
    border-left: 4px solid var(--jepcs-green) !important;
    background: #f5f7f5 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    box-sizing: border-box !important;
}

.jepcs-citation-panel[hidden] {
    display: none !important;
}

.jepcs-citation-panel-heading {
    margin: 0 0 12px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 700;
    color: #222222;
}

.jepcs-citation-panel .item.citation,
.jepcs-citation-panel .citation_display,
.jepcs-citation-panel .citation_display > .value {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.jepcs-citation-panel .citation_display > .label {
    display: none !important;
}

.jepcs-citation-panel #citationOutput {
    max-width: 100% !important;
    margin: 0 0 14px !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    color: #333333 !important;
}

/* Keep the format selector compact and make the expanded menu float,
   so opening it does not increase the green citation panel height. */
.jepcs-citation-panel .citation_formats {
    position: relative !important;
    display: inline-block !important;
    width: auto !important;
    max-width: none !important;
    margin: 14px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: visible !important;
}

.jepcs-citation-panel .citation_formats_button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;
    height: 46px !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    border: 1px solid #aaaaaa !important;
    border-radius: 2px !important;
    background: #ffffff !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 0.88rem !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    color: #333333 !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

.jepcs-citation-panel .citation_formats_button:hover,
.jepcs-citation-panel .citation_formats_button:focus {
    border-color: var(--jepcs-green) !important;
    color: var(--jepcs-green-dark) !important;
}

/* Native plugin ID for the expanded list */
.jepcs-citation-panel #cslCitationFormats {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 0 !important;
    width: 370px !important;
    max-width: calc(100vw - 80px) !important;
    height: auto !important;
    max-height: 430px !important;
    margin: 0 !important;
    padding: 10px 14px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border: 1px solid #cccccc !important;
    border-radius: 2px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14) !important;
    z-index: 9999 !important;
}

.jepcs-citation-panel #cslCitationFormats .citation_formats_styles {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.jepcs-citation-panel #cslCitationFormats .citation_formats_styles li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.jepcs-citation-panel #cslCitationFormats .citation_formats_styles a,
.jepcs-citation-panel #cslCitationFormats .citation_formats_download a {
    display: block !important;
    padding: 9px 5px !important;
    border-bottom: 1px solid #e1e1e1 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 0.86rem !important;
    line-height: 1.25 !important;
    color: #333333 !important;
    text-decoration: none !important;
}

.jepcs-citation-panel #cslCitationFormats .citation_formats_styles a:hover,
.jepcs-citation-panel #cslCitationFormats .citation_formats_download a:hover {
    color: var(--jepcs-green) !important;
    background: #f5f7f5 !important;
}

.jepcs-citation-panel #cslCitationFormats .label {
    margin: 12px 0 5px !important;
    padding: 0 5px !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 1rem !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    color: #222222 !important;
}

.jepcs-citation-panel #cslCitationFormats .citation_formats_download {
    margin: 0 !important;
    padding: 0 !important;
}

.jepcs-citation-panel #cslCitationFormats::-webkit-scrollbar {
    width: 6px;
}

.jepcs-citation-panel #cslCitationFormats::-webkit-scrollbar-thumb {
    background: #aaaaaa;
    border-radius: 8px;
}


/* ---------------------------------------------------------
   8. ARTICLE BODY + ABSTRACT / KEYWORDS / REFERENCES
   --------------------------------------------------------- */

body.pkp_page_article.pkp_op_view .jepcs-article-body-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 340px !important;
    gap: 46px !important;
    width: 100% !important;
    margin: 28px 0 0 !important;
    align-items: start !important;
}

.jepcs-article-content {
    min-width: 0;
    width: 100%;
}

.jepcs-paper-section {
    width: 100%;
    margin: 0;
    padding: 27px 0 34px;
    border-bottom: 1px solid #e2e2e2;
    scroll-margin-top: 25px;
}

.jepcs-paper-section:first-child {
    padding-top: 9px;
}

.jepcs-paper-section > h2 {
    margin: 0 0 17px !important;
    padding: 0 !important;
    border: 0 !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 1.65rem !important;
    line-height: 1.28 !important;
    font-weight: 400 !important;
    color: #222222 !important;
}

.jepcs-paper-section-content {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    line-height: 1.72;
    color: #292929;
}

.jepcs-paper-section-content p {
    margin: 0 0 16px !important;
}

/* Default article-reading alignment */
.jepcs-article-page .jepcs-paper-section-content,
.jepcs-article-page .jepcs-paper-section-content p,
.jepcs-article-page .jepcs-reference-list,
.jepcs-article-page .jepcs-reference-item {
    text-align: left !important;
    text-justify: auto !important;
}

/* Requested exception: justify the abstract */
#abstract .jepcs-paper-section-content,
#abstract .jepcs-paper-section-content p {
    text-align: justify !important;
    text-justify: inter-word !important;
}

.jepcs-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.94rem;
    line-height: 1.6;
    color: #333333;
}

.jepcs-keyword {
    display: inline;
}

.jepcs-keyword::after {
    content: "; ";
    white-space: pre;
}

.jepcs-keyword:last-child::after {
    content: "";
}

.jepcs-reference-list {
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.91rem;
    line-height: 1.62;
    color: #333333;
}

.jepcs-reference-item {
    width: 100%;
    margin: 0;
    padding: 12px 0;
    border-bottom: 1px solid #eeeeee;
}

.jepcs-reference-item:last-child {
    border-bottom: 0;
}

.jepcs-reference-item a,
.jepcs-reference-raw a {
    color: #0073aa;
    text-decoration: none;
}

.jepcs-reference-item a:hover,
.jepcs-reference-raw a:hover {
    text-decoration: underline;
}

.jepcs-reference-raw {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.91rem;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   9. RIGHT "ON THIS PAGE" OUTLINE
   --------------------------------------------------------- */

body.pkp_page_article.pkp_op_view .jepcs-article-navigation {
    position: sticky !important;
    top: 24px !important;
    align-self: start !important;
    width: 340px !important;
    min-width: 340px !important;
    max-width: 340px !important;
    max-height: calc(100vh - 48px) !important;
    margin: 0 !important;
    padding: 0 !important;
}

.jepcs-article-navigation-title {
    margin: 0 0 16px;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.24rem;
    line-height: 1.3;
    font-weight: 400;
    color: #222222;
}

body.pkp_page_article.pkp_op_view .jepcs-article-navigation-links {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 115px) !important;
    margin: 0;
    padding: 0 12px 0 18px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    border-left: 1px solid #b8b8b8;
}

body.pkp_page_article.pkp_op_view .jepcs-article-navigation-links a {
    display: block !important;
    margin: 0 0 13px !important;
    padding: 5px 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.91rem;
    line-height: 1.35 !important;
    color: #333333;
    text-decoration: none;
}

.jepcs-article-navigation-links a:hover,
.jepcs-article-navigation-links a:focus {
    color: var(--jepcs-green);
    text-decoration: underline;
}

.jepcs-outline-generated-link {
    position: relative;
}

.jepcs-outline-generated-link.is-active {
    color: var(--jepcs-green) !important;
    font-weight: 700 !important;
}

.jepcs-outline-generated-link.is-active::before {
    content: "";
    position: absolute;
    left: -18px;
    top: 3px;
    bottom: 3px;
    width: 3px;
    background: var(--jepcs-green);
}

/* The JavaScript now inserts only h1/h2.
   Hide deeper levels as a safety net for cached/legacy markup. */
.jepcs-article-navigation .jepcs-outline-level-3,
.jepcs-article-navigation .jepcs-outline-level-4,
.jepcs-article-navigation .jepcs-outline-level-5 {
    display: none !important;
}

.jepcs-article-navigation-links::-webkit-scrollbar {
    width: 5px;
}

.jepcs-article-navigation-links::-webkit-scrollbar-thumb {
    background: #b8b8b8;
    border-radius: 8px;
}


/* ---------------------------------------------------------
   10. JATS FULL-TEXT CONTENT
   --------------------------------------------------------- */

.jepcs-fulltext-plugin-content {
    width: 100%;
    margin: 0;
    padding: 0;
}

.jatsParser__article-fulltext {
    width: 100%;
    margin: 0;
    padding: 8px 0 0;
    color: #292929;
}

.jatsParser__article-fulltext h1,
.jatsParser__article-fulltext h2,
.jatsParser__article-fulltext h3,
.jatsParser__article-fulltext h4,
.jatsParser__article-fulltext h5 {
    color: #222222;
    scroll-margin-top: 28px;
}

.jatsParser__article-fulltext h1,
.jatsParser__article-fulltext h2 {
    margin: 36px 0 17px !important;
    padding: 0 !important;
    border: 0 !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 1.65rem !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
}

.jatsParser__article-fulltext h3 {
    margin: 29px 0 13px !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 1.28rem !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
}

.jatsParser__article-fulltext h4,
.jatsParser__article-fulltext h5 {
    margin: 23px 0 10px !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 1rem !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
}

.jatsParser__article-fulltext p {
    margin: 0 0 17px !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 1.04rem !important;
    line-height: 1.72 !important;
    color: #292929 !important;
}

.jatsParser__article-fulltext ul,
.jatsParser__article-fulltext ol {
    margin: 12px 0 20px 25px;
    padding: 0;
    line-height: 1.65;
}

.jatsParser__article-fulltext li {
    margin-bottom: 8px;
}

.jatsParser__article-fulltext a {
    color: var(--jepcs-green-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}


/* ---------------------------------------------------------
   11. MATHJAX / EQUATIONS
   --------------------------------------------------------- */

.jatsParser__article-fulltext mjx-container[jax="CHTML"] {
    font-size: 102% !important;
}

.jatsParser__article-fulltext mjx-container[display="true"] {
    display: block !important;
    max-width: 100% !important;
    margin: 1.4rem 0 !important;
    padding: 0.15rem 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
}

.jatsParser__article-fulltext .disp-formula {
    position: relative !important;
    margin: 26px 0 !important;
    padding: 4px 54px 4px 10px !important;
    overflow-x: auto !important;
}

.jatsParser__article-fulltext .disp-formula > .label {
    position: absolute !important;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 0.9rem !important;
}


/* ---------------------------------------------------------
   12. TABLES
   --------------------------------------------------------- */

.jatsParser__article-fulltext table {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 32px 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    border-collapse: collapse !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 0.82rem !important;
    line-height: 1.35 !important;
}

.jatsParser__article-fulltext table caption {
    display: table-caption !important;
    caption-side: top !important;
    width: 100% !important;
    margin: 0 0 12px !important;
    text-align: left !important;
    font-size: 0.92rem !important;
    line-height: 1.45 !important;
    color: #222222 !important;
}

.jatsParser__article-fulltext table th,
.jatsParser__article-fulltext table td {
    min-width: 95px !important;
    padding: 8px 10px !important;
    border: 1px solid #d8d8d8 !important;
    vertical-align: top !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

.jatsParser__article-fulltext table th {
    background: #f4f5f4 !important;
    font-weight: 700 !important;
}


/* ---------------------------------------------------------
   13. FIGURES
   --------------------------------------------------------- */

.jatsParser__article-fulltext figure {
    width: 100% !important;
    margin: 34px 0 !important;
    text-align: center !important;
}

.jatsParser__article-fulltext figure .figure {
    width: 100% !important;
    text-align: center !important;
}

.jatsParser__article-fulltext figure img {
    display: block !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
}

.jatsParser__article-fulltext figure .caption,
.jatsParser__article-fulltext figcaption {
    max-width: 850px;
    margin: 12px auto 0 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 0.88rem !important;
    line-height: 1.45 !important;
    color: #555555 !important;
}


/* ---------------------------------------------------------
   14. ALGORITHMS / PREFORMATTED PSEUDOCODE
   --------------------------------------------------------- */

.jatsParser__article-fulltext .boxed-text {
    width: 100% !important;
    max-width: 100% !important;
    margin: 30px 0 !important;
    padding: 18px 20px !important;
    box-sizing: border-box !important;
    border: 1px solid #d3d8d4 !important;
    border-left: 4px solid var(--jepcs-green) !important;
    background: #fafcfa !important;
}

.jatsParser__article-fulltext .boxed-text .caption,
.jatsParser__article-fulltext .boxed-text > .label {
    font-family: Arial, Helvetica, sans-serif !important;
    color: #222222 !important;
}

.jatsParser__article-fulltext .boxed-text > .label {
    display: block !important;
    margin: 0 0 4px !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
}

.jatsParser__article-fulltext .boxed-text .caption {
    display: block !important;
    margin: 0 0 14px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #dddddd !important;
    font-size: 0.96rem !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
}

.jatsParser__article-fulltext .boxed-text pre {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 14px 16px !important;
    box-sizing: border-box !important;
    white-space: pre-wrap !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    overflow-x: hidden !important;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", "Courier New", monospace !important;
    font-size: 0.84rem !important;
    line-height: 1.55 !important;
    color: #222222 !important;
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
}

.jatsParser__article-fulltext .boxed-text mjx-container {
    font-size: 100% !important;
}


/* ---------------------------------------------------------
   15. REFERENCES GENERATED BY JATSPARSER
   --------------------------------------------------------- */

.jatsParser__article-fulltext #reference-title {
    margin-top: 42px !important;
}

.jatsParser__article-fulltext ol.references,
.jatsParser__article-fulltext #referenceList {
    margin: 0 0 25px 1.4rem !important;
    padding: 0 !important;
}

.jatsParser__article-fulltext ol.references li,
.jatsParser__article-fulltext #referenceList li {
    margin: 0 0 12px !important;
    padding-left: 5px !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
}


/* ---------------------------------------------------------
   16. REMOVE DEFAULT OJS ARTICLE INTERFERENCE
   --------------------------------------------------------- */

.jepcs-article-page .page_title,
.jepcs-article-page .row,
.jepcs-article-page .main_entry,
.jepcs-article-page .entry_details {
    float: none !important;
    width: auto !important;
    max-width: none !important;
}


/* ---------------------------------------------------------
   17. ARTICLE RESPONSIVE LAYOUT
   --------------------------------------------------------- */

@media (max-width: 1200px) {
    body.pkp_page_article.pkp_op_view .pkp_structure_content {
        padding-left: 25px !important;
        padding-right: 25px !important;
    }

    .jepcs-article-layout {
        grid-template-columns: 210px minmax(0, 1fr);
        gap: 30px;
    }

    .jepcs-article-left {
        width: 210px;
        min-width: 210px;
    }

    .jepcs-article-cover img {
        width: 195px;
        max-width: 195px;
    }

    body.pkp_page_article.pkp_op_view .jepcs-article-body-layout {
        grid-template-columns: minmax(0, 1fr) 290px !important;
        gap: 32px !important;
    }

    body.pkp_page_article.pkp_op_view .jepcs-article-navigation {
        width: 290px !important;
        min-width: 290px !important;
        max-width: 290px !important;
    }
}

@media (max-width: 900px) {
    body.pkp_page_article.pkp_op_view .jepcs-article-body-layout {
        display: block !important;
    }

    body.pkp_page_article.pkp_op_view .jepcs-article-navigation {
        position: static !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        max-height: none !important;
        margin: 0 0 25px !important;
        padding: 0 0 20px !important;
        border-bottom: 1px solid #dddddd;
    }

    body.pkp_page_article.pkp_op_view .jepcs-article-navigation-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 7px 21px;
        max-height: none !important;
        padding: 0 !important;
        overflow: visible !important;
        border-left: 0;
    }

    body.pkp_page_article.pkp_op_view .jepcs-article-navigation-links a {
        margin: 0 !important;
        padding: 2px 0 !important;
    }
}

@media (max-width: 760px) {
    body.pkp_page_article.pkp_op_view .pkp_structure_content {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .jepcs-article-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .jepcs-article-main {
        order: 1;
    }

    .jepcs-article-left {
        order: 2;
        width: 100%;
        min-width: 0;
        max-width: 280px;
        padding-top: 30px;
        border-top: 1px solid #d8d8d8;
    }

    .jepcs-article-cover img {
        width: 175px;
        max-width: 175px;
    }

    .jepcs-article-title {
        font-size: 1.7rem !important;
        line-height: 1.25 !important;
    }

    .jepcs-article-subtitle {
        font-size: 1.12rem !important;
    }

    .jepcs-article-actions {
        gap: 16px;
    }

    .jepcs-article-header-doi {
        width: 100%;
        margin-top: 5px;
        padding: 14px 0 0;
        border-left: 0;
        border-top: 1px solid #dddddd;
    }

    .jepcs-paper-section > h2 {
        font-size: 1.45rem !important;
    }

    .jepcs-paper-section-content,
    .jatsParser__article-fulltext p {
        font-size: 1rem !important;
        line-height: 1.65 !important;
    }

    .jatsParser__article-fulltext h1,
    .jatsParser__article-fulltext h2 {
        font-size: 1.4rem !important;
    }

    .jatsParser__article-fulltext .boxed-text {
        padding: 14px !important;
    }

    .jatsParser__article-fulltext .boxed-text pre {
        padding: 12px !important;
        font-size: 0.78rem !important;
        line-height: 1.5 !important;
    }

    .jepcs-citation-panel #cslCitationFormats {
        width: 320px !important;
        max-width: calc(100vw - 60px) !important;
        max-height: 380px !important;
    }
}

/* Cite button active state */

.jepcs-cite-button.is-active {
    background: var(--jepcs-green) !important;
    color: #ffffff !important;

    padding-left: 15px !important;
    padding-right: 15px !important;

    text-decoration: none !important;
}

.jepcs-cite-button.is-active:hover,
.jepcs-cite-button.is-active:focus {
    background: var(--jepcs-green-dark) !important;
    color: #ffffff !important;
}
/* =========================================================
   JEPCS SCIENCEDIRECT-STYLE AUTHORS + AFFILIATIONS
   ========================================================= */

.jepcs-article-authors {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;

    gap: 3px !important;

    margin: 22px 0 17px !important;
    padding: 0 !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 1.08rem !important;
    line-height: 1.55 !important;
}


.jepcs-article-author {
    display: inline-flex !important;
    align-items: baseline !important;

    gap: 3px !important;
}


.jepcs-author-name {
    color: #262626 !important;

    font-weight: 400 !important;

    text-decoration: underline !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 5px !important;
}


.jepcs-author-affiliation-marker {
    position: relative;

    top: -0.18em;

    margin-left: 1px;

    font-size: 0.7em !important;
    line-height: 1 !important;

    color: #444444 !important;
}


.jepcs-author-separator {
    margin-right: 5px !important;

    color: #555555 !important;
}


/* Corresponding-author envelope */

.jepcs-corresponding-author {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin-left: 2px !important;

    color: #222222 !important;

    font-size: 1.03rem !important;
    line-height: 1 !important;

    text-decoration: none !important;
}


.jepcs-corresponding-author:hover {
    color: var(--jepcs-green) !important;
}


/* ORCID */

.jepcs-author-orcid {
    display: inline-flex !important;
    align-items: center !important;

    margin-left: 2px !important;
}


.jepcs-author-orcid svg,
.jepcs-author-orcid img {
    width: 16px !important;
    height: 16px !important;
}


/* Affiliation rows */

.jepcs-article-affiliations {
    width: 100% !important;

    margin: 0 0 25px !important;
    padding: 0 !important;

    font-family: Arial, Helvetica, sans-serif !important;
}


.jepcs-affiliation-source {
    display: none !important;
}


.jepcs-affiliation-row {
    display: flex !important;
    align-items: baseline !important;

    gap: 12px !important;

    margin: 5px 0 !important;
    padding: 0 !important;

    font-size: 0.95rem !important;
    line-height: 1.45 !important;

    color: #696969 !important;
}


.jepcs-affiliation-marker {
    flex: 0 0 18px !important;

    font-size: 0.77rem !important;
    line-height: 1 !important;

    color: #666666 !important;

    text-align: right !important;
}


.jepcs-affiliation-text {
    color: #696969 !important;
}
/* =========================================================
   JEPCS ARTICLE METRICS
   ========================================================= */

.jepcs-article-metrics {
    width: 100% !important;

    margin-top: 30px !important;
    padding-top: 22px !important;

    border-top: 1px solid #d8d8d8 !important;

    box-sizing: border-box !important;

    font-family: Arial, Helvetica, sans-serif !important;
}


/* Heading */

.jepcs-article-metrics-title {
    margin: 0 0 18px !important;

    font-size: 1.05rem !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;

    color: #222222 !important;
}


/* Two-column metrics */

.jepcs-article-metrics-grid {
    display: grid !important;

    grid-template-columns:
        repeat(2, minmax(0, 1fr)) !important;

    gap: 10px !important;

    width: 100% !important;
}


/* Individual metric */

.jepcs-article-metric {
    min-width: 0 !important;

    padding: 13px 9px 12px !important;

    border: 1px solid #e0e0e0 !important;

    background: #fafafa !important;

    text-align: center !important;

    box-sizing: border-box !important;
}


/* Number */

.jepcs-article-metric-value {
    margin: 0 0 4px !important;

    font-size: 1.45rem !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;

    color: var(--jepcs-green) !important;

    font-variant-numeric: tabular-nums !important;
}


/* Label */

.jepcs-article-metric-label {
    font-size: 0.73rem !important;
    line-height: 1.3 !important;
    font-weight: 500 !important;

    color: #555555 !important;
}


/* Small explanatory text */

.jepcs-article-metrics-note {
    margin-top: 11px !important;

    font-size: 0.68rem !important;
    line-height: 1.4 !important;

    color: #858585 !important;
}


/* Mobile / narrow layouts */

@media (max-width: 900px) {

    .jepcs-article-metrics-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }

}

/* =========================================================
   JEPCS + AIRI PROFESSIONAL FOOTER
   ========================================================= */

.pkp_structure_footer_wrapper {
    background: #e4e5e4 !important;
    border-top: 4px solid #176b3a;
}

.pkp_structure_footer {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 38px 32px 20px !important;
    background: transparent !important;
    box-sizing: border-box;
}


/* ===============================
   MAIN FOOTER GRID
   =============================== */

.jepcs-footer-main {
    display: grid;
    grid-template-columns: minmax(280px, 380px) 1fr;
    gap: 55px;
    align-items: center;
}


/* ===============================
   SMALL SECTION LABEL
   =============================== */

.airi-footer-eyebrow {
    margin-bottom: 13px;
    color: #176b3a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}


/* ===============================
   AIRI COLUMN
   =============================== */

.airi-footer-column {
    padding-right: 45px;
    border-right: 1px solid rgba(0, 0, 0, 0.13);
}


/* AIRI logo */

.airi-footer-logo {
    display: block;
    width: 230px;
    max-width: 100%;
    height: auto;

    /*
     * IMPORTANT:
     * This visually removes the white background of the PNG
     * by blending white with the footer background.
     */
    mix-blend-mode: multiply;

    background: transparent !important;
    border: 0;
    box-shadow: none;
}


/* AIRI organization name */

.airi-footer-orgname {
    max-width: 360px;
    margin-top: 14px;
    color: #1f1f1f;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 600;
}


/* AIRI description */

.airi-footer-description {
    max-width: 350px;
    margin-top: 6px;
    color: #666;
    font-size: 12.5px;
    line-height: 1.5;
}


/* ===============================
   JEPCS COLUMN
   =============================== */

.jepcs-footer-column {
    min-width: 0;
}

.jepcs-footer-column .pkp_footer_content {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
}

.jepcs-footer-column .pkp_footer_content strong {
    display: inline-block;
    margin-bottom: 3px;
    color: #202020;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
}

.jepcs-footer-column .pkp_footer_content p {
    margin: 13px 0 0 !important;
}


/* ===============================
   BOTTOM COPYRIGHT ROW
   =============================== */

.jepcs-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;

    margin-top: 30px;
    padding-top: 17px;

    border-top: 1px solid rgba(0, 0, 0, 0.14);

    color: #666;
    font-size: 11.5px;
    line-height: 1.5;
}

.jepcs-footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 9px;
    text-align: right;
}

.footer-dot {
    color: #176b3a;
    font-size: 14px;
}


/* OJS logo/footer mark */

.pkp_brand_footer {
    margin-top: 12px !important;
    opacity: 0.55;
}

.pkp_brand_footer img {
    max-width: 75px !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .jepcs-footer-main {
        grid-template-columns: 1fr 1.4fr;
        gap: 32px;
    }

    .airi-footer-column {
        padding-right: 28px;
    }

    .airi-footer-logo {
        width: 190px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .pkp_structure_footer {
        padding: 30px 20px 18px !important;
    }

    .jepcs-footer-main {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .airi-footer-column {
        padding-right: 0;
        padding-bottom: 25px;

        border-right: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.13);
    }

    .airi-footer-logo {
        width: 210px;
    }

    .jepcs-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
    }

    .jepcs-footer-bottom-right {
        flex-wrap: wrap;
        text-align: left;
    }
}/* JEPCS JATS v1.1 rendering patch — global for all browser full-text articles */

/* Figures */
.jatsParser__article-fulltext figure,
.jatsParser__article-fulltext .figure {
    max-width: 100%;
}

.jatsParser__article-fulltext figure img,
.jatsParser__article-fulltext .figure img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1rem auto;
}

/* Tables: preserve all columns and allow horizontal scrolling on narrow screens */
.jatsParser__article-fulltext table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
}

.jatsParser__article-fulltext th,
.jatsParser__article-fulltext td {
    padding: 0.65rem 0.75rem;
    vertical-align: top;
    white-space: normal;
    overflow-wrap: anywhere;
}

.jatsParser__article-fulltext th {
    font-weight: 700;
}

/* Structured algorithms emitted as parser-compatible disp-quote blocks */
.jatsParser__article-fulltext blockquote:has(> .article-dispquote-title) {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border: 1px solid #d7d7d7;
    border-left-width: 4px;
    background: #fafafa;
}

.jatsParser__article-fulltext blockquote > .article-dispquote-title {
    margin: 0 0 0.9rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.jatsParser__article-fulltext blockquote ol,
.jatsParser__article-fulltext blockquote ul {
    margin-top: 0.45rem;
    margin-bottom: 0.45rem;
}

.jatsParser__article-fulltext blockquote li {
    margin: 0.3rem 0;
}

/* Prevent long formulas/identifiers from widening the article column */
.jatsParser__article-fulltext mjx-container {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
}
