/* Shared full-bleed newsletter/footer with centered inner content on every page. */
body .bf-newsletter,
body section.bf-newsletter {
  display:block !important;
  position:relative !important;
  width:100vw !important;
  max-width:100vw !important;
  box-sizing:border-box !important;
  left:50% !important;
  right:50% !important;
  margin-left:-50vw !important;
  margin-right:-50vw !important;
  background:#fff0e5 !important;
  color:#171717 !important;
  padding:22px 0 !important;
  border-radius:0 !important;
  overflow:visible !important;
}
body .bf-newsletter .bf-wrap,
body footer.bf-footer > .bf-wrap {
  width:min(1260px,92%) !important;
  max-width:1260px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding-left:0 !important;
  padding-right:0 !important;
  box-sizing:border-box !important;
}
body .bf-newsletter .bf-newsletter-inner {
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:24px !important;
}
body .bf-newsletter .bf-newsletter-copy { flex:1 1 auto !important; min-width:0 !important; }
body .bf-newsletter .bf-newsletter-copy h2,
body .bf-newsletter h2 {
  display:block !important; color:#171717 !important;
  font-family:"Plus Jakarta Sans",sans-serif !important; font-size:15px !important;
  line-height:1.35 !important; letter-spacing:-.02em !important; font-weight:800 !important;
  margin:0 0 4px !important; padding:0 !important;
}
body .bf-newsletter .bf-newsletter-copy p,
body .bf-newsletter p {
  color:#625a55 !important; font-family:"Plus Jakarta Sans",sans-serif !important;
  font-size:11px !important; line-height:1.6 !important; margin:0 !important; padding:0 !important;
}
body .bf-newsletter .bf-newsletter-form {
  display:flex !important; flex:0 1 448px !important; flex-direction:row !important;
  align-items:stretch !important; gap:8px !important; width:448px !important;
  max-width:48% !important; margin:0 !important; padding:0 !important;
}
body .bf-newsletter .bf-newsletter-form input {
  display:block !important; flex:1 1 auto !important; width:auto !important; min-width:0 !important;
  height:50px !important; min-height:50px !important; box-sizing:border-box !important;
  padding:10px 22px !important; border:0 !important; border-radius:5px !important;
  background:#e9edef !important; color:#171717 !important;
  font:400 12px/1.4 "Plus Jakarta Sans",sans-serif !important; box-shadow:none !important;
}
body .bf-newsletter .bf-newsletter-form button {
  display:inline-flex !important; flex:0 0 auto !important; align-items:center !important;
  justify-content:center !important; width:auto !important; min-width:102px !important;
  height:50px !important; min-height:50px !important; margin:0 !important; padding:0 17px !important;
  border:0 !important; border-radius:4px !important; background:#ff4b1f !important; color:#fff !important;
  font:800 11px/1.3 "Plus Jakarta Sans",sans-serif !important; text-transform:uppercase !important;
  box-shadow:none !important; cursor:pointer !important;
}
body .bf-newsletter .bf-newsletter-form button:hover { background:#df3810 !important; }
body footer.bf-footer {
  display:block !important; position:relative !important; clear:both !important;
  width:100vw !important; max-width:100vw !important; left:50% !important; right:50% !important;
  margin-left:-50vw !important; margin-right:-50vw !important; margin-top:0 !important; margin-bottom:0 !important;
  box-sizing:border-box !important; background:#1b1b1b !important; color:#c8c8c8 !important;
  padding:34px 0 20px !important; border:0 !important; border-radius:0 !important;
  font-family:"Plus Jakarta Sans",sans-serif !important; overflow:visible !important;
}
body footer.bf-footer .bf-footer-grid {
  display:grid !important; grid-template-columns:1.5fr 1fr 1fr 1fr !important;
  gap:35px !important; align-items:start !important; margin:0 !important; padding:0 !important;
}
body footer.bf-footer .bf-footer-grid > div { min-width:0 !important; }
body footer.bf-footer .bf-footer-brand { margin:0 0 10px !important; }
body footer.bf-footer .bf-footer-brand .custom-logo-link { display:inline-flex !important; align-items:center !important; max-width:100% !important; }
body footer.bf-footer .bf-footer-brand img.custom-logo { display:block !important; width:auto !important; height:auto !important; max-width:300px !important; max-height:76px !important; object-fit:contain !important; }
body footer.bf-footer .bf-footer-brand .bf-footer-site-title {
  display:inline-block !important; color:#c8c8c8 !important; font:700 26px/1.3 "Plus Jakarta Sans",sans-serif !important;
  letter-spacing:-.02em !important; margin:0 !important; padding:0 !important; text-decoration:none !important;
}
body footer.bf-footer .bf-footer-about h3,
body footer.bf-footer .bf-footer-grid h3 {
  color:#c8c8c8 !important; font:700 20px/1.4 "Plus Jakarta Sans",sans-serif !important;
  letter-spacing:-.02em !important; margin:0 0 10px !important; padding:0 !important;
}
body footer.bf-footer .bf-footer-grid strong {
  display:block !important; color:#fff !important; font:700 20px/1.5 "Plus Jakarta Sans",sans-serif !important;
  margin:0 0 10px !important;
}
body footer.bf-footer .bf-footer-grid p,
body footer.bf-footer .bf-footer-grid a {
  display:block !important; color:#c8c8c8 !important; font:400 18px/1.75 "Plus Jakarta Sans",sans-serif !important;
  margin:0 0 3px !important; padding:0 !important; text-decoration:none !important;
}
body footer.bf-footer .bf-footer-grid a:hover,
body footer.bf-footer .bf-copyright a:hover { color:#ff4b1f !important; }
body footer.bf-footer .bf-copyright {
  display:flex !important; justify-content:space-between !important; align-items:center !important; gap:15px !important;
  border-top:1px solid #353535 !important; margin:20px 0 0 !important; padding:16px 0 0 !important;
  color:#aaa !important; font:400 16px/1.6 "Plus Jakarta Sans",sans-serif !important;
}
body footer.bf-footer .bf-copyright span { display:block !important; }
body footer.bf-footer .bf-copyright a {
  display:inline !important; color:#c8c8c8 !important; font:400 16px/1.6 "Plus Jakarta Sans",sans-serif !important;
  margin:0 !important; padding:0 !important; text-decoration:none !important;
}
@media (max-width:1100px) {
  body footer.bf-footer .bf-footer-grid strong { font-size:18px !important; }
  body footer.bf-footer .bf-footer-grid p,
  body footer.bf-footer .bf-footer-grid a { font-size:16px !important; }
  body footer.bf-footer .bf-copyright,
  body footer.bf-footer .bf-copyright a { font-size:14px !important; }
}
@media (max-width:800px) {
  body footer.bf-footer .bf-footer-brand .bf-footer-site-title { font-size:22px !important; }
  body footer.bf-footer .bf-footer-about h3,
  body footer.bf-footer .bf-footer-grid h3 { font-size:18px !important; }
  body footer.bf-footer .bf-footer-grid strong { font-size:16px !important; }
  body footer.bf-footer .bf-footer-grid p,
  body footer.bf-footer .bf-footer-grid a { font-size:15px !important; }
  body .bf-newsletter .bf-wrap, body footer.bf-footer > .bf-wrap { width:92% !important; }
  body footer.bf-footer .bf-footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width:540px) {
  body footer.bf-footer .bf-footer-brand .bf-footer-site-title { font-size:20px !important; }
  body footer.bf-footer .bf-footer-grid strong { font-size:15px !important; }
  body footer.bf-footer .bf-footer-grid p,
  body footer.bf-footer .bf-footer-grid a { font-size:14px !important; }
  body footer.bf-footer .bf-copyright,
  body footer.bf-footer .bf-copyright a { font-size:12px !important; }
  body .bf-newsletter .bf-wrap, body footer.bf-footer > .bf-wrap { width:94% !important; }
  body .bf-newsletter .bf-newsletter-inner { flex-direction:column !important; align-items:stretch !important; gap:14px !important; }
  body .bf-newsletter .bf-newsletter-form { width:100% !important; max-width:100% !important; flex:1 1 auto !important; }
  body .bf-newsletter .bf-newsletter-form input { padding-left:12px !important; }
  body .bf-newsletter .bf-newsletter-form button { min-width:94px !important; padding:0 12px !important; }
  body footer.bf-footer .bf-footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:20px !important; }
  body footer.bf-footer .bf-footer-about { grid-column:1/-1 !important; }
  body footer.bf-footer .bf-copyright { flex-direction:column !important; align-items:flex-start !important; gap:6px !important; }
}

/* Final footer typography adjustment: slightly smaller text, orange brand and column headings. */
body footer.bf-footer .bf-footer-brand .bf-footer-site-title {
  color: #ff4b1f !important;
  font-size: 24px !important;
}
body footer.bf-footer .bf-footer-about h3,
body footer.bf-footer .bf-footer-grid h3,
body footer.bf-footer .bf-footer-grid strong {
  color: #ff4b1f !important;
  font-size: 18px !important;
  line-height: 1.45 !important;
}
body footer.bf-footer .bf-footer-grid p,
body footer.bf-footer .bf-footer-grid a {
  font-size: 16px !important;
  line-height: 1.7 !important;
}
body footer.bf-footer .bf-copyright,
body footer.bf-footer .bf-copyright a {
  font-size: 14px !important;
  line-height: 1.6 !important;
}
@media (max-width: 1100px) {
  body footer.bf-footer .bf-footer-brand .bf-footer-site-title { font-size: 22px !important; }
  body footer.bf-footer .bf-footer-about h3,
  body footer.bf-footer .bf-footer-grid h3,
  body footer.bf-footer .bf-footer-grid strong { font-size: 17px !important; }
  body footer.bf-footer .bf-footer-grid p,
  body footer.bf-footer .bf-footer-grid a { font-size: 15px !important; }
}
@media (max-width: 540px) {
  body footer.bf-footer .bf-footer-brand .bf-footer-site-title { font-size: 20px !important; }
  body footer.bf-footer .bf-footer-about h3,
  body footer.bf-footer .bf-footer-grid h3,
  body footer.bf-footer .bf-footer-grid strong { font-size: 16px !important; }
  body footer.bf-footer .bf-footer-grid p,
  body footer.bf-footer .bf-footer-grid a { font-size: 14px !important; }
  body footer.bf-footer .bf-copyright,
  body footer.bf-footer .bf-copyright a { font-size: 12px !important; }
}


/* FIX: Homepage content should span the same near-full width as the
   Merto header row. Do not constrain homepage wrappers to 1200/1440px. */
@media (min-width: 1200px) {
  body .bf-home .bf-wrap,
  body .bf-home .container.bf-wrap,
  body .bf-home section > .bf-wrap {
    width: calc(100% - 50px) !important;
    max-width: none !important;
    margin-left: 25px !important;
    margin-right: 25px !important;
    box-sizing: border-box !important;
    padding: 0!important;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  body .bf-home .bf-wrap,
  body .bf-home .container.bf-wrap,
  body .bf-home section > .bf-wrap {
    width: calc(100% - 40px) !important;
    max-width: none !important;
    margin-left: 20px !important;
    margin-right: 20px !important;
    box-sizing: border-box !important;
  }
}
@media (max-width: 767px) {
  body .bf-home .bf-wrap,
  body .bf-home .container.bf-wrap,
  body .bf-home section > .bf-wrap {
    width: calc(100% - 30px) !important;
    max-width: none !important;
    margin-left: 15px !important;
    margin-right: 15px !important;
    box-sizing: border-box !important;
        padding: 0 !important;

  }
}
