/*
 * Site footer (parts/footer.html -> patterns/footer.php, root .um-site-footer).
 */

.site-footer.wp-block-template-part {
  margin-top: 0;
}

.um-site-footer {
  font-size: var(--wp--preset--font-size--small);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}

.um-site-footer .um-footer-columns {
  gap: clamp(1.5rem, 4vw, 3rem);
}

.um-site-footer .wp-block-site-logo img {
  height: auto;
}

.um-footer-tagline,
.um-footer-note {
  color: rgba(255, 255, 255, 0.72);
  max-width: 320px;
}

.um-site-footer .um-footer-heading {
  color: var(--wp--preset--color--base);
  font-size: var(--wp--preset--font-size--small);
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 12px;
}

.um-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.um-footer-links li {
  margin: 0;
  padding: 4px 0;
}

.um-site-footer .wp-block-column > * {
  margin-block: 0;
}

.um-site-footer .wp-block-column > * + * {
  margin-block-start: 14px;
}

.um-site-footer a {
  text-decoration: none;
}

.um-site-footer a:hover,
.um-site-footer a:focus-visible {
  color: var(--wp--preset--color--um-green);
  text-decoration: underline;
}

/* The Newsletter plugin's minimal form: email field and button on one line. */
.um-site-footer .tnp-subscription-minimal form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.um-site-footer .tnp-subscription-minimal input.tnp-email {
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 10px;
  color: var(--wp--preset--color--um-ink);
  flex: 1 1 180px;
  font: inherit;
  min-height: 44px;
  padding: 10px 12px;
  width: auto;
}

.um-site-footer .tnp-subscription-minimal input.tnp-submit {
  background: var(--wp--preset--color--um-green);
  border: 0;
  border-radius: 10px;
  color: var(--wp--preset--color--um-ink);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  min-height: 44px;
  padding: 10px 18px;
  width: auto;
}

.um-site-footer .tnp-subscription-minimal input.tnp-submit:hover {
  background: #86a54a;
}

.um-footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--wp--preset--font-size--x-small);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
}
