html {
  /* Safe area insets */
  --safe-area-top: env(safe-area-inset-top, 0px);
  --safe-area-bottom: env(safe-area-inset-bottom, 0px);
  --safe-area-left: env(safe-area-inset-left, 0px);
  --safe-area-right: env(safe-area-inset-right, 0px);
}

body {
  scroll-behavior: smooth;
  font-weight: var(--typography-text-small-body1-font-weight, inherit);
  font-size: var(--typography-text-small-body1-font-size, inherit);
  line-height: var(--typography-text-small-body1-line-height, inherit);
  font-family: var(--typography-text-small-body1-font-family, inherit);
  margin: 0;
  padding: 0;
  color: var(--body-color);
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizelegibility;
}

@media screen and (min-width: 768px) {
  body {
    font-weight: var(--typography-text-large-body1-font-weight, inherit);
    font-size: var(--typography-text-large-body1-font-size, inherit);
    line-height: var(--typography-text-large-body1-line-height, inherit);
    font-family: var(--typography-text-large-body1-font-family, inherit);
  }
}

body.contact-widget-block-scroll,
body.overlay-block-scroll {
  overflow: hidden;
}

axa-modal.show-modal ~ axa-modal {
  --backdrop-opacity: 0;
}

.axa-delegate-host {
  display: contents;
}

address {
  font-style: normal;
}

a {
  color: inherit;
  text-decoration: underline;
}

a:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px var(--focus-secondary-color),
    0 0 0 4px var(--focus-primary-color);
}
