@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

/* =====================================================
 * Cendikia Teal Theme — index.css
 * Clean separation: Desktop | Mobile
 * ===================================================== */

:root {
    --primary:       #00667c;
    --primary-dark:  #004d5d;
    --primary-light: #e6f0f2;
    --white:         #ffffff;
    --bg:            #f8f9fa;
    --text:          #333333;
    --border:        #eeeeee;
    --radius:        4px;
    --shadow:        0 4px 15px rgba(0,0,0,0.06);
}

/* ----- Global ----- */
html, body { 
    margin: 0; 
    padding: 0; 
    font-family: 'Inter', sans-serif; 
    overflow-x: hidden; 
    width: 100%; 
}
* { box-sizing:border-box; }
a { color:var(--primary); text-decoration:none; }
img { max-width:100%; height:auto; }

/* ----- DESKTOP: Header ----- */
.pkp_structure_head {
    background: var(--white);
    padding: 25px 0;
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 1010; /* Higher than sticky nav (1000) to allow dropdowns to overlap */
}

.pkp_head_wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ----- Desktop: hide mobile-only elements ----- */
.noble_mobile_row_lower,
.noble_mobile_toggle,
.noble_mobile_issn,
.noble_mobile_user_menu,
.noble_drawer_logo,
.noble_mobile_search { display: none !important; }

/* Logo left, user+search right */
.pkp_site_name_wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pkp_site_name img { 
    max-width: 200px; 
    transition: filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.noble_header_right {
    display: flex;
    align-items: center;
    gap: 25px;
}
@media (max-width: 991px) {
    .noble_header_right { display: none !important; }
}

/* Search box */
.noble_header_search form {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 30px;
    padding: 2px 6px 2px 15px;
    background: #f9f9f9;
    transition: all 0.3s;
}
.noble_header_search form:focus-within {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 102, 124, 0.1);
}
.noble_header_search input {
    border: none; background: transparent;
    padding: 10px 0;
    width: 170px; outline: none; font-size:0.85rem;
}
.noble_header_search button {
    border: none; 
    background: transparent;
    color: var(--primary); 
    cursor: pointer; 
    font-size: 1rem;
    padding: 10px 12px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.noble_header_search button:hover {
    background: rgba(0, 102, 124, 0.1);
}

/* ==========================================================================
   DESKTOP USER MENU & DROPDOWN
   ========================================================================== */
@media (min-width: 992px) {
    .noble_header_user {
        display: flex !important;
        align-items: center;
        position: relative;
        z-index: 1010;
    }
    #navigationUser {
        display: flex !important; list-style: none !important; margin:0; padding:0; gap:8px;
    }
    #navigationUser > li {
        position: relative;
    }

    /* Base Pill Style for Top Level Links */
    #navigationUser > li > a {
        display: block !important;
        padding: 8px 22px !important; border-radius: 50px !important;
        font-size: 0.82rem; font-weight: 600;
        transition: all .25s;
        white-space: nowrap;
        border: 1px solid var(--primary) !important;
        color: var(--primary) !important;
        background: transparent !important;
    }

    /* Fill the last item (Profile or Login) */
    #navigationUser > li:last-child > a,
    #navigationUser > li > a[href*="register"] {
        background: var(--primary) !important;
        color: var(--white) !important;
        border: none !important;
    }

    #navigationUser > li:last-child > a:hover,
    #navigationUser > li > a[href*="register"]:hover {
        background: var(--primary-dark) !important;
        box-shadow: 0 4px 10px rgba(0, 102, 124, 0.2);
    }

    /* Dropdown Container (Using Padding as Bridge) */
    #navigationUser ul {
        display: none !important;
        position: absolute;
        top: 100%;
        right: 0;
        min-width: 200px;
        z-index: 10000;
        padding: 12px 0 0 !important; /* The bridge */
        margin: 0 !important;
        list-style: none !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    /* The actual white box */
    #navigationUser ul::before {
        content: '';
        position: absolute;
        top: 12px; left: 0; right: 0; bottom: 0;
        background: #ffffff;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        border-radius: 8px;
        border: 1px solid #eee;
        z-index: -1;
    }

    #navigationUser li:hover > ul {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    #navigationUser ul li {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    #navigationUser ul a {
        display: block !important;
        padding: 12px 20px !important;
        color: #444 !important;
        font-size: 0.9rem !important;
        font-weight: 500 !important;
        text-align: left !important;
        border: none !important;
        border-radius: 0 !important;
        background: transparent !important;
    }
    #navigationUser ul a:hover {
        background: #f8f9fa !important;
        color: var(--primary) !important;
    }

    /* Special Logout Button */
    #navigationUser a[href*="signOut"] {
        border: 1.5px solid var(--primary) !important;
        color: var(--primary) !important;
        margin: 10px 15px 5px !important;
        text-align: center !important;
        border-radius: 6px !important;
        font-weight: 700 !important;
    }
    #navigationUser a[href*="signOut"]:hover {
        background: var(--primary) !important;
        color: #ffffff !important;
    }
}

/* Bridge to prevent losing hover between parent and dropdown */
.noble_header_user .pkp_navigation_user li::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
    display: none;
}
.noble_header_user .pkp_navigation_user li:hover::after {
    display: block;
}

/* Arrow for dropdown */
.noble_header_user .pkp_navigation_user ul::after {
    content: '';
    position: absolute;
    bottom: calc(100% - 12px);
    right: 20px;
    border: 8px solid transparent;
    border-bottom-color: var(--white);
}

.noble_header_user .pkp_navigation_user li:hover > ul {
    display: block !important;
}

.noble_header_user .pkp_navigation_user ul li {
    width: 100%;
}

.noble_header_user .pkp_navigation_user ul a {
    padding: 10px 20px;
    border: none !important;
    border-radius: 0 !important;
    font-weight: 500;
    color: var(--text) !important;
    background: transparent !important;
    text-align: left;
    font-size: 0.85rem;
}

.noble_header_user .pkp_navigation_user ul a:hover {
    background: var(--primary-light) !important;
    color: var(--primary) !important;
}

/* ----- DESKTOP: Nav bar (sticky) ----- */
.noble_main_nav_bar {
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.noble_container {
    max-width: 1200px; margin: 0 auto;
    padding: 0 20px;
    display: flex; align-items: center; justify-content: space-between;
}

.pkp_navigation_primary {
    display: flex !important; list-style:none; margin:0; padding:0;
}
.pkp_navigation_primary > li {
    position: relative;
}
.pkp_navigation_primary > li > a {
    display: block;
    color: var(--white) !important;
    padding: 17px 22px !important;
    font-weight: 600; font-size: 0.82rem;
    text-transform: uppercase; letter-spacing:.4px;
    position: relative; z-index: 1;
}
/* Sweep-to-right hover */
.pkp_navigation_primary > li > a::before {
    content:''; position:absolute;
    top:0; left:0; width:0; height:100%;
    background: var(--primary-dark);
    z-index:-1; transition: width .3s ease;
}
.pkp_navigation_primary > li > a:hover::before { width:100%; }

/* ----- Primary Navigation Dropdown (Desktop) ----- */
.pkp_navigation_primary ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    z-index: 10000;
    margin: 0;
    padding: 10px 0;
    list-style: none;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 4px;
    border: 1px solid #eee;
}
.pkp_navigation_primary li:hover > ul,
.pkp_navigation_primary li:focus-within > ul {
    display: block;
}
.pkp_navigation_primary ul li {
    width: 100%;
}
.pkp_navigation_primary ul a {
    display: block;
    padding: 12px 20px;
    color: var(--text) !important;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    text-align: left;
    transition: all 0.2s;
}
.pkp_navigation_primary ul a:hover {
    background: var(--primary-light);
    color: var(--primary) !important;
}
/* Bridge to prevent hover loss */
.pkp_navigation_primary > li::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
    display: none;
}
.pkp_navigation_primary > li:hover::after {
    display: block;
}

/* ISSN in nav bar (desktop only) */
.noble_nav_right { display:flex; align-items:center; gap: 15px; }
.noble_nav_issn {
    color: rgba(255,255,255,.85);
    font-size: 0.78rem; font-weight:600;
}
.noble_nav_issn a,
.noble_mobile_issn a,
.issn_row a {
    color: inherit !important;
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}
.noble_nav_issn a:hover,
.noble_mobile_issn a:hover,
.issn_row a:hover {
    color: #ffffff !important;
    text-decoration: underline;
    opacity: 1;
}

/* ----- DESKTOP: Hide mobile-only elements ----- */
.noble_mobile_row_lower,
.noble_mobile_toggle,
.noble_mobile_issn,
.noble_mobile_user_menu { display: none !important; }

/* ----- DESKTOP: Content grid ----- */

.pkp_structure_content {
    display: flex; gap:30px;
    max-width: 1200px; margin:10px auto; padding:0 20px;
}
.pkp_structure_main    { flex:3; min-width:0; }
.pkp_structure_sidebar { flex:1; min-width:280px; }



/* ----- Article cards ----- */
.obj_article_summary {
    background: var(--white); padding:25px;
    margin-bottom:20px; border-left:5px solid transparent;
    box-shadow: var(--shadow);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.obj_article_summary:hover {
    border-left-color: var(--primary);
    transform: translateX(3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* ----- Sidebar widgets ----- */
.pkp_block {
    background: var(--white); margin-bottom:25px;
    border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow); overflow:hidden;
}
.pkp_block .title {
    background: var(--primary); color: var(--white) !important;
    padding: 12px 18px !important; margin:0 !important;
    font-size:.85rem !important; text-transform:uppercase; font-weight:700;
    border-radius: 6px;
}
.pkp_block .content { padding-right:18px;padding-left: 18px; }

/* ----- Breadcrumbs ----- */
.cmp_breadcrumbs {
    margin: 0 0 25px 0;
    font-size: 0.78rem;
    background: var(--primary);
    padding: 4px 12px 4px 6px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: none;
    width: fit-content;
}
.cmp_breadcrumbs ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.cmp_breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 8px;
}
.cmp_breadcrumbs a {
    color: var(--white);
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.3s;
}
.cmp_breadcrumbs a:hover {
    opacity: 0.8;
    color: var(--white);
}
.cmp_breadcrumbs .separator {
    font-size: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.cmp_breadcrumbs .separator::after {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.8);
    mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><polyline points="9 18 15 12 9 6"></polyline></svg>') no-repeat center / contain;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><polyline points="9 18 15 12 9 6"></polyline></svg>') no-repeat center / contain;
}
.cmp_breadcrumbs .current {
    color: var(--white);
    font-weight: 600;
}
.cmp_breadcrumbs li:first-child a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    font-size: 0; /* Hide the "Home" text */
    position: relative;
    transition: background 0.3s;
}
.cmp_breadcrumbs li:first-child a:hover {
    background: rgba(255, 255, 255, 0.25);
    opacity: 1;
}
.cmp_breadcrumbs li:first-child a::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    background-color: var(--white);
    mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path><polyline points="9 22 9 12 15 12 15 22"></polyline></svg>') no-repeat center / contain;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path><polyline points="9 22 9 12 15 12 15 22"></polyline></svg>') no-repeat center / contain;
}

/* ----- Login Page ----- */
.page_login,
.page_register {
    margin: 0px auto;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid var(--border);
}
.page_login { max-width: 450px; }
.page_register { max-width: 650px; }

.page_login h1,
.page_register h1 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-top: 0;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 700;
}

.page_login > p:first-of-type,
.page_register > p:first-of-type {
    text-align: center;
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.cmp_form.login fieldset,
.cmp_form.register fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.cmp_form.register fieldset {
    margin-bottom: 25px;
}
.cmp_form.register legend {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
    width: 100%;
}

.cmp_form.login .username,
.cmp_form.login .password,
.cmp_form.register .fields > div {
    margin-bottom: 20px;
}

.cmp_form.login label .label,
.cmp_form.register label .label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.cmp_form.login input[type="text"],
.cmp_form.login input[type="password"],
.cmp_form.register input[type="text"],
.cmp_form.register input[type="password"],
.cmp_form.register input[type="email"],
.cmp_form.register select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: var(--radius);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #f9fafb;
}

.cmp_form.register select {
    padding-right: 40px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300667c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    cursor: pointer;
}

.cmp_form.login input[type="text"]:focus,
.cmp_form.login input[type="password"]:focus,
.cmp_form.register input[type="text"]:focus,
.cmp_form.register input[type="password"]:focus,
.cmp_form.register input[type="email"]:focus,
.cmp_form.register select:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 102, 124, 0.1);
}

.cmp_form.login .password a {
    display: block;
    text-align: right;
    font-size: 0.8rem;
    margin-top: 8px;
    color: var(--primary);
}

.cmp_form.login .remember,
.cmp_form.register .optin {
    margin-bottom: 25px;
}

.cmp_form.login .remember label,
.cmp_form.register .optin label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text);
    cursor: pointer;
}

.cmp_form.login .buttons,
.cmp_form.register .buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cmp_form.login .buttons .submit,
.cmp_form.register .buttons .submit {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 14px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.1s;
}

.cmp_form.login .buttons .submit:hover,
.cmp_form.register .buttons .submit:hover {
    background: var(--primary-dark);
}

.cmp_form.login .buttons .submit:active,
.cmp_form.register .buttons .submit:active {
    transform: translateY(1px);
}

.cmp_form.login .buttons .register,
.cmp_form.register .buttons .login {
    text-align: center;
    display: block;
    padding: 12px;
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s;
}

.cmp_form.login .buttons .register:hover,
.cmp_form.register .buttons .login:hover {
    background: var(--primary-light);
}

/* ----- Search Page ----- */
.page_search {
    margin: 20px auto;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid var(--border);
    max-width: 900px;
    width: 95%;
    box-sizing: border-box;
}

.page_search h1 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-top: 0;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.cmp_form_search .fields {
    border: none;
    padding: 0;
    margin: 0;
}

.cmp_form_search label .label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.cmp_form_search input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: var(--radius);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #f9fafb;
}

.cmp_form_search input[type="text"]:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 102, 124, 0.1);
}

.cmp_form_search .buttons {
    margin-top: 20px;
}

.cmp_form_search .submit {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 14px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.cmp_form_search .submit:hover {
    background: var(--primary-dark);
}

.cmp_form_search select {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 10px 40px 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: var(--radius);
    font-size: 0.9rem;
    background-color: #f9fafb;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    transition: all 0.3s;
    cursor: pointer;
    outline: none;
}

.cmp_form_search select:focus {
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 102, 124, 0.1);
}

.cmp_form_search fieldset legend {
    display: none;
}

.cmp_form_search fieldset label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 4px;
    margin-top: 8px;
}

.btn_link {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin: 10px 0;
    font-size: 0.9rem;
    text-decoration: underline;
    transition: color 0.2s;
}

.btn_link:hover {
    color: var(--primary-dark);
}

.search_advanced {
    background: #f4f7f9;
    padding: 30px;
    border-radius: 12px;
    margin: 25px 0;
    border: 1px solid var(--border);
}

.search_advanced .from,
.search_advanced .to {
    width: 100%;
    margin-bottom: 25px;
}

.search_advanced .from > .label,
.search_advanced .to > .label,
.search_advanced .author .label {
    display: block;
    margin-bottom: 12px;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.1rem;
}

.search_advanced fieldset {
    border: 1px solid #e0e0e0;
    padding: 20px;
    border-radius: 10px;
    background: #ffffff;
    margin: 5px 0 15px 0;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.cmp_form_search fieldset label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 6px;
    margin-top: 12px;
}

.cmp_form_search fieldset select {
    display: block;
    width: 100%;
}

.search_results_header {
    margin-top: 40px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.search_count {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin: 0;
}

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

.no_results {
    margin-top: 40px;
    text-align: center;
}


/* =====================================================
 * MOBILE (≤ 991 px)
 * ===================================================== */
@media (max-width: 991px) {

    /* Mobile header stays sticky on top */
    .pkp_structure_head {
        padding: 0;
        position: sticky;
        top: 0;
        z-index: 999;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    }

    /* Remove left/right padding from head wrapper on mobile */
    .pkp_head_wrapper {
        padding: 0;
    }

    /* ----- Header: logo stacked above ISSN+hamburger ----- */
    .pkp_site_name_wrapper {
        flex-direction: column;
        align-items: stretch;
        padding: 0;              /* Remove outer padding; each row handles its own */
    }

    .pkp_site_name {
        text-align: center;
        margin-bottom: 0;
        padding: 12px 15px;      /* Padding on logo row only */
    }
    .pkp_site_name img {
        max-height: 60px;
        width: auto;       /* Never stretch/squash */
        object-fit: contain;
    }

    /* Row 2: full-width teal bar — [ISSN ISSN]  [☰] */
    .noble_mobile_row_lower {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        background: var(--primary);
        padding: 10px 15px;
        width: 100%;
    }

    /* ISSN text — white on teal, vertically centred by flexbox */
    .noble_mobile_issn {
        display: flex !important;
        align-items: center;          /* Vertically centre with button */
        gap: 14px;
        font-size: .68rem;
        font-weight: 700;
        color: var(--white);          /* White text on teal */
    }

    /* Hamburger — transparent, white icon */
    .noble_mobile_toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px; height: 44px;
        background: transparent !important;  /* No background */
        border: none;
        cursor: pointer;
        flex-shrink: 0;
        padding: 0;
    }

    /* CSS-only 3-bar icon — always white (sits on teal bg row) */
    .noble_hamburger_icon,
    .noble_hamburger_icon::before,
    .noble_hamburger_icon::after {
        display: block;
        width: 22px; height: 2px;
        background: var(--white);
        transition: transform .3s, opacity .3s, top .3s;
    }
    .noble_hamburger_icon {
        position: relative;
    }
    .noble_hamburger_icon::before,
    .noble_hamburger_icon::after {
        content:''; position:absolute; left:0;
    }
    .noble_hamburger_icon::before { top:-7px; }
    .noble_hamburger_icon::after  { top: 7px; }

    /* Animate to × when open */
    .noble_hamburger_icon.open { background:transparent; }
    .noble_hamburger_icon.open::before { top:0; transform:rotate(45deg); }
    .noble_hamburger_icon.open::after  { top:0; transform:rotate(-45deg); }

    /* ----- Hide desktop-only elements ----- */
    .noble_header_right { display:none !important; }
    .noble_nav_right    { display:none !important; }

    /* ----- Nav bar: invisible shell on mobile ----- */
    .noble_main_nav_bar {
        position: static;
        background: transparent;
        box-shadow: none;
        min-height: 0;
    }

    /* ----- Backdrop overlay ----- */
    .noble_nav_backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.45);
        z-index: 9998;
    }
    .noble_nav_backdrop.open { display: block; }

    /* ----- Left drawer slide-in ----- */
    .noble_nav_wrapper_inner {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 80%;           /* Takes up 80% of screen width */
        max-width: 320px;
        background: var(--white);
        border-right: 3px solid var(--primary);
        box-shadow: 4px 0 24px rgba(0,0,0,.15);
        z-index: 9999;
        flex-direction: column;
        overflow-y: auto;
        transform: translateX(-105%);  /* Start fully off-screen left */
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;          /* Always flex — animation uses transform not display */
    }
    .noble_nav_wrapper_inner.open {
        transform: translateX(0);
    }

    /* ----- Logo header inside drawer ----- */
    .noble_drawer_logo {
        display: flex !important;   /* Override the global desktop hide */
        background: var(--primary);
        padding: 20px 18px;
        display: flex;
        align-items: center;
        border-bottom: 1px solid var(--primary-dark);
        flex-shrink: 0;           /* Don't shrink when menu list is long */
    }
    .noble_drawer_logo img {
        max-height: 50px;
        width: auto;
        object-fit: contain;
        filter: brightness(0) invert(1); /* Make logo white on teal bg */
    }
    .noble_drawer_title {
        color: var(--white);
        font-size: 1.1rem;
        font-weight: 700;
        text-decoration: none;
    }

    /* Menu items stacked */
    .pkp_navigation_primary {
        flex-direction: column !important;
        width: 100%;
    }
    .pkp_navigation_primary > li > a {
        color: var(--text) !important;
        padding: 15px 20px !important;
        border-bottom: 1px solid #f0f0f0;
        font-size: .9rem;
    }
    .pkp_navigation_primary > li > a:hover {
        background: var(--primary-light);
        color: var(--primary) !important;
    }
    /* Remove sweep effect on mobile */
    .pkp_navigation_primary > li > a::before { display:none; }

    /* Mobile Dropdown Styling */
    .pkp_navigation_primary ul {
        display: block !important;
        position: static !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 0 0 15px !important;
    }
    .pkp_navigation_primary ul a {
        border-bottom: 1px solid #f0f0f0 !important;
        padding: 10px 20px !important;
    }

    /* User Menu inside drawer (Mobile) */
    .noble_mobile_user_menu {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding: 20px;
        background: #f4f7f9;
        border-bottom: 1px solid var(--border);
    }
    .noble_mobile_user_menu::before {
        content: 'ACCOUNT';
        display: block;
        font-size: 0.7rem;
        font-weight: 800;
        color: #999;
        margin-bottom: 12px;
        letter-spacing: 1px;
    }
    .pkp_navigation_user_mobile {
        list-style:none !important; padding:0 !important; margin:0 !important;
        display:flex !important; flex-direction:column !important; gap:10px !important;
    }
    .pkp_navigation_user_mobile a {
        display:block; 
        padding:12px 18px; border-radius: 8px;
        font-weight:600; font-size:.9rem;
        border: 1px solid #ddd;
        color: var(--text);
        background: var(--white);
        text-decoration: none;
        transition: all 0.2s;
    }
    .pkp_navigation_user_mobile a:hover {
        background: var(--primary-light);
        border-color: var(--primary);
        color: var(--primary);
    }
    
    /* Highlight login/register/logout */
    .pkp_navigation_user_mobile li:last-child a,
    .pkp_navigation_user_mobile a[href*="login"],
    .pkp_navigation_user_mobile a[href*="register"] {
        background: var(--primary); color: var(--white) !important;
        border: none !important;
    }

    /* Submenus on mobile (if any) - simple vertical stack */
    .pkp_navigation_user_mobile ul {
        list-style: none;
        padding: 5px 0 5px 15px;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    .pkp_navigation_user_mobile ul a {
        border: none;
        background: transparent;
        text-align: left;
        padding: 8px;
        font-weight: 500;
        color: var(--text);
    }

    /* Mobile Search Bar inside drawer */
    .noble_mobile_search {
        display: block !important;
        margin-top: auto;
        padding: 20px;
        background: #f4f7f9;
        border-top: 1px solid var(--border);
        flex-shrink: 0;
    }
    .noble_mobile_search form {
        display: flex;
        align-items: center;
        border: 1px solid #ddd;
        border-radius: 30px;
        padding: 2px 6px 2px 15px;
        background: var(--white);
        transition: all 0.3s;
    }
    .noble_mobile_search form:focus-within {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(0, 102, 124, 0.1);
    }
    .noble_mobile_search input {
        border: none;
        background: transparent;
        padding: 10px 0;
        width: 100%;
        outline: none;
        font-size: 0.9rem;
        color: var(--text);
    }
    .noble_mobile_search button {
        border: none;
        background: transparent;
        color: var(--primary);
        cursor: pointer;
        font-size: 1rem;
        padding: 10px 12px;
        min-width: 44px;
        min-height: 44px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s;
    }
    .noble_mobile_search button:hover {
        background: rgba(0, 102, 124, 0.1);
    }

    /* ----- Responsive content grid ----- */
    .pkp_structure_content {
        flex-direction: column; margin:20px auto;
    }
    .pkp_structure_sidebar { order:3; min-width:0; width:100%; }
}

/* Custom styles for required fields */
.page_login .required,
.page_register .required {
    color: red !important;
}

.page_login .pkp_screen_reader,
.page_register .pkp_screen_reader {
    display: none !important;
}

/* =====================================================
 * Custom Footer Styling (Cendikia Teal)
 * ===================================================== */
.footer-custom-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
    padding: 40px 100px 40px 100px;
    font-family: var(--font, 'Inter', sans-serif);
    color: var(--text);
    background-color: var(--white);
    border-top: 1px solid var(--border);
    margin-top: 40px;
}

.footer-text {
    flex: 1;
    min-width: 300px;
}

.footer-text h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
}

.footer-text p {
    margin: 8px 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.footer-text a:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}

.footer-contact-info {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background: var(--primary-light);
    border-radius: var(--radius);
    font-weight: 600;
}

.footer-publisher-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px dashed #ccc;
}

.footer-publisher-logo {
    width: 80px;
    height: auto;
    object-fit: contain;
}

.footer-publisher-details p {
    margin: 0;
    line-height: 1.5;
    font-size: 0.9rem;
}

.footer-map {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.footer-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 250px;
}

@media (max-width: 768px) {
    .footer-custom-container {
        flex-direction: column;
        padding: 30px 20px;
    }
    
    #google-map-lazy {
        min-height: 0 !important;
        height: auto !important;
        background-color: transparent !important;
    }
    .footer-map iframe {
        min-height: 0 !important;
        height: 200px;
    }

    .page_search {
        padding: 25px 15px;
        margin: 10px;
    }

    .search_advanced {
        padding: 15px;
    }

    .search_advanced fieldset {
        padding: 12px;
    }

    .search_advanced .from > .label,
    .search_advanced .to > .label,
    .search_advanced .author .label {
        font-size: 1rem;
    }

    .cmp_form_search select {
        padding: 8px 35px 8px 10px;
        font-size: 0.85rem;
        background-position: right 10px center;
        background-size: 14px;
    }
}

.pkp_brand_footer{display: none !important;}

/* =====================================================
 * Cendikia Teal Theme — Dark Mode & Back to Top Extensions
 * ===================================================== */

/* Smooth global transitions for premium feel (Cinematic Fade) */
body, 
.pkp_structure_head, 
.noble_main_nav_bar,
.pkp_structure_page, 
.pkp_structure_content, 
.pkp_structure_main, 
.pkp_structure_sidebar,
.pkp_block,
.pkp_block .title,
.obj_article_summary,
.footer-custom-container,
.footer-contact-info,
.search_advanced,
.search_advanced fieldset,
input[type="text"],
input[type="password"],
input[type="email"],
select,
textarea,
h1, h2, h3, h4, h5, h6,
.title,
.search_count,
p, span, li, a, label,
.cmp_breadcrumbs,
#navigationUser ul::before,
#navigationUser ul a,
.pkp_navigation_user_mobile a {
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                color 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Redefine root variables in dark mode (Highly Refined Slate-Navy Palette) */
body.dark-mode {
    --bg:            #090d16; /* Premium deep dark night-navy */
    --white:         #131a2a; /* Premium container & card background (Slate-blue 900) */
    --text:          #e2e8f0; /* Soft light slate 200 text for comfortable reading */
    --border:        #1f293d; /* Elegant deep borders (Slate-blue 800) */
    --primary:       #14b8a6; /* Vibrant Teal 500 accent color */
    --primary-dark:  #0f766e; /* Teal 700 */
    --primary-light: #115e59; /* Teal 800 */
    --shadow:        0 10px 30px rgba(0, 0, 0, 0.55);
}

/* Absolute Fix for White Background Leaks in OJS Page Containers */
body.dark-mode,
body.dark-mode .pkp_structure_page,
body.dark-mode .pkp_structure_content,
body.dark-mode .pkp_structure_content.has_sidebar,
body.dark-mode .pkp_structure_main,
body.dark-mode .pkp_structure_sidebar {
    background-color: var(--bg) !important;
}

/* Structure & Header */
body.dark-mode .pkp_structure_head {
    background: var(--white) !important;
    border-bottom: 1px solid var(--border) !important;
}

body.dark-mode .pkp_site_name a,
body.dark-mode .pkp_site_name a.is_text {
    color: var(--text) !important;
}

body.dark-mode .pkp_site_name img {
    filter: brightness(0) invert(1) !important;
}

body.dark-mode .noble_header_search form {
    background: #090d16 !important;
    border-color: var(--border) !important;
}

body.dark-mode .noble_header_search form:focus-within {
    background: #090d16 !important;
    border-color: var(--primary) !important;
}

body.dark-mode .noble_header_search input {
    color: var(--text) !important;
}

body.dark-mode #navigationUser ul::before {
    background: var(--white) !important;
    border-color: var(--border) !important;
}

body.dark-mode #navigationUser ul a {
    color: var(--text) !important;
}

body.dark-mode #navigationUser ul a:hover {
    background: var(--primary-light) !important;
    color: var(--primary) !important;
}

/* Sticky Main Navigation Bar in Dark Mode */
body.dark-mode .noble_main_nav_bar {
    background: #131a2a !important;
    border-bottom: 1px solid var(--border) !important;
}

/* Mobile Navigation Drawer */
body.dark-mode .noble_nav_wrapper_inner {
    background: var(--white) !important;
    border-right: 3px solid var(--primary-dark) !important;
}

body.dark-mode .pkp_navigation_primary > li > a {
    color: var(--text) !important;
    border-bottom-color: var(--border) !important;
}

body.dark-mode .pkp_navigation_primary ul {
    background: var(--white) !important;
    border-color: var(--border) !important;
}

body.dark-mode .pkp_navigation_primary ul a {
    color: var(--text) !important;
    border-bottom-color: var(--border) !important;
}

body.dark-mode .pkp_navigation_primary ul a:hover {
    background: var(--primary-light) !important;
}

body.dark-mode .noble_mobile_user_menu {
    background: #090d16 !important;
    border-bottom-color: var(--border) !important;
}

body.dark-mode .pkp_navigation_user_mobile a {
    background: var(--white) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

body.dark-mode .pkp_navigation_user_mobile a:hover {
    background: var(--primary-light) !important;
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

body.dark-mode .noble_mobile_search {
    background: #090d16 !important;
    border-top-color: var(--border) !important;
}

body.dark-mode .noble_mobile_search form {
    background: #090d16 !important;
    border-color: var(--border) !important;
}

body.dark-mode .noble_mobile_search form:focus-within {
    border-color: var(--primary) !important;
}

body.dark-mode .noble_mobile_search input {
    color: var(--text) !important;
}

/* Sidebar Blocks & Article summaries */
body.dark-mode .pkp_block {
    background: var(--white) !important;
    border-color: var(--border) !important;
    box-shadow: var(--shadow) !important;
}

body.dark-mode .obj_article_summary {
    background: var(--white) !important;
    border-left-color: transparent !important;
    box-shadow: var(--shadow) !important;
}

body.dark-mode .obj_article_summary:hover {
    border-left-color: var(--primary) !important;
}

/* Forms, Inputs, Textareas, Selects */
body.dark-mode input[type="text"],
body.dark-mode input[type="password"],
body.dark-mode input[type="email"],
body.dark-mode select,
body.dark-mode textarea {
    background-color: #090d16 !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

body.dark-mode input[type="text"]:focus,
body.dark-mode input[type="password"]:focus,
body.dark-mode input[type="email"]:focus,
body.dark-mode select:focus,
body.dark-mode textarea:focus {
    border-color: var(--primary) !important;
    background-color: #090d16 !important;
}

body.dark-mode select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314b8a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 16px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

/* Custom Cendikia Teal Footer Section in Dark Mode */
body.dark-mode .footer-custom-container {
    background-color: #090d16 !important; /* Seamless merge with page background */
    border-top: 1px solid var(--border) !important;
}

body.dark-mode .footer-text h3 {
    color: var(--primary) !important;
}

body.dark-mode .footer-contact-info {
    background: var(--white) !important;
    color: var(--text) !important;
}

body.dark-mode .footer-publisher-container {
    border-top: 1px dashed var(--border) !important;
}

body.dark-mode .footer-publisher-details p {
    color: #94a3b8 !important;
}

body.dark-mode .footer-map {
    border-color: var(--border) !important;
    box-shadow: var(--shadow) !important;
}

/* Advanced Search Page */
body.dark-mode .search_advanced {
    background: #090d16 !important;
    border-color: var(--border) !important;
}

body.dark-mode .search_advanced fieldset {
    background: var(--white) !important;
    border-color: var(--border) !important;
}

body.dark-mode .search_results_header {
    border-bottom-color: var(--primary) !important;
}

/* Typography, Headings & Content Redirection */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode .title,
body.dark-mode .search_count {
    color: #f8fafc !important; /* Crisp slate 50 for headings */
}

body.dark-mode p,
body.dark-mode span,
body.dark-mode li,
body.dark-mode div.issn_row,
body.dark-mode label,
body.dark-mode label .label {
    color: #cbd5e1 !important; /* Soft, readable slate 300 body text */
}

/* Breadcrumbs in dark mode */
body.dark-mode .cmp_breadcrumbs {
    background: var(--primary-light) !important;
}

body.dark-mode .cmp_breadcrumbs a,
body.dark-mode .cmp_breadcrumbs .current {
    color: var(--text) !important;
}

body.dark-mode .cmp_breadcrumbs li:first-child a::after {
    background-color: var(--text) !important;
}

/* Tables, lists, grids */
body.dark-mode table,
body.dark-mode th,
body.dark-mode td {
    border-color: var(--border) !important;
    color: var(--text) !important;
}

body.dark-mode tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.02) !important;
}

/* Article details page standard elements */
body.dark-mode .section,
body.dark-mode .article-details,
body.dark-mode .author-bios,
body.dark-mode .galleys,
body.dark-mode .how-to-cite,
body.dark-mode .citation_formats,
body.dark-mode .citation_formats_list,
body.dark-mode .citation_format {
    background-color: var(--white) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}

body.dark-mode .btn,
body.dark-mode .button,
body.dark-mode a.galleys_link {
    background: var(--primary) !important;
    color: #090d16 !important; /* Slate 950 contrast text */
    border: none !important;
    font-weight: 600 !important;
    transition: background-color 0.2s !important;
}

body.dark-mode .btn:hover,
body.dark-mode .button:hover,
body.dark-mode a.galleys_link:hover {
    background: var(--primary-dark) !important;
    color: var(--text) !important;
}

/* =====================================================
 * Interactive Element Styles (Toggles & Back to Top)
 * ===================================================== */

/* Dark Mode Toggle Button */
.dark-mode-toggle {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--primary);
    padding: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 42px;
    height: 42px;
    outline: none;
    box-sizing: border-box;
}

.dark-mode-toggle:hover {
    background: var(--primary-light);
}

.dark-mode-toggle .icon-sun,
.dark-mode-toggle .icon-moon {
    position: absolute;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    backface-visibility: hidden;
}

.dark-mode-toggle .icon-sun {
    opacity: 0;
    transform: scale(0) rotate(-90deg);
    color: #fbbf24; /* Beautiful golden sun */
}

.dark-mode-toggle .icon-moon {
    opacity: 1;
    transform: scale(1) rotate(0);
    color: #475569; /* Sleek slate moon */
}

/* Mobile & Desktop Header specific positioning/coloring */
.noble_mobile_actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.desktop-dark-toggle,
.mobile-dark-toggle {
    color: var(--white) !important;
}

.desktop-dark-toggle:hover,
.mobile-dark-toggle:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}

.desktop-dark-toggle .icon-moon,
.mobile-dark-toggle .icon-moon {
    color: var(--white) !important;
}

/* Active Dark Mode Toggle changes */
body.dark-mode .dark-mode-toggle .icon-sun {
    opacity: 1;
    transform: scale(1) rotate(0);
}

body.dark-mode .dark-mode-toggle .icon-moon {
    opacity: 0;
    transform: scale(0) rotate(90deg);
}

body.dark-mode .desktop-dark-toggle:hover {
    background: rgba(20, 184, 166, 0.15);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white) !important;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.back-to-top:active {
    transform: translateY(-2px);
}

/* Desktop Header user-menu styling corrections in dark mode */
body.dark-mode #navigationUser > li > a {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

body.dark-mode #navigationUser > li:last-child > a,
body.dark-mode #navigationUser > li > a[href*="register"] {
    background: var(--primary) !important;
    color: #090d16 !important; /* contrast text for vibrant primary button */
    font-weight: 700;
}

body.dark-mode #navigationUser > li:last-child > a:hover,
body.dark-mode #navigationUser > li > a[href*="register"]:hover {
    background: var(--primary-dark) !important;
    color: var(--text) !important;
}

/* =====================================================
 * Issue Page & Table of Contents Styles (obj_issue_toc)
 * ===================================================== */

.obj_issue_toc {
    margin-top: 10px;
}

/* Issue Cover & Description Card (Hero Area) */
.obj_issue_toc > .heading {
    display: flex;
    flex-direction: row;
    gap: 30px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 45px;
    box-shadow: var(--shadow);
    align-items: flex-start;
}

@media (max-width: 768px) {
    .obj_issue_toc > .heading {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 20px;
    }
}

/* Issue Cover Image */
.obj_issue_toc > .heading .cover {
    flex: 0 0 220px;
    max-width: 220px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: block;
    transition: transform 0.3s ease;
}

.obj_issue_toc > .heading .cover:hover {
    transform: scale(1.02);
}

.obj_issue_toc > .heading .cover img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .obj_issue_toc > .heading .cover {
        margin: 0 auto;
        flex: none;
        width: 180px;
    }
}

/* Issue Details Block */
.obj_issue_toc > .heading .description {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 15px;
}

/* 1-Paragraph Preview / Truncation ONLY on the Homepage (body.pkp_page_index) */
body.pkp_page_index .obj_issue_toc > .heading .description {
    /* Fallback: if description is plain text without paragraph tags, clamp it to about 5 lines */
    display: -webkit-box;
    -webkit-line-clamp: 9;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Hide paragraphs after the first one and any other excess blocks only on the homepage */
body.pkp_page_index .obj_issue_toc > .heading .description p:not(:first-of-type),
body.pkp_page_index .obj_issue_toc > .heading .description ul,
body.pkp_page_index .obj_issue_toc > .heading .description ol,
body.pkp_page_index .obj_issue_toc > .heading .description h1,
body.pkp_page_index .obj_issue_toc > .heading .description h2,
body.pkp_page_index .obj_issue_toc > .heading .description h3,
body.pkp_page_index .obj_issue_toc > .heading .description h4,
body.pkp_page_index .obj_issue_toc > .heading .description h5,
body.pkp_page_index .obj_issue_toc > .heading .description h6,
body.pkp_page_index .obj_issue_toc > .heading .description blockquote,
body.pkp_page_index .obj_issue_toc > .heading .description table {
    display: none !important;
}

/* Reset clamp inside paragraph tags so the single first paragraph can render fully on the homepage */
body.pkp_page_index .obj_issue_toc > .heading .description p:first-of-type {
    display: block !important;
    -webkit-line-clamp: none !important;
    overflow: visible !important;
}

/* DOIs, Published Date, Pub IDs badges */
.obj_issue_toc > .heading .pub_id,
.obj_issue_toc > .heading .published {
    display: inline-flex;
    align-items: center;
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 10px;
    margin-bottom: 10px;
    border: 1px solid rgba(0, 102, 124, 0.08);
}

.obj_issue_toc > .heading .pub_id .type,
.obj_issue_toc > .heading .published .label {
    opacity: 0.8;
    margin-right: 4px;
    font-weight: 500;
}

.obj_issue_toc > .heading .pub_id a {
    color: var(--primary) !important;
    text-decoration: none;
    transition: color 0.2s;
}

.obj_issue_toc > .heading .pub_id a:hover {
    color: var(--primary-dark) !important;
    text-decoration: underline;
}

/* Full-issue galleys block */
.obj_issue_toc .galleys {
    background: var(--primary-light);
    border: 1px dashed var(--primary);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.obj_issue_toc .galleys h2,
.obj_issue_toc .galleys h3,
.obj_issue_toc .galleys h4 {
    margin: 0;
    font-size: 1.05rem;
    color: var(--primary-dark);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.obj_issue_toc .galleys h2::before,
.obj_issue_toc .galleys h3::before,
.obj_issue_toc .galleys h4::before {
    content: "\f019"; /* FontAwesome download icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.obj_issue_toc .galleys .galleys_links {
    margin: 0;
}

/* Section Headings */
.obj_issue_toc .sections .section {
    margin-bottom: 35px;
}

.obj_issue_toc .sections .section > h2,
.obj_issue_toc .sections .section > h3,
.obj_issue_toc .sections .section > h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-light);
    position: relative;
}

.obj_issue_toc .sections .section > h2::after,
.obj_issue_toc .sections .section > h3::after,
.obj_issue_toc .sections .section > h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--primary);
}

.obj_issue_toc .sections .articles {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Premium Article Summary Card styling */
.obj_issue_toc .cmp_article_list > li {
    margin-bottom: 20px;
}

.obj_issue_toc .obj_article_summary {
    background: var(--white);
    padding: 24px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.obj_issue_toc .obj_article_summary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

/* Title & Subtitle */
.obj_issue_toc .obj_article_summary .title {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.4;
    font-weight: 600;
}

.obj_issue_toc .obj_article_summary .title a {
    color: var(--text);
    transition: color 0.2s;
    text-decoration: none;
}

.obj_issue_toc .obj_article_summary .title a:hover {
    color: var(--primary);
}

.obj_issue_toc .obj_article_summary .title .subtitle {
    display: block;
    font-size: 0.95rem;
    color: #6b7280;
    font-weight: 400;
    margin-top: 4px;
}

/* Article Meta (Authors, Pages, Published) */
.obj_issue_toc .obj_article_summary .meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    font-size: 0.82rem;
    color: #6b7280;
    margin-top: 2px;
}

.obj_issue_toc .obj_article_summary .meta .authors {
    font-weight: 500;
    color: #4b5563;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.obj_issue_toc .obj_article_summary .meta .authors::before {
    content: "\f0c0"; /* FontAwesome users icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary);
    opacity: 0.85;
}

.obj_issue_toc .obj_article_summary .meta .pages {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.obj_issue_toc .obj_article_summary .meta .pages::before {
    content: "\f02d"; /* FontAwesome book-open icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary);
    opacity: 0.85;
}

.obj_issue_toc .obj_article_summary .meta .published {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.obj_issue_toc .obj_article_summary .meta .published::before {
    content: "\f073"; /* FontAwesome calendar icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary);
    opacity: 0.85;
}

/* Galley Links lists inside summary */
.obj_issue_toc .obj_article_summary .galleys_links {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.obj_issue_toc .obj_article_summary .galleys_links li {
    margin: 0;
}

.obj_issue_toc .obj_galley_link,
.obj_issue_toc .obj_galley_link_supplementary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background-color: var(--primary);
    color: var(--white) !important;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 102, 124, 0.12);
    border: 1px solid transparent;
}

.obj_issue_toc .obj_galley_link:hover,
.obj_issue_toc .obj_galley_link_supplementary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 124, 0.22);
    color: var(--white) !important;
}

.obj_issue_toc .obj_galley_link.pdf::before {
    content: "\f1c1"; /* FontAwesome PDF icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.85rem;
}

.obj_issue_toc .obj_galley_link.file::before {
    content: "\f15b"; /* FontAwesome File icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.85rem;
}

/* =====================================================
 * Issue Archive List Page (issues_archive)
 * ===================================================== */
.issues_archive {
    list-style: none;
    padding: 0;
    margin: 30px 0 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.issues_archive li {
    margin: 0;
}

/* Single Issue Archive Card styling */
.issues_archive .obj_issue_summary {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.issues_archive .obj_issue_summary:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-light);
}

/* Cover image in archive cards */
.issues_archive .obj_issue_summary .cover {
    display: block;
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background-color: var(--bg);
}

.issues_archive .obj_issue_summary .cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.issues_archive .obj_issue_summary:hover .cover img {
    transform: scale(1.05);
}

/* Card titles */
.issues_archive .obj_issue_summary h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
}

.issues_archive .obj_issue_summary h2 a.title {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}

.issues_archive .obj_issue_summary h2 a.title:hover {
    color: var(--primary);
}

.issues_archive .obj_issue_summary h2 .series {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card Description */
.issues_archive .obj_issue_summary .description {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

/* =====================================================
 * Dark Mode Support for Issue Pages
 * ===================================================== */

body.dark-mode .obj_issue_toc > .heading {
    background: var(--white) !important;
    border-color: var(--border) !important;
}

body.dark-mode .obj_issue_toc > .heading .cover {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark-mode .obj_issue_toc > .heading .description {
    color: #cbd5e1 !important;
}

body.dark-mode .obj_issue_toc > .heading .pub_id,
body.dark-mode .obj_issue_toc > .heading .published {
    background: rgba(20, 184, 166, 0.1) !important;
    color: var(--primary) !important;
    border-color: rgba(20, 184, 166, 0.15) !important;
}

body.dark-mode .obj_issue_toc > .heading .pub_id a {
    color: var(--primary) !important;
}

body.dark-mode .obj_issue_toc > .heading .pub_id a:hover {
    color: #2dd4bf !important;
}

body.dark-mode .obj_issue_toc .galleys {
    background: rgba(20, 184, 166, 0.05) !important;
    border-color: var(--primary) !important;
}

body.dark-mode .obj_issue_toc .galleys h2,
body.dark-mode .obj_issue_toc .galleys h3,
body.dark-mode .obj_issue_toc .galleys h4 {
    color: #f8fafc !important;
}

body.dark-mode .obj_issue_toc .sections .section > h2,
body.dark-mode .obj_issue_toc .sections .section > h3,
body.dark-mode .obj_issue_toc .sections .section > h4 {
    color: #f8fafc !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

body.dark-mode .obj_issue_toc .obj_article_summary {
    background: var(--white) !important;
    border-color: var(--border) !important;
    border-left-color: var(--primary) !important;
}

body.dark-mode .obj_issue_toc .obj_article_summary .title a {
    color: #f8fafc !important;
}

body.dark-mode .obj_issue_toc .obj_article_summary .title a:hover {
    color: var(--primary) !important;
}

body.dark-mode .obj_issue_toc .obj_article_summary .title .subtitle {
    color: #94a3b8 !important;
}

body.dark-mode .obj_issue_toc .obj_article_summary .meta {
    color: #94a3b8 !important;
}

body.dark-mode .obj_issue_toc .obj_article_summary .meta .authors {
    color: #cbd5e1 !important;
}

body.dark-mode .obj_issue_toc .obj_galley_link,
body.dark-mode .obj_issue_toc .obj_galley_link_supplementary {
    background-color: var(--primary) !important;
    color: #090d16 !important;
}

body.dark-mode .obj_issue_toc .obj_galley_link:hover,
body.dark-mode .obj_issue_toc .obj_galley_link_supplementary:hover {
    background-color: var(--primary-dark) !important;
    color: #ffffff !important;
}

/* Dark Mode support for archive page */
body.dark-mode .issues_archive .obj_issue_summary {
    background: var(--white) !important;
    border-color: var(--border) !important;
}

body.dark-mode .issues_archive .obj_issue_summary:hover {
    border-color: var(--primary) !important;
}

body.dark-mode .issues_archive .obj_issue_summary h2 a.title {
    color: #f8fafc !important;
}

body.dark-mode .issues_archive .obj_issue_summary h2 a.title:hover {
    color: var(--primary) !important;
}

body.dark-mode .issues_archive .obj_issue_summary h2 .series {
    color: var(--primary) !important;
}

body.dark-mode .issues_archive .obj_issue_summary .description {
    color: #cbd5e1 !important;
}

/* =====================================================
 * Current Issue Block & Title Banner (current_issue)
 * ===================================================== */

.current_issue {
    margin-top: 30px;
    margin-bottom: 40px;
}

/* Hide the old default duplicate current issue title that is outside the box */
.current_issue > .current_issue_title {
    display: none !important;
}

/* Restyle the default h2 header */
.current_issue > h2 {
    font-size: 0.85rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 20px !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.current_issue > h2::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

/* View All Issues "Read More" button */
.current_issue a.read_more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary) !important;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s;
    margin-top: 25px;
}

.current_issue a.read_more:hover {
    background: var(--primary);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 102, 124, 0.18);
}

.current_issue a.read_more::after {
    content: "\f061"; /* FontAwesome arrow-right icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    transition: transform 0.2s;
}

.current_issue a.read_more:hover::after {
    transform: translateX(4px);
}

/* =====================================================
 * New Unified Issue TOC Box Layout (.obj_issue_toc)
 * ===================================================== */

.obj_issue_toc {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden; /* This keeps the header banner corners rounded */
    margin-top: 10px;
    margin-bottom: 40px;
}

/* Redefine heading padding because it is now inside the unified box */
.obj_issue_toc > .heading {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 30px 30px 10px 30px !important;
    margin-bottom: 10px !important;
}

/* Premium Issue Title Banner at the top of the box */
.issue_toc_title_banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 24px 30px;
    border-bottom: 4px solid #2dd4bf; /* Neon teal highlight line */
    color: var(--white) !important;
    position: relative;
    overflow: hidden;
}

/* Abstract layout decorative background */
.issue_toc_title_banner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.issue_toc_badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 12px;
    border-radius: 30px;
    margin-bottom: 8px;
    width: fit-content;
}

.issue_toc_title_text {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: var(--white) !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.3px;
}

/* Adjust paddings for sections and inner containers so they look stunning inside the box */
.obj_issue_toc .galleys {
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 30px;
}

.obj_issue_toc .sections {
    padding: 0 30px 30px 30px;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .obj_issue_toc > .heading {
        padding: 20px 20px 10px 20px !important;
    }
    .issue_toc_title_banner {
        padding: 20px;
    }
    .issue_toc_title_text {
        font-size: 1.15rem !important;
    }
    .obj_issue_toc .galleys {
        margin-left: 20px;
        margin-right: 20px;
        margin-bottom: 20px;
    }
    .obj_issue_toc .sections {
        padding: 0 20px 20px 20px;
    }
}

/* =====================================================
 * Dark Mode support for Unified Issue TOC Box
 * ===================================================== */

body.dark-mode .current_issue > h2 {
    color: var(--primary) !important;
}

body.dark-mode .current_issue a.read_more {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

body.dark-mode .current_issue a.read_more:hover {
    background: var(--primary) !important;
    color: #090d16 !important;
}

body.dark-mode .obj_issue_toc {
    background: var(--white) !important; /* using Cendikia dark white variable */
    border-color: var(--border) !important;
}

body.dark-mode .issue_toc_title_banner {
    background: linear-gradient(135deg, var(--primary) 0%, #0d9488 100%) !important;
    border-bottom-color: #2dd4bf !important;
}

body.dark-mode .issue_toc_badge {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #cbd5e1 !important;
}

body.dark-mode .issue_toc_title_text {
    color: #f8fafc !important;
}

/* =====================================================
 * Premium Article Details Page styling
 * ===================================================== */

.noble_article_wrapper {
    margin-top: 15px;
    margin-bottom: 50px;
}

/* Alert styling overrides */
.noble_alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}
.noble_alert_warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #b45309;
}
.noble_alert_info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
}

/* Hero Section */
.noble_article_hero {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.noble_article_hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-light));
    opacity: 0.25;
    pointer-events: none;
}

.noble_hero_top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.noble_section_badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    border-radius: 20px;
}

.noble_doi_pill {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--primary);
    border-radius: 20px;
    overflow: hidden;
    font-size: 0.75rem;
    font-weight: 600;
}

.noble_doi_pill .badge_lbl {
    background: var(--primary);
    color: var(--white);
    padding: 4px 10px 4px 12px;
}

.noble_doi_pill .badge_val {
    color: var(--primary);
    padding: 4px 12px 4px 10px;
    background: transparent;
    transition: all 0.2s;
}

.noble_doi_pill .badge_val:hover {
    background: var(--primary-light);
    text-decoration: underline;
}

.noble_article_title {
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    color: var(--primary-dark) !important;
    line-height: 1.3 !important;
    margin: 0 0 15px 0 !important;
    letter-spacing: -0.5px;
}

.noble_article_subtitle {
    font-size: 1.25rem !important;
    color: #4b5563 !important;
    font-weight: 500 !important;
    margin: -5px 0 20px 0 !important;
    line-height: 1.4 !important;
    font-style: italic;
}

.noble_hero_metabar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    margin-top: 20px;
}

.noble_hero_metabar .meta_item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #555;
}

.noble_hero_metabar .meta_item i {
    color: var(--primary);
    font-size: 0.95rem;
}

.noble_hero_issue_link {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

.noble_hero_issue_link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Grid Layout */
.noble_article_grid {
    display: flex;
    gap: 30px;
}

.noble_article_main {
    flex: 2.3;
    min-width: 0;
}

.noble_article_sidebar {
    flex: 1;
    min-width: 300px;
}

/* Card Styling */
.noble_card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}

.noble_card_title {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: var(--primary-dark) !important;
    margin: 0 0 20px 0 !important;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 12px;
}

.noble_card_title i {
    color: var(--primary);
    font-size: 1.1rem;
}

/* Authors List */
.noble_authors_list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.noble_author_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: var(--bg);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    gap: 15px;
}

.noble_author_details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.noble_author_name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.noble_author_affiliation {
    font-size: 0.82rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
}

.noble_author_affiliation i {
    color: var(--primary);
}

.noble_orcid_badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e8f5e9;
    color: #2e7d32 !important;
    border: 1px solid #a5d6a7;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    transition: all 0.2s;
    white-space: nowrap;
}

.noble_orcid_badge:hover {
    background: #2e7d32;
    color: var(--white) !important;
    border-color: #2e7d32;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(46, 125, 50, 0.2);
}

.noble_orcid_icon {
    font-size: 0.95rem;
}

.orcid_img_badge {
    width: 14px;
    height: 14px;
}

.noble_ror_link img {
    height: 14px;
    vertical-align: middle;
    margin-left: 4px;
}

/* Abstract */
.noble_abstract_text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #374151;
    text-align: justify;
}

.noble_abstract_text p {
    margin-top: 0;
    margin-bottom: 15px;
}
.noble_abstract_text p:last-child {
    margin-bottom: 0;
}

/* Keywords Block */
.noble_keywords_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.noble_tag_pill {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s;
}

.noble_tag_pill:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-1px);
}

/* Bios Card */
.noble_bios_list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.noble_bio_item {
    border-bottom: 1px solid var(--border);
    padding-bottom: 15px;
}

.noble_bio_item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.noble_bio_author_name {
    font-size: 0.98rem !important;
    font-weight: 600 !important;
    color: var(--primary-dark) !important;
    margin: 0 0 8px 0 !important;
}

.noble_bio_author_name .affiliation_bio {
    font-weight: 400;
    color: #666;
    font-size: 0.85rem;
    margin-left: 5px;
}

.noble_bio_content {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
}

/* References */
.noble_citations_parsed {
    padding-left: 20px;
    margin: 0;
}

.noble_citations_parsed li {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 12px;
}

.noble_citations_parsed li:last-child {
    margin-bottom: 0;
}

.noble_citations_raw {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #4b5563;
}

/* Sidebar Section */
.noble_side_card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}

.noble_side_title {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: var(--primary-dark) !important;
    margin: 0 0 18px 0 !important;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 10px;
}

.noble_side_title i {
    color: var(--primary);
    font-size: 1rem;
}

/* PDF Galley Downloads Card */
.noble_downloads_container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.noble_galley_links_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Style default OJS galley links inside noble container */
.noble_galley_links_list .obj_galley_link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

/* Direct specific styling based on PDF subclass or label */
.noble_galley_links_list .obj_galley_link.pdf {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: var(--white) !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.noble_galley_links_list .obj_galley_link.pdf:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(239, 68, 68, 0.4);
    filter: brightness(1.08);
}

/* PDF icon indicator */
.noble_galley_links_list .obj_galley_link.pdf::before {
    content: "\f1c1"; /* FontAwesome PDF icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.1rem;
}

/* Generic/Non-PDF Galleys */
.noble_galley_links_list .obj_galley_link:not(.pdf) {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    color: var(--white) !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0, 102, 124, 0.2);
}

.noble_galley_links_list .obj_galley_link:not(.pdf):hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 102, 124, 0.35);
    filter: brightness(1.08);
}

.noble_galley_links_list .obj_galley_link:not(.pdf):\3a \3a before {
    content: "\f15c"; /* FontAwesome File icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.1rem;
}

/* Supplementary Galleys styling */
.noble_galley_subheading {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #666;
    letter-spacing: 0.8px;
    margin: 15px 0 10px 0;
}

.noble_galley_links_list .obj_galley_link_supplementary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
    background: var(--bg);
    color: var(--primary) !important;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: all 0.2s;
}

.noble_galley_links_list .obj_galley_link_supplementary:hover {
    background: var(--primary-light);
    border-color: var(--primary);
}

.noble_galley_links_list .obj_galley_link_supplementary::before {
    content: "\f0c6"; /* Paperclip icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

/* How to Cite section styling */
.noble_citation_output {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #334155;
    margin-bottom: 15px;
    word-break: break-word;
    border-left: 4px solid var(--primary);
    max-height: 160px;
    overflow-y: auto;
}

.noble_citation_toggle_btn {
    width: 100%;
    background: var(--white) !important;
    border: 2px solid var(--primary) !important;
    color: var(--primary) !important;
    padding: 10px 18px !important;
    border-radius: 8px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.25s !important;
    cursor: pointer;
    box-shadow: none !important;
}

.noble_citation_toggle_btn:hover {
    background: var(--primary) !important;
    color: var(--white) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 102, 124, 0.15) !important;
}

.noble_citation_dropdown_list {
    background: var(--white) !important;
    border: 1px solid var(--border) !important;
    border-radius: 8px !important;
    padding: 10px 0 !important;
    margin-top: 8px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
}

.noble_citation_styles_ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 10px 0 !important;
    border-bottom: 1px solid var(--border);
}

.noble_citation_styles_ul li a {
    display: block !important;
    padding: 8px 20px !important;
    color: #475569 !important;
    font-size: 0.85rem !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: all 0.2s !important;
    text-align: left;
}

.noble_citation_styles_ul li a:hover {
    background: var(--primary-light) !important;
    color: var(--primary) !important;
}

.noble_citation_downloads_lbl {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #94a3b8;
    padding: 0 20px 6px 20px;
    letter-spacing: 0.5px;
}

.noble_citation_downloads_ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.noble_citation_downloads_ul li a {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 8px 20px !important;
    color: #475569 !important;
    font-size: 0.85rem !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.2s !important;
    text-align: left;
}

.noble_citation_downloads_ul li a i {
    color: var(--primary);
}

.noble_citation_downloads_ul li a:hover {
    background: var(--primary-light) !important;
    color: var(--primary) !important;
}

/* Issue Cover Image */
.noble_side_cover {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    aspect-ratio: 3/4;
}

.noble_cover_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.noble_side_cover:hover .noble_cover_img {
    transform: scale(1.03);
}

.noble_issue_name {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
}

.noble_issue_name a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.noble_issue_name a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.noble_categories_box {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.noble_side_lbl {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #888;
    letter-spacing: 0.5px;
}

.noble_side_categories_ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.noble_side_categories_ul li a {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 500;
}

.noble_side_categories_ul li a:hover {
    text-decoration: underline;
}

/* Licensing */
.noble_copyright_holder {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-top: 0;
    margin-bottom: 10px;
}

.noble_cc_badge {
    margin-bottom: 12px;
}

.noble_cc_badge img {
    border-radius: 4px;
}

.noble_copyright_link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: underline;
    display: block;
    margin-bottom: 10px;
}

.noble_license_terms {
    font-size: 0.78rem;
    color: #666;
    line-height: 1.5;
}

/* Pubids */
.noble_pubids_body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.noble_pubid_item {
    font-size: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.noble_pubid_lbl {
    font-weight: 600;
    color: var(--text);
}

.noble_pubid_val a {
    color: var(--primary);
    text-decoration: none;
}

.noble_pubid_val a:hover {
    text-decoration: underline;
}

/* Responsive Rules */
@media (max-width: 991px) {
    .noble_article_grid {
        flex-direction: column;
    }
    .noble_article_sidebar {
        width: 100%;
    }
    .noble_article_title {
        font-size: 1.75rem !important;
    }
    .noble_article_subtitle {
        font-size: 1.1rem !important;
    }
    .noble_card {
        padding: 20px;
    }
    .noble_article_hero {
        padding: 25px;
    }
    .noble_author_item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .noble_author_badges {
        width: 100%;
        display: flex;
    }
    .noble_orcid_badge {
        width: 100%;
        justify-content: center;
    }
}

/* =====================================================
 * Dark Mode support for Premium Article View
 * ===================================================== */

body.dark-mode .noble_article_hero {
    background: var(--white) !important;
    border-color: var(--border) !important;
}

body.dark-mode .noble_article_hero::after {
    background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.08)) !important;
}

body.dark-mode .noble_section_badge {
    background: rgba(20, 184, 166, 0.1) !important;
    color: var(--primary) !important;
}

body.dark-mode .noble_doi_pill {
    border-color: var(--primary) !important;
}

body.dark-mode .noble_doi_pill .badge_lbl {
    background: var(--primary) !important;
    color: #090d16 !important;
}

body.dark-mode .noble_doi_pill .badge_val {
    color: var(--primary) !important;
}

body.dark-mode .noble_doi_pill .badge_val:hover {
    background: rgba(20, 184, 166, 0.1) !important;
}

body.dark-mode .noble_article_title {
    color: #f8fafc !important;
}

body.dark-mode .noble_article_subtitle {
    color: #cbd5e1 !important;
}

body.dark-mode .noble_hero_metabar {
    border-top-color: var(--border) !important;
}

body.dark-mode .noble_hero_metabar .meta_item {
    color: #94a3b8 !important;
}

body.dark-mode .noble_hero_metabar .meta_item i {
    color: var(--primary) !important;
}

body.dark-mode .noble_hero_issue_link {
    color: var(--primary) !important;
}

body.dark-mode .noble_card {
    background: var(--white) !important;
    border-color: var(--border) !important;
}

body.dark-mode .noble_card_title {
    color: #f8fafc !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

body.dark-mode .noble_card_title i {
    color: var(--primary) !important;
}

body.dark-mode .noble_author_item {
    background: #0f172a !important;
    border-left-color: var(--primary) !important;
}

body.dark-mode .noble_author_name {
    color: #f8fafc !important;
}

body.dark-mode .noble_author_affiliation {
    color: #94a3b8 !important;
}

body.dark-mode .noble_author_affiliation i {
    color: var(--primary) !important;
}

body.dark-mode .noble_orcid_badge {
    background: rgba(46, 125, 50, 0.15) !important;
    color: #81c784 !important;
    border-color: rgba(76, 175, 80, 0.3) !important;
}

body.dark-mode .noble_orcid_badge:hover {
    background: #2e7d32 !important;
    color: var(--white) !important;
}

body.dark-mode .noble_abstract_text {
    color: #cbd5e1 !important;
}

body.dark-mode .noble_tag_pill {
    background: #1e293b !important;
    color: #94a3b8 !important;
    border-color: #334155 !important;
}

body.dark-mode .noble_tag_pill:hover {
    background: rgba(20, 184, 166, 0.1) !important;
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

body.dark-mode .noble_bio_item {
    border-bottom-color: var(--border) !important;
}

body.dark-mode .noble_bio_author_name {
    color: #f8fafc !important;
}

body.dark-mode .noble_bio_author_name .affiliation_bio {
    color: #94a3b8 !important;
}

body.dark-mode .noble_bio_content {
    color: #cbd5e1 !important;
}

body.dark-mode .noble_citations_parsed li {
    color: #cbd5e1 !important;
}

body.dark-mode .noble_citations_raw {
    color: #cbd5e1 !important;
}

body.dark-mode .noble_side_card {
    background: var(--white) !important;
    border-color: var(--border) !important;
}

body.dark-mode .noble_side_title {
    color: #f8fafc !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

body.dark-mode .noble_side_title i {
    color: var(--primary) !important;
}

body.dark-mode .noble_galley_links_list .obj_galley_link.pdf {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%) !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15) !important;
}

body.dark-mode .noble_galley_links_list .obj_galley_link:not(.pdf) {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    color: #090d16 !important;
}

body.dark-mode .noble_galley_links_list .obj_galley_link:not(.pdf):hover {
    color: #ffffff !important;
}

body.dark-mode .noble_galley_links_list .obj_galley_link_supplementary {
    background: #1e293b !important;
    color: var(--primary) !important;
    border-color: #334155 !important;
}

body.dark-mode .noble_galley_links_list .obj_galley_link_supplementary:hover {
    background: rgba(20, 184, 166, 0.1) !important;
    border-color: var(--primary) !important;
}

body.dark-mode .noble_citation_output {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
    border-left-color: var(--primary) !important;
}

body.dark-mode .noble_citation_toggle_btn {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

body.dark-mode .noble_citation_toggle_btn:hover {
    background: var(--primary) !important;
    color: #090d16 !important;
}

body.dark-mode .noble_citation_dropdown_list {
    background: var(--white) !important;
    border-color: var(--border) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
}

body.dark-mode .noble_citation_styles_ul {
    border-bottom-color: var(--border) !important;
}

body.dark-mode .noble_citation_styles_ul li a {
    color: #cbd5e1 !important;
}

body.dark-mode .noble_citation_styles_ul li a:hover {
    background: var(--primary-light) !important;
    color: var(--primary) !important;
}

body.dark-mode .noble_citation_downloads_lbl {
    color: #64748b !important;
}

body.dark-mode .noble_citation_downloads_ul li a {
    color: #cbd5e1 !important;
}

body.dark-mode .noble_citation_downloads_ul li a:hover {
    background: var(--primary-light) !important;
    color: var(--primary) !important;
}

body.dark-mode .noble_side_cover {
    border-color: var(--border) !important;
}

body.dark-mode .noble_issue_name a {
    color: #f8fafc !important;
}

body.dark-mode .noble_issue_name a:hover {
    color: var(--primary) !important;
}

body.dark-mode .noble_side_lbl {
    color: #64748b !important;
}

body.dark-mode .noble_side_categories_ul li a {
    color: var(--primary) !important;
}

body.dark-mode .noble_copyright_holder {
    color: #f8fafc !important;
}

body.dark-mode .noble_copyright_link {
    color: var(--primary) !important;
}

body.dark-mode .noble_license_terms {
    color: #94a3b8 !important;
}

body.dark-mode .noble_pubid_lbl {
    color: #f8fafc !important;
}

body.dark-mode .noble_pubid_val a {
    color: var(--primary) !important;
}

/* Outdated warning in dark mode */
body.dark-mode .noble_alert_warning {
    background: rgba(245, 158, 11, 0.1) !important;
    border-color: rgba(245, 158, 11, 0.2) !important;
    color: #f59e0b !important;
}
body.dark-mode .noble_alert_info {
    background: rgba(59, 130, 246, 0.1) !important;
    border-color: rgba(59, 130, 246, 0.2) !important;
    color: #3b82f6 !important;
}