/* =========================================================
   Artikelsidor
   Använd klassen .article-content på artikelns huvudbehållare.
   ========================================================= */

.article-content {
    font-size: 17px;
    line-height: 1.75;
    color: #1f2937;
}


/* Löptext */

.article-content p {
    margin: 0 0 1.35em;
}


/* Rubriker */

.article-content h2 {
    margin: 2.1em 0 0.65em;
    font-size: 1.65rem;
    line-height: 1.3;
    font-weight: 700;
    color: #071b40;
}

.article-content h3 {
    margin: 1.7em 0 0.55em;
    font-size: 1.25rem;
    line-height: 1.35;
    font-weight: 700;
    color: #071b40;
}


/* Punktlistor */

.article-content ul {
    margin: 0 0 1.5em;
    padding-left: 1.4em;
}

.article-content li {
    margin-bottom: 0.45em;
    padding-left: 0.15em;
}


/* Tabellbehållare för mindre skärmar */

.article-table-wrapper {
    width: 100%;
    margin: 1.5em 0 2em;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}


/* Tabeller */

.article-content table,
.article-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 0.88rem;
    line-height: 1.35;
    text-align: left;
}

.article-content th,
.article-table th {
    padding: 0.65rem 0.55rem;
    font-weight: 700;
    color: #111827;
    vertical-align: bottom;
    border-bottom: 1px solid #cfd4dc;
}

.article-content td,
.article-table td {
    padding: 0.75rem 0.55rem;
    vertical-align: middle;
    border-bottom: 1px solid #e5e7eb;
}

.article-content tbody tr:last-child td,
.article-table tbody tr:last-child td {
    border-bottom: 0;
}


/* Första kolumnen något tydligare */

.article-content th:first-child,
.article-content td:first-child,
.article-table th:first-child,
.article-table td:first-child {
    padding-left: 0;
}

.article-content th:last-child,
.article-content td:last-child,
.article-table th:last-child,
.article-table td:last-child {
    padding-right: 0;
}


/* Mobilanpassning */

@media (max-width: 700px) {
    .article-content {
        font-size: 16px;
        line-height: 1.7;
    }

    .article-content h2 {
        font-size: 1.45rem;
    }

    .article-content h3 {
        font-size: 1.18rem;
    }

    .article-content table,
    .article-table {
        min-width: 760px;
        font-size: 0.82rem;
    }

    .article-content th,
    .article-content td,
    .article-table th,
    .article-table td {
        padding: 0.6rem 0.45rem;
    }
}