/* ==== source: universal-mobile-navigation-fix.css ==== */
/*
 * Universal Mobile Navigation Fix
 * Applies to all pages with header navigation buttons
 * Fixes overlapping mobile navigation issues
 */

/* Mobile-only fixes (max-width: 767px) */
@media screen and (max-width: 767px) {
    
    /* ULTIMATE GAP ELIMINATION: Remove any default spacing that could cause gaps */
    html, body {
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        background-color: transparent !important;
    }
    
    /* OVERRIDE: Remove the white body background specifically */
    html body {
        background: transparent !important;
        background-color: transparent !important;
    }
    
    /* Ensure all elements touching navigation have zero spacing */
    * {
        box-sizing: border-box !important;
    }
    
    /* TARGETED: Remove white backgrounds only from specific gap-causing elements */
    html body .page-container,
    html body main,
    html body .container:not(.journals-header):not(.books-header),
    html body .nav-container,
    html body .journals-section,
    html body .books-section {
        background-color: transparent !important;
        /* Keep background-image for any elements that might have hero images */
    }
    
    /* RESTORE: Keep hero image backgrounds but remove white container backgrounds */
    html body .journals-header,
    html body .books-header,
    html body section.journals-header,
    html body section.books-header {
        /* DO NOT make background transparent - keep hero images */
        background-color: transparent !important; /* Only remove background-color, keep background-image */
    }
    
    /* Remove white backgrounds from pseudo-elements only */
    html body .journals-header::before,
    html body .books-header::before,
    html body .journals-header::after,
    html body .books-header::after {
        background: transparent !important;
        background-color: transparent !important;
    }
    /* Fix header - only show logo on mobile */
    html body header#header.header,
    html body .header {
        position: sticky !important;
        top: 0 !important;
        z-index: 1000 !important;
        background: rgba(255, 255, 255, 0.98) !important;
        background-image: none !important;
        backdrop-filter: blur(10px) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
        padding: 0.75rem 0 !important;
    }
    
    /* Hide header links on mobile to prevent overlap */
    html body header#header.header .header-links,
    html body .header .header-links {
        display: none !important;
    }
    
    /* Adjust header container for mobile */
    html body header#header.header .header-container,
    html body .header .header-container {
        padding: 0 1rem !important;
        justify-content: center !important; /* Center the logo */
    }
    
    /* Style the logo for mobile */
    html body .logo {
        font-size: 1.25rem !important;
    }
    
    /* Navigation menu - clean blue background */
    html body nav.nav-menu,
    html body .nav-menu {
        position: relative !important;
        z-index: 999 !important;
        background: #0c4a60 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    
    /* Mobile navigation links styling */
    html body .nav-links {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        margin: 0 !important;
        padding: 0.25rem 1rem !important;
        list-style: none !important;
    }
    
    html body .nav-links li {
        border-bottom: none !important;
        margin: 0 !important;
    }
    
    html body .nav-links li:last-child {
        border-bottom: none !important;
    }
    
    /* ULTRA HIGH SPECIFICITY: Override wiseleaf-size-optimization.css and wiseleaf-text-links-readable.css */
    html body nav.nav-menu ul.nav-links li a,
    html body .nav-menu ul.nav-links li a,
    html body nav.nav-menu .nav-links li a,
    html body .nav-menu .nav-links li a,
    html body .nav-container .nav-links li a,
    html body nav .nav-links li a,
    html body .nav-links li a {
        display: block !important;
        padding: 0.3rem 0 !important;
        color: white !important;
        text-decoration: none !important;
        font-size: 0.85rem !important;
        line-height: 1.2 !important;
        transition: all 0.2s ease !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        text-shadow: none !important;
        transform: none !important;
        margin: 0 !important;
        outline: none !important;
    }
    
    /* ULTRA HIGH SPECIFICITY: Override hover states - Clean mobile hover */
    html body nav.nav-menu ul.nav-links li a:hover,
    html body .nav-menu ul.nav-links li a:hover,
    html body nav.nav-menu .nav-links li a:hover,
    html body .nav-menu .nav-links li a:hover,
    html body .nav-container .nav-links li a:hover,
    html body nav .nav-links li a:hover,
    html body .nav-links li a:hover {
        color: rgba(255, 255, 255, 0.9) !important;
        background: rgba(255, 255, 255, 0.1) !important;
        padding: 0.3rem 0.5rem !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        text-shadow: none !important;
        transform: none !important;
        margin: 0 !important;
        outline: none !important;
        border: none !important;
    }
    
    /* Show mobile-only navigation items */
    .mobile-only {
        display: block !important;
    }
    
    /* MOBILE HOME BUTTON FIX: Move home button to top of navigation */
    /* Target the 7th li element which contains the home link on sub-pages */
    html body .nav-links li:nth-child(7) {
        order: -1 !important; /* Move to top */
    }
    
    /* Also target any li that contains a home icon as backup */
    html body .nav-links li.mobile-only:nth-child(7),
    html body .nav-links li.mobile-only:first-of-type {
        order: -1 !important;
    }
    
    /* Additional targeting for home links */
    html body .nav-links li:nth-child(7) a[href*="../index.html"],
    html body .nav-links li a[href*="../index.html"]:parent {
        order: -1 !important;
    }
    
    /* MOBILE GAP FIX: ULTRA HIGH SPECIFICITY - Perfect hero container sizing */
    html body .journals-header,
    html body .books-header,
    html body section.journals-header,
    html body section.books-header,
    html[lang="en"] body .journals-header,
    html[lang="en"] body .books-header,
    html[lang="en"] body section.journals-header,
    html[lang="en"] body section.books-header {
        margin: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        border-top: none !important;
        top: 0 !important;
        /* CRITICAL: Force minimal container height */
        height: 120px !important;
        min-height: 120px !important;
        max-height: 120px !important;
        overflow: hidden !important;
        display: block !important;
    }
    
    /* Ensure no gap between navigation and content sections - NUCLEAR OPTION */
    html body nav.nav-menu + .journals-header,
    html body nav.nav-menu + .books-header,
    html body .nav-menu + .journals-header,
    html body .nav-menu + .books-header,
    html body nav.nav-menu + section.journals-header,
    html body nav.nav-menu + section.books-header,
    html body .nav-menu + section.journals-header,
    html body .nav-menu + section.books-header,
    html[lang="en"] body nav.nav-menu + .journals-header,
    html[lang="en"] body nav.nav-menu + .books-header,
    html[lang="en"] body .nav-menu + .journals-header,
    html[lang="en"] body .nav-menu + .books-header,
    html[lang="en"] body nav.nav-menu + section.journals-header,
    html[lang="en"] body nav.nav-menu + section.books-header,
    html[lang="en"] body .nav-menu + section.journals-header,
    html[lang="en"] body .nav-menu + section.books-header {
        margin: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        border-top: none !important;
        top: 0 !important;
        transform: translateY(0) !important;
    }
    
    /* ADDITIONAL FIX: Remove any default spacing from all elements that could cause gaps */
    html body nav.nav-menu,
    html body .nav-menu {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        border-bottom: none !important;
    }
    
    /* Force immediate contact between nav and hero sections */
    html body nav.nav-menu + *,
    html body .nav-menu + * {
        margin-top: 0 !important;
        padding-top: 0 !important;
        border-top: none !important;
    }
    
    /* NUCLEAR OPTION: Force hero sections to connect with negative margins */
    html body .journals-header,
    html body .books-header,
    html body section.journals-header,
    html body section.books-header {
        margin-top: -1px !important;
        position: relative !important;
        z-index: 1 !important;
    }
    
    /* Additional aggressive fix for any remaining gaps */
    html body nav.nav-menu {
        border-bottom: 1px solid #0c4a60 !important;
        box-shadow: none !important;
    }
    
    /* Force overlap to eliminate gap */
    html body nav.nav-menu + .journals-header,
    html body nav.nav-menu + .books-header,
    html body .nav-menu + .journals-header,
    html body .nav-menu + .books-header,
    html body nav.nav-menu + section.journals-header,
    html body nav.nav-menu + section.books-header,
    html body .nav-menu + section.journals-header,
    html body .nav-menu + section.books-header {
        margin-top: -2px !important;
        position: relative !important;
        z-index: 2 !important;
        /* KEEP HERO IMAGES: Only remove background-color, not background-image */
        background-color: transparent !important;
    }
    
    /* SELECTIVE: Target gap-causing elements but preserve hero images */
    html body nav.nav-menu + *:not(.journals-header):not(.books-header),
    html body .nav-menu + *:not(.journals-header):not(.books-header) {
        background-color: transparent !important;
        border: none !important;
        outline: none !important;
        /* Preserve background-image for hero sections */
    }
    
    /* Specifically target the white space issue - but preserve hero images */
    html body .journals-header *:not(.journals-header),
    html body .books-header *:not(.books-header),
    html body section.journals-header *:not(section.journals-header),
    html body section.books-header *:not(section.books-header) {
        background-color: transparent !important;
        /* DO NOT remove background-image to preserve hero images */
    }
}

/* FOOTER MOBILE FIX: ULTRA HIGH SPECIFICITY - Ensure footer-connect section is visible on mobile */
@media screen and (max-width: 767px) {
    html body footer.wiseleaf-footer div.footer-content div.footer-section.footer-connect,
    html body footer.wiseleaf-footer .footer-content .footer-section.footer-connect,
    html body .wiseleaf-footer .footer-content .footer-section.footer-connect,
    html body .wiseleaf-footer .footer-section.footer-connect,
    html body .wiseleaf-footer .footer-connect {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        order: 4 !important;
        margin: 0 !important;
        padding: 0 !important;
        height: auto !important;
        overflow: visible !important;
    }
    
    html body footer.wiseleaf-footer div.footer-section.footer-connect div.footer-newsletter,
    html body .wiseleaf-footer .footer-section.footer-connect .footer-newsletter,
    html body .wiseleaf-footer .footer-newsletter {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-top: 20px !important;
        height: auto !important;
        overflow: visible !important;
    }
    
    html body .wiseleaf-footer .footer-newsletter .newsletter-form,
    html body .wiseleaf-footer .newsletter-form {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    html body .wiseleaf-footer .newsletter-form .newsletter-input,
    html body .wiseleaf-footer .newsletter-input {
        width: 100% !important;
        margin-bottom: 10px !important;
        display: block !important;
        visibility: visible !important;
    }
    
    html body .wiseleaf-footer .newsletter-form .newsletter-btn,
    html body .wiseleaf-footer .newsletter-btn {
        align-self: center !important;
        width: auto !important;
        display: block !important;
        visibility: visible !important;
    }
    
    /* FORCE FOOTER GRID TO SHOW ALL SECTIONS */
    html body footer.wiseleaf-footer .footer-content,
    html body .wiseleaf-footer .footer-content {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}

/* Hide mobile-only navigation items on desktop */
@media screen and (min-width: 768px) {
    .mobile-only {
        display: none !important;
    }
}

/* Hero responsive fixes for all pages */
@media screen and (max-width: 767px) {
    /* Hero sections on all pages */
    html body .hero,
    html body section.hero,
    html body .about-hero,
    html body .page-hero {
        padding: 2rem 1rem !important;
        min-height: 40vh !important;
        background-size: cover !important;
        background-position: center center !important;
        background-attachment: scroll !important;
        background-repeat: no-repeat !important;
    }
    
    /* Help hero uses its own height settings */
    html body .help-hero {
        background-size: cover !important;
        background-position: center center !important;
        background-attachment: scroll !important;
        background-repeat: no-repeat !important;
    }
    
    /* Override any CSS that removes background images - PRESERVE CSS BACKGROUNDS */
    html body .hero[style*="background-image"],
    html body section.hero[style*="background-image"],
    html body .help-hero[style*="background-image"],
    html body .about-hero[style*="background-image"],
    html body .page-hero,
    html body .registration-hero {
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        background-attachment: scroll !important;
    }
}

/* Desktop hero adjustments */
@media screen and (min-width: 768px) {
    html body .hero,
    html body section.hero,
    html body .about-hero,
    html body .page-hero {
        min-height: 60vh !important;
        padding: 4rem 1rem !important;
    }
    
    /* Help hero uses its own height and padding settings */
}

/* Ensure hero backgrounds work on all devices */
html body .hero,
html body section.hero,
html body .help-hero,
html body .about-hero,
html body .page-hero {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
}

/* SPECIAL: Help hero needs background fallback but not override */
html body .help-hero {
    background-color: #0c4a60 !important;
}

/* CRITICAL FIX: Override minified CSS that hides hero text - EXCEPT webinars page-hero */
html body .hero.about-hero .hero-title,
html body .hero.about-hero .hero-subtitle,
html body .hero.about-hero .hero-description,
html body section.hero.about-hero .hero-title,
html body section.hero.about-hero .hero-subtitle,
html body section.hero.about-hero .hero-description,
html body .hero.registration-hero .hero-title,
html body .hero.registration-hero .hero-subtitle,
html body .hero.registration-hero .hero-description {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7) !important;
    z-index: 10 !important;
    position: relative !important;
}

/* Allow webinars-images.css to control page-hero text visibility */

/* Mobile responsive JavaScript override for all pages */
@media screen and (max-width: 767px) {
    html body .hero[style*="background-image"],
    html body section.hero[style*="background-image"],
    html body .help-hero[style*="background-image"],
    html body .about-hero[style*="background-image"],
    html body .page-hero[style*="background-image"] {
        background-size: cover !important;
        background-position: center center !important;
        background-attachment: scroll !important;
        background-repeat: no-repeat !important;
    }
}
/* ==== source: style.css ==== */
/* WiseLeaf Scientific Ventures - Main Stylesheet */

:root {
    --primary-color: #0c4a60;
    --secondary-color: #1a5c75;
    --accent-color: #005a8b;
    --light-accent: #3498db;
    --orange-accent: #e67e22;
    --text-primary: #2c3e50;
    --text-secondary: #5d6d7e;
    --text-light: #85929e;
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --border-light: #e9ecef;
    --gradient-main: linear-gradient(135deg, #0c4a60 0%, #1a5c75 50%, #005a8b 100%);
    --gradient-accent: linear-gradient(45deg, #3498db 0%, #005a8b 100%);
    --shadow-subtle: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-normal: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-elevated: 0 8px 24px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    overflow-x: hidden;
    font-size: 14px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease-out;
}

.loader-content {
    text-align: center;
    color: white;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-subtle);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-light);
}

.header.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: var(--shadow-normal);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px; /* Increased from 80px to accommodate larger logo */
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.7rem; /* Increased from 1.4rem */
    font-weight: 700; /* Increased from 600 */
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 12px; /* Added padding for better clickable area */
    border-radius: 8px; /* Added border radius for modern look */
}

/* Removed hover effect as requested */

.logo i {
    margin-right: 15px; /* Increased spacing */
    color: var(--accent-color);
    font-size: 2.5rem; /* Much bigger than text - increased from 2rem */
    filter: drop-shadow(0 2px 4px rgba(12, 74, 96, 0.2)); /* Added subtle glow */
}

.logo-text {
    color: var(--primary-color);
    font-family: 'Merriweather', serif;
    font-weight: 700; /* Made bolder */
    letter-spacing: -0.5px; /* Tighter letter spacing for premium look */
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.header-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.header-links a:hover {
    color: var(--accent-color);
    background: rgba(52, 152, 219, 0.05);
}

.header-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.header-links a:hover::after {
    width: 70%;
}

.account-dropdown {
    position: relative;
}

.account-btn {
    background: rgba(15, 27, 60, 0.05);
    border: 2px solid transparent;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.account-btn:hover {
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--accent-color);
    transform: translateY(-1px);
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-elevated);
    min-width: 240px;
    padding: 12px 0;
    margin-top: 5px;
    border: 1px solid rgba(37, 99, 235, 0.1);
    animation: fadeInDown 0.3s ease;
}

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

.dropdown-content a {
    display: flex;
    align-items: center;
    padding: 14px 24px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.dropdown-content a i {
    margin-right: 12px;
    width: 16px;
    color: var(--accent-color);
}

.dropdown-content a:hover {
    background: var(--bg-primary);
    color: var(--accent-color);
    padding-left: 28px;
}

/* Removed auth-buttons and btn-signin styles - no longer needed */
.auth-buttons {
    display: none !important;
}

.btn-signin {
    display: none !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: all 0.3s ease;
}

.btn-signin:hover {
    background: var(--accent-color);
    color: white;
}

/* Signed-in state styling */
.btn-signin.signed-in {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.btn-signin.signed-in:hover {
    background: #c82333;
    border-color: #bd2130;
}

.account-link {
    padding: 8px 16px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: all 0.3s ease;
    cursor: pointer;
}

        .account-link:hover {
            color: var(--accent-color);
        }

        /* Home Button Styles */
        .home-btn {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 8px 12px;
            border-radius: 6px;
            background: rgba(0, 90, 139, 0.1);
            transition: all 0.3s ease;
        }

        .home-btn:hover {
            background: var(--accent-color);
            color: white !important;
        }

        .home-btn i {
            font-size: 14px;
        }

/* Navigation Menu - World Class Design */
.nav-menu {
    background: var(--gradient-main);
    padding: 0;
    border-bottom: none; /* Removed the white line */
    margin-top: 0; /* Removed margin to eliminate gap */
    box-shadow: 0 2px 8px rgba(12, 74, 96, 0.1); /* Added subtle shadow instead */
    position: relative;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    min-height: 50px; /* Consistent height */
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

.nav-links li {
    margin: 0;
    position: relative;
}

.nav-links a {
    display: block;
    padding: 15px 22px; /* Increased padding for better click area */
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px; /* Slightly increased from 13px */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 6px; /* Added border radius */
    position: relative;
    white-space: nowrap;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.15); /* Slightly more visible hover */
    transform: translateY(-1px); /* Subtle lift effect */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Added hover shadow */
}

/* Hero Banner */
.hero {
    background: var(--gradient-main);
    position: relative;
    color: white;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-align: right;
    padding: 40px 20px;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 400"><defs><pattern id="dots" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="4" cy="4" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect x="0" y="0" width="800" height="400" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin-right: 40px;
}

.hero-quote {
    font-family: 'Merriweather', serif;
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 20px;
    font-style: italic;
    opacity: 0.95;
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-description {
    font-size: 14px;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Search Section */
.search-section {
    background: var(--bg-primary);
    padding: 50px 20px;
    position: relative;
    z-index: 2;
}

.search-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.search-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-family: 'Merriweather', serif;
}

.search-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 100%;
    margin: 0 auto 20px;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-normal);
    border: 1px solid var(--border-light);
}

.search-fields {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.search-field {
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    background: var(--bg-secondary);
    font-weight: 400;
    width: 100%;
}

.search-field:focus {
    border-color: var(--accent-color);
    background: white;
    box-shadow: 0 0 0 2px rgba(0, 90, 139, 0.1);
}

.search-field::placeholder {
    color: var(--text-light);
    font-weight: 400;
}

.search-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-direction: column;
}

.search-btn {
    padding: 10px 24px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    min-width: 120px;
}

.search-btn:hover {
    background: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-subtle);
}

.search-btn i {
    margin-right: 8px;
}

.advanced-search {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.advanced-search::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.advanced-search:hover::after {
    width: 100%;
}

.advanced-search:hover {
    color: var(--primary-color);
}

/* Content Sections */
.content-section {
    padding: 40px 20px;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
    font-family: 'Merriweather', serif;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 0;
    box-shadow: var(--shadow-subtle);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-normal);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-light);
}

.card-content {
    padding: 20px;
}

.card h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.card p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 13px;
    line-height: 1.5;
}

.card-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
}

.card-link:hover {
    text-decoration: underline;
}

/* Announcements-specific styling - Simple Image Cards */
.announcements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.announcement-card {
    background: white;
    border-radius: 12px;
    padding: 0;
    box-shadow: var(--shadow-subtle);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    border: 1px solid var(--border-light);
    height: 320px;
    display: flex;
    flex-direction: column;
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-normal);
}

.announcement-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.announcement-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.announcement-card:hover .announcement-image img {
    transform: scale(1.05);
}

.announcement-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.announcement-deadline {
    font-size: 13px;
    color: var(--orange-accent);
    font-weight: 600;
    margin-bottom: 15px;
}

.announcement-cta {
    background: white !important;
    color: var(--primary-color) !important;
    text-decoration: none !important;
    padding: 12px 24px;
    border-radius: 25px;
    border: 2px solid var(--primary-color) !important;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-subtle);
    display: inline-block;
}

.announcement-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-normal);
    text-decoration: none !important;
    color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    background: white !important;
}

/* Responsive adjustments - Force mobile layout only on smaller screens */
@media (max-width: 576px) {
    .announcements-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .announcement-card {
        height: 280px;
    }
    
    .announcement-image {
        height: 160px;
    }
}

/* Tablet layout - Ensure 2 columns minimum on medium screens */
@media (min-width: 577px) and (max-width: 991px) {
    .announcements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Desktop layout - Force 3 columns on larger screens */
@media (min-width: 992px) {
    .announcements-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

/* Force desktop layout override - use when production incorrectly detects mobile */
.announcements-grid.force-desktop {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
}

.announcements-grid.force-desktop .announcement-card {
    height: 320px !important;
}

.announcements-grid.force-desktop .announcement-image {
    height: 200px !important;
}

/* About Section */
.about-section {
    background: var(--gradient-main);
    color: white;
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-section .section-title {
    color: white;
}

.about-text {
    font-size: 14px;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #1a202c;
    color: white;
    padding: 50px 20px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--light-accent);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 20px;
    text-align: center;
    color: var(--text-light);
}

.footer-bottom-links {
    margin-bottom: 15px;
}

.footer-bottom-links a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 15px;
}

.footer-bottom-links a:hover {
    color: white;
}

/* Authentication Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-light);
}

.close:hover {
    color: var(--text-primary);
}

.auth-options {
    display: grid;
    gap: 15px;
    margin-top: 20px;
}

.auth-btn {
    padding: 12px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.auth-btn:hover {
    border-color: var(--accent-color);
    background: var(--bg-primary);
}

.auth-btn.google {
    border-color: #db4437;
}

.auth-btn.microsoft {
    border-color: #00a1f1;
}

.auth-btn.orcid {
    border-color: #a6ce39;
}

/* Page Templates */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 60vh;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: 'Merriweather', serif;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.page-content {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--border-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
    }
    
    .header-right {
        margin-top: 15px;
    }
    
    .nav-links {
        flex-direction: column;
    }
    
    .nav-links a {
        padding: 12px 20px;
    }
    
                .hero {
                justify-content: center;
                text-align: center;
            }
            
            .hero-content {
                margin-right: 0;
            }
            
            .hero-quote {
                font-size: 1.4rem;
            }
    
    .search-fields {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .search-form {
        padding: 20px;
        margin-bottom: 15px;
    }

    .search-container {
        padding: 0 15px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-content {
        padding: 25px;
    }
}

/* Utility Classes */
.margin-top-30 {
    margin-top: 30px;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* FAQ Styles */
.faq-section {
    margin-top: 40px;
}

.faq-container {
    margin-top: 20px;
}

.faq-item {
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
}

.faq-question {
    font-weight: 600;
    cursor: pointer;
}

.faq-answer {
    margin-top: 10px;
    color: var(--text-secondary);
}

/* Focus styles for keyboard navigation */
button:focus,
a:focus,
input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--accent-color);
}

/* Remove any unwanted blue focus boxes or outlines */
*:focus {
    outline: none !important;
}

/* Hide any default browser elements that might appear as blue boxes */
*::-moz-focus-inner {
    border: 0;
}

/* Remove blue highlight on mobile Safari */
* {
    -webkit-tap-highlight-color: transparent;
}

/* ===== MULTI-JOURNAL SPECIFIC STYLING ===== */

/* Journal Cards Specific Styling */
.journal-card {
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.journal-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-elevated);
    border-color: var(--primary-color);
}

.journal-stats {
    display: flex;
    gap: 15px;
    margin: 10px 0;
    flex-wrap: wrap;
}

.journal-stats .stat {
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: var(--bg-primary);
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.primary-link {
    background: var(--primary-color) !important;
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
}

.primary-link:hover {
    background: var(--secondary-color) !important;
    transform: translateY(-2px) !important;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.journals-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, #f0f8ff 100%);
    border-radius: 16px;
    border: 1px solid var(--border-light);
}

.journals-cta h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-family: 'Merriweather', serif;
}

.journals-cta p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Enhanced responsive for multi-journal layout */
@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .journals-cta {
        padding: 30px 20px;
        margin-top: 40px;
    }
    
    .journal-stats {
        justify-content: center;
    }
    
    .cards-grid {
        gap: 20px;
    }
}

/* ==== source: books.css ==== */
/* Books Page Specific Styles */

/* ── Tab Bar ─────────────────────────────────────── */
.books-tabs {
    display: flex;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 20px;
    gap: 0;
}

.tab-btn {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    padding: 12px 24px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: #718096;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.tab-btn:hover {
    color: #0c4a60;
}

.tab-btn.active {
    color: #0c4a60;
    font-weight: 600;
    border-bottom-color: #0c4a60;
}

/* ── Book Card Header (title + badge row) ─────────── */
.book-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.book-card-header .book-title {
    margin-bottom: 0;
    flex: 1;
}

/* ── Book Type Badges ─────────────────────────────── */
.book-type-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 3px;
    letter-spacing: 0.3px;
}

.badge-thematic {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.badge-academic {
    background: #dbeafe;
    color: #1e3a5f;
    border: 1px solid #93c5fd;
}

/* ── Mobile Tabs ──────────────────────────────────── */
@media (max-width: 767px) {
    .books-tabs {
        width: 100%;
    }
    .tab-btn {
        flex: 1;
        text-align: center;
        font-size: 13px;
        padding: 10px 8px;
    }
}

.books-header {
    background: var(--gradient-main);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.books-header h1 {
    font-family: 'Merriweather', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.books-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.books-section {
    padding: 40px 20px;
}

.books-container {
    max-width: 1200px;
    margin: 0 auto;
}

.books-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
}

.books-filters {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-subtle);
    height: fit-content;
    border: 1px solid var(--border-light);
}

.filters-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: 'Merriweather', serif;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-label {
    display: block;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 14px;
}

.filter-input, .filter-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 14px;
    background: white;
    transition: all 0.3s ease;
}

.filter-input:focus, .filter-select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(0, 90, 139, 0.1);
}

.filter-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-checkbox input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.filter-checkbox label {
    font-size: 13px;
    font-weight: 400;
    margin: 0;
    cursor: pointer;
}

.filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.btn-clear-filters, .btn-apply-filters {
    flex: 1;
    padding: 8px 16px;
    border: 1px solid var(--accent-color);
    background: transparent;
    color: var(--accent-color);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-apply-filters {
    background: var(--accent-color);
    color: white;
}

.btn-clear-filters:hover {
    background: var(--accent-color);
    color: white;
}

.btn-apply-filters:hover {
    background: var(--primary-color);
}

.books-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.book-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid #e8e8e8;
    display: grid;
    grid-template-columns: 1fr 240px;
    min-height: 320px;
    position: relative;
}

.book-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.book-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    position: relative;
}

.book-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
}

.book-cover {
    width: 180px;
    height: 240px;
    background: var(--gradient-main);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
}

.book-card:hover .book-cover {
    transform: perspective(1000px) rotateY(0deg);
}

.book-cover::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 6px;
}

.book-cover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.1) 50%, transparent 60%);
    border-radius: 12px;
}

.book-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.book-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-family: 'Merriweather', serif;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-author {
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    font-style: normal;
    display: flex;
    align-items: center;
    gap: 6px;
}

.book-author::before {
    content: '👤';
    font-size: 12px;
    opacity: 0.7;
}

.book-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
    padding: 15px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.book-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    background: rgba(0, 90, 139, 0.05);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(0, 90, 139, 0.1);
}

.book-meta-item i {
    color: var(--accent-color);
    width: 16px;
    font-size: 14px;
}

.book-actions {
    display: flex;
    gap: 15px;
    margin-top: 0;
}

.book-btn {
    flex: 1;
    padding: 14px 24px;
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.book-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.book-btn:hover::before {
    left: 100%;
}

.book-btn.primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    color: white;
    border-color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(0, 90, 139, 0.3);
}

.book-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 90, 139, 0.4);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.book-btn:not(.primary) {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.book-btn:not(.primary):hover {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 90, 139, 0.3);
}

.book-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.book-btn:hover i {
    transform: scale(1.1);
}

/* Results Header Styles */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.results-count {
    color: var(--text-secondary);
    font-size: 14px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.publish-book-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-subtle);
}

.publish-book-btn:hover {
    background: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-normal);
}

.publish-book-btn i {
    font-size: 12px;
}

.sort-select {
    padding: 8px 12px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 13px;
    background: white;
}

/* Home Button Styles */
.home-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(0, 90, 139, 0.1);
    transition: all 0.3s ease;
}

.home-btn:hover {
    background: var(--accent-color);
    color: white !important;
}

.home-btn i {
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .books-content {
        grid-template-columns: 1fr;
    }

    .books-filters {
        order: 2;
    }

    .books-list {
        order: 1;
    }

    .book-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .book-image {
        justify-content: center;
        padding: 25px;
        order: 1;
    }

    .book-content {
        order: 2;
        padding: 25px;
    }

    .book-cover {
        width: 160px;
        height: 220px;
        transform: none;
    }

    .book-card:hover .book-cover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .book-actions {
        flex-direction: column;
    }

    .book-meta {
        flex-direction: column;
        gap: 10px;
    }

    .home-btn span {
        display: none;
    }
}

/* ==== source: wiseleaf-theme-fix.css ==== */
/* WiseLeaf Theme Consistency Fix - Main Import File */

/* Import all split CSS files for better maintainability */
/* == @import expanded: wiseleaf-variables.css == */
/* WiseLeaf CSS Variables - Core Theme Configuration */

/* Ensure all pages have consistent WiseLeaf color variables */
:root {
    /* WiseLeaf Primary Colors - CONSISTENT ACROSS ALL PAGES */
    --primary-color: #0c4a60 !important;
    --secondary-color: #1a5c75 !important;
    --accent-color: #005a8b !important;
    --light-accent: #3498db !important;
    --orange-accent: #e67e22 !important;
    
    /* Text Colors */
    --text-primary: #2c3e50 !important;
    --text-secondary: #5d6d7e !important;
    --text-light: #85929e !important;
    
    /* Background Colors */
    --bg-primary: #f8f9fa !important;
    --bg-secondary: #ffffff !important;
    --border-light: #e9ecef !important;
    
    /* Gradients */
    --gradient-main: linear-gradient(135deg, #0c4a60 0%, #1a5c75 50%, #005a8b 100%) !important;
    --gradient-accent: linear-gradient(45deg, #3498db 0%, #005a8b 100%) !important;
    
    /* Status Colors for Registration Pages */
    --success: #28a745 !important;
    --success-bg: #d4edda !important;
    --success-text: #155724 !important;
    --success-border: #c3e6cb !important;
    --warning: #ffc107 !important;
    --error: #dc3545 !important;
    --error-bg: #f8d7da !important;
    --error-text: #721c24 !important;
    --error-border: #f5c6cb !important;
    
    /* Shadows */
    --shadow-subtle: 0 2px 4px rgba(0, 0, 0, 0.08) !important;
    --shadow-normal: 0 4px 8px rgba(0, 0, 0, 0.12) !important;
    --shadow-elevated: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
    
    /* Border Radius */
    --border-radius: 12px !important;
    --border-radius-sm: 8px !important;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    --transition-fast: all 0.15s ease !important;
}
/* == @import expanded: wiseleaf-core-components.css == */
/* WiseLeaf Core Components - Base styling for all pages */

/* Fix any remaining hardcoded colors */
body {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    color: var(--text-primary) !important;
    background-color: var(--bg-primary) !important;
}

/* Header consistency */
.header, header {
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid var(--border-light) !important;
}

.logo, .logo-text {
    color: var(--primary-color) !important;
}

/* Enhanced logo styling for world-class look */
.logo {
    font-size: 1.7rem !important;
    font-weight: 700 !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.logo i {
    font-size: 2.5rem !important; /* Much bigger than text */
    margin-right: 15px !important; /* More spacing */
    filter: drop-shadow(0 2px 4px rgba(12, 74, 96, 0.2)) !important;
    color: var(--accent-color) !important;
}

.logo-text {
    font-weight: 700 !important;
    letter-spacing: -0.5px !important;
}

/* Header links - keep them readable */
.header-links a {
    color: var(--text-secondary) !important;
    text-decoration: none !important;
}

.header-links a:hover {
    color: var(--primary-color) !important;
}

/* Button consistency */
.btn-primary, .btn.btn-primary {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
}

.btn-primary:hover, .btn.btn-primary:hover {
    background: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
}

.btn-secondary, .btn.btn-secondary {
    background: var(--light-accent) !important;
    border-color: var(--light-accent) !important;
    color: white !important;
}

.btn-secondary:hover, .btn.btn-secondary:hover {
    background: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
}

/* Navigation consistency - PRESERVE ORIGINAL READABLE COLORS */
.nav-menu {
    background: var(--gradient-main) !important;
    border-bottom: none !important; /* Remove white line */
    margin-top: 0 !important; /* Remove gap */
    box-shadow: 0 2px 8px rgba(12, 74, 96, 0.1) !important;
}

.nav-links a {
    color: white !important; /* Keep original readable white text */
    font-weight: 500 !important;
    font-size: 14px !important; /* Slightly increased */
    padding: 15px 22px !important; /* Better padding */
    border-radius: 6px !important; /* Rounded corners */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.15) !important; /* Slightly more visible */
    color: white !important; /* Keep white text on hover */
    transform: translateY(-1px) !important; /* Subtle lift */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important; /* Hover shadow */
}

/* Card consistency */
.card, .journal-card, .book-card, .article-card {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-light) !important;
    box-shadow: var(--shadow-subtle) !important;
}

.card:hover, .journal-card:hover, .book-card:hover, .article-card:hover {
    box-shadow: var(--shadow-normal) !important;
}

/* Form consistency */
input, select, textarea {
    border: 1px solid var(--border-light) !important;
    background: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
}

/* Fix input focus states for better readability */
input:focus, select:focus, textarea:focus,
.filter-input:focus, .filter-select:focus {
    border-color: var(--accent-color) !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(0, 90, 139, 0.1) !important;
}

/* Fix filter checkboxes */
.filter-checkbox input[type="checkbox"] {
    accent-color: var(--accent-color) !important;
}

.filter-checkbox label {
    color: var(--text-primary) !important;
}

/* Section headers */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary) !important;
    font-family: 'Merriweather', serif !important;
}

/* Links */
a {
    color: var(--accent-color) !important;
}

a:hover {
    color: var(--primary-color) !important;
}

/* Footer consistency */
.footer, footer {
    background: var(--text-primary) !important;
    color: var(--bg-secondary) !important;
}

.footer a, footer a {
    color: var(--light-accent) !important;
}

.footer a:hover, footer a:hover {
    color: white !important;
}
/* == @import expanded: wiseleaf-page-fixes.css == */
/* WiseLeaf Page-Specific Fixes - Journals, Books, Webinars, Registration */

/* Fix text readability on Books, Journals, and Webinars pages */
.books-banner-content h2,
.filters-title,
.journal-title,
.book-title {
    color: var(--text-primary) !important; /* Dark readable text instead of theme colors */
}

.book-author,
.journal-meta-item i,
.book-meta-item i {
    color: var(--text-secondary) !important; /* Readable secondary text */
}

/* 1. JOURNALS PAGE - Fix "View Journal" buttons */
.journal-btn {
    background: var(--bg-secondary) !important;
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.journal-btn:hover {
    background: var(--primary-color) !important;
    color: white !important;
}

.journal-btn.primary {
    background: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
}

.journal-btn.primary:hover {
    background: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
}

/* 2. BOOKS PAGE - Fix "Publish Book" button */
.publish-book-btn {
    background: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
}

.publish-book-btn:hover {
    background: var(--secondary-color) !important;
    color: white !important;
}

/* 3. BOOKS PAGE - Fix other book buttons */
.book-btn:not(.primary) {
    background: var(--bg-secondary) !important;
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.book-btn:not(.primary):hover {
    background: var(--primary-color) !important;
    color: white !important;
}

.book-btn.primary {
    background: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
}

.book-btn.primary:hover {
    background: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
}

/* 4. WEBINARS PAGE - Fix all theme issues */

/* Fix event cards to match WiseLeaf theme */
.event-card {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-light) !important;
    box-shadow: var(--shadow-subtle) !important;
    border-radius: var(--border-radius) !important;
}

.event-card:hover {
    box-shadow: var(--shadow-elevated) !important;
    border-color: var(--accent-color) !important;
    transform: translateY(-5px) !important;
}

.event-card.featured {
    border-left: 5px solid var(--primary-color) !important;
}

/* Fix event headers - replace blue with WiseLeaf gradient */
.event-header {
    background: var(--gradient-main) !important;
    color: white !important;
    padding: 20px !important;
}

/* Fix event badges */
.event-badge {
    background: var(--orange-accent) !important;
    color: white !important;
    padding: 4px 12px !important;
    border-radius: var(--border-radius-sm) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

/* Fix event titles and text */
.event-title {
    color: white !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    margin: 15px 0 !important;
}

.event-date {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 14px !important;
    margin-bottom: 10px !important;
}

.event-meta {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 13px !important;
}

/* Fix event descriptions and content */
.event-description {
    color: var(--text-secondary) !important;
    line-height: 1.6 !important;
    margin: 15px 0 !important;
}

/* Fix register buttons */
.register-btn {
    background: var(--primary-color) !important;
    color: white !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: var(--border-radius-sm) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: var(--transition) !important;
}

.register-btn:hover {
    background: var(--secondary-color) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-normal) !important;
}

.register-btn.full {
    background: var(--text-light) !important;
    color: white !important;
    cursor: not-allowed !important;
}

/* Fix event tags */
.tag {
    background: var(--bg-primary) !important;
    color: var(--text-secondary) !important;
    border: 1px solid var(--border-light) !important;
    padding: 4px 10px !important;
    border-radius: var(--border-radius-sm) !important;
    font-size: 12px !important;
    margin: 2px !important;
    display: inline-block !important;
}

/* Fix event details sidebar/box */
.event-details, .event-info-box, .event-sidebar {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--border-radius) !important;
    box-shadow: var(--shadow-subtle) !important;
    padding: 20px !important;
}

.event-details h4, .event-info-box h4 {
    color: var(--primary-color) !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    margin-bottom: 15px !important;
}

.event-details p, .event-info-box p, .event-details div {
    color: var(--text-secondary) !important;
    line-height: 1.5 !important;
    margin-bottom: 10px !important;
}

.event-details strong, .event-info-box strong {
    color: var(--text-primary) !important;
}

/* Fix newsletter signup section */
.newsletter-signup {
    background: var(--gradient-main) !important;
    color: white !important;
    padding: 40px !important;
    border-radius: var(--border-radius) !important;
    text-align: center !important;
}

.newsletter-signup h3 {
    color: white !important;
    font-size: 1.8rem !important;
    margin-bottom: 10px !important;
}

.newsletter-signup p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.1rem !important;
}

.newsletter-signup input {
    background: white !important;
    border: none !important;
    color: var(--text-primary) !important;
    padding: 12px !important;
    border-radius: var(--border-radius-sm) !important;
}

.newsletter-signup button {
    background: white !important;
    color: var(--primary-color) !important;
    border: none !important;
    padding: 12px 20px !important;
    border-radius: var(--border-radius-sm) !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
}

.newsletter-signup button:hover {
    background: var(--bg-primary) !important;
    transform: translateY(-1px) !important;
}

/* Fix webinar tabs */
.tabs {
    display: flex !important;
    gap: 10px !important;
    margin-bottom: 30px !important;
    border-bottom: 2px solid var(--border-light) !important;
}

.tab {
    padding: 15px 25px !important;
    background: var(--bg-secondary) !important;
    color: var(--text-secondary) !important;
    border: 1px solid var(--border-light) !important;
    border-bottom: none !important;
    border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0 !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    font-weight: 500 !important;
}

.tab:hover {
    background: var(--bg-primary) !important;
    color: var(--text-primary) !important;
}

.tab.active {
    background: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
}

/* Fix loading placeholders */
.loading-placeholder {
    text-align: center !important;
    padding: 60px 20px !important;
    color: var(--text-secondary) !important;
}

.loading-placeholder i {
    color: var(--accent-color) !important;
    margin-bottom: 15px !important;
}

.loading-placeholder p {
    color: var(--text-secondary) !important;
    font-size: 1.1rem !important;
}

/* 5. REGISTRATION PAGES - Fix all non-WiseLeaf blue colors */

/* Fix event summary headers */
.event-summary {
    background: var(--gradient-main) !important; /* Replace #2c5282 to #3182ce gradient */
    color: white !important;
}

/* Fix form section headers */
.form-section h3 {
    color: var(--primary-color) !important; /* Replace #2c5282 */
    border-bottom: 2px solid var(--border-light) !important; /* Replace #e2e8f0 */
}

/* Fix form labels */
.form-group label {
    color: var(--text-primary) !important; /* Replace #2d3748 */
}

/* Journal/Books page fixes */
.journals-header, .books-header {
    background: var(--gradient-main) !important;
    color: white !important;
}


/* == @import expanded: wiseleaf-responsive.css == */
/* WiseLeaf Responsive Design - Mobile and tablet optimizations */

/* Mobile-first responsive design */
@media (max-width: 768px) {
    .books-header h1 {
        font-size: 2.5rem !important;
    }
    
    .book-card {
        flex-direction: column !important;
        margin-bottom: 20px !important;
    }
    
    .book-image {
        min-width: 100% !important;
        max-width: 100% !important;
        padding: 15px !important;
        justify-content: center !important;
    }
    
    .book-cover {
        width: 80px !important;
        height: 105px !important;
    }
    
    .book-content {
        padding: 20px !important;
    }
    
    .book-title {
        font-size: 1.2rem !important;
    }
    
    .book-description {
        -webkit-line-clamp: 2 !important;
    }
    
    .book-meta {
        flex-direction: column !important;
        gap: 8px !important;
    }
    
    .book-actions {
        justify-content: center !important;
    }
    
    .book-btn.primary {
        width: 100% !important;
        justify-content: center !important;
    }
    
    .results-header {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: stretch !important;
    }
    
    .header-actions {
        justify-content: center !important;
    }
    
    .container, .main-container {
        padding: 0 1rem !important;
    }
    
    .card, .journal-card, .book-card {
        margin-bottom: 1rem !important;
    }
}

@media (max-width: 480px) {
    .book-content {
        padding: 15px !important;
    }
    
    .book-title {
        font-size: 1.1rem !important;
    }
    
    .book-author {
        font-size: 0.9rem !important;
    }
    
    .book-description {
        font-size: 0.85rem !important;
        -webkit-line-clamp: 2 !important;
    }
}

/* Print styles */
@media print {
    * {
        background: white !important;
        color: black !important;
    }
    
    .header, .footer, .nav-menu {
        display: none !important;
    }
}
/* == @import expanded: wiseleaf-utilities.css == */
/* WiseLeaf Utilities - Search, dashboard, notifications, common UI elements */

/* Search specific fixes */
.search-header, .search-results, .advanced-search-panel {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-light) !important;
    box-shadow: var(--shadow-normal) !important;
}

.search-title {
    color: var(--primary-color) !important;
}

.search-subtitle {
    color: var(--text-secondary) !important;
}

/* Dashboard specific fixes */
.dashboard-main, .welcome-section {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-light) !important;
}

.dashboard-title {
    color: var(--primary-color) !important;
}

.dashboard-subtitle {
    color: var(--text-secondary) !important;
}

/* Status badges */
.status-badge, .role-badge {
    border-radius: var(--border-radius-sm) !important;
}

.status-badge.published, .role-badge.author {
    background: var(--bg-primary) !important;
    color: var(--secondary-color) !important;
}

.status-badge.review, .role-badge.reviewer {
    background: var(--bg-primary) !important;
    color: var(--accent-color) !important;
}

.status-badge.draft, .role-badge.editor {
    background: var(--bg-primary) !important;
    color: var(--orange-accent) !important;
}

/* Notification fixes */
.notification, .alert {
    border-radius: var(--border-radius-sm) !important;
    border: 1px solid var(--border-light) !important;
}

.notification.success, .alert-success {
    background: var(--bg-primary) !important;
    color: var(--secondary-color) !important;
    border-left: 4px solid var(--secondary-color) !important;
}

.notification.error, .alert-error, .alert-danger {
    background: var(--bg-primary) !important;
    color: var(--orange-accent) !important;
    border-left: 4px solid var(--orange-accent) !important;
}

.notification.warning, .alert-warning {
    background: var(--bg-primary) !important;
    color: var(--orange-accent) !important;
    border-left: 4px solid var(--orange-accent) !important;
}

.notification.info, .alert-info {
    background: var(--bg-primary) !important;
    color: var(--accent-color) !important;
    border-left: 4px solid var(--accent-color) !important;
}

/* Loading states */
.spinner, .loading {
    border-color: var(--border-light) !important;
    border-top-color: var(--primary-color) !important;
}

/* Pagination */
.pagination a {
    color: var(--accent-color) !important;
    border: 1px solid var(--border-light) !important;
}

.pagination a:hover, .pagination .active {
    background: var(--primary-color) !important;
    color: white !important;
}

/* Tables */
table {
    border: 1px solid var(--border-light) !important;
}

th {
    background: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    border-bottom: 2px solid var(--border-light) !important;
}

td {
    border-bottom: 1px solid var(--border-light) !important;
}

tr:hover {
    background: var(--bg-primary) !important;
}

/* Modal/Dialog consistency */
.modal, .dialog {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-light) !important;
    box-shadow: var(--shadow-elevated) !important;
}

.modal-header, .dialog-header {
    background: var(--bg-primary) !important;
    border-bottom: 1px solid var(--border-light) !important;
}

.modal-title, .dialog-title {
    color: var(--text-primary) !important;
}

/* Dropdown menus */
.dropdown-menu {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-light) !important;
    box-shadow: var(--shadow-normal) !important;
}

.dropdown-item:hover {
    background: var(--bg-primary) !important;
    color: var(--primary-color) !important;
}

/* Progress bars */
.progress {
    background: var(--bg-primary) !important;
}

.progress-bar {
    background: var(--gradient-accent) !important;
}

/* Tags */
.tag, .badge {
    background: var(--primary-color) !important;
    color: white !important;
    border-radius: var(--border-radius-sm) !important;
}

.tag.secondary, .badge-secondary {
    background: var(--text-light) !important;
}
/* ==== source: wiseleaf-size-optimization.css ==== */
/* WiseLeaf Size Optimization - Professional Journal Sizing */
/* This file reduces all elements slightly for a more professional, user-friendly look */

/* Root font size adjustment for proportional scaling */
html {
    font-size: 95%; /* Slightly reduce base font size from 100% to 95% */
}

/* Body and base typography - make slightly smaller */
body {
    font-size: 13px !important; /* Reduced from 14px */
    line-height: 1.5 !important; /* Slightly tighter line height */
}

/* Logo sizing - KEEP ORIGINAL SIZES - DO NOT REDUCE */
/* Logo and logo text sizes are maintained as per user request */

/* Header sizing */
.header {
    height: 80px !important; /* Reduced from 90px */
}

.header-links a {
    font-size: 12px !important; /* Reduced from 13px */
    padding: 6px 10px !important; /* Reduced from 8px 12px */
}

/* Navigation menu */
.nav-links a {
    font-size: 13px !important; /* Reduced from 14px */
    padding: 12px 18px !important; /* Reduced from 15px 22px */
}

/* Button sizing - reduce all buttons proportionally */
.btn, button, .auth-btn, .cta-btn, .submit-btn {
    padding: 10px 18px !important; /* Reduced from 12px 20px */
    font-size: 13px !important; /* Reduced from 14px */
}

.btn-primary, .btn-secondary {
    padding: 10px 20px !important; /* Reduced from 12px 24px */
    font-size: 13px !important;
}

/* Large buttons */
.btn-lg, .primary-btn {
    padding: 12px 24px !important; /* Reduced from 15px 30px */
    font-size: 14px !important; /* Reduced from 16px */
}

/* Card sizing */
.card {
    padding: 18px !important; /* Reduced from 20px */
}

.card h3 {
    font-size: 1.05rem !important; /* Reduced from 1.1rem */
    margin-bottom: 8px !important; /* Reduced from 10px */
}

.card p {
    font-size: 12px !important; /* Reduced from 13px */
    margin-bottom: 12px !important; /* Reduced from 15px */
}

.card-link {
    font-size: 12px !important; /* Reduced from 13px */
}

/* Image sizing - reduce proportionally */
.card-image {
    height: 180px !important; /* Reduced from 200px */
}

.hero-image, .banner-image {
    max-height: 350px !important; /* Add reasonable max height */
}

/* Section titles and headings */
.section-title, h1 {
    font-size: 2rem !important; /* Reduced from 2.5rem */
    margin-bottom: 16px !important; /* Reduced from 20px */
}

.section-subtitle, h2 {
    font-size: 1.6rem !important; /* Reduced from 1.8rem */
    margin-bottom: 14px !important; /* Reduced from 18px */
}

h3 {
    font-size: 1.25rem !important; /* Reduced from 1.4rem */
    margin-bottom: 10px !important; /* Reduced from 12px */
}

h4 {
    font-size: 1.1rem !important; /* Reduced from 1.2rem */
    margin-bottom: 8px !important; /* Reduced from 10px */
}

h5 {
    font-size: 1.05rem !important; /* Reduced from 1.1rem */
}

h6 {
    font-size: 0.95rem !important; /* Reduced from 1rem */
}

/* Footer sizing */
.footer {
    padding: 40px 18px 16px !important; /* Reduced from 50px 20px 20px */
}

.footer-column h4 {
    font-size: 13px !important; /* Reduced from 14px */
    margin-bottom: 12px !important; /* Reduced from 15px */
}

.footer-column ul li {
    margin-bottom: 8px !important; /* Reduced from 10px */
}

.footer-column a {
    font-size: 12px !important; /* Reduced from default */
}

/* Container padding */
.container {
    padding: 0 18px !important; /* Reduced from 20px */
}

.section {
    padding: 50px 0 !important; /* Reduced from 60px */
}

/* Forms and inputs */
input, textarea, select {
    padding: 8px 12px !important; /* Reduced from 10px 14px */
    font-size: 13px !important; /* Reduced from 14px */
}

.form-group {
    margin-bottom: 16px !important; /* Reduced from 20px */
}

label {
    font-size: 12px !important; /* Reduced from 13px */
    margin-bottom: 6px !important; /* Reduced from 8px */
}

/* Book catalog specific sizing */
.book-card {
    margin-bottom: 20px !important; /* Reduced from 25px */
}

.book-cover {
    width: 85px !important; /* Reduced from 100px */
    height: 115px !important; /* Reduced from 130px */
    font-size: 0.75rem !important; /* Reduced from 0.8rem */
}

.book-image {
    min-width: 120px !important; /* Reduced from 140px */
    max-width: 120px !important;
    padding: 16px !important; /* Reduced from 20px */
}

.book-content {
    padding: 20px 24px !important; /* Reduced from 25px 30px */
}

.book-title {
    font-size: 1.25rem !important; /* Reduced from 1.4rem */
    margin-bottom: 6px !important; /* Reduced from 8px */
}

.book-author {
    font-size: 0.9rem !important; /* Reduced from 1rem */
    margin-bottom: 10px !important; /* Reduced from 12px */
}

.book-description {
    font-size: 0.9rem !important; /* Reduced from 0.95rem */
    margin-bottom: 12px !important; /* Reduced from 15px */
}

.book-btn {
    padding: 8px 16px !important; /* Reduced from 10px 20px */
    font-size: 0.85rem !important; /* Reduced from 0.9rem */
    min-width: 100px !important; /* Reduced from 120px */
}

/* Journal page sizing */
.journals-header h1, .books-header h1 {
    font-size: 3rem !important; /* Reduced from 3.5rem */
    margin-bottom: 16px !important; /* Reduced from 20px */
}

.journals-header p, .books-header p {
    font-size: 1.15rem !important; /* Reduced from 1.3rem */
}


/* Filters and search */
.filters-title {
    font-size: 1.25rem !important; /* Reduced from 1.4rem */
    margin-bottom: 20px !important; /* Reduced from 25px */
}

.filter-input, .filter-select {
    padding: 8px 12px !important; /* Reduced from 10px 15px */
    font-size: 12px !important; /* Reduced from 13px */
}

/* Stats and counters */
.stat-number, .counter-number {
    font-size: 2.2rem !important; /* Reduced from 2.5rem */
    margin-bottom: 8px !important; /* Reduced from 10px */
}

/* Testimonials and quotes */
.testimonial, .quote-box {
    padding: 20px !important; /* Reduced from 25px */
    margin: 24px 0 !important; /* Reduced from 30px */
}

/* Pricing tables */
.pricing-table, .service-pricing {
    padding: 24px !important; /* Reduced from 30px */
}

.price {
    font-size: 2.2rem !important; /* Reduced from 2.5rem */
    margin-bottom: 16px !important; /* Reduced from 20px */
}

/* Modal and dialog sizing */
.modal, .dialog {
    padding: 20px !important; /* Reduced from default */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    html {
        font-size: 90%; /* Further reduce on mobile */
    }
    
    .logo {
        font-size: 1.3rem !important;
        padding: 5px 8px !important;
    }
    
    .logo i {
        font-size: 1.8rem !important;
        margin-right: 8px !important;
    }
    
    .logo-img {
        height: 55px !important;
        max-width: 160px !important;
    }
    
    .section-title, h1 {
        font-size: 1.7rem !important;
    }
    
    .section-subtitle, h2 {
        font-size: 1.4rem !important;
    }
    
    .btn, button {
        padding: 8px 14px !important;
        font-size: 12px !important;
    }
    
    .book-cover {
        width: 70px !important;
        height: 95px !important;
    }
    
    .book-image {
        min-width: 100px !important;
        max-width: 100px !important;
        padding: 12px !important;
    }
    
    .book-content {
        padding: 16px !important;
    }
    
    .book-title {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 85%; /* Even smaller on very small screens */
    }
    
    .section {
        padding: 30px 0 !important; /* Much smaller section padding */
    }
    
    .container {
        padding: 0 12px !important; /* Tighter container padding */
    }
}

/* Ensure readability is maintained */
@media print {
    html {
        font-size: 100% !important; /* Reset to full size for printing */
    }
}

/* Animation and transition speed adjustments */
* {
    transition-duration: 0.2s !important; /* Faster transitions for snappier feel */
}

/* Ensure minimum touch targets for accessibility */
.btn, button, a {
    min-height: 32px !important; /* Ensure buttons are still touchable */
    min-width: 32px !important;
}
/* ==== source: wiseleaf-text-links-readable.css ==== */
/* WiseLeaf Text Links Readability Enhancement - Homepage Only */
/* This file makes text-only buttons/links more readable and user-friendly */

/* Header navigation links - make more readable */
.header-links a {
    font-size: 14px !important; /* Increased from 12px */
    font-weight: 600 !important; /* Make bolder */
    padding: 8px 12px !important; /* Increased from 6px 10px for better click area */
}

/* Navigation menu links - make more readable */
.nav-menu .nav-links a {
    font-size: 15px !important; /* Increased from 13px */
    font-weight: 600 !important; /* Make bolder */
    padding: 14px 20px !important; /* Increased from 12px 18px */
    color: white !important; /* Make navigation menu buttons WHITE */
}

/* Text-only action links (Learn More, Get Content, Explore Options, etc.) */
.card-link, 
a[href]:not(.btn):not(.button):not(.auth-btn):not(.cta-btn):not(.submit-btn):not(.primary-btn):not(.secondary-btn) {
    font-size: 14px !important; /* Increased from 12px */
    font-weight: 600 !important; /* Make bolder for better readability */
    text-decoration: none !important; /* No underlines */
}

/* Specific targeting for common text link patterns */
.learn-more, 
.get-content, 
.explore-options,
.read-more,
.view-more,
.see-all,
.discover-more {
    font-size: 15px !important; /* Make even larger */
    font-weight: 700 !important; /* Make bold */
    text-decoration: none !important; /* No underlines */
    color: var(--accent-color) !important; /* Ensure good color contrast */
}

/* Footer links - make more readable and larger */
.footer-column a {
    font-size: 15px !important; /* Increased from 12px */
    font-weight: 600 !important; /* Make bolder */
    text-decoration: none !important; /* No underlines */
    color: white !important; /* Keep footer links white */
}

.footer-bottom-links a {
    font-size: 15px !important; /* Increased from default */
    font-weight: 600 !important; /* Make bolder */
    text-decoration: none !important; /* No underlines */
    color: white !important; /* Keep footer links white */
}

/* Breadcrumb and navigation text links */
.breadcrumb a,
.nav-text a,
.inline-link {
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important; /* No underlines */
}

/* Hover effects to make text links more interactive */
.header-links a:hover,
.nav-links a:hover,
.card-link:hover,
.learn-more:hover,
.get-content:hover,
.explore-options:hover {
    transform: translateY(-1px) !important; /* Slight lift on hover */
    text-shadow: 0 1px 3px rgba(0,0,0,0.1) !important; /* Subtle shadow for depth */
}

/* Keep navigation links white on hover */
.nav-menu .nav-links a:hover {
    color: white !important; /* Keep navigation menu buttons WHITE on hover */
}

/* Keep footer links white on hover */
.footer-column a:hover,
.footer-bottom-links a:hover {
    color: white !important; /* Keep white on hover */
}

/* Ensure all text links have proper contrast - EXCLUDE navigation links */
a:not(.btn):not(.button):not([class*="btn"]):not(.nav-links a) {
    color: var(--accent-color) !important;
    transition: all 0.3s ease !important;
}

a:not(.btn):not(.button):not([class*="btn"]):not(.nav-links a):hover {
    color: var(--primary-color) !important;
}

/* Special styling for call-to-action text links */
.cta-text, 
.action-text,
.hero-link {
    font-size: 16px !important; /* Even larger for important CTAs */
    font-weight: 700 !important;
    text-decoration: none !important; /* No underlines */
    letter-spacing: 0.3px !important; /* Better readability */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-links a {
        font-size: 13px !important;
        padding: 6px 10px !important;
    }
    
    .nav-links a {
        font-size: 14px !important;
        padding: 12px 16px !important;
    }
    
    .card-link,
    a[href]:not(.btn):not(.button):not([class*="btn"]) {
        font-size: 13px !important;
    }
    
    .learn-more,
    .get-content,
    .explore-options {
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .header-links a {
        font-size: 12px !important;
    }
    
    .nav-links a {
        font-size: 13px !important;
    }
}

/* FINAL NAVIGATION OVERRIDE - Highest specificity to ensure white navigation text */
.nav-menu .nav-links a,
.nav-menu .nav-links a:link,
.nav-menu .nav-links a:visited,
.nav-menu .nav-links a:active {
    color: white !important;
}

.nav-menu .nav-links a:hover {
    color: white !important;
}
/* ==== source: wiseleaf-footer-worldclass.css ==== */
/*
 * WiseLeaf World-Class Footer
 * Professional footer matching journal theme for main website
 * Consistent with Journal 1 JAPSNP design patterns
 */

/* WiseLeaf Footer - Matching Journal 1 Theme Colors */

/* Main Footer Container */
.wiseleaf-footer {
  background: linear-gradient(135deg, #0c4a60 0%, #1a5c75 50%, #2c3e50 100%) !important;
  color: white !important;
  margin-top: 0 !important;
  position: relative;
  font-family: 'Inter', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  padding: 0 !important; /* Override any default footer padding */
}

/* Rainbow Top Border - Signature WiseLeaf Element */
.wiseleaf-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3498db 0%, #2ecc71 25%, #f39c12 50%, #e74c3c 75%, #9b59b6 100%);
  z-index: 1;
}

/* Footer Content Grid */
.wiseleaf-footer .footer-content {
  display: grid !important;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr !important;
  gap: 50px !important;
  padding: 60px 20px 40px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  position: relative;
  z-index: 2;
}

/* Footer Section Headings */
.wiseleaf-footer .footer-section h4.footer-heading {
  color: white !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  margin-bottom: 20px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  font-family: 'Merriweather', Georgia, serif !important;
}

/* WiseLeaf Brand Section */
.wiseleaf-footer .footer-brand {
  max-width: 100% !important;
  padding-right: 20px !important;
}

.wiseleaf-footer .footer-contact {
  margin-top: 20px !important;
}

.wiseleaf-footer .footer-contact p {
  color: white !important;
  font-size: 0.9rem !important;
  margin: 8px 0 !important;
  display: flex !important;
  align-items: center !important;
}

.wiseleaf-footer .footer-contact p i {
  color: #3498db !important;
  margin-right: 8px !important;
  width: 16px !important;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.wiseleaf-footer .footer-logo-img {
  width: 60px !important;
  height: 60px !important;
  margin-right: 15px !important;
  border-radius: 8px !important;
  background: white !important;
  padding: 4px !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
  object-fit: contain !important;
}

.footer-brand-text h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  margin: 0;
  line-height: 1.3;
  font-family: 'Merriweather', Georgia, serif;
}

.footer-tagline {
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 5px 0 0;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-description {
  color: white;
  line-height: 1.6;
  margin: 20px 0;
  font-size: 0.95rem;
}

/* WiseLeaf Statistics */
.footer-metrics {
  display: flex;
  gap: 30px;
  margin-top: 25px;
}

.footer-stat {
  text-align: center;
}

.footer-stat .stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--footer-accent);
  font-family: 'Inter', sans-serif;
}

.footer-stat .stat-label {
  font-size: 0.8rem;
  color: var(--footer-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Navigation Lists */
.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wiseleaf-footer .footer-nav li {
  margin-bottom: 16px !important;
}

.wiseleaf-footer .footer-nav a {
  color: white !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  font-size: 0.95rem !important;
  display: flex !important;
  align-items: center !important;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5) !important;
  font-weight: 500 !important;
}

.wiseleaf-footer .footer-nav a:hover {
  color: white !important;
  transform: translateX(3px) !important;
}

.wiseleaf-footer .footer-nav a:hover i {
  color: white !important;
}

.wiseleaf-footer .footer-nav a i {
  margin-right: 8px !important;
  width: 15px !important;
  color: white !important;
  font-size: 0.9rem !important;
}

/* Social Media Links */
.social-links {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.wiseleaf-footer .social-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  background: rgba(52, 152, 219, 0.2) !important;
  border: 2px solid #3498db !important;
  border-radius: 50% !important;
  color: #3498db !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  font-size: 1.1rem !important;
}

.wiseleaf-footer .social-link:hover {
  background: #3498db !important;
  color: white !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3) !important;
}

/* Newsletter Signup */
.footer-newsletter {
  margin-top: 20px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.newsletter-input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  color: #2c3e50 !important;
  font-size: 0.9rem;
}

.newsletter-input:focus {
  outline: none;
  border-color: #3498db;
  background: white;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.newsletter-input::placeholder {
  color: #7f8c8d;
}

.wiseleaf-footer .newsletter-btn {
  padding: 10px 16px !important;
  background: #3498db !important;
  color: white !important;
  border: none !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  font-weight: 500 !important;
}

.newsletter-btn:hover {
  background: #2980b9;
  transform: translateY(-1px);
}

/* Footer Bottom Bar */
.wiseleaf-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1) !important;
  padding: 30px 0 !important;
}

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

.copyright {
  color: #95a5a6;
  font-size: 0.9rem;
}

.copyright p {
  margin: 5px 0;
}

.copyright a {
  color: #3498db;
  text-decoration: none;
  transition: all 0.3s ease;
}

.copyright a:hover {
  color: white;
}

/* Professional Badges */
.footer-badges {
  display: flex;
  gap: 25px;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ecf0f1;
  font-size: 0.85rem;
  font-weight: 500;
}

.badge-item i {
  color: #2ecc71;
  font-size: 1.1rem;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #0c4a60;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  font-size: 1.2rem;
}

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

.back-to-top:hover {
  background: #1a5c75;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 20px 30px;
  }
  
  .footer-metrics {
    justify-content: center;
    gap: 20px;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .footer-badges {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-btn {
    align-self: center;
    padding: 12px 24px;
  }
}

@media (max-width: 480px) {
  .footer-metrics {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-badges {
    gap: 15px;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

/* Force all footer text to be white - Override any conflicting styles */
/* EXCEPT input fields */
.wiseleaf-footer * {
  color: white !important;
}

.wiseleaf-footer input.newsletter-input {
  color: #2c3e50 !important;
}

.wiseleaf-footer .footer-heading,
.wiseleaf-footer h3,
.wiseleaf-footer h4,
.wiseleaf-footer .footer-brand-text h3 {
  color: white !important;
}

.wiseleaf-footer a {
  color: white !important;
}

.wiseleaf-footer a:hover:not(.footer-nav a) {
  color: #3498db !important;
}

.wiseleaf-footer .footer-nav a:hover {
  color: white !important;
}

.wiseleaf-footer .footer-nav a i {
  color: white !important;
}

.wiseleaf-footer .social-link {
  border-color: #3498db !important;
  color: #3498db !important;
}

.wiseleaf-footer .copyright a {
  color: #3498db !important;
}

/* Additional overrides for footer navigation visibility */
.wiseleaf-footer .footer-nav li a,
.wiseleaf-footer .footer-section .footer-nav a,
footer.wiseleaf-footer .footer-nav a,
.wiseleaf-footer .footer-links .footer-nav a,
.wiseleaf-footer .footer-browse .footer-nav a {
  color: white !important;
  font-weight: 500 !important;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5) !important;
}

.wiseleaf-footer .footer-nav li a i,
.wiseleaf-footer .footer-section .footer-nav a i,
footer.wiseleaf-footer .footer-nav a i,
.wiseleaf-footer .footer-links .footer-nav a i,
.wiseleaf-footer .footer-browse .footer-nav a i {
  color: white !important;
}

.wiseleaf-footer .footer-nav li a:hover,
.wiseleaf-footer .footer-section .footer-nav a:hover,
footer.wiseleaf-footer .footer-nav a:hover,
.wiseleaf-footer .footer-links .footer-nav a:hover,
.wiseleaf-footer .footer-browse .footer-nav a:hover {
  color: white !important;
}

.wiseleaf-footer .footer-nav li a:hover i,
.wiseleaf-footer .footer-section .footer-nav a:hover i,
footer.wiseleaf-footer .footer-nav a:hover i,
.wiseleaf-footer .footer-links .footer-nav a:hover i,
.wiseleaf-footer .footer-browse .footer-nav a:hover i {
  color: white !important;
}

/* Ultra-specific overrides - targeting exact footer sections */
footer.wiseleaf-footer div.footer-section.footer-links ul.footer-nav li a,
footer.wiseleaf-footer div.footer-section.footer-browse ul.footer-nav li a {
  color: white !important;
  text-decoration: none !important;
  font-weight: 500 !important;
}

footer.wiseleaf-footer div.footer-section.footer-links ul.footer-nav li a:hover,
footer.wiseleaf-footer div.footer-section.footer-browse ul.footer-nav li a:hover {
  color: white !important;
}

/* Nuclear option - override any possible theme color inheritance */
.wiseleaf-footer a[href*="about"],
.wiseleaf-footer a[href*="vision"], 
.wiseleaf-footer a[href*="careers"],
.wiseleaf-footer a[href*="contact"],
.wiseleaf-footer a[href*="journals"],
.wiseleaf-footer a[href*="books"],
.wiseleaf-footer a[href*="publish"],
.wiseleaf-footer a[href*="access"],
.wiseleaf-footer a[href*="help"] {
  color: white !important;
  text-decoration: none !important;
}

/* Target new footer sections specifically */
.wiseleaf-footer .footer-services .footer-nav a,
.wiseleaf-footer .footer-resources .footer-nav a {
  color: white !important;
  text-decoration: none !important;
  font-weight: 500 !important;
}

.wiseleaf-footer .footer-services .footer-nav a:hover,
.wiseleaf-footer .footer-resources .footer-nav a:hover {
  color: white !important;
}

.wiseleaf-footer .footer-services .footer-nav a i,
.wiseleaf-footer .footer-resources .footer-nav a i {
  color: white !important;
}

/* Override any inherited text colors */
footer[role="contentinfo"] .footer-nav a,
footer[role="contentinfo"] .footer-section a,
footer[role="contentinfo"] ul li a {
  color: white !important;
}

/* Final override - target all links inside wiseleaf footer */
/* EXCEPT newsletter input */
.wiseleaf-footer *:not(input) {
  color: inherit !important;
}

.wiseleaf-footer a,
.wiseleaf-footer a *,
.wiseleaf-footer ul a,
.wiseleaf-footer li a {
  color: white !important;
}

/* Ultimate override for all footer navigation sections */
footer.wiseleaf-footer div.footer-section.footer-services ul.footer-nav li a,
footer.wiseleaf-footer div.footer-section.footer-resources ul.footer-nav li a,
.wiseleaf-footer .footer-section.footer-services .footer-nav a,
.wiseleaf-footer .footer-section.footer-resources .footer-nav a {
  color: white !important;
  font-weight: 500 !important;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5) !important;
}

footer.wiseleaf-footer div.footer-section.footer-services ul.footer-nav li a:hover,
footer.wiseleaf-footer div.footer-section.footer-resources ul.footer-nav li a:hover,
.wiseleaf-footer .footer-section.footer-services .footer-nav a:hover,
.wiseleaf-footer .footer-section.footer-resources .footer-nav a:hover {
  color: white !important;
}

footer.wiseleaf-footer div.footer-section.footer-services ul.footer-nav li a i,
footer.wiseleaf-footer div.footer-section.footer-resources ul.footer-nav li a i,
.wiseleaf-footer .footer-section.footer-services .footer-nav a i,
.wiseleaf-footer .footer-section.footer-resources .footer-nav a i {
  color: white !important;
}

/* Override for newsletter input - must be dark text on light background */
.wiseleaf-footer .newsletter-input,
.wiseleaf-footer input[type="email"],
.wiseleaf-footer .footer-newsletter input {
  color: #2c3e50 !important;
  background: rgba(255, 255, 255, 0.9) !important;
}

.wiseleaf-footer .newsletter-input::placeholder,
.wiseleaf-footer input[type="email"]::placeholder,
.wiseleaf-footer .footer-newsletter input::placeholder {
  color: #7f8c8d !important;
}
/* ==== source: legal-links-mobile-fix.css ==== */
/* Legal Links Mobile Responsiveness Fix */

/* Base Legal Links Styling */
.legal-links {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Override the .wiseleaf-footer .copyright a rule that makes links blue */
footer.wiseleaf-footer .footer-bottom .footer-bottom-content .copyright .legal-links a,
footer.wiseleaf-footer .copyright .legal-links a,
.wiseleaf-footer .copyright .legal-links a,
.copyright .legal-links a,
.legal-links a,
.legal-links a:link,
.legal-links a:visited,
.legal-links a:active {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.85rem !important;
    margin: 0 15px !important;
    transition: color 0.3s ease !important;
    display: inline-block !important;
    font-weight: 500 !important;
}

footer.wiseleaf-footer .footer-bottom .footer-bottom-content .copyright .legal-links a:hover,
footer.wiseleaf-footer .copyright .legal-links a:hover,
.wiseleaf-footer .copyright .legal-links a:hover,
.copyright .legal-links a:hover,
.legal-links a:hover,
.legal-links a:focus {
    color: #3498db !important;
    text-decoration: underline !important;
    transform: translateY(-2px) !important;
    text-shadow: 0 2px 4px rgba(52, 152, 219, 0.3) !important;
}

.legal-links a:not(:last-child)::after {
    content: '|';
    color: rgba(255, 255, 255, 0.4);
    margin-left: 15px;
    font-weight: 300;
}

/* Enhanced Mobile Responsiveness */
@media screen and (max-width: 767px) {
    .legal-links {
        text-align: center !important;
        margin-top: 15px !important;
        padding-top: 15px !important;
        display: block !important;
        visibility: visible !important;
    }
    
    .legal-links a {
        display: block !important;
        margin: 12px auto !important;
        font-size: 1rem !important;
        padding: 8px 15px !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 6px !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        max-width: 200px !important;
        text-align: center !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .legal-links a:hover,
    .legal-links a:focus {
        background: rgba(255, 255, 255, 0.2) !important;
        transform: none !important;
    }
    
    .legal-links a:not(:last-child)::after {
        display: none !important;
    }
}

/* Extra Small Mobile Devices */
@media screen and (max-width: 480px) {
    .legal-links a {
        font-size: 0.95rem !important;
        padding: 10px 12px !important;
        margin: 10px auto !important;
        max-width: 180px !important;
    }
}

/* High specificity to override any conflicting styles */
@media screen and (max-width: 767px) {
    body .wiseleaf-footer .footer-bottom .copyright .legal-links,
    body footer .footer-bottom .copyright .legal-links,
    body .copyright .legal-links {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        overflow: visible !important;
    }
    
    body .wiseleaf-footer .footer-bottom .copyright .legal-links a,
    body footer .footer-bottom .copyright .legal-links a,
    body .copyright .legal-links a {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        line-height: normal !important;
    }
}