/* ===========================
   ARTICLE PAGES (on top of legal.css)
   =========================== */

.article h1 {
    font-size: 1.9rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.article h2 {
    font-size: 1.2rem;
    margin: 2rem 0 0.6rem;
}

.article p,
.article li {
    font-size: 1rem;
}

.article p + p {
    margin-top: 0.85rem;
}

.article ul,
.article ol {
    padding-left: 1.25rem;
    margin: 0.6rem 0;
}

.article li + li {
    margin-top: 0.35rem;
}

.article strong {
    color: #2c3e50;
    font-weight: 600;
}

.article-meta {
    color: #888;
    margin-bottom: 0.75rem;
}

.article .article-meta {
    font-size: 0.82rem;
}

.article-tag {
    display: inline-block;
    background: #eef0fd;
    color: #4f5bd5;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.12rem 0.55rem;
    margin-right: 0.35rem;
}

.article .article-lead {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

.article .article-byline {
    font-size: 0.85rem;
    color: #888;
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e6e8ef;
}

.article-cta {
    margin-top: 2.5rem;
    background: #eef0fd;
    border-left: 3px solid #667eea;
    border-radius: 6px;
    padding: 0.85rem 1rem;
}

.article-more {
    margin-top: 2rem;
}

.article-more h2 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
}

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

@media (max-width: 480px) {
    .article h1 {
        font-size: 1.55rem;
    }
}

/* Tables in articles; scroll sideways on narrow screens */
.article-table {
    overflow-x: auto;
    margin: 1rem 0;
}

.article-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.article-table th,
.article-table td {
    text-align: left;
    vertical-align: top;
    padding: 0.5rem 0.65rem;
    border-bottom: 1px solid #e6e8ef;
}

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

.article-table tbody tr:last-child td {
    border-bottom: 0;
    background: #fafbfe;
}

/* Phones: one block per row, with the column name before each value */
@media (max-width: 560px) {
    .article-table thead {
        display: none;
    }

    .article-table table,
    .article-table tbody,
    .article-table tr,
    .article-table td {
        display: block;
        width: 100%;
    }

    .article-table tr {
        border-bottom: 1px solid #e6e8ef;
        padding: 0.5rem 0;
    }

    .article-table td {
        border: 0;
        padding: 0.15rem 0;
    }

    .article-table td:first-child {
        font-size: 0.95rem;
    }

    .article-table td:not(:first-child)::before {
        content: attr(data-label) ': ';
        color: #888;
        font-size: 0.8rem;
    }

    .article-table td:empty {
        display: none;
    }
}
