/* Shared by HugeRTE's editing canvas and public articles. */
.article-content {
    font: 17px/1.8 "Plus Jakarta Sans", system-ui, sans-serif;
    color: #1f1a15;
    overflow-wrap: anywhere;
}

.article-content p {
    margin: 0 0 1em;
}

.article-content h2, .article-content h3, .article-content h4 {
    color: inherit;
    text-transform: none;
    line-height: 1.3;
    margin: 1.2em 0 .5em;
    font-weight: 800;
}

.article-content h2 {
    font-size: 28px;
}

.article-content h3 {
    font-size: 23px;
}

.article-content h4 {
    font-size: 19px;
}

.article-content a {
    color: #1d6fe8;
    text-decoration: underline;
}

.article-content ul, .article-content ol {
    padding-left: 1.8em;
}

.article-content blockquote {
    border-left: 4px solid #f5a73b;
    padding-left: 20px;
    margin: 1.5em 0;
    color: #6b6258;
}

.article-content pre {
    padding: 16px;
    background: #f6efe5;
    overflow-x: auto;
    white-space: pre;
    border-radius: 8px;
}

.article-content code {
    font-family: ui-monospace, monospace;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
}

.article-content figure {
    max-width: 100%;
    margin: 1.5em 0;
}

.article-content figcaption {
    font-size: 14px;
    color: #6b6258;
    margin-top: 8px;
}

.article-content table {
    border-collapse: collapse;
    max-width: 100%;
    margin: 1.5em 0;
}

.article-content td, .article-content th {
    border: 1px solid #e6dccd;
    padding: 10px;
    vertical-align: top;
}

.article-content th {
    font-weight: 700;
    background: #f6efe5;
}

.article-content hr {
    border: 0;
    border-top: 1px solid #e6dccd;
    margin: 2em 0;
}

.article-content .article-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 2.5rem 0;
    padding: 28px 0;
    border-top: 1px solid #e6dccd;
    border-bottom: 1px solid #e6dccd;
    background: transparent;
}

.article-content .article-stats>div::before {
    content: "";
    display: block;
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background: #f5a73b;
    margin-bottom: 12px;
}

.article-content .article-stats strong {
    display: block;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1;
}

.article-content .article-stats span {
    display: block;
    margin-top: .4rem;
    font-size: .95rem;
    line-height: 1.4;
    color: #6b6258;
}

.article-content .article-testimonial blockquote {
    margin: 2.5rem 0;
    padding-left: 1.4rem;
    border-left: 4px solid #f5a73b;
    color: #1f1a15;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.45;
}

.article-content .article-testimonial blockquote p {
    margin: 0;
}

.article-content .article-testimonial footer {
    margin-top: .7rem;
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.4;
    color: #6b6258;
}

@media (max-width: 600px) {
    .article-content .article-stats {
        grid-template-columns: 1fr;
    }
}

.article-content figure img {
    width: auto;
    max-width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
}

.article-content li+li {
    margin-top: 0;
}

.article-content iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16/9;
    height: auto;
    border: 0;
    margin: 1.5em 0;
}

.article-content video {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.5em 0;
}

.article-content figure.video-block {
    max-width: 100%;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

.article-content figure.video-left {
    margin-left: 0;
    margin-right: auto;
}

.article-content figure.video-center {
    margin-left: auto;
    margin-right: auto;
}

.article-content figure.video-right {
    margin-left: auto;
    margin-right: 0;
}

.article-content .video-block iframe, .article-content .video-block video {
    width: 100%;
    margin: 0;
}