/* Site footer — loaded on every page. Colors/fonts come from the
   design tokens in global.css. */

footer {
  background: #f4f4f4;
  color: #111;
  font-family: "Instrument Sans";
  padding: 74px 0 46px;
}

footer .container,
.footer_bottom .container {
  max-width: 1800px;
  padding-left: 60px;
  padding-right: 60px;
  width: 100%;
}

footer .row {
  align-items: flex-start;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(240px, 1.35fr) minmax(140px, .8fr) minmax(190px, 1fr) minmax(245px, 1.2fr);
  margin-left: 0;
  margin-right: 0;
}

footer .row:before,
footer .row:after,
.footer_bottom .row:before,
.footer_bottom .row:after {
  content: none;
  display: none;
}

footer .footer-width,
footer .col-sm-3.footer-width,
footer .col-sm-3.col-xs-3 {
  float: none;
  margin: 0;
  min-height: 0;
  padding: 0;
  width: auto;
}

footer .widget_footer_content {
  color: #111;
}

footer .widget_footer_content img {
  height: auto;
  max-width: 200px;
  margin-bottom: 20px;
}

footer .p-text,
footer .textwidget,
footer .custom-html-widget,
footer .contact-info {
  color: #000000;
  font-size: 17px;
  font-weight: 400;
  line-height: 22px;
  margin: 0;
  padding-top: 0;
}

footer .p-text {
  max-width: 290px;
}

footer .content-footer-title,
footer h4.widget_title,
footer .widget-title {
    color: #000;
    font-family: "Instrument Sans";
    margin: 0 0 20px;
    padding: 0;
    font-weight: 700;
    font-size: 20px;
    line-height: 27px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.fa-stack {
    width: 1em !important;
}

footer ul,
footer .menu-footer-menu-container ul,
footer .widget_nav_menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

footer li,
footer .menu-footer-menu-container ul li,
footer .widget_nav_menu ul li {
  display: block;
  margin: 0 0 13px;
  padding: 0;
}

footer a,
footer .menu-footer-menu-container ul li a,
footer .contact-info p a {
  color: #000000;
  font-size: 17px;
  font-weight: 400;
  line-height: 22px;
  text-decoration: none;
}

footer a:hover,
footer .menu-footer-menu-container ul li a:hover,
footer .contact-info p a:hover {
  color: #cb242e;
  text-decoration: none;
}

footer .menu-footer-menu-container {
  padding-top: 0;
}

footer #menu-footer-menu {
  padding-left: 0;
}

footer .menu-footer-menu-container ul li a:before,
footer .footer ul li a:before {
  content: none;
  display: none;
}

footer .contact-info {
  padding-top: 0;
}

footer .contact-info p {
  color: #111;
  margin: 0 0 8px;
}

footer .social-icons {
  align-items: center;
  display: flex;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
}

footer .social-icons li {
  display: block;
  margin: 0;
}

footer .social-icons .fa,
footer .social-icons.icon-rounded .fa {
  align-items: center;
  background: #000 !important;
  border-radius: 4px;
  color: #fff;
  display: inline-flex;
  font-size: 16px;
  height: 28px;
  justify-content: center;
  line-height: 28px;
  width: 28px;
}

footer .social-icons .fa:hover,
footer .social-icons .fa:active {
  background: #cb242e !important;
  box-shadow: none;
  color: #fff;
  transform: none;
}

.footer_bottom {
  background: #f4f4f4;
  border-top: 1px solid #dfdfdf;
  color: #111;
  font-family: "Instrument Sans";
  font-size: 12px;
  line-height: 16px;
  padding: 18px 0 22px;
  text-align: left;
}

.footer_bottom .row {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-left: 0;
  margin-right: 0;
}

.footer_bottom .copyrights,
.footer_bottom .footer-bottom-links {
  float: none;
  padding: 0;
  width: auto;
}

.footer-text {
    color: #000000;
    font-size: 15px;
    line-height: 24px;
    margin: 0;
}

.footer_bottom .footer-bottom-links {
  align-items: center;
  display: flex;
}

.footer_bottom .footer-bottom-menu {
  align-items: center;
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer_bottom .footer-bottom-menu li {
  margin: 0;
  padding: 0;
}

.footer_bottom .footer-bottom-menu a {
    color: #000000;
    text-decoration: none;
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    letter-spacing: 0px;
}

.footer_bottom .footer-bottom-menu a:hover,
.footer_bottom .footer-bottom-menu a:focus {
  color: #cb242e;
}

/* footer .row's 4 columns have combined minmax() floors of 983px
   (240+140+190+245 + 3x56px gap) — more than the ~889-904px available
   container width from 992px up through ~1100px, so the grid was
   overflowing the page there (confirmed live: 19px of real horizontal
   scroll at 1024px, gone once this switches to 2 columns). The old
   991px threshold was inside that broken range, not below it. */
@media (max-width: 1199px) {
  footer .row {
    gap: 38px 32px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  footer {
    padding: 58px 0 38px;
  }

  footer .container,
  .footer_bottom .container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 767px) {
  footer {
    padding: 44px 0 30px;
  }

  footer .container,
  .footer_bottom .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  footer .row {
    gap: 34px;
    grid-template-columns: 1fr;
  }

  footer .p-text {
    max-width: none;
  }

  footer .content-footer-title,
  footer h4.widget_title,
  footer .widget-title {
    margin-bottom: 16px;
  }

  .footer_bottom .row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .footer_bottom .footer-bottom-links {
    align-items: flex-start;
  }

  .footer_bottom .footer-bottom-menu {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px 18px;
  }
}
