/*
** General
*/

.wp-editor#tinymce {
  padding: 1em !important;
}

.wp-editor,
.editor-contents {
  color: var(--black);
}


/*
** Anchor
*/

.wp-editor a,
.editor-contents a {
  display: inline-block;
  text-decoration: underline;
  transition: var(--transition);
}

@media (hover: hover) and (pointer: fine) {
  .editor-contents a:hover {
    color: var(--corp-main);
  }
}


/*
** Title
*/

.wp-editor h1, .wp-editor h2, .wp-editor h3, .wp-editor h4, .wp-editor h5, .wp-editor h6,
.editor-contents h1, .editor-contents h2, .editor-contents h3, .editor-contents h4, .editor-contents h5, .editor-contents h6 {
  color: var(--corp-main);
  font-weight: 500;
  margin-bottom: 0.75em;
}

.wp-editor h1,
.editor-contents h1,
.wp-editor h2,
.editor-contents h2,
.wp-editor h3,
.editor-contents h3 {
  font-size: 1.33em;
}

.wp-editor h4,
.editor-contents h4,
.wp-editor h5,
.editor-contents h5,
.wp-editor h6,
.editor-contents h6 {
  font-size: 1.15em;
}


/*
** Table
*/

.wp-editor table th,
.wp-editor table td,
.editor-contents table th,
.editor-contents table td {
  vertical-align: middle;
}

.wp-editor table:not(:last-child),
.editor-contents table:not(:last-child) {
  margin-bottom: 1em;
}


/*
** List
*/

.wp-editor ol,
.editor-contents ol {
  list-style-position: inside;
  list-style-type: decimal;
}

.wp-editor ul,
.editor-contents ul {
  display: grid;
  grid-template-columns: 100%;
  grid-auto-rows: max-content;
  grid-row-gap: 1em;
}

.wp-editor ul li,
.editor-contents ul li {
  padding-left: 1.1em;
}

.wp-editor ul li::before,
.editor-contents ul li::before {
  content: '\25cf';
  color: var(--headline);
  margin-left: -1em;
  margin-right: 0.1em;
}


/*
** Image
*/

.wp-editor img,
.editor-contents img {
  width: auto;
  max-width: 100%;
  vertical-align: bottom;
}


/*
** Text
*/

.wp-editor strong,
.editor-contents strong {
  font-weight: bold;
}

.wp-editor em,
.editor-contents em {
  font-style: italic;
}

.wp-editor *[style="padding-left: 40px;"],
.editor-contents *[style="padding-left: 40px;"] {
  padding-left: 1.1em !important;
}
.wp-editor *[style="padding-left: 80px;"],
.editor-contents *[style="padding-left: 80px;"] {
  padding-left: 2.2em !important;
}
.wp-editor *[style="padding-left: 120px;"],
.editor-contents *[style="padding-left: 120px;"] {
  padding-left: 3.3em !important;
}
.wp-editor *[style="padding-left: 160px;"],
.editor-contents *[style="padding-left: 160px;"] {
  padding-left: 4.4em !important;
}
.wp-editor *[style="padding-left: 200px;"],
.editor-contents *[style="padding-left: 200px;"] {
  padding-left: 5.5em !important;
}