/* ==========================================
   JOURNAL OF INNOVATIVE BIO-RESEARCH
   Emerald BioResearch OJS Theme
   ========================================== */

:root {
    --jibr-navy: #0a172b;
    --jibr-deep: #103e42;
    --jibr-green: #087c63;
    --jibr-mint: #2dd4ad;
    --jibr-bg: #f3f6f8;
    --jibr-ink: #163a38;
    --jibr-border: #dbe8e4;
}

/* Website Background */

body {
    background: var(--jibr-bg);
    color: #243b45;
    font-family: 'Segoe UI', Arial, sans-serif;
}

/* Main Header */

.pkp_structure_head {
    background: linear-gradient(
        115deg,
        #103e42 0%,
        #0a172b 57%,
        #18382f 100%
    );
    border-bottom: 3px solid #2dd4ad;
    box-shadow: 0 6px 24px rgba(10,23,43,.15);
}

/* Journal Title */

.pkp_site_name_wrapper {
    padding: 30px 20px 15px;
    text-align: center;
}

.pkp_site_name {
    margin: 0;
    text-align: center;
}

.pkp_site_name > a {
    color: #ffffff !important;
    font-size: clamp(24px, 3.2vw, 44px);
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    text-shadow: 0 3px 10px rgba(0,0,0,.20);
    display: inline-block;
    max-width: 100%;
}

.pkp_site_name img {
    max-width: 100%;
    max-height: 130px;
    height: auto;
    object-fit: contain;
}

/* Journal Tagline */

.pkp_site_name_wrapper::after {
    content: "ADVANCING BIOLOGICAL SCIENCES & INNOVATION";
    display: block;
    color: #5eead4;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 12px auto 0;
    line-height: 1.6;
}

/* Login and Register */

.pkp_navigation_user a {
    color: #ffffff !important;
}

.pkp_navigation_user a:hover {
    color: #2dd4ad !important;
}

/* Main Navigation Bar */

.pkp_navigation_primary_wrapper {
    background: #091426;
    border-bottom: 2px solid #2dd4ad;
    border-radius: 5px 5px 0 0;
}

.pkp_navigation_primary > li > a,
.pkp_site_nav_menu .pkp_search {
    color: #ffffff !important;
    font-weight: 650;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .5px;
}

.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus,
.pkp_navigation_primary > li:hover > a {
    background: #087c63 !important;
    color: #ffffff !important;
    border-color: transparent;
}

/* Dropdown Menu */

.pkp_navigation_primary ul,
.pkp_navigation_user ul {
    background: #ffffff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 12px 28px rgba(10,23,43,.20);
    z-index: 1000;
}

.pkp_navigation_primary ul a,
.pkp_navigation_user ul a {
    color: #163a38 !important;
}

.pkp_navigation_primary ul a:hover,
.pkp_navigation_user ul a:hover {
    background: #e5f7f0 !important;
    color: #087c63 !important;
}

.pkp_site_nav_toggle {
    color: #ffffff !important;
}

/* Main Content Area */

.pkp_structure_content {
    padding-top: 32px;
    padding-bottom: 40px;
}

.pkp_structure_main {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 22px rgba(10,23,43,.05);
    padding-bottom: 30px;
}

.pkp_structure_main::before,
.pkp_structure_main::after {
    background: transparent !important;
}

/* Headings and Paragraphs */

.pkp_structure_main h1,
.pkp_structure_main h2,
.pkp_structure_main h3 {
    color: #103e42;
    line-height: 1.35;
}

.pkp_structure_main p {
    line-height: 1.85;
}

.pkp_structure_main a {
    color: #087c63;
}

.pkp_structure_main a:hover {
    color: #045746;
}

/* Breadcrumbs */

.cmp_breadcrumbs {
    font-size: 13px;
}

.cmp_breadcrumbs a {
    color: #087c63;
}

/* Modern Article Cards */

.obj_article_summary {
    background: #ffffff;
    border: 1px solid #dbe8e4;
    border-left: 4px solid #087c63;
    border-radius: 8px;
    padding: 20px !important;
    margin: 0 0 16px !important;
    box-shadow: 0 3px 12px rgba(10,23,43,.05);
    transition: transform .2s, box-shadow .2s;
}

.obj_article_summary:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 24px rgba(10,23,43,.12);
}

.obj_article_summary .title a {
    font-weight: 750;
    color: #103e42;
}

.obj_article_summary .authors {
    color: #526b70;
}

/* PDF and Submission Buttons */

.obj_article_summary .galleys_links a,
.obj_galley_link,
.cmp_button,
.block_make_submission a {
    background: #087c63 !important;
    color: #ffffff !important;
    border: 1px solid #087c63 !important;
    border-radius: 6px !important;
    box-shadow: none !important;
}

.obj_galley_link:hover,
.cmp_button:hover,
.block_make_submission a:hover {
    background: #045746 !important;
}

/* Sidebar Blocks */

.pkp_block {
    background: #ffffff;
    border: 1px solid #dbe8e4;
    border-radius: 9px;
    margin-bottom: 18px;
    padding: 18px !important;
    box-shadow: 0 4px 15px rgba(10,23,43,.05);
}

.pkp_block .title {
    display: block;
    color: #103e42;
    font-weight: 750;
    border-bottom: 2px solid #2dd4ad;
    padding-bottom: 10px;
    margin-bottom: 12px;
}

.pkp_block a {
    color: #087c63;
}

/* ==========================================
   CUSTOM HOMEPAGE HTML STYLING
   ========================================== */

.jibr-home,
.jibr-home * {
    box-sizing: border-box;
}

.jibr-home {
    margin: 18px 0 30px;
}

/* About Journal Hero Section */

.jibr-hero {
    position: relative;
    overflow: hidden;
    padding: 32px;
    border: 1px solid #cbe8df;
    border-left: 5px solid #087c63;
    border-radius: 12px;
    background: linear-gradient(
        125deg,
        #e3f5ee,
        #f9fdfb
    );
    color: #163a38;
}

.jibr-eyebrow {
    font-size: 11px;
    letter-spacing: 1.7px;
    font-weight: 800;
    color: #087c63;
}

.jibr-hero h2 {
    font-size: clamp(23px, 3vw, 34px);
    margin: 10px 0 14px !important;
}

.jibr-hero p {
    max-width: 760px;
    margin: 0 0 16px !important;
}

/* Homepage Action Buttons */

.jibr-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.jibr-btn {
    display: inline-block;
    padding: 11px 18px;
    border-radius: 6px;
    background: #087c63;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 700;
    border: 1px solid #087c63;
}

.jibr-btn:hover {
    background: #045746;
    color: #ffffff !important;
}

.jibr-btn-outline {
    background: #ffffff;
    color: #087c63 !important;
}

/* Homepage Feature Cards */

.jibr-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(145px, 1fr)
    );
    gap: 12px;
    margin: 18px 0;
}

.jibr-card {
    padding: 20px 15px;
    background: #ffffff;
    border: 1px solid #dbe8e4;
    border-radius: 9px;
    box-shadow: 0 4px 12px rgba(10,23,43,.05);
    transition: transform .2s, box-shadow .2s;
}

.jibr-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(10,23,43,.12);
}

.jibr-card strong {
    display: block;
    color: #103e42;
    font-size: 15px;
    margin: 8px 0;
}

.jibr-card p {
    font-size: 13px;
    margin: 0 !important;
    line-height: 1.6 !important;
}

/* Feature Icons */

.jibr-icon {
    display: inline-grid;
    place-items: center;
    width: 35px;
    height: 35px;
    background: #e1f5ed;
    color: #087c63;
    border-radius: 8px;
    font-size: 19px;
}

/* Research Areas */

.jibr-scope {
    background: #ffffff;
    border: 1px solid #dbe8e4;
    border-radius: 10px;
    padding: 24px;
    margin-top: 18px;
}

.jibr-scope h3 {
    margin-top: 0 !important;
}

.jibr-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.jibr-tags span {
    padding: 7px 12px;
    background: #eaf7f2;
    color: #165c4c;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* ==========================================
   FOOTER DESIGN
   ========================================== */

.pkp_structure_footer_wrapper {
    background: linear-gradient(
        115deg,
        #0a172b,
        #103e42
    );
    border-top: 3px solid #2dd4ad;
    color: #e3f6f1;
}

.pkp_structure_footer {
    color: #e3f6f1;
}

.pkp_structure_footer a {
    color: #8df1da;
}

.pkp_brand_footer img {
    filter: brightness(0) invert(1);
    opacity: .85;
}

.jibr-footer {
    text-align: center;
    padding: 20px;
    line-height: 1.8;
}

.jibr-footer strong {
    color: #ffffff;
}

/* Accessibility */

a:focus-visible,
button:focus-visible {
    outline: 3px solid #2dd4ad;
    outline-offset: 3px;
}

/* Sticky Sidebar */

@media (min-width: 992px) {
    .pkp_structure_sidebar {
        position: sticky;
        top: 20px;
        align-self: flex-start;
    }
}

/* Tablet Responsive Design */

@media (max-width: 991px) {

    .pkp_site_name_wrapper {
        padding: 18px 48px 12px;
    }

    .pkp_site_name_wrapper::after {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .pkp_site_nav_menu {
        background: #0a172b;
    }

    .pkp_navigation_primary_wrapper {
        border-radius: 0;
    }

    .pkp_structure_main {
        border-radius: 0;
    }

    .jibr-hero {
        padding: 22px;
    }
}

/* Mobile Responsive Design */

@media (max-width: 480px) {

    .jibr-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .jibr-card {
        padding: 13px 10px;
    }

    .jibr-actions a {
        width: 100%;
        text-align: center;
    }

    .jibr-hero,
    .jibr-scope {
        padding: 17px;
    }

    .pkp_structure_content {
        padding-top: 15px;
    }

    .obj_article_summary {
        padding: 14px !important;
    }
}

@media (prefers-reduced-motion: reduce) {

    .jibr-card,
    .obj_article_summary {
        transition: none;
    }

    .jibr-card:hover,
    .obj_article_summary:hover {
        transform: none;
    }
}
/* ==========================================
   JIBR HEADER & NAVIGATION FIX
   ========================================== */

/* Remove Default Blue Background */

.pkp_structure_head,
.pkp_head_wrapper,
.pkp_site_name_wrapper {
    background: linear-gradient(
        110deg,
        #103e42 0%,
        #0a172b 55%,
        #18382f 100%
    ) !important;
}

/* Full Width Navigation Background */

.pkp_site_nav_menu,
.pkp_navigation_primary_row,
.pkp_navigation_primary_wrapper {
    background: #0a172b !important;
    border: none !important;
    box-shadow: none !important;
}

/* Fix Blue Space on Both Sides */

.pkp_navigation_primary_row {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Header Main Wrapper */

.pkp_head_wrapper {
    padding-bottom: 0 !important;
}

/* Improve Journal Title */

.pkp_site_name_wrapper {
    padding: 35px 20px 20px !important;
    text-align: center !important;
}

.pkp_site_name {
    text-align: center !important;
    margin: 0 auto !important;
}

.pkp_site_name a,
.pkp_site_name .is_text {
    font-family: Arial, sans-serif !important;
    font-size: clamp(24px, 3vw, 44px) !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    line-height: 1.3 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
}

/* Journal Tagline */

.pkp_site_name_wrapper::after {
    color: #2dd4ad !important;
    font-size: 12px !important;
    letter-spacing: 2px !important;
    margin-top: 12px !important;
}

/* Center Navigation Menu */

@media (min-width: 992px) {

    .pkp_navigation_primary_wrapper {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 1200px !important;
        margin: 0 auto !important;
    }

    .pkp_navigation_primary {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        float: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .pkp_navigation_primary > li {
        float: none !important;
        margin: 0 5px !important;
    }

    .pkp_site_nav_menu .pkp_search {
        position: relative !important;
        float: none !important;
        margin-left: 20px !important;
    }
}

/* Navigation Links */

.pkp_navigation_primary > li > a {
    padding: 16px 20px !important;
    margin: 0 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    border: none !important;
    transition: background .25s, color .25s;
}

/* Navigation Hover Effect */

.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus {
    background: #087c63 !important;
    color: #ffffff !important;
}

/* Dropdown Menu */

.pkp_navigation_primary ul {
    background: #ffffff !important;
    border-top: 3px solid #2dd4ad !important;
    border-radius: 0 0 8px 8px !important;
    box-shadow: 0 8px 25px rgba(0,0,0,.15);
    z-index: 9999 !important;
}

.pkp_navigation_primary ul li a {
    color: #103e42 !important;
    padding: 12px 18px !important;
}

.pkp_navigation_primary ul li a:hover {
    background: #e1f5ed !important;
    color: #087c63 !important;
}

/* Header Bottom Border */

.pkp_structure_head {
    border-bottom: 3px solid #2dd4ad !important;
}

/* Remove Extra Space Below Header */

.pkp_structure_content {
    padding-top: 25px !important;
    margin-top: 0 !important;
}

/* Login and Register */

.pkp_navigation_user {
    background: transparent !important;
}

.pkp_navigation_user > li > a {
    color: #ffffff !important;
}

/* Mobile Responsive Header */

@media (max-width: 991px) {

    .pkp_site_name_wrapper {
        padding: 24px 45px 18px !important;
    }

    .pkp_site_name a,
    .pkp_site_name .is_text {
        font-size: 25px !important;
    }

    .pkp_site_name_wrapper::after {
        font-size: 9px !important;
        letter-spacing: 1px !important;
    }

    .pkp_site_nav_menu {
        background: #0a172b !important;
    }

    .pkp_navigation_primary > li > a {
        padding: 12px 15px !important;
    }

    .pkp_site_nav_toggle {
        color: #ffffff !important;
    }

    .pkp_structure_content {
        padding-top: 15px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pkp_navigation_primary > li > a {
        transition: none !important;
    }
}
/* ==========================================
   JIBR - PROFESSIONAL SIDEBAR DESIGN
   ========================================== */

.jibr-sidebar {
    --sb-dark: #103e42;
    --sb-navy: #0a172b;
    --sb-green: #087c63;
    --sb-mint: #2dd4ad;
    --sb-light: #e5f5ef;
    --sb-border: #dbe8e4;

    width: 100%;
    font-family: Arial, sans-serif;
}

.jibr-sidebar * {
    box-sizing: border-box;
}

/* Sidebar Main Width */

.pkp_structure_sidebar {
    padding: 0 12px;
}

/* Custom Sidebar Block */

.pkp_block:has(.jibr-sidebar) {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

/* Sidebar Cards */

.jibr-sb-card {
    background: #ffffff;
    border: 1px solid #dbe8e4;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 18px;
    box-shadow: 0 5px 18px rgba(10,23,43,.07);
    transition: box-shadow .3s ease;
}

.jibr-sb-card:hover {
    box-shadow: 0 8px 25px rgba(10,23,43,.13);
}

/* Sidebar Heading */

.jibr-sb-heading {
    background: linear-gradient(
        120deg,
        #103e42,
        #0a172b
    );
    padding: 14px 15px;
    border-bottom: 3px solid #2dd4ad;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 !important;
}

/* Journal Information Rows */

.jibr-info-body {
    padding: 5px 13px;
}

.jibr-info-row {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 0;
    border-bottom: 1px solid #e6eeeb;
}

.jibr-info-row:last-child {
    border-bottom: none;
}

/* Information Icons */

.jibr-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    min-width: 34px;
    height: 34px;
    background: #e5f5ef;
    color: #087c63;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 700;
    transition: .3s ease;
}

.jibr-info-row:hover .jibr-info-icon {
    background: #087c63;
    color: #ffffff;
}

/* Journal Information Text */

.jibr-info-text {
    flex: 1;
    min-width: 0;
}

.jibr-info-label {
    display: block;
    font-size: 11px;
    color: #667b78;
    margin-bottom: 3px;
    font-weight: 500;
}

.jibr-info-value {
    display: block;
    font-size: 13px;
    color: #103e42;
    font-weight: 700;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.jibr-info-value a {
    color: #087c63 !important;
    text-decoration: none;
}

/* Submission Card */

.jibr-submit-card {
    background: linear-gradient(
        145deg,
        #087c63,
        #103e42
    );
    text-align: center;
    padding: 24px 15px;
    margin-bottom: 18px;
    border-radius: 10px;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(8,124,99,.18);
}

.jibr-submit-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
}

.jibr-submit-card h3 {
    color: #ffffff !important;
    font-size: 19px !important;
    margin: 8px 0 !important;
}

.jibr-submit-card p {
    font-size: 13px;
    color: #d7f5ec;
    line-height: 1.7;
    margin: 10px 0 17px;
}

/* Submission Button */

.jibr-submit-btn {
    display: block;
    background: #ffffff;
    padding: 12px 8px;
    border-radius: 6px;
    color: #087c63 !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 800;
    transition: .3s ease;
}

.jibr-submit-btn:hover {
    background: #2dd4ad;
    color: #0a172b !important;
    transform: translateY(-2px);
}

/* Quick Links */

.jibr-quick-links {
    padding: 5px 12px;
}

.jibr-quick-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 6px;
    border-bottom: 1px solid #e5eeeb;
    color: #103e42 !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
    transition: .25s ease;
}

.jibr-quick-links a:last-child {
    border-bottom: none;
}

.jibr-quick-links a::before {
    content: "\203A";
    color: #087c63;
    font-size: 20px;
}

.jibr-quick-links a::after {
    content: "\2197";
    margin-left: auto;
    font-size: 12px;
    color: #087c63;
}

.jibr-quick-links a:hover {
    background: #e5f5ef;
    padding-left: 12px;
    color: #087c63 !important;
    border-radius: 5px;
}

/* Open Access Section */

.jibr-oa-card {
    padding: 20px 15px;
    text-align: center;
    background: linear-gradient(
        145deg,
        #e5f5ef,
        #ffffff
    );
    border: 1px solid #cce5df;
    border-radius: 10px;
    margin-bottom: 18px;
}

.jibr-oa-icon {
    color: #087c63;
    font-size: 36px;
    display: block;
    margin-bottom: 8px;
}

.jibr-oa-card h3 {
    font-size: 18px !important;
    color: #103e42 !important;
    margin: 8px 0 !important;
}

.jibr-oa-card p {
    color: #426963;
    font-size: 13px;
    line-height: 1.7;
}

.jibr-oa-card a {
    color: #087c63 !important;
    font-weight: 700;
    text-decoration: none;
}

/* Creative Commons License */

.jibr-cc-license {
    display: block;
    padding: 14px 0 5px;
    margin-top: 12px;
    border-top: 1px solid #cce5df;
}

.jibr-cc-license img {
    max-width: 100px;
    height: auto;
    display: block;
    margin: 0 auto 10px;
}

/* Contact Card */

.jibr-contact-body {
    padding: 15px;
    font-size: 13px;
    line-height: 1.8;
    color: #426963;
}

.jibr-contact-body a {
    color: #087c63 !important;
    font-weight: 700;
    overflow-wrap: anywhere;
}

/* Keyboard Accessibility */

.jibr-sidebar a:focus-visible {
    outline: 2px solid #087c63;
    outline-offset: 3px;
}

/* Sticky Sidebar - Desktop */

@media (min-width: 992px) {
    .pkp_structure_sidebar {
        position: sticky;
        top: 20px;
        align-self: flex-start;
    }
}

/* Responsive Sidebar */

@media (max-width: 991px) {
    .pkp_structure_sidebar {
        position: static !important;
        padding: 12px !important;
    }

    .jibr-sidebar {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .jibr-info-value {
        font-size: 13px;
    }

    .jibr-sb-heading {
        font-size: 14px;
    }

    .jibr-submit-card {
        padding: 20px 12px;
    }
}

/* Reduced Motion Accessibility */

@media (prefers-reduced-motion: reduce) {
    .jibr-sidebar * {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
}
/* =====================================
   JIBR - FIXED STICKY SIDEBAR
   ===================================== */

/* Desktop Sticky Sidebar */

@media (min-width: 992px) {

    .pkp_structure_sidebar {
        position: sticky !important;
        top: 15px !important;
        align-self: flex-start !important;

        height: calc(100vh - 30px) !important;
        max-height: calc(100vh - 30px) !important;

        overflow-y: auto !important;
        overflow-x: hidden !important;

        scrollbar-width: thin;
        scrollbar-color: #087c63 transparent;

        z-index: 10 !important;
    }

    /* Smooth sidebar scrolling */

    .pkp_structure_sidebar::-webkit-scrollbar {
        width: 5px;
    }

    .pkp_structure_sidebar::-webkit-scrollbar-thumb {
        background: #087c63;
        border-radius: 10px;
    }

    .pkp_structure_sidebar::-webkit-scrollbar-track {
        background: transparent;
    }

    /* Allow sticky positioning */

    .pkp_structure_content {
        overflow: visible !important;
        align-items: flex-start !important;
    }

    .pkp_structure_main {
        align-self: flex-start !important;
    }

}

/* Mobile and Tablet */

@media (max-width: 991px) {

    .pkp_structure_sidebar {
        position: static !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

}