.h4m-cookie-notice {
  bottom: 1rem;
  left: 1rem;
  position: fixed;
  right: 1rem;
  z-index: 9998;
}

.h4m-cookie-notice__inner {
  backdrop-filter: blur(18px);
  background: rgba(250, 252, 255, 0.9);
  border: 1px solid rgba(200, 218, 245, 0.88);
  border-radius: 1.4rem;
  box-shadow: 0 20px 54px rgba(16, 42, 86, 0.16);
  color: #102a56;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-inline: auto;
  max-width: 74rem;
  padding: 1rem 1.1rem;
}

.h4m-cookie-notice__text {
  line-height: 1.55;
  margin: 0;
  max-width: 52rem;
}

.h4m-cookie-notice__actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.h4m-cookie-notice__link,
.h4m-cookie-notice__button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font: inherit;
  font-weight: 700;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.72rem 1rem;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.h4m-cookie-notice__link {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(200, 218, 245, 0.96);
  color: #102a56;
}

.h4m-cookie-notice__button {
  background: #2388ff;
  border: 1px solid #2388ff;
  color: #ffffff;
  cursor: pointer;
}

.h4m-cookie-notice__link:hover,
.h4m-cookie-notice__button:hover {
  transform: translateY(-1px);
}

.h4m-cookie-notice__link:focus-visible,
.h4m-cookie-notice__button:focus-visible {
  outline: 3px solid rgba(35, 136, 255, 0.28);
  outline-offset: 3px;
}

.h4m-cookie-notice.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

@media (max-width: 782px) {
  .h4m-cookie-notice {
    bottom: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
  }

  .h4m-cookie-notice__inner {
    flex-direction: column;
  }

  .h4m-cookie-notice__actions {
    justify-content: flex-start;
  }
}
