
/* Newsletter consent checkbox: native input (visually hidden) + drawn 18px box + rich text. */

.cc_ha5dwmyj_YDGYhg4dWE .consent, .cc_ha5dwmyj_2FRwkhlRiT .consent {
  margin-top: var(--sp-150);
}

.cc_ha5dwmyj_YDGYhg4dWE .consent__label, .cc_ha5dwmyj_2FRwkhlRiT .consent__label {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--sp-100);
  color: var(--c-text);
  cursor: pointer;
}

.cc_ha5dwmyj_YDGYhg4dWE .consent__input, .cc_ha5dwmyj_2FRwkhlRiT .consent__input {
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.cc_ha5dwmyj_YDGYhg4dWE .consent__box, .cc_ha5dwmyj_2FRwkhlRiT .consent__box {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1px solid var(--c-text-40);
  border-radius: 4px;
  color: transparent;
  background-color: transparent;
  transition:
    background-color var(--dur-160) var(--ease-out-quart),
    border-color var(--dur-160) var(--ease-out-quart),
    color var(--dur-160) var(--ease-out-quart);
}

.cc_ha5dwmyj_YDGYhg4dWE .consent__input:checked + .consent__box, .cc_ha5dwmyj_2FRwkhlRiT .consent__input:checked + .consent__box {
  border-color: var(--c-heading);
  background-color: var(--c-heading);
  color: var(--c-bg);
}

.cc_ha5dwmyj_YDGYhg4dWE .consent__input:focus-visible + .consent__box, .cc_ha5dwmyj_2FRwkhlRiT .consent__input:focus-visible + .consent__box {
  outline: 2px solid var(--c-heading);
  outline-offset: 2px;
}

.cc_ha5dwmyj_YDGYhg4dWE .consent__input:disabled + .consent__box, .cc_ha5dwmyj_2FRwkhlRiT .consent__input:disabled + .consent__box {
  opacity: 0.5;
}

.cc_ha5dwmyj_YDGYhg4dWE .consent.is-invalid .consent__box, .cc_ha5dwmyj_2FRwkhlRiT .consent.is-invalid .consent__box {
  border-color: var(--c-error);
}

.cc_ha5dwmyj_YDGYhg4dWE .consent__text, .cc_ha5dwmyj_2FRwkhlRiT .consent__text {
  min-width: 0;
}

.cc_ha5dwmyj_YDGYhg4dWE .consent__text > :first-child, .cc_ha5dwmyj_2FRwkhlRiT .consent__text > :first-child {
  margin-top: 0;
}

.cc_ha5dwmyj_YDGYhg4dWE .consent__text > :last-child, .cc_ha5dwmyj_2FRwkhlRiT .consent__text > :last-child {
  margin-bottom: 0;
}

.cc_ha5dwmyj_YDGYhg4dWE .consent__text a, .cc_ha5dwmyj_2FRwkhlRiT .consent__text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cc_ha5dwmyj_YDGYhg4dWE .consent__error, .cc_ha5dwmyj_2FRwkhlRiT .consent__error {
  margin: var(--sp-50) 0 0;
  color: var(--c-error);
}

@media (prefers-reduced-motion: reduce) {
  .cc_ha5dwmyj_YDGYhg4dWE .consent__box, .cc_ha5dwmyj_2FRwkhlRiT .consent__box {
    transition: none;
  }
}
