/*
 * InsuranceStudy text pages (themes/insurancestudy/views/layouts/page.php: system requirements, the
 * privacy policies, terms of use, about, contact), on the design-system layout: the cream page and
 * the tokens of theme.css. The white page-head band is theme.css .is-page-head; below it one white
 * card, as the FAQ and state FAQ pages have, at a reading width.
 *
 * .is-prose styles the views' own markup (shared views and staff-written policies, written for the
 * old stack): headings, paragraphs, lists, tables, the old .well box. Measure 72ch, so long policy
 * paragraphs stay readable. Sizes are px on purpose.
 */

.is-text-page {
    padding-bottom: 64px;
}
.is-text-card {
    max-width: 860px;
    margin-top: 28px;
    padding: 32px 40px;
    background: #fff;
    border: 1px solid var(--is-border);
    border-radius: 6px;
    box-shadow: var(--is-shadow-xs);
}
@media (max-width: 575.98px) {
    .is-text-card {
        margin-top: 20px;
        padding: 22px 18px;
    }
}

/* Prose ---------------------------------------------------------------------------------- */
.is-prose {
    font-size: 16px;
    line-height: 1.7;
    color: var(--is-ink);
    overflow-wrap: break-word;
}
.is-prose p,
.is-prose ul,
.is-prose ol,
.is-prose dl,
.is-prose table,
.is-prose blockquote {
    margin: 0 0 16px;
}
.is-prose p,
.is-prose li,
.is-prose dd {
    max-width: 72ch;
}
.is-prose h2 {
    font-size: 24px;
    margin: 32px 0 10px;
}
.is-prose h3 {
    font-size: 20px;
    margin: 28px 0 8px;
}
.is-prose h4,
.is-prose h5,
.is-prose h6 {
    font-size: 17px;
    margin: 24px 0 6px;
}
.is-prose > :first-child {
    margin-top: 0;
}
.is-prose > :last-child {
    margin-bottom: 0;
}
.is-prose ul,
.is-prose ol {
    padding-left: 24px;
}
.is-prose li + li {
    margin-top: 6px;
}
.is-prose li > ul,
.is-prose li > ol {
    margin: 6px 0 0;
}
.is-prose blockquote {
    padding-left: 20px;
    color: var(--is-muted);
}
.is-prose hr {
    margin: 28px 0;
    border: 0;
    border-top: 1px solid var(--is-border);
    opacity: 1;
}
.is-prose img {
    max-width: 100%;
    height: auto;
}
.is-prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.5;
}
.is-prose th,
.is-prose td {
    padding: 8px 12px;
    border: 1px solid var(--is-border);
    text-align: left;
    vertical-align: top;
}
.is-prose th {
    background: var(--is-sunken);
    font-weight: 600;
    color: var(--is-heading);
}
/* the old Bootstrap 3 .well (the privacy policy's notices): a tinted box, as on the course page */
.is-prose .well {
    margin: 0 0 16px;
    padding: 16px 20px;
    background: var(--is-cream);
    border: 1px solid var(--is-border);
    border-radius: 6px;
    box-shadow: none;
}
.is-prose .well > :last-child {
    margin-bottom: 0;
}
