.editor-styles-wrapper.editor-styles-wrapper .editor-post-title__block .editor-post-title__input {
  font-size: 40px !important;
  color: var(--g5-color-heading);
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}
.editor-styles-wrapper.editor-styles-wrapper .components-icon-button.block-editor-block-switcher__toggle {
  overflow: hidden;
}
.editor-styles-wrapper.editor-styles-wrapper .wp-block-quote cite,
.editor-styles-wrapper.editor-styles-wrapper .wp-block-quote footer,
.editor-styles-wrapper.editor-styles-wrapper .wp-block-quote__citation {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.025em;
}
.editor-styles-wrapper.editor-styles-wrapper .wp-block-pullquote .wp-block-pullquote__citation {
  font-weight: 700;
  margin-top: 25px;
}
.editor-styles-wrapper.editor-styles-wrapper .wp-block-pullquote.is-style-solid-color .wp-block-pullquote__citation {
  text-transform: uppercase;
  color: inherit;
}
.editor-styles-wrapper.editor-styles-wrapper .wp-block {
  max-width: 870px;
}
.editor-styles-wrapper.editor-styles-wrapper .wp-block[data-align=full] {
  max-width: none;
}
.editor-styles-wrapper.editor-styles-wrapper .wp-block[data-align=wide] {
  max-width: 1170px;
}
.editor-styles-wrapper.editor-styles-wrapper p {
  line-height: 1.6;
}
.editor-styles-wrapper.editor-styles-wrapper h1, .editor-styles-wrapper.editor-styles-wrapper h2, .editor-styles-wrapper.editor-styles-wrapper h3, .editor-styles-wrapper.editor-styles-wrapper h4, .editor-styles-wrapper.editor-styles-wrapper h5, .editor-styles-wrapper.editor-styles-wrapper h6 {
  margin-top: 2rem;
}
.editor-styles-wrapper.editor-styles-wrapper h1:first-child, .editor-styles-wrapper.editor-styles-wrapper h2:first-child, .editor-styles-wrapper.editor-styles-wrapper h3:first-child, .editor-styles-wrapper.editor-styles-wrapper h4:first-child, .editor-styles-wrapper.editor-styles-wrapper h5:first-child, .editor-styles-wrapper.editor-styles-wrapper h6:first-child {
  margin-top: 0;
}
.editor-styles-wrapper.editor-styles-wrapper .wp-block-cover a {
  color: inherit;
}
.editor-styles-wrapper.editor-styles-wrapper .wp-block-cover p {
  margin-bottom: 0;
}
.editor-styles-wrapper.editor-styles-wrapper .wp-block-categories ul {
  list-style-type: none;
}

.wp-block-freeform.block-library-rich-text__tinymce .h1 {
  font-size: var(--g5-h1-font-size);
}
.wp-block-freeform.block-library-rich-text__tinymce .h2 {
  font-size: var(--g5-h2-font-size);
}
.wp-block-freeform.block-library-rich-text__tinymce .h3 {
  font-size: var(--g5-h3-font-size);
}
.wp-block-freeform.block-library-rich-text__tinymce .h4 {
  font-size: var(--g5-h4-font-size);
}
.wp-block-freeform.block-library-rich-text__tinymce .h5 {
  font-size: var(--g5-h5-font-size);
}
.wp-block-freeform.block-library-rich-text__tinymce .h6 {
  font-size: var(--g5-h6-font-size);
}

.editor-block-list__layout .editor-block-list__block[data-align=left] .editor-block-list__block-edit {
  margin-left: 1rem;
}

.editor-block-list__layout .editor-block-list__block[data-align=right] > .editor-block-list__block-edit {
  margin-right: 1rem;
}

.wp-block-image .components-resizable-box__container {
  display: block;
}

.block-editor .wp-block-categories ul,
.block-editor ul.wp-block-archives {
  padding-right: 0;
}

@media (min-width: 600px) {
  .edit-post-visual-editor .block-editor-block-list__block .block-editor-block-list__block-edit {
    margin-right: 0;
    margin-left: 0;
  }
  .block-editor-block-list__layout .block-editor-block-list__block {
    padding-right: 0;
    padding-left: 0;
  }
}
body.has-sidebar .editor-styles-wrapper.editor-styles-wrapper .wp-block,
body.has-sidebar .editor-styles-wrapper.editor-styles-wrapper .wp-block[data-align=wide] {
  max-width: 870px;
}
body.has-sidebar .editor-styles-wrapper.editor-styles-wrapper .wp-block[data-align=full] {
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 600px) {
  body.has-sidebar .editor-block-list__layout .editor-block-list__block[data-align=full] {
    margin-right: auto;
    margin-left: auto;
  }
  body.has-sidebar .editor-block-list__layout .editor-block-list__block[data-align=full] > .editor-block-list__block-edit {
    margin-right: 0;
    margin-left: 0;
  }
}

.wp-block-categories > ul {
  list-style: none;
  padding: 0;
  margin: -5px 0 0 0;
}
.wp-block-categories > ul li {
  position: relative;
  margin: 0;
}
.wp-block-categories > ul li > a {
  display: inline-block;
  margin: 5px 0;
  position: relative;
  line-height: 20px;
  min-height: 20px;
  color: inherit;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  border-bottom: 1px solid transparent;
}
.wp-block-categories > ul li > a:hover {
  color: var(--g5-color-dark);
  border-color: currentColor;
}
.wp-block-categories > ul .current_page_ancestor > ul,
.wp-block-categories > ul .current_page_parent > ul,
.wp-block-categories > ul .current-cat-parent > ul,
.wp-block-categories > ul .current-cat-ancestor > ul {
  display: block;
}
.wp-block-categories > ul .current-cat > a {
  color: var(--g5-color-dark);
}
.wp-block-categories > ul li > ul {
  list-style: none;
  padding: 0 20px 0 0;
  margin: 0 0 5px 0;
}
