:where(
  .entry-content,
  .default-page__content,
  .space-page-content,
  .editor-styles-wrapper
) {
  color: var(--text-secondary);
  font: var(--text-b1-r);
}

:where(
    .entry-content,
    .default-page__content,
    .space-page-content,
    .editor-styles-wrapper
  )
  > *:first-child {
  margin-top: 32px;
}

:where(
    .entry-content,
    .default-page__content,
    .space-page-content,
    .editor-styles-wrapper
  )
  > * {
  margin-top: 0;
  margin-bottom: 24px;
}

:where(
    .entry-content,
    .default-page__content,
    .space-page-content,
    .editor-styles-wrapper
  )
  > *:last-child {
  margin-bottom: 0;
}

:where(
    .entry-content,
    .default-page__content,
    .space-page-content,
    .editor-styles-wrapper
  )
  :is(p) {
  margin: 0 0 20px;
  color: var(--text-secondary);
  font: var(--text-b1-r);
}

:where(
    .entry-content,
    .default-page__content,
    .space-page-content,
    .editor-styles-wrapper
  )
  :is(h1, h2, h3, h4, h5, h6) {
  margin: 48px 0 16px;
  color: var(--text-primary);
  letter-spacing: 0;
}

:where(
    .entry-content,
    .default-page__content,
    .space-page-content,
    .editor-styles-wrapper
  )
  > :is(h1, h2, h3, h4, h5, h6):first-child {
  margin-top: 0;
}

:where(
    .entry-content,
    .default-page__content,
    .space-page-content,
    .editor-styles-wrapper
  )
  :is(
    p,
    ul,
    ol,
    blockquote,
    .wp-block-quote,
    .wp-block-pullquote,
    .wp-block-table,
    figure
  )
  + :is(h1, h2, h3, h4, h5, h6) {
  margin-top: 56px;
}

:where(
    .entry-content,
    .default-page__content,
    .space-page-content,
    .editor-styles-wrapper
  )
  :is(h1) {
  font: var(--text-h1-b);
}

:where(
    .entry-content,
    .default-page__content,
    .space-page-content,
    .editor-styles-wrapper
  )
  :is(h2) {
  font: var(--text-h2-b);
}

:where(
    .entry-content,
    .default-page__content,
    .space-page-content,
    .editor-styles-wrapper
  )
  :is(h3) {
  font: var(--text-h3-b);
}

:where(
    .entry-content,
    .default-page__content,
    .space-page-content,
    .editor-styles-wrapper
  )
  :is(h4, h5, h6) {
  font: var(--text-h4-b);
}

:where(
    .entry-content,
    .default-page__content,
    .space-page-content,
    .editor-styles-wrapper
  )
  :is(a) {
  color: var(--text-brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

:where(
    .entry-content,
    .default-page__content,
    .space-page-content,
    .editor-styles-wrapper
  )
  :is(a:hover, a:focus) {
  color: var(--action-primary-hover);
}

:where(
    .entry-content,
    .default-page__content,
    .space-page-content,
    .editor-styles-wrapper
  )
  :is(strong, b) {
  color: var(--text-primary);
  font-weight: var(--font-weight-semibold);
}

:where(
    .entry-content,
    .default-page__content,
    .space-page-content,
    .editor-styles-wrapper
  )
  :is(em, i) {
  font-style: italic;
}

:where(
    .entry-content,
    .default-page__content,
    .space-page-content,
    .editor-styles-wrapper
  )
  :is(ul, ol) {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 24px;
  padding-left: 0;
  color: var(--text-secondary);
  font: var(--text-b1-r);
  line-height: var(--text-b1-line-height);
}

:where(
    .entry-content,
    .default-page__content,
    .space-page-content,
    .editor-styles-wrapper
  )
  :is(ul) {
  list-style: none;
}

:where(
    .entry-content,
    .default-page__content,
    .space-page-content,
    .editor-styles-wrapper
  )
  :is(ul li, ol li) {
  margin: 0;
  color: var(--text-secondary);
  font: inherit;
}

:where(
    .entry-content,
    .default-page__content,
    .space-page-content,
    .editor-styles-wrapper
  )
  :is(ul li) {
  position: relative;
  padding-left: 28px;
}

:where(
    .entry-content,
    .default-page__content,
    .space-page-content,
    .editor-styles-wrapper
  )
  :is(ul li)::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: var(--text-tertiary);
  border-radius: 50%;
}

:where(
    .entry-content,
    .default-page__content,
    .space-page-content,
    .editor-styles-wrapper
  )
  :is(ol) {
  counter-reset: content-list;
  list-style: none;
}

:where(
    .entry-content,
    .default-page__content,
    .space-page-content,
    .editor-styles-wrapper
  )
  :is(ol li) {
  position: relative;
  min-height: 24px;
  padding-left: 40px;
  counter-increment: content-list;
}

:where(
    .entry-content,
    .default-page__content,
    .space-page-content,
    .editor-styles-wrapper
  )
  :is(ol li)::before {
  content: counter(content-list);
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--text-primary);
  font: var(--text-c1-r);
  background: var(--surface-raised);
  border-radius: 50%;
}

:where(
    .entry-content,
    .default-page__content,
    .space-page-content,
    .editor-styles-wrapper
  )
  :is(blockquote, .wp-block-quote, .wp-block-pullquote) {
  margin: 24px 0;
  padding: 24px;
  color: var(--text-primary);
  font: var(--text-b1-r);
  background: var(--action-secondary-hover);
  border: 0;
}

:where(
    .entry-content,
    .default-page__content,
    .space-page-content,
    .editor-styles-wrapper
  )
  :is(blockquote p, .wp-block-quote p, .wp-block-pullquote p) {
  margin: 0;
  color: inherit;
  font: inherit;
}

:where(
    .entry-content,
    .default-page__content,
    .space-page-content,
    .editor-styles-wrapper
  )
  :is(table, .wp-block-table table) {
  width: 100%;
  margin: 24px 0;
  color: var(--text-secondary);
  font: var(--text-b2-r);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: var(--surface-surface);
  border-radius: 8px;
}

:where(
    .entry-content,
    .default-page__content,
    .space-page-content,
    .editor-styles-wrapper
  )
  :is(th, td) {
  padding: 14px 16px;
  text-align: left;
  border: 0;
}

:where(
    .entry-content,
    .default-page__content,
    .space-page-content,
    .editor-styles-wrapper
  )
  :is(th) {
  color: var(--text-primary);
  font: var(--text-b2-m);
  background: var(--surface-raised);
}

:where(
    .entry-content,
    .default-page__content,
    .space-page-content,
    .editor-styles-wrapper
  )
  :is(tbody tr:nth-child(even) td) {
  background: var(--surface-raised);
}

:where(
    .entry-content,
    .default-page__content,
    .space-page-content,
    .editor-styles-wrapper
  )
  :is(.wp-block-table) {
  margin: 24px 0;
  overflow-x: auto;
}

:where(
    .entry-content,
    .default-page__content,
    .space-page-content,
    .editor-styles-wrapper
  )
  :is(.wp-block-table table) {
  margin: 0;
}

:where(
    .entry-content,
    .default-page__content,
    .space-page-content,
    .editor-styles-wrapper
  )
  :is(img, .wp-block-image img) {
  max-width: 100%;
  height: auto;
}

:where(
    .entry-content,
    .default-page__content,
    .space-page-content,
    .editor-styles-wrapper
  )
  :is(hr, .wp-block-separator) {
  margin: 32px 0;
  border: 0;
  border-top: 1px solid var(--divider);
}

@media screen and (max-width: 768px) {
  :where(
    .entry-content,
    .default-page__content,
    .space-page-content,
    .editor-styles-wrapper
  ) {
    font: var(--text-c1-r);
  }

  :where(
      .entry-content,
      .default-page__content,
      .space-page-content,
      .editor-styles-wrapper
    )
    > * {
    margin-top: 0;
    margin-bottom: 24px;
  }

  :where(
      .entry-content,
      .default-page__content,
      .space-page-content,
      .editor-styles-wrapper
    )
    :is(p) {
    margin: 0 0 24px;
    font: var(--text-c1-r);
  }

  :where(
      .entry-content,
      .default-page__content,
      .space-page-content,
      .editor-styles-wrapper
    )
    :is(h1, h2, h3, h4, h5, h6) {
    margin: 24px 0;
    font: var(--text-b1-b);
  }

  :where(
      .entry-content,
      .default-page__content,
      .space-page-content,
      .editor-styles-wrapper
    )
    > :is(h1, h2, h3, h4, h5, h6):first-child {
    margin-top: 0;
  }

  :where(
      .entry-content,
      .default-page__content,
      .space-page-content,
      .editor-styles-wrapper
    )
    :is(
      p,
      ul,
      ol,
      blockquote,
      .wp-block-quote,
      .wp-block-pullquote,
      .wp-block-table,
      figure
    )
    + :is(h1, h2, h3, h4, h5, h6) {
    margin-top: 24px;
  }

  :where(
      .entry-content,
      .default-page__content,
      .space-page-content,
      .editor-styles-wrapper
    )
    :is(ul, ol) {
    gap: 24px;
    margin: 0 0 24px;
    font: var(--text-c1-r);
    line-height: var(--text-c1-line-height);
  }

  :where(
      .entry-content,
      .default-page__content,
      .space-page-content,
      .editor-styles-wrapper
    )
    :is(ol li) {
    min-height: 20px;
    padding-left: 32px;
  }

  :where(
      .entry-content,
      .default-page__content,
      .space-page-content,
      .editor-styles-wrapper
    )
    :is(ol li)::before {
    width: 20px;
    height: 20px;
    font: var(--text-c2-r);
  }
}
