#cookie_notification {
  display: none !important;
}

#esp-cookie-consent-root {
  position: relative;
  z-index: 2147483000;
  font-family: var(--ui, "Inter", sans-serif);
}

.esp-cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2147483000;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
  padding: 18px 20px;
  border: 1px solid #3a3e47;
  border-top: 3px solid #e11b22;
  background: #111318f5;
  color: #f6f5f2;
  box-shadow: 0 24px 80px #000b;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: esp-cookie-enter .26s ease-out both;
}

.esp-cookie-banner__content {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 16px;
}

.esp-cookie-banner__icon {
  position: relative;
  display: block;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 50%;
  background: #e11b22;
  box-shadow: 0 0 0 7px #e11b221c;
}

.esp-cookie-banner__icon::after {
  content: "";
  position: absolute;
  right: -3px;
  top: -3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #111318;
}

.esp-cookie-banner__icon i {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
}

.esp-cookie-banner__icon i:nth-child(1) { left: 11px; top: 11px; }
.esp-cookie-banner__icon i:nth-child(2) { left: 23px; top: 19px; }
.esp-cookie-banner__icon i:nth-child(3) { left: 13px; top: 28px; }
.esp-cookie-banner__icon i:nth-child(4) { left: 27px; top: 31px; }

.esp-cookie-banner h2 {
  margin: 0;
  color: #fff;
  font: 900 20px/1 var(--display, "Fira Sans Extra Condensed", sans-serif);
  letter-spacing: .035em;
}

.esp-cookie-banner p {
  max-width: 720px;
  margin: 7px 0 0;
  color: #b8bbc2;
  font-size: 12px;
  line-height: 1.55;
}

.esp-cookie-banner a,
.esp-cookie-dialog a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: #e11b22;
  text-underline-offset: 4px;
}

.esp-cookie-banner a:hover,
.esp-cookie-dialog a:hover {
  color: #ff5b61;
}

.esp-cookie-banner__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(128px, auto));
  gap: 8px;
}

.esp-cookie-button {
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid #444954;
  border-radius: 0;
  background: transparent;
  color: #f6f5f2;
  font: 700 9px/1.25 var(--ui, "Inter", sans-serif);
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.esp-cookie-button:hover {
  border-color: #8b9099;
  background: #ffffff08;
}

.esp-cookie-button--primary {
  border-color: #e11b22;
  background: #e11b22;
  color: #fff;
}

.esp-cookie-button--primary:hover {
  border-color: #ff343b;
  background: #ff343b;
}

.esp-cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #000c;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  animation: esp-cookie-fade .18s ease-out both;
}

body.esp-cookie-ui-open #jivo_container,
body.esp-cookie-ui-open #jivo-iframe-container,
body.esp-cookie-ui-open #jcont,
body.esp-cookie-ui-open jdiv.notranslate,
body.esp-cookie-ui-open jdiv[class*="wrap"],
body.esp-cookie-ui-open jdiv[class*="container"] {
  visibility: hidden !important;
  pointer-events: none !important;
}

.esp-cookie-dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  border: 1px solid #3a3e47;
  border-top: 4px solid #e11b22;
  background: #15181e;
  color: #f6f5f2;
  box-shadow: 0 34px 110px #000d;
  animation: esp-cookie-dialog-enter .24s ease-out both;
}

.esp-cookie-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 30px 25px;
  border-bottom: 1px solid #30343c;
}

.esp-cookie-dialog__header p {
  margin: 0 0 7px;
  color: #ff3a41;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.esp-cookie-dialog__header h2 {
  margin: 0;
  color: #fff;
  font: 900 clamp(27px, 4vw, 38px)/.95 var(--display, "Fira Sans Extra Condensed", sans-serif);
  letter-spacing: .025em;
}

.esp-cookie-dialog__header span {
  display: block;
  margin-top: 12px;
  color: #aeb2ba;
  font-size: 13px;
  line-height: 1.55;
}

.esp-cookie-dialog__close {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #414650;
  background: #101217;
  color: #fff;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}

.esp-cookie-dialog__close:hover {
  border-color: #e11b22;
  background: #e11b22;
}

.esp-cookie-dialog__choices {
  padding-inline: 30px;
}

.esp-cookie-choice {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 23px 0;
  border-bottom: 1px solid #30343c;
}

.esp-cookie-choice:last-child {
  border-bottom: 0;
}

.esp-cookie-choice__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 750;
}

.esp-cookie-choice__title span {
  color: #64c788;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.esp-cookie-choice p {
  max-width: 530px;
  margin: 7px 0 0;
  color: #9da2ab;
  font-size: 12px;
  line-height: 1.6;
}

.esp-cookie-switch {
  position: relative;
  flex: 0 0 48px;
  width: 48px;
  height: 28px;
  margin-top: 2px;
  padding: 0;
  border: 1px solid #4b505a;
  border-radius: 18px;
  background: #272b33;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}

.esp-cookie-switch span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 10px #0007;
  transition: transform .2s ease;
}

.esp-cookie-switch.is-on {
  border-color: #e11b22;
  background: #e11b22;
}

.esp-cookie-switch.is-on span {
  transform: translateX(20px);
}

.esp-cookie-switch:disabled {
  cursor: default;
}

.esp-cookie-dialog__footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 24px 30px 28px;
  border-top: 1px solid #30343c;
  background: #111318;
}

.esp-cookie-dialog__footer > a {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 8px;
  color: #aeb2ba;
  font-size: 11px;
}

.esp-cookie-button--light {
  border-color: #4a4f59;
  color: #e6e7ea;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.footer-cookie-settings {
  padding: 0;
  border: 0;
  border-bottom: 1px solid #ffffff40;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.footer-cookie-settings:hover {
  border-color: #e11b22;
  color: #fff;
}

.esp-external-consent {
  display: flex;
  min-height: 260px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  padding: 30px;
  border: 1px solid #343841;
  background: #15181e;
  color: #f6f5f2;
  text-align: center;
}

.esp-external-consent strong {
  font: 900 24px/1 var(--display, "Fira Sans Extra Condensed", sans-serif);
}

.esp-external-consent span {
  max-width: 460px;
  color: #aeb2ba;
  font-size: 13px;
}

.esp-external-consent button {
  margin-top: 9px;
  padding: 13px 18px;
  border: 1px solid #e11b22;
  background: #e11b22;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}

.esp-news-video {
  min-width: 0;
  margin: 32px 0;
}

.esp-news-video [hidden] {
  display: none !important;
}

.esp-news-video iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #0a0c10;
}

.esp-news-video figcaption {
  margin-top: 10px;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.esp-news-video button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.cms-body #cookies {
  scroll-margin-top: 120px;
  margin-top: 54px;
  padding-top: 48px;
  border-top: 1px solid var(--line, #272b32);
}

@keyframes esp-cookie-enter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes esp-cookie-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes esp-cookie-dialog-enter {
  from { opacity: 0; transform: translateY(14px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 980px) {
  .esp-cookie-banner {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .esp-cookie-banner__actions {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-legal {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .esp-cookie-banner {
    right: 8px;
    bottom: 8px;
    left: 8px;
    width: calc(100% - 16px);
    padding: 15px;
  }
  .esp-cookie-banner__icon {
    display: none;
  }
  .esp-cookie-banner__actions {
    grid-template-columns: 1fr;
  }
  .esp-cookie-button {
    min-height: 42px;
  }
  .esp-cookie-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .esp-cookie-dialog {
    width: 100%;
    max-height: 94vh;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
  }
  .esp-cookie-dialog__header,
  .esp-cookie-dialog__choices,
  .esp-cookie-dialog__footer {
    padding-right: 20px;
    padding-left: 20px;
  }
  .esp-cookie-choice {
    gap: 18px;
  }
  .esp-cookie-dialog__footer {
    grid-template-columns: 1fr;
  }
  .esp-cookie-dialog__footer > a {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .esp-cookie-banner,
  .esp-cookie-overlay,
  .esp-cookie-dialog {
    animation: none;
  }
  .esp-cookie-switch span {
    transition: none;
  }
}
