.footer__section {
  padding: var(--spacing-xxlarge) 0;
}

.footer__section--newsletter {
  background-color: var(--color-primary-c);
}

.footer__section--interact {
  color: var(--color-white);
  background-color: var(--color-primary);
}

.footer__section--footer {
  background-color: var(--color-secondary);
}

.footer__section--housekeeping {
  background-color: var(--color-black);
}

/* Footer Interact */
.footer-interact {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing);
  justify-content: space-between;
}

.footer__search,
.footer__contribute {
  margin-bottom: var(--spacing-xxlarge);
}

@media screen and (min-width: 1000px) {
  .footer__search,
  .footer__contribute {
    margin-bottom: 0;
  }
}

.footer__search label {
  display: block;
  margin-bottom: var(--spacing-xsmall);
}

.footer__search form {
  display: flex;
}
.footer__search .views-exposed-form .form-actions {
  align-self: end;
  margin-top: 0;
  border-top: 0;
}

.footer__search .form-text {
  width: 250px;
  padding: var(--spacing-medium-l);
  border: var(--border-light);
  border-radius: var(--border-radius-full) 0 0 var(--border-radius-full);
}
.footer__search .form-submit {
  padding: var(--spacing-medium-l);
  border: var(--border-light);
  border-radius: 0 var(--border-radius-full) var(--border-radius-full) 0;
}

@media screen and (min-width: 960px) {
  .footer__contribute {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.footer__contribute-title {
  font-weight: 400;
}

.footer__contribute ul {
  display: flex;
  gap: var(--spacing);
  padding-left: 0;
  list-style: none;
}

.footer__link {
  display: inline-block;
  padding: var(--spacing);
  text-decoration: none;
  border: var(--border-light);
  border-radius: var(--border-radius-full);
}
.footer__link:focus,
.footer__link:hover {
  text-decoration: underline;
}

.footer__contribute li:nth-child(1) a {
  background-color: var(--color-white);
}
.footer__contribute li:nth-child(1) a:focus,
.footer__contribute li:nth-child(1) a:hover {
  color: var(--color-white);
  background-color: transparent;
}
.footer__contribute li:nth-child(2) a {
  color: var(--color-white);
  background-color: transparent;
}
.footer__contribute li:nth-child(2) a:focus,
.footer__contribute li:nth-child(2) a:hover {
  color: var(--color-black);
  background-color: var(--color-white);
}

/* Footer Menus - General Styling */
.footer .menu {
  padding-left: 0;
  list-style: none;
}

.footer .menu a {
  text-decoration: none;
  color: var(--color-white);
}
.footer .menu a:focus,
.footer .menu a:hover {
  text-decoration: underline;
}

/* Footer Menus - Footer Main Menu */

.menu--footer > .menu-item > .menu-link-wrapper > a {
  font-weight: bold;
}

.menu--footer .menu-item {
  margin-bottom: var(--spacing);
}

.menu-footer--sub-menu {
  margin-top: var(--spacing-large);
}

.menu--footer > .menu-item > a {
  font-size: var(--font-size-large);
  font-weight: 700;
}

.menu--footer > .menu-item + .menu-item {
  margin-top: var(--spacing-xxlarge);
}

@media screen and (min-width: 768px) {
  .menu--footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .menu--footer > .menu-item + .menu-item {
    margin-top: 0;
  }

  .menu--footer > .menu-item {
    margin-right: var(--spacing-large);
  }
}

@media screen and (min-width: 960px) {
  .menu--footer {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* Footer Menus - Footer Housekeeping Menu */
.menu--housekeeping {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-xxlarge);
}

.footer-newsletter__newsletter {
  display: flex;
  align-items: center;
}

.footer svg.ext path,
.footer svg.mailto path {
  stroke: var(--color-white);
}
