/* Site footer. Navy field sampled from the footer design, gold from the same plate. */

.ufm-site-footer {
  clear: both;
  background: #172c42;
  color: #e6ebf0;
  font-family: "Adobe Caslon Pro", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-style: normal;
  text-align: left;
  padding: 46px 0 30px;
}

.ufm-site-footer *,
.ufm-site-footer *::before,
.ufm-site-footer *::after {
  box-sizing: border-box;
}

.ufm-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

.ufm-site-footer p,
.ufm-site-footer li,
.ufm-site-footer a,
.ufm-site-footer label,
.ufm-site-footer h2,
.ufm-site-footer input {
  font-weight: 400;
  letter-spacing: normal;
  text-align: left;
  font-style: normal;
}

.ufm-site-footer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #e6ebf0;
}

.ufm-site-footer a {
  color: #e6ebf0;
  text-decoration: none;
}

.ufm-site-footer a:hover,
.ufm-site-footer a:focus,
.ufm-site-footer a:active {
  color: #e4c98a;
}

.ufm-site-footer a:focus-visible,
.ufm-site-footer input:focus-visible {
  outline: 2px solid #e4c98a;
  outline-offset: 2px;
}

.ufm-footer-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
}

.ufm-footer-lockup:hover,
.ufm-footer-lockup:focus,
.ufm-footer-lockup:active {
  color: inherit;
}

.ufm-footer-seal {
  display: block;
  width: 48px;
  height: auto;
  flex: 0 0 48px;
  max-width: none;
}

.ufm-footer-name {
  display: block;
  color: #c5ad7b;
  font-family: Cinzel, Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.05;
}

.ufm-footer-est {
  display: block;
  margin-top: 5px;
  color: #c5ad7b;
  font-family: Cinzel, Georgia, "Times New Roman", serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.ufm-site-footer p.ufm-footer-motto {
  margin: 6px 0 0 62px;
  color: #f4f7fa;
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.35;
  text-align: left;
}

.ufm-footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 32px;
  margin-top: 38px;
}

.ufm-footer-nav h2,
.ufm-footer-lower h2 {
  margin: 0 0 14px;
  padding: 0;
  color: #c5ad7b;
  font-family: Cinzel, Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.ufm-footer-nav ul,
.ufm-footer-social,
.ufm-footer-langs,
.ufm-footer-legal {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ufm-footer-nav li {
  margin: 0;
  padding: 0;
}

.ufm-footer-nav a {
  display: inline-block;
  padding: 3px 0;
  font-size: 16px;
  line-height: 1.45;
}

.ufm-footer-lower {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px 64px;
  margin-top: 42px;
}

.ufm-footer-address p + p {
  margin-top: 14px;
}

.ufm-footer-phone {
  color: #e6ebf0;
}

.ufm-footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.ufm-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #c5ad7b;
  color: #c5ad7b;
}

.ufm-footer-social a:hover,
.ufm-footer-social a:focus,
.ufm-footer-social a:active {
  color: #e4c98a;
  border-color: #e4c98a;
  background: rgba(197, 173, 123, 0.08);
}

.ufm-footer-social svg {
  width: 15px;
  height: 15px;
  display: block;
}

.ufm-footer-lead {
  margin: 0 0 12px;
  max-width: 460px;
}

.ufm-site-footer #mc_embed_signup {
  background: transparent;
  width: 100%;
  max-width: 460px;
  margin: 0;
  font: inherit;
  clear: none;
}

.ufm-footer-form {
  display: flex;
  align-items: stretch;
  max-width: 460px;
  border: 1px solid #c5ad7b;
  background: transparent;
}

.ufm-footer-form input[type="email"] {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 40px;
  margin: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #f4f7fa;
  font-family: "Adobe Caslon Pro", Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 40px;
}

.ufm-footer-form input[type="email"]::placeholder {
  color: #8d98a4;
  opacity: 1;
}

.ufm-footer-form input[type="email"]:focus {
  outline: none;
  box-shadow: inset 0 0 0 1px #e4c98a;
}

.ufm-footer-form input[type="submit"] {
  flex: 0 0 auto;
  height: 40px;
  margin: 0;
  padding: 0 18px;
  border: 0;
  border-left: 1px solid #c5ad7b;
  border-radius: 0;
  background: #c5ad7b;
  color: #172c42;
  font-family: Cinzel, Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 40px;
  cursor: pointer;
}

.ufm-footer-form input[type="submit"]:hover,
.ufm-footer-form input[type="submit"]:focus {
  background: #d9bd87;
  color: #172c42;
}

.ufm-footer-form input[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.72;
}

.ufm-site-footer #mc-subscribe-message {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.4;
  text-align: left;
}

.ufm-site-footer #mc-subscribe-message.text-success {
  color: #d9bd87;
}

.ufm-site-footer #mc-subscribe-message.text-danger {
  color: #f0b4b4;
}

.ufm-footer-langs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid rgba(212, 217, 224, 0.28);
}

.ufm-footer-langs a,
.ufm-footer-legal a {
  font-size: 14px;
  line-height: 1.4;
  color: #d4d9e0;
}

.ufm-footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(212, 217, 224, 0.28);
}

.ufm-footer-copy {
  margin: 14px 0 0;
  color: #aeb8c2;
  font-size: 12.5px;
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 900px) {
  .ufm-footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
  }

  .ufm-footer-lower {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 560px) {
  .ufm-site-footer {
    padding: 36px 0 24px;
  }

  .ufm-footer-inner {
    padding: 0 18px;
  }

  .ufm-footer-nav {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .ufm-footer-name {
    font-size: 18px;
  }

  .ufm-footer-est {
    letter-spacing: 0.08em;
    font-size: 9px;
  }

  .ufm-footer-motto {
    margin-left: 0;
  }

  .ufm-footer-seal {
    width: 40px;
    height: auto;
    flex-basis: 40px;
  }
}
