:root {
  --ic3-ink: #111111;
  --ic3-paper: #ffffff;
  --ic3-mist: #f4f4f4;
  --ic3-red: #9e292d;
  --ic3-slate: #2e4453;
  --ic3-muted: #787c82;
  --ic3-content: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ic3-ink);
  background: var(--ic3-paper);
  font-family: Manrope, "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  line-height: 1.5;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

iframe {
  max-width: 100%;
}

table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

.wp-site-blocks,
main,
header,
footer {
  min-width: 0;
}

.wp-block-button__link,
.wp-element-button {
  border-radius: 4px;
  background: var(--ic3-red);
  color: var(--ic3-paper);
}

.replica-skip-link {
  position: fixed;
  z-index: 100000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-180%);
  border-radius: 3px;
  color: var(--ic3-paper);
  background: var(--ic3-red);
  font-weight: 700;
}

.replica-skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--ic3-red);
  outline-offset: 3px;
}

.replica-mobile-nav {
  display: none;
}

.replica-static-form {
  padding: 1rem;
  border: 1px solid color-mix(in srgb, var(--ic3-ink) 18%, transparent);
  background: var(--ic3-mist);
}

.replica-static-embed {
  box-sizing: border-box;
  width: min(100%, var(--ic3-content));
  margin: 1.5rem auto;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid color-mix(in srgb, var(--ic3-ink) 18%, transparent);
  border-radius: 4px;
  background: var(--ic3-mist);
}

.replica-static-embed p:first-child {
  margin-top: 0;
}

.replica-static-embed a {
  font-weight: 700;
}

#wpadminbar,
.wpcom-actionbar,
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
  display: none !important;
}

@media (max-width: 782px) {
  .wp-block-navigation {
    display: none !important;
  }

  header .replica-mobile-nav {
    display: block;
    position: relative;
    z-index: 20;
    margin: 0;
    color: var(--ic3-paper);
  }

  .replica-mobile-nav summary {
    display: grid;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    place-items: center;
    cursor: pointer;
    border: 0;
    font-size: 0;
    list-style: none;
  }

  .replica-mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .replica-mobile-nav summary::before {
    width: 20px;
    height: 11px;
    border-top: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    content: "";
  }

  .replica-mobile-nav ul {
    display: grid;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 30;
    width: min(76vw, 280px);
    gap: 0;
    margin: 10px 0 0;
    padding: 8px 18px;
    border-radius: 3px;
    background: var(--ic3-paper);
    list-style: none;
  }

  .replica-mobile-nav a {
    display: block;
    padding: 11px 0;
    color: var(--ic3-ink);
    text-decoration: none;
  }

  .replica-mobile-nav li + li {
    border-top: 1px solid #dedede;
  }

  .wp-block-columns:not(.is-not-stacked-on-mobile) {
    gap: clamp(20px, 6vw, 36px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
