/* Local substitutes for external embeds in the published layout. */
.preview-map {
  display: grid;
  place-items: center;
  width: 600px;
  max-width: 100%;
  min-height: var(--preview-map-height, 450px);
  background: #e8e5df;
  color: #46413a;
  font: 15px/1.4 system-ui, sans-serif;
}
.preview-inactive-form :disabled { cursor: default; }

html.preview-effects-active { overflow-x: clip; }

/* Keep the legal documents legible on TresLex's dark background. */
:is(.page-id-5800, .page-id-5801, .page-id-5802) #main-content .entry-content {
  background-color: #111;
  color: #fff;
}

:is(.page-id-5800, .page-id-5801, .page-id-5802) #main-content .entry-content > .et-l > .et_builder_inner_content {
  box-sizing: border-box;
  max-width: 48rem;
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 5vw, 3rem);
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

:is(.page-id-5800, .page-id-5801, .page-id-5802) #main-content .et_builder_inner_content > .et_pb_section {
  background-color: transparent;
}

:is(.page-id-5800, .page-id-5801, .page-id-5802) #main-content .entry-content :is(h1, h2, h3, h4, h5, h6) {
  color: #fff;
}

:is(.page-id-5800, .page-id-5801, .page-id-5802) #main-content .entry-content a {
  color: #e6c879;
  text-decoration: underline;
  text-underline-offset: .15em;
}

:is(.page-id-5800, .page-id-5801, .page-id-5802) #main-content .treslex-legal-title {
  margin: 0 0 1.5rem;
  padding: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
}
