/*
 * common-article.css — статья и связанные разделы [PWRU-257].
 */

/* Типографика статьи 1:1 с доминирующим legacy (prod): текст 13px/#000/lh1.7, заголовок 36px, колонка во всю ширину контейнера (PWRU-293). */
.article { max-width: none; margin: 24px 0 40px; }
.article--consultation { max-width: none; margin-bottom: 24px; }
.article__title { margin-bottom: 16px; color: var(--c-section-title, #1b1b1b); text-transform: uppercase; font-size: 2.25rem; line-height: 1.1; }
.article--consultation .article__title { text-transform: none; font-size: 1.75rem; line-height: 1.2; margin-bottom: 12px; }
.article__media { margin: 0 0 20px; }
.article__media img { border-radius: var(--radius); }
.article__body { font-size: 0.8125rem; line-height: 1.7; color: #000; }
.article__body h2 { margin-top: 1.4em; }
.article__body img { border-radius: var(--radius); margin: 1em 0; }
.article__body table { border-collapse: collapse; width: 100%; margin: 1em 0; }
.article__body th, .article__body td { border: 1px solid var(--c-border); padding: 8px 12px; text-align: left; }

/* ---- связанные разделы под статьёй (ряд плиток-переходов, 1:1 с прод) ---- */
.article-related { padding: 8px 0 0; }
.article-related__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
}
.related-tile { background: #ededed; }
.related-tile a {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 130px;
    padding: 22px;
    color: var(--c-section-title, #1b1b1b);
    text-decoration: none;
}
.related-tile a:hover { text-decoration: none; background: #e3e3e3; }
.related-tile__title { font-size: 1.05rem; font-weight: 700; text-transform: uppercase; line-height: 1.2; }
.related-tile__more {
    margin-top: 16px;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #5b5f66; /* [PWRU-299] a11y: --c-muted #6b6f76 на #ededed = 4.3:1 → #5b5f66 = 5.4:1, WCAG 1.4.3 */
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: .04em;
}
.related-tile__more i {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--c-accent, #ee3138);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-size: 1rem;
}
@media (max-width: 900px) { .article-related__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .article-related__grid { grid-template-columns: 1fr; } }
