.wysiwyg {
  padding-bottom: 30px;

  h1:not(:first-child),
  h2:not(:first-child),
  h3:not(:first-child),
  h4:not(:first-child),
  h5:not(:first-child),
  h6:not(:first-child) {
    margin-top: 25px;
  }

  a {
    color: #6c757d;
  }

  img {
    width: 100%;
    height: 100%;
    max-height: 35vh;
    margin-bottom: 15px;
    object-fit: cover;

    @media (min-width: 992px) {
      width: auto;
    }
  }

  video {
    width: 100%;
    margin-bottom: 15px;
  }

  ol {
    padding: 0;
    margin: 0 0 15px;
    list-style-type: none;
    counter-reset: item;
  }

  ol > li {
    display: table;
    margin-bottom: .6rem;
    counter-increment: item;
  }

  ol > li::before {
    display: table-cell;
    padding-right: .6rem;
    content: counters(item, ".") ". ";
  }

  li ol {
    margin-bottom: 0;
  }

  /* stylelint-disable selector-max-type */
  li ol > li {
    margin: 0;
  }

  li ol > li::before {
    content: counters(item, ".") " ";
  }
  /* stylelint-enable */

  table {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
  }

  tr:nth-of-type(odd) {
    background: #e9ecef;
  }

  th {
    font-weight: 600;
    color: #fff;
    background: #343a40;
  }

  td,
  th {
    padding: 5px;
    text-align: left;
    border: 1px solid #6c757d;
  }
}
