.cookie-notice {
  background: #e8eee8;
  border-block-end: 1px solid #a4b4a8;
  color: var(--ink, #102f43);
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  width: min(1240px, calc(100% - 2 * var(--gutter, 20px)));
  margin-inline: auto;
  padding-block: 16px;
}

.cookie-copy #cookie-heading {
  margin: 0 0 4px;
  font: 700 1.05rem / 1.35 var(--sans, system-ui, sans-serif);
  letter-spacing: 0;
}

.cookie-copy p {
  max-width: 67ch;
  margin: 0;
  font-size: .94rem;
  line-height: 1.5;
}

.cookie-copy > a {
  display: inline-block;
  margin-block-start: 4px;
  padding-block: 2px;
}

.cookie-copy a {
  color: inherit;
  font-weight: 650;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  flex-shrink: 0;
  gap: 8px;
}

.cookie-actions button {
  appearance: none;
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid #506b63;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  font: 650 .94rem / 1.3 var(--sans, system-ui, sans-serif);
  cursor: pointer;
}

.cookie-actions button:hover {
  background: #d7e5db;
}

.cookie-notice :focus-visible {
  outline: 2px solid #102f43;
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
}
