/* Таблицы в тексте статей блога */
.article .article-table {
    margin: 24px 0 32px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.article .article-table table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.45;
}

.article .article-table th,
.article .article-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e4e4e8;
    text-align: left;
    vertical-align: top;
}

.article .article-table th {
    background: #f1f1f3;
    color: #2d2727;
    font-weight: 600;
}

.article .article-table tbody tr:nth-child(even) td {
    background: #fafafb;
}

/* Подзаголовки ближе к своему тексту, чем к предыдущему абзацу */
.article h2 {
    margin: 5rem 0 1.5rem;
}

.article h3 {
    margin: 3.5rem 0 1rem;
}

.article > h2:first-child,
.article > h3:first-child {
    margin-top: 0;
}

.post__author {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .article h2 {
        margin: 40px 0 16px;
    }

    .article h3 {
        margin: 32px 0 12px;
    }
}

@media (max-width: 767px) {
    .article .article-table table {
        font-size: 14px;
    }

    .article .article-table th,
    .article .article-table td {
        padding: 10px 12px;
    }
}
