.content-page__layout {
  max-width: 900px;
}

.content-page__layout--image {
  max-width: var(--shell);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .75fr);
  gap: 64px;
  align-items: start;
}

.content-page h1,
.content-page__body {
  overflow-wrap: anywhere;
}

.content-page__body > * + * {
  margin-top: 24px;
}

.content-page__body.wsb-form > .gform_wrapper {
  margin-top: 32px;
}

.content-page__body a:not([class]) {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-page__body :where(iframe, video, img) {
  max-width: 100%;
}

/* Preserve image proportions when legacy editor widths shrink with the column. */
.content-page__body .wp-block-image.is-resized img {
  height: auto !important;
}

.content-page__image {
  margin: 0;
}

.content-page__videos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 24px;
}

.content-page__videos h3 {
  margin-bottom: 16px;
}

.content-page__image img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .content-page__videos {
    grid-template-columns: minmax(0, 1fr);
  }
  .content-page__layout--image {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}
