/* ============================================================
   IJIOL — PROFESSIONAL JOURNAL STYLESHEET | v5.1 (e-ISSN)
   International Journal of Intelligent Optimization and Logistics
   OJS 3.5 | Default Theme

   INSTALLATION
   - Replace the current journal stylesheet with this whole file.
   - Keep only ONE copy of this CSS active.
   - To activate compact-on-scroll, install the matching v5 script
     through OJS Custom Header plugin (not in this CSS file).
   - Do not leave the previous v4 scroll script enabled.

   STRUCTURE
   01  Brand tokens
   02  Desktop masthead + navigation + compact state
   03  Homepage general layout
   04  Highlights
   05  Current issue
   06  Announcements
   07  Article pages (reserved)
   08  Sidebar (reserved)
   09  Footer
   10  Mobile support

   DESIGN RULES
   * Respect native OJS markup and mobile hamburger navigation.
   * Keep links as real OJS navigation items (never CSS-made links).
   * Use --ijiol-blue as the single journal header color.
   * Desktop header sticks WITHOUT JavaScript; compact state
     additionally needs the v5 script.
   * Do not modify PHP, Smarty templates, or OJS core files.
   ============================================================ */

/* ============================================================
   01. BRAND TOKENS
   ============================================================ */
:root {
    --ijiol-blue: #28598D;
    --ijiol-orange: #E99B2D;
    --ijiol-orange-hover: #F2AD44;
    --ijiol-navy: #173E65;
    --ijiol-white: #FFFFFF;
    --ijiol-nav-text: #28598D;
    --ijiol-nav-border: #DCE3EC;

    --ijiol-action-width: 188px;
    --ijiol-action-right: 18px;
    --ijiol-nav-height: 52px;
    --ijiol-mini-blue-height: 76px;
}

/* ============================================================
   02. HEADER & NAVIGATION
   ------------------------------------------------------------
   NORMAL DESKTOP (>= 992px)
     A. 38px white strip for account controls
     B. Blue masthead: clickable cover | two-line title | Submit
     C. Guide for Authors directly underneath Submit
     D. White left-aligned navigation with Search at far right

   SCROLLED DESKTOP (requires matching v5 JavaScript)
     A. Compact 76px blue row with small clickable cover
     B. Solid ORANGE, tall (54px) Submit in blue row
     C. Guide for Authors moves to right of WHITE navigation,
        directly LEFT of Search
     D. White 52px navigation remains visible

   MOBILE (< 992px)
     Native OJS hamburger navigation remains untouched.

   LINK IDENTIFIERS (configured as OJS Remote URLs)
     Submit: .../about/submissions#ijiol-submit
     Guide:  .../about/submissions#authorGuidelines
   ============================================================ */

@media (min-width: 992px) {

    /* 02.1 Foundation — sticky on desktop even without JS.
       We apply sticky from the start: activating it only after
       scrolling can leave a previously scrolled header off-screen. */

    body.has_site_logo .pkp_structure_head {
        position: sticky;
        top: 0;
        z-index: 1200;
        margin-top: 38px;
        overflow: visible;
        background-color: var(--ijiol-blue);
    }

    body.has_site_logo .pkp_head_wrapper {
        position: relative;
        z-index: 1;
        padding-top: 8px;
        overflow: visible;
    }

    body.has_site_logo .pkp_site_name_wrapper {
        position: relative;
        min-height: 146px;
        padding-left: 136px;
        overflow: visible;
    }

    /* 02.2 Cover — actual OJS homepage hyperlink. */

    body.has_site_logo .pkp_site_name {
        position: absolute;
        top: -36px;
        left: 0;
        right: auto;
        z-index: 5;
        width: 110px;
        height: 155px;
        margin: 0;
        padding: 0;
        background: transparent;
        overflow: visible;
    }

    body.has_site_logo .pkp_site_name a.is_img,
    body.has_site_logo .pkp_site_name a.is_img img {
        display: block;
        width: 110px;
        height: 155px;
        margin: 0;
        padding: 0;
    }

    body.has_site_logo .pkp_site_name a.is_img img {
        max-width: none;
        max-height: none;
        object-fit: contain;
        box-shadow: 0 3px 8px rgba(0, 0, 0, .16);
    }

    /* 02.3 Title and slogan — visual repetitions of the OJS
       accessible journal heading. Do not substitute for metadata. */

    body.has_site_logo .pkp_site_name_wrapper::after {
        content: "International Journal of Intelligent\A Optimization and Logistics";
        position: absolute;
        top: 25px;
        left: 150px;
        right: 220px;
        z-index: 2;
        color: var(--ijiol-white);
        font-size: 22px;
        font-weight: 600;
        line-height: 1.3;
        letter-spacing: -.25px;
        white-space: pre-line;
        pointer-events: none;
    }

    body.has_site_logo .pkp_head_wrapper::after {
        content: "Where AI Meets OR";
        position: absolute;
        top: 98px;
        left: 150px;
        z-index: 2;
        color: #FFD098;
        font-size: 15px;
        font-style: italic;
        letter-spacing: .3px;
        pointer-events: none;
    }

    /* 02.3a Online ISSN — visible in full masthead only.
       The source of record is Settings > Journal > Masthead. */

    body.has_site_logo .pkp_site_name_wrapper::before {
        content: "e-ISSN: 3157-0011";
        position: absolute;
        top: 121px;
        left: 150px;
        z-index: 2;
        color: #E4ECF5;
        font-size: 12px;
        font-weight: 500;
        line-height: 1.3;
        letter-spacing: .2px;
        pointer-events: none;
    }

    /* 02.4 Account menu in upper white strip, normal state. */

    body.has_site_logo .pkp_navigation_user_wrapper {
        top: -34px;
        z-index: 1300;
    }

    body.has_site_logo .pkp_navigation_user > li > a {
        color: var(--ijiol-navy);
        background: transparent;
    }

    body.has_site_logo .pkp_navigation_user > li > a:hover {
        color: var(--ijiol-navy);
        text-decoration: underline;
    }

    body.has_site_logo .pkp_navigation_user > li > a:focus-visible {
        outline: 2px solid var(--ijiol-orange);
        outline-offset: 2px;
    }

    /* 02.5 Native navigation positioning context.
       These are desktop-only; never apply to the mobile menu. */

    body.has_site_logo .pkp_site_nav_menu,
    body.has_site_logo .pkp_navigation_primary_row,
    body.has_site_logo .pkp_navigation_primary_wrapper,
    body.has_site_logo .pkp_navigation_primary {
        position: static;
    }

    /* 02.6 Submit — orange OUTLINE only at the top. */

    body.has_site_logo .pkp_navigation_primary
    > li:has(> a[href$="#ijiol-submit"]) {
        position: absolute;
        top: 58px;
        right: var(--ijiol-action-right);
        width: var(--ijiol-action-width);
        margin: 0;
        z-index: 5;
    }

    body.has_site_logo .pkp_navigation_primary
    > li > a[href$="#ijiol-submit"] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        width: 100%;
        min-height: 40px;
        margin: 0;
        padding: 8px 12px;
        background: transparent;
        border: 1px solid var(--ijiol-orange);
        border-radius: 4px;
        color: var(--ijiol-white);
        font-size: 13px;
        font-weight: 600;
        line-height: 1.4;
        text-decoration: none;
        white-space: nowrap;
    }

    body.has_site_logo .pkp_navigation_primary
    > li > a[href$="#ijiol-submit"]:hover {
        background: var(--ijiol-orange);
        color: var(--ijiol-navy);
    }

    body.has_site_logo .pkp_navigation_primary
    > li > a[href$="#ijiol-submit"]:focus-visible {
        outline: 2px solid var(--ijiol-white);
        outline-offset: 3px;
    }

    /* 02.7 Guide — under Submit in the normal blue masthead. */

    body.has_site_logo .pkp_navigation_primary
    > li:has(> a[href$="#authorGuidelines"]) {
        position: absolute;
        top: 104px;
        right: var(--ijiol-action-right);
        width: var(--ijiol-action-width);
        margin: 0;
        z-index: 5;
    }

    body.has_site_logo .pkp_navigation_primary
    > li > a[href$="#authorGuidelines"] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        width: 100%;
        height: 35px;
        margin: 0;
        padding: 0 10px;
        color: var(--ijiol-blue);
        background: var(--ijiol-white);
        border: 1px solid var(--ijiol-white);
        border-radius: 4px;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.3;
        text-decoration: none;
        white-space: nowrap;
    }

    body.has_site_logo .pkp_navigation_primary
    > li > a[href$="#authorGuidelines"]:hover {
        background: #EEF3F9;
        border-color: var(--ijiol-orange);
        color: var(--ijiol-navy);
    }

    body.has_site_logo .pkp_navigation_primary
    > li > a[href$="#authorGuidelines"]:focus-visible {
        outline: 2px solid var(--ijiol-orange);
        outline-offset: 3px;
    }

    /* 02.8 Full-width white background behind native navigation.
       Does not change mobile navigation display/position. */

    body.has_site_logo .pkp_structure_head::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 0;
        height: var(--ijiol-nav-height);
        background: var(--ijiol-white);
        pointer-events: none;
    }

    body.has_site_logo .pkp_navigation_primary_row {
        display: flex;
        align-items: center;
        box-sizing: border-box;
        height: var(--ijiol-nav-height);
        min-height: var(--ijiol-nav-height);
        background: var(--ijiol-white);
        border-bottom: 1px solid var(--ijiol-nav-border);
    }

    body.has_site_logo .pkp_navigation_primary_wrapper {
        display: flex;
        align-items: center;
        box-sizing: border-box;
        width: 100%;
        height: 100%;
        padding: 0 108px 0 0;
    }

    body.has_site_logo .pkp_navigation_primary {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 20px;
        width: auto;
        max-width: none;
        margin: 0;
        padding: 0;
        text-align: left;
    }

    body.has_site_logo .pkp_navigation_primary
    > li > a:not([href$="#ijiol-submit"]):not([href$="#authorGuidelines"]) {
        display: inline-block;
        margin: 0;
        padding: 6px 2px 4px;
        color: var(--ijiol-nav-text);
        background: transparent;
        border-bottom: 2px solid transparent;
        font-size: 15px;
        font-weight: 500;
        line-height: 1.35;
        text-decoration: none;
        white-space: nowrap;
    }

    body.has_site_logo .pkp_navigation_primary
    > li > a:not([href$="#ijiol-submit"]):not([href$="#authorGuidelines"]):hover,
    body.has_site_logo .pkp_navigation_primary
    > li > a:not([href$="#ijiol-submit"]):not([href$="#authorGuidelines"]):focus-visible {
        color: var(--ijiol-navy);
        border-bottom-color: var(--ijiol-orange);
    }

    /* 02.9 Native Search — right edge of white nav. */

    body.has_site_logo .pkp_navigation_search_wrapper {
        position: absolute;
        right: 8px;
        bottom: 0;
        display: flex;
        align-items: center;
        box-sizing: border-box;
        height: var(--ijiol-nav-height);
        float: none;
        margin: 0;
        padding: 0;
        border: 0;
    }

    body.has_site_logo .pkp_navigation_search_wrapper a {
        margin: 0;
        padding: 6px 4px;
        color: var(--ijiol-nav-text);
        background: transparent;
        border-bottom: 2px solid transparent;
        text-decoration: none;
    }

    body.has_site_logo .pkp_navigation_search_wrapper a:hover {
        color: var(--ijiol-navy);
        border-bottom-color: var(--ijiol-orange);
    }

    /* 02.10 COMPACT STATE — class is toggled by v5 script.
       CSS does not depend on the presence of Guide or Search. */

    body.has_site_logo.ijiol-compact .pkp_structure_head {
        box-shadow: 0 3px 12px rgba(20, 38, 61, .16);
    }

    body.has_site_logo.ijiol-compact .pkp_head_wrapper {
        padding-top: 0;
    }

    body.has_site_logo.ijiol-compact .pkp_site_name_wrapper {
        min-height: var(--ijiol-mini-blue-height);
        padding-left: 0;
    }

    body.has_site_logo.ijiol-compact .pkp_site_name {
        top: 10px;
        left: 16px;
        width: 38px;
        height: 54px;
    }

    body.has_site_logo.ijiol-compact .pkp_site_name a.is_img,
    body.has_site_logo.ijiol-compact .pkp_site_name a.is_img img {
        width: 38px;
        height: 54px;
    }

    body.has_site_logo.ijiol-compact .pkp_site_name a.is_img img {
        box-shadow: none;
    }

    body.has_site_logo.ijiol-compact .pkp_site_name_wrapper::after {
        content: "IJIOL  |  International Journal of Intelligent Optimization and Logistics";
        top: 26px;
        left: 70px;
        right: 232px;
        font-size: 16px;
        font-weight: 600;
        letter-spacing: 0;
        line-height: 1.25;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    body.has_site_logo.ijiol-compact .pkp_head_wrapper::after,
    body.has_site_logo.ijiol-compact .pkp_site_name_wrapper::before {
        content: none;
    }

    body.has_site_logo.ijiol-compact .pkp_navigation_user_wrapper {
        visibility: hidden;
        pointer-events: none;
    }

    /* The scrolling primary CTA grows (40 -> 54px), goes ORANGE. */

    body.has_site_logo.ijiol-compact .pkp_navigation_primary
    > li:has(> a[href$="#ijiol-submit"]) {
        top: 11px;
    }

    body.has_site_logo.ijiol-compact .pkp_navigation_primary
    > li > a[href$="#ijiol-submit"] {
        height: 54px;
        min-height: 54px;
        padding: 0 12px;
        background: var(--ijiol-orange);
        border-color: var(--ijiol-orange);
        color: #112E4C;
        font-size: 14px;
        font-weight: 700;
    }

    body.has_site_logo.ijiol-compact .pkp_navigation_primary
    > li > a[href$="#ijiol-submit"]:hover {
        background: var(--ijiol-orange-hover);
        border-color: var(--ijiol-orange-hover);
        color: #112E4C;
    }

    /* Guide moves beside Search, IN the white bar on scroll. */

    body.has_site_logo.ijiol-compact .pkp_navigation_primary
    > li:has(> a[href$="#authorGuidelines"]) {
        top: auto;
        right: 114px;
        bottom: 8px;
        width: var(--ijiol-action-width);
    }

    body.has_site_logo.ijiol-compact .pkp_navigation_primary
    > li > a[href$="#authorGuidelines"] {
        height: 36px;
        color: var(--ijiol-blue);
        border-color: var(--ijiol-blue);
        background: var(--ijiol-white);
        font-size: 13px;
    }

    body.has_site_logo.ijiol-compact .pkp_navigation_primary_row,
    body.has_site_logo.ijiol-compact .pkp_navigation_search_wrapper {
        height: var(--ijiol-nav-height);
        min-height: var(--ijiol-nav-height);
    }
}

/* 02.11 Narrow desktops — reduce visual crowding only. */

@media (min-width: 992px) and (max-width: 1199px) {
    body.has_site_logo .pkp_site_name_wrapper::after {
        top: 31px;
        left: 145px;
        right: 205px;
        font-size: 18px;
    }

    body.has_site_logo .pkp_head_wrapper::after {
        top: 96px;
        left: 145px;
        font-size: 14px;
    }

    body.has_site_logo .pkp_site_name_wrapper::before {
        left: 145px;
    }

    body.has_site_logo .pkp_navigation_primary {
        gap: 9px;
    }

    body.has_site_logo .pkp_navigation_primary
    > li > a:not([href$="#ijiol-submit"]):not([href$="#authorGuidelines"]) {
        font-size: 13px;
    }

    body.has_site_logo .pkp_navigation_primary
    > li:has(> a[href$="#ijiol-submit"]),
    body.has_site_logo .pkp_navigation_primary
    > li:has(> a[href$="#authorGuidelines"]) {
        right: 12px;
        width: 180px;
    }

    body.has_site_logo.ijiol-compact .pkp_navigation_primary
    > li:has(> a[href$="#authorGuidelines"]) {
        right: 110px;
        width: 170px;
    }

    body.has_site_logo.ijiol-compact .pkp_site_name_wrapper::after {
        top: 28px;
        left: 70px;
        right: 210px;
        font-size: 14px;
    }
}

/* 02.12 Compact scrolling behavior respects reduced-motion users;
   no transitions needed for dependable sticky interaction. */

@media (min-width: 992px) {
    body.has_site_logo.ijiol-compact {
        scroll-padding-top: 140px;
    }
}

/* ============================================================
   END SECTION 02
   ============================================================ */

/* ============================================================
   03. HOMEPAGE — GENERAL LAYOUT
   ============================================================ */

/* 03.1 Reduce spacing above headings in homepage content. */

.pkp_page_index .additional_content h2,
.pkp_page_index .cmp_page_content h2,
.pkp_page_index .page_index_journal h2 {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


/* 03.2 Homepage — Main content width
   ------------------------------------------------------------
   Expand the homepage content on desktop.
   Limit the maximum width to 1100px.
   Preserve the default OJS centering and mobile layout.
   ------------------------------------------------------------ */

@media (min-width: 992px) {
    body.pkp_page_index .pkp_structure_main {
        width: 100%;
        max-width: 1100px;
    }
}


/* 03.3 Hide obsolete decorative vertical lines
   ------------------------------------------------------------
   The OJS theme uses pseudo-elements for vertical lines.
   After widening the homepage, their positions no longer
   match the content area.

   Hide them without changing their layout dimensions.
   Homepage only; desktop only.
   ------------------------------------------------------------ */

@media (min-width: 992px) {
    body.pkp_page_index .pkp_structure_main::before,
    body.pkp_page_index .pkp_structure_main::after {
        visibility: hidden;
    }
}


/* ============================================================
   03.4 HOMEPAGE — EDITORIAL LAYOUT
   IJIOL | OJS 3.5 Default Theme

   Desktop:
   Row 1: About the Journal — full width
   Row 2: Current Issue (70%) | Call for Papers (30%)
   Row 3: Current Issue       | Announcements
   Row 4: Detailed journal information — full width

   Mobile: Default OJS layout
   ============================================================ */

@media (min-width: 992px) {

    /* --------------------------------------------------------
       A. MAIN CONTENT POSITION
       -------------------------------------------------------- */

    body.pkp_page_index .pkp_structure_main:first-child:last-child {
        margin-top: 0;
    }

    body.pkp_page_index .pkp_structure_content {
        padding-top: 24px;
    }


    /* --------------------------------------------------------
       B. TWO-COLUMN GRID
       -------------------------------------------------------- */

    body.pkp_page_index .page_index_journal {
        display: grid;
        grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
        grid-template-rows: auto auto minmax(0, 1fr) auto;
        gap: 24px;
        align-items: start;
    }


/* --------------------------------------------------------
   C. ABOUT THE JOURNAL — EDITORIAL INTRODUCTION
   -------------------------------------------------------- */

/* Full-width placement within the homepage grid */

body.pkp_page_index .page_index_journal > .homepage_about {
    grid-column: 1 / -1;
    grid-row: 1;
    min-width: 0;

    position: relative;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    column-gap: 32px;
    align-items: start;

    margin: 0;
    padding: 20px 8px 24px;

    background: transparent;
    border: none;
    border-bottom: 1px solid #dce3ec;
    border-radius: 0;
    box-shadow: none;
}

/* Remove the invisible OJS anchor from grid flow */

body.pkp_page_index .homepage_about > #homepageAbout {
    position: absolute;
    top: 0;
    left: 0;
}

/* LEFT COLUMN — Heading */

body.pkp_page_index .homepage_about > h2 {
    grid-column: 1;
    grid-row: 1;

    margin: 0;
    padding: 0;

    color: #304b70;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.35;
    border: none;
}

/* Orange editorial accent */

body.pkp_page_index .homepage_about > h2::before {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    margin-bottom: 12px;
    background: #e99b2d;
}

/* RIGHT COLUMN — Journal description */

body.pkp_page_index .homepage_about > p {
    text-align: justify;
    text-align-last: left;
    hyphens: auto;

    grid-column: 2;
    grid-row: 1;
    min-width: 0;

    margin: 0;
    padding: 0;

    color: #465368;
    font-size: 15.5px;
    font-weight: 400;
    line-height: 1.65;
}




    /* --------------------------------------------------------
       D. CURRENT ISSUE — LEFT COLUMN
       -------------------------------------------------------- */

    body.pkp_page_index .page_index_journal > .current_issue {
        grid-column: 1;
        grid-row: 2 / span 2;
        min-width: 0;

        padding: 26px 28px 28px;
        background: #ffffff;

        border: 1px solid #e2e8f0;
        border-top: 3px solid #3d628d;
        border-radius: 6px;
    }


    /* --------------------------------------------------------
       E. HIGHLIGHTS / CALL FOR PAPERS — RIGHT COLUMN
       -------------------------------------------------------- */

    body.pkp_page_index .page_index_journal > .highlights {
        grid-column: 2;
        grid-row: 2;
        min-width: 0;
        margin: 0;

        background: #f7f9fc;
        border-radius: 6px;
        box-shadow: 0 4px 16px rgba(25, 55, 85, 0.07);
    }


    /* --------------------------------------------------------
       F. ANNOUNCEMENTS — BELOW CALL FOR PAPERS
       -------------------------------------------------------- */

    body.pkp_page_index .page_index_journal > .cmp_announcements {
        grid-column: 2;
        grid-row: 3;
        align-self: start;
        min-width: 0;

        margin: 0;
        padding: 20px;

        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 6px;
    }

    /* Adapt OJS announcement layout to the narrow column */

    body.pkp_page_index .cmp_announcements > .obj_announcement_summary,
    body.pkp_page_index .cmp_announcements > .more {
        float: none;
        width: 100%;
        padding: 0;
    }

    /* Hide separators from the default announcement layout */

    body.pkp_page_index .cmp_announcements > .obj_announcement_summary::before,
    body.pkp_page_index .cmp_announcements > .more::before {
        display: none;
    }


    /* --------------------------------------------------------
       G. DETAILED JOURNAL INFORMATION — FULL WIDTH
       -------------------------------------------------------- */

body.pkp_page_index .page_index_journal > .additional_content {
    grid-column: 1 / -1;
    grid-row: 4;
    min-width: 0;

    display: flex;
    flex-direction: column;
    gap: 24px;

    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}


}


/* ============================================================
   03.5 HOMEPAGE — ABOUT IJIOL (ADDITIONAL CONTENT)
   ------------------------------------------------------------
   Applies only to the custom HTML in the OJS Additional Content
   field (.ijiol-home-info). No effect on other OJS pages.

   Desktop (>= 992px): Aims & Scope | Main Research Areas
   Below 992px:      Stacked sections
   GOL Conference:   Full-width section beneath both columns
   ------------------------------------------------------------ */


/* 03.5.0 About IJIOL — Independent card */

body.pkp_page_index .additional_content .ijiol-home-info {
    margin: 0;
    padding: 26px 28px 30px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}



/* 03.5.1 Heading — match the Current Issue visual language */
body.pkp_page_index .additional_content .ijiol-home-info > h2 {
    margin: 0 0 24px;
    padding: 0 0 12px;
    border-bottom: 1px solid #e1e7ee;
    color: #304f73;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.35;
}

/* 03.5.2 Content layout — stack by default (phones/tablets) */
body.pkp_page_index .additional_content .ijiol-home-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

/* 03.5.3 Subheadings and readable body text */
body.pkp_page_index .additional_content .ijiol-home-info h3 {
    margin: 0 0 10px;
    color: #243b53;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

body.pkp_page_index .additional_content .ijiol-home-info p,
body.pkp_page_index .additional_content .ijiol-home-info li {
    color: #334155;
    font-size: 15px;
    line-height: 1.65;
}

body.pkp_page_index .additional_content .ijiol-home-info p {
    margin: 0;
}

body.pkp_page_index .additional_content .ijiol-home-areas ul {
    margin: 0;
    padding-left: 20px;
}

body.pkp_page_index .additional_content .ijiol-home-areas li {
    margin: 0 0 4px;
}

body.pkp_page_index .additional_content .ijiol-home-areas li:last-child {
    margin-bottom: 0;
}

/* 03.5.4 GOL Conference — full width, separated discreetly */
body.pkp_page_index .additional_content .ijiol-home-gol {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

body.pkp_page_index .additional_content .ijiol-home-gol a {
    color: #2d5b89;
    text-decoration: underline;
    text-underline-offset: 2px;
}

body.pkp_page_index .additional_content .ijiol-home-gol a:focus-visible {
    outline: 2px solid #e99b2d;
    outline-offset: 3px;
}

/* 03.5.5 Desktop only — balanced two-column presentation */
@media (min-width: 992px) {
    body.pkp_page_index .additional_content .ijiol-home-summary {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 40px;
    }
}



/* ============================================================
   03.6 HOMEPAGE — DISCOVERABILITY & SCIENTIFIC NETWORK
   ------------------------------------------------------------
   Control logo sizes and alignment.
   Homepage only.
   ============================================================ */

   
/* 03.6.0 Scientific Network — Independent card */

body.pkp_page_index .additional_content .ijiol-network {
    margin: 0;
    padding: 18px 28px 26px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}



/* 03.6.1  */
/* Remove first heading's default top margin */
body.pkp_page_index .ijiol-scholar > h3 {
    margin-top: 0;
}
/* Google Scholar logo */
body.pkp_page_index .ijiol-scholar img {
    display: block;
    width: 180px;
    max-width: 100%;
    height: 55px;
    object-fit: contain;
    object-position: left center;
}

/* 03.6.2 GOL scientific network — Logo grid */

body.pkp_page_index .ijiol-logo-grid {
    /* display: grid; */
    display: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: center;
}

/* 03.6.3 Center logos inside their spaces */

body.pkp_page_index .ijiol-logo-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

/* 03.6.4 Uniform logo dimensions */

body.pkp_page_index .ijiol-logo-grid img {
    display: block;
    width: 100%;
    max-width: 170px;
    height: 75px;
    object-fit: contain;
}

/* 03.6.5 Responsive layout */

@media (max-width: 767px) {
    body.pkp_page_index .ijiol-logo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}




/* ============================================================
   04. HOMEPAGE — HIGHLIGHTS
   ============================================================ */

/*
   Purpose:
   - Compact Call for Papers presentation
   - Subtle blue academic styling
   - Reduced vertical spacing
   - Responsive layout

   Applies only to homepage Highlights.
   Does not affect article or submission pages.
*/

/* 04.1 Highlight panel */

.pkp_page_index .swiper-slide {
    background-color: #f7f9fc;
    min-height: 0;
}

/* 04.2 Highlight content */

.pkp_page_index .swiper-slide-content {
    padding: 18px 28px !important;
    background-color: #f7f9fc;
    border-top: 3px solid #3d628d;
    border-bottom: 5px solid #e99b2d;
}

/* 04.3 Highlight title */

.pkp_page_index .swiper-slide-title {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
    margin: 0 0 8px;
    color: #243b53;
}

/* 04.4 Highlight description */

.pkp_page_index .swiper-slide-desc {
    font-size: 14px;
    line-height: 1.5;
    color: #4b5563;
}

.pkp_page_index .swiper-slide-desc p {
    margin: 0 0 10px;
}



/* 04.5 Compact, outlined submission button */

body.pkp_page_index .highlights .swiper-slide-button.pkp_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    min-height: 44px;
    box-sizing: border-box;
    margin-top: 6px;
    padding: 7px 12px;
    background: transparent;
    color: #49658c;
    border: 1px solid #49658c;
    border-radius: 3px;
    box-shadow: none;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

body.pkp_page_index .highlights .swiper-slide-button.pkp_button:hover {
    background: #49658c;
    color: #fff;
}

body.pkp_page_index .highlights .swiper-slide-button.pkp_button:focus-visible {
    outline: 2px solid #e99b2d;
    outline-offset: 3px;
}


/* 04.6 Reserved for future mobile-specific adjustments. */



/* 04.7 Hide inactive pagination and remove unused spacing
   ------------------------------------------------------------
   Swiper locks pagination when there is only one Highlight.
   Keep pagination available if more Highlights are added.
   ------------------------------------------------------------ */

.pkp_page_index .swiper-pagination-lock {
    display: none !important;
}

/* Remove the extra bottom padding reserved for pagination. */
.pkp_page_index .swiper:has(.swiper-pagination-lock) {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Remove wrapper padding added by our previous customization. */
.pkp_page_index .swiper-wrapper {
    padding-bottom: 0;
}



/* ============================================================
   05. HOMEPAGE — CURRENT ISSUE
   ============================================================ */

/* 05.1 Section spacing */

body.pkp_page_index .current_issue {
    padding-top: 20px;
}

/* 05.2 Current Issue heading */

body.pkp_page_index .current_issue > h2 {
    margin: 0 0 16px;
    padding: 0 0 10px;
    border-bottom: 1px solid #e1e7ee;

    color: #304f73;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.35;
}

/* 05.3 Volume and issue title */

body.pkp_page_index .current_issue_title {
    margin: 0 0 18px;

    color: #243b53;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}


/* 05.4 Current Issue — Cover size
   ------------------------------------------------------------
   Reduce the cover size on desktop and tablet.
   Preserve its aspect ratio and the mobile layout.
   ------------------------------------------------------------ */

@media (min-width: 768px) {

    body.pkp_page_index .current_issue
    .obj_issue_toc .heading .cover {
        width: 140px;
        margin-right: 22px;
        margin-bottom: 12px;
    }

    body.pkp_page_index .current_issue
    .obj_issue_toc .heading .cover img {
        display: block;
        width: 100%;
        height: auto;
        max-height: none;
    }

}


/* 05.5 Current Issue — Article section spacing
   ------------------------------------------------------------
   Reduce the gap between the issue introduction
   and the published articles.
   Homepage only.
   ------------------------------------------------------------ */

/* Outer spacing */
body.pkp_page_index .current_issue
.obj_issue_toc .sections:not(:first-child) {
    margin-top: 8px;
}

/* Inner spacing — desktop and tablet */
@media (min-width: 768px) {

    body.pkp_page_index .current_issue
    .obj_issue_toc .sections > .section {
        margin-top: 0;
        padding-top: 12px;
    }

    /* Keep the divider aligned with the section heading */
    body.pkp_page_index .current_issue
    .obj_issue_toc .sections > .section::before {
        top: 24px;
    }

}



/* ============================================================
   05.6 CURRENT ISSUE — ARTICLE PRESENTATION
   ------------------------------------------------------------
   Improve article readability and visual hierarchy.
   Homepage only. Does not affect article or archive pages.
   ============================================================ */

/* 05.6.1 Article separation and spacing */

body.pkp_page_index .current_issue
.cmp_article_list.articles > li {
    margin: 0;
    padding: 16px 0;
    border-bottom: 1px solid #e8edf3;
}

body.pkp_page_index .current_issue
.cmp_article_list.articles > li:first-child {
    padding-top: 8px;
}

body.pkp_page_index .current_issue
.cmp_article_list.articles > li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}


/* 05.6.2 Article titles */

body.pkp_page_index .current_issue
.obj_article_summary h4.title {
    margin: 0 0 6px;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
}

body.pkp_page_index .current_issue
.obj_article_summary h4.title a {
    color: #285785;
    text-decoration: none;
}

body.pkp_page_index .current_issue
.obj_article_summary h4.title a:hover {
    color: #183f68;
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* 05.6.3 Author information */

body.pkp_page_index .current_issue
.obj_article_summary .meta {
    padding-top: 0;
    line-height: 1.5;
}

body.pkp_page_index .current_issue
.obj_article_summary .authors {
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 400;
}


/* 05.6.4 PDF and other galley links */

body.pkp_page_index .current_issue
.obj_article_summary .galleys_links {
    margin: 10px 0 0;
}

body.pkp_page_index .current_issue
.obj_article_summary .obj_galley_link {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    /* border: 1px solid #b7c9dc; */
    border: 1px solid #b42332;
    border-radius: 3px;
    background: #ffffff;
    /* color: #305c87; */
    color: #b42332;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}

body.pkp_page_index .current_issue
.obj_article_summary .obj_galley_link:hover {
    /* background: #305c87;
    border-color: #305c87; */
    background: #b42332;
    border-color: #b42332;
    color: #ffffff;
}

body.pkp_page_index .current_issue
.obj_article_summary a:focus-visible {
    outline: 2px solid #e99b2d;
    outline-offset: 3px;
}



/* ============================================================
   06. HOMEPAGE — ANNOUNCEMENTS
   ------------------------------------------------------------
   Consistent titles, dates, spacing and separators.
   Homepage only; desktop two-column layout.
   ============================================================ */

@media (min-width: 992px) {

    /* 06.1 Preserve the existing announcement card */

    body.pkp_page_index .cmp_announcements {
        border-top: 0;
        border-bottom: 0;
    }

    /* 06.2 First announcement */

    body.pkp_page_index .cmp_announcements
    > .obj_announcement_summary {
        float: none;
        width: 100%;
        margin: 0;
        padding: 0 0 16px;
    }

    /* 06.3 Remaining announcements */

    body.pkp_page_index .cmp_announcements
    .more .obj_announcement_summary {
        margin: 0;
        padding: 16px 0;
        border-top: 1px solid #e2e8f0;
    }

    body.pkp_page_index .cmp_announcements
    .more .obj_announcement_summary:last-child {
        padding-bottom: 0;
    }

    /* 06.4 Consistent announcement titles */

    body.pkp_page_index .cmp_announcements
    .obj_announcement_summary h3,
    body.pkp_page_index .cmp_announcements
    .obj_announcement_summary h4 {
        margin: 0 0 8px;
        font-size: 14px;
        line-height: 1.45;
        font-weight: 600;
    }

    body.pkp_page_index .cmp_announcements
    .obj_announcement_summary h3 a,
    body.pkp_page_index .cmp_announcements
    .obj_announcement_summary h4 a {
        color: #285785;
        text-decoration: none;
    }

    body.pkp_page_index .cmp_announcements
    .obj_announcement_summary h3 a:hover,
    body.pkp_page_index .cmp_announcements
    .obj_announcement_summary h4 a:hover {
        text-decoration: underline;
    }

    /* 06.5 Publication dates */

    body.pkp_page_index .cmp_announcements
    .obj_announcement_summary .date {
        margin: 0 0 8px;
        color: #64748b;
        font-size: 12px;
        line-height: 1.5;
    }

    /* 06.6 Announcement descriptions */

    body.pkp_page_index .cmp_announcements
    .obj_announcement_summary .summary {
        margin-top: 10px;
        color: #334155;
        font-size: 13px;
        line-height: 1.6;
    }

    /* 06.7 Read More link */

    body.pkp_page_index .cmp_announcements
    .obj_announcement_summary .read_more {
        display: inline-block;
        margin-top: 8px;
        color: #285785;
        font-size: 12px;
        font-weight: 600;
    }
}



/* ============================================================
   07. ARTICLE PAGES
   ============================================================ */

/* Reserved for article titles, abstracts and PDF links. */


/* ============================================================
   08. SIDEBAR
   ============================================================ */

/* Reserved for optional sidebar improvements. */


/* ============================================================
   09. FOOTER — IJIOL LIGHT EDITORIAL STYLE (OJS 3.5)
   ------------------------------------------------------------
   The HTML has five DIRECT children under .ijiol-footer.
   Explicit grid areas keep content in its intended rows.
   Four monochrome outlined links appear in the identity column.

   09.1 OJS footer wrapper
   09.2 Footer grid & typography
   09.3 Navigation links
   09.4 Social & scientific connections
   09.5 Newsletter
   09.6 Copyright & privacy
   09.7 Responsive layout
   09.8 Native PKP branding
   ============================================================ */

/* 09.1 OJS FOOTER WRAPPER */
.pkp_structure_footer_wrapper {
    background: #f5f7fa;
    border-top: 1px solid #e1e7ee;
}

.pkp_structure_footer {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.pkp_footer_content {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-align: left;
}

/* 09.2 FOOTER GRID & TYPOGRAPHY */
.ijiol-footer,
.ijiol-footer * {
    box-sizing: border-box;
}

.ijiol-footer {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.9fr) minmax(0, 0.95fr);
    grid-template-areas:
        "identity explore authors"
        "newsletter newsletter newsletter"
        "bottom bottom bottom";
    column-gap: 48px;
    row-gap: 0;
    width: 100%;
    padding: 38px 24px 22px;
    color: #536275;
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
}

.ijiol-footer > div {
    min-width: 0;
}

.ijiol-footer-identity { grid-area: identity; }
.ijiol-footer-explore  { grid-area: explore; }
.ijiol-footer-authors  { grid-area: authors; }
.ijiol-footer-newsletter { grid-area: newsletter; }
.ijiol-footer-bottom   { grid-area: bottom; }

.ijiol-footer h3 {
    margin: 0 0 12px;
    padding: 0;
    color: #243b53;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.ijiol-footer p {
    margin: 0 0 12px;
    color: #536275;
    line-height: 1.65;
}

.ijiol-footer-identity .ijiol-footer-name {
    font-weight: 500;
    color: #344b63;
}

.ijiol-footer a {
    color: #285785;
    text-decoration: none;
}

.ijiol-footer a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ijiol-footer a:focus-visible {
    outline: 2px solid #e99b2d;
    outline-offset: 3px;
}

/* 09.3 NAVIGATION LINKS */
.ijiol-footer-explore ul,
.ijiol-footer-authors ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ijiol-footer-explore li,
.ijiol-footer-authors li {
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
}

/* 09.4 SOCIAL & SCIENTIFIC CONNECTIONS — ONE GREY OUTLINED ROW */
.ijiol-footer-social {
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* remains one line where space permits */
    gap: 9px;
    margin: 16px 0 0;
}

.ijiol-footer-social .ijiol-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    height: 42px;
    min-width: 42px;
    padding: 5px 9px;
    border: 1px solid #aeb8c4;
    border-radius: 6px;
    background: transparent;
    color: #657283;
    text-decoration: none;
    box-shadow: none;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}

.ijiol-footer-social .ijiol-social-link:hover {
    background: #e9edf2;
    border-color: #778493;
    color: #344354;
    text-decoration: none;
}

.ijiol-footer-social .ijiol-social-glyph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 19px;
    line-height: 1;
    color: inherit;
}

.ijiol-footer-social .ijiol-linkedin .ijiol-social-glyph {
    font-size: 17px;
    letter-spacing: -1px;
}

/* Preserve original conference logos; show them in monochrome. */
.ijiol-footer-social .ijiol-social-gol {
    width: 72px;
}

.ijiol-footer-social .ijiol-social-amclog {
    width: 96px;
}

.ijiol-footer-social .ijiol-social-link img {
    display: block;
    max-width: 100%;
    max-height: 29px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1) contrast(1.15);
    opacity: .76;
    mix-blend-mode: multiply;
}

.ijiol-footer-social .ijiol-social-link:hover img {
    opacity: .95;
}

/* 09.5 NEWSLETTER — ALWAYS FULL WIDTH */
.ijiol-footer-newsletter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    margin-top: 30px;
    padding: 22px 0;
    border-top: 1px solid #d8e1eb;
}

.ijiol-footer-newsletter-text {
    flex: 1 1 auto;
    min-width: 0;
}

.ijiol-footer-newsletter h3 {
    margin-bottom: 5px;
}

.ijiol-footer-newsletter p {
    margin: 0;
}

.ijiol-footer a.ijiol-newsletter-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 42px;
    padding: 10px 17px;
    border-radius: 4px;
    background: #355d89;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.ijiol-footer a.ijiol-newsletter-button:hover {
    background: #24486f;
    color: #fff;
}

/* 09.6 COPYRIGHT & PRIVACY */
.ijiol-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
    padding-top: 15px;
    border-top: 1px solid #d8e1eb;
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
}

/* 09.7 RESPONSIVE LAYOUT */
@media (min-width: 768px) and (max-width: 991px) {
    .ijiol-footer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "identity identity"
            "explore authors"
            "newsletter newsletter"
            "bottom bottom";
        gap: 22px 28px;
    }
    .ijiol-footer-newsletter { margin-top: 6px; }
}

@media (max-width: 767px) {
    .ijiol-footer {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "identity"
            "explore"
            "authors"
            "newsletter"
            "bottom";
        gap: 22px 0;
        padding: 28px 20px 22px;
    }
    .ijiol-footer-newsletter {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        margin-top: 0;
    }
    .ijiol-footer-bottom {
        align-items: flex-start;
    }
}

/* 09.8 PRESERVE EXISTING OJS BRANDING PREFERENCE */
.pkp_brand_footer {
    display: none;
}

/* ====================== END SECTION 09 ====================== */






/* ============================================================
   10. RESPONSIVE DESIGN
   ============================================================ */

/* Desktop masthead text and submission positioning are scoped
   to min-width: 992px. Native OJS mobile navigation is preserved. */


/* ============================================================
   11. FUTURE CUSTOMIZATIONS
   ============================================================ */

/* Add new sections above when needed.
   Do not retain obsolete or duplicate CSS rules.
*/


/* ===================== END OF FILE ========================= */
