.article-page {
    padding: clamp(24px, 5vw, 60px) 0;
    background: #f6f8f3;
    color: #253429;
    font-family: iran_m, Tahoma, sans-serif;
    text-align: right;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.article-card,
.article-related {
    min-width: 0;
    padding: clamp(16px, 3.5vw, 38px);
    border: 1px solid #dfe7da;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(34, 66, 28, .06);
    overflow-wrap: anywhere;
}

.article-heading {
    margin-bottom: clamp(16px, 3vw, 28px);
    padding-bottom: 16px;
    border-bottom: 1px solid #e4eae1;
}

.article-heading h1 {
    margin: 0;
    padding-inline-start: 12px;
    border-inline-start: 4px solid #49852f;
    color: #214324;
    font-family: inherit;
    font-size: clamp(23px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.5;
}

.article-cover {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto 24px;
    border-radius: 12px;
}

.article-card .full_text_article {
    padding: 0;
    text-align: start;
    font-size: 15px;
    line-height: 2;
}

.article-card .full_text_article p {
    margin-bottom: 1em;
}

.article-card .full_text_article > :last-child {
    margin-bottom: 0;
}

.article-card .full_text_article img {
    max-width: 100%;
    height: auto;
}

.article-card .full_text_article iframe {
    max-width: 100%;
}

.article-card .full_text_article video {
    display: block;
    box-sizing: border-box;
    /* Override the editor's fixed dimensions and let the media set its aspect ratio. */
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    max-height: 680px;
    margin: 0 auto;
    border-radius: 12px;
    background: #132019;
    object-fit: contain;
}

.article-related {
    padding: 20px;
}

.article-related h2 {
    margin: 0 0 12px;
    color: #214324;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.6;
}

.article-related ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.article-related li + li {
    border-top: 1px solid #e4eae1;
}

.article-related a {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 4px;
    color: #253429;
    font-size: 13px;
    line-height: 1.7;
}

.article-related a:hover,
.article-related a:focus {
    color: #31652d;
    text-decoration: underline;
}

.article-related img {
    flex: none;
    width: 56px;
    height: 48px;
    border-radius: 6px;
    background: #f1f5ee;
    object-fit: contain;
}

.article-comments {
    margin-top: 24px;
}

@media (min-width: 992px) {
    .article-layout {
        max-width: 860px;
        margin-inline: auto;
    }

    .article-layout-with-related {
        max-width: none;
        grid-template-columns: minmax(0, 1fr) minmax(220px, 26%);
    }

    .article-layout:not(.article-layout-with-related) + .article-comments {
        max-width: 860px;
        margin-inline: auto;
    }
}
