/**
 * Legal text pages only (Magento_Cms/layout/cms_page_view_id_{impressum,datenschutz,legal-notice,privacy-policy,
 *   customer-service,shipping-returns,agb,terms-and-conditions}.xml).
 * Readable line length, real headings (Hyvä's preflight resets h2/h3), tables with separators.
 */

.cms-page-view .column.main {
    max-width: 52rem;
    line-height: 1.7;
    color: #222;
}

.cms-page-view .column.main h2 {
    margin: 2.5rem 0 1rem;
    font-size: 1.375rem;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

.cms-page-view .column.main h3 {
    margin: 2rem 0 0.5rem;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.4;
}

.cms-page-view .column.main p {
    margin: 0 0 1rem;
}

.cms-page-view .column.main ul {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
    list-style: disc;
}

.cms-page-view .column.main li {
    margin-bottom: 0.25rem;
}

.cms-page-view .column.main a {
    text-decoration: underline;
    text-underline-offset: 0.25em;
}

.cms-page-view .column.main table {
    width: 100%;
    margin: 1rem 0 2rem;
    border-collapse: collapse;
    font-size: 0.875rem;
    line-height: 1.5;
}

.cms-page-view .column.main :is(th, td) {
    padding: 0.5rem 1rem 0.5rem 0;
    border-bottom: 1px solid #e3e0da;
    text-align: left;
    vertical-align: top;
}

.cms-page-view .column.main th {
    font-weight: 600;
    border-bottom-color: #bdb8ae;
}

/* phones: tables scroll sideways instead of squeezing the columns */
@media (max-width: 47.98rem) {
    .cms-page-view .column.main table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}
