/* Cookie consent banner. Colours, type and pill buttons follow the site. */
.cookie-consent {
  position: fixed;
  z-index: 40;
  right: 24px;
  bottom: 24px;
  left: auto;
  width: min(520px, calc(100% - 48px));
  display: block;
  padding: 22px 22px 18px;
  box-sizing: border-box;
  border: 1px solid #2a4654;
  border-radius: 20px;
  background: #10232d;
  color: #fff;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  box-shadow: 0 18px 50px rgba(16, 35, 45, 0.35);
}
.cookie-consent strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #fff;
}
.cookie-consent p {
  margin: 8px 0 0;
  color: #e7f2f8;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}
.cookie-consent a {
  color: #d6eeff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-consent a:focus-visible,
.cookie-consent__btn:focus-visible {
  outline: 3px solid #75caff;
  outline-offset: 3px;
}
.cookie-consent__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.cookie-consent__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 100px;
  border: 2px solid #fff;
  background: #fff;
  color: #10232d;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-align: center;
  white-space: normal;
  cursor: pointer;
}
.cookie-consent__btn:hover {
  background: #e7f3fb;
  border-color: #e7f3fb;
  color: #10232d;
}
@media (max-width: 900px) {
  .cookie-consent {
    right: 12px;
    left: 12px;
    bottom: calc(68px + env(safe-area-inset-bottom));
    width: auto;
    padding: 14px 14px 12px;
  }
  .cookie-consent strong {
    font-size: 15px;
  }
  .cookie-consent p {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.4;
  }
  .cookie-consent__actions {
    margin-top: 10px;
    gap: 8px;
  }
  .cookie-consent__btn {
    min-height: 48px;
    padding: 8px 10px;
    font-size: 13px;
  }
}
@media (forced-colors: active) {
  .cookie-consent {
    border: 1px solid CanvasText;
    background: Canvas;
    color: CanvasText;
  }
  .cookie-consent strong,
  .cookie-consent p,
  .cookie-consent a {
    color: CanvasText;
  }
  .cookie-consent__btn {
    border: 1px solid ButtonText;
    background: ButtonFace;
    color: ButtonText;
  }
}
