/* Modify external stylesheet styling from codex editor */
.ce-block__content {
  max-width: unset;

  .ce-paragraph {
    line-height: 1.25rem;
  }

  .cdx-alert {
    padding: calc(1rem - 1px);
    border-radius: calc(var(--border-radius) / 2);
  }
}

.ce-toolbar__content {
  max-width: unset;
}

.article__content {
  .article-content__block {

    .article-content__cdx_block {
      padding: .4em 0;
    }

    /* ALIGNMENT (LEFT / CENTER / RIGHT) */
    .article-content__tune-alignment--left {
      text-align: left;
    }

    .article-content__tune-alignment--center {
      text-align: center;
    }

    .article-content__tune-alignment--right {
      text-align: right;
    }

    /* TYPOGRAPHY */
    .article-content__block-content {
      p.article-content__paragraph { /* .ce-paragraph */
        min-height: calc(1.25rem + (0.4em) * 2);
        padding: 0.4em 0;
      }

      .article-content__header { /* .ce-header */
        margin: 0;
        padding: .6em 0 3px;
        line-height: 1.25em;
        outline: none;
      }
    }

  /* ALERTS (Inherits the rest of styling in alert.css) */
    .article-content__alert {
      alert {
        margin-bottom: 10px;
      }
    }

  /*  LIST*/
    .article-content__list {
      margin: 0;
      outline: none;
      padding: .4em 0 .4em  40px;

      .article-content__list__item {
        padding: 5.5px 0 5.5px 3px;
        line-height: 1.6em;
      }
    }

  /* TABLE*/
    .article-content__table-wrap {   /* .tc-wrap */
      margin-top: 18px;

      .tc-row{
        border-left: 1px solid var(--color-border)
      }
    }
  }
  /*Article embeds*/
  .embed-tool {
    margin-top: 1rem;
    margin-bottom: 1rem;

    .embed-tool_content {
      width: 100%;
    }
  }
}
