/* Consistent brand buttons */
html body .site-content a.uagb-infobox-cta-link.wp-block-button__link,
html body .site-content a.uagb-buttons-repeater.wp-block-button__link,
html body .site-content a.wp-block-button__link.uagb-text-link,
html body .site-content button.uagb-forms-main-submit-button.wp-block-button__link {
  background-color: #a97845 !important;
  border-color: #333333 !important;
  border-radius: 100px !important;
  color: #ffffff !important;
}	

/* Homepage statement spacing */
html body .uagb-block-486ebb25 .uagb-heading-text {
  letter-spacing: normal !important;
}

/* White outline for Begin Your Journey buttons over page imagery */
html body .site-content a.uagb-infobox-cta-link.wp-block-button__link[href*="/journey-inquiries/"],
html body .site-content a.uagb-buttons-repeater.wp-block-button__link[href*="/journey-inquiries/"],
html body .site-content a.wp-block-button__link.uagb-text-link[href*="/journey-inquiries/"] {
  border: 1px solid #ffffff !important;
}

/* Footer button matches the hero size without the white outline */
html body footer a.uagb-buttons-repeater.wp-block-button__link[href*="/journey-inquiries/"] {
  align-items: center !important;
  background-color: #a97845 !important;
  border: 0 !important;
  border-radius: 100px !important;
  color: #ffffff !important;
  display: inline-flex !important;
  font-size: 20px !important;
  justify-content: center !important;
  line-height: 20px !important;
  min-height: 48px !important;
  padding: 14px 26px !important;
}

html body footer a.uagb-buttons-repeater.wp-block-button__link[href*="/journey-inquiries/"] .uagb-button__link {
  line-height: 20px !important;
}

/* Match footer button typography and outside dimensions to the hero */
html body footer a.uagb-buttons-repeater.wp-block-button__link[href*="/journey-inquiries/"],
html body footer a.uagb-buttons-repeater.wp-block-button__link[href*="/journey-inquiries/"] .uagb-button__link {
  font-family: "Assistant", sans-serif !important;
  font-weight: 700 !important;
}

html body footer a.uagb-buttons-repeater.wp-block-button__link[href*="/journey-inquiries/"] {
  border: 1px solid transparent !important;
}
/* footer-layout-start */
footer #block-18 figure {
  margin: 0 !important;
  text-align: left !important;
}

footer #block-18 img {
  height: auto !important;
  width: 170px !important;
}

footer .ast-footer-html-1 .ast-builder-html-element p:nth-child(n+2) {
  display: none !important;
}

footer #block-14 p {
  font-size: 20px !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  max-width: 320px;
}

footer #block-17,
footer .ast-footer-html-1,
footer [data-section="section-fb-social-icons-1"] {
  margin: 0 !important;
}

footer #block-17 .wp-block-group {
  justify-content: flex-start !important;
}

footer .site-primary-footer-wrap {
  padding-bottom: 48px !important;
  padding-top: 48px !important;
}

@media (min-width: 922px) {
  footer .site-primary-footer-inner-wrap {
    align-items: start !important;
    display: grid !important;
    gap: 28px 48px !important;
    grid-template-columns: minmax(220px, 1.1fr) minmax(180px, .8fr) minmax(260px, 1.1fr) !important;
  }

  footer .site-footer-primary-section-1,
  footer .site-footer-primary-section-2,
  footer .site-footer-primary-section-3,
  footer .site-footer-primary-section-1 .footer-widget-area,
  footer .site-footer-primary-section-2 .footer-widget-area {
    display: contents !important;
  }

  footer #block-18 {
    grid-column: 1;
    grid-row: 1;
  }

  footer .ast-footer-html-1 {
    grid-column: 1;
    grid-row: 2;
  }

  footer [data-section="section-fb-social-icons-1"] {
    grid-column: 1;
    grid-row: 3;
  }

  footer .footer-bar-navigation {
    grid-column: 2;
    grid-row: 1 / span 3;
  }

  footer #block-14 {
    grid-column: 3;
    grid-row: 1;
  }

  footer #block-17 {
    grid-column: 3;
    grid-row: 2;
  }
}

@media (max-width: 921px) {
  footer .site-primary-footer-inner-wrap {
    align-items: center !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

  footer .site-footer-primary-section-1,
  footer .site-footer-primary-section-2,
  footer .site-footer-primary-section-3,
  footer .site-footer-primary-section-1 .footer-widget-area,
  footer .site-footer-primary-section-2 .footer-widget-area {
    display: contents !important;
  }

  footer #block-18 {
    order: 1;
  }

  footer .ast-footer-html-1 {
    order: 2;
  }

  footer .footer-bar-navigation {
    order: 3;
  }

  footer #block-14 {
    order: 4;
  }

  footer #block-17 {
    order: 5;
  }

  footer [data-section="section-fb-social-icons-1"] {
    order: 6;
  }

  footer #block-18 figure,
  footer #block-14 p,
  footer .ast-footer-html-1,
  footer .footer-bar-navigation {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  footer #block-17 .wp-block-group {
    justify-content: center !important;
  }
}

@media (min-width: 922px) {
  footer .ast-footer-html-1 {
    grid-row: 1;
    padding-top: 194px;
  }

  footer [data-section="section-fb-social-icons-1"] {
    grid-row: 1;
    padding-top: 244px;
  }

  footer #block-17 {
    grid-row: 1;
    padding-top: 84px;
  }
}

@media (min-width: 922px) {
  footer [data-section="section-fb-social-icons-1"] {
    padding-top: 310px;
  }
}

footer .ast-footer-social-1-wrap {
  margin: 0 !important;
}

footer #block-14 {
  margin: 0 !important;
}

footer #block-18 figure,
footer #block-18 img {
  float: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

@media (min-width: 922px) {
  footer [data-section="section-fb-social-icons-1"] {
    padding-top: 246px;
  }

  footer .ast-footer-social-1-wrap,
  footer .footer-social-inner-wrap {
    justify-content: flex-start !important;
  }
}

@media (max-width: 921px) {
  footer .ast-footer-social-1-wrap,
  footer .footer-social-inner-wrap {
    justify-content: center !important;
    width: 100% !important;
  }
}

@media (min-width: 922px) {
  footer .footer-social-inner-wrap {
    text-align: left !important;
  }
}

@media (max-width: 921px) {
  footer .footer-social-inner-wrap {
    text-align: center !important;
  }
}