/* ==== 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: webinars-images.css ==== */
/* WiseLeaf Webinars Page Dynamic Hero Image */
/* Matches journals page hero image size */

/* Hero Section - Dynamic Background Image Support */
.hero.page-hero {
    /* Match journals-header sizing */
    min-height: 300px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    
    /* Override existing background */
    background: none !important;
    
    /* Background image defaults (will be overridden by JS) */
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    
    /* Ensure content is properly positioned */
    position: relative !important;
}

.hero.page-hero .hero-content {
    /* Ensure text is above background when shown */
    position: relative !important;
    z-index: 2 !important;
}

.hero.page-hero .hero-title,
.hero.page-hero .hero-subtitle,
.hero.page-hero .hero-description {
    /* Ensure individual text elements are positioned correctly */
    position: relative !important;
    z-index: 2 !important;
}

/* Loading states */
.hero.page-hero[data-loading="true"] {
    background: var(--gradient-main) !important;
}

/* Smooth transitions */
.hero.page-hero {
    transition: all 0.3s ease !important;
}

/* CSS-only test - same approach as journals and books */
.hero.page-hero {
    background-image: url('../images/pages/webinars-hero.jpg') !important;
    background-image: url('../images/pages/webinars-hero.webp') !important;
}

/* Registration page hero */
.hero.registration-hero {
    background-image: url('../images/pages/registration-hero.jpg') !important;
    background-image: url('../images/pages/registration-hero.webp') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    min-height: 300px !important;
}

/* Hide text for webinars page, show for registration page */
.hero.page-hero .hero-title,
.hero.page-hero .hero-subtitle,
.hero.page-hero .hero-description {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Show text for registration page only */
.hero.registration-hero .hero-title,
.hero.registration-hero .hero-subtitle,
.hero.registration-hero .hero-description {
    display: block !important;
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Responsive adjustments - match journals page */
@media (max-width: 768px) {
    .hero.page-hero {
        min-height: 250px !important;
        padding: 30px 15px !important;
    }
}

@media (max-width: 480px) {
    .hero.page-hero {
        min-height: 200px !important;
        padding: 20px 10px !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;
    }
}
/* ==== source: wl-mobile.css ==== */
/* ============================================================
   wl-mobile.css — WiseLeaf mobile layer. PHONES ONLY.
   Every rule below is inside @media (max-width:768px), except the
   single desktop guard that hides .wl-mobile-only elements.
   Loaded LAST on each page. Never edit other CSS files.
   Style: owner-approved "Desktop-true" (see mobile-responsive/DECISIONS.md).
   Naming: every new class is wl-m-* (zero collision with legacy CSS).
   ============================================================ */

/* THE ONLY desktop-side rule: elements added for mobile do not exist visually
   on desktop. Verified by tools/additive-check.py. */
@media (min-width: 769px) {
  .wl-mobile-only { display: none !important; }
}

@media (max-width: 768px) {

  /* ---------- tokens (self-contained; not all pages load wiseleaf-variables.css) ---------- */
  :root {
    --wlm-primary: #0c4a60;
    --wlm-secondary: #1a5c75;
    --wlm-accent: #005a8b;
    --wlm-orange: #e67e22;
    --wlm-text: #2c3e50;
    --wlm-muted: #5d6d7e;
    --wlm-bg: #f8f9fa;
    --wlm-line: #e9ecef;
    --wlm-grad: linear-gradient(135deg, #0c4a60 0%, #1a5c75 50%, #005a8b 100%);
    --wlm-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    --wlm-header-h: 80px;
  }

  .wl-mobile-only { display: block; }

  /* ---------- global comfort ---------- */
  html, body { overflow-x: hidden; }
  body { font-size: 16px; }
  input, select, textarea { font-size: 16px !important; } /* no iOS zoom */

  /* ---------- retire the always-open nav stack (the wall of links) ---------- */
  html body nav.nav-menu,
  html body .nav-menu { display: none !important; }

  /* ---------- hamburger button (inserted inside .header-container) ---------- */
  .wl-m-burger {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border: none; background: none; cursor: pointer;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    gap: 5px; z-index: 1101; padding: 0;
  }
  .wl-m-burger span {
    display: block; width: 24px; height: 2.5px; background: var(--wlm-primary);
    border-radius: 2px; transition: transform .25s ease, opacity .25s ease;
  }
  .wl-m-burger.wl-m-x span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .wl-m-burger.wl-m-x span:nth-child(2) { opacity: 0; }
  .wl-m-burger.wl-m-x span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  /* clean header edge: no shadow line under the logo (owner, 2026-08-02) */
  html body header.header, html body .header {
    box-shadow: none !important; border-bottom: none !important; }
  html body .header .header-container { position: relative; }

  /* ---------- slide-in nav overlay ---------- */
  .wl-m-nav {
    position: fixed; left: 0; right: 0; bottom: 0; top: var(--wlm-header-h);
    background: var(--wlm-grad); z-index: 1100;
    transform: translateX(100%); transition: transform .28s ease;
    overflow-y: auto; display: flex; flex-direction: column;
  }
  .wl-m-nav.wl-m-open { transform: translateX(0); }
  body.wl-m-noscroll { overflow: hidden !important; height: 100vh !important; }
  /* hardened against legacy !important link/list rules */
  .wl-m-nav ul { list-style: none !important; margin: 0 !important; padding: 12px 0 !important; }
  .wl-m-nav ul li { margin: 0 !important; padding: 0 !important; border: none !important;
    background: none !important; line-height: normal !important; }
  .wl-m-nav ul a {
    display: flex !important; align-items: center; justify-content: space-between;
    color: #fff !important; text-decoration: none !important;
    font-size: 1.05rem !important; font-weight: 600 !important;
    font-family: 'Source Sans Pro', sans-serif !important;
    padding: 15px 24px !important; margin: 0 !important;
    background: none !important; border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    line-height: 1.4 !important; opacity: 1 !important;
  }
  /* wiseleaf-text-links-readable.css paints all anchors with !important at
     ~(0,4,2) specificity; ID selectors (1,0,x) win without an arms race */
  #wlmNav ul a { color: #fff !important; }
  #wlmNav .wl-m-nav-cta { color: #fff !important; }
  #wlmSug a { color: var(--wlm-text) !important; }
  .wl-m-nav .wl-m-nav-cta {
    margin: 20px auto 28px auto !important; display: block !important;
    width: auto !important; max-width: 240px !important; text-align: center;
    background: var(--wlm-orange) !important; color: #fff !important;
    text-decoration: none !important; font-weight: 700 !important;
    padding: 12px 26px !important; border-radius: 8px !important;
    font-size: .95rem !important; opacity: 1 !important;
  }

  /* ---------- shared components (Desktop-true) ---------- */
  .wl-m-band {                       /* teal gradient band */
    background: var(--wlm-grad); color: #fff; padding: 28px 20px 32px;
  }
  .wl-m-band h1, .wl-m-band h2 {
    font-family: 'Merriweather', serif; font-weight: 700; color: #fff;
    font-size: clamp(1.4rem, 6vw, 1.9rem); line-height: 1.3; margin: 0;
  }
  .wl-m-band p { margin: 8px 0 0; font-size: .92rem; opacity: .87; line-height: 1.55; }

  .wl-m-card {                       /* the desktop card treatment */
    background: #fff; border: 1px solid var(--wlm-line); border-radius: 12px;
    box-shadow: var(--wlm-shadow);
  }
  .wl-m-title {                      /* centered serif section title */
    font-family: 'Merriweather', serif; color: var(--wlm-primary);
    font-size: 1.35rem; font-weight: 600; text-align: center; margin: 34px 0 14px;
  }
  .wl-m-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 46px; padding: 0 20px; border-radius: 8px; font-weight: 600;
    font-size: .92rem; text-decoration: none; border: none; cursor: pointer;
  }
  .wl-m-btn-solid { background: var(--wlm-primary); color: #fff; }
  .wl-m-btn-line { background: #fff; color: var(--wlm-primary); border: 1.5px solid var(--wlm-primary); }
  .wl-m-btn-orange { background: var(--wlm-orange); color: #fff; }
  .wl-m-badge {
    font-size: .7rem; font-weight: 600; border-radius: 5px; padding: 2px 8px;
    display: inline-block; border: 1px solid var(--wlm-line); background: #fff;
    color: var(--wlm-muted);
  }

  /* ---------- sticky search strip (catalog pages) ---------- */
  .wl-m-search-strip {
    position: sticky; top: var(--wlm-header-h); z-index: 500;
    background: var(--wlm-bg); display: flex; gap: 8px; padding: 12px 16px;
    border-bottom: 1px solid var(--wlm-line);
  }
  .wl-m-search-strip input {
    flex: 1; min-width: 0; height: 46px; border: 1px solid var(--wlm-line);
    border-radius: 8px; padding: 0 14px; background: #fff; color: var(--wlm-text);
  }
  .wl-m-search-strip input:focus { outline: 2px solid #3498db; border-color: transparent; }
  .wl-m-filter-btn {
    height: 46px; padding: 0 16px; border-radius: 8px;
    border: 1.5px solid var(--wlm-primary); background: #fff; color: var(--wlm-primary);
    font-weight: 600; font-size: .92rem; display: flex; align-items: center; gap: 7px;
  }
  .wl-m-sug {
    position: absolute; left: 16px; right: 16px; top: 62px; z-index: 600;
    background: #fff; border: 1px solid var(--wlm-line); border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12); overflow: hidden; display: none;
  }
  .wl-m-sug.wl-m-open { display: block; }
  .wl-m-sug a {
    display: block; padding: 11px 16px; text-decoration: none;
    color: var(--wlm-text); font-size: .88rem; font-weight: 600;
    border-bottom: 1px solid var(--wlm-line);
  }
  .wl-m-sug a:last-child { border-bottom: none; }

  /* ---------- filter bottom sheet ---------- */
  .wl-m-sheet-backdrop {
    position: fixed; inset: 0; background: rgba(0, 0, 0, 0.45); z-index: 1500;
    opacity: 0; pointer-events: none; transition: opacity .25s;
  }
  .wl-m-sheet-backdrop.wl-m-open { opacity: 1; pointer-events: auto; }
  .wl-m-sheet {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1600; background: #fff;
    border-radius: 16px 16px 0 0; max-height: 78vh; overflow-y: auto;
    transform: translateY(105%); transition: transform .28s ease;
    box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.12);
  }
  .wl-m-sheet.wl-m-open { transform: translateY(0); }
  .wl-m-sheet-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px 6px;
  }
  .wl-m-sheet-head h3 {
    font-family: 'Merriweather', serif; color: var(--wlm-primary);
    font-size: 1.1rem; font-weight: 600; margin: 0;
  }
  .wl-m-sheet-actions {
    display: flex; gap: 10px; padding: 16px 20px 26px;
    border-top: 1px solid var(--wlm-line);
  }
  .wl-m-sheet-actions .wl-m-btn { flex: 1; }

  /* ============================================================
     PAGE SECTIONS — appended below by each page plan, wrapped in
     comments:  /* === PAGE: <name> START === * / ... END
     Do not add rules above this line except via a plan.
     ============================================================ */

  /* ---------- footer tidy (all pages): legal links + newsletter ---------- */
  html body .legal-links.legal-links { display: block !important;
    padding: 0 16px !important; text-align: center !important; }
  html body .legal-links.legal-links a { display: inline-block !important;
    width: auto !important; max-width: none !important;
    margin: 0 10px 6px 10px !important; padding: 6px 2px !important;
    border: none !important; border-radius: 0 !important; box-shadow: none !important;
    background: none !important; color: rgba(255,255,255,.8) !important;
    font-size: .8rem !important; font-weight: 400 !important;
    text-decoration: underline !important; text-underline-offset: 3px !important;
    line-height: 1.4 !important; float: none !important; }
  html body .newsletter-form.newsletter-form { display: flex !important;
    flex-direction: column !important; gap: 10px !important;
    align-items: stretch !important; margin: 0 !important; }
  html body .newsletter-form.newsletter-form .newsletter-input {
    width: 100% !important; box-sizing: border-box !important;
    height: 48px !important; border-radius: 8px !important; margin: 0 !important; }
  html body .newsletter-form.newsletter-form .newsletter-btn {
    width: 100% !important; max-width: none !important; align-self: stretch !important;
    box-sizing: border-box !important; min-height: 48px !important;
    border-radius: 8px !important; margin: 0 !important; font-weight: 700 !important; }

  /* ---------- footer compression: same content, half the scroll ---------- */
  html body .wiseleaf-footer { padding-top: 0 !important; }
  html body .wiseleaf-footer .footer-content { gap: 14px !important;
    padding: 30px 20px 22px !important; }
  html body .wiseleaf-footer .footer-section { margin: 0 !important; padding: 0 !important; }
  html body .wiseleaf-footer .footer-heading { font-size: .95rem !important;
    letter-spacing: 1px !important; margin: 0 0 10px 0 !important; }
  html body .wiseleaf-footer .footer-nav { margin: 0 !important; padding: 0 !important; }
  html body .wiseleaf-footer .footer-nav li { padding: 3px 0 !important; margin: 0 !important; }
  html body .wiseleaf-footer .footer-section .footer-heading { margin-top: 0 !important; }
  html body .wiseleaf-footer .footer-brand, html body .wiseleaf-footer .footer-contact,
  html body .wiseleaf-footer .footer-contact-item { margin-bottom: 10px !important; }
  html body .wiseleaf-footer p, html body .wiseleaf-footer .footer-tagline {
    margin-top: 4px !important; margin-bottom: 4px !important; }
  html body .wiseleaf-footer .footer-nav a,
  html body .wiseleaf-footer .footer-nav li { font-size: .88rem !important; line-height: 1.5 !important; }
  /* locations: one line instead of a tall list */
  html body .footer-section.footer-services .footer-nav { display: flex !important;
    flex-direction: row !important; flex-wrap: wrap !important; gap: 4px 18px !important; }
  html body .footer-section.footer-services .footer-nav li { padding: 0 !important; }
  /* resources: two columns instead of one long column */
  html body .footer-section.footer-resources .footer-nav { display: grid !important;
    grid-template-columns: 1fr 1fr !important; gap: 4px 14px !important; }
  html body .wiseleaf-footer .footer-brand-text h3 { font-size: 1rem !important; margin: 0 !important; }
  html body .wiseleaf-footer .footer-brand-text { gap: 2px !important; }
  html body .wiseleaf-footer .sf-social a,
  html body .wiseleaf-footer .social-icons a, html body .wiseleaf-footer .social-links a {
    width: 38px !important; height: 38px !important; }

  /* === PAGE: publish START === */
  .wl-m-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table { max-width: 100%; }
  form input, form select, form textarea { width: 100%; box-sizing: border-box; }
  /* === PAGE: publish END === */

  /* === PAGE: journals START === */
  /* owner decision 2026-08-04: with only 2 journals, search/filter/sort earn
     no space on phones — hidden on mobile ONLY (desktop keeps them).
     REVISIT when the journal list grows (~6+): delete these two rules. */
  .journals-filters { display: none !important; }
  .journals-content .sort-select { display: none !important; }
  .journals-filters { order: 0 !important; }
  .journals-list { order: 1 !important; }
  /* journals banner: same treatment as books-catalog (owner bundle 4) — the
     baked image strip is unreadable on phones; light image + HTML why-block */
  html body section.journals-header.journals-header {
    background:
      linear-gradient(180deg, rgba(255,255,255,.30) 0%, rgba(255,255,255,.55) 100%),
      url('../images/heroes/vision-hero.jpg') center / cover no-repeat !important;
    height: auto !important; min-height: 0 !important; max-height: none !important;
    overflow: visible !important; padding: 26px 20px 28px !important; }
  /* journals-hero-final-fix.css force-hides EVERY child of .journals-header
     (display:none + visibility:hidden on *). Un-hide our why-block with
     higher class-specificity; wl-mobile.css also loads after it. */
  html body .journals-header .wl-m-why-wrap,
  html body .journals-header .wl-m-why-title {
    display: block !important; visibility: visible !important; }
  html body .journals-header .wl-m-why {
    display: grid !important; visibility: visible !important; }
  html body .journals-header .wl-m-why span {
    display: flex !important; visibility: visible !important; }
  html body .journals-header .wl-m-why span i {
    display: inline-flex !important; visibility: visible !important; }
  html body .journals-header .wl-m-why span img {
    display: inline-block !important; visibility: visible !important; }
  /* full-service hero: h1 + subtitle sat side by side in the collapsed flex
     row; stack and center them (scoped away from the homepage band hero) */
  body:not(:has(.wl-m-hero)) div.hero {
    flex-direction: column !important; text-align: center !important;
    justify-content: center !important; align-items: center !important;
    gap: 8px !important; }
  .journal-card { background: #fff !important; border: 1px solid var(--wlm-line) !important;
    border-radius: 12px !important; box-shadow: var(--wlm-shadow) !important;
    padding: 14px !important; }
  /* cover image (the page JS injects a real <img> here): centered above the
     content; owner 2026-08-04: keep the covers */
  .journal-card .journal-image { display: flex !important; justify-content: center;
    align-items: center; margin: 0 0 12px !important; }
  .journal-title { font-family: 'Merriweather', serif !important;
    font-size: 1.02rem !important; line-height: 1.35 !important; margin: 0 0 6px !important; }
  .journal-description { font-size: .85rem !important; line-height: 1.5 !important;
    margin: 0 0 10px !important; }
  .journal-meta { display: flex !important; flex-direction: row !important;
    flex-wrap: wrap !important; gap: 6px !important; margin: 0 0 12px !important; }
  .journal-meta-item { font-size: .72rem !important; padding: 3px 8px !important;
    background: #fff !important; border: 1px solid var(--wlm-line) !important;
    border-radius: 6px !important; display: flex !important; align-items: center;
    gap: 5px; margin: 0 !important; }
  .journal-actions { display: flex !important; gap: 8px !important; }
  .journal-actions .journal-btn { flex: 1; min-height: 42px !important;
    display: flex !important; align-items: center; justify-content: center;
    text-align: center; font-size: .85rem !important; border-radius: 9px !important; }
  /* about hero: universal-mobile-navigation-fix.css paints a heavy
     text-shadow at (0,3,2) specificity; match it, we load later (owner
     2026-08-04). Desktop copy lives in wl-desktop.css */
  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 { text-shadow: none !important; }
  /* about footer: a legacy rule paints the "Our Journals" resource link as a
     button (the site's "nuclear fix" reset it in the nav but not the footer);
     make it a plain link like its siblings (owner 2026-08-04, pre-existing) */
  html body .wiseleaf-footer a[href$="journals.html"] {
    background: transparent !important; padding: 0 !important;
    border-radius: 0 !important; box-shadow: none !important;
    border: none !important; display: inline-flex !important;
    margin: 0 !important; transform: none !important; }
  /* === PAGE: journals END === */

  /* === PAGE: book-detail START === */
  /* Owner-approved order (2026-08-02): breadcrumb, cover, title, authors,
     actions, facts, about, keywords, cite (collapsed), share.
     Title/authors live in a different container than cover/actions, so both
     containers become display:contents and every block gets an explicit order. */
  .book-detail-layout { display: flex !important; flex-direction: column !important;
    padding: 0 16px !important; }
  .book-detail-layout > .book-detail-cover,
  .book-detail-layout > .book-detail-content { display: contents !important; }
  /* cover block children; the image wrapper must be full-width so the
     cover can truly center */
  .book-detail-cover > * { order: 1; }
  .book-detail-cover > *:not(.book-detail-actions):not(.book-detail-meta) {
    width: 100% !important; max-width: 100% !important; display: flex !important;
    justify-content: center !important; margin: 0 !important; padding: 0 !important;
    float: none !important; }
  .book-detail-cover > .book-detail-actions { order: 5; margin: 4px 0 10px !important; }
  .book-detail-cover > .book-detail-meta { order: 6; }
  /* content block children */
  .book-detail-content > * { order: 10; }
  html body .book-detail-content > h1 { order: 3;
    font-family: 'Merriweather', serif !important; font-size: 1.55rem !important;
    font-weight: 700 !important; line-height: 1.3 !important;
    color: var(--wlm-primary) !important; margin: 16px 0 4px !important;
    text-align: center !important; }
  .book-detail-content > .book-authors { order: 4;
    font-size: .88rem !important; color: var(--wlm-muted) !important;
    font-style: italic !important; text-align: center !important;
    margin: 0 0 10px !important; }
  .book-detail-content > .book-description { order: 7; }
  .book-detail-content > .book-badges { order: 8; margin: 8px 0 !important; }
  .book-detail-content > .book-info-grid { order: 8;
    display: grid !important; grid-template-columns: 1fr 1fr !important;
    gap: 8px !important; width: 100% !important; margin: 6px 0 !important; }
  .book-info-grid > * { width: 100% !important; max-width: none !important;
    margin: 0 !important; padding: 10px 12px !important; box-sizing: border-box;
    border-radius: 8px !important; }
  .book-detail-content > .book-detail-section { order: 9;
    margin: 12px 0 !important; padding: 0 !important; }
  .book-detail-section h2 { font-size: 1.25rem !important; margin: 0 0 8px 0 !important; }
  .book-detail-content > .book-badges { gap: 6px !important; }
  .book-detail-content > .book-description { margin: 8px 0 !important; }
  .book-detail-layout > * { margin-top: 0 !important; }
  /* NON-BOOK pages on the book-detail template (no citation_isbn meta —
     today only call-for-chapters): the reorder above is for real book pages
     and scrambles this one. Neutralize it: plain full-width stack, poster
     edge-to-edge, tightened gaps. Same discriminator as the JS bookbar guard. */
  html:not(:has(meta[name="citation_isbn"])) .book-detail-layout > .book-detail-cover,
  html:not(:has(meta[name="citation_isbn"])) .book-detail-layout > .book-detail-content {
    display: block !important; width: 100% !important; min-width: 0 !important; }
  html:not(:has(meta[name="citation_isbn"])) .book-detail-cover > *:not(img),
  html:not(:has(meta[name="citation_isbn"])) .book-detail-content > *:not(img) {
    width: 100% !important; max-width: 100% !important; }
  html:not(:has(meta[name="citation_isbn"])) .book-detail-section,
  html:not(:has(meta[name="citation_isbn"])) .deadline-box,
  html:not(:has(meta[name="citation_isbn"])) .offer-grid,
  html:not(:has(meta[name="citation_isbn"])) .contact-cards {
    width: 100% !important; max-width: 100% !important;
    box-sizing: border-box; margin: 14px 0 !important; }
  html:not(:has(meta[name="citation_isbn"])) .contact-cards {
    display: grid !important; grid-template-columns: 1fr !important; gap: 10px; }
  html:not(:has(meta[name="citation_isbn"])) .offer-grid {
    display: grid !important; grid-template-columns: 1fr !important; gap: 8px; }
  html:not(:has(meta[name="citation_isbn"])) .book-detail-content > h1 {
    font-size: 1.5rem !important; line-height: 1.3 !important;
    margin: 14px 0 8px !important; }
  html:not(:has(meta[name="citation_isbn"])) .book-detail-actions {
    display: flex !important; flex-wrap: wrap !important; gap: 8px !important; }
  /* poster image: compact + centered like book covers, but with NO box — a
     site rule forces the img full-width, letterboxing it so its own bg/border
     painted a visible frame around the poster (owner 2026-08-04: remove it) */
  html:not(:has(meta[name="citation_isbn"])) body aside.book-detail-cover.book-detail-cover img {
    width: auto !important; max-width: min(58vw, 220px) !important;
    max-height: 42vh !important; height: auto !important;
    margin: 6px auto 0 !important; display: block !important;
    background: transparent !important; border: none !important;
    box-shadow: none !important; }
  /* cover image: whole, centered, defined edge */
  .book-cover img, .book-detail-cover img, .book-hero img {
    width: auto !important; max-width: min(58vw, 220px) !important;
    max-height: 40vh !important; height: auto !important;
    margin: 12px auto 0 !important; display: block !important; float: none !important;
    border: 1px solid rgba(12,74,96,.14); border-radius: 8px;
    box-shadow: 0 1px 2px rgba(12,74,96,.10), 0 12px 26px rgba(12,74,96,.20); }
  /* actions: side by side */
  .book-detail-actions { display: flex !important; flex-direction: row !important;
    flex-wrap: wrap !important; gap: 8px !important; justify-content: center !important;
    margin: 0 !important; }
  /* the always-on bottom bar carries the actions; inline buttons would repeat them */
  .book-detail-actions a, .book-detail-actions button { display: none !important; }
  .book-detail-actions p { flex-basis: 100% !important; text-align: center !important;
    font-size: .78rem !important; color: var(--wlm-muted) !important; margin: 2px 0 0 !important; }
  /* facts strip: quiet 2-column chips */
  .book-detail-meta { display: grid !important; grid-template-columns: 1fr 1fr !important;
    gap: 8px !important; margin: 6px 0 4px !important; }
  .book-detail-meta > * { background: #fff !important; border: 1px solid var(--wlm-line) !important;
    border-radius: 8px !important; padding: 8px 10px !important; margin: 0 !important;
    font-size: .78rem !important; line-height: 1.4 !important; color: var(--wlm-muted) !important;
    overflow-wrap: anywhere; }
  .book-detail-meta > * strong, .book-detail-meta > * b { color: var(--wlm-text) !important;
    display: block; font-size: .68rem !important; text-transform: uppercase;
    letter-spacing: .5px; }
  /* how-to-cite: collapsed by default (JS toggles) */
  .wl-m-collapsible { padding-bottom: 4px !important; margin-bottom: 10px !important; }
  .wl-m-collapsible > h2 { cursor: pointer; position: relative; display: block !important;
    padding-right: 30px !important; margin-bottom: 0 !important; }
  .wl-m-collapsible > h2::after { content: '+'; position: absolute; right: 6px; top: 0;
    color: var(--wlm-accent); font-weight: 600; }
  .wl-m-collapsible.wl-m-open-sec > h2::after { content: '\2013'; }
  .wl-m-collapsible > *:not(h2) { display: none !important; }
  .wl-m-collapsible.wl-m-open-sec > *:not(h2) { display: block !important; }
  .wl-m-copy-cite { margin-top: 8px; min-height: 40px; padding: 6px 16px;
    border: 1.5px solid var(--wlm-primary); border-radius: 8px; background: #fff;
    color: var(--wlm-primary); font-weight: 600; font-size: .82rem; }
  /* sticky action bar: refined, always present on book pages */
  .wl-m-bookbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    background: rgba(255,255,255,.97);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid var(--wlm-line);
    box-shadow: 0 -4px 20px rgba(12,74,96,.08); display: none; gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    align-items: stretch; }
  .wl-m-bookbar.wl-m-show { display: flex; }
  #wlmBookBar a, #wlmBookBar button { flex: 1; min-height: 50px;
    display: inline-flex; flex-direction: column; align-items: center;
    justify-content: center; gap: 1px; border-radius: 12px;
    font-weight: 600 !important; font-size: .93rem !important;
    letter-spacing: .2px; text-decoration: none !important; border: none;
    transition: transform .12s ease, box-shadow .12s ease; }
  #wlmBookBar a:active { transform: scale(.97); }
  /* primary action: solid teal with depth */
  #wlmBookBar .wl-m-bb-primary { color: #fff !important;
    background: linear-gradient(180deg, #135a74 0%, #0c4a60 100%) !important;
    box-shadow: 0 3px 10px rgba(12,74,96,.28) !important; }
  /* buy when ACTIVE: the orange commerce primary */
  #wlmBookBar .wl-m-bb-buy { color: #fff !important;
    background: linear-gradient(180deg, #ef8c37 0%, #e67e22 100%) !important;
    box-shadow: 0 3px 10px rgba(230,126,34,.30) !important; }
  /* buy when DISABLED: present, honest, clearly inactive */
  #wlmBookBar .wl-m-bb-disabled { background: #eef1f3 !important;
    color: #8b98a0 !important; box-shadow: none !important;
    cursor: not-allowed; }
  #wlmBookBar .wl-m-bb-disabled small { font-size: .64rem; font-weight: 600;
    letter-spacing: .6px; text-transform: uppercase; color: #a5b0b6; }
  /* === PAGE: book-detail END === */

  /* === PAGE: books-catalog START === */
  /* grid blowout fix: a child's min-content forced the single column to 527px */
  .books-content { grid-template-columns: minmax(0, 1fr) !important; width: 100% !important; }
  .books-filters, .books-main, .books-list { min-width: 0 !important; max-width: 100% !important; box-sizing: border-box; }
  .filter-input, .filter-select { max-width: 100% !important; box-sizing: border-box; }
  .books-filters { order: 0 !important; padding: 16px !important; }
  .books-list { order: 1 !important; }
  /* header band: replace the unreadable baked banner strip with the teal band */
  html body section.books-header.books-header {
    background:
      linear-gradient(180deg, rgba(255,255,255,.30) 0%, rgba(255,255,255,.55) 100%),
      url('../images/heroes/vision-hero.jpg') center / cover no-repeat !important;
    height: auto !important; min-height: 0 !important; max-height: none !important;
    overflow: visible !important; padding: 26px 20px 28px !important; }
  html body .books-header.books-header > h1,
  html body .books-header.books-header > p { display: none !important; }
  /* why-publish feature list: the banner's own items, dark on the light image */
  .wl-m-why-wrap .wl-m-why-title { display: block !important;
    visibility: visible !important; opacity: 1 !important; }
  .wl-m-why-title { font-family: 'Merriweather', serif; color: var(--wlm-primary);
    font-size: 1.05rem; font-weight: 700; letter-spacing: 1.4px;
    text-transform: uppercase; margin: 0 0 12px; text-align: center; }
  .wl-m-why img { height: 22px; width: 22px; object-fit: contain; border-radius: 4px;
    flex: 0 0 22px; }
  .wl-m-why img.wl-m-wide { width: 46px; flex: 0 0 46px; border-radius: 3px; }
  .wl-m-why { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 14px; margin: 0; }
  .wl-m-why span { display: flex; align-items: center; gap: 8px;
    color: var(--wlm-text); font-size: .78rem; font-weight: 600; }
  .wl-m-why span i { width: 24px; height: 24px; border-radius: 6px;
    background: rgba(12,74,96,.10); color: var(--wlm-primary);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .7rem; flex: 0 0 24px; }

  .books-header::before, .books-header::after { display: none !important; }
  /* publisher list card, styled for the loader's REAL markup:
     .book-card > .book-content (first) + .book-image (second) -> row-reverse = cover left */
  .book-card { display: flex !important; flex-direction: row-reverse !important; gap: 12px;
    align-items: flex-start; background: #fff !important;
    border: 1px solid var(--wlm-line) !important; border-radius: 12px !important;
    box-shadow: var(--wlm-shadow) !important; padding: 12px !important;
    margin: 0 0 10px 0 !important; min-height: 0 !important; width: 100% !important;
    box-sizing: border-box; overflow: hidden; transform: none !important; }
  .book-card { flex-direction: row !important; }
  .book-card .book-image { order: -1 !important; /* cover on the LEFT (owner) */
    flex: 0 0 84px !important; width: 84px !important;
    min-width: 0 !important; max-width: 84px !important;
    height: auto !important; margin: 0 !important; padding: 0 !important; }
  .book-card .book-image img { width: 84px !important; height: 112px !important;
    object-fit: cover !important; border-radius: 6px !important; display: block !important;
    margin: 0 !important; }
  .book-card .book-content { flex: 1 1 auto !important; min-width: 0 !important;
    padding: 0 !important; display: block !important; }
  .book-card .book-card-header { display: block !important; margin: 0 !important; }
  .book-card .book-title { font-family: 'Merriweather', serif !important;
    font-size: .95rem !important; line-height: 1.35 !important;
    color: var(--wlm-text) !important; margin: 0 0 4px 0 !important; }
  .book-type-badge { display: inline-block !important; font-size: .62rem !important;
    font-weight: 600 !important; padding: 2px 7px !important; border-radius: 5px !important;
    margin: 0 4px 4px 0 !important; }
  /* quiet style only for non-premier, non-flagship badges */
  .book-type-badge:not(.badge-premier):not(.badge-flagship) {
    background: #fff !important; color: var(--wlm-muted) !important;
    border: 1px solid var(--wlm-line) !important; box-shadow: none !important;
    text-shadow: none !important; }
  /* premier/flagship keep their desktop colours; just size them for phones */
  .book-type-badge.badge-premier, .book-type-badge.badge-flagship {
    font-size: .62rem !important; padding: 3px 8px !important;
    border-width: 1px !important; box-shadow: none !important; }
  .book-type-badge i { display: none !important; }
  .book-author { font-size: .78rem !important; color: var(--wlm-muted) !important;
    font-style: italic !important; margin: 2px 0 6px 0 !important; }
  .book-meta { display: flex !important; flex-direction: row !important;
    flex-wrap: wrap !important; gap: 5px !important; margin: 0 0 8px 0 !important; }
  .book-meta-item { font-size: .7rem !important; padding: 2px 7px !important;
    background: var(--wlm-bg) !important; border: 1px solid var(--wlm-line) !important;
    border-radius: 5px !important; color: var(--wlm-muted) !important;
    display: inline-flex !important; gap: 4px; align-items: center;
    margin: 0 !important; width: auto !important; }
  .book-meta-item i { display: none !important; }
  .book-actions { display: flex !important; flex-direction: row !important;
    flex-wrap: wrap !important; gap: 8px !important; margin: 6px 0 0 0 !important;
    justify-content: flex-start !important; }
  .book-actions .book-btn { min-height: 38px !important; padding: 6px 10px !important;
    font-size: .78rem !important; font-weight: 600 !important;
    letter-spacing: 0 !important; text-transform: none !important;
    border-radius: 7px !important; width: auto !important;
    flex: 1 1 40% !important; min-width: 0 !important; max-width: none !important;
    margin: 0 !important; white-space: nowrap !important; overflow: hidden !important;
    display: inline-flex !important; align-items: center !important;
    justify-content: center !important; gap: 6px !important;
    box-shadow: none !important; }
  .book-actions .book-btn i { font-size: .72rem !important; }
  .book-actions .book-btn.primary { background: var(--wlm-primary) !important;
    color: #fff !important; border: none !important; }
  .book-actions .book-btn.secondary { background: #fff !important;
    color: var(--wlm-muted) !important; border: 1px solid var(--wlm-line) !important; }
  .book-actions p { flex-basis: 100% !important; font-size: .7rem !important;
    color: var(--wlm-muted) !important; margin: 2px 0 0 0 !important; }
  .book-card .book-image { align-items: flex-start !important;
    justify-content: flex-start !important; }
  .book-actions { justify-content: flex-start !important; }
  .book-actions .book-btn { margin: 0 !important; }
  .books-tabs, .tab-buttons { overflow-x: auto; flex-wrap: nowrap !important; }
  /* === PAGE: books-catalog END === */

  /* === PAGE: blog (Insights) === */
  /* 7 category tabs overlapped into an unreadable pile on phones; one
     scrollable row instead (owner bundle: blog, 2026-08-05) */
  .blog-filter-inner { display: flex !important; flex-wrap: nowrap !important;
    overflow-x: auto !important; -webkit-overflow-scrolling: touch;
    gap: 18px !important; }
  .blog-filter-inner .filter-tab { flex: 0 0 auto !important;
    white-space: nowrap; margin: 0 !important; padding: 10px 2px !important; }

  /* === PAGE: search-results === */
  /* the two search buttons wrapped unevenly on phones (owner bundle 5) */
  body:has(#advancedSearchBtn) #searchButton,
  body:has(#advancedSearchBtn) #advancedSearchBtn {
    display: flex !important; align-items: center; justify-content: center;
    width: 100% !important; min-height: 46px !important;
    margin: 0 0 8px 0 !important; }

  /* === PAGE: pricing/subscription family === */
  /* owner 2026-08-04: features-list items use display:flex, which splits each
     line into cramped term/description columns on phones; flow as prose. */
  .features-list li { display: block !important; }
  .features-list li i { margin-right: 7px; }

  /* === PAGE: ethics trio (human-subjects, animal-research, conflict-of-interest) === */
  /* owner 2026-08-03: hero title was slate-on-teal, unreadable; subtitle was
     already white. Mobile-only fix; desktop keeps its (pre-existing) colors. */
  .ethics-hero h1 { color: #fff !important; }

  /* === PAGE: publications listings (recent-publications, popular-articles) === */
  /* owner 2026-08-03: plain white header felt empty; owner's PPTX banner sits
     softly behind the title under a white wash so the heading stays readable. */
  body:has(.publication-card) .page-header,
  body:has(.article-card) .page-header {
    background: linear-gradient(rgba(255,255,255,.72), rgba(255,255,255,.72)),
      url('../images/heroes/wl-banner-clean-m.jpg') center bottom / cover no-repeat !important;
    border-radius: 12px; padding: 26px 14px !important; }

  /* === PAGE: homepage START === */
  /* The slider JS sets the baked-text image via inline !important styles which
     CSS cannot override. Strategy: COVER it. The hero-content block becomes an
     opaque full-size teal band; the image sits invisibly behind it. */
  /* The slider locks .hero via inline !important (height 200px, padding,
     background image). Unwinnable by CSS, so on phones the slider hero is
     hidden entirely and .wl-m-hero (same text, copied verbatim in the markup)
     renders the teal band instead. Desktop never sees either change. */
  /* HARDENING 2026-08-03: every .hero* rule in this section is scoped to the
     homepage via body:has(.wl-m-hero) — only the homepage has the band. Other
     pages (about, webinars, full-service) use the same .hero class and must
     keep their hero visible on phones; unscoped rules hid real content. */
  html body:has(.wl-m-hero) .hero,
  html body:has(.wl-m-hero) section.hero { display: none !important; }
  .wl-m-hero { background: none; padding: 0; margin: 0; line-height: 0; }
  .wl-m-hero img { width: 100%; height: auto; display: block;
    transition: opacity .45s ease; }
  .wl-m-hero img.wl-m-fade { opacity: 0; }
  body:has(.wl-m-hero) .hero-quote, body:has(.wl-m-hero) .hero-subtitle,
  body:has(.wl-m-hero) .hero-description, body:has(.wl-m-hero) .hero-content h1,
  body:has(.wl-m-hero) .hero-content p {
    display: block !important; visibility: visible !important; opacity: 1 !important;
    color: #fff !important; position: relative; z-index: 6; max-width: none !important; }
  body:has(.wl-m-hero) .hero-quote {
    font-family: 'Merriweather', serif !important; font-weight: 700 !important;
    font-size: clamp(1.4rem, 6vw, 1.9rem) !important; line-height: 1.3 !important;
    margin: 0 0 10px 0 !important; }
  body:has(.wl-m-hero) .hero-subtitle { font-size: .95rem !important; opacity: .9 !important; margin: 0 0 8px 0 !important; }
  body:has(.wl-m-hero) .hero-description { font-size: .88rem !important; opacity: .85 !important; margin: 0 !important; line-height: 1.55 !important; }
  body:has(.wl-m-hero) .hero-content .btn,
  body:has(.wl-m-hero) .hero-content .cta-buttons { display: none !important; }
  /* kill every slider control (JS-injected, inline styles are non-important) */
  body:has(.wl-m-hero) .force-slider-dots, body:has(.wl-m-hero) .hero-slider-dots,
  body:has(.wl-m-hero) .hero .hero-nav, body:has(.wl-m-hero) .hero .slider-dots,
  body:has(.wl-m-hero) .hero .hero-slider-nav { display: none !important; }
  body:has(.wl-m-hero) .hero::before,
  body:has(.wl-m-hero) .hero::after { display: none !important; }
  .wl-m-pillars { margin: 14px 16px 0; display: flex; flex-direction: column; gap: 10px; }
  .wl-m-pillar { display: flex; align-items: center; gap: 14px; background: #fff;
    border: 1px solid var(--wlm-line); border-radius: 12px; box-shadow: var(--wlm-shadow);
    padding: 14px; text-decoration: none; color: var(--wlm-text); }
  .wl-m-pillar .wl-m-pic { flex: 0 0 46px; height: 62px; border-radius: 6px; overflow: hidden; }
  .wl-m-pillar .wl-m-pic img { width: 100%; height: 100%; object-fit: cover; }
  .wl-m-pillar h2 { font-family: 'Merriweather', serif; font-size: 1.05rem;
    color: var(--wlm-primary); font-weight: 700; margin: 0; }
  .wl-m-pillar p { font-size: .82rem; color: var(--wlm-muted); margin: 3px 0 0; }
  .wl-m-pillar .wl-m-arr { margin-left: auto; color: #b9c4ca; font-size: 1.1rem; }
  body:has(.wl-m-hero) .section-title { text-align: center; }
  /* === PAGE: homepage END === */

}

/* ==== source: branding-baked.css ==== */
/* branding-baked.css — FIX-6a (BRANDING-STATIC-PLAN.md)
 *
 * Static replacement for the runtime styling that assets/js/branding-manager.js
 * used to apply on every page load. Values below are copied EXACTLY from the
 * script + data/branding-config.json (frozen 2026-08-23). The cascade is
 * deliberately plain (no !important): every existing !important rule that beat
 * the script's inline styles (e.g. mobile logo 55px, logo-text weight 700)
 * keeps beating these rules identically — so the rendered result is unchanged.
 *
 * Loaded ONLY by the pages that used to load branding-manager.js.
 */

/* Header logo image (was: JS-inserted <img> with these inline styles).
   Mobile <=768px: wiseleaf-size-optimization.css overrides to 55px/160px
   with !important — exactly as it overrode the JS inline styles before. */
.logo .logo-img {
    height: 78px;
    width: auto;
    margin-right: -3px;
    object-fit: contain;
    max-width: 220px;
}

/* Header logo text (was: JS inline font styles on .logo-text).
   font-weight 600 is what the JS requested; wiseleaf-core-components.css
   declares 700 !important, which won before and still wins — kept here only
   for cascade fidelity with the retired script. */
.logo .logo-text {
    font-family: 'Merriweather', serif;
    font-size: 1.6rem;
    font-weight: 600;
}

/* Status color variables (was: applyColorScheme setProperty).
   The other 11 variables are already declared identically in style.css :root;
   these four existed ONLY at runtime. */
:root {
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;
}
