@font-face {
  font-family: "Roboto";
  src: url("/fonts/Roboto-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("/fonts/Roboto-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("/fonts/Roboto-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html {
  overflow-x: hidden;
}

body .ct-link,
body a {
  text-decoration-thickness: auto;
}

body img[width][height] {
  height: auto;
}

.codex-form-status {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
}

.codex-contact-form p {
  margin-top: 0 !important;
  margin-bottom: 14px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.codex-contact-form p:last-of-type {
  margin-bottom: 0 !important;
}

.codex-contact-form .wpcf7-form-control-wrap {
  display: block;
  margin: 0 !important;
}

.codex-contact-form :is(input:not([type="hidden"]):not([type="submit"]), textarea) {
  display: block;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.codex-contact-form .codex-turnstile-wrap {
  display: block;
  margin-top: 8px !important;
}

.codex-contact-form :is(input[type="submit"], button[type="submit"]) {
  margin-top: 28px !important;
  cursor: pointer;
}

.codex-field-error {
  display: block;
  min-height: 18px;
  margin: 4px 0 0;
  color: #d93636;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.codex-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.codex-turnstile-placeholder {
  display: inline-flex;
  align-items: center;
  min-height: 64px;
  padding: 12px 16px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  background: #f7f7f7;
  color: #555;
  font-size: 14px;
}

@media (max-width: 767px) {
  body :is(.ct-section, main) :is(h1, h2, h3, h4, h5, h6, .ct-headline):has(
      + :is(p, .ct-text-block, .ct-rich-text, .oxy-rich-text, [id^="text_block"])
    ),
  body :is(.ct-section, main) :is(h1, h2, h3, h4, h5, h6, .ct-headline):has(
      + .ct-div-block :is(p, .ct-text-block, .ct-rich-text, .oxy-rich-text, [id^="text_block"])
    ) {
    margin-bottom: 16px !important;
  }

  body :is(.ct-section, main) :is(h1, h2, h3, h4, h5, h6, .ct-headline)
    + :is(p, .ct-text-block, .ct-rich-text, .oxy-rich-text, [id^="text_block"]) {
    margin-top: 0 !important;
  }
}
