/* ==== 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: inline-extracted/homepage-hero-sections.css ==== */
/**
 * WiseLeaf Homepage Hero Sections - Extracted Inline Styles
 * Phase 1 Implementation: Safe extraction of hero section styles
 * 
 * Extracted from: help.html, vision.html, fees.html
 * Risk Level: LOW (No JavaScript dependencies)
 * Date: October 21, 2025
 */

/* ====================================
   HELP PAGE HERO SECTION
   ==================================== */

/* Note: Help page uses existing help.css styles with background images.
   The original help.css already contains .help-hero styles with background images.
   No additional styles needed - help.css handles everything. */

/* ====================================
   VISION PAGE HERO SECTION
   ==================================== */

.hero-vision {
    background: linear-gradient(135deg, #0c4a60 0%, #1a5c75 50%, #005a8b 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin: -20px -20px 40px -20px;
    border-radius: 0;
}

.hero-vision__title {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero-vision__subtitle {
    color: white;
    opacity: 0.95;
    font-size: 1.2rem;
}

/* Vision page CTA section */
.vision-cta {
    background: linear-gradient(135deg, #0c4a60 0%, #1a5c75 100%);
    color: white;
    padding: 40px;
    border-radius: 12px;
    margin-top: 40px;
    text-align: center;
}

.vision-cta__title {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.vision-cta__icon {
    margin-right: 10px;
}

/* ====================================
   FEES PAGE HERO SECTION
   ==================================== */

.fees-hero {
    position: relative;
    overflow: hidden;
    padding: 80px 20px;
    text-align: center;
    color: #0c4a60;
}

.fees-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pages/fees-hero-bg.jpeg') center/cover no-repeat;
    z-index: 1;
}

.fees-hero > * {
    position: relative;
    z-index: 2;
}

.fees-hero__title {
    font-size: 2.8rem;
    margin: 0;
    color: #0c4a60 !important;
    font-family: 'Merriweather', serif;
}

/* Override wiseleaf-hero-consolidated.css */
div.fees-hero,
body div.fees-hero,
html body div.fees-hero {
    background-color: transparent !important;
    background: transparent !important;
}

div.fees-hero::before,
body div.fees-hero::before,
html body div.fees-hero::before {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

div.fees-hero h1,
body div.fees-hero h1,
html body div.fees-hero h1 {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */

@media (max-width: 768px) {
    .hero-help__title,
    .hero-vision__title,
    .fees-hero__title {
        font-size: 2rem;
    }
    
    .hero-help__description,
    .hero-vision__subtitle {
        font-size: 1rem;
    }
    
    .hero-vision,
    .fees-hero {
        padding: 40px 15px;
    }
    
    .vision-cta {
        padding: 30px 20px;
        margin: 20px 0;
    }
}

@media (max-width: 480px) {
    .hero-help__title,
    .hero-vision__title,
    .fees-hero__title {
        font-size: 1.8rem;
    }
    
    .hero-vision,
    .fees-hero {
        padding: 30px 10px;
    }
}
/* ==== source: inline-extracted/homepage-card-components.css ==== */
/**
 * WiseLeaf Homepage Card Components - Extracted Inline Styles
 * Phase 2 Implementation: Safe extraction of card component styles
 * 
 * Extracted from: help.html, publish.html, and other high-priority files
 * Risk Level: LOW (Reusable components)
 * Date: October 21, 2025
 */

/* ====================================
   BASE CARD COMPONENTS
   ==================================== */

/* Primary white card with shadow */
.card-primary {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

/* Primary card with colored top border variants */
.card-primary--blue {
    border-top: 4px solid #0c4a60;
}

.card-primary--teal {
    border-top: 4px solid #1a5c75;
}

.card-primary--navy {
    border-top: 4px solid #005a8b;
}

.card-primary--green {
    border-top: 4px solid #16a34a;
}

/* Secondary light card with left border */
.card-secondary {
    background: #f8fafc;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #0c4a60;
}

.card-secondary--green {
    border-left-color: #16a34a;
}

.card-secondary--teal {
    border-left-color: #1a5c75;
}

.card-secondary--navy {
    border-left-color: #005a8b;
}

/* Large content card */
.card-large {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* ====================================
   CARD CONTENT ELEMENTS
   ==================================== */

/* Card icons */
.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.card-icon--blue {
    color: #0c4a60;
}

.card-icon--teal {
    color: #1a5c75;
}

.card-icon--navy {
    color: #005a8b;
}

.card-icon--green {
    color: #16a34a;
}

/* Card titles */
.card-title {
    color: #0c4a60;
    font-family: 'Merriweather', serif;
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.card-title--large {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* Card descriptions */
.card-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
}

.card-description--medium {
    font-size: 1rem;
    color: #4a5568;
}

/* Card links */
.card-link {
    color: #16a34a;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.card-link:hover {
    color: #15803d;
    transform: translateX(2px);
}

/* ====================================
   GRID LAYOUTS FOR CARDS
   ==================================== */

/* Standard card grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.cards-grid--large {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

/* Card section container */
.cards-section {
    max-width: 1200px;
    margin: 60px auto 50px;
    padding: 0 20px;
}

/* ====================================
   BUTTON COMPONENTS
   ==================================== */

/* Primary button */
.btn-primary {
    background: #16a34a;
    color: white;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #15803d;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Secondary button (transparent with backdrop blur) */
.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    display: inline-block;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.3);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* ====================================
   SPECIALIZED CARD VARIANTS
   ==================================== */

/* Feature cards with center alignment */
.card-feature {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.card-feature:hover {
    transform: translateY(-5px);
}

/* Info cards with border variants */
.card-info {
    background: #f8fafc;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #16a34a;
}

/* List styling inside cards */
.card-list {
    color: #555;
    line-height: 1.8;
    font-size: 14px;
    padding-left: 0;
    list-style: none;
}

.card-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.card-list li::before {
    content: "•";
    color: #16a34a;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */

@media (max-width: 768px) {
    .cards-grid,
    .cards-grid--large {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cards-section {
        margin: 40px auto 40px;
        padding: 0 15px;
    }
    
    .card-primary,
    .card-large,
    .card-feature {
        padding: 25px;
    }
    
    .card-secondary,
    .card-info {
        padding: 20px;
    }
    
    .card-icon {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    .card-title--large {
        font-size: 1.2rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .cards-section {
        margin: 30px auto 30px;
        padding: 0 10px;
    }
    
    .card-primary,
    .card-large,
    .card-feature {
        padding: 20px;
    }
    
    .card-secondary,
    .card-info {
        padding: 18px;
    }
    
    .card-icon {
        font-size: 1.8rem;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .card-description {
        font-size: 13px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

/* ====================================
   UTILITY CLASSES
   ==================================== */

/* Text alignment */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

/* Spacing utilities */
.mb-15 {
    margin-bottom: 15px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-15 {
    margin-top: 15px;
}

.mt-20 {
    margin-top: 20px;
}

/* Color utilities */
.color-primary {
    color: #0c4a60;
}

.color-success {
    color: #16a34a;
}

.color-muted {
    color: #555;
}
/* ==== 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: 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;
    }
}