/* General */

.text-block-wrapper {
    max-width: 820px;
    margin: 0 auto;
}

.text-block-wrapper > h1,
.text-block-wrapper > h2 {
    margin-top: .2rem;
}

.text-block-content {
    color: rgba(13, 26, 41, .76);
    font-size: 1.06rem;
    line-height: 1.65;
}

.text-block-content p,
.text-block-content li,
.text-block-content address {
    color: inherit;
}

.text-block-content address {
    font-style: normal;
}

.text-block-content h2,
.text-block-content h3,
.text-block-content h4,
.text-block-content h5,
.text-block-content h6 {
    scroll-margin-top: 110px;
}

.text-block-content h2 {
    margin-top: 1.35em;
    font-size: 2.25rem;
}

.text-block-content h3 {
    margin-top: 1.4em;
    font-size: 1.75rem;
}

.text-block-content h4 {
    margin-top: 1.4em;
    font-size: 1.35rem;
}

.text-block-content ul,
.text-block-content ol {
    margin: 0 0 1.2em 1.2em;
}

.text-block-content li + li {
    margin-top: .35em;
}

.text-block-content a {
    color: var(--teal-dark);
    font-weight: 700;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.text-block-content a:hover,
.text-block-content a:focus-visible {
    color: var(--navy);
}

.text-block-content a:focus-visible {
    border-radius: 3px;
    outline: 3px solid rgba(86, 178, 184, .3);
    outline-offset: 3px;
}

.text-block-content table {
    width: 100%;
    margin: 1.5em 0;
    border-collapse: collapse;
}

.text-block-content th,
.text-block-content td {
    padding: 12px 14px;
    border: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.text-block-content th {
    background: var(--ice);
    color: var(--navy);
    font-weight: 700;
}

.text-block-content > :last-child {
    margin-bottom: 0;
}

/* Responsive */

@media only screen and (max-width: 767.98px) {
    .text-block-content {
        font-size: 1rem;
    }

    .text-block-content h2 {
        font-size: 1.95rem;
    }

    .text-block-content h3 {
        font-size: 1.55rem;
    }

    .text-block-content table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .text-block-content a {
        transition: none;
    }
}
