.ea-cookie-consent,
.ea-cookie-settings {
  --ea-cookie-ink: #171613;
  --ea-cookie-paper: #f7f3ec;
  --ea-cookie-line: rgba(247, 243, 236, .32);
  font-family: Inter, Arial, sans-serif;
}

.ea-cookie-consent[hidden] { display: none !important; }

.ea-cookie-consent {
  position: fixed;
  z-index: 2147482000;
  right: clamp(12px, 2vw, 28px);
  bottom: clamp(12px, 2vw, 28px);
  left: clamp(12px, 2vw, 28px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(18px, 3vw, 42px);
  align-items: end;
  max-width: 1180px;
  margin-inline: auto;
  padding: clamp(20px, 3vw, 34px);
  color: var(--ea-cookie-paper);
  background: rgba(23, 22, 19, .98);
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 20px 70px rgba(0, 0, 0, .35);
}

.ea-cookie-consent h2,
.ea-cookie-settings h2 {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 500;
  line-height: .98;
}

.ea-cookie-consent p,
.ea-cookie-settings p { margin: 0; line-height: 1.55; }

.ea-cookie-consent__copy { max-width: 760px; }

.ea-cookie-consent__eyebrow {
  margin-bottom: 10px !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.ea-cookie-consent__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px !important;
}

.ea-cookie-consent a { color: inherit; text-underline-offset: 3px; }

.ea-cookie-consent__actions,
.ea-cookie-settings__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ea-cookie-consent__actions { justify-content: flex-end; max-width: 420px; }

.ea-cookie-consent__button,
.ea-cookie-settings__close {
  min-height: 46px;
  padding: 11px 18px;
  color: var(--ea-cookie-paper);
  background: transparent;
  border: 1px solid var(--ea-cookie-line);
  border-radius: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.ea-cookie-consent__button--choice {
  color: var(--ea-cookie-ink);
  background: var(--ea-cookie-paper);
  border-color: var(--ea-cookie-paper);
}

.ea-cookie-consent__button:hover,
.ea-cookie-consent__button:focus-visible,
.ea-cookie-settings__close:hover,
.ea-cookie-settings__close:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.ea-cookie-settings {
  width: min(720px, calc(100vw - 24px));
  max-height: min(88vh, 820px);
  padding: 0;
  color: var(--ea-cookie-ink);
  background: var(--ea-cookie-paper);
  border: 1px solid rgba(23, 22, 19, .25);
  box-shadow: 0 26px 90px rgba(0, 0, 0, .42);
}

.ea-cookie-settings::backdrop { background: rgba(9, 8, 7, .68); }

.ea-cookie-settings__panel { padding: clamp(22px, 4vw, 42px); }

.ea-cookie-settings__heading {
  display: flex;
  gap: 20px;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.ea-cookie-settings__close {
  flex: 0 0 46px;
  padding: 0;
  color: var(--ea-cookie-ink);
  border-color: rgba(23, 22, 19, .28);
  font-size: 28px;
  font-weight: 400;
}

.ea-cookie-settings__categories {
  margin-block: 24px;
  border-top: 1px solid rgba(23, 22, 19, .2);
}

.ea-cookie-settings__category {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding-block: 14px;
  border-bottom: 1px solid rgba(23, 22, 19, .2);
  cursor: pointer;
}

.ea-cookie-settings__category span { display: grid; gap: 4px; }
.ea-cookie-settings__category small { color: rgba(23, 22, 19, .75); line-height: 1.45; }

.ea-cookie-settings__category input {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  accent-color: var(--ea-cookie-ink);
}

.ea-cookie-settings__status { min-height: 24px; margin-bottom: 8px !important; color: #8d251f; }
.ea-cookie-settings__actions { justify-content: flex-end; }
.ea-cookie-settings .ea-cookie-consent__button { color: var(--ea-cookie-ink); border-color: rgba(23, 22, 19, .35); }
.ea-cookie-settings .ea-cookie-consent__button--choice { color: var(--ea-cookie-paper); background: var(--ea-cookie-ink); border-color: var(--ea-cookie-ink); }

.ea-cookie-noscript {
  position: fixed;
  z-index: 2147482000;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 14px 18px;
  color: #f7f3ec;
  background: #171613;
  text-align: center;
}
.ea-cookie-noscript a { color: inherit; }

.ea-foot-col .ea-cookie-settings-link,
.ea-foot-bottom .ea-cookie-settings-link {
  cursor: pointer;
}

@media (max-width: 820px) {
  .ea-cookie-consent { grid-template-columns: 1fr; align-items: stretch; }
  .ea-cookie-consent__actions { justify-content: stretch; max-width: none; }
  .ea-cookie-consent__button { flex: 1 1 145px; }
}

@media (max-width: 478px) {
  .ea-cookie-consent {
    max-height: calc(100dvh - 24px);
    overflow: auto;
    padding: 18px;
  }
  .ea-cookie-consent h2,
  .ea-cookie-settings h2 { font-size: 32px; }
  .ea-cookie-consent__actions,
  .ea-cookie-settings__actions { display: grid; grid-template-columns: 1fr; }
  .ea-cookie-consent__button { width: 100%; }
  .ea-cookie-settings__category { align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  .ea-cookie-consent,
  .ea-cookie-settings { scroll-behavior: auto; }
}
