/* Shared article typography: admin editor and public article page */
.article-content,
.rich-editor__content {
  color: #4C5056;
  font-family: Onest, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.7;
}

.article-content h1,
.rich-editor__content h1 {
  margin: 24px 0 12px;
  color: #1D2024;
  font-size: 30px;
  font-weight: 750;
  letter-spacing: -.04em;
  line-height: 1.15;
}

.article-content h2,
.rich-editor__content h2 {
  margin: 22px 0 10px;
  color: #1D2024;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.2;
}

.article-content h3,
.rich-editor__content h3 {
  margin: 18px 0 8px;
  color: #1D2024;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.3;
}

.article-content h4,
.rich-editor__content h4 {
  margin: 15px 0 6px;
  color: #1D2024;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.35;
}

.article-content p,
.rich-editor__content p {
  margin: 10px 0;
  color: #4C5056;
  font-size: 14px;
  line-height: 1.7;
}

.article-content ul,
.article-content ol,
.rich-editor__content ul,
.rich-editor__content ol {
  margin: 10px 0 10px 20px;
  padding-left: 22px;
  color: #4C5056;
  font-size: 14px;
  line-height: 1.7;
}

.article-content ul,
.rich-editor__content ul {
  list-style: disc outside;
}

.article-content ol,
.rich-editor__content ol {
  list-style: decimal outside;
}

.article-content li,
.rich-editor__content li {
  display: list-item;
  margin: 4px 0;
  padding-left: 2px;
}

.article-content ul ul,
.rich-editor__content ul ul {
  list-style: circle outside;
}

.article-content strong,
.rich-editor__content strong {
  color: #1D2024;
  font-weight: 700;
}

.article-content a,
.rich-editor__content a {
  color: #C96F32;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-content img,
.rich-editor__content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 14px 0;
  border-radius: 12px;
}

.article-table-wrap {
  width: 100%;
  margin: 14px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.article-content table,
.rich-editor__content table {
  width: max-content;
  min-width: 0;
  max-width: none;
  margin: 14px auto;
  border-collapse: collapse;
  color: #4C5056;
  font-size: 12.5px;
  line-height: 1.5;
}

.article-table-wrap table {
  width: max-content;
  margin: 0 auto;
}

.article-content th,
.article-content td,
.rich-editor__content th,
.rich-editor__content td {
  padding: 8px 10px;
  border: 1px solid #E8DFD2;
  text-align: left;
  vertical-align: top;
}

.article-content th,
.rich-editor__content th {
  background: #FAF7F1;
  color: #1D2024;
  font-weight: 700;
}

.article-content blockquote,
.rich-editor__content blockquote {
  margin: 16px 0;
  padding: 12px 16px;
  border-left: 3px solid #E58B4B;
  border-radius: 0 10px 10px 0;
  background: #FAF7F1;
  color: #6B6F73;
  font-size: 13.5px;
  line-height: 1.6;
}

.article-content hr,
.rich-editor__content hr {
  margin: 20px 0;
  border: 0;
  border-top: 1px solid #E8DFD2;
}

@media (max-width: 720px) {
  .article-content h1,
  .rich-editor__content h1 { font-size: 25px; }
  .article-content h2,
  .rich-editor__content h2 { font-size: 21px; }
  .article-content h3,
  .rich-editor__content h3 { font-size: 17px; }
  .article-content p,
  .rich-editor__content p { font-size: 13px; }
}

