#mc-consent {
  position: fixed;
  z-index: 100000;
  right: 1rem;
  bottom: 1rem;
  width: min(32rem, calc(100% - 2rem));
  padding: 1.25rem;
  border: 1px solid #d7d7d7;
  border-radius: 0.75rem;
  background: #fff;
  color: #151515;
  box-shadow: 0 0.75rem 2rem rgb(0 0 0 / 18%);
}

#mc-consent[hidden],
#mc-consent .mc-consent__settings[hidden] {
  display: none;
}

#mc-consent h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

#mc-consent p {
  margin: 0 0 0.65rem;
}

.mc-consent__settings {
  margin: 1rem 0;
  padding: 0.75rem;
  border: 1px solid #d7d7d7;
  border-radius: 0.5rem;
}

.mc-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

#mc-consent button,
.mc-consent__reopen {
  min-height: 2.75rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid #1f3b33;
  border-radius: 0.4rem;
  background: #fff;
  color: #1f3b33;
  font: inherit;
  cursor: pointer;
}

#mc-consent .mc-consent__primary {
  background: #1f3b33;
  color: #fff;
}

.mc-consent__reopen {
  position: fixed;
  z-index: 99999;
  left: 1rem;
  bottom: 1rem;
  background: #fff;
}

#mc-consent button:focus-visible,
.mc-consent__reopen:focus-visible,
#mc-consent a:focus-visible,
#mc-consent input:focus-visible {
  outline: 3px solid #f0b429;
  outline-offset: 2px;
}

@media (max-width: 480px) {
  #mc-consent {
    right: 0.5rem;
    bottom: 0.5rem;
    width: calc(100% - 1rem);
    max-height: calc(100vh - 1rem);
    overflow: auto;
  }

  .mc-consent__reopen {
    left: 0.5rem;
    bottom: 0.5rem;
  }
}
