/* =========================================================
   1. IMPORT FONTS & SYSTEM RESETS
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400;1,700&family=Merriweather:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap'); 

html { scroll-behavior: smooth !important; }

/* Bulletproof way to hide the OJS/PKP logo in the footer */
.pkp_brand_footer,
a[href*="aboutThisPublishingSystem"],
img[src*="ojs_brand.png"],
div[role="contentinfo"] div[role="complementary"] {
    display: none !important;
}

/* Reset Header Grid Conflicts */
.nusaxis-unified-header .pkp_site_nav_menu {
    grid-column: auto !important; 
    grid-row: auto !important; 
    display: block !important;
    width: 100% !important; 
    background: transparent !important; 
    margin: 0 !important; 
}
.nusaxis-unified-header {
    background-color: transparent !important;
}

/* Change article issue info (Volume, Date, Pages) to Lora */
.article-issue-info {
    font-family: 'Lora', serif !important;
}

/* =========================================================
   2. GLOBAL TYPOGRAPHY & LAYOUT
   ========================================================= */
body,
.pkp_structure_page,
.pkp_navigation_primary a,
.pkp_navigation_user a,
.pkp_structure_sidebar,
.cmp_breadcrumbs,
.btn,
button,
.obj_article_details .entry_details {
    font-family: 'Lora', serif !important;
}

h1, h2, h3, h4, h5, h6,
.page_title,
.title,
.editorial-section-title {
    font-family: 'Lora', serif !important;
}

@media screen and (min-width: 992px) {
    .pkp_structure_page {
        background-color: #f4f8fb !important; 
    }
    
    .pkp_structure_content.has_sidebar {
        background-color: #ffffff !important;
        display: block !important;
        border-left: none !important;
        border-right: none !important;
        box-shadow: 0px 0 0 0 #e0e0e0, 1px 0 0 0 #e0e0e0 !important;
        max-width: 1200px !important;
        margin: 0 auto !important;
        padding-left: 0 !important;
        padding-top: 0 !important;
        padding-right: 0 !important;
    }
    
    .pkp_structure_content.has_sidebar::after {
        content: "" !important;
        display: table !important;
        clear: both !important;
    }

    body.pkp_page_article .pkp_structure_content.has_sidebar,
    body.pkp_page_editorial-team .pkp_structure_content.has_sidebar {
        background-color: #ffffff !important;
        display: block !important;
    }
}

/* =========================================================
   3. GLOBAL SPACING FIXES (Header -> Breadcrumb -> Title)
   ========================================================= */
.pkp_structure_main {
    padding-top: 20px !important; 
}

.cmp_breadcrumbs {
    padding-top: 0 !important; 
    margin-top: 0 !important;
    margin-bottom: 2px !important; 
    padding-bottom: 10px !important;
}

/* Kill the default margin on the breadcrumb list itself */
.cmp_breadcrumbs ul,
.cmp_breadcrumbs ol {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.page_title {
    margin-top: 0 !important;
    padding-top: 0 !important;
    line-height: 1.2 !important; /* Tightens the invisible box around the text */
}

@media (max-width: 992px) {
    .pkp_structure_main {
        padding-top: 15px !important; 
    }
}

/* Container to align the H1 and Badge horizontally without ruining SEO */
.journal-title-wrapper {
    display: flex !important;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 2px !important; 
}

/* Ensure the H1 itself has no extra margins breaking the flexbox */
.journal-title-wrapper .journal-title,
.journal-title-wrapper .mobile-journal-title {
    margin: 0 !important; 
    line-height: 1.1 !important; 
}

/* Open Access Header Badge Styling */
.header-oa-badge {
    display: inline-flex;
    align-items: center;
    background-color: #e67e22; 
    color: #ffffff !important;
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 8px;
    border-radius: 4px;
    line-height: 1.2;
    margin-top: 2px; 
}

.journal-short-desc {
    margin-top: 0 !important; 
}

/* ====================================================
   4. DESKTOP HEADER MODULE
   ==================================================== */
@media (max-width: 992px) {
    .nusaxis-desktop-header { display: none !important; }
}

.nusaxis-top-bar {
    background: #002b5c !important; 
    color: #ffffff !important;
    font-family: "Open Sans", sans-serif;
    padding: 0;
    width: 100%;
}

.global-nav-menu a,
.nusaxis-top-bar .pkp_navigation_user a,
.nusaxis-top-bar .pkp_navigation_user .dropdown-menu a,
.pkp_navigation_user_mobile a {
    font-family: "Open Sans", sans-serif !important;
}

.nusaxis-top-bar .top-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 0 24px !important;
    box-sizing: border-box !important;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 15px; 
}

.publisher-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.publisher-text {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff !important;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.global-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.global-nav-menu .nav-item > a {
    display: block;
    color: #ffffff !important;
    text-decoration: none;
    padding: 10px 10px; 
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap; 
}

.global-nav-menu .nav-item > a:hover {
    background-color: #004085 !important;
    color: #ff9900 !important;
}

/* User Menu Dropdown Fixes */
.nusaxis-top-bar .pkp_navigation_user_wrapper,
.nusaxis-top-bar .pkp_navigation_user {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    transform: none !important;
    display: flex !important;
    flex-direction: row !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 5px; 
    background: transparent !important; 
    border: none !important; 
    box-shadow: none !important; 
}

.nusaxis-top-bar .pkp_navigation_user > li {
    position: relative !important;
    display: block !important; 
}

.nusaxis-top-bar .pkp_navigation_user > li > a {
    display: flex !important; 
    align-items: center;
    height: 100%;
    color: #ffffff !important; 
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 10px !important; 
    white-space: nowrap; 
    background: transparent !important; 
}

.nusaxis-top-bar .pkp_navigation_user > li > a:hover {
    color: #ff9900 !important; 
    background-color: #004085 !important;
}

.nusaxis-top-bar .pkp_navigation_user ul,
.nusaxis-top-bar .pkp_navigation_user ul.dropdown-menu {
    display: none !important;
    position: absolute !important;
    top: 100% !important; 
    margin: 0 !important; 
    right: 0 !important;
    left: auto !important;
    transform: none !important; 
    background-color: #ffffff !important;
    min-width: 150px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.15);
    z-index: 9999;
    flex-direction: column !important;
    padding: 10px 0 !important;
}

.nusaxis-top-bar .pkp_navigation_user li:hover > ul,
.nusaxis-top-bar .pkp_navigation_user li:hover > ul.dropdown-menu {
    display: flex !important;
}

.nusaxis-top-bar .pkp_navigation_user ul a {
    display: block !important;
    color: #004b87 !important;
    padding: 8px 15px !important;
    white-space: nowrap;
}

/* Global Nav Dropdowns */
.global-nav-menu .dropdown { position: relative; }
.global-nav-menu .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    margin-top: 0;
    left: 0;
    background-color: #ffffff !important;
    min-width: 220px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.15);
    z-index: 1000;
    border-top: 3px solid #002b5c;
}
.global-nav-menu .dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu ul { list-style: none; padding: 15px; margin: 0; }
.dropdown-menu a {
    color: #004b87 !important;
    text-decoration: none;
    display: block;
    padding: 8px 0 !important;
    white-space: normal; 
}
.dropdown-menu a:hover { text-decoration: underline; }

/* TIER 2: Journal Context */
.nusaxis-journal-context {
    background-color: #f4f8fb; 
    padding: 15px 0 10px 0; 
}

.nusaxis-journal-context .pkp_container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0px 0px 0px 24px !important;
    box-sizing: border-box !important;
}

.flex-space-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.journal-branding-wrapper {
    display: flex;
    align-items: center;
}

.journal-branding-logo { 
    flex-shrink: 0; 
    margin-right: 5px; /* Adds a little extra breathing room between the larger logo and the text */
}

.journal-branding-logo img { 
    max-height: 150px !important; /* Increased from 110px to make it significantly larger */
    max-width: 280px !important; /* Gives it plenty of room to expand horizontally */
    width: auto !important; 
    height: auto !important;
    display: block; 
}

.journal-branding-intro .journal-title {
    margin-bottom: 2px !important; 
    line-height: 1.1 !important; 
}

.journal-branding-intro .journal-title a {
    color: #004b87;
    text-decoration: none;
    font-family: 'Lora', serif;
    font-size: 28px;
    font-weight: 900;
}

.journal-short-desc {
    margin-top: 0 !important;
    font-size: 14px;
    line-height: 1.5;
    color: #444444;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-right: 15px
}

.view-more-btn {
    display: inline-block;
    font-size: 12px;
    font-weight: normal;
    color: #004b87;
    text-decoration: none;
}
.view-more-btn:hover { text-decoration: underline; color: #eb6500; }

/* TIER 2 RIGHT: Metrics & Actions */
.header-right-container {
    display: flex;
    margin-left: 20px !important;
    border-left: 1px solid #dcdcdc;
    padding-left: 30px;
    flex-shrink: 0;
}

.header-right-container.is-homepage {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
}

.header-right-container.is-inner-page {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 25px; 
}

.journal-metrics {
    display: flex;
    align-items: center;
    gap: 30px; 
    white-space: nowrap; 
    min-width: fit-content;
}

.journal-metrics .metric {
    display: flex;
    flex-direction: column;
    text-align: left;
    white-space: nowrap; 
}

.journal-metrics .metric .val {
    font-size: 16px;
    font-weight: 700;
    color: #004b87;
    line-height: 1.2;
}

.journal-metrics .metric .lab {
    font-size: 12px;
    font-weight: 400;
    color: #555555;
    white-space: nowrap;
}

.header-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.header-submit-btn {
    background-color: #eb6500;
    color: #ffffff !important;
    padding: 8px 18px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: background-color 0.2s ease;
    white-space: nowrap;
    border: 1px solid #eb6500;
}

.header-submit-btn:hover {
    background-color: #cc5800;
    border-color: #cc5800;
    text-decoration: none;
}

.header-guide-btn {
    background-color: transparent;
    color: #004b87 !important;
    padding: 8px 18px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    border: 1px solid #004b87;
}

.header-guide-btn:hover {
    background-color: #004b87;
    color: #ffffff !important;
    text-decoration: none;
}

/* TIER 3: Primary Navigation */
.nusaxis-primary-nav {
    background-color: #ffffff !important;
    width: 100%;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #dcdcdc;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.nusaxis-primary-nav .pkp_container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px 0 24px !important;
    box-sizing: border-box !important;
}

.pkp_navigation_primary_row {
    background: transparent !important; 
    margin: 0 !important;
    padding: 0px !important;
}

.nusaxis-primary-nav .pkp_navigation_primary {
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0; 
    list-style: none;
}

.nusaxis-primary-nav .pkp_navigation_primary > li > a {
    display: block;
    color: #004b87 !important; 
    font-weight: 600;
    text-decoration: none;
    font-size: 14.5px;
    padding: 10px 5px !important; 
}

.nusaxis-primary-nav .pkp_navigation_primary > li > a:hover { color: #eb6500 !important; }

.nusaxis-primary-nav .pkp_navigation_primary ul {
    background-color: #ffffff !important; 
    padding: 0 !important; 
    margin: 0 !important; 
    margin-left: 0 !important; 
    border: 1px solid #dcdcdc !important; 
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1) !important;
}
.nusaxis-primary-nav .pkp_navigation_primary ul li { padding: 0 !important; margin: 0 !important; }
.nusaxis-primary-nav .pkp_navigation_primary ul li a {
    padding: 10px 15px !important; 
    display: block !important; 
    white-space: normal !important;
    line-height: 1.4 !important;
    margin: 0 !important; 
}
.nusaxis-primary-nav .pkp_navigation_primary ul li a:hover { background-color: #f4f8fb !important; }


/* ====================================================
   5. MOBILE HEADER MODULE
   ==================================================== */
@media (min-width: 993px) {
    .nusaxis-mobile-header { display: none !important; }
}

@media (max-width: 992px) {
    .desktop-only { display: none !important; }
    
    .mobile-top-bar {
        background: #002b5c;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 15px;
        position: relative; 
    }

    .mobile-top-controls {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    .mobile-publisher-logo {
        color: #fff;
        font-weight: bold;
        text-decoration: none;
        font-size: 14px;
        font-family: 'Merriweather', serif; 
    }

    .pkp_navigation_user_mobile {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: 10px;
    }

    .pkp_navigation_user_mobile a {
        color: #fff !important;
        font-size: 13px;
        text-decoration: none;
        font-weight: 600;
    }

    .pkp_navigation_user_mobile ul { display: none !important; } 

    .mobile-journal-context {
        background-color: #f4f8fb;
        padding: 20px 15px 10px 15px !important; /* Reduced bottom padding from 20px to 10px */
    }

    .mobile-branding-wrapper {
        display: flex;
        align-items: center; 
        gap: 15px;
        margin-bottom: 0 !important; /* Removed the extra 20px gap pushing down below the metrics */
    }

    .mobile-logo-col {
        display: none !important; 
    }

    .mobile-intro-col {
        flex: 1;
        min-width: 0;
    }

    .mobile-journal-title {
        margin-top: 0 !important;
        margin-bottom: 8px;
    }

    .mobile-journal-title a {
        color: #004b87;
        font-family: 'Lora', serif;
        font-size: 24px;
        text-decoration: none !important; 
        display: block;
    }

    .mobile-journal-desc {
        font-size: 13px;
        color: #444;
        margin-bottom: 8px;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .mobile-view-more {
        display: inline-block;
        font-size: 13px;
        font-weight: bold;
        color: #004b87;
        margin-bottom: 0; 
    }

    .mobile-journal-metrics {
        display: flex;
        align-items: center;
        gap: 20px;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid #dcdcdc;
    }

    .mobile-journal-metrics .metric {
        display: flex;
        flex-direction: column;
        text-align: left;
    }

    .mobile-journal-metrics .metric .val {
        font-size: 16px;
        font-weight: 700;
        color: #004b87;
        line-height: 1.2;
    }

    .mobile-journal-metrics .metric .lab {
        font-size: 12px;
        font-weight: 400;
        color: #555555;
    }

    .mobile-nav-system { position: static; }
    .mobile-nav-checkbox { display: none !important; }

    .mobile-nav-label {
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        color: #fff;
        padding: 5px;
        font-size: 20px;
        cursor: pointer;
        border: 1px solid rgba(255,255,255,0.3);
        border-radius: 4px;
    }

    .mobile-nav-label .fa { margin: 0; }

    .mobile-nav-dropdown {
        display: none; 
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%; 
        background: #fff;
        border-bottom: 2px solid #002b5c;
        box-shadow: 0 10px 15px rgba(0,0,0,0.2);
        text-align: left;
        z-index: 9999; 
    }

    .mobile-nav-checkbox:checked ~ .mobile-nav-dropdown {
        display: block;
    }

    .mobile-primary-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-primary-menu a {
        display: block;
        padding: 12px 15px;
        color: #004b87 !important;
        text-decoration: none;
        font-weight: 600;
        border-bottom: 1px solid #f0f0f0;
    }

    .mobile-primary-menu a:hover { background: #f4f8fb; }
    .mobile-primary-menu ul ul { padding-left: 15px; background: #fafafa; }

    .mobile-global-links .mobile-menu-header {
        padding: 10px 15px;
        background: #e9ecef;
        font-size: 12px;
        font-weight: bold;
        color: #666;
        text-transform: uppercase;
        border-bottom: 1px solid #dcdcdc;
    }
}

/* =========================================================
   6. HOMEPAGE MODULES
   ========================================================= */
.page_index_journal {
    font-size: 1.1rem !important;
    line-height: 1.7 !important;
}

.page_index_journal > h2 {
    font-size: 1.1rem !important;
    margin-bottom: 1.5rem !important;
}

.pkp_structure_main .page_index_journal .homepage_about,
.pkp_structure_main .page_index_journal .homepage_about p:last-child {
    margin-bottom: 0 !important; 
    padding-bottom: 0 !important;
}

/* Desktop & Tablet View */
.page_index_journal > .highlights {
    background-color: #ffffff !important; 
    margin-top: -20px !important; 
    margin-bottom: -20px !important; 
    margin-left: -30px !important;
    margin-right: -30px !important;
    width: calc(100% + 60px) !important; 
    padding: 0px 0px !important; 
    border-radius: 0 !important; 
    box-shadow: none !important; 
    box-sizing: border-box !important;
}

.page_index_journal > .highlights + * {
    border-top: 1px solid #dcdcdc !important; /* The gray separating line */
    padding-top: 0px !important; /* Breathing room between the line and the text */
    margin-top: -20px !important; /* Pulls it up slightly to balance the highlights' bottom margin */
}

/* Tablet View (Screens between 769px and 992px) */
@media (min-width: 769px) and (max-width: 992px) {
    .page_index_journal > .highlights {
        background-color: #ffffff !important; 
        margin-top: -20px !important; 
        margin-bottom: 2.5rem !important; 
        margin-left: -20px !important;
        margin-right: -20px !important;
        width: calc(100% + 40px) !important; 
        /* Balanced padding specifically tailored for tablets */
        padding: 20px 0px 0px 0px !important; 
        border-radius: 0 !important; 
        box-shadow: none !important; 
        box-sizing: border-box !important;
    }
}

/* Mobile View (Screens 992px and below) */
@media (max-width: 992px) {
    .page_index_journal > .highlights {
        background-color: #ffffff !important; 
        margin-top: -15px !important; 
        margin-bottom: 2rem !important; 
        /* Match the exact 15px mobile container padding */
        margin-left: -15px !important;
        margin-right: -15px !important;
        /* Width equals 100% plus the 15px left and right gaps (total 30px) */
        width: calc(100% + 30px) !important; 
        /* Increased top/bottom padding to give the title more breathing room */
        padding: 20px 0px 0px 0px !important; 
        border-radius: 0 !important; 
        box-shadow: none !important; 
        box-sizing: border-box !important;
    }
}


/* Reset the swiper so it fills the newly padded area properly */
.page_index_journal > .highlights .swiper {
    max-width: 100% !important; 
    margin: 0 auto !important;
    padding: 0 !important; 
    box-sizing: border-box !important;
}

/* Metrics */
.metrics_wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
    align-items: start;
}

/* Metrics */
.metrics_wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
    align-items: start;
}

@media (min-width: 768px) {
    .metrics_wrapper {
        grid-template-columns: repeat(4, 1fr);
    }
}

.metric_number {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0056b3;
    line-height: 1.2;
}

.metric_tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
    margin-left: 4px;
    vertical-align: super;
    outline: none;
}

.metric_tooltip .info_icon {
    display: inline-block;
    width: 14px; 
    height: 14px;
    border-radius: 50%;
    background-color: #0056b3;
    color: #ffffff;
    text-align: center;
    font-size: 10px;
    line-height: 14px;
    font-weight: bold;
    font-style: italic;
    font-family: serif;
}

.metric_tooltip .tooltip_text {
    visibility: hidden;
    width: 220px;
    background-color: #333;
    color: #fff;
    text-align: left;
    border-radius: 6px;
    padding: 10px 14px;
    position: absolute;
    z-index: 100;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: normal;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
    pointer-events: none;
}

.metric_tooltip .tooltip_text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.metric_tooltip:hover .tooltip_text,
.metric_tooltip:focus .tooltip_text {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 767px) {
    .metric_item:nth-child(even) .metric_tooltip .tooltip_text {
        left: auto;
        right: -20px;
        transform: none;
    }
    .metric_item:nth-child(even) .metric_tooltip .tooltip_text::after {
        left: auto;
        right: 24px;
    }
}

/* Recent Articles */
.page_index_journal .recent_articles .obj_article_summary {
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 0 !important;
}

.page_index_journal .recent_articles .obj_article_summary .title,
.page_index_journal .recent_articles .obj_article_summary h3 {
    margin-top: 0 !important;
    padding-top: 0 !important;
    font-size: 1.1rem !important;
    line-height: 1.7 !important;
    margin-bottom: 0.5rem !important;
}

.page_index_journal .recent_articles .obj_article_summary .authors {
    font-size: 0.9rem !important;
    line-height: 1.7 !important;
}

.pkp_structure_main .recent_articles .obj_article_summary .pages {
    display: none !important;
}

.pkp_structure_main .recent_articles .cmp_article_list .obj_article_summary {
    margin-bottom: 3rem !important; 
    padding-bottom: 1.5rem !important;
    border-bottom: 1px solid #eaeaea !important; 
}

.pkp_structure_main .recent_articles .cmp_article_list .obj_article_summary:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

.pkp_structure_main .recent_articles .obj_article_summary .obj_galley_link {
    padding: 0.3rem 0.8rem !important; 
    font-size: 0.8rem !important; 
    line-height: 1.5 !important; 
    font-weight: normal !important;
    min-height: auto !important; 
    display: inline-block !important;
    border-radius: 4px !important; 
}

/* =========================================================
   7. ARTICLE PAGE
   ========================================================= */
.obj_article_details .abstract,
.obj_article_details .abstract p,
.obj_article_details .main_entry .item.authors,
.obj_article_details .item.keywords .value,
.obj_article_details .item.references .value,
.obj_article_details .item.references p,
.obj_article_details .item.references li,
.obj_article_details .main_entry h2,
.obj_article_details .main_entry h3 {
    font-family: 'Lora', serif !important;
}

.obj_article_details .abstract,
.obj_article_details .abstract p,
.obj_article_details .main_entry .item.authors,
.obj_article_details .item.keywords .value,
.obj_article_details .item.references .value,
.obj_article_details .item.references p,
.obj_article_details .item.references li {
    font-size: 1.05rem !important; 
    line-height: 1.8 !important; 
    color: #222222 !important; 
}

body.pkp_page_article .obj_article_details .row {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.pkp_page_article .article-badges-container {
    display: none !important;
    margin-left: 0 !important; 
}

body.pkp_page_article .cmp_breadcrumbs li.current span {
    color: #ffffff !important; 
    background-color: #0056b3 !important; 
    padding: 2px 10px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    display: inline-block !important;
    letter-spacing: 0.5px !important;
}

/* Article Desktop Layout */
@media screen and (min-width: 992px) {
    body.pkp_page_article .article-badges-container {
        margin-left: 20px !important;
    }
    
    body.pkp_page_article .pkp_structure_content.has_sidebar {
        display: flex !important;
        flex-direction: column !important;
        background: #ffffff !important;
        border-left: 1px solid #e0e0e0 !important;
        border-right: 0px solid #e0e0e0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important; 
    }

    body.pkp_page_article .pkp_structure_page::before,
    body.pkp_page_article .pkp_structure_page::after,
    body.pkp_page_article .pkp_structure_content::before,
    body.pkp_page_article .pkp_structure_content::after,
    body.pkp_page_article .pkp_structure_main::before,
    body.pkp_page_article .pkp_structure_main::after,
    body.pkp_page_article .page::before,
    body.pkp_page_article .page::after {
        display: none !important;
        content: none !important;
    }

    body.pkp_page_article .pkp_structure_main {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        border-bottom: 1px solid #e0e0e0 !important; 
    }

    body.pkp_page_article .page {
        position: relative !important;
        padding-left: 0px !important;
        padding-right: 0px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
        max-width: 1200px !important;
    }

    body.pkp_page_article .page_title {
        font-size: 2.0rem !important; 
        line-height: 1.4 !important;
        font-weight: 500 !important;
        margin-top: 0px !important;
        margin-bottom: 0px !important; 
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    body.pkp_page_article .cmp_breadcrumbs {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    body.pkp_page_article .obj_article_details .row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
        border: none !important;
    }
    
    body.pkp_page_article .obj_article_details .main_entry {
        flex: 0 0 65% !important;
        max-width: 65% !important;
        padding: 0 !important; 
        margin: 0 !important;
        border-right: none !important; 
        border-left: none !important;
        border-bottom: none !important;
        box-sizing: border-box !important;
        float: none !important;
    }

    body.pkp_page_article .page::after {
        content: "" !important;
        position: absolute !important;
        top: 0 !important; 
        bottom: 0 !important;
        left: 65% !important; 
        width: 1px !important;
        background-color: #e0e0e0 !important;
        display: block !important;
        z-index: 0 !important;
    }

    body.pkp_page_article .cmp_breadcrumbs,
    body.pkp_page_article .page_title,
    body.pkp_page_article .article-badges-container {
        max-width: 100% !important; 
        box-sizing: border-box !important;
        position: relative !important;
        z-index: 1 !important; 
    }
    
    body.pkp_page_article .obj_article_details .main_entry .item {
        padding-left: 20px !important;
        margin-left: 0 !important;
    }

    body.pkp_page_article .obj_article_details .entry_details {
        flex: 1 !important;
        max-width: 35% !important;
        padding: 0 20px 0px 20px !important; 
        margin: 0 !important;
        border: none !important;
        box-sizing: border-box !important;
        float: none !important;
    }

    body.pkp_page_article .obj_article_details .entry_details .item {
        padding-right: 0px !important;
        padding-left: 0px !important;
        padding-top: 20px !important;
        margin-right: 0px !important;
    }

    body.pkp_page_article .pkp_structure_sidebar {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin-top: 0px !important;
        float: none !important;
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
        gap: 20px !important;
        border: none !important;
        border-top: 0px solid #e0e0e0 !important;
        padding: 20px !important; 
        box-sizing: border-box !important;
    }

    body.pkp_page_article .pkp_structure_sidebar .pkp_block {
        margin-bottom: 0 !important;
        border: 0px solid #eaeaea !important;
        padding: 0px !important;
        border-radius: 4px !important;
        box-sizing: border-box !important;
    }
}

/* Article Mobile & Tablet */
@media screen and (max-width: 991px) {
    body.pkp_page_article .cmp_breadcrumbs {
        padding-top: 0 !important; 
        margin-top: 0px !important; 
        padding-right: 0px !important; 
        padding-left: 0px !important; 
    }
    
    body.pkp_page_article .cmp_breadcrumbs ul,
    body.pkp_page_article .cmp_breadcrumbs ol {
        display: flex !important;
        flex-wrap: wrap !important;
        row-gap: 8px !important; 
    }

    body.pkp_page_article .cmp_breadcrumbs li {
        line-height: 1.4 !important;
        margin-bottom: 4px !important;
    }

    body.pkp_page_article .obj_article_details .entry_details .item {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    body.pkp_page_article .obj_article_details .main_entry {
        border-top: none !important; 
        padding-top: 0 !important; 
        margin-top: 0 !important; 
    }

    body.pkp_page_article .obj_article_details .row,
    body.pkp_page_article .page {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    body.pkp_page_article .page_title {
        font-size: 1.4rem !important;
        line-height: 1.25 !important;
        margin-top: 0px !important; 
        padding-left: 0px !important;
        padding-right: 0px !important;
        font-weight: 700 !important;
    }
}

@media screen and (max-width: 767px) {
    body.pkp_page_article .page_title {
        margin-bottom: 10px !important; 
        padding-bottom: 0 !important;
    }

    body.pkp_page_article .obj_article_details .main_entry > *:first-child,
    body.pkp_page_article .obj_article_details .main_entry .item.authors {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    body.pkp_page_article .pkp_structure_main,
    body.pkp_page_article .page {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    body.pkp_page_article .cmp_breadcrumbs,
    body.pkp_page_article .page_title,
    body.pkp_page_article .obj_article_details .entry_details .item {
        padding-left: 20px !important;
        padding-right: 20px !important; 
    }

    body.pkp_page_article .page_title {
        margin-bottom: 5px !important; 
        padding-bottom: 0 !important;
        padding-left: 20px !important;
    }

    body.pkp_page_article .obj_article_details .row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        padding-top: 0 !important;
        margin-top: 0 !important;
        border: none !important;
    }

    body.pkp_page_article .obj_article_details .main_entry {
        flex: 0 0 65% !important;
        max-width: 65% !important;
        padding-top: 0 !important;
        margin-top: 0 !important;
        border-top: none !important;
    }
    
    body.pkp_page_article .obj_article_details .entry_details {
        flex: 1 !important;
        max-width: 35% !important;
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
}

/* Article Author & Affiliation */
.obj_article_details .item.authors {
    margin-bottom: 10px !important; 
    border-bottom: none !important;
    padding-bottom: 0px !important; 
}

.obj_article_details .authors-inline .author-group {
    white-space: nowrap !important;
}

.obj_article_details .authors-inline .name {
    font-size: 0.9rem !important; 
    color: inherit !important; 
    font-weight: normal !important;
    display: inline !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    font-family: 'Merriweather', serif !important; 
}

.obj_article_details .authors-inline .author-superscript {
    color: #4b4b4b !important;
    font-size: 0.75rem !important;
    margin-left: 2px !important;
}

.obj_article_details .authors-inline .author-separator {
    color: #4b4b4b !important;
    margin-right: 4px !important;
}

.obj_article_details .authors-inline .orcid-link {
    margin-left: 4px !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.obj_article_details .authors-inline .orcid-icon {
    height: 14px !important;
    vertical-align: baseline !important;
    opacity: 0.8 !important;
}

.obj_article_details .affiliations-block {
    font-size: 0.85rem !important;
    color: #555555 !important;
    line-height: 1.6 !important;
    margin-top: 15px !important;
}

.obj_article_details .affiliation-item {
    margin-bottom: 4px !important;
    display: block !important;
    padding-left: 0.8rem !important;
    text-indent: -0.8rem !important;
}

.obj_article_details .affiliation-item sup {
    margin-right: 2px !important;
    font-weight: bold !important;
}

.obj_article_details .affiliation-item .ror-link {
    margin-left: 15px !important; /* Increased from 6px to prevent overlap */
    text-decoration: none !important;
    display: inline-block !important;
    vertical-align: middle !important;
    opacity: 0.85 !important;
}

.obj_article_details .corresponding-author {
    font-size: 0.85rem !important;
    color: #555555 !important;
    line-height: 1.6 !important;
    margin-top: 10px !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid #eaeaea !important; 
}

.obj_article_details .corresponding-author sup {
    margin-right: 2px !important;
    font-weight: bold !important;
}

.obj_article_details .corresponding-author .corr-email-wrapper {
    margin-left: 8px !important;
}

.obj_article_details .corresponding-author .corr-icon {
    margin-right: 4px !important;
    color: #4b4b4b !important;
}

.obj_article_details .corresponding-author .corr-email-link {
    color: #005ea5 !important;
    text-decoration: none !important;
}

/* Article Main Content Specifics */
.obj_article_details .main_entry .item.abstract {
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.obj_article_details .main_entry .item.keywords {
    margin-bottom: 8px !important;
    padding-bottom: 0 !important;
    padding-top: 0 !important;
}

.obj_article_details .main_entry .item.references {
    margin-top: 20px !important;
    padding-top: 0 !important;
}

.reference-hidden { display: none !important; }

.show-all-references-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #0056b3; 
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.show-all-references-btn:hover,
.show-all-references-btn:focus {
    background-color: #004494;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    outline: none;
}

.obj_article_details .article-meta-extras {
    margin-top: 0 !important;
    padding-top: 5px !important;
    padding-bottom: 25px !important; 
    margin-bottom: 25px !important; 
    border-bottom: 0px solid #e0e0e0 !important; 
}

.obj_article_details .article-history-timeline {
    font-family: 'Merriweather', serif !important;
    font-size: 0.85rem !important;
    color: #555555 !important;
    line-height: 1.5 !important;
    margin-top: 0 !important; 
    padding-top: 5px !important; 
    border-top: none !important; 
}

.obj_article_details .article-citation-block {
    font-family: 'Merriweather', serif !important;
    font-size: 0.85rem !important;
    font-weight: normal !important;
    color: inherit !important;
    margin-top: 15px !important; 
    margin-bottom: 15px !important; 
}

.obj_article_details .article-actions-inline {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 25px !important;
    margin-top: 15px !important;
    font-family: 'Merriweather', serif !important;
    font-size: 0.9rem !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid #e0e0e0 !important; 
}

.obj_article_details .action-link,
.obj_article_details .share-trigger {
    color: #0056b3 !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    transition: color 0.2s ease !important;
}

.obj_article_details .action-link svg,
.obj_article_details .share-trigger svg {
    display: block !important;
}

.obj_article_details .action-share-wrapper { position: relative !important; }

.obj_article_details .share-options {
    display: flex !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background: #ffffff !important;
    border: 1px solid #eaeaea !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08) !important;
    padding: 8px 12px !important;
    border-radius: 4px !important;
    gap: 15px !important;
    margin-top: 8px !important;
    z-index: 100 !important;
    transition: opacity 0.2s ease, visibility 0.2s ease !important;
}

.obj_article_details .action-share-wrapper:hover .share-options {
    visibility: visible !important;
    opacity: 1 !important;
}

.obj_article_details .share-options a {
    color: #555555 !important;
    font-size: 1.1rem !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.obj_article_details .share-options a:hover {
    color: #0056b3 !important;
}

.obj_article_details .article-badges-container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-bottom: 15px !important;
    padding-bottom: 20px !important;
}

.obj_article_details .open-access-badge,
.obj_article_details .article-section-label {
    display: inline-flex !important;
    align-items: center !important;
    font-family: 'Merriweather', serif !important;
    font-size: 0.85rem !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    padding: 5px 10px !important;
    border-radius: 4px !important;
    text-transform: none;
    letter-spacing: 0.5px !important;
    margin-bottom: 0 !important; 
}

.obj_article_details .open-access-badge { background-color: #e67e22 !important; }
.obj_article_details .article-section-label { background-color: #0056b3 !important; }

/* =========================================================
   8. EDITORIAL TEAM PAGE
   ========================================================= */
body.pkp_page_editorial-team .editorial-section-title {
    font-size: 1.5rem !important;
    color: #333 !important;
    border-bottom: 2px solid #eaeaea !important;
    padding-bottom: 10px !important;
    margin: 40px 20px 20px 20px !important; 
}

@media screen and (max-width: 991px) {
    body.pkp_page_editorial-team .editorial-section-title {
        margin: 30px 15px 15px 15px !important; 
    }
}

@media screen and (min-width: 992px) {
    body.pkp_page_editorial-team .pkp_structure_content.has_sidebar {
        display: flex !important;
        flex-direction: column !important;
        background: #ffffff !important;
        border-left: 1px solid #e0e0e0 !important;
        border-right: 0px solid #e0e0e0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important; 
    }

    body.pkp_page_editorial-team .pkp_structure_page::before,
    body.pkp_page_editorial-team .pkp_structure_page::after,
    body.pkp_page_editorial-team .pkp_structure_content::before,
    body.pkp_page_editorial-team .pkp_structure_content::after,
    body.pkp_page_editorial-team .pkp_structure_main::before,
    body.pkp_page_editorial-team .pkp_structure_main::after,
    body.pkp_page_editorial-team .page::before,
    body.pkp_page_editorial-team .page::after {
        display: none !important;
        content: none !important;
    }

    body.pkp_page_editorial-team .pkp_structure_main {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    body.pkp_page_editorial-team .page {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    body.pkp_page_editorial-team .page_title {
        margin-bottom: 20px !important; 
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    body.pkp_page_editorial-team .cmp_breadcrumbs {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    body.pkp_page_editorial-team .pkp_structure_sidebar {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin-top: 40px !important;
        float: none !important;
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
        gap: 30px !important;
        border: none !important;
        border-top: 1px solid #e0e0e0 !important;
        padding: 40px 20px 20px 20px !important; 
        box-sizing: border-box !important;
    }

    body.pkp_page_editorial-team .pkp_structure_sidebar .pkp_block {
        margin-bottom: 0 !important;
        border: 1px solid #eaeaea !important;
        padding: 20px !important;
        background: #fafafa !important;
        border-radius: 4px !important;
        box-sizing: border-box !important;
    }
}

.editor-flashcard-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 50px;
    font-family: 'Lato', sans-serif;
}

@media screen and (min-width: 992px) {
    .editor-flashcard-grid {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media screen and (max-width: 768px) {
    .editor-flashcard-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .editor-flashcard {
        padding: 15px 10px;
    }
    
    .editor-flashcard .profile-pic {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }
    
    .editor-flashcard .name {
        font-size: 0.9rem;
    }
    
    .editor-flashcard .affiliation, 
    .editor-flashcard .expertise {
        font-size: 0.75rem;
    }
}

.editor-flashcard {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 20px 15px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.editor-flashcard:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.08);
}

.editor-flashcard .profile-pic {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px auto;
    border: 2px solid #f8f9fa;
}

.editor-flashcard .name {
    font-family: 'Merriweather', serif;
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.3;
}

.editor-flashcard .role {
    font-size: 0.75rem;
    font-weight: 700;
    color: #0056b3;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.editor-flashcard .affiliation {
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 12px;
    line-height: 1.4;
}

.editor-flashcard .expertise {
    font-size: 0.75rem;
    color: #666;
    margin: auto 0 15px 0;
    border-top: 1px solid #eee;
    padding-top: 12px;
    line-height: 1.4;
}

.editor-flashcard .identifiers {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.editor-flashcard .identifiers a {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    color: #0056b3;
    text-decoration: none;
    word-break: break-all;
}

.editor-flashcard .identifiers a:hover { text-decoration: underline; }

.editor-flashcard .identifiers img {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    object-fit: contain;
}

.editor-directory {
  display: flex;
  flex-direction: column;
  gap: 25px;
  font-family: sans-serif;
}

.editor-card {
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding-bottom: 25px;
  border-bottom: 1px solid #eeeeee;
  align-items: flex-start;
}

.editor-photo {
  flex: 0 0 125px !important;
  width: 125px !important;
  max-width: 125px !important;
}

.editor-directory .editor-photo img {
  width: 125px !important;
  height: 125px !important;
  max-width: 125px !important;
  min-width: 125px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
  margin: 0 !important;
  display: block !important;
}

.editor-info { flex: 1 1 auto; }
.editor-info h3 { margin: 0 0 5px 0 !important; font-size: 1.15em !important; color: #333333 !important; }
.editor-role { margin: 0 0 8px 0 !important; font-weight: bold !important; font-size: 0.9em !important; color: #555555 !important; }
.editor-affiliation, .editor-expertise { margin: 0 0 12px 0 !important; color: #666666 !important; font-size: 0.85em !important; line-height: 1.5 !important; }

.editor-badges {
  margin: 0 !important;
  font-size: 0.8em !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 15px !important;
}

.editor-badges a {
  text-decoration: none !important;
  color: #000 !important;
  display: inline-flex !important;
  align-items: center !important;
}

.editor-badges img {
  margin-right: 5px !important;
  width: 14px !important;
  height: 14px !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

@media (max-width: 650px) {
  .editor-card {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .editor-badges {
    justify-content: center !important;
  }
}

/* =========================================================
   9. ISSUE PAGES & ARCHIVES
   ========================================================= */
.obj_issue_summary .description { display: none !important; }

.issues_archive {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.issues_archive > li { margin-bottom: 0 !important; }

.obj_issue_summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%; 
}

.obj_issue_summary .cover {
    display: block;
    margin-bottom: 12px;
    width: 100%;
}

.obj_issue_summary .cover img {
    width: 100%;
    height: 280px; 
    object-fit: cover; 
    object-position: top; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); 
    border-radius: 6px; 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.obj_issue_summary .cover:hover img {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.obj_issue_summary h2 {
    font-size: 1.1rem;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.obj_issue_summary .series {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Issue TOC Cleanup */
.page_issue .obj_issue_toc .sections,
.page_issue .obj_issue_toc .section,
.page_issue .obj_issue_toc .section h2,
.page_issue .obj_issue_toc .cmp_article_list,
.page_issue .obj_issue_toc .cmp_article_list li,
.page_issue .obj_article_summary {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    outline: none !important;
    background-image: none !important; 
}

.page_issue .obj_issue_toc .section::before,
.page_issue .obj_issue_toc .section::after,
.page_issue .obj_issue_toc h2::before,
.page_issue .obj_issue_toc h2::after,
.page_issue .obj_article_summary::before,
.page_issue .obj_article_summary::after {
    display: none !important;
    content: none !important;
}

.obj_issue_toc .sections { margin-top: 1rem !important; }
.obj_issue_toc .section { margin-top: 0 !important; margin-bottom: 1.5rem !important; padding: 0px !important; }
.obj_issue_toc .section h2 { margin-top: 0 !important; margin-bottom: 0.5rem !important; margin-left: 10px !important}
.obj_issue_toc .cmp_article_list { margin: 0 !important; padding: 10px !important; }
.obj_issue_toc .cmp_article_list > li { margin: 0 0 1rem 0 !important; padding: 0 !important; }

/* Issue Cover Image Layout */
.page_issue .obj_issue_toc .heading { display: block !important; }
.page_issue .obj_issue_toc .heading::after { content: "" !important; display: table !important; clear: both !important; }
.page_issue .obj_issue_toc .cover {
    float: right !important; 
    margin: 5px 0 15px 20px !important; 
    width: 35% !important; 
    max-width: 250px !important; 
}

.page_issue .obj_issue_toc .cover img {
    width: 100% !important;
    height: auto !important;
    border-radius: 4px !important; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important; 
}

@media (max-width: 768px) {
    .current_issue .cover {
        float: left !important;
        width: 110px !important; 
        margin-right: 15px !important; 
        margin-bottom: 10px !important; 
        margin-top: 5px !important;
    }

    .current_issue .cover img {
        width: 100% !important;
        height: auto !important;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important; 
    }

    .current_issue::after {
        content: "" !important;
        display: table !important;
        clear: both !important;
    }
}

.obj_issue_toc .section {
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
}

@media screen and (max-width: 767px) {
    .obj_issue_toc .section {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* =========================================================
   10. COMPONENTS (BUTTONS, SIDEBAR, SLIDER, FOOTER)
   ========================================================= */

/* PDF / Galley Buttons */
.obj_galley_link {
    background-color: #ffffff !important;
    color: #004B87 !important; 
    border: 1px solid #004B87 !important;
    padding: 6px 14px !important;
    margin-top: 20px !important;
    border-radius: 3px !important; 
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: none !important;
}

.obj_galley_link:hover {
    background-color: #004B87 !important;
    color: #ffffff !important;
}

.obj_article_details .pdf-link {
    background: #0056b3 !important;
    color: #ffffff !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
}

.obj_article_details .pdf-link:hover {
    background: #004494 !important;
    color: #ffffff !important;
}

.page_issue .obj_galley_link {
    padding: 5px 12px !important;
    font-size: 0.85rem !important;
    line-height: 1.2 !important;
    border-radius: 3px !important;
}

/* Sidebar Overrides */
.pkp_structure_sidebar .pkp_block .title,
.pkp_structure_sidebar .pkp_block h2 {
    text-transform: none !important; 
    background-color: #e2e8f0 !important; 
    color: #004B87 !important; 
    padding: 10px 15px !important;
    margin-bottom: 15px !important;
    border-radius: 4px;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-left: 5px solid #004B87 !important; 
    display: block; 
}

.obj_article_details .entry_details .item .label,
.obj_article_details .entry_details .item .heading,
.pkp_structure_sidebar .item .label,
.pkp_structure_sidebar .item .heading {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #004B87 !important;
}

.pkp_block .sidebar-submit-btn {
    display: inline-block !important;
    background-color: #0056b3 !important;
    color: #ffffff !important;
    font-family: 'Lato', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    text-decoration: none !important;
    padding: 10px 20px !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    transition: background-color 0.2s ease, box-shadow 0.2s ease !important;
    margin-top: 5px !important;
}

.pkp_block .sidebar-submit-btn:hover,
.pkp_block .sidebar-submit-btn:focus {
    background-color: #004494 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
    text-decoration: none !important;
}

/* Sidebar Similar Articles */
.pkp_structure_sidebar #articlesBySimilarityList { display: none !important; }

#article-sidebar-similar-articles #articlesBySimilarityList {
    display: block !important;
    margin-top: 30px !important;
    padding-top: 0px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    border-top: 1px solid #eaeaea !important; 
    box-sizing: border-box !important;
}

@media screen and (max-width: 991px) {
    #article-sidebar-similar-articles #articlesBySimilarityList {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

#article-sidebar-similar-articles #articlesBySimilarityList ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#article-sidebar-similar-articles #articlesBySimilarityList li {
    margin-bottom: 12px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px dashed #eaeaea !important;
    font-size: 1.0rem !important; 
    line-height: 1.5 !important; 
    color: #333333 !important; 
}

#article-sidebar-similar-articles #articlesBySimilarityList li:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

#article-sidebar-similar-articles #articlesBySimilarityList a {
    font-family: 'Lato', sans-serif !important;
    font-size: 1.0rem !important;
    color: #0056b3 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    display: inline !important; 
}

#article-sidebar-similar-articles #articlesBySimilarityList a:hover,
#article-sidebar-similar-articles #articlesBySimilarityList a:focus {
    color: #004494 !important;
    text-decoration: underline !important;
}

#article-sidebar-similar-articles #articlesBySimilaritySearch {
    margin-top: 15px !important;
    font-size: 1.0rem !important;
    color: #555555 !important;
    font-style: italic !important;
}

/* Sidebar Issue Block */
.obj_article_details .sidebar-issue-block {
    display: flex !important;
    flex-direction: row !important;
    gap: 15px !important;
    align-items: flex-start !important;
    padding-bottom: 20px !important;
}

.obj_article_details .sidebar-issue-thumbnail {
    flex: 0 0 35% !important;
    max-width: 35% !important;
}

.obj_article_details .sidebar-issue-thumbnail img {
    width: 100% !important;
    height: auto !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.obj_article_details .sidebar-issue-details {
    flex: 0 0 65% !important;
    max-width: 65% !important;
    display: flex !important;
    flex-direction: column !important;
}

.obj_article_details .sidebar-issue-desc {
    font-family: 'Lato', sans-serif !important;
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    color: #555555 !important;
    margin-bottom: 12px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    padding-right: 20px !important;
}

.obj_article_details .sidebar-explore-btn {
    display: inline-block !important;
    background-color: #0056b3 !important;
    color: #ffffff !important;
    font-family: 'Lato', sans-serif !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    text-decoration: none !important;
    padding: 8px 12px !important;
    border-radius: 4px !important;
    transition: background-color 0.2s ease, box-shadow 0.2s ease !important;
    align-self: flex-start !important;
}

.obj_article_details .sidebar-explore-btn:hover,
.obj_article_details .sidebar-explore-btn:focus {
    background-color: #004494 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
    text-decoration: none !important;
}

/* Swiper Slider */
.swiper-slide {
    display: grid !important;
    grid-template-columns: 1fr auto !important; 
    gap: 10px 25px !important; 
    padding: 20px 30px !important; 
    box-sizing: border-box !important;
    align-items: start !important; 
}

.swiper-slide .swiper-slide-content { display: contents !important; }

.swiper-slide .swiper-slide-content .swiper-slide-title,
.swiper-slide .swiper-slide-content .swiper-slide-title a {
    grid-column: 1 !important; 
    grid-row: 1 !important; 
    margin: 0 !important;
    padding-top: 20px !important;
    text-align: left !important;
    font-size: 1.5rem !important; 
    line-height: 1.3 !important;
    color: #004B87 !important; 
}

.swiper-slide .swiper-slide-content .swiper-slide-title a:hover { color: #00335e !important; }

.swiper-slide > :not(.swiper-slide-content) {
    grid-column: 2 !important; 
    grid-row: 1 / 4 !important; 
    margin-top: 30px !important; 
    display: flex !important;
    justify-content: flex-end !important; 
}

.swiper-slide img {
    width: 150px !important; 
    height: auto !important; 
    object-fit: cover !important; 
    border-radius: 4px;
    margin: 0 !important;
}

.swiper-slide .swiper-slide-content > *:not(.swiper-slide-title):not(a):not(.cmp_button):not(.read-more) {
    grid-column: 1 !important; 
    grid-row: 2 !important;
    margin: 0 !important;
    text-align: left !important;
}

.swiper-slide .swiper-slide-content p { margin-bottom: 0 !important; }

.swiper-slide .swiper-slide-content > a,
.swiper-slide .swiper-slide-content .cmp_button,
.swiper-slide .swiper-slide-content .read-more {
    grid-column: 1 !important; 
    grid-row: 3 !important; 
    justify-self: start !important; 
    width: max-content !important;  
    display: inline-block !important;
    margin-top: 5px !important; 
    margin-bottom: 0 !important; 
}

@media (max-width: 768px) {
    .swiper-slide {
        padding: 15px !important; 
        gap: 10px 15px !important; 
    }
    
    .swiper-slide .swiper-slide-content .swiper-slide-title,
    .swiper-slide .swiper-slide-content .swiper-slide-title a {
        font-size: 1.4rem !important; 
        padding-top: 0px !important;
    }
    
    .swiper-slide > :not(.swiper-slide-content) { margin-top: 20px !important; }
    .swiper-slide img { width: 100px !important; }
}

/* Custom 3-Column Footer */
.pkp_structure_footer_wrapper { background-color: #f4f8fb !important; }

.pkp_structure_footer {
    background-color: #ffffff !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    border-left: none !important;
    border-right: none !important;
    box-shadow: -1px 0 0 0 #e0e0e0, 1px 0 0 0 #e0e0e0, 0 1px 0 0 #e0e0e0 !important;
}

.trophos-3-column {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr; 
    gap: 40px;
    padding: 0px 0px; 
    text-align: left;
    border-top: 1px solid #dcdcdc;
    margin-top: 0; 
    font-size: 0.95rem;
}

.trophos-footer-col h4 {
    color: #004d80 !important; 
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: none;
}

.trophos-footer-col ul { list-style: none; padding: 0; margin: 0; }
.trophos-footer-col li { margin-bottom: 10px; }

@media (max-width: 768px) {
    .trophos-3-column {
        grid-template-columns: repeat(1, 1fr);
        padding-left: 0px !important;  
        padding-right: 0px !important; 
        padding-top: 0px !important;   
        padding-bottom: 0px !important; 
    }
}

/* GLOBAL FIX: TITLE TO AUTHOR SPACING */
body.pkp_page_article .obj_article_details .main_entry > *:first-child,
body.pkp_page_article .obj_article_details .item.authors {
    margin-top: 0 !important;
    padding-top: 20px !important;
}


/* =========================================================
   AUTHOR BIOGRAPHIES SECTION STYLING
   ========================================================= */

/* 1. The Main Section Title ("Author Biographies") */
.obj_article_details .author_bios > h2.label {
    font-family: 'Lora', serif !important; 
    font-size: 1.2rem !important; 
    font-weight: 700 !important;
    color: #002b5c !important; /* Matches your theme's dark navy */
    margin-bottom: 20px !important;
    border-bottom: 2px solid #eaeaea !important; /* Optional clean separator */
    padding-bottom: 8px !important;
}

/* 2. The Author Name & Affiliation Line */
.obj_article_details .author_bios .sub_item > .label {
    font-family: 'Lora', serif !important; 
    font-size: 1.0rem !important; 
    font-weight: bold !important;
    color: #004b87 !important; /* Matches your theme's primary blue */
    margin-bottom: 8px !important;
}
