#footer {
  padding: 0;
  color: var(--hh-footer-text);
  background: var(--hh-footer-bg);
}

.hh-footer {
  padding: 3.5rem 0 1.5rem;
  border-top: 4px solid var(--hh-terracotta);
  font-family: var(--hh-font-body);
  color: var(--hh-footer-text);
}

.hh-footer__grid {
  display: grid;
  gap: 2.5rem 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hh-footer__brand,
.hh-footer .block_newsletter {
  grid-column: 1 / -1;
}

.hh-footer__logo {
  display: inline-block;
  min-height: 2.75rem;
  font-family: var(--hh-font-heading);
  font-size: 1.75rem;
  color: var(--hh-footer-text);
  text-decoration: none;
}

.hh-footer__logo img {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
}

.hh-footer__logo:hover,
.hh-footer__logo:focus {
  color: var(--hh-footer-text);
}

.hh-footer__tagline {
  max-width: 20rem;
  margin: 1rem 0 0;
  font-family: var(--hh-font-heading);
  font-size: 1.1875rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.45;
  color: var(--hh-footer-muted);
}

.hh-footer__title {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hh-mustard);
}

.hh-footer__links ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hh-footer .hh-footer__links li {
  margin: 0;
}

.hh-footer .hh-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: 0.9375rem;
  color: var(--hh-footer-text);
  text-decoration: none;
}

.hh-footer .hh-footer__links a:hover,
.hh-footer .hh-footer__links a:focus {
  color: var(--hh-mustard);
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

#footer .hh-footer .block_newsletter {
  float: none;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  font-size: 1rem;
  background: none;
  border: 0;
}

.hh-newsletter {
  max-width: 26rem;
}

#footer .block_newsletter .hh-newsletter__note,
#footer .block_newsletter .hh-footer__title {
  padding-top: 0;
}

.hh-newsletter__note {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--hh-footer-muted);
}

.hh-footer .block_newsletter .hh-newsletter__label {
  display: block;
  text-align: left;
  margin-bottom: 0.375rem;
  font-size: 0.8125rem;
  color: var(--hh-footer-muted);
}

.hh-newsletter__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hh-footer .block_newsletter .hh-newsletter__input {
  flex: 1 1 12rem;
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 3rem;
  padding: 0.625rem 0.875rem;
  font: inherit;
  font-size: 1rem;
  color: var(--hh-footer-text);
  background: transparent;
  border: 1px solid var(--hh-footer-muted);
  border-radius: 0;
}

.hh-newsletter__input::placeholder {
  color: var(--hh-footer-muted);
  opacity: 0.7;
}

.hh-footer .block_newsletter .hh-newsletter__input:focus {
  border-color: var(--hh-mustard);
  outline: 2px solid var(--hh-mustard);
  outline-offset: 1px;
}

.hh-footer .block_newsletter .hh-newsletter__submit {
  position: static;
  flex: 0 0 auto;
  min-height: 3rem;
  padding: 0.625rem 1.5rem;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--hh-charcoal);
  background: var(--hh-mustard);
  border: 0;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.hh-footer .block_newsletter .hh-newsletter__submit:hover,
.hh-footer .block_newsletter .hh-newsletter__submit:focus {
  background: var(--hh-cream);
}

.hh-newsletter .alert {
  margin: 0 0 1rem;
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  border: 0;
  border-left: 3px solid;
  border-radius: 0;
  background: rgba(243, 236, 224, 0.08);
  color: var(--hh-footer-text);
}

.hh-newsletter .alert-success {
  border-left-color: var(--hh-mustard);
}

.hh-newsletter .alert-danger {
  border-left-color: var(--hh-terracotta);
}

.hh-newsletter .psgdpr_consent_message,
.hh-newsletter .custom-checkbox label {
  font-size: 0.8125rem;
  color: var(--hh-footer-muted);
}

.hh-footer__bottom {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hh-footer-line);
}

.hh-footer__copyright {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--hh-footer-muted);
}

@media (min-width: 768px) {
  .hh-footer {
    padding-top: 4.5rem;
  }

  .hh-footer__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hh-footer__brand,
  .hh-footer .block_newsletter {
    grid-column: span 2;
  }
}

@media (min-width: 992px) {
  .hh-footer__grid {
    grid-template-columns: 4fr 2fr 2fr 2fr 4fr;
    gap: 2.5rem;
  }

  .hh-footer__brand,
  .hh-footer .block_newsletter {
    grid-column: auto;
  }
}
