/*
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: Kadence Child Theme with Enhanced UI/UX
Version: 2.0.0
*/

/* ========================================
   COOKING RESCUE - ENHANCED UI/UX STYLES
   High-Specificity Version for Kadence Theme
   ======================================== */

/* Import Modern Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

/* ========================================
   1. CSS VARIABLES - DESIGN SYSTEM
   ======================================== */
:root {
  --cr-primary: #FF6B35 !important;
  --cr-primary-dark: #E85A2A !important;
  --cr-primary-light: #FF8C61 !important;
  --cr-secondary: #4ECDC4 !important;
  --cr-accent: #FFD23F !important;
  --cr-text-dark: #2D3142 !important;
  --cr-text-medium: #4F5D75 !important;
  --cr-bg-light: #FAFBFC !important;
  --cr-bg-white: #FFFFFF !important;
  --cr-shadow-sm: 0 2px 8px rgba(45, 49, 66, 0.08) !important;
  --cr-shadow-md: 0 4px 16px rgba(45, 49, 66, 0.12) !important;
  --cr-shadow-lg: 0 8px 32px rgba(45, 49, 66, 0.16) !important;
  --cr-shadow-hover: 0 12px 40px rgba(255, 107, 53, 0.25) !important;
  --cr-radius-md: 12px !important;
  --cr-radius-lg: 16px !important;
}

/* ========================================
   2. KADENCE-SPECIFIC TYPOGRAPHY OVERRIDES
   ======================================== */
body.wp-theme-kadence,
body.wp-child-theme-kadence-child,
.site {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

body.wp-theme-kadence h1,
body.wp-theme-kadence h2,
body.wp-theme-kadence h3,
body.wp-theme-kadence h4,
body.wp-theme-kadence h5,
body.wp-theme-kadence h6,
.wp-child-theme-kadence-child h1,
.wp-child-theme-kadence-child h2,
.wp-child-theme-kadence-child h3,
.wp-child-theme-kadence-child h4,
.wp-child-theme-kadence-child h5,
.wp-child-theme-kadence-child h6,
.site h1, .site h2, .site h3, .site h4,
.entry-content h1, .entry-content h2, .entry-content h3,
.uagb-heading-text,
.wp-block-heading {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #2D3142 !important;
}

/* ========================================
   3. KADENCE BUTTON OVERRIDES - HIGH PRIORITY
   ======================================== */
body.wp-theme-kadence .wp-block-button__link,
body.wp-theme-kadence a.wp-block-button__link,
.wp-child-theme-kadence-child .wp-block-button__link,
.entry-content .wp-block-button__link,
.site .wp-block-button__link,
.wp-block-buttons .wp-block-button__link,
.kb-button,
.kadence-btn,
a.kb-button {
  background: linear-gradient(135deg, #FF6B35 0%, #FF8C61 100%) !important;
  color: #FFFFFF !important;
  padding: 1rem 2rem !important;
  border-radius: 12px !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(45, 49, 66, 0.12) !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  display: inline-block !important;
}

body.wp-theme-kadence .wp-block-button__link:hover,
body.wp-theme-kadence a.wp-block-button__link:hover,
.wp-child-theme-kadence-child .wp-block-button__link:hover,
.entry-content .wp-block-button__link:hover,
.site .wp-block-button__link:hover,
.kb-button:hover,
.kadence-btn:hover,
a.kb-button:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 40px rgba(255, 107, 53, 0.35) !important;
  color: #FFFFFF !important;
}

/* ========================================
   4. KADENCE ROW/SECTION ENHANCEMENTS
   ======================================== */
body.wp-theme-kadence .kb-row-layout-wrap,
body.wp-theme-kadence .wp-block-kadence-rowlayout,
.wp-child-theme-kadence-child .kb-row-layout-wrap,
.entry-content .kb-row-layout-wrap {
  border-radius: 16px !important;
  overflow: hidden !important;
}

/* Alternating section backgrounds */
body.wp-theme-kadence .entry-content > .wp-block-group:nth-child(even),
body.wp-theme-kadence .entry-content > .kb-row-layout-wrap:nth-child(even) {
  background-color: #FFFFFF !important;
}

body.wp-theme-kadence .entry-content > .wp-block-group:nth-child(odd),
body.wp-theme-kadence .entry-content > .kb-row-layout-wrap:nth-child(odd) {
  background-color: #FAFBFC !important;
}

/* ========================================
   5. CARD & IMAGE HOVER EFFECTS
   ======================================== */
body.wp-theme-kadence .wp-block-image,
body.wp-theme-kadence figure.wp-block-image,
.wp-child-theme-kadence-child .wp-block-image,
.entry-content .wp-block-image,
.entry-content figure {
  overflow: hidden !important;
  border-radius: 16px !important;
  transition: all 0.3s ease !important;
}

body.wp-theme-kadence .wp-block-image img,
body.wp-theme-kadence figure.wp-block-image img,
.wp-child-theme-kadence-child .wp-block-image img,
.entry-content .wp-block-image img,
.entry-content figure img {
  transition: transform 0.5s ease !important;
  border-radius: 16px !important;
}

body.wp-theme-kadence .wp-block-image:hover img,
body.wp-theme-kadence figure.wp-block-image:hover img,
.wp-child-theme-kadence-child .wp-block-image:hover img,
.entry-content .wp-block-image:hover img,
.entry-content figure:hover img {
  transform: scale(1.05) !important;
}

/* ========================================
   6. LINK STYLING
   ======================================== */
body.wp-theme-kadence a,
.wp-child-theme-kadence-child a,
.entry-content a:not(.wp-block-button__link) {
  color: #FF6B35 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

body.wp-theme-kadence a:hover,
.wp-child-theme-kadence-child a:hover,
.entry-content a:not(.wp-block-button__link):hover {
  color: #E85A2A !important;
}

/* ========================================
   7. COVER BLOCK & HERO ENHANCEMENTS
   ======================================== */
body.wp-theme-kadence .wp-block-cover,
.wp-child-theme-kadence-child .wp-block-cover,
.entry-content .wp-block-cover {
  border-radius: 16px !important;
  overflow: hidden !important;
}

body.wp-theme-kadence .wp-block-cover h1,
body.wp-theme-kadence .wp-block-cover h2,
body.wp-theme-kadence .wp-block-cover h3,
body.wp-theme-kadence .wp-block-cover .uagb-heading-text,
.entry-content .wp-block-cover h1,
.entry-content .wp-block-cover h2,
.entry-content .wp-block-cover h3 {
  color: #FFFFFF !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3) !important;
}

/* ========================================
   8. UAGB (SPECTRA) BLOCK STYLING
   ======================================== */
body.wp-theme-kadence .uagb-block-content,
body.wp-theme-kadence .uagb-post__inner-wrap,
.wp-child-theme-kadence-child .uagb-block-content,
.entry-content .uagb-block-content {
  border-radius: 16px !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
}

body.wp-theme-kadence .uagb-post__inner-wrap:hover,
.entry-content .uagb-post__inner-wrap:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 8px 32px rgba(45, 49, 66, 0.16) !important;
}

/* ========================================
   9. HEADER & NAVIGATION ENHANCEMENTS
   ======================================== */
body.wp-theme-kadence #masthead,
body.wp-theme-kadence .site-header,
.wp-child-theme-kadence-child #masthead {
  box-shadow: 0 2px 8px rgba(45, 49, 66, 0.08) !important;
  background: #FFFFFF !important;
  transition: all 0.2s ease !important;
}

body.wp-theme-kadence .header-navigation a,
body.wp-theme-kadence .primary-menu > li > a,
.wp-child-theme-kadence-child .primary-menu > li > a {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 500 !important;
  transition: color 0.2s ease !important;
}

body.wp-theme-kadence .header-navigation a:hover,
body.wp-theme-kadence .primary-menu > li > a:hover,
.wp-child-theme-kadence-child .primary-menu > li > a:hover {
  color: #FF6B35 !important;
}

/* ========================================
   10. FOOTER STYLING
   ======================================== */
body.wp-theme-kadence #colophon,
body.wp-theme-kadence .site-footer,
.wp-child-theme-kadence-child #colophon {
  background: #2D3142 !important;
  color: rgba(255, 255, 255, 0.85) !important;
}

body.wp-theme-kadence .site-footer a,
.wp-child-theme-kadence-child .site-footer a {
  color: rgba(255, 255, 255, 0.85) !important;
}

body.wp-theme-kadence .site-footer a:hover,
.wp-child-theme-kadence-child .site-footer a:hover {
  color: #FF8C61 !important;
}

/* ========================================
   11. BLOCKQUOTE & TESTIMONIAL STYLING
   ======================================== */
body.wp-theme-kadence blockquote,
body.wp-theme-kadence .wp-block-quote,
.entry-content blockquote,
.entry-content .wp-block-quote {
  background: #FFFFFF !important;
  border-left: 4px solid #FF6B35 !important;
  border-radius: 12px !important;
  padding: 1.5rem 2rem !important;
  box-shadow: 0 2px 8px rgba(45, 49, 66, 0.08) !important;
  font-style: italic !important;
}

/* ========================================
   12. FORM INPUT STYLING
   ======================================== */
body.wp-theme-kadence input[type="text"],
body.wp-theme-kadence input[type="email"],
body.wp-theme-kadence input[type="search"],
body.wp-theme-kadence textarea,
body.wp-theme-kadence select,
.wp-child-theme-kadence-child input[type="text"],
.wp-child-theme-kadence-child input[type="email"],
.wp-child-theme-kadence-child textarea {
  border: 2px solid #E8ECEF !important;
  border-radius: 8px !important;
  padding: 0.875rem 1rem !important;
  font-family: 'Inter', sans-serif !important;
  transition: all 0.2s ease !important;
}

body.wp-theme-kadence input[type="text"]:focus,
body.wp-theme-kadence input[type="email"]:focus,
body.wp-theme-kadence textarea:focus,
.wp-child-theme-kadence-child input:focus,
.wp-child-theme-kadence-child textarea:focus {
  border-color: #FF6B35 !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1) !important;
  outline: none !important;
}

/* ========================================
   13. SMOOTH SCROLLING & ANIMATIONS
   ======================================== */
html {
  scroll-behavior: smooth !important;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   14. RESPONSIVE DESIGN ENHANCEMENTS
   ======================================== */
@media (max-width: 768px) {
  body.wp-theme-kadence .wp-block-button__link,
  .wp-child-theme-kadence-child .wp-block-button__link {
    padding: 0.875rem 1.5rem !important;
    font-size: 0.95rem !important;
    width: 100% !important;
    text-align: center !important;
  }
  
  body.wp-theme-kadence h1,
  .wp-child-theme-kadence-child h1 {
    font-size: 2rem !important;
  }
  
  body.wp-theme-kadence h2,
  .wp-child-theme-kadence-child h2 {
    font-size: 1.75rem !important;
  }
}

/* ========================================
   15. ACCESSIBILITY
   ======================================== */
*:focus-visible {
  outline: 3px solid #FF6B35 !important;
  outline-offset: 2px !important;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* ========================================
   COOKINGRESCUE - BEAUTIFUL HOMEPAGE CSS
   Works with EXISTING WordPress content
   ======================================== */

/* ========================================
   1. STUNNING HERO SECTION
   Automatically styles the FIRST cover block
   ======================================== */
body.home .entry-content > .wp-block-cover:first-child,
body.home .entry-content > div:first-child {
  /* FULL SCREEN IMPACT */
  min-height: 90vh !important;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 4rem 2rem !important;
  
  /* CENTER CONTENT */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Beautiful gradient overlay */
body.home .entry-content > .wp-block-cover:first-child::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: radial-gradient(circle at 30% 50%, rgba(255, 107, 53, 0.15), transparent 60%),
              radial-gradient(circle at 70% 70%, rgba(78, 205, 196, 0.15), transparent 60%) !important;
  animation: pulse 8s ease-in-out infinite !important;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* STUNNING HEADLINES */
body.home .wp-block-cover h1,
body.home .wp-block-cover h2:first-of-type,
body.home .entry-content > div:first-child h1,
body.home .entry-content > div:first-child h2:first-of-type {
  font-size: clamp(2.5rem, 7vw, 5rem) !important;
  font-weight: 900 !important;
  color: #FFFFFF !important;
  line-height: 1.1 !important;
  margin-bottom: 2rem !important;
  
  /* GRADIENT TEXT */
  background: linear-gradient(135deg, #FFFFFF 0%, #FFD23F 50%, #FF8C61 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  
  text-shadow: none !important;
  position: relative !important;
  z-index: 10 !important;
}

/* Subheadline */
body.home .wp-block-cover h2,
body.home .wp-block-cover h3,
body.home .wp-block-cover p {
  font-size: clamp(1.2rem, 3vw, 1.8rem) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: 2rem !important;
  position: relative !important;
  z-index: 10 !important;
}

/* MASSIVE GLOWING CTA BUTTON */
body.home .wp-block-cover .wp-block-button__link,
body.home .wp-block-cover .wp-block-buttons .wp-block-button:first-child .wp-block-button__link {
  /* HUGE SIZE */
  padding: 2rem 4rem !important;
  font-size: clamp(1.4rem, 3vw, 2rem) !important;
  font-weight: 800 !important;
  
  /* BEAUTIFUL GRADIENT */
  background: linear-gradient(135deg, #FF6B35 0%, #FF8C61 50%, #FFD23F 100%) !important;
  color: #1a1a2e !important;
  
  /* ROUNDED PILL */
  border-radius: 100px !important;
  border: 4px solid rgba(255, 255, 255, 0.3) !important;
  
  /* GLOWING EFFECT */
  box-shadow: 
    0 20px 60px rgba(255, 107, 53, 0.5),
    0 0 40px rgba(255, 107, 53, 0.3),
    inset 0 -4px 20px rgba(255, 255, 255, 0.3) !important;
  
  /* ANIMATION */
  transition: all 0.4s ease !important;
  animation: buttonGlow 2s ease-in-out infinite !important;
  
  position: relative !important;
  z-index: 10 !important;
  display: inline-block !important;
  text-decoration: none !important;
}

@keyframes buttonGlow {
  0%, 100% {
    box-shadow: 
      0 20px 60px rgba(255, 107, 53, 0.5),
      0 0 40px rgba(255, 107, 53, 0.3),
      inset 0 -4px 20px rgba(255, 255, 255, 0.3);
  }
  50% {
    box-shadow: 
      0 25px 70px rgba(255, 107, 53, 0.7),
      0 0 60px rgba(255, 107, 53, 0.5),
      inset 0 -4px 30px rgba(255, 255, 255, 0.5);
  }
}

/* Button hover */
body.home .wp-block-cover .wp-block-button__link:hover {
  transform: translateY(-8px) scale(1.05) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  animation: none !important;
}

/* ========================================
   2. CONTENT SECTIONS - BEAUTIFUL CARDS
   ======================================== */
body.home .entry-content > .wp-block-group,
body.home .entry-content > .wp-block-columns {
  padding: 5rem 2rem !important;
  background: linear-gradient(180deg, #0f3460 0%, #1a1a2e 100%) !important;
  margin-bottom: 0 !important;
}

/* Alternate background colors */
body.home .entry-content > .wp-block-group:nth-child(even),
body.home .entry-content > .wp-block-columns:nth-child(even) {
  background: #1a1a2e !important;
}

body.home .entry-content > .wp-block-group:nth-child(odd),
body.home .entry-content > .wp-block-columns:nth-child(odd) {
  background: linear-gradient(180deg, #16213e 0%, #0f3460 100%) !important;
}

/* Section headings */
body.home .entry-content h2 {
  font-size: clamp(2rem, 5vw, 3.5rem) !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  text-align: center !important;
  margin-bottom: 3rem !important;
  background: linear-gradient(135deg, #FFFFFF, #4ECDC4) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* ========================================
   3. GLASSMORPHISM CARDS
   ======================================== */
body.home .wp-block-column,
body.home .wp-block-group > .wp-block-group,
body.home article.post,
body.home .wp-block-media-text {
  /* GLASSMORPHISM */
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 25px !important;
  padding: 2.5rem !important;
  margin-bottom: 2rem !important;
  
  /* BEAUTIFUL SHADOW */
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  
  /* SMOOTH TRANSITION */
  transition: all 0.4s ease !important;
  position: relative !important;
}

/* Gradient accent */
body.home .wp-block-column::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 4px !important;
  background: linear-gradient(180deg, #FF6B35, #4ECDC4, #FFD23F) !important;
  border-radius: 25px 0 0 25px !important;
}

/* Hover effect */
body.home .wp-block-column:hover,
body.home .wp-block-group > .wp-block-group:hover,
body.home article.post:hover {
  transform: translateY(-8px) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 107, 53, 0.3) !important;
  box-shadow:
    0 20px 60px rgba(255, 107, 53, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

/* Card text */
body.home .wp-block-column p,
body.home .wp-block-group p {
  color: rgba(255, 255, 255, 0.9) !important;
  line-height: 1.7 !important;
  font-size: 1.1rem !important;
}

body.home .wp-block-column h3,
body.home .wp-block-group h3 {
  color: #FFD23F !important;
  font-weight: 700 !important;
  margin-bottom: 1rem !important;
}

/* ========================================
   4. IMAGES - ROUNDED WITH GLOW
   ======================================== */
body.home .wp-block-image img,
body.home .wp-block-cover img,
body.home img {
  border-radius: 20px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3) !important;
  transition: transform 0.4s ease !important;
}

body.home .wp-block-image:hover img,
body.home img:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 15px 50px rgba(255, 107, 53, 0.4) !important;
}

/* ========================================
   5. BUTTONS - EVERYWHERE
   ======================================== */
body.home .wp-block-button__link,
body.home .wp-block-buttons .wp-block-button .wp-block-button__link {
  padding: 1.2rem 3rem !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  background: linear-gradient(135deg, #FF6B35, #FF8C61) !important;
  color: #FFFFFF !important;
  border-radius: 50px !important;
  border: 2px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4) !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  display: inline-block !important;
}

body.home .wp-block-button__link:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 15px 40px rgba(255, 107, 53, 0.6) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

/* ========================================
   6. LISTS - BEAUTIFUL WITH CHECKMARKS
   ======================================== */
body.home ul li,
body.home ol li {
  color: rgba(255, 255, 255, 0.9) !important;
  padding-left: 2rem !important;
  margin-bottom: 1rem !important;
  position: relative !important;
}

body.home ul li::before {
  content: '✓' !important;
  position: absolute !important;
  left: 0 !important;
  color: #6BCF7F !important;
  font-weight: bold !important;
  font-size: 1.2em !important;
}

/* ========================================
   7. RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
  body.home .entry-content > .wp-block-cover:first-child {
    min-height: 100vh !important;
    padding: 3rem 1.5rem !important;
  }
  
  body.home .wp-block-cover h1 {
    font-size: 2.2rem !important;
  }
  
  body.home .wp-block-cover .wp-block-button__link {
    padding: 1.5rem 2.5rem !important;
    font-size: 1.2rem !important;
    width: 100% !important;
  }
  
  body.home .wp-block-column,
  body.home .wp-block-group {
    padding: 2rem 1.5rem !important;
  }
}

/* ========================================
   8. FOOTER - DARK AND CLEAN
   ======================================== */
body.home .site-footer,
body.home #colophon {
  background: #1a1a2e !important;
  color: rgba(255, 255, 255, 0.8) !important;
  border-top: 1px solid rgba(255, 107, 53, 0.2) !important;
}

body.home .site-footer a {
  color: rgba(255, 255, 255, 0.7) !important;
  transition: color 0.3s ease !important;
}

body.home .site-footer a:hover {
  color: #FF8C61 !important;
}
/* FIX: Remove checkmarks from navigation menus */
body.home .header-navigation ul li::before,
body.home .primary-menu li::before,
body.home .nav li::before,
body.home .menu li::before,
body.home .site-header ul li::before {
  content: none !important;
  display: none !important;
}

/* Only show checkmarks in CONTENT lists */
body.home .entry-content ul li::before {
  content: '✓' !important;
  position: absolute !important;
  left: 0 !important;
  color: #6BCF7F !important;
  font-weight: bold !important;
  font-size: 1.2em !important;
}

/* Remove checkmarks from footer menus too */
body.home .site-footer ul li::before,
body.home .footer-navigation ul li::before {
  content: none !important;
  display: none !important;
}
/* ========================================
   NUCLEAR OPTION - FORCE CENTERED HEADER
   Override ALL Kadence defaults
   ======================================== */

/* FORCE header to be vertical stack */
.site-header-row-container,
.site-header-row-container-inner,
.site-header-upper-inner-wrap {
  display: block !important;
  text-align: center !important;
  width: 100% !important;
}

/* Remove grid/flex from header rows */
.site-header-row-container-inner > * {
  display: block !important;
  margin: 0 auto !important;
  float: none !important;
  width: auto !important;
  max-width: none !important;
}

/* LOGO SECTION - Centered */
.site-header-item-branding,
.site-branding {
  display: block !important;
  text-align: center !important;
  margin: 0 auto 2rem auto !important;
  width: auto !important;
  float: none !important;
}

.site-branding .site-brand-inner-wrap {
  margin: 0 auto !important;
  max-width: 200px !important;
}

/* NAVIGATION SECTION - Centered */
.site-header-item-navprimary,
.site-header-item-main-nav {
  display: block !important;
  text-align: center !important;
  margin: 1rem auto !important;
  width: 100% !important;
  float: none !important;
}

.header-navigation-wrap {
  display: inline-block !important;
  margin: 0 auto !important;
  text-align: center !important;
}

/* Menu items - inline centered */
.primary-navigation ul,
.main-navigation ul {
  display: inline-flex !important;
  justify-content: center !important;
  gap: 1.5rem !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.primary-navigation ul li {
  float: none !important;
  display: inline-block !important;
}

/* Menu links */
.primary-navigation a {
  color: #FF6B35 !important;
  font-weight: 600 !important;
  padding: 0.5rem 1rem !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
}

.primary-navigation a:hover {
  background: #FF6B35 !important;
  color: #FFFFFF !important;
}

/* SOCIAL ICONS SECTION - Centered */
.site-header-item-navother,
.site-header-item-social {
  display: block !important;
  text-align: center !important;
  margin: 1rem auto 0 auto !important;
  width: 100% !important;
  float: none !important;
}

.header-social-wrap {
  display: inline-flex !important;
  justify-content: center !important;
  gap: 1rem !important;
  margin: 0 auto !important;
}

.header-social-wrap a {
  color: #FF6B35 !important;
  font-size: 1.5rem !important;
}

.header-social-wrap a:hover {
  color: #E85A2A !important;
  transform: translateY(-2px) !important;
}

/* LOGIN - Convert to icon only */
.header-account-wrap {
  display: inline-block !important;
  margin-left: 1rem !important;
}

.header-account-wrap .login-toggle-open-container,
.account-login-link {
  font-size: 1.5rem !important;
  color: #FF6B35 !important;
}

/* Hide login text */
.header-account-wrap .login-label {
  font-size: 0 !important;
}

.header-account-wrap .kadence-svg-iconset {
  width: 1.5rem !important;
  height: 1.5rem !important;
}

/* Override Kadence grid system completely */
.site-header-row-layout-standard .site-header-row-container-inner,
.site-header-row-layout-fullwidth .site-header-row-container-inner {
  display: block !important;
  grid-template-columns: none !important;
}

/* Remove all justify-content from header */
.site-header-row-container-inner {
  justify-content: center !important;
}

/* Mobile adjustments */
@media (max-width: 1024px) {
  .primary-navigation ul {
    flex-wrap: wrap !important;
  }
}

@media (max-width: 768px) {
  .primary-navigation ul {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }
  
  .site-branding .site-brand-inner-wrap {
    max-width: 150px !important;
  }
}
/* ========================================
   ENHANCED MOBILE RESPONSIVENESS
   ======================================== */

/* Tablets and smaller */
@media (max-width: 1024px) {
  .site-header {
    padding: 1.5rem 1rem !important;
  }
  
  .primary-navigation ul {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 1rem !important;
  }
  
  .header-social-wrap {
    gap: 1.5rem !important;
  }
}

/* Mobile phones */
@media (max-width: 768px) {
  .site-header {
    padding: 1.5rem 1rem !important;
  }
  
  /* Smaller logo on mobile */
  .site-branding .site-brand-inner-wrap {
    max-width: 120px !important;
    margin-bottom: 1.5rem !important;
  }
  
  /* Stack menu vertically on mobile */
  .primary-navigation ul {
    flex-direction: column !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }
  
  .primary-navigation ul li {
    width: 100% !important;
    text-align: center !important;
  }
  
  .primary-navigation a {
    display: block !important;
    width: 100% !important;
    padding: 0.75rem 1rem !important;
  }
  
  /* Larger tap targets for mobile */
  .header-social-wrap a {
    font-size: 1.8rem !important;
    padding: 0.5rem !important;
  }
  
  /* Social icons spacing */
  .header-social-wrap {
    gap: 1.5rem !important;
    margin-top: 1.5rem !important;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .site-branding .site-brand-inner-wrap {
    max-width: 100px !important;
  }
  
  .primary-navigation a {
    font-size: 0.95rem !important;
    padding: 0.6rem 0.8rem !important;
  }
  
  .header-social-wrap {
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
}

/* Ensure mobile menu toggle is centered if shown */
.mobile-toggle-open-container {
  text-align: center !important;
  display: block !important;
  margin: 1rem auto !important;
}

/* Mobile menu when expanded */
@media (max-width: 1024px) {
  .mobile-drawer-menu {
    text-align: center !important;
  }
  
  .mobile-drawer-menu ul {
    list-style: none !important;
  }
  
  .mobile-drawer-menu a {
    color: #FF6B35 !important;
    padding: 1rem !important;
    display: block !important;
  }
}
