/* Centralized Footer Styles - migrated from per-page styles */

/* Layout and spacing */
.ed-footer__widget { margin-bottom: 0; padding-right: 30px; }
.ed-footer__widget-title { margin-bottom: 16px !important; font-size: 18px; font-weight: 700; color: var(--ed-secondary-color); }

/* Brand social icons */
.ed-footer__about-social { margin-bottom: 24px !important; display:flex; gap:12px; padding-left:0; }
.ed-footer__about-social li { list-style: none; }
.ed-footer__about-social img { width:32px; height:32px; opacity:0.7; transition: opacity .3s; filter:none !important; }
.ed-footer__about-social img:hover { opacity: 1; }

/* Contact & links */
.ed-footer__contact-info { margin-bottom: 16px !important; }
.ed-footer__contact-info:last-child { margin-bottom: 0 !important; }
.ed-footer__widget-links { list-style:none; padding-left:0; margin-top:0; }
.ed-footer__widget-links li { margin-bottom:10px; }
.ed-footer__widget-links li:last-child { margin-bottom: 0; }
.ed-footer__widget-links a { color:var(--ed-paragraph-color); text-decoration:none; transition: color .3s; font-size:15px; line-height:24px; }
.ed-footer__widget-links a:hover { color: var(--ed-primary-color); }

/* Grid spacing for footer columns */
.ed-footer .row.g-0>[class*="col-"] { padding-left:20px; padding-right:20px; }
.ed-footer .row.g-0 { margin-left:-20px; margin-right:-20px; }
@media only screen and (max-width: 991.99px) {
  .ed-footer__widget { padding-right: 0; margin-bottom: 30px; }
}

/* Contact / Newsletter column spacing */
.ed-footer__widget.contact-widget { padding-right: 50px; }
.ed-footer__widget.newsletter-widget { margin-left: 30px; padding-left: 30px; }
@media only screen and (max-width: 991.99px) {
  .ed-footer__widget.contact-widget { padding-right:30px; }
  .ed-footer__widget.newsletter-widget { margin-left:0; padding-left:0; margin-top: 30px; }
}

/* Newsletter form */
.ed-footer__newsletter-form { display:flex; flex-direction:column; gap:0; }
.ed-footer__newsletter-form input { width:100%; margin-bottom:0; }
.ed-footer__newsletter-form button.ed-btn { width:100%; margin-top:12px; display:flex; align-items:center; justify-content:center; padding:16px 30px; }
.ed-footer__newsletter-form button.ed-btn i { position: static; width:auto; height:auto; line-height:1; background:transparent; border-radius:0; color:inherit; margin-left:8px; }

/* Decorative shape placement */
.ed-footer__shape-2 { right:80% !important; opacity:0.4 !important; }
@media only screen and (min-width:1201px) and (max-width:1600px) { .ed-footer__shape-2 { right:2% !important; } }

/* Default footer background for non-home pages (subtle grey) */
.ed-footer__top { background-color: #f6f6f6 !important; }
.ed-footer__bottom { background-color: #f6f6f6 !important; }

/* Footer contact icon filter (brand color) */
.ed-footer__contact-icon img { filter: brightness(0) saturate(100%) invert(70%) sepia(15%) saturate(1200%) hue-rotate(340deg) brightness(1.1) contrast(0.9); }

/* Copyright text */
.ed-footer__copyright-text { color: var(--ed-secondary-color) !important; }
.ed-footer__copyright-text strong { color: var(--ed-secondary-color) !important; }
.ed-footer__copyright-text a { color: var(--ed-secondary-color) !important; }
.ed-footer__copyright-text a:hover { color: var(--ed-primary-color) !important; opacity:1; }

/* Homepage override (keeps home footer white) */
body.element-wrapper.home .ed-footer,
body.element-wrapper.home .ed-footer__top,
body.element-wrapper.home .ed-footer__bottom {
    background: #ffffff !important;
}

@media only screen and (max-width: 767px) {

  .ed-footer__bottom {
  display: block !important;
  height: auto !important;
  min-height: auto !important;
  overflow: visible !important;
  padding: 15px 15px !important;
}

.ed-footer__copyright-text {
  margin: 0 !important;
  display: block !important;
}


}
