.consent-banner {
  background: #eaf3ef;
  border-block-end: 1px solid #b9d2c7;
}

.consent-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding-block: 1.25rem;
}

.consent-copy {
  flex: 1 1 22rem;
  min-width: 0;
}

.consent-copy h2 {
  font-size: 1.25rem;
}

.consent-copy p {
  margin: .35rem 0 .2rem;
  color: var(--ink);
  line-height: 1.65;
}

.consent-copy a {
  display: inline-block;
  padding-block: .15rem;
  font-weight: 650;
}

.consent-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(7rem, 1fr));
  gap: .65rem;
}

.consent-actions button {
  min-height: 2.75rem;
  padding: .5rem .85rem;
  border: 1px solid var(--accent);
  border-radius: .35rem;
  background: var(--accent);
  color: white;
  font: inherit;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
}

.consent-actions button:hover {
  background: #0e4d3d;
}

.consent-settings {
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--sub);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}

.consent-banner :focus-visible,
.consent-settings:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 42rem) {
  .consent-banner-inner {
    padding-block: 1rem;
  }

  .consent-actions {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 17rem) {
  .consent-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}
