.global-footer {
  background: #fafafa;
  border-top: 1px solid #eaeaea;
  color: #2c2c2c;
  padding: 40px 0 24px;
}

.feds-footer-wrapper {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
}

.feds-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #2c2c2c;
  font-weight: 700;
  margin-bottom: 24px;
}

.feds-footer-brand img {
  width: 24px;
  height: 24px;
}

.feds-footer-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.feds-footer-column h3 {
  font-size: 15px;
  margin: 0;
}

.feds-footer-column button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: 0;
  border-bottom: 1px solid #eaeaea;
  padding: 14px 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  color: inherit;
}

.feds-footer-column ul {
  display: none;
  list-style: none;
  margin: 0 0 12px;
  padding: 0 0 8px;
}

.feds-footer-column.is-open ul {
  display: block;
}

.feds-footer-column a {
  display: block;
  padding: 6px 0;
  color: #2c2c2c;
  text-decoration: none;
  font-size: 14px;
}

.feds-footer-column a:hover {
  text-decoration: underline;
}

.feds-footer-social {
  display: flex;
  gap: 12px;
  margin: 28px 0 16px;
}

.feds-footer-social a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #2c2c2c;
  text-decoration: none;
  border-radius: 50%;
}

.feds-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  font-size: 12px;
  color: #686868;
  border-top: 1px solid #eaeaea;
  padding-top: 16px;
}

.feds-footer-legal a,
.feds-footer-legal button {
  color: #686868;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.feds-footer-legal a:hover,
.feds-footer-legal button:hover {
  text-decoration: underline;
}

.region-picker {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.region-modal,
.signin-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgb(0 0 0 / 45%);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.region-modal.is-open,
.signin-modal.is-open {
  display: flex;
}

.modal-card {
  width: min(480px, 100%);
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 16px 40px rgb(0 0 0 / 2%);
}

.modal-card h2 {
  margin-bottom: 12px;
}

.region-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.region-list button,
.signin-form button[type="submit"] {
  width: 100%;
}

.signin-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.signin-form input {
  border: 1px solid #d4d4d4;
  border-radius: 4px;
  padding: 10px 12px;
  font: inherit;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 250;
  background: #fff;
  border: 1px solid #eaeaea;
  box-shadow: 0 8px 24px rgb(0 0 0 / 12%);
  padding: 16px;
  display: none;
  gap: 12px;
  align-items: flex-start;
}

@media (max-width: 599px) {
  .cookie-banner {
    bottom: 140px;
  }
}

.cookie-banner.is-open {
  display: flex;
}

.cookie-banner p {
  margin: 0;
  font-size: 14px;
}

@media (min-width: 900px) {
  .feds-footer-columns {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-bottom: 24px;
  }

  .feds-footer-column button {
    border: 0;
    padding: 0 0 12px;
    cursor: default;
    pointer-events: none;
  }

  .feds-footer-column button svg {
    display: none;
  }

  .feds-footer-column ul {
    display: block;
  }

  .cookie-banner {
    left: 24px;
    right: auto;
    width: 420px;
  }
}
