/* Таблицы в теле статьи (новости + обзоры) */
.article_block,
.traders-card_content {
    --article-table-border: #e8e9ec;
    --article-table-header-bg: #f5f6f8;
    --article-table-row-alt: #fafbfc;
    --article-table-text: #404040;
    --article-table-accent: #c14949;
}

.content-table-scroll {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    margin: 1.5rem 0;
    border: 1px solid var(--article-table-border);
    border-radius: 6px;
    background: #fff;
}

.content-table-scroll table {
    margin: 0;
    border: none;
    border-radius: 0;
    width: auto;
    min-width: 100%;
    max-width: none;
    table-layout: auto;
}

.article_block table,
.traders-card_content table {
    width: auto;
    max-width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 16px;
    line-height: 1.45;
    color: var(--article-table-text);
    font-family: "Source Sans Pro", Graphik, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background: #fff;
}

.article_block table caption,
.traders-card_content table caption {
    caption-side: top;
    padding: 0.75rem 1rem;
    font-weight: 600;
    text-align: left;
    color: var(--article-table-text);
}

.article_block table th,
.article_block table td,
.traders-card_content table th,
.traders-card_content table td {
    padding: 0.65rem 1rem;
    border: 1px solid var(--article-table-border);
    vertical-align: top;
    text-align: left;
    min-width: 4.5rem;
    max-width: 14rem;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.article_block table th,
.traders-card_content table th {
    background: var(--article-table-header-bg);
    font-weight: 600;
    color: var(--article-table-text);
}

.article_block table tbody tr:nth-child(even) td,
.traders-card_content table tbody tr:nth-child(even) td {
    background: var(--article-table-row-alt);
}

.article_block table tbody tr:hover td,
.traders-card_content table tbody tr:hover td {
    background: #f0f1f3;
}

.article_block table a,
.traders-card_content table a {
    color: var(--article-table-accent);
    text-decoration: underline;
}

.article_block table a:hover,
.traders-card_content table a:hover {
    text-decoration: none;
}

@media (max-width: 767px) {
    .article_block table,
    .traders-card_content table {
        font-size: 14px;
    }

    .article_block table th,
    .article_block table td,
    .traders-card_content table th,
    .traders-card_content table td {
        padding: 0.5rem 0.75rem;
        min-width: 3.5rem;
        max-width: 10rem;
    }
}
