/* Consent controls match the site's ink, wash-blue and rice-paper identity. */
.cookie-banner,
.cookie-dialog {
  color: #1f2937;
  background: #faf8f5;
  border: 1px solid #a9b5c0;
  border-radius: 20px;
  box-shadow: 0 12px 48px #1f293724;
  font-family: Arial, Helvetica, sans-serif;
}
.cookie-banner {
  position: fixed;
  z-index: 60;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 1120px;
  margin-inline: auto;
  padding: 24px;
  display: flex;
  gap: 28px;
  align-items: center;
}
.cookie-banner[hidden] {
  display: none;
}
.cookie-banner-copy {
  flex: 1;
}
.cookie-banner h2,
.cookie-dialog h2 {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.cookie-banner p,
.cookie-dialog p {
  font-size: 1rem;
  line-height: 1.55;
  margin: 0 0 12px;
}
.cookie-banner a,
.cookie-dialog a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-banner a {
  font-size: 0.875rem;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-actions button,
.cookie-dialog-heading button {
  border: 1px solid #1f2937;
  border-radius: 30px;
  padding: 12px 17px;
  min-height: 44px;
  font: inherit;
  font-size: 0.875rem;
  background: #faf8f5;
  color: #1f2937;
  cursor: pointer;
}
.cookie-actions button:hover {
  background: #d4ecf7;
}
.cookie-actions button:focus-visible,
.cookie-dialog button:focus-visible,
.cookie-dialog input:focus-visible {
  outline: 3px solid #28698c;
  outline-offset: 3px;
}
.cookie-dialog {
  max-width: min(640px, calc(100vw - 32px));
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 28px;
}
.cookie-dialog::backdrop {
  background: #1f293770;
}
.cookie-dialog-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid #cbd5e1;
  padding: 20px 0;
}
.cookie-category h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 8px;
}
.cookie-category p {
  margin: 0;
}
.cookie-category > span {
  font-size: 0.875rem;
  white-space: nowrap;
}
.cookie-category input {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  accent-color: #28698c;
  cursor: pointer;
}
@media (max-width: 760px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 20px;
    display: block;
    max-height: 75dvh;
    overflow-y: auto;
  }
  .cookie-banner .cookie-actions {
    margin-top: 18px;
  }
  .cookie-actions button {
    flex: 1 1 auto;
  }
  .cookie-dialog {
    padding: 22px;
  }
}
.cookie-category-description,
.cookie-availability {
  display: block;
}
.cookie-category > span:first-child {
  white-space: normal;
  font-size: 1rem;
}
.cookie-category-description {
  margin-top: 8px;
  line-height: 1.55;
}
.cookie-availability {
  margin-top: 8px;
  color: #57534e;
  font-size: 0.875rem;
}
.cookie-status {
  border: 1px solid #a9b5c0;
  border-radius: 8px;
  padding: 12px;
}
.cookie-status[hidden] {
  display: none;
}
.cookie-settings-link {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.site-footer > div {
  flex-wrap: wrap;
  align-items: center;
}
@media (max-width: 760px) {
  .site-footer > div {
    row-gap: 16px;
  }
}

.cookie-settings-link {
  font-size: 0.875rem;
}
