/* --- 1. HEADER & TOP STRIP: NAVY BLUE --- */
#pkp_structure_head, 
header#pkp_structure_head,
.pkp_structure_head {
    background-color: #031b4e !important; /* Deep Navy from image */
    background: #031b4e !important;
    border-bottom: 4px solid #1db9ce !important; /* Cyan Accent */
    padding: 25px 0 !important;
}

/* The small strip above the header */
.pkp_navigation_user_wrapper,
#headerNavigationContainer .pkp_navigation_user_wrapper {
    background-color: #021338 !important; /* Slightly darker Navy */
    background-image: none !important;
    border-bottom: 1px solid #1db9ce !important;
}

/* --- 2. NAVIGATION LINKS --- */
.pkp_navigation_primary a,
#main-nav a,
#pkp_structure_head a {
    color: #ffffff !important; /* White for readability */
    font-weight: 600 !important;
}

.pkp_navigation_primary a:hover {
    color: #1db9ce !important; /* Hover to Cyan */
}

/* --- 3. SEARCH BAR & BUTTONS --- */
#pkp_structure_head .pkp_search input[type="text"],
#pkp_structure_head input[name="query"] {
    border: 2px solid #1db9ce !important;
    border-radius: 4px 0 0 4px !important;
    background: #ffffff !important;
}

#pkp_structure_head .pkp_search button,
.pkp_search button[type="submit"] {
    background-color: #1db9ce !important; /* Cyan Button */
    color: #ffffff !important;
    border: 2px solid #1db9ce !important;
    border-radius: 0 4px 4px 0 !important;
    font-weight: bold !important;
    cursor: pointer !important;
}

/* --- 4. HOMEPAGE TILES & BLOCKS --- */
/* The "About" or Highlight boxes */
.tile_box {
    border-top: 5px solid #1db9ce !important;
    background: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}

/* The dark box as seen in your reference */
.tile_box:nth-child(3),
.call-for-papers-box {
    background: #031b4e !important;
    color: #ffffff !important;
    border: 2px solid #1db9ce !important;
}

.tile_box:nth-child(3) a {
    color: #1db9ce !important;
}

/* --- 5. SIDEBAR & SUBMISSION BUTTON --- */
.pkp_block.block_make_submission a {
    background: #1db9ce !important; /* High visibility Cyan */
    color: #ffffff !important;
    border: none !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-radius: 4px !important;
}

.pkp_block a {
    color: #031b4e !important; /* Navy links in sidebar */
}

.pkp_block a:hover {
    color: #1db9ce !important;
}

/* --- 6. FOOTER: MATCHING THE NAVY THEME --- */
.pkp_structure_footer_wrapper {
    background: #031b4e !important;
    border-top: 8px solid #1db9ce !important;
    color: #ffffff !important;
}

.footer-column h3 {
    color: #1db9ce !important;
    border-bottom: 2px solid rgba(255,255,255,0.2) !important;
}

/* --- 7. SITE TITLE --- */
.pkp_site_name a, 
.pkp_site_name .is_text {
    color: #ffffff !important;
    letter-spacing: 1px !important;
}



/* 1. FOOTER CONTAINER BREAKOUT */
.pkp_structure_footer_wrapper {
    background-color: #031b4e !important; /* Navy */
    padding: 60px 0 !important;
    border-top: 6px solid #1db9ce !important; /* Cyan line */
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    clear: both !important;
}

/* 2. THE 9 JOURNALS SECTION */
.pkp_structure_footer p {
    max-width: 1100px !important;
    margin: 0 auto 30px auto !important;
    color: #ffffff !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
    text-align: center !important;
    display: block !important;
}

/* 3. HEADERS (OUR 9 JOURNALS, CONFERENCE, etc) */
.pkp_structure_footer strong {
    display: block !important;
    color: #1db9ce !important; /* Cyan headers */
    font-size: 18px !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    margin-bottom: 15px !important;
    border-bottom: 1px solid rgba(255,255,255,0.2) !important;
    padding-bottom: 5px !important;
}

/* 4. HIDE OLD LOGOS AND CREDITS */
.pkp_brand_footer, .pkp_footer_copyright {
    display: none !important;
}

/* 5. FIX THE SIDEBAR PUSH */
.pkp_structure_main {
    overflow: visible !important;
}




/* SPREAD THE 9 JOURNALS HORIZONTALLY */
.pkp_structure_footer p {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 15px 30px !important; /* Space between the names */
    max-width: 1200px !important;
    margin: 0 auto 40px auto !important;
    padding: 0 20px !important;
}

/* MAKE THE HEADERS POP */
.pkp_structure_footer strong {
    flex: 0 0 100% !important; /* Forces header to its own line */
    margin-top: 20px !important;
    font-size: 16px !important;
    letter-spacing: 3px !important;
}

/* MAKE THE LINKS UNDERLINE ON HOVER */
.pkp_structure_footer a {
    color: #ffffff !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.pkp_structure_footer a:hover {
    color: #1db9ce !important; /* Cyan hover */
    text-decoration: underline !important;
}

/* CLEAN UP THE TERRITORIAL ACKNOWLEDGMENT AT THE VERY BOTTOM */
.pkp_structure_footer p:last-of-type {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-top: 20px !important;
    margin-top: 20px !important;
}


/* STRETCH CONTENT TO FULL SCREEN */
.pkp_structure_page {
    max-width: 95% !important; /* Expansion */
    margin: 0 auto !important;
}

.pkp_structure_main {
    width: 75% !important; /* Gives more room to the journal list */
}

.pkp_structure_sidebar {
    width: 22% !important; /* Keeps sidebar proportional */
}








/* THE SLIDER CONTAINER SETTINGS */
.cjirs-slider-container {
    position: relative;
    height: 280px; /* Adjusted height for the covers */
    width: 100%;
    overflow: hidden;
}

.cjirs-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    animation: cjirsFadeSlide 16s infinite;
}

/* Timing (4 seconds per slide) */
.cjirs-slide:nth-child(1) { animation-delay: 0s; }
.cjirs-slide:nth-child(2) { animation-delay: 4s; }
.cjirs-slide:nth-child(3) { animation-delay: 8s; }
.cjirs-slide:nth-child(4) { animation-delay: 12s; }

@keyframes cjirsFadeSlide {
    0% { opacity: 0; transform: scale(0.95); }
    5% { opacity: 1; transform: scale(1); }
    20% { opacity: 1; }
    25% { opacity: 0; transform: scale(1.05); }
    100% { opacity: 0; }
}

/* Cleaner sidebar block */
.pkp_block.block_custom_JournalSlider {
    border: none !important;
    background: transparent !important;
}





/* FORCE ALL MENU TEXT TO BE VISIBLE */
body .pkp_navigation_primary a, 
body .pkp_navigation_primary span,
body .pkp_nav_menu a {
    color: #ffffff !important; /* Force everything in the top bar to be White */
    visibility: visible !important;
    display: inline-block !important;
}

/* THE DROPDOWN BOX - FORCE NAVY */
body #navigationPrimary ul ul,
body .pkp_nav_menu ul ul {
    background-color: #031b4e !important; /* Navy */
    background: #031b4e !important;
    display: none; /* Hide until hover */
    position: absolute !important;
    min-width: 250px !important;
    z-index: 999999 !important;
    border: 1px solid #1db9ce !important;
}

/* SHOW DROPDOWN ON HOVER */
body #navigationPrimary li:hover > ul,
body .pkp_nav_menu li:hover > ul {
    display: block !important;
}

/* THE DROPDOWN LINKS - FORCE WHITE ON NAVY */
body #navigationPrimary ul ul li a,
body .pkp_nav_menu ul ul li a {
    color: #ffffff !important; /* FORCED WHITE */
    background-color: #031b4e !important;
    padding: 15px !important;
    text-align: center !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    font-size: 14px !important;
}

/* HOVER EFFECT */
body #navigationPrimary ul ul li a:hover {
    background-color: #1db9ce !important; /* Cyan */
    color: #031b4e !important; /* Navy */
}