/* Article template corrections. */
.l-main {
  background: #fef7e5;
  color: #333;
}

.l-main .post_title,
.l-main .post_content h1,
.l-main .post_content h2,
.l-main .post_content h3,
.l-main .post_content h4,
.l-main .post_content h5,
.l-main .post_content h6 {
  color: #640f2c !important;
}

.l-main .post_content,
.l-main .post_content p,
.l-main .post_content li,
.l-main .post_content td,
.l-main .post_content th {
  color: #333 !important;
}

/* The exported template leaves an empty image column before the title. */
.l-main > .l-section:first-child .vc_col-sm-6:first-child {
  display: none;
}

.l-main > .l-section:first-child .vc_col-sm-6:last-child {
  width: 100%;
}

.l-main > .l-section:first-child .post_title {
  text-align: center;
  margin-left: 0;
  max-width: 100%;
}

@media (max-width: 900px) {
  .l-main > .l-section:first-child {
    padding-top: 3rem !important;
  }

  .l-main .post_content > div[style*="display:flex"] {
    flex-direction: column;
  }

  .l-main .post_content > div[style*="display:flex"] > div,
  .l-main .post_content > div[style*="display:flex"] > aside {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .l-main .post_content > div[style*="display:flex"] > aside {
    position: static !important;
    order: 2;
    margin-top: 2rem;
  }

  .article-table-scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .article-table-scroll table {
    min-width: 650px;
  }

  .l-main > .l-section:first-child .post_title {
    font-size: 2.75rem !important;
    line-height: 1.15;
  }

  .l-main .post_content h1 {
    font-size: 2.35rem !important;
    line-height: 1.2;
  }

  .l-main .post_content h2 {
    font-size: 2rem !important;
    line-height: 1.25;
  }

  .l-main .post_content h3 {
    font-size: 1.7rem !important;
    line-height: 1.3;
  }

  .l-main .post_content h4,
  .l-main .post_content h5,
  .l-main .post_content h6 {
    font-size: 1.45rem !important;
    line-height: 1.3;
  }
}
