/* =========================================================
   journalsPro - Clean Final CSS
   OJS 3.5 / bootstrap3 child theme
   ========================================================= */

/* =========================
   GLOBAL
   ========================= */

.page_index_journal.journalspro-home {
    background: #f4f5f7;
    color: #1d2733;
    padding: 30px 0 0;
    overflow-x: hidden;
}

.jp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.jp-btn:hover,
.jp-btn:focus {
    text-decoration: none;
    transform: translateY(-1px);
}

.jp-btn--primary {
    background: #ffffff;
    color: #17324f;
    box-shadow: 0 10px 24px rgba(0,0,0,0.10);
}

.jp-btn--primary:hover,
.jp-btn--primary:focus {
    background: #f5f7fa;
    color: #10263d;
}

.jp-btn--secondary {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255,255,255,0.34);
}

.jp-btn--secondary:hover,
.jp-btn--secondary:focus {
    background: rgba(255,255,255,0.10);
    color: #ffffff;
}

.jp-home-link {
    color: #1568c0;
    font-weight: 600;
    text-decoration: none;
}

.jp-home-link:hover {
    color: #0f4f90;
    text-decoration: underline;
}

/* =========================
   HEADER
   ========================= */

.jp-header {
    margin-bottom: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

/* TOPBAR */
.jp-topbar {
    background: #2f6fae;
    color: #ffffff;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.jp-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 7px 0;
}

.jp-topbar-left,
.jp-topbar-right {
    display: flex;
    align-items: center;
}

.jp-lang-nav-list,
.jp-user-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 16px;
    align-items: center;
}

.jp-lang-nav-list li,
.jp-user-nav li {
    margin: 0;
    padding: 0;
}

.jp-lang-nav-list a,
.jp-user-nav li a {
    color: rgba(255,255,255,0.94);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.jp-lang-nav-list a:hover,
.jp-user-nav li a:hover {
    color: #ffffff;
    text-decoration: none;
}

.jp-lang-nav-list a.is-active {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.jp-lang-nav-list li:not(:last-child)::after {
    content: "|";
    margin-left: 16px;
    color: rgba(255,255,255,0.45);
}

/* BRANDING BAR */
.jp-brandbar {
    background: #184a7b;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.jp-brandbar-inner {
    display: flex;
    align-items: center;
    min-height: 92px;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.site-name {
    margin: 0;
}

.jp-brand-title,
.navbar-brand.jp-brand-title {
    float: none;
    display: inline-block;
    height: auto;
    padding: 0;
    margin: 0;
    font-size: 30px;
    line-height: 1.1;
    font-weight: 700;
    color: #ffffff !important;
    letter-spacing: -0.02em;
}

.navbar-brand-logo {
    float: none;
    display: inline-block;
    height: auto;
    padding: 0;
}

.navbar-brand-logo img {
    max-height: 78px;
    width: auto;
}

/* NAV BAR */
.jp-navwrap {
    background: #083b72;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.jp-header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#nav-menu {
    width: 100%;
    min-width: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    border-top: 0;
    box-shadow: none;
    padding: 0;
    gap: 22px;
}

#main-navigation {
    display: flex;
    gap: 22px;
    align-items: center;
    margin: 0;
    padding: 0;
}

#main-navigation > li {
    float: none;
    position: relative;
}

#main-navigation > li > a {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    padding: 17px 0;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

#main-navigation > li > a:hover,
#main-navigation > li > a:focus {
    color: #dbeeff;
    background: transparent;
}

#main-navigation > li.current > a,
#main-navigation > li.active > a {
    color: #ffffff;
}

/* DROPDOWN */
#main-navigation > li > ul {
    margin-top: 0;
    min-width: 230px;
    padding: 8px 0;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.18);
    background: #ffffff;
}

#main-navigation > li > ul li {
    float: none;
    display: block;
}

#main-navigation > li > ul li a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #22384f;
    white-space: nowrap;
    text-decoration: none;
}

#main-navigation > li > ul li a:hover {
    background: #f4f7fa;
    color: #0d2742;
    text-decoration: none;
}

/* SEARCH */
.jp-search-wrap {
    margin-left: 16px;
    flex-shrink: 0;
}

.jp-search-wrap .pkp_search {
    display: flex;
    align-items: center;
    gap: 5px;
}

.jp-search-wrap .pkp_search input[type="text"] {
    min-width: 190px;
    height: 38px;
    padding: 7px 10px;
    border: 0;
    border-radius: 5px;
    font-size: 14px;
}

.jp-search-wrap .pkp_search button,
.jp-search-wrap .pkp_search input[type="submit"] {
    height: 38px;
    padding: 0 14px;
    border: 0;
    border-radius: 5px;
    font-size: 14px;
    background: #f5f6f8;
    color: #12314f;
    font-weight: 700;
}

/* =========================
   HIDE LANGUAGE SIDEBAR
   ========================= */

.block_language,
.pkp_block.block_language,
.block_make_submission.block_language {
    display: none !important;
}

/* =========================
   MASTER CONTAINER ALIGNMENT
   ========================= */

.jp-brandbar > .container,
.jp-navwrap > .container,
.pkp_structure_content.container {
    max-width: 1460px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
}

/* Home full width */
.pkp_page_index.pkp_op_index .pkp_structure_main.col-xs-12.col-sm-10.col-md-8 {
    width: 100% !important;
    float: none !important;
    padding-right: 0 !important;
}

.pkp_page_index.pkp_op_index #sidebar,
.pkp_page_index.pkp_op_index .pkp_structure_sidebar {
    display: none !important;
}

/* =========================
   HOME - JOURNAL LAYOUT
   ========================= */

.jp-home-grid,
.jp-home-lower {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.jp-home-grid {
    margin-bottom: 44px;
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) 320px 260px;
    gap: 24px;
    align-items: stretch;
}

.jp-home-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #d9dee5;
    overflow: hidden;
}

.jp-home-card__inner {
    padding: 20px;
    height: 100%;
}

.jp-home-card__title {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
    color: #15324d;
}

/* ABOUT HERO */
.jp-home-card--about {
    grid-column: 1 / 2;
    min-height: 470px;
    border: 0;
    background: #1c1c1c;
    overflow: hidden;
}

.jp-home-about__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(0deg, rgba(0,0,0,0.18), rgba(0,0,0,0.18)),
        url('/plugins/themes/journalspro/styles/about-journal-bg.jpg') center center / cover no-repeat;
}

.jp-home-about__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,0.55) 0%,
        rgba(0,0,0,0.30) 60%,
        rgba(0,0,0,0.10) 100%
    );
}

.jp-home-about__content {
    position: relative;
    z-index: 2;
    padding: 60px 40px;
    color: #ffffff;
    max-width: 100%;
}

.jp-home-about__title {
    margin: 0 0 24px;
    font-size: 46px;
    line-height: 1.08;
    font-weight: 700;
    color: #ffffff;
}

.jp-home-about__description {
    max-width: 640px;
    margin: 0 0 22px;
    font-size: 17px;
    line-height: 1.75;
    color: rgba(255,255,255,0.96);
}

.jp-home-about__description p {
    color: inherit;
}

.jp-home-about__description p:last-child {
    margin-bottom: 0;
}

.jp-home-about__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* EDITORIAL CARD */
.jp-home-card--editorial,
.jp-home-card--issue {
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 38, 61, 0.06);
    border-color: #dde3ea;
    min-height: 470px;
}

.jp-home-editorial__badge {
    display: inline-block;
    margin-bottom: 16px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #eef4fb;
    color: #234a72;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.jp-home-editorial__text {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.7;
    color: #33475b;
}

.jp-home-editorial__list {
    margin: 14px 0 18px 18px;
    padding: 0;
    color: #33475b;
}

.jp-home-editorial__list li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.jp-home-card--editorial .jp-home-card__title,
.jp-home-card--issue .jp-home-card__title {
    font-size: 16px;
}

/* CURRENT ISSUE CARD */
.jp-home-card--issue {
    max-width: 280px;
    justify-self: end;
}

.jp-home-issue__cover-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 18px;
}

.jp-home-issue__cover {
    display: block;
    max-width: 105px;
    width: 100%;
    height: auto;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.jp-home-issue__identification {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.45;
    color: #1f3f5f;
    font-weight: 600;
}

.jp-home-issue__date {
    margin-bottom: 14px;
    font-size: 14px;
    color: #6c7b8b;
}

/* =========================
   LOWER BLOCK / ANNOUNCEMENTS PRO
   ========================= */

.jp-home-lower {
    margin-bottom: 56px;
}

.jp-home-lower__block {
    background: #ffffff;
    border: 1px solid #d9dee5;
    padding: 28px;
}

.jp-home-lower__title {
    margin: 0 0 22px;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    color: #15324d;
}

.jp-home-announcements-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.jp-home-announcement-card {
    background: #ffffff;
    border: 1px solid #e2e8ef;
    border-radius: 8px;
    padding: 22px;
    box-shadow: 0 6px 18px rgba(13, 39, 66, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.jp-home-announcement-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(13, 39, 66, 0.08);
    border-color: #d3dce6;
}

.jp-home-announcement-card__title {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 700;
}

.jp-home-announcement-card__title a {
    color: #1e5faa;
    text-decoration: none;
}

.jp-home-announcement-card__title a:hover {
    color: #0f4f90;
    text-decoration: underline;
}

.jp-home-announcement-card__date {
    display: block;
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.4;
    color: #7a8795;
}

.jp-home-announcement-card__summary {
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.7;
    color: #33475b;
}

.jp-home-announcement-card__summary p:last-child {
    margin-bottom: 0;
}

.jp-home-announcement-card__more {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: #1568c0;
    text-decoration: none;
}

.jp-home-announcement-card__more:hover {
    color: #0f4f90;
    text-decoration: underline;
}

/* =========================
   FOOTER PRO
   ========================= */

.jp-footer-pro {
    margin-top: 56px;
    background: linear-gradient(180deg, #0b3f78 0%, #072f5a 100%) !important;
    color: #ffffff !important;
    padding: 52px 0 24px;
}

.jp-footer-pro * {
    color: inherit;
}

.jp-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.jp-footer-col {
    min-width: 0;
}

.jp-footer-brand {
    max-width: 520px;
}

.jp-footer-heading {
    margin: 0 0 18px;
    font-size: 32px;
    line-height: 1.15;
    font-weight: 700;
    color: #ffffff !important;
}

.jp-footer-subheading {
    margin: 0 0 18px;
    padding-left: 10px;
    border-left: 4px solid #3fa2ff;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff !important;
}

.jp-footer-text,
.jp-footer-meta,
.jp-footer-list li,
.jp-footer-bottom p {
    color: #ffffff !important;
}

.jp-footer-text,
.jp-footer-meta {
    margin: 0 0 14px;
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255,255,255,0.92) !important;
}

.jp-footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.jp-footer-list li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    font-size: 17px;
    line-height: 1.6;
}

.jp-footer-list a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.jp-footer-list a:hover {
    color: #cfe6ff;
    text-decoration: underline;
}

.jp-footer-bottom {
    margin-top: 48px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.14);
    text-align: center;
}

.jp-footer-bottom p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255,255,255,0.88) !important;
}

/* =========================
   USER MENU DROPDOWN FIX
   ========================= */

#navigationUser {
    position: relative;
}

#navigationUser .dropdown-menu,
#navigationUser ul {
    background: #ffffff !important;
    border: 1px solid #d9dee5 !important;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.14);
    min-width: 220px;
}

#navigationUser .dropdown-menu li,
#navigationUser ul li {
    background: transparent !important;
}

#navigationUser .dropdown-menu li a,
#navigationUser ul li a {
    color: #17324f !important;
    background: transparent !important;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 14px;
    display: block;
    text-decoration: none;
}

#navigationUser .dropdown-menu li a:hover,
#navigationUser ul li a:hover {
    background: #f4f7fa !important;
    color: #0d2742 !important;
}

#navigationUser .task_count,
#navigationUser .notify,
#navigationUser .badge {
    background: #6b7280 !important;
    color: #ffffff !important;
    border-radius: 999px;
}

#navigationUser > li > a,
.jp-user-nav > li > a {
    color: #ffffff !important;
}

/* =========================
   ISSUE PAGE / CURRENT ISSUE
   ========================= */

.page_issue .issue-toc .heading {
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
}

.page_issue .issue-toc .thumbnail {
    margin-bottom: 0;
    max-width: 240px;
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.page_issue .issue-toc .thumbnail .cover {
    display: block;
}

.page_issue .issue-toc .thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.page_issue .issue-toc .issue-details {
    padding-left: 2rem;
    padding-top: 0;
}

.page_issue .issue-toc .published,
.page_issue .issue-toc .pub_id {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 0.85rem;
}

.page_issue .issue-toc .published {
    display: block;
    margin-top: 1rem;
}

.page_issue .issue-toc .description {
    font-size: 1.35rem;
    line-height: 1.8;
    color: #1a2f44;
    max-width: 60ch;
    margin-bottom: 1.2rem;
}

.page_issue .issue-toc .issue-details .description p:first-child {
    margin-top: 0;
}

/* force consistent typography */
.page_issue .issue-toc .issue-details,
.page_issue .issue-toc .issue-details * {
    font-family: Helvetica, Arial, sans-serif !important;
}

/* critical fix for weird spacing / justified text */
.page_issue .issue-toc .description,
.page_issue .issue-toc .description p,
.page_issue .issue-toc .issue-details .description,
.page_issue .issue-toc .issue-details .description p,
.page_issue .issue-toc .issue-details .description p[style] {
    text-align: left !important;
    text-justify: auto !important;
    word-spacing: 0 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    font-family: Helvetica, Arial, sans-serif !important;
    line-height: 1.7 !important;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1199px) {
    .jp-home-grid {
        grid-template-columns: minmax(0, 1.5fr) 300px 240px;
        gap: 20px;
    }

    .jp-home-about__title {
        font-size: 42px;
    }

    .jp-home-card--issue {
        max-width: 100%;
    }
}

@media (max-width: 991px) {
    .jp-brandbar-inner {
        min-height: 84px;
    }

    .jp-brand-title,
    .navbar-brand.jp-brand-title {
        font-size: 27px;
    }

    #main-navigation {
        gap: 18px;
    }

    #main-navigation > li > a {
        font-size: 15px;
    }

    .jp-search-wrap .pkp_search input[type="text"] {
        min-width: 160px;
    }

    .jp-home-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 18px !important;
        width: 100% !important;
    }

    .jp-home-card--about,
    .jp-home-card--editorial,
    .jp-home-card--issue {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: auto !important;
        justify-self: stretch !important;
    }

    .jp-home-card--about {
        order: 1;
    }

    .jp-home-card--editorial {
        order: 2;
    }

    .jp-home-card--issue {
        order: 3;
    }

    .jp-home-about__content {
        padding: 48px 24px 24px;
    }

    .jp-home-about__title {
        font-size: 38px;
    }

    .jp-home-about__description {
        font-size: 17px;
        max-width: 100%;
    }

    .jp-home-issue__cover-wrap {
        justify-content: flex-start;
    }

    .jp-home-issue__cover {
        max-width: 95px;
    }

    .jp-home-announcements-grid {
        grid-template-columns: 1fr;
    }

    .jp-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .jp-footer-heading {
        font-size: 30px;
    }

    .jp-footer-subheading {
        font-size: 22px;
    }

    .page_issue .issue-toc .heading {
        display: block;
    }

    .page_issue .issue-toc .issue-details {
        padding-left: 0;
        padding-top: 1.5rem;
    }
}

@media (max-width: 767px) {
    html,
    body {
        overflow-x: hidden;
    }

    .jp-topbar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .jp-lang-nav-list,
    .jp-user-nav {
        flex-wrap: wrap;
        gap: 10px 14px;
    }

    .jp-brandbar > .container,
    .jp-navwrap > .container,
    .pkp_structure_content.container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .jp-brandbar-inner {
        min-height: 76px;
        align-items: center;
    }

    .jp-brand-title,
    .navbar-brand.jp-brand-title {
        font-size: 23px;
    }

    .navbar-toggle {
        display: block;
        float: right;
        margin-top: 12px;
        margin-right: 0;
        border: 1px solid rgba(255,255,255,0.35);
        border-radius: 6px;
        background: rgba(255,255,255,0.08);
        padding: 6px 8px;
    }

    .navbar-toggle:hover {
        background: rgba(255,255,255,0.18);
    }

    .navbar-toggle .icon-bar {
        background: #ffffff;
    }

    .navbar-header {
        float: none;
        width: 100%;
    }

    .jp-header-main {
        display: block;
        min-height: auto;
        padding: 8px 0 12px;
    }

    #nav-menu {
        display: block !important;
        width: 100%;
        margin-top: 8px;
        background: #083b72;
        padding: 8px 0 16px;
        gap: 0;
    }

    #nav-menu.collapse {
        display: none !important;
    }

    #nav-menu.collapse.in {
        display: block !important;
    }

    #main-navigation {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
        background: #083b72;
    }

    #main-navigation > li {
        display: block;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    #main-navigation > li:last-child {
        border-bottom: none;
    }

    #main-navigation > li > a {
        display: block;
        padding: 15px 18px;
        font-size: 16px;
        font-weight: 600;
        letter-spacing: 0.02em;
        border-top: 0;
    }

    #main-navigation > li > a:active {
        background: rgba(255,255,255,0.08);
    }

    #main-navigation > li > ul {
        background: #0f4f90;
        box-shadow: none;
        border-radius: 0;
        padding: 6px 0;
    }

    #main-navigation > li > ul li a {
        padding: 12px 24px;
        font-size: 14px;
        color: rgba(255,255,255,0.9);
    }

    #main-navigation > li > ul li a:hover {
        background: rgba(255,255,255,0.08);
    }

    .jp-search-wrap {
        margin: 14px 0 0;
        padding: 10px;
        background: #ffffff;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

    .jp-search-wrap .pkp_search {
        width: 100%;
        display: flex;
        gap: 6px;
        flex-wrap: nowrap;
    }

    .jp-search-wrap input[type="text"] {
        flex: 1;
        width: 100%;
        min-width: 0;
        height: 40px;
        border-radius: 6px;
        border: 1px solid #dcdfe4;
        padding: 8px 10px;
        font-size: 14px;
    }

    .jp-search-wrap button,
    .jp-search-wrap input[type="submit"] {
        height: 40px;
        padding: 0 14px;
        border-radius: 6px;
        border: none;
        background: #0d3f75;
        color: #fff;
        font-weight: 600;
    }

    .jp-home-card__inner {
        padding: 16px !important;
    }

    .jp-home-about__content {
        padding: 26px 18px 20px !important;
    }

    .jp-home-about__title {
        font-size: 27px !important;
        line-height: 1.08 !important;
    }

    .jp-home-about__description {
        font-size: 15px !important;
        line-height: 1.65 !important;
    }

    .jp-home-editorial__text,
    .jp-home-issue__identification,
    .jp-home-editorial__list li {
        font-size: 15px;
        line-height: 1.6;
    }

    .jp-home-editorial__list {
        margin-left: 18px !important;
    }

    .jp-home-lower__block {
        padding: 20px 16px;
    }

    .jp-home-lower__title {
        font-size: 22px;
        margin-bottom: 18px;
    }

    .jp-home-announcement-card {
        padding: 18px;
    }

    .jp-home-announcement-card__title {
        font-size: 18px;
    }

    .jp-footer-pro {
        padding: 40px 0 20px;
    }

    .jp-footer-heading {
        font-size: 28px;
    }

    .jp-footer-subheading {
        font-size: 20px;
    }

    .jp-footer-text,
    .jp-footer-meta,
    .jp-footer-list li {
        font-size: 15px;
    }

    .jp-footer-bottom p {
        font-size: 14px;
    }

    .page_issue .issue-toc .thumbnail {
        max-width: 180px;
    }

    .page_issue .issue-toc .description {
        font-size: 1.05rem;
        max-width: 100%;
    }
}

/* =========================================================
   JOURNALSPRO PREMIUM UPGRADE (SAFE BLOCK)
   ========================================================= */

/* ===== TYPOGRAPHY ===== */

.jp-home-card__title {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
}

.jp-home-editorial__text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
}

.jp-home-editorial__list li {
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.jp-home-issue__identification {
    font-size: 0.95rem;
    font-weight: 600;
}

.jp-home-issue__date {
    font-size: 0.8rem;
    color: #777;
}


/* ===== SPACING / BALANCE ===== */

.jp-home-grid {
    gap: 24px;
    margin-bottom: 35px;
}

.jp-home-card {
    border-radius: 10px;
}

.jp-home-lower {
    margin-top: 10px;
    padding-top: 10px;
}

.jp-home-lower__title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 18px;
}


/* ===== ANNOUNCEMENTS PREMIUM ===== */

.jp-home-announcements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.jp-home-announcement-card {
    background: #fff;
    border-radius: 10px;
    padding: 18px 20px;
    border: 1px solid #e2e6ea;
    transition: all 0.25s ease;
    position: relative;
}

.jp-home-announcement-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.jp-home-announcement-card__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.jp-home-announcement-card__title a {
    color: #1a4c7c;
    text-decoration: none;
}

.jp-home-announcement-card__title a:hover {
    text-decoration: underline;
}

.jp-home-announcement-card__date {
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 10px;
}

.jp-home-announcement-card__summary {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #444;
    margin-bottom: 12px;
}

.jp-home-announcement-card__more {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a4c7c;
    text-decoration: none;
}

.jp-home-announcement-card__more:hover {
    text-decoration: underline;
}

/* =========================================================
   JOURNALSPRO FONT OVERRIDE FINAL
   ========================================================= */

body,
html,
.pkp_page_index,
.pkp_page_index * {
    font-family: 'Inter', Arial, sans-serif;
}

.jp-brand-title,
.navbar-brand.jp-brand-title,
.jp-home-about__title,
.jp-home-lower__title,
.jp-home-card__title,
.jp-home-announcement-card__title,
.jp-footer-heading,
.jp-footer-subheading {
    font-family: 'Playfair Display', Georgia, serif !important;
    letter-spacing: -0.02em;
}

.jp-home-about__title {
    font-size: 52px !important;
    line-height: 1.08 !important;
    font-weight: 700 !important;
}

.jp-home-card__title {
    font-size: 22px !important;
    line-height: 1.28 !important;
    font-weight: 700 !important;
}

.jp-home-editorial__text,
.jp-home-announcement-card__summary,
.jp-footer-text,
.jp-footer-meta,
.jp-footer-list li {
    font-family: 'Inter', Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
}

.jp-home-editorial__list li {
    font-family: 'Inter', Arial, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
}

.jp-home-announcement-card__title {
    font-size: 22px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
}

.jp-home-announcement-card__date {
    font-family: 'Inter', Arial, sans-serif !important;
    font-size: 13px !important;
    color: #7a8795 !important;
}

.jp-home-announcement-card__summary {
    font-size: 15px !important;
}

.jp-home-announcement-card__more,
.jp-home-link,
.jp-home-card a,
.jp-home-lower a {
    font-family: 'Inter', Arial, sans-serif !important;
    font-weight: 600 !important;
}

.jp-home-issue__identification {
    font-family: 'Inter', Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    font-weight: 600 !important;
}

.jp-home-issue__date {
    font-family: 'Inter', Arial, sans-serif !important;
    font-size: 14px !important;
    color: #6c7b8b !important;
}

.jp-footer-heading {
    font-size: 40px !important;
    line-height: 1.12 !important;
}

.jp-footer-subheading {
    font-size: 26px !important;
    line-height: 1.2 !important;
}

/* =========================================================
   JOURNALSPRO PREMIUM POLISH
   ========================================================= */

/* Más aire antes del bloque de announcements */
.jp-home-lower {
    padding-top: 30px !important;
}

/* Hover un poco más fino */
.jp-home-announcement-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}

/* Hero buttons: más premium */
.jp-home-about__actions .jp-btn {
    min-height: 46px;
    padding: 0 22px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}

.jp-home-about__actions .jp-btn--primary {
    background: #ffffff;
    color: #0f2f4d;
    border: 1px solid rgba(255,255,255,0.9);
}

.jp-home-about__actions .jp-btn--primary:hover,
.jp-home-about__actions .jp-btn--primary:focus {
    background: #f6f8fb;
    color: #0b2740;
    box-shadow: 0 10px 24px rgba(0,0,0,0.16);
    transform: translateY(-1px);
}

.jp-home-about__actions .jp-btn--secondary {
    background: rgba(255,255,255,0.06);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.45);
    backdrop-filter: blur(2px);
}

.jp-home-about__actions .jp-btn--secondary:hover,
.jp-home-about__actions .jp-btn--secondary:focus {
    background: rgba(255,255,255,0.14);
    color: #ffffff;
    border-color: rgba(255,255,255,0.70);
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
    transform: translateY(-1px);
}

/* =========================================================
   JOURNALSPRO PREMIUM UPGRADE V2
   ========================================================= */

/* ===== HERO $2000 ===== */

.jp-home-card--about {
    border-radius: 14px !important;
    box-shadow: 0 16px 40px rgba(8, 28, 48, 0.18) !important;
}

.jp-home-about__bg {
    transform: scale(1.02);
    transition: transform 0.6s ease;
}

.jp-home-card--about:hover .jp-home-about__bg {
    transform: scale(1.05);
}

.jp-home-about__overlay {
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.70) 0%,
            rgba(0,0,0,0.42) 45%,
            rgba(0,0,0,0.20) 100%
        ) !important;
}

.jp-home-about__content {
    padding: 64px 34px 34px !important;
}

.jp-home-about__title {
    text-shadow: 0 2px 12px rgba(0,0,0,0.28);
    max-width: 12ch;
}

.jp-home-about__description {
    max-width: 34ch !important;
    color: rgba(255,255,255,0.96) !important;
    text-shadow: 0 1px 8px rgba(0,0,0,0.18);
}

/* ===== EDITORIAL / ISSUE CARDS MÁS PREMIUM ===== */

.jp-home-card--editorial,
.jp-home-card--issue {
    border-radius: 14px !important;
    box-shadow: 0 10px 28px rgba(16, 38, 61, 0.08) !important;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease !important;
}

.jp-home-card--editorial:hover,
.jp-home-card--issue:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(16, 38, 61, 0.12) !important;
    border-color: #d4dde7 !important;
}

.jp-home-card__inner {
    padding: 24px !important;
}

/* ===== ANNOUNCEMENTS MÁS FINOS ===== */

.jp-home-lower__block {
    border-radius: 14px !important;
    box-shadow: 0 8px 24px rgba(16, 38, 61, 0.05);
}

.jp-home-announcement-card {
    border-radius: 12px !important;
}

.jp-home-announcement-card__title a {
    transition: color 0.2s ease;
}

.jp-home-announcement-card__more {
    position: relative;
    transition: color 0.2s ease;
}

.jp-home-announcement-card__more::after {
    content: "→";
    display: inline-block;
    margin-left: 6px;
    transition: transform 0.2s ease;
}

.jp-home-announcement-card:hover .jp-home-announcement-card__more::after {
    transform: translateX(3px);
}

/* ===== NAVBAR MÁS LIMPIA ===== */

.jp-navwrap {
    box-shadow: 0 4px 14px rgba(5, 24, 44, 0.08);
}

#main-navigation > li > a {
    position: relative;
    transition: color 0.2s ease;
}

#main-navigation > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 10px;
    width: 0;
    height: 2px;
    background: rgba(255,255,255,0.92);
    transition: width 0.22s ease;
}

#main-navigation > li > a:hover::after,
#main-navigation > li.current > a::after,
#main-navigation > li.active > a::after {
    width: 100%;
}

/* ===== SEARCH MÁS PRO ===== */

.jp-search-wrap .pkp_search input[type="text"] {
    border: 1px solid rgba(10, 34, 58, 0.10);
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.04);
}

.jp-search-wrap .pkp_search input[type="text"]:focus {
    outline: none;
    border-color: #7fa7cf;
    box-shadow: 0 0 0 3px rgba(72, 122, 178, 0.14);
}

.jp-search-wrap .pkp_search button,
.jp-search-wrap .pkp_search input[type="submit"] {
    transition: all 0.2s ease;
}

.jp-search-wrap .pkp_search button:hover,
.jp-search-wrap .pkp_search input[type="submit"]:hover {
    background: #e9eef4;
}

/* ===== FOOTER MÁS REFINADO ===== */

.jp-footer-pro {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.jp-footer-list a,
.jp-footer-meta a {
    transition: color 0.2s ease;
}

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

@media (max-width: 991px) {
    .jp-home-about__content {
        padding: 42px 24px 24px !important;
    }

    .jp-home-about__title {
        max-width: none;
    }

    .jp-home-card__inner {
        padding: 20px !important;
    }
}

@media (max-width: 767px) {
    .jp-home-card--about,
    .jp-home-card--editorial,
    .jp-home-card--issue,
    .jp-home-lower__block,
    .jp-home-announcement-card {
        border-radius: 10px !important;
    }

    .jp-home-about__content {
        padding: 28px 18px 20px !important;
    }

    .jp-home-about__description {
        max-width: 100% !important;
    }

    #main-navigation > li > a::after {
        display: none;
    }
}

/* =========================================================
   JOURNALSPRO STICKY HEADER PRO
   ========================================================= */

body {
    padding-top: 0;
}

.jp-header {
    position: sticky;
    top: 0;
    z-index: 999;
}

.jp-topbar,
.jp-brandbar,
.jp-navwrap {
    transition: all 0.28s ease;
}

body.jp-scrolled .jp-topbar {
    padding-top: 0;
    padding-bottom: 0;
}

body.jp-scrolled .jp-brandbar-inner {
    min-height: 72px !important;
}

body.jp-scrolled .jp-brand-title,
body.jp-scrolled .navbar-brand.jp-brand-title {
    font-size: 25px !important;
}

body.jp-scrolled .jp-header-main {
    min-height: 50px !important;
}

body.jp-scrolled #main-navigation > li > a {
    padding: 14px 0 !important;
    font-size: 15px !important;
}

body.jp-scrolled .jp-search-wrap .pkp_search input[type="text"],
body.jp-scrolled .jp-search-wrap .pkp_search button,
body.jp-scrolled .jp-search-wrap .pkp_search input[type="submit"] {
    height: 34px !important;
}

body.jp-scrolled .jp-navwrap {
    box-shadow: 0 8px 22px rgba(10, 28, 46, 0.14);
}

@media (max-width: 991px) {
    .jp-header {
        position: relative;
        top: auto;
    }

    body.jp-scrolled .jp-brandbar-inner {
        min-height: 84px !important;
    }

    body.jp-scrolled .jp-brand-title,
    body.jp-scrolled .navbar-brand.jp-brand-title {
        font-size: 27px !important;
    }

    body.jp-scrolled .jp-header-main {
        min-height: auto !important;
    }

    body.jp-scrolled #main-navigation > li > a {
        padding: 15px 18px !important;
        font-size: 16px !important;
    }
}

/* =========================================================
   JOURNALSPRO STICKY HEADER PRO
   ========================================================= */

.jp-header {
    position: sticky;
    top: 0;
    z-index: 999;
}

.jp-topbar,
.jp-brandbar,
.jp-navwrap {
    transition: all 0.28s ease;
}

body.jp-scrolled .jp-brandbar-inner {
    min-height: 72px !important;
}

body.jp-scrolled .jp-brand-title,
body.jp-scrolled .navbar-brand.jp-brand-title {
    font-size: 25px !important;
}

body.jp-scrolled .jp-header-main {
    min-height: 50px !important;
}

body.jp-scrolled #main-navigation > li > a {
    padding: 14px 0 !important;
    font-size: 15px !important;
}

body.jp-scrolled .jp-search-wrap .pkp_search input[type="text"],
body.jp-scrolled .jp-search-wrap .pkp_search button,
body.jp-scrolled .jp-search-wrap .pkp_search input[type="submit"] {
    height: 34px !important;
}

body.jp-scrolled .jp-navwrap {
    box-shadow: 0 8px 22px rgba(10, 28, 46, 0.14);
}

@media (max-width: 991px) {
    .jp-header {
        position: relative;
        top: auto;
    }
}

/* ===== HEADER PREMIUM ===== */

.jp-header {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* TOPBAR más fino */
.jp-topbar {
    font-size: 13px;
    opacity: 0.85;
    letter-spacing: 0.03em;
}

/* CONTENEDOR DEL LOGO */
.jp-brandbar {
    padding: 18px 0;
}

/* TÍTULO (YA LO TIENES BIEN, pero afinamos) */
.jp-brand-title {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* NAVBAR (menú) */
.navbar-default {
    border: none;
}

/* LINKS DEL MENÚ */
.navbar-default .navbar-nav > li > a {
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: all 0.25s ease;
}

/* HOVER elegante */
.navbar-default .navbar-nav > li > a:hover {
    opacity: 0.7;
}

/* SEARCH más limpio */
.navbar-form input {
    border-radius: 20px;
    border: none;
    padding: 6px 12px;
}

/* ===== HERO PREMIUM LEVEL ===== */

.hero_home {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
}

/* OVERLAY OSCURO PROFESIONAL */
.hero_home::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,0.75) 0%,
        rgba(0,0,0,0.55) 40%,
        rgba(0,0,0,0.2) 100%
    );
    z-index: 1;
}

/* CONTENIDO ENCIMA */
.hero_home * {
    position: relative;
    z-index: 2;
}

/* TÍTULO HERO */
.hero_home h2 {
    font-size: 44px;
    line-height: 1.1;
    margin-bottom: 16px;
}

/* TEXTO */
.hero_home p {
    font-size: 16px;
    max-width: 520px;
    opacity: 0.95;
}

/* BOTONES */
.hero_home .btn {
    border-radius: 30px;
    padding: 10px 22px;
    font-weight: 500;
    transition: all 0.25s ease;
}

/* BOTÓN PRINCIPAL */
.hero_home .btn-primary {
    background: #ffffff;
    color: #000;
    border: none;
}

/* BOTÓN SECUNDARIO (outline elegante) */
.hero_home .btn-secondary,
.hero_home .btn-default {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.6);
    color: #fff;
}

/* HOVER PRO */
.hero_home .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* ESPACIADO INTERNO */
.hero_home .journal-description {
    padding: 40px;
}

/* ===== HEADER STICKY PRO ===== */

.jp-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(20, 50, 90, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

/* CUANDO HACES SCROLL */
.jp-header.scrolled {
    background: rgba(20, 50, 90, 0.95);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* =========================================
   HEADER STICKY PREMIUM
========================================= */

.jp-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(20, 50, 90, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* estado al hacer scroll */
.jp-header.scrolled {
    background: rgba(20, 50, 90, 0.95);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* topbar */
.jp-topbar {
    font-size: 13px;
    opacity: 0.85;
    letter-spacing: 0.03em;
}

/* branding */
.jp-brandbar {
    padding: 18px 0;
}

.jp-brand-title {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* navegación */
.navbar-default {
    border: none;
}

.navbar-default .navbar-nav > li > a {
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: all 0.25s ease;
}

.navbar-default .navbar-nav > li > a:hover {
    opacity: 0.7;
}

/* buscador */
.navbar-form input {
    border-radius: 20px;
    border: none;
    padding: 6px 12px;
}


/* =========================================
   HERO PREMIUM
========================================= */

.hero_home {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
}

/* overlay oscuro elegante */
.hero_home::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,0.75) 0%,
        rgba(0,0,0,0.55) 40%,
        rgba(0,0,0,0.2) 100%
    );
    z-index: 1;
}

/* contenido encima */
.hero_home * {
    position: relative;
    z-index: 2;
}

/* título */
.hero_home h2 {
    font-size: 44px;
    line-height: 1.1;
    margin-bottom: 16px;
}

/* texto */
.hero_home p {
    font-size: 16px;
    max-width: 520px;
    opacity: 0.95;
}

/* botones */
.hero_home .btn {
    border-radius: 30px;
    padding: 10px 22px;
    font-weight: 500;
    transition: all 0.25s ease;
}

/* botón principal */
.hero_home .btn-primary {
    background: #ffffff;
    color: #000;
    border: none;
}

/* botón secundario */
.hero_home .btn-secondary,
.hero_home .btn-default {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.6);
    color: #fff;
}

/* hover elegante */
.hero_home .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* padding interno */
.hero_home .journal-description {
    padding: 40px;
}


/* =========================================
   ESPACIADO GENERAL (CLAVE PRO)
========================================= */

.jp-home-lower {
    padding-top: 30px;
}

/* evita que el header "aplane" el contenido */
.pkp_structure_content {
    padding-top: 20px;
}

body.jp-scrolled .pkp_structure_content {
    padding-top: 28px;
}


/* =========================================
   CARDS (TOQUE FINAL PREMIUM)
========================================= */

.jp-home-announcement-card,
.obj_announcement_summary {
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
    border-radius: 12px;
}

.jp-home-announcement-card:hover,
.obj_announcement_summary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* =========================================================
   JOURNALSPRO ARTICLE PAGE PREMIUM
   ========================================================= */

.jp-article-details {
    max-width: 1280px;
    margin: 0 auto;
}

.jp-article-header {
    margin-bottom: 28px;
}

.jp-article-title {
    margin-bottom: 0;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 42px;
    line-height: 1.18;
    color: #17324f;
}

.jp-article-subtitle {
    display: block;
    margin-top: 12px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 18px;
    line-height: 1.5;
    color: #5f6f80;
}

.jp-article-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.jp-article-sidebar,
.jp-article-content {
    margin-bottom: 24px;
}

.jp-article-card,
.jp-article-panel {
    background: #ffffff;
    border: 1px solid #e2e8ef;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(11, 36, 58, 0.05);
    overflow: hidden;
}

.jp-article-card {
    padding: 22px;
    margin-bottom: 22px;
}

.jp-article-panel {
    margin-bottom: 22px;
}

.jp-article-panel .panel-heading {
    background: #f8fafc !important;
    border-bottom: 1px solid #e5ebf2 !important;
}

.jp-article-panel .panel-title {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #17324f;
}

.jp-article-panel .panel-body {
    font-size: 15px;
    line-height: 1.7;
    color: #33475b;
}

.jp-article-card--cover img {
    border-radius: 8px;
    margin: 0 auto;
}

.jp-article-card__heading {
    margin: 0 0 14px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #17324f;
}

.jp-article-downloads .galley_link {
    display: inline-block;
    margin: 0 10px 10px 0;
    border-radius: 999px !important;
    padding: 10px 18px !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.jp-article-downloads .galley_link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.10);
}

.jp-article-meta .list-group-item {
    border: 0 !important;
    border-top: 1px solid #edf1f5 !important;
    padding-left: 0;
    padding-right: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #33475b;
}

.jp-article-meta .list-group-item:first-child {
    border-top: 0 !important;
}

.jp-article-meta strong {
    color: #17324f;
}

.jp-article-authors {
    margin-bottom: 24px;
}

.jp-article-author + .jp-article-author {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #edf1f5;
}

.jp-article-author__name {
    display: block;
    margin-bottom: 4px;
    font-size: 18px;
    color: #17324f;
}

.jp-article-author__affiliation,
.jp-article-author__orcid {
    font-size: 14px;
    line-height: 1.6;
    color: #58697a;
}

.jp-article-abstract-wrap h2,
.jp-article-references h2 {
    margin-top: 0;
    margin-bottom: 14px;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 28px;
    color: #17324f;
}

.jp-article-abstract-wrap .article-abstract,
.jp-article-references-content {
    font-size: 16px;
    line-height: 1.8;
    color: #2f4051;
}

.jp-article-references-content p {
    margin-bottom: 14px;
}

.downloads_chart .label {
    display: block;
    margin-bottom: 16px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #17324f;
}

@media (max-width: 991px) {
    .jp-article-title {
        font-size: 34px;
    }
}

@media (max-width: 767px) {
    .jp-article-title {
        font-size: 28px;
    }

    .jp-article-subtitle {
        font-size: 16px;
    }

    .jp-article-card,
    .jp-article-panel {
        border-radius: 10px;
    }

    .jp-article-card {
        padding: 18px;
    }
}

/* =========================================================
   JOURNALSPRO ARTICLE PAGE – MEJORAS PRO
   ========================================================= */

/* 1. Aire superior (entrada visual) */
.jp-article-details {
    padding-top: 30px;
}

/* 2. Cards más profundas (look premium) */
.jp-article-card,
.jp-article-panel {
    box-shadow: 0 12px 30px rgba(15, 40, 70, 0.08);
}

/* 3. Hover elegante (microdetalle caro) */
.jp-article-card {
    transition: all 0.3s ease;
}

.jp-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* 4. Título con mejor entrada */
.jp-article-title {
    margin-top: 10px;
    margin-bottom: 20px;
}

/* 5. Abstract con leve jerarquía visual */
.jp-article-abstract-wrap {
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
}

/* 6. Separación general más limpia */
.jp-article-sidebar,
.jp-article-content {
    margin-bottom: 24px;
}

/* 7. Botones (galley) con mejor interacción */
.jp-article-downloads .galley_link {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.jp-article-downloads .galley_link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.10);
}

/* 8. Tipografía más refinada en bloques */
.jp-article-meta .list-group-item {
    font-size: 15px;
    line-height: 1.7;
}

/* 9. Autores más elegantes */
.jp-article-author__name {
    font-size: 18px;
    color: #17324f;
}

.jp-article-author__affiliation,
.jp-article-author__orcid {
    font-size: 14px;
    color: #58697a;
}

/* 10. Referencias más legibles */
.jp-article-references-content p {
    margin-bottom: 14px;
    line-height: 1.8;
}

/* =========================================================
   JOURNALSPRO – ARTICLE + HEADER PRO (FULL PACK)
   ========================================================= */

/* =========================
   1. ESPACIADO GENERAL
   ========================= */
.jp-article-details {
    padding-top: 30px;
}

/* =========================
   2. CARDS PREMIUM
   ========================= */
.jp-article-card,
.jp-article-panel {
    background: #ffffff;
    border: 1px solid #e2e8ef;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(15, 40, 70, 0.08);
    overflow: hidden;
}

/* Hover elegante */
.jp-article-card {
    transition: all 0.3s ease;
}

.jp-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* =========================
   3. TÍTULO Y SUBTÍTULO
   ========================= */
.jp-article-title {
    margin-top: 10px;
    margin-bottom: 20px;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 42px;
    line-height: 1.18;
    color: #17324f;
}

.jp-article-subtitle {
    display: block;
    margin-top: 12px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 18px;
    color: #5f6f80;
}

/* =========================
   4. ABSTRACT PRO
   ========================= */
.jp-article-abstract-wrap {
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
}

.jp-article-abstract-wrap h2 {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 28px;
    color: #17324f;
}

.jp-article-abstract-wrap .article-abstract {
    font-size: 16px;
    line-height: 1.8;
    color: #2f4051;
}

/* =========================
   5. SIDEBAR + META
   ========================= */
.jp-article-meta .list-group-item {
    border: 0 !important;
    border-top: 1px solid #edf1f5 !important;
    padding-left: 0;
    padding-right: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #33475b;
}

.jp-article-meta .list-group-item:first-child {
    border-top: 0 !important;
}

.jp-article-meta strong {
    color: #17324f;
}

/* =========================
   6. AUTORES
   ========================= */
.jp-article-author__name {
    display: block;
    font-size: 18px;
    color: #17324f;
}

.jp-article-author__affiliation,
.jp-article-author__orcid {
    font-size: 14px;
    color: #58697a;
}

/* =========================
   7. BOTONES DESCARGA
   ========================= */
.jp-article-downloads .galley_link {
    display: inline-block;
    margin: 0 10px 10px 0;
    border-radius: 999px !important;
    padding: 10px 18px !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.jp-article-downloads .galley_link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.10);
}

/* =========================
   8. REFERENCIAS
   ========================= */
.jp-article-references-content p {
    margin-bottom: 14px;
    line-height: 1.8;
}

/* =========================
   9. HEADER PRO (CLAVE)
   ========================= */

/* Fondo y profundidad */
.pkp_structure_head {
    background: linear-gradient(180deg, #17324f 0%, #1e3d5c 100%);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* Nombre revista */
.pkp_site_name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* Menú principal */
.pkp_navigation_primary {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 14px;
    letter-spacing: 0.3px;
}

/* Links del menú */
.pkp_navigation_primary > li > a {
    padding: 14px 16px;
    transition: all 0.2s ease;
}

.pkp_navigation_primary > li > a:hover {
    opacity: 0.8;
}

/* Sticky efecto (usa tu JS existente) */
.jp-scrolled .pkp_structure_head {
    background: rgba(23, 50, 79, 0.95);
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}

/* Search mejorado */
.pkp_search input[type="text"] {
    border-radius: 999px;
    padding: 8px 16px;
    border: 1px solid #d6dde5;
}

/* =========================
   10. RESPONSIVE
   ========================= */
@media (max-width: 991px) {
    .jp-article-title {
        font-size: 34px;
    }
}

@media (max-width: 767px) {
    .jp-article-title {
        font-size: 28px;
    }

    .jp-article-card,
    .jp-article-panel {
        border-radius: 10px;
    }
}

/* =========================================================
   JOURNALSPRO – FULL FINAL CSS (ARTICLE + HEADER PRO)
   ========================================================= */

/* =========================
   1. ESPACIADO GENERAL
   ========================= */
.jp-article-details {
    padding-top: 30px;
}

/* =========================
   2. CARDS PREMIUM
   ========================= */
.jp-article-card,
.jp-article-panel {
    background: #ffffff;
    border: 1px solid #e2e8ef;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(15, 40, 70, 0.08);
    overflow: hidden;
}

/* Hover elegante */
.jp-article-card {
    transition: all 0.3s ease;
}

.jp-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* =========================
   3. TÍTULO Y SUBTÍTULO
   ========================= */
.jp-article-title {
    margin-top: 10px;
    margin-bottom: 20px;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 42px;
    line-height: 1.18;
    color: #17324f;
}

.jp-article-subtitle {
    display: block;
    margin-top: 12px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 18px;
    color: #5f6f80;
}

/* =========================
   4. ABSTRACT PRO
   ========================= */
.jp-article-abstract-wrap {
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
}

.jp-article-abstract-wrap h2 {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 28px;
    color: #17324f;
}

.jp-article-abstract-wrap .article-abstract {
    font-size: 16px;
    line-height: 1.8;
    color: #2f4051;
}

/* =========================
   5. SIDEBAR + META
   ========================= */
.jp-article-meta .list-group-item {
    border: 0 !important;
    border-top: 1px solid #edf1f5 !important;
    padding-left: 0;
    padding-right: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #33475b;
}

.jp-article-meta .list-group-item:first-child {
    border-top: 0 !important;
}

.jp-article-meta strong {
    color: #17324f;
}

/* Sidebar identidad */
.jp-article-sidebar .jp-article-card {
    border-left: 3px solid #17324f;
}

/* =========================
   6. AUTORES
   ========================= */
.jp-article-author__name {
    display: block;
    font-size: 18px;
    color: #17324f;
}

.jp-article-author__affiliation,
.jp-article-author__orcid {
    font-size: 14px;
    color: #58697a;
}

/* =========================
   7. BOTONES DESCARGA
   ========================= */
.jp-article-downloads .galley_link {
    display: inline-block;
    margin: 0 10px 10px 0;
    border-radius: 999px !important;
    padding: 10px 18px !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.jp-article-downloads .galley_link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.10);
}

/* =========================
   8. REFERENCIAS
   ========================= */
.jp-article-references-content p {
    margin-bottom: 14px;
    line-height: 1.8;
}

/* =========================
   9. HEADER PRO
   ========================= */

/* Fondo */
.pkp_structure_head {
    background: linear-gradient(180deg, #17324f 0%, #1e3d5c 100%);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Nombre revista */
.pkp_site_name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 26px;
    font-weight: 700;
}

/* Menú */
.pkp_navigation_primary {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 13px;
}

.pkp_navigation_primary > li > a {
    padding: 10px 14px;
    transition: all 0.2s ease;
}

.pkp_navigation_primary > li > a:hover {
    opacity: 0.8;
}

/* Sticky efecto */
.jp-scrolled .pkp_structure_head {
    background: rgba(23, 50, 79, 0.95);
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}

/* Search */
.pkp_search {
    display: flex;
    align-items: center;
}

.pkp_search input[type="text"] {
    border-radius: 999px;
    padding: 8px 16px;
    border: 1px solid #d6dde5;
    height: 34px;
}

/* Breadcrumb */
.cmp_breadcrumbs {
    font-size: 13px;
    color: #7a8a99;
}

/* =========================
   10. RESPONSIVE
   ========================= */
@media (max-width: 991px) {
    .jp-article-title {
        font-size: 34px;
    }
}

@media (max-width: 767px) {
    .jp-article-title {
        font-size: 28px;
    }

    .jp-article-card,
    .jp-article-panel {
        border-radius: 10px;
    }
}

/* =========================================================
   JOURNALSPRO – CURRENT ISSUE FIX
   ========================================================= */

/* 1. Reducir espacio vertical general */
.page_issue_archive,
.current_issue {
    margin-top: 10px;
}

/* 2. Contenedor principal más compacto */
.current_issue .obj_issue_summary {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

/* 3. Imagen más elegante */
.current_issue .cover {
    flex: 0 0 180px;
}

.current_issue .cover img {
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* 4. Texto al lado derecho (EL PROBLEMA PRINCIPAL) */
.current_issue .description {
    flex: 1;
    max-width: 720px;
}

/* 5. Tipografía editorial (esto arregla lo “feo”) */
.current_issue .description p {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #2f4051;
    margin-bottom: 10px;
}

/* 6. Published más discreto */
.current_issue .description .published {
    font-size: 13px;
    color: #7a8a99;
}

/* 7. Título "Articles" más elegante */
.current_issue h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 26px;
    margin-top: 30px;
    margin-bottom: 16px;
    color: #17324f;
}

/* 8. Lista de artículos más limpia */
.obj_article_summary {
    margin-bottom: 18px;
}

.obj_article_summary .title {
    font-size: 17px;
    font-weight: 600;
    color: #1e3d5c;
}

/* 9. Botones más alineados */
.obj_article_summary .galley_link {
    margin-top: 6px;
}

/* =========================
   10. RESPONSIVE (MUY IMPORTANTE)
   ========================= */
@media (max-width: 768px) {
    .current_issue .obj_issue_summary {
        flex-direction: column;
    }

    .current_issue .cover {
        margin-bottom: 16px;
    }

    .current_issue .description {
        max-width: 100%;
    }
}

/* =========================================================
   JOURNALSPRO – ISSUE PAGE FIX REAL
   ========================================================= */

/* Contenedor general de la cabecera del número */
.page_issue .issue-toc .heading {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    margin-bottom: 36px;
}

/* Portada */
.page_issue .issue-toc .cover {
    flex: 0 0 220px;
    max-width: 220px;
}

.page_issue .issue-toc .cover img,
.page_issue .issue-toc .thumbnail img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(10, 30, 50, 0.10);
}

/* Columna derecha real */
.page_issue .issue-toc .issue-details {
    flex: 1 1 auto;
    max-width: 760px;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Descripción */
.page_issue .issue-toc .issue-details .description,
.page_issue .issue-toc .issue-details .description p {
    font-family: 'Inter', Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.85 !important;
    color: #2f4051 !important;
    text-align: left !important;
    letter-spacing: 0 !important;
    word-spacing: 0 !important;
    white-space: normal !important;
    max-width: 62ch;
    margin: 0 0 14px 0 !important;
}

/* Fecha publicada */
.page_issue .issue-toc .issue-details .published,
.page_issue .issue-toc .issue-details .pub_id {
    font-family: 'Inter', Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    color: #6f8091 !important;
    margin-top: 8px !important;
    margin-bottom: 0 !important;
}

/* Título del bloque de artículos */
.page_issue .sections h2,
.page_issue .current_issue h2,
.page_issue h2.title,
.page_issue .issue-toc + .sections h2 {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 28px !important;
    line-height: 1.2 !important;
    color: #17324f !important;
    margin-top: 8px !important;
    margin-bottom: 18px !important;
}

/* Lista de artículos */
.page_issue .sections .obj_article_summary,
.page_issue .current_issue .obj_article_summary {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e8edf2;
}

.page_issue .sections .obj_article_summary:last-child,
.page_issue .current_issue .obj_article_summary:last-child {
    border-bottom: 0;
}

/* Título de artículo */
.page_issue .obj_article_summary .title a {
    font-family: 'Inter', Arial, sans-serif !important;
    font-size: 18px !important;
    line-height: 1.5 !important;
    font-weight: 600 !important;
    color: #1c4f84 !important;
    text-decoration: none;
}

.page_issue .obj_article_summary .title a:hover {
    text-decoration: underline;
}

/* Autor */
.page_issue .obj_article_summary .meta,
.page_issue .obj_article_summary .authors {
    font-family: 'Inter', Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #66788a !important;
}

/* Galleys */
.page_issue .obj_article_summary .galley_link {
    display: inline-block;
    margin-top: 8px;
    margin-right: 8px;
    border-radius: 999px !important;
    padding: 8px 16px !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page_issue .obj_article_summary .galley_link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.10);
}

/* Responsive */
@media (max-width: 991px) {
    .page_issue .issue-toc .heading {
        display: block;
    }

    .page_issue .issue-toc .cover {
        max-width: 220px;
        margin-bottom: 20px;
    }

    .page_issue .issue-toc .issue-details {
        max-width: 100%;
    }

    .page_issue .issue-toc .issue-details .description,
    .page_issue .issue-toc .issue-details .description p {
        max-width: 100%;
    }
}

/* =========================================================
   JOURNALSPRO – ISSUE PAGE FIX FINAL
   ========================================================= */

/* Cabecera del número */
.page_issue .issue-toc .heading {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    margin-bottom: 36px;
}

/* Portada */
.page_issue .issue-toc .cover {
    flex: 0 0 220px;
    max-width: 220px;
}

.page_issue .issue-toc .cover img,
.page_issue .issue-toc .thumbnail img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(10, 30, 50, 0.10);
}

/* Columna derecha */
.page_issue .issue-toc .issue-details {
    flex: 1 1 auto;
    max-width: 760px;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Descripción */
.page_issue .issue-toc .issue-details .description,
.page_issue .issue-toc .issue-details .description p {
    font-family: 'Inter', Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.85 !important;
    color: #2f4051 !important;
    text-align: left !important;
    letter-spacing: 0 !important;
    word-spacing: 0 !important;
    white-space: normal !important;
    max-width: 62ch;
    margin: 0 0 14px 0 !important;
}

/* Fecha / metadatos */
.page_issue .issue-toc .issue-details .published,
.page_issue .issue-toc .issue-details .pub_id {
    font-family: 'Inter', Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    color: #6f8091 !important;
    margin-top: 8px !important;
    margin-bottom: 0 !important;
}

/* Más aire entre intro y artículos */
.page_issue .issue-toc {
    margin-bottom: 40px;
}

/* Título del bloque de artículos */
.page_issue .sections h2,
.page_issue .current_issue h2,
.page_issue h2.title,
.page_issue .issue-toc + .sections h2 {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 28px !important;
    line-height: 1.2 !important;
    color: #17324f !important;
    margin-top: 8px !important;
    margin-bottom: 18px !important;
    border-bottom: 1px solid #e6ecf2;
    padding-bottom: 8px;
}

/* Lista de artículos */
.page_issue .sections .obj_article_summary,
.page_issue .current_issue .obj_article_summary {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e8edf2;
}

.page_issue .sections .obj_article_summary:last-child,
.page_issue .current_issue .obj_article_summary:last-child {
    border-bottom: 0;
}

/* Título de artículo */
.page_issue .obj_article_summary .title a {
    font-family: 'Inter', Arial, sans-serif !important;
    font-size: 18px !important;
    line-height: 1.5 !important;
    font-weight: 600 !important;
    color: #163a5f !important;
    text-decoration: none;
}

.page_issue .obj_article_summary .title a:hover {
    color: #0f2c45 !important;
    text-decoration: underline;
}

/* Autor */
.page_issue .obj_article_summary .meta,
.page_issue .obj_article_summary .authors {
    font-family: 'Inter', Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #66788a !important;
}

/* Galleys */
.page_issue .obj_article_summary .galley_link {
    display: inline-block;
    margin-top: 8px;
    margin-right: 8px;
    border-radius: 999px !important;
    padding: 8px 16px !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page_issue .obj_article_summary .galley_link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.10);
}

/* Responsive */
@media (max-width: 991px) {
    .page_issue .issue-toc .heading {
        display: block;
    }

    .page_issue .issue-toc .cover {
        max-width: 220px;
        margin-bottom: 20px;
    }

    .page_issue .issue-toc .issue-details {
        max-width: 100%;
    }

    .page_issue .issue-toc .issue-details .description,
    .page_issue .issue-toc .issue-details .description p {
        max-width: 100%;
    }
}

/* =========================================================
   ALIGN HEADER ELEMENTS – JOURNALSPRO
   ========================================================= */

/* Contenedor general consistente */
.pkp_structure_page {
    max-width: 1200px;
    margin: 0 auto;
}

/* Barra idioma */
.pkp_structure_head .pkp_top_bar {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Header (título revista) */
.pkp_structure_head .pkp_head_wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Navegación */
.pkp_navigation_primary_wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Opcional: alinear mejor el título */
.pkp_site_name {
    margin-left: 0 !important;
}

/* Opcional: alinear menú exactamente con título */
.pkp_navigation_primary {
    margin-left: 0 !important;
}

.pkp_structure_head .pkp_top_bar,
.pkp_structure_head .pkp_head_wrapper,
.pkp_navigation_primary_wrapper {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* =========================================================
   JOURNALSPRO – HEADER ALIGN FIX FINAL
   ========================================================= */

/* Misma caja maestra para topbar, branding y nav */
.jp-topbar .container,
.jp-brandbar .container,
.jp-navwrap .container {
    width: 100% !important;
    max-width: 1460px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 28px !important;
    padding-right: 28px !important;
    box-sizing: border-box !important;
}

/* Que el contenido interno no vuelva a agregar corrimientos */
.jp-topbar-inner,
.jp-brandbar-inner,
.jp-header-main {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Alinear exactamente el bloque del título */
.site-name,
.jp-brand-title,
.navbar-brand.jp-brand-title {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* Alinear exactamente el menú con el mismo borde izquierdo */
#nav-menu,
#main-navigation {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* Eliminar flotaciones/residuos bootstrap que empujan */
.navbar-header,
.site-name {
    float: none !important;
}

/* Que el buscador no empuje el menú hacia dentro */
.jp-search-wrap {
    margin-left: 18px !important;
    flex-shrink: 0;
}

/* Ajuste fino del topbar de idiomas */
.jp-topbar-left,
.jp-topbar-right {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Mobile */
@media (max-width: 767px) {
    .jp-topbar .container,
    .jp-brandbar .container,
    .jp-navwrap .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* Ajuste fino si el menú sigue corrido */
#nav-menu {
    justify-content: flex-start !important;
}

.jp-search-wrap {
    margin-left: auto !important;
}

/* =========================
   MOBILE FIX – OJS ANNOUNCEMENTS
   ========================= */
@media (max-width: 768px) {

    .cmp_announcements_list,
    .cmp_announcements,
    .page_index_journal .cmp_announcements_list {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .cmp_announcements_list > *,
    .cmp_announcements > *,
    .obj_announcement_summary {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 0 0 100% !important;
        box-sizing: border-box !important;
    }
}

/* =========================
   MOBILE FIX – JOURNALSPRO ANNOUNCEMENTS (REAL FIX)
   ========================= */
@media (max-width: 768px) {

    .jp-home-announcements-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .jp-home-announcement-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
}

/* =========================
   MOBILE FIX – FINAL OVERRIDE (NO NEGOCIABLE)
   ========================= */
@media (max-width: 768px) {

    .jp-home-announcements-grid {
        display: block !important;
    }

    .jp-home-announcements-grid > .jp-home-announcement-card {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        margin-bottom: 16px !important;
    }
}

/* =========================
   TEST BRUTO SIN MEDIA QUERY
   ========================= */
.jp-home-announcements-grid {
    display: block !important;
    width: 100% !important;
}

.jp-home-announcements-grid > .jp-home-announcement-card {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 16px 0 !important;
}

/* =========================
   MOBILE FIX FINAL – HOME GRID + ANNOUNCEMENTS
   ========================= */

@media (max-width: 991px) {
    .jp-home-grid {
        display: block !important;
        width: 100% !important;
    }

    .jp-home-grid > * {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 20px 0 !important;
    }

    .jp-home-lower {
        display: block !important;
        width: 100% !important;
    }

    .jp-home-lower > * {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 20px 0 !important;
    }

    .jp-home-announcements-grid {
        display: block !important;
        width: 100% !important;
    }

    .jp-home-announcements-grid > .jp-home-announcement-card {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 16px 0 !important;
    }
}

