/* ==========================================================================
   Space Research Journal - Global Theme (Header, Footer & Responsive Styles)
   Applies to all pages with full mobile responsiveness
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Inter:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

:root {
    --ijrs-primary: #1976d2;
    --ijrs-primary-hover: #1565c0;
    --ijrs-accent: #38bdf8;
    --ijrs-dark-bg: #030a17;
    --ijrs-footer-bg: #040e1f;
    --ijrs-text-dark: #0c2340;
    --ijrs-text-body: #334155;
    --ijrs-text-muted: #64748b;
    --ijrs-bg-light: #f0f5fa;
    --ijrs-card-bg: #ffffff;
    --ijrs-border: #e2e8f0;
}

/* Global Font & Body Reset */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
    color: var(--ijrs-text-body);
    background-color: var(--ijrs-bg-light) !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Base Container */
.ijrs-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Hide default PKP header elements replaced by our custom header */
.pkp_structure_head,
#headerNavigationContainer {
    display: none !important;
}

/* Hide default PKP footer replaced by our custom footer */
.pkp_structure_footer_wrapper {
    display: none !important;
}

/* Hide legacy PKP default sidebar widgets that duplicate content */
.pkp_structure_sidebar {
    display: none !important;
}

.pkp_structure_content.has_sidebar {
    padding-right: 0 !important;
}

/* Hide default PKP breadcrumbs because custom space banner provides rich breadcrumbs */
.cmp_breadcrumbs {
    display: none !important;
}

/* Global Layout Containers for OJS */
.pkp_structure_page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.pkp_structure_content {
    flex: 1 0 auto;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.pkp_structure_main {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

/* Default styling for inner pages (About, Submissions, Current, Archive, etc.) */
body:not(.pkp_page_index) .pkp_structure_main {
    max-width: 1240px !important;
    margin: 30px auto 60px !important;
    padding: 0 20px !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
}

body:not(.pkp_page_index) .page:not(.ijrs-about-wrapper) {
    max-width: 100%;
    background: #ffffff;
    border-radius: 18px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    border: 1px solid var(--ijrs-border);
}

body:not(.pkp_page_index) .pkp_structure_main h1,
body:not(.pkp_page_index) .pkp_structure_main h2 {
    font-family: 'Outfit', sans-serif;
    color: var(--ijrs-text-dark);
    margin-top: 0;
}

/* ==========================================================================
   TOP UTILITY BAR
   ========================================================================== */
.ijrs-topbar {
    background: var(--ijrs-dark-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    color: #94a3b8;
    padding: 9px 0;
    position: relative;
    z-index: 1001;
}

.ijrs-topbar .ijrs-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ijrs-topbar a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ijrs-topbar a:hover {
    color: var(--ijrs-accent);
}

.ijrs-topbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ijrs-topbar-left svg {
    color: var(--ijrs-accent);
    flex-shrink: 0;
}

.ijrs-topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ijrs-topbar-divider {
    color: #475569;
}

/* ==========================================================================
   MAIN NAVIGATION BAR
   ========================================================================== */
.ijrs-navbar {
    background: #ffffff;
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.ijrs-navbar .ijrs-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 16px;
    position: relative;
}

/* Logo */
.ijrs-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #0f172a;
    flex-shrink: 0;
}

.ijrs-logo-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.ijrs-logo-img {
    max-height: 52px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    display: block;
}

.ijrs-footer-logo-img {
    max-height: 56px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    display: block;
}

.ijrs-logo-text {
    display: flex;
    flex-direction: column;
}

.ijrs-logo-title {
    font-family: 'Outfit', sans-serif;
    font-size: 15.5px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--ijrs-text-dark);
    letter-spacing: -0.2px;
}

.ijrs-logo-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--ijrs-text-dark);
}

.ijrs-logo-subtitle span {
    color: var(--ijrs-primary);
    font-weight: 800;
}

/* Three dots indicator after logo name */
.ijrs-logo-dots {
    display: inline-flex;
    align-items: center;
    gap: 4.5px;
    margin-left: 6px;
    align-self: center;
}

.ijrs-logo-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0284c7;
    display: inline-block;
    transition: all 0.25s ease;
}

.ijrs-logo-dots span:nth-child(1) {
    background: #0284c7;
}

.ijrs-logo-dots span:nth-child(2) {
    background: #38bdf8;
}

.ijrs-logo-dots span:nth-child(3) {
    background: #10b981;
}

.ijrs-logo:hover .ijrs-logo-dots span {
    transform: translateY(-2px);
}

.ijrs-logo:hover .ijrs-logo-dots span:nth-child(2) {
    transition-delay: 0.05s;
}

.ijrs-logo:hover .ijrs-logo-dots span:nth-child(3) {
    transition-delay: 0.1s;
}

.ijrs-logo-dots-footer {
    align-self: flex-start;
    margin-top: 6px;
}


/* Navigation Menu */
.ijrs-nav-menu-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ijrs-nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}

.ijrs-nav-item {
    position: relative;
}

.ijrs-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 20px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.ijrs-nav-link:hover {
    color: var(--ijrs-primary);
    background: #f1f5f9;
}

/* Active Pill Style (like "About" in user screenshot or current page) */
.ijrs-nav-link.active,
.ijrs-nav-link.pill-active {
    background: var(--ijrs-primary);
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.35);
}

.ijrs-nav-link.pill-active svg {
    color: #ffffff;
}

/* Review Process indicator dot & content wrapper */
.ijrs-nav-link-content {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ijrs-dot-indicator {
    width: 8px;
    height: 8px;
    background-color: var(--ijrs-primary);
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.ijrs-nav-link.active .ijrs-dot-indicator,
.ijrs-nav-link.pill-active .ijrs-dot-indicator {
    background-color: #ffffff;
}

/* Dropdown Menu */
.ijrs-dropdown {
    position: relative;
}

.ijrs-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 230px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    padding: 8px 0;
    list-style: none;
    margin: 8px 0 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 1010;
    border: 1px solid var(--ijrs-border);
}

.ijrs-dropdown:hover .ijrs-dropdown-menu,
.ijrs-dropdown.show .ijrs-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ijrs-dropdown-item a {
    display: block;
    padding: 10px 18px;
    color: #334155;
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s ease;
}

.ijrs-dropdown-item a:hover {
    background: #f0f7ff;
    color: var(--ijrs-primary);
    padding-left: 22px;
}

/* Search Bar & Trigger */
.ijrs-search-container {
    display: flex;
    align-items: center;
    position: relative;
}

.ijrs-search-trigger {
    background: none;
    border: none;
    color: #334155;
    cursor: pointer;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.ijrs-search-trigger:hover {
    color: var(--ijrs-primary);
    background: #f1f5f9;
}

/* Search Dropdown / Popup */
.ijrs-search-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: #ffffff;
    padding: 10px 12px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.14);
    border: 1px solid var(--ijrs-border);
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    z-index: 1020;
    width: 320px;
}

.ijrs-search-container.active .ijrs-search-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ijrs-search-dropdown input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 13.5px;
    color: var(--ijrs-text-dark);
    width: 100%;
    padding: 4px 8px;
}

.ijrs-search-dropdown-btn {
    background: var(--ijrs-primary);
    color: #ffffff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
}

.ijrs-search-dropdown-btn:hover {
    background: var(--ijrs-primary-hover);
}

/* Mobile Hamburger Toggle */
.ijrs-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.ijrs-mobile-toggle:hover {
    background: #f1f5f9;
}

.ijrs-mobile-toggle span {
    display: block;
    width: 22px;
    height: 2.2px;
    background: var(--ijrs-text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.ijrs-mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.ijrs-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.ijrs-mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   FOOTER (Exact 3-Column + PKP Bottom Bar)
   ========================================================================== */
.ijrs-footer-wrapper {
    background: var(--ijrs-footer-bg);
    color: #94a3b8;
    position: relative;
    padding: 0;
    margin-top: auto;
}

.ijrs-footer-wave {
    position: relative;
    top: -1px;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.ijrs-footer-wave svg {
    display: block;
    width: 100%;
    height: 50px;
}

.ijrs-footer-main {
    padding: 40px 0 35px;
}

.ijrs-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.4fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Column 1: Logo & Mission */
.ijrs-footer-col-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ijrs-footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.ijrs-footer-logo-title {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
}

.ijrs-footer-logo-title span {
    color: var(--ijrs-accent);
}

.ijrs-footer-tagline {
    font-size: 13.5px;
    color: #94a3b8;
    line-height: 1.5;
    margin: 4px 0 0;
    max-width: 320px;
}

/* Column 2: Quick Links (2-column layout like in user screenshot) */
.ijrs-footer-col-links h4,
.ijrs-footer-col-contact h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 15.5px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px;
}

.ijrs-footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 10px 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ijrs-footer-links-grid li a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 13.5px;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}

.ijrs-footer-links-grid li a:hover {
    color: var(--ijrs-accent);
    padding-left: 4px;
}

/* Column 3: Contact */
.ijrs-footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.ijrs-contact-icon-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.15);
    color: var(--ijrs-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ijrs-footer-contact-item a {
    color: #38bdf8;
    text-decoration: none;
    font-size: 13.5px;
    word-break: break-all;
    transition: color 0.2s;
}

.ijrs-footer-contact-item a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.ijrs-footer-social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ijrs-footer-social-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ijrs-footer-social-btn:hover {
    background: var(--ijrs-primary);
    transform: translateY(-2px);
    color: #ffffff;
}

/* Footer Bottom Bar */
.ijrs-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    font-size: 12.5px;
    color: #94a3b8;
}

.ijrs-footer-bottom .ijrs-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

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

.ijrs-footer-bottom a:hover {
    text-decoration: underline;
}

.ijrs-footer-pkp {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #cbd5e1;
}

.ijrs-footer-pkp span {
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Mobile Menu Collapse / Open)
   ========================================================================== */
@media (max-width: 1024px) {
    .ijrs-nav-menu-wrap {
        gap: 10px;
    }

    .ijrs-nav-link {
        padding: 7px 10px;
        font-size: 13.5px;
    }

    .ijrs-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .ijrs-footer-col-contact {
        grid-column: span 2;
    }
}

@media (max-width: 900px) {

    /* Ensure Navbar container stays in a single row with logo and toggle aligned */
    .ijrs-navbar .ijrs-container {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    /* Reveal Mobile Toggle */
    .ijrs-mobile-toggle {
        display: flex !important;
        margin-left: auto;
    }

    /* Collapse Nav Menu into Mobile Drawer */
    .ijrs-nav-menu-wrap {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        box-shadow: 0 15px 30px rgba(15, 23, 42, 0.15);
        border-bottom: 2px solid var(--ijrs-border);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1005;
    }

    .ijrs-nav-menu-wrap.is-open {
        max-height: 80vh;
        opacity: 1;
        visibility: visible;
        padding: 16px 20px 24px;
        overflow-y: auto;
    }

    .ijrs-nav-menu {
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 4px !important;
        width: 100% !important;
        text-align: left !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .ijrs-nav-item {
        width: 100% !important;
        text-align: left !important;
    }

    .ijrs-nav-link {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        padding: 12px 16px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        border-radius: 10px !important;
        color: #1e293b !important;
        text-align: left !important;
        box-sizing: border-box !important;
        transition: all 0.2s ease !important;
    }

    .ijrs-nav-link:hover,
    .ijrs-nav-link:active {
        background: #f1f5f9 !important;
        color: var(--ijrs-primary) !important;
    }

    .ijrs-nav-link.active,
    .ijrs-nav-link.pill-active {
        background: var(--ijrs-primary) !important;
        color: #ffffff !important;
    }

    .ijrs-nav-link.active svg,
    .ijrs-nav-link.pill-active svg {
        stroke: #ffffff !important;
    }

    /* Mobile Submenu / Dropdown */
    .ijrs-dropdown-menu {
        position: static !important;
        box-shadow: none !important;
        border: 1px solid #e2e8f0 !important;
        background: #f8fafc !important;
        border-radius: 10px !important;
        margin: 6px 0 10px 14px !important;
        padding: 6px 0 !important;
        display: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        width: calc(100% - 14px) !important;
        box-sizing: border-box !important;
    }

    .ijrs-dropdown.is-open > .ijrs-dropdown-menu {
        display: block !important;
        animation: ijrsFadeIn 0.2s ease;
    }

    .ijrs-dropdown.is-open > .ijrs-dropdown-toggle svg {
        transform: rotate(180deg);
    }

    .ijrs-dropdown-toggle svg {
        transition: transform 0.25s ease;
        flex-shrink: 0;
        margin-left: auto;
    }

    .ijrs-dropdown-item {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }

    .ijrs-dropdown-item a {
        display: flex !important;
        align-items: center !important;
        padding: 10px 16px !important;
        color: #475569 !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        text-decoration: none !important;
        border-radius: 6px !important;
        transition: all 0.15s ease !important;
        text-align: left !important;
    }

    .ijrs-dropdown-item a:hover {
        background: #e2e8f0 !important;
        color: var(--ijrs-primary) !important;
        padding-left: 20px !important;
    }

    /* Inline Mobile Search in Drawer */
    .ijrs-search-container {
        width: 100%;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid var(--ijrs-border);
    }

    .ijrs-search-dropdown {
        position: static;
        margin-top: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        width: 100%;
        background: #f1f5f9;
        border-radius: 25px;
    }

    .ijrs-search-trigger {
        display: none;
    }
}

@media (max-width: 680px) {
    .ijrs-topbar .ijrs-container {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .ijrs-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ijrs-footer-col-contact {
        grid-column: span 1;
    }

    .ijrs-footer-links-grid {
        grid-template-columns: 1fr;
    }

    .ijrs-footer-bottom .ijrs-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

.pkp_structure_main:before,
.pkp_structure_main:after {
    display: none;
}

/* ==========================================================================
   UNIVERSAL INNER PAGE BANNER (Applies across all non-index pages)
   ========================================================================== */
.ijrs-inner-banner {
    position: relative;
    background-color: #030a17;
    background-image:
        linear-gradient(135deg, rgba(3, 10, 23, 0.92) 0%, rgba(3, 10, 23, 0.70) 50%, rgba(3, 10, 23, 0.92) 100%),
        url('images/space/hero-bg.jpg');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    padding: 45px 0 50px;
    color: #ffffff;
    border-bottom: 1px solid rgba(56, 189, 248, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.ijrs-inner-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 30%, rgba(56, 189, 248, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.ijrs-inner-banner .ijrs-container {
    position: relative;
    z-index: 2;
}

.ijrs-inner-banner-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 12px;
}

.ijrs-inner-banner-breadcrumbs a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ijrs-inner-banner-breadcrumbs a:hover {
    color: #38bdf8;
}

.ijrs-crumb-sep {
    color: #64748b;
    font-size: 14px;
}

.ijrs-crumb-current {
    color: #94a3b8;
}

.ijrs-inner-banner-title {
    font-family: 'Outfit', -apple-system, sans-serif !important;
    font-size: 38px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 12px 0 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.5px;
}

.ijrs-inner-banner-title span {
    color: #1976d2;
    background: linear-gradient(135deg, #38bdf8 0%, #1976d2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ijrs-inner-banner-tagline {
    font-size: 15px;
    color: #cbd5e1;
    max-width: 680px;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

/* ==========================================================================
   ABOUT PAGE - 2 COLUMN MODERN CARD LAYOUT
   ========================================================================== */
.ijrs-about-wrapper {
    width: 100%;
}

.ijrs-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 30px;
    align-items: start;
}

/* Main Column & Cards */
.ijrs-about-main-col {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.ijrs-about-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 32px 36px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ijrs-about-card:hover {
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}

.ijrs-about-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.ijrs-about-icon-pill {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ijrs-icon-blue {
    background: linear-gradient(135deg, #1976d2 0%, #0284c7 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.25);
}

.ijrs-icon-orange {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
}

.ijrs-icon-teal {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

.ijrs-icon-purple {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

.ijrs-about-card-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #0c2340 !important;
    margin: 0 !important;
    line-height: 1.25;
}

.ijrs-about-card-body {
    font-size: 14.5px;
    line-height: 1.75;
    color: #475569;
}

.ijrs-about-card-body p {
    margin: 0 0 16px 0;
}

.ijrs-about-card-body p:last-child {
    margin-bottom: 0;
}

.ijrs-text-link {
    color: #1976d2;
    text-decoration: underline;
    font-weight: 600;
}

.ijrs-text-link:hover {
    color: #0284c7;
}

/* Aims and Scope: Image + Checklist split */
.ijrs-scope-feature-split {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    align-items: center;
    margin-top: 22px;
}

.ijrs-scope-image-col {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
}

.ijrs-scope-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.ijrs-scope-image-col:hover .ijrs-scope-img {
    transform: scale(1.04);
}

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

.ijrs-scope-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #334155;
    font-weight: 500;
}

.ijrs-check-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0284c7;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Peer Review: 4-Step Process */
.ijrs-workflow-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 28px;
    padding: 24px 20px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.ijrs-workflow-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 8px;
}

.ijrs-step-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: transform 0.2s ease;
}

.ijrs-step-badge:hover {
    transform: translateY(-2px);
}

.ijrs-badge-blue {
    background: #e0f2fe;
    color: #0284c7;
    border: 1.5px solid #bae6fd;
}

.ijrs-badge-green {
    background: #dcfce7;
    color: #16a34a;
    border: 1.5px solid #bbf7d0;
}

.ijrs-badge-purple {
    background: #ede9fe;
    color: #7c3aed;
    border: 1.5px solid #ddd6fe;
}

.ijrs-badge-orange {
    background: #ffedd5;
    color: #ea580c;
    border: 1.5px solid #fed7aa;
}

.ijrs-step-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 14.5px;
    color: #0f172a;
    margin-bottom: 4px;
}

.ijrs-step-desc {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.4;
    max-width: 130px;
}

.ijrs-workflow-arrow {
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: -24px;
}

/* ==========================================================================
   ABOUT SIDEBAR
   ========================================================================== */
.ijrs-about-sidebar-col {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.ijrs-sidebar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.ijrs-sidebar-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
}

.ijrs-heading-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    margin-right: 8px;
    display: inline-block;
}

/* OJS Card Banner */
.ijrs-submission-banner-card {
    position: relative;
    background: #03152f;
    border-radius: 16px;
    padding: 26px 22px;
    overflow: hidden;
    color: #ffffff;
    border: 1px solid rgba(56, 189, 248, 0.3);
    box-shadow: 0 8px 24px rgba(3, 21, 47, 0.25);
}

.ijrs-sub-card-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    height: 100%;
    background-size: cover;
    background-position: right center;
    opacity: 0.45;
    mix-blend-mode: luminosity;
    pointer-events: none;
}

.ijrs-sub-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #03152f 45%, rgba(3, 21, 47, 0.8) 100%);
    pointer-events: none;
}

.ijrs-sub-card-content {
    position: relative;
    z-index: 2;
}

.ijrs-sub-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.7) 0%, rgba(14, 165, 233, 0.4) 100%);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin-bottom: 18px;
}

.ijrs-sub-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 21px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px 0;
    letter-spacing: -0.2px;
}

.ijrs-sub-card-text {
    font-size: 13.5px;
    color: #cbd5e1;
    line-height: 1.5;
    margin: 0 0 22px 0;
}

.ijrs-sub-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #0284c7 !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    padding: 11px 26px;
    border-radius: 30px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    transition: all 0.25s ease;
}

.ijrs-sub-card-btn:hover {
    background: #f8fafc;
    color: #0369a1 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.ijrs-sub-card-btn svg {
    color: #0284c7;
    transition: transform 0.2s ease;
}

.ijrs-sub-card-btn:hover svg {
    transform: translateX(4px);
}

/* Sidebar Nav List */
.ijrs-sidebar-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ijrs-sidebar-link {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 10px;
    color: #334155;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    transition: background 0.15s ease, color 0.15s ease;
}

.ijrs-sidebar-link:hover {
    background: #f1f5f9;
    color: #1976d2;
}

.ijrs-sidebar-link-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
}

.ijrs-slink-blue {
    color: #1976d2;
}

.ijrs-slink-cyan {
    color: #0284c7;
}

.ijrs-slink-light {
    color: #0ea5e9;
}

.ijrs-slink-circle {
    color: #0284c7;
}

.ijrs-sidebar-link-text {
    flex: 1;
}

.ijrs-sidebar-chevron {
    color: #94a3b8;
    transition: transform 0.2s ease, color 0.2s ease;
}

.ijrs-sidebar-link:hover .ijrs-sidebar-chevron {
    color: #1976d2;
    transform: translateX(3px);
}

/* Quick Facts Grid */
.ijrs-quick-facts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 12px;
}

.ijrs-qf-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.ijrs-qf-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ijrs-qf-blue {
    background: #e0f2fe;
    color: #0284c7;
}

.ijrs-qf-teal {
    background: #ccfbf1;
    color: #0d9488;
}

.ijrs-qf-purple {
    background: #f3e8ff;
    color: #7c3aed;
}

.ijrs-qf-cyan {
    background: #e0f2fe;
    color: #0284c7;
}

.ijrs-qf-info {
    flex: 1;
}

.ijrs-qf-title {
    font-weight: 700;
    font-size: 12.5px;
    color: #0f172a;
    line-height: 1.3;
}

.ijrs-qf-desc {
    font-size: 11px;
    color: #64748b;
    line-height: 1.3;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS FOR ABOUT PAGE & BANNER
   ========================================================================== */
@media (max-width: 1040px) {
    .ijrs-about-grid {
        grid-template-columns: 1fr;
    }

    .ijrs-about-sidebar-col {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .ijrs-submission-banner-card {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .ijrs-inner-banner {
        padding: 35px 0 40px;
        background-position: center center;
    }

    .ijrs-inner-banner-title {
        font-size: 28px !important;
    }

    .ijrs-inner-banner-tagline {
        font-size: 14px;
    }

    .ijrs-about-card {
        padding: 24px 20px;
    }

    .ijrs-about-card-title {
        font-size: 19px !important;
    }

    .ijrs-scope-feature-split {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ijrs-scope-img {
        height: 200px;
    }

    .ijrs-workflow-container {
        flex-direction: column;
        gap: 16px;
        padding: 20px 14px;
    }

    .ijrs-workflow-arrow {
        transform: rotate(90deg);
        margin: 4px 0;
    }

    .ijrs-about-sidebar-col {
        grid-template-columns: 1fr;
    }

    .ijrs-submission-banner-card {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .ijrs-quick-facts-grid {
        grid-template-columns: 1fr;
    }

    .ijrs-topbar {
        padding: 6px 0;
        font-size: 11.5px;
    }

    .ijrs-topbar-left {
        gap: 6px;
        word-break: break-all;
    }

    .ijrs-topbar-right {
        gap: 8px;
    }

    .ijrs-logo {
        gap: 8px;
    }

    .ijrs-logo-icon {
        width: 36px;
        height: 36px;
    }

    .ijrs-logo-title {
        font-size: 13px;
    }

    .ijrs-logo-subtitle {
        font-size: 12px;
    }

    .ijrs-inner-banner {
        padding: 28px 0 32px;
    }

    .ijrs-inner-banner-title {
        font-size: 24px !important;
        margin-bottom: 8px !important;
    }

    .ijrs-inner-banner-tagline {
        font-size: 13px;
        line-height: 1.5;
    }
}

.pkp_structure_main h1,
.pkp_structure_main h2,
.pkp_structure_main h3,
.pkp_structure_main h4 {
    margin: 0rem 0 0rem;
}

.ijrs-about-card-title {
    margin: 0 !important;
}

.ijrs-dynamic-about-content {
    font-size: 14.5px;
    line-height: 1.8;
    color: #475569;
}

.ijrs-dynamic-about-content p {
    margin: 0 0 16px 0;
}

.ijrs-dynamic-about-content p:last-child {
    margin-bottom: 0;
}

.ijrs-dynamic-about-content h2,
.ijrs-dynamic-about-content h3 {
    font-family: 'Outfit', sans-serif;
    color: #0c2340;
    margin-top: 20px;
    margin-bottom: 10px;
}



.pkp_structure_main h1,
.pkp_structure_main h2,
.pkp_structure_main h3,
.pkp_structure_main h4 {
    margin: 0rem;
}

/* ==========================================================================
   AUTHENTICATION PAGES (LOGIN & REGISTER)
   ========================================================================== */
.ijrs-auth-container {
    width: 100%;
    max-width: 540px;
    margin: 20px auto 40px;
    padding: 0 16px;
}

.ijrs-register-container {
    max-width: 780px;
}

.ijrs-auth-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 38px;
    box-shadow: 0 10px 35px -5px rgba(15, 23, 42, 0.08), 0 0 1px 1px rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.9);
    position: relative;
    overflow: hidden;
}

.ijrs-auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1976d2 0%, #38bdf8 50%, #818cf8 100%);
}

.ijrs-auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.ijrs-auth-icon-badge {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.1) 0%, rgba(56, 189, 248, 0.15) 100%);
    color: var(--ijrs-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.12);
}

.ijrs-auth-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #0c2340 !important;
    margin: 0 0 8px 0 !important;
}

.ijrs-auth-subtitle {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* Alerts */
.ijrs-auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13.5px;
    margin-bottom: 22px;
    line-height: 1.5;
}

.ijrs-auth-alert-danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.ijrs-auth-alert-danger svg {
    color: #dc2626;
    flex-shrink: 0;
    margin-top: 1px;
}

.ijrs-auth-alert-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

.ijrs-auth-alert-info svg {
    color: #2563eb;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Form Structure */
.ijrs-auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ijrs-form-section {
    border-top: 1px solid #f1f5f9;
    padding-top: 24px;
    margin-top: 6px;
}

.ijrs-form-section:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.ijrs-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.ijrs-section-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--ijrs-primary);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ijrs-section-title h3 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    margin: 0 !important;
}

.ijrs-form-grid {
    display: grid;
    gap: 16px;
}

.ijrs-grid-2 {
    grid-template-columns: 1fr 1fr;
}

.ijrs-form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.ijrs-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ijrs-form-label {
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ijrs-required-mark {
    color: #ef4444;
    font-weight: bold;
}

.ijrs-optional-text {
    font-size: 12px;
    font-weight: 400;
    color: #94a3b8;
    margin-left: 4px;
}

.ijrs-forgot-link {
    font-size: 12.5px;
    color: var(--ijrs-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.ijrs-forgot-link:hover {
    color: var(--ijrs-primary-hover);
    text-decoration: underline;
}

.ijrs-input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.ijrs-input-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.ijrs-input-with-icon .ijrs-form-input {
    padding-left: 42px;
}

.ijrs-form-input,
.ijrs-form-select {
    width: 100%;
    padding: 12px 15px;
    font-size: 14px;
    color: #0f172a;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.2s ease;
    font-family: inherit;
    outline: none;
}

.ijrs-form-input:focus,
.ijrs-form-select:focus {
    background: #ffffff;
    border-color: var(--ijrs-primary);
    box-shadow: 0 0 0 3.5px rgba(25, 118, 210, 0.12);
}

.ijrs-form-input::placeholder {
    color: #94a3b8;
}

/* Custom Checkbox */
.ijrs-form-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 4px 0;
}

.ijrs-checkbox-label {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13.5px;
    color: #334155;
    line-height: 1.5;
    user-select: none;
}

.ijrs-checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.ijrs-checkbox-custom {
    width: 18px;
    height: 18px;
    border: 1.5px solid #cbd5e1;
    border-radius: 5px;
    background: #ffffff;
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
    transition: all 0.2s ease;
}

.ijrs-checkbox-label input[type="checkbox"]:checked ~ .ijrs-checkbox-custom {
    background: var(--ijrs-primary);
    border-color: var(--ijrs-primary);
}

.ijrs-checkbox-label input[type="checkbox"]:checked ~ .ijrs-checkbox-custom::after {
    content: '';
    position: absolute;
    left: 5.5px;
    top: 2px;
    width: 4.5px;
    height: 9px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

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

.ijrs-checkbox-text a:hover {
    text-decoration: underline;
}

/* Reviewer & Consents Box */
.ijrs-reviewer-box,
.ijrs-consents-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px;
    margin: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ijrs-recaptcha-wrapper {
    margin: 10px 0;
}

/* Submit Actions */
.ijrs-form-actions {
    margin-top: 10px;
}

.ijrs-btn-submit {
    width: 100%;
    padding: 13px 24px;
    background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(25, 118, 210, 0.3);
    transition: all 0.2s ease;
}

.ijrs-btn-submit:hover {
    background: linear-gradient(135deg, #1565c0 0%, #0a3880 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(25, 118, 210, 0.4);
}

.ijrs-btn-submit:active {
    transform: translateY(0);
}

.ijrs-auth-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
    font-size: 13.5px;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ijrs-auth-switch-link {
    color: var(--ijrs-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ijrs-auth-switch-link:hover {
    color: var(--ijrs-primary-hover);
    text-decoration: underline;
}

/* ==========================================================================
   SEARCH PAGE DESIGN
   ========================================================================== */
.ijrs-search-page-wrapper {
    width: 100%;
    padding: 10px 0 50px;
}

.ijrs-search-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 38px 40px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
    border: 1px solid var(--ijrs-border);
    margin-bottom: 35px;
    position: relative;
    overflow: hidden;
}

.ijrs-search-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1976d2 0%, #38bdf8 50%, #06b6d4 100%);
}

.ijrs-search-header-intro {
    margin-bottom: 24px;
    text-align: center;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.ijrs-search-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(25, 118, 210, 0.08);
    color: var(--ijrs-primary);
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.ijrs-search-main-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #0c2340 !important;
    margin: 0 0 10px 0 !important;
}

.ijrs-search-main-subtitle {
    font-size: 14.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* Main Input Bar */
.ijrs-search-input-box {
    display: flex;
    gap: 12px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 6px;
    transition: all 0.25s ease;
}

.ijrs-search-input-box:focus-within {
    border-color: var(--ijrs-primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(25, 118, 210, 0.12);
}

.ijrs-search-input-inner {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 12px;
}

.ijrs-search-input-icon {
    color: #94a3b8;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.ijrs-search-field-input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    color: #0f172a;
    font-family: inherit;
    padding: 10px 0;
}

.ijrs-search-field-input::placeholder {
    color: #94a3b8;
}

.ijrs-search-clear-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    border-radius: 50%;
    transition: color 0.2s ease;
}

.ijrs-search-clear-btn:hover {
    color: #334155;
}

.ijrs-search-submit-btn {
    padding: 13px 28px;
    background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.28);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.ijrs-search-submit-btn:hover {
    background: linear-gradient(135deg, #1565c0 0%, #0a3880 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(25, 118, 210, 0.38);
}

/* Advanced Filters Accordion */
.ijrs-advanced-filters-panel {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
}

.ijrs-filters-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ijrs-filter-toggle-btn {
    background: transparent;
    border: none;
    color: #475569;
    font-size: 13.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.ijrs-filter-toggle-btn:hover {
    background: #f1f5f9;
    color: var(--ijrs-primary);
}

.ijrs-filter-toggle-btn .ijrs-chevron-icon {
    transition: transform 0.25s ease;
}

.ijrs-filter-toggle-btn[aria-expanded="true"] .ijrs-chevron-icon {
    transform: rotate(180deg);
}

.ijrs-reset-filters-link {
    font-size: 13px;
    color: #ef4444;
    text-decoration: none;
    font-weight: 500;
}

.ijrs-reset-filters-link:hover {
    text-decoration: underline;
}

.ijrs-filter-fields-wrap {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.ijrs-filter-fields-wrap.is-open {
    display: block;
    animation: ijrsFadeIn 0.2s ease;
}

@keyframes ijrsFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.ijrs-filter-fields-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.ijrs-filter-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ijrs-filter-label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ijrs-date-select-wrap select {
    padding: 9px 10px;
    font-size: 13px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    margin-right: 4px;
    margin-bottom: 4px;
    outline: none;
}

.ijrs-filter-actions {
    margin-top: 16px;
    display: flex;
    justify-content: flex-end;
}

.ijrs-filter-apply-btn {
    padding: 8px 18px;
    background: var(--ijrs-primary);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.ijrs-filter-apply-btn:hover {
    background: var(--ijrs-primary-hover);
}

/* Results Section */
.ijrs-search-results-section {
    margin-top: 20px;
}

.ijrs-results-header {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ijrs-results-count {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ijrs-results-pill {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 13px;
    color: #334155;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.ijrs-results-pill strong {
    color: var(--ijrs-primary);
}

.ijrs-results-for {
    font-size: 14px;
    color: #64748b;
}

.ijrs-search-results-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ijrs-result-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px 28px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.ijrs-result-card:hover {
    border-color: #93c5fd;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(25, 118, 210, 0.09);
}

.ijrs-result-card .obj_article_summary {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ijrs-result-card .title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 19px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    margin: 0 !important;
}

.ijrs-result-card .title a {
    color: #0c2340;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ijrs-result-card .title a:hover {
    color: var(--ijrs-primary);
}

.ijrs-result-card .meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #64748b;
}

.ijrs-result-card .authors {
    font-weight: 500;
    color: #475569;
}

.ijrs-result-card .published {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ijrs-result-card .published::before {
    content: '•';
    color: #cbd5e1;
}

.ijrs-result-card .galleys_links {
    list-style: none;
    margin: 6px 0 0 0;
    padding: 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ijrs-result-card .obj_galley_link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #f0f7ff;
    color: var(--ijrs-primary);
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ijrs-result-card .obj_galley_link:hover {
    background: var(--ijrs-primary);
    color: #ffffff;
    border-color: var(--ijrs-primary);
}

/* No Results Card */
.ijrs-no-results-card {
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    max-width: 540px;
    margin: 30px auto;
}

.ijrs-no-results-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.ijrs-no-results-card h3 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 10px 0 !important;
}

.ijrs-no-results-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 24px 0;
}

.ijrs-btn-outline {
    display: inline-block;
    padding: 10px 22px;
    background: transparent;
    color: var(--ijrs-primary);
    border: 1.5px solid var(--ijrs-primary);
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ijrs-btn-outline:hover {
    background: var(--ijrs-primary);
    color: #ffffff;
}

/* Pagination */
.ijrs-pagination-wrap {
    margin-top: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ijrs-pagination-wrap .cmp_pagination {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Mobile Responsiveness for Auth & Search */
@media (max-width: 768px) {
    .ijrs-auth-card {
        padding: 28px 20px;
        border-radius: 16px;
    }

    .ijrs-grid-2 {
        grid-template-columns: 1fr;
    }

    .ijrs-search-card {
        padding: 24px 18px;
        border-radius: 16px;
    }

    .ijrs-search-main-title {
        font-size: 22px !important;
    }

    .ijrs-search-input-box {
        flex-direction: column;
        padding: 8px;
        gap: 8px;
    }

    .ijrs-search-submit-btn {
        width: 100%;
        justify-content: center;
    }

    .ijrs-result-card {
        padding: 18px;
        border-radius: 14px;
    }

    .ijrs-result-card .title {
        font-size: 16.5px !important;
    }
}