.maram-consent {
  position: fixed;
  z-index: 10000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  color: #17384b;
  background: #fffdf8;
  border: 2px solid #f2c94c;
  border-radius: 1.25rem;
  box-shadow: 0 .9rem 2.5rem rgba(7, 36, 52, .24);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.maram-consent__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.maram-consent__copy {
  max-width: 46rem;
}

.maram-consent__eyebrow {
  display: block;
  margin-bottom: .25rem;
  color: #856300;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.maram-consent h2 {
  margin: 0 0 .35rem;
  color: #123b53;
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  line-height: 1.2;
}

.maram-consent p {
  margin: 0 0 .4rem;
  font-size: .95rem;
  line-height: 1.5;
}

.maram-consent a {
  color: #125575;
  font-size: .9rem;
  font-weight: 700;
  text-underline-offset: .18em;
}

.maram-consent__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .65rem;
}

.maram-consent__button {
  min-height: 2.85rem;
  padding: .65rem 1rem;
  border: 2px solid #125575;
  border-radius: 999px;
  font: inherit;
  font-size: .92rem;
  font-weight: 800;
  cursor: pointer;
}

.maram-consent__button--primary {
  color: #fff;
  background: #125575;
}

.maram-consent__button--secondary {
  color: #125575;
  background: #fff;
}

.maram-consent__button:hover,
.maram-consent__button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 .35rem .8rem rgba(18, 85, 117, .18);
}

.maram-consent__button:focus-visible,
.maram-consent__close:focus-visible,
.maram-consent a:focus-visible {
  outline: 3px solid #e5a900;
  outline-offset: 3px;
}

.maram-consent__close {
  position: absolute;
  top: .4rem;
  right: .55rem;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  color: #123b53;
  background: transparent;
  border: 0;
  border-radius: 50%;
  font: inherit;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 760px) {
  .maram-consent {
    right: .65rem;
    bottom: .65rem;
    left: .65rem;
  }

  .maram-consent__content {
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
  }

  .maram-consent__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .maram-consent__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .maram-consent__button {
    transition: none;
  }
}
