.ck-content {
  width: 100%;
  direction: rtl;
  text-align: right;

  &:lang(en) {
    direction: ltr;
    text-align: left;
  }

  a {
    display: inline-block;
    color: blue;
  }

  p,
  a,
  span,
  b,
  ul,
  li,
  em,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  strong {
    font-family: inherit, sans-serif;
    direction: unset;
    text-align: unset;

    &:lang(en) {
      font-family: inherit;
      direction: unset;
      text-align: unset;
    }

    &[dir='ltr'] {
      direction: ltr;
      text-align: left;

      p,
      a,
      span,
      b,
      ul,
      li,
      em,
      h1,
      h2,
      h3,
      h4,
      h5,
      h6,
      strong {
        direction: ltr;
        text-align: left;
      }
    }

    &[dir='rtl'] {
      direction: rtl;
      text-align: right;

      p,
      a,
      span,
      b,
      ul,
      li,
      em,
      h1,
      h2,
      h3,
      h4,
      h5,
      h6,
      strong {
        direction: rtl;
        text-align: right;
      }
    }
  }

  p {
    line-height: 1.6em;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    line-height: 1.3em;
  }

  li {
    margin-bottom: 15px;
    line-height: 1.6em;
  }

  ol {
    list-style: decimal;
    list-style-position: inside;
  }

  ul {
    list-style: disc;
    list-style-position: inside;
  }

  img {
    max-width: 100% !important;
  }
}
