.wpct-editor-content {
  min-width: 0;
  color: var(--wpct-text-color, #464247);
  font-size: 17px;
  line-height: 1.72;
}

.wpct-editor-content *,
.wpct-editor-content *::before,
.wpct-editor-content *::after {
  box-sizing: border-box;
}

.wpct-editor-content p,
.wpct-editor-content li,
.wpct-editor-content figcaption,
.wpct-editor-content a {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

.wpct-editor-content p {
  margin: 0 0 1.2em;
}

.wpct-editor-content h2 {
  margin: 2em 0 .8em;
  color: var(--wpct-heading-color, #211b1d);
  font-size: 1.42em;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

.wpct-editor-content h3 {
  margin: 1.7em 0 .7em;
  color: var(--wpct-heading-color, #211b1d);
  font-size: 1.22em;
  font-weight: 700;
  line-height: 1.42;
}

.wpct-editor-content h4 {
  margin: 1.45em 0 .6em;
  color: var(--wpct-heading-color, #211b1d);
  font-size: 1.08em;
  font-weight: 700;
  line-height: 1.5;
}

.wpct-editor-content ul,
.wpct-editor-content ol {
  min-width: 0;
  margin: 1em 0 1.45em;
  padding-left: 1.55em;
}

.wpct-editor-content li {
  margin: .35em 0;
  padding-left: .2em;
}

.wpct-editor-content a {
  color: var(--wpct-link-color, #7f1d1d);
  text-decoration-line: underline;
  text-decoration-color: var(--wpct-link-decoration-color, rgba(174, 139, 86, .62));
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
  transition: color .2s ease, text-decoration-color .2s ease;
}

.wpct-editor-content a:hover {
  color: var(--wpct-link-hover-color, #b42318);
  text-decoration-color: currentColor;
}

.wpct-editor-content blockquote {
  margin: 1.65em 0;
  padding: .95em 1.15em;
  border-left: 3px solid var(--wpct-accent-color, #ae8b56);
  color: var(--wpct-blockquote-text-color, #444);
  background: var(--wpct-blockquote-bg, #f7f8f9);
  font-size: 1em;
  line-height: 1.72;
}

.wpct-editor-content figure,
.wpct-editor-content .wp-block-image {
  max-width: min(100%, 960px);
  margin: 1.55em auto;
}

.wpct-editor-content img {
  display: block;
  max-width: 100%;
  max-height: var(--wpct-image-max-height, 720px);
  height: auto;
  object-fit: contain;
  border-radius: var(--wpct-image-radius, 12px);
}

.wpct-editor-content figcaption {
  margin-top: .65em;
  color: var(--wpct-muted-color, #77706b);
  font-size: .82em;
  line-height: 1.6;
  text-align: center;
}

.wpct-editor-content table {
  max-width: 100%;
}

.wpct-editor-content th,
.wpct-editor-content td {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.wpct-editor-content .wp-block-table,
.wpct-editor-content .editor-table-scale-frame {
  max-width: 100%;
  overflow-x: visible;
}

.wpct-editor-content iframe,
.wpct-editor-content video,
.wpct-editor-content embed,
.wpct-editor-content object {
  max-width: 100%;
}

.wpct-editor-content pre {
  max-width: 100%;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

@media (max-width: 680px) {
  .wpct-editor-content {
    font-size: 16px;
    line-height: 1.72;
  }

  .wpct-editor-content h2 {
    margin: 1.55em 0 .7em;
    font-size: 1.24em;
  }

  .wpct-editor-content h3 {
    margin: 1.4em 0 .6em;
    font-size: 1.12em;
  }

  .wpct-editor-content h4 {
    margin: 1.25em 0 .5em;
    font-size: 1.04em;
  }

  .wpct-editor-content .editor-table-scale-frame {
    position: relative;
    max-width: 100%;
    margin: 1.35em 0 1.7em;
    overflow: hidden;
  }

  .wpct-editor-content .editor-table-scale-frame table.editor-table-scaled {
    display: table;
    width: var(--editor-table-width, var(--wpct-table-min-width, 720px));
    min-width: var(--editor-table-width, var(--wpct-table-min-width, 720px));
    max-width: none;
    transform: scale(var(--editor-table-scale, 1));
    transform-origin: left top;
  }

  .wpct-editor-content .editor-table-scale-frame thead {
    display: table-header-group;
  }

  .wpct-editor-content .editor-table-scale-frame tbody {
    display: table-row-group;
  }

  .wpct-editor-content .editor-table-scale-frame tr {
    display: table-row;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .wpct-editor-content .editor-table-scale-frame th,
  .wpct-editor-content .editor-table-scale-frame td {
    display: table-cell;
    width: auto;
    font-size: inherit;
    vertical-align: middle;
    word-break: normal;
    overflow-wrap: normal;
    writing-mode: horizontal-tb;
  }
}
