/* ============================================================
   IJIOL — CUSTOM JOURNAL STYLESHEET
   International Journal of Intelligent Optimization and Logistics

   Platform : OJS 3.5
   Theme    : Default Theme

   PURPOSE
   ------------------------------------------------------------
   - Improve the journal's appearance and readability.
   - Preserve compatibility with OJS updates.
   - Keep all custom CSS in one organized file.

   RULES
   ------------------------------------------------------------
   1. Prefer OJS native settings whenever possible.
   2. Do not modify OJS core CSS files.
   3. Avoid !important unless strictly necessary.
   4. Scope changes to the relevant pages/components.
   5. Keep unused sections empty until needed.
   ============================================================ */


/* ============================================================
   01. GLOBAL SETTINGS
   ============================================================ */

/* Reserved for global typography, colors and spacing. */




/* ============================================================
   02. HEADER & NAVIGATION — IJIOL EDITORIAL MASTHEAD
   ------------------------------------------------------------
   - Official IJIOL wordmark
   - Inaugural cover overlapping the white strip
   - Register/Login on white background
   - Compact blue masthead and native OJS navigation
   - Desktop only; preserve OJS mobile navigation
   ============================================================ */

@media (min-width: 992px) {

    /* 02.1 White strip above the masthead */

    body.has_site_logo .pkp_structure_head {
        position: relative;
        margin-top: 38px;
        overflow: visible;
    }

    /* 02.2 Compact header area */

    body.has_site_logo .pkp_head_wrapper {
        position: relative;
        padding-top: 8px;
        overflow: visible;
    }

    body.has_site_logo .pkp_site_name_wrapper {
        position: relative;
        min-height: 130px;
        padding-left: 136px;
        overflow: visible;
    }

    /* 02.3 Issue cover — overlap with white strip */




/* ------------------------------------------------------------
   02.4 CLICKABLE INAUGURAL ISSUE COVER
   ------------------------------------------------------------ */

body.has_site_logo .pkp_site_name {
    position: absolute;
    top: -36px;
    left: 0;
    right: auto;

    width: 110px;
    height: 155px;
    margin: 0;
    padding: 0;

    z-index: 5;
    background: transparent;
    overflow: visible;
}

body.has_site_logo .pkp_site_name a.is_img {
    display: block;
    width: 110px;
    height: 155px;
    margin: 0;
    padding: 0;
}

body.has_site_logo .pkp_site_name a.is_img img {
    display: block;
    width: 110px;
    height: 155px;
    max-width: none;
    max-height: none;
    object-fit: contain;

    box-shadow: 0 3px 8px rgba(0,0,0,0.16);
}




    /* 02.5 User navigation — move to white strip */

    body.has_site_logo .pkp_navigation_user_wrapper {
        top: -34px;
        z-index: 1100;
    }

    body.has_site_logo
    .pkp_navigation_user > li > a {
        color: #31577d;
        background: transparent;
    }

    body.has_site_logo
    .pkp_navigation_user > li > a:hover {
        color: #173e65;
        text-decoration: underline;
    }

    body.has_site_logo
    .pkp_navigation_user > li > a:focus-visible {
        color: #173e65;
        outline: 2px solid #e99b2d;
        outline-offset: 2px;
    }

    /* 02.6 Compact primary navigation */

    body.has_site_logo
    .pkp_navigation_primary > li > a {
        margin-top: 0;
        margin-bottom: 0;
        padding: 7px 10px;
    }

    body.has_site_logo
    .pkp_navigation_search_wrapper a {
        margin-top: 0;
        margin-bottom: 0;
        padding: 7px 10px;
    }

}



/* ------------------------------------------------------------
   02.7 SUBMIT A MANUSCRIPT — MASTHEAD BUTTON
   ------------------------------------------------------------
   Uses the native OJS primary navigation item.
   Desktop only. Mobile retains the normal menu link.
   ------------------------------------------------------------ */

/* Allow the button to use the header as its reference */

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;
}

/* Button positioning */

body.has_site_logo .pkp_navigation_primary
> li:has(> a[href$="#ijiol-submit"]) {
    position: absolute;
    top: 58px;
    right: 18px;
    width: 188px;
    z-index: 5;
    margin: 0;
}

/* Original button appearance */

body.has_site_logo .pkp_navigation_primary
> li > a[href$="#ijiol-submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 10px 12px;

    background: transparent;
    border: 1px solid #e99b2d;
    border-radius: 4px;

    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
}

/* Hover */

body.has_site_logo .pkp_navigation_primary
> li > a[href$="#ijiol-submit"]:hover {
    background: #e99b2d;
    border-color: #e99b2d;
    color: #173e65;
    text-decoration: none;
}

/* Keyboard accessibility */

body.has_site_logo .pkp_navigation_primary
> li > a[href$="#ijiol-submit"]:focus-visible {
    background: #e99b2d;
    color: #173e65;
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}




/* ------------------------------------------------------------
   02.8 JOURNAL NAME & SLOGAN — LEFT SIDE
   ------------------------------------------------------------ */

/* Official journal name: exactly two lines */

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;

    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.25px;
    white-space: pre-line;

    z-index: 2;
    pointer-events: none;
}

/* Slogan underneath */

body.has_site_logo .pkp_head_wrapper::after {
    content: "Where AI Meets OR";

    position: absolute;
    top: 98px;
    left: 150px;

    color: #ffd098;
    font-size: 15px;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.3px;

    z-index: 2;
    pointer-events: none;
}



/* ------------------------------------------------------------
   02.9 SMALLER DESKTOP ADJUSTMENTS
   ------------------------------------------------------------ */

@media (min-width: 992px) and (max-width: 1199px) {

    body.has_site_logo .pkp_site_name_wrapper::after {
        left: 145px;
        right: 205px;
        font-size: 18px;
        top: 31px;
    }

    body.has_site_logo .pkp_head_wrapper::after {
        left: 145px;
        top: 96px;
        font-size: 14px;
    }

    body.has_site_logo .pkp_navigation_primary
    > li:has(> a[href$="#ijiol-submit"]) {
        right: 12px;
        width: 180px;
    }
}



/* ============================================================
   02.10 WHITE NAVIGATION BAR — IJIOL
   ------------------------------------------------------------
   - Full-width white navigation background
   - Left-aligned, vertically centered menu
   - Orange hover underline close to the text
   - Guide for Authors next to Search
   - Official IJIOL blue: #28598D
   - Desktop only
   ============================================================ */

@media (min-width: 992px) {

    /* --------------------------------------------------------
       02.10.1 FULL-WIDTH WHITE BACKGROUND
       -------------------------------------------------------- */

    body.has_site_logo .pkp_structure_head {
        position: relative;
    }

    body.has_site_logo .pkp_structure_head::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 52px;
        background: #ffffff;
        pointer-events: none;
        z-index: 0;
    }

    body.has_site_logo .pkp_head_wrapper {
        position: relative;
        z-index: 1;
    }

    /* --------------------------------------------------------
       02.10.2 NAVIGATION ROW
       -------------------------------------------------------- */

    body.has_site_logo .pkp_site_nav_menu {
        background: transparent;
        padding: 0;
    }

    body.has_site_logo .pkp_navigation_primary_row {
        display: flex;
        align-items: center;

        height: 52px;
        min-height: 52px;
        box-sizing: border-box;

        margin: 0;
        padding: 0;

        background: #ffffff;
        border-bottom: 1px solid #dce3ec;
    }

    body.has_site_logo .pkp_navigation_primary_wrapper {
        display: flex;
        align-items: center;

        width: 100%;
        height: 100%;
        box-sizing: border-box;

        margin: 0;
        padding: 0 285px 0 0;
    }

    /* --------------------------------------------------------
       02.10.3 PRIMARY MENU — LEFT ALIGNED
       -------------------------------------------------------- */

    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;
        height: auto;

        margin: 0;
        padding: 0;

        text-align: left;
    }

    /* Menu links */

    body.has_site_logo .pkp_navigation_primary
    > li > a:not([href$="#ijiol-submit"]) {
        display: inline-block;

        margin: 0;
        padding: 6px 2px 4px;

        background: transparent;
        color: #28598D;

        border-bottom: 2px solid transparent;

        font-size: 15px;
        font-weight: 500;
        line-height: 1.35;
        text-decoration: none;
        white-space: nowrap;
    }

    /* Orange underline close to text */

    body.has_site_logo .pkp_navigation_primary
    > li > a:not([href$="#ijiol-submit"]):hover {
        color: #173e65;
        border-bottom-color: #e99b2d;
        text-decoration: none;
    }

    body.has_site_logo .pkp_navigation_primary
    > li > a:not([href$="#ijiol-submit"]):focus-visible {
        color: #173e65;
        border-bottom-color: #e99b2d;
        outline: 2px solid #e99b2d;
        outline-offset: 2px;
    }

    /* --------------------------------------------------------
       02.10.4 GUIDE FOR AUTHORS
       -------------------------------------------------------- */

    body.has_site_logo .pkp_navigation_primary
    > li:has(> a[href$="#authorGuidelines"]) {
        position: absolute;
        right: 18px;
        bottom: 6px;
        z-index: 5;
        margin: 0;
    }

    body.has_site_logo .pkp_navigation_primary
    > li > a[href$="#authorGuidelines"] {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        height: 39px;
        box-sizing: border-box;

        margin: 0;
        padding: 0 24px;

        background: #ffffff;
        color: #28598D;

        border: 1px solid #28598D;
        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;
        color: #173e65;
        border-color: #e99b2d;
        text-decoration: none;
    }

    /* --------------------------------------------------------
       02.10.5 SEARCH — FAR RIGHT
       -------------------------------------------------------- */

    body.has_site_logo .pkp_navigation_search_wrapper {
        position: absolute;
        right: 200px;
        bottom: 0;

        display: flex;
        align-items: center;

        height: 52px;
        float: none;

        margin: 0;
        padding: 0;
        border: 0;
    }

    body.has_site_logo .pkp_navigation_search_wrapper a {
        display: inline-block;

        margin: 0;
        padding: 6px 4px;

        background: transparent;
        color: #28598D;

        border-bottom: 2px solid transparent;
        text-decoration: none;
    }

    body.has_site_logo .pkp_navigation_search_wrapper a:hover {
        color: #173e65;
        border-bottom-color: #e99b2d;
    }
}

/* ------------------------------------------------------------
   02.10.6 SMALLER DESKTOP ADJUSTMENTS
   ------------------------------------------------------------ */

@media (min-width: 992px) and (max-width: 1250px) {

    body.has_site_logo .pkp_navigation_primary {
        gap: 10px;
    }

    body.has_site_logo .pkp_navigation_primary
    > li > a:not([href$="#ijiol-submit"]) {
        font-size: 13px;
    }

    body.has_site_logo .pkp_navigation_primary
    > li > a[href$="#authorGuidelines"] {
        font-size: 12px;
        padding: 0 10px;
    }
}







/* ============================================================
   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;
    text-align: left;
}




    /* --------------------------------------------------------
       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: 40px;
    box-sizing: border-box;
    margin-top: 6px;
    padding: 6px 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 Mobile submission button */

body.pkp_page_index .highlights .swiper-slide-button.pkp_button {
    width: fit-content;
    max-width: 100%;
    min-height: 44px;
    padding: 7px 12px;
    font-size: 13px;
}



/* 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. ANNOUNCEMENTS
   ============================================================ */


/* ============================================================
   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)
   ------------------------------------------------------------
   Replace ALL of the existing Section 09 with this block.
   Do not upload this as a second journal stylesheet.

   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
   ============================================================ */

/* Mobile — hide desktop masthead text */

@media (max-width: 991px) {
    body.has_site_logo .pkp_site_name_wrapper::after,
    body.has_site_logo .pkp_head_wrapper::after {
        content: none !important;
    }
}


/* ============================================================
   11. FUTURE CUSTOMIZATIONS
   ============================================================ */

/* Add new sections above when needed.
   Do not retain obsolete or duplicate CSS rules.
*/


/* ===================== END OF FILE ========================= */
