/**
 * Footer Logo 45px Height Fix
 * Maximum autofix resistance for exact 45px height and centering
 * 
 * @package VIP_Theme
 */

/* ========================================
   FOOTER LOGO 45PX HEIGHT - FORCE
   ======================================== */

/* Base footer logo styling */
.footer-logo-image {
  height: 45px !important;
  width: auto !important;
  max-width: none !important;
  min-height: 45px !important;
  max-height: 45px !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
  opacity: 0.9 !important;
  transition: all 0.3s ease !important;
  filter: brightness(1.1) !important;
}

/* Footer logo link centering */
.footer-logo-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  margin: 0 auto !important;
  transition: all 0.3s ease !important;
}

/* Footer logo container centering */
.footer-logo {
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
}

/* ========================================
   MAXIMUM SPECIFICITY ENFORCEMENT
   ======================================== */

/* Ultimate autofix resistance */
html body .site-footer .footer-logo .footer-logo-image,
html body .footer-logo .footer-logo-image,
body .site-footer .footer-logo-image,
.site-footer .footer-logo .footer-logo-image,
footer .footer-logo .footer-logo-image {
  height: 45px !important;
  width: auto !important;
  max-width: none !important;
  min-height: 45px !important;
  max-height: 45px !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
  opacity: 0.9 !important;
  filter: brightness(1.1) !important;
}

html body .site-footer .footer-logo .footer-logo-link,
html body .footer-logo .footer-logo-link,
body .site-footer .footer-logo-link,
.site-footer .footer-logo .footer-logo-link,
footer .footer-logo .footer-logo-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  margin: 0 auto !important;
}

html body .site-footer .footer-logo,
html body .footer-logo,
body .site-footer .footer-logo,
.site-footer .footer-logo,
footer .footer-logo {
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
}

/* ========================================
   HOVER EFFECTS - MAINTAIN 45PX
   ======================================== */

.footer-logo-link:hover .footer-logo-image,
html body .footer-logo-link:hover .footer-logo-image,
body .footer-logo-link:hover .footer-logo-image {
  height: 45px !important;
  opacity: 1 !important;
  transform: scale(1.05) !important;
  filter: brightness(1.2) !important;
}

/* ========================================
   RESPONSIVE - MAINTAIN 45PX ON ALL DEVICES
   ======================================== */

@media (max-width: 640px) {
  .footer-logo-image,
  html body .footer-logo-image,
  body .footer-logo-image {
    height: 45px !important;
    min-height: 45px !important;
    max-height: 45px !important;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .footer-logo-image,
  html body .footer-logo-image,
  body .footer-logo-image {
    height: 45px !important;
    min-height: 45px !important;
    max-height: 45px !important;
  }
}

@media (min-width: 1025px) {
  .footer-logo-image,
  html body .footer-logo-image,
  body .footer-logo-image {
    height: 45px !important;
    min-height: 45px !important;
    max-height: 45px !important;
  }
}

/* ========================================
   BROWSER COMPATIBILITY
   ======================================== */

/* Firefox specific */
@-moz-document url-prefix() {
  .footer-logo-image {
    height: 45px !important;
    object-fit: contain !important;
  }
}

/* Safari specific */
@supports (-webkit-appearance: none) {
  .footer-logo-image {
    height: 45px !important;
    object-fit: contain !important;
  }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
  .footer-logo-image,
  html body .footer-logo-image,
  body .footer-logo-image {
    height: 45px !important;
    opacity: 1 !important;
    filter: none !important;
  }
}
/* ===
=====================================
   FOOTER MENU AND CONTACT SPACING FIXES
   ======================================== */

/* Remove bottom margin from footer menu items */
.footer-menu li {
  margin-bottom: 0 !important;
}

/* Contact info item spacing fix */
.contact-info .contact-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.75rem !important;
  margin-bottom: 0rem !important;
}

/* Additional footer menu spacing consistency */
html body .footer-menu li,
body .site-footer .footer-menu li,
.site-footer .footer-menu li,
footer .footer-menu li {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Contact info consistency across all selectors */
html body .contact-info .contact-item,
body .site-footer .contact-info .contact-item,
.site-footer .contact-info .contact-item,
footer .contact-info .contact-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.75rem !important;
  margin-bottom: 0rem !important;
  padding-bottom: 0 !important;
}