body #footer.footer-wrapper {
  --footer-ink: #1c355e;
  --footer-muted: #475775;
  --footer-line: #d6d3e9;
  --footer-bg: #fff;
  --footer-font: "WGMNativeCardJost", system-ui, sans-serif;
  --christy-footer-gutter: clamp(24px, 3.333vw, 48px);
  --christy-footer-gap: clamp(24px, 3.333vw, 48px);
  background: var(--footer-bg);
  color: var(--footer-ink);
  border-block-start: 1px solid var(--footer-line);
}

#footer.footer-wrapper .footer-widgets,
#footer.footer-wrapper .absolute-footer {
  background: var(--footer-bg) !important;
}

#footer.footer-wrapper .footer-widgets {
  padding: 48px 0 32px;
}

#footer.footer-wrapper .footer-widgets > .row,
#footer.footer-wrapper .absolute-footer > .container {
  width: calc(100% - var(--christy-footer-gutter) * 2);
  max-width: 1440px;
}

#footer.footer-wrapper .footer-widgets > .row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--christy-footer-gap);
}

#footer.footer-wrapper .footer-widgets .widget {
  max-width: 100%;
  min-width: 0;
}

#footer.footer-wrapper .footer-widgets .custom-html-widget > div {
  max-width: 252px;
}

#footer.footer-wrapper .footer-widgets .christy-footer-heading,
#footer.footer-wrapper .footer-widgets .sf-footer-accordion-label,
#footer.footer-wrapper #custom_html-6 h3 {
  margin: 0;
  color: var(--footer-ink) !important;
  font: 400 20px/1.3 Georgia, serif !important;
  letter-spacing: normal !important;
  text-transform: none;
}

#footer.footer-wrapper .footer-widgets .christy-footer-heading,
#footer.footer-wrapper #custom_html-6 h3 {
  margin: 0 0 16px !important;
}

#footer.footer-wrapper .footer-widgets .custom-html-widget > div > p.sf-footer-accordion-heading:first-child {
  margin: 0 !important;
}

#footer.footer-wrapper .footer-widgets .sf-footer-accordion-label {
  padding: 0;
}

@media (min-width: 601px) {
  #footer.footer-wrapper .footer-widgets .christy-footer-heading,
  #footer.footer-wrapper .footer-widgets .custom-html-widget > div > p.sf-footer-accordion-heading:first-child {
    margin: 0 0 16px !important;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--footer-line);
  }
}

#footer.footer-wrapper .footer-widgets .christy-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

#footer.footer-wrapper .footer-widgets .christy-footer-menu li,
#footer.footer-wrapper .footer-widgets .sf-footer-accordion-content > p {
  margin: 0 0 4px !important;
  font: 400 14px/1.7 var(--footer-font) !important;
}

#footer.footer-wrapper .footer-widgets .christy-footer-menu li:last-child,
#footer.footer-wrapper .footer-widgets .sf-footer-accordion-content > p:last-child {
  margin-bottom: 0 !important;
}

#footer.footer-wrapper .footer-widgets .custom-html-widget a {
  color: var(--footer-ink) !important;
  text-decoration: none;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

#footer.footer-wrapper .footer-widgets .custom-html-widget a:is(:hover, :focus-visible) {
  text-decoration: underline;
}

#footer.footer-wrapper #custom_html-6 .custom-html-widget > div:has(form input[type=email]) {
  padding: 0 !important;
  border: 0;
  background: var(--footer-bg) !important;
}

#footer.footer-wrapper #custom_html-6 .custom-html-widget > div > p {
  color: var(--footer-muted) !important;
  margin: 0 0 16px !important;
  font: 400 14px/1.7 var(--footer-font) !important;
}

#footer.footer-wrapper #custom_html-6 form:has(input[type=email]) {
  grid-template-columns: minmax(0, 1fr);
  background: var(--footer-bg);
}

#footer.footer-wrapper #custom_html-6 form :is(p, div, .wpcf7-form-control-wrap) {
  min-width: 0;
  max-width: 100%;
}

#footer.footer-wrapper #custom_html-6 form .wpcf7-form-control-wrap {
  display: block;
}

#footer.footer-wrapper #custom_html-6 form input[type=email] {
  max-width: 100%;
  border-color: #8f9bad !important;
  background: var(--footer-bg) !important;
  color: var(--footer-ink) !important;
}

#footer.footer-wrapper #custom_html-6 form input[type=email]::placeholder {
  color: var(--footer-muted);
  opacity: 1;
}

#footer.footer-wrapper #custom_html-6 form :is(button, input)[type=submit] {
  min-height: 44px;
  max-width: 100%;
  margin-bottom: 0;
  border: 1px solid var(--footer-ink) !important;
  border-radius: 2px !important;
  background: var(--footer-ink) !important;
  color: white !important;
  font: 600 14px/1.3 var(--footer-font) !important;
  text-transform: none;
  letter-spacing: normal;
}

#footer.footer-wrapper #custom_html-6 form :is(button, input)[type=submit]:hover {
  background: #294874 !important;
}

#footer.footer-wrapper #custom_html-6 form :is(button, input)[type=submit]:disabled {
  opacity: .62;
}

#footer.footer-wrapper .absolute-footer > .container {
  padding: 14px 0 17px;
}

#footer.footer-wrapper .absolute-footer .copyright-footer {
  color: var(--footer-ink);
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (min-width: 601px) and (max-width: 1000px) {
  #footer.footer-wrapper .footer-widgets > .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  body #footer.footer-wrapper {
    --christy-footer-gutter: 16px;
  }

  #footer.footer-wrapper .footer-widgets {
    padding: 20px 0 32px;
  }

  #footer.footer-wrapper .footer-widgets > .row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  #footer.footer-wrapper .footer-widgets .custom-html-widget > div {
    max-width: none;
  }

  #footer.footer-wrapper .footer-widgets .christy-footer-heading,
  #footer.footer-wrapper #custom_html-6 h3,
  #footer.footer-wrapper .sf-footer-accordion-toggle {
    font: 600 16px/1.7 var(--footer-font) !important;
    letter-spacing: normal;
  }

  #footer.footer-wrapper .footer-widgets .christy-footer-menu {
    padding-bottom: 15px;
  }

  #footer.footer-wrapper .sf-footer-accordion-toggle {
    min-height: 75px;
    padding: 20px 0;
  }

  #footer.footer-wrapper .sf-footer-accordion-toggle::after {
    transform: rotate(-45deg);
  }

  #footer.footer-wrapper .sf-footer-accordion-toggle[aria-expanded=true]::after {
    transform: rotate(45deg);
  }

  #footer.footer-wrapper .footer-widgets :is(#custom_html-3, #custom_html-4, #custom_html-5) {
    border-bottom: 1px solid var(--footer-line);
  }

  #footer.footer-wrapper .footer-widgets #custom_html-6 {
    margin-top: 24px;
  }

  #footer.footer-wrapper .absolute-footer > .container {
    align-items: flex-start;
    flex-flow: column nowrap;
    gap: 14px;
    padding: 20px 0 24px;
  }
}
