/*
  FOOTER STYLES
  =============
  Newsletter signup block, then a copyright/policy links bar below it.
*/

.site-footer__newsletter {
  background-color: #372345d1;
  color: #ffffff;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer__newsletter-text h2 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  margin: 0 0 4px 0;
}

.site-footer__newsletter-text p {
  font-family: var(--font-body);
  margin: 0;
}

.site-footer__newsletter-form {
  display: flex;
  gap: 8px;
}

.site-footer__newsletter-form input {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #ffffff;
  background: transparent;
  color: #ffffff;
  font-family: var(--font-body);
}

.site-footer__newsletter-form input::placeholder {
  color: #ffffffcc;
}

.site-footer__newsletter-form button {
  padding: 10px 24px;
  border-radius: 999px;
  border: none;
  background-color: #ffffff;
  color: #372345;
  font-family: var(--font-body);
  cursor: pointer;
}

.site-footer__utilities {
  background-color: #adc4c2;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: #372345;
}

.site-footer__policy-list {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__policy-list a {
  color: #372345;
  text-decoration: none;
}

.site-footer__policy-list a:hover {
  text-decoration: underline;
}

@media (max-width: 749px) {
  .site-footer__newsletter,
  .site-footer__utilities {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
  }

  .site-footer__newsletter-form {
    width: 100%;
  }

  .site-footer__newsletter-form input {
    flex: 1;
  }
}
