/* JGEOR - About the Journal feature cards */

.jgeor-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 32px 0 10px;
}

.jgeor-feature-card {
    background: #ffffff;
    border: 1px solid #dfe8e4;
    border-radius: 12px;
    padding: 26px 20px;
    text-align: center;
    box-shadow: 0 5px 18px rgba(11, 61, 79, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.jgeor-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 26px rgba(11, 61, 79, 0.14);
}

.jgeor-feature-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #2F7D69;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.jgeor-feature-card h3 {
    color: #0B3D4F;
    font-size: 19px;
    margin: 0 0 8px;
}

.jgeor-feature-card p {
    color: #56646a;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Mobile */
@media (max-width: 768px) {
    .jgeor-feature-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================================================
   JGEOR HEADER & NAVIGATION
   ================================================== */

/* Header */
.pkp_structure_head {
    background: #0b3d4f;
    border-bottom: none;
}

/* Logo area */
.pkp_site_name {
    padding-top: 18px;
    padding-bottom: 10px;
}

.pkp_site_name .is_img img {
    max-height: 90px;
    width: auto;
}

/* Primary navigation */
.pkp_navigation_primary {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pkp_navigation_primary > li > a {
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    padding: 11px 13px;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease;
}

.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus {
    background: rgba(255,255,255,0.12);
    color: #ffffff;
}

/* Submit Manuscript — last menu item */
.pkp_navigation_primary > li:last-child > a {
    background: #2f7d69;
    color: #ffffff;
    padding: 10px 17px;
    margin-left: 8px;
    border-radius: 7px;
    font-weight: 700;
}

.pkp_navigation_primary > li:last-child > a:hover {
    background: #276957;
    color: #ffffff;
}

/* Search */
.pkp_navigation_search_wrapper a {
    color: #ffffff;
}

/* Main content width */
.pkp_structure_main {
    max-width: 1180px;
}

/* ==================================================
   JGEOR HIGHLIGHTS
   ================================================== */

.pkp_block.block_highlights,
.cmp_highlights {
    border-radius: 10px;
    overflow: hidden;
}

.cmp_highlights .highlight {
    background: #f3f7f5;
    padding: 24px 32px;
}

.cmp_highlights h2,
.cmp_highlights h3 {
    color: #0b3d4f;
    font-weight: 700;
}

/* Buttons inside highlights */
.cmp_highlights a {
    font-weight: 600;
}

.cmp_highlights a[class*="button"],
.cmp_highlights .read_more {
    display: inline-block;
    background: #2f7d69;
    color: #ffffff !important;
    padding: 9px 15px;
    border-radius: 6px;
    text-decoration: none;
}

/* ==================================================
   GENERAL
   ================================================== */

a {
    transition: color 0.2s ease, background 0.2s ease;
}

h1, h2, h3 {
    color: #0b3d4f;
}

/* Mobile */
@media (max-width: 768px) {

    .pkp_site_name .is_img img {
        max-height: 65px;
    }

    .pkp_navigation_primary {
        display: block;
    }

    .pkp_navigation_primary > li:last-child > a {
        margin-left: 0;
    }
}

/* ==================================================
   JGEOR UNIFIED HEADER COLOR
   ================================================== */

.pkp_structure_head,
.pkp_site_name_wrapper,
.pkp_head_wrapper,
.pkp_navigation_primary_wrapper {
    background: #2a6f9e !important;
}

/* JGEOR - Align Search with primary navigation */

.pkp_navigation_primary_wrapper {
    display: flex !important;
    align-items: center !important;
}

.pkp_navigation_primary {
    flex: 1;
    margin: 0 !important;
}

.pkp_navigation_search_wrapper {
    margin-left: auto !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    align-self: center !important;
}

.pkp_navigation_search_wrapper a {
    display: flex !important;
    align-items: center !important;
    height: 46px;
    padding: 0 15px !important;
    line-height: 1 !important;
}

/* =========================================================
   JGEOR — EDITORIAL BOARD / ROW LAYOUT
   Square photo → name → academic details → journal role
   ========================================================= */

.jgeor-editorial {
    max-width: 1180px;
    margin: 0 auto;
    padding: 25px 10px 70px;
}

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

.jgeor-editorial-header {
    max-width: 860px;
    margin: 0 auto 52px;
    text-align: center;
}

.jgeor-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #2f7d69;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.2px;
    text-transform: uppercase;
}

.jgeor-editorial-header h1 {
    margin: 0 0 16px;
    color: #0b3d4f;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
}

.jgeor-editorial-header p {
    max-width: 780px;
    margin: 0 auto;
    color: #607078;
    font-size: 16px;
    line-height: 1.75;
}

/* =========================
   SECTION HEADINGS
   ========================= */

.jgeor-editorial-section {
    margin-top: 38px;
}

.jgeor-editorial-section + .jgeor-editorial-section {
    margin-top: 58px;
}

.jgeor-section-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 0;
    padding-bottom: 13px;
    border-bottom: 2px solid #2f7d69;
}

.jgeor-section-heading h2 {
    margin: 0;
    color: #0b3d4f;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.3;
}

/* Hide any legacy decorative span if it still exists in old HTML */
.jgeor-section-heading > span {
    display: none;
}

/* =========================
   EDITORIAL ROWS
   ========================= */

.jgeor-editorial-row {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 94px minmax(180px, 1.05fr) minmax(260px, 1.65fr) minmax(170px, 0.9fr);
    align-items: center;
    gap: 24px;
    min-height: 122px;
    padding: 19px 10px;
    margin: 0;
    background: #ffffff;
    border: 0;
    border-bottom: 1px solid #dfe8e4;
    border-radius: 0;
    box-shadow: none;
    text-align: left;
    transition: background-color 0.2s ease;
}

.jgeor-editorial-row:hover {
    background: #f7faf9;
}

/* =========================
   SQUARE PHOTOS
   ========================= */

.jgeor-editorial-photo {
    width: 82px;
    height: 82px;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid #d4e0dc;
    border-radius: 5px;
    background: #eef3f1;
}

.jgeor-editorial-photo img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    object-fit: cover;
    object-position: center top;
}

/* =========================
   NAME
   ========================= */

.jgeor-editorial-name {
    min-width: 0;
}

.jgeor-editorial-name h3 {
    margin: 0;
    color: #0b3d4f;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

/* =========================
   ACADEMIC DETAILS
   ========================= */

.jgeor-editorial-academic {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.jgeor-editorial-academic strong {
    color: #34454b;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.jgeor-editorial-academic span {
    color: #5d6c72;
    font-size: 13.5px;
    line-height: 1.5;
}

.jgeor-editorial-academic span:empty {
    display: none;
}

.jgeor-editorial-academic small {
    color: #829096;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.4;
}

/* =========================
   JOURNAL ROLE
   ========================= */

.jgeor-editorial-role {
    min-width: 0;
    text-align: right;
}

.jgeor-editorial-role span {
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
    padding: 7px 12px;
    border: 1px solid #cfe2db;
    border-radius: 5px;
    background: #eef6f3;
    color: #2f6f5d;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
}

.jgeor-editorial-role .jgeor-role-primary {
    border-color: #0b3d4f;
    background: #0b3d4f;
    color: #ffffff;
}

/* =========================
   EDITORIAL NOTE
   ========================= */

.jgeor-editorial-note {
    max-width: 900px;
    margin: 55px auto 0;
    padding: 17px 21px;
    border-left: 4px solid #2f7d69;
    background: #f4f8f6;
    color: #53636a;
    font-size: 13.5px;
    line-height: 1.65;
}

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

@media (max-width: 920px) {

    .jgeor-editorial-row {
        grid-template-columns: 82px minmax(150px, 1fr) minmax(220px, 1.4fr);
        gap: 18px;
        min-height: 112px;
        padding: 17px 8px;
    }

    .jgeor-editorial-photo {
        width: 72px;
        height: 72px;
    }

    .jgeor-editorial-role {
        grid-column: 2 / 4;
        text-align: left;
        margin-top: -5px;
    }
}

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

@media (max-width: 620px) {

    .jgeor-editorial {
        padding: 15px 4px 55px;
    }

    .jgeor-editorial-header {
        margin-bottom: 38px;
    }

    .jgeor-editorial-header h1 {
        font-size: 31px;
    }

    .jgeor-editorial-header p {
        font-size: 15px;
    }

    .jgeor-editorial-section + .jgeor-editorial-section {
        margin-top: 45px;
    }

    .jgeor-section-heading h2 {
        font-size: 21px;
    }

    .jgeor-editorial-row {
        grid-template-columns: 72px minmax(0, 1fr);
        align-items: start;
        gap: 8px 14px;
        min-height: 0;
        padding: 17px 4px;
    }

    .jgeor-editorial-photo {
        grid-column: 1;
        grid-row: 1 / 4;
        width: 66px;
        height: 66px;
    }

    .jgeor-editorial-name,
    .jgeor-editorial-academic,
    .jgeor-editorial-role {
        grid-column: 2;
    }

    .jgeor-editorial-name h3 {
        font-size: 17px;
    }

    .jgeor-editorial-academic {
        gap: 2px;
    }

    .jgeor-editorial-academic strong,
    .jgeor-editorial-academic span {
        font-size: 13px;
    }

    .jgeor-editorial-academic small {
        font-size: 12px;
    }

    .jgeor-editorial-role {
        margin-top: 4px;
        text-align: left;
    }

    .jgeor-editorial-role span {
        padding: 6px 10px;
        font-size: 11px;
    }
}

/* JGEOR Indexing & Archiving Sidebar */

.jgeor-indexing-block {
    text-align: center;
    padding: 18px 12px;
}

.jgeor-indexing-block h3 {
    color: #0b3d4f;
    font-size: 16px;
    margin: 0 0 18px;
}

.jgeor-indexing-block a {
    display: block;
    margin: 12px auto;
}

.jgeor-indexing-block img {
    max-width: 150px;
    max-height: 65px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform .2s ease, opacity .2s ease;
}

.jgeor-indexing-block img:hover {
    transform: scale(1.04);
    opacity: .85;
}

/* =========================================================
   JGEOR — PROFESSIONAL FOOTER
   Matches the journal's blue/green visual identity
   ========================================================= */

.jgeor-footer {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 50px;
    box-sizing: border-box;
    background: #eaf3f7;
    color: #26343b;
    padding: 44px 5.5% 0;
}

.jgeor-footer-top {
    max-width: 1800px;
    margin: 0 auto;
    padding-bottom: 36px;
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(180px, 1fr) minmax(180px, 1fr);
    gap: 68px;
    align-items: start;
}

/* Left column */

.jgeor-footer-about {
    max-width: 760px;
    font-size: 16px;
    line-height: 1.75;
}

.jgeor-footer-about p {
    margin: 0 0 12px;
}

.jgeor-footer-about strong {
    color: #0b3d4f;
}

.jgeor-footer-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 270px;
    max-height: 100px;
    margin: 0 0 22px;
    object-fit: contain;
    object-position: left center;
}

.jgeor-footer-about a {
    color: #2a6f9e !important;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.jgeor-footer-about a:hover,
.jgeor-footer-about a:focus {
    color: #0b3d4f !important;
}

/* Menu columns */

.jgeor-footer-menu {
    display: flex;
    flex-direction: column;
    gap: 21px;
    padding-top: 8px;
}

.jgeor-footer-menu a {
    color: #0b3d4f !important;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 700;
    text-decoration: none !important;
}

.jgeor-footer-menu a:hover,
.jgeor-footer-menu a:focus {
    color: #2f7d69 !important;
}

/* Bottom bar */

.jgeor-footer-bottom {
    max-width: 1800px;
    min-height: 84px;
    margin: 0 auto;
    border-top: 1px solid #b8ccd4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.jgeor-footer-copy {
    color: #40525a;
    font-size: 15px;
    line-height: 1.5;
}

/* Social icons */

.jgeor-social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 13px;
}

.jgeor-social a {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 50%;
    background: #2a6f9e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(11, 61, 79, 0.10);
    text-decoration: none !important;
    transition:
        transform 0.20s ease,
        background-color 0.20s ease,
        box-shadow 0.20s ease;
}

.jgeor-social a:nth-child(even) {
    background: #2f7d69;
}

.jgeor-social a:hover,
.jgeor-social a:focus {
    background: #0b3d4f;
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(11, 61, 79, 0.16);
}

.jgeor-social img {
    display: block !important;
    width: 21px !important;
    height: 21px !important;
    max-width: 21px !important;
    max-height: 21px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    object-fit: contain;
}

/* Tablet */

@media (max-width: 1000px) {
    .jgeor-footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 38px 50px;
    }

    .jgeor-footer-about {
        grid-column: 1 / -1;
        max-width: none;
    }
}

/* Mobile */

@media (max-width: 650px) {
    .jgeor-footer {
        padding: 34px 24px 0;
    }

    .jgeor-footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .jgeor-footer-about {
        grid-column: auto;
    }

    .jgeor-footer-logo {
        max-width: 230px;
    }

    .jgeor-footer-menu {
        gap: 15px;
        padding-top: 0;
    }

    .jgeor-footer-bottom {
        padding: 22px 0 25px;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .jgeor-social {
        justify-content: center;
    }
}

/* =========================================================
   HIDE DEFAULT OJS / PKP BRANDING
   ========================================================= */

.pkp_brand_footer {
    display: none !important;
}

/* =========================================================
   SOCIAL SVG SUPPORT
   Used for inline LinkedIn SVG icon
   ========================================================= */

.jgeor-social svg {
    display: block !important;
    width: 21px !important;
    height: 21px !important;
    fill: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* =========================================================
   JGEOR — FINAL WIDE JOURNAL HEADER BANNER
   IMPORTANT: placed at the end so it overrides earlier logo
   height restrictions.
   ========================================================= */

/* Allow the header image area to use the available width */
.pkp_site_name_wrapper {
    width: 100% !important;
}

.pkp_site_name {
    width: 100% !important;
    max-width: 1180px !important;
    box-sizing: border-box !important;
    padding-top: 20px !important;
    padding-bottom: 18px !important;
}

/* Full-width responsive banner */
.pkp_site_name .is_img {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
}

.pkp_site_name .is_img img {
    display: block !important;
    width: 100% !important;
    max-width: 1100px !important;
    max-height: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: left center !important;
}

/* Tablet */
@media (max-width: 1200px) {
    .pkp_site_name {
        max-width: calc(100% - 48px) !important;
    }

    .pkp_site_name .is_img img {
        width: 100% !important;
        max-width: 100% !important;
        max-height: none !important;
        height: auto !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .pkp_site_name {
        max-width: calc(100% - 28px) !important;
        padding-top: 14px !important;
        padding-bottom: 12px !important;
    }

    .pkp_site_name .is_img img {
        width: 100% !important;
        max-width: 100% !important;
        max-height: none !important;
        height: auto !important;
    }
}
