.cms {
    box-sizing: border-box;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 24px;
    outline: none;
    overflow-y: auto;
    padding: 12px 15px;
    tab-size: 4;
    text-align: left;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* ==============================
   TinyMCE Lists
   ============================== */

.cms ol,
.cms ul {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 24px;
    margin: 0 0 1rem;
    padding-left: 2rem;
}

.cms ul {
    list-style-type: disc;
}

.cms ol {
    list-style-type: decimal;
}

.cms li {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 8px;
    padding-left: 5px;
}

.cms ul ul {
    list-style-type: circle;
    margin-top: 8px;
}

.cms ul ul ul {
    list-style-type: square;
}

.cms ol ol {
    list-style-type: lower-alpha;
    margin-top: 8px;
}

.cms ol ol ol {
    list-style-type: lower-roman;
}

.cms ol ol ol ol {
    list-style-type: decimal;
}

.cms li > ul,
.cms li > ol {
    margin-top: 8px;
    margin-bottom: 8px;
}

.cms li:last-child {
    margin-bottom: 0;
}

/* Headings */
.cms h1,
.cms h2,
.cms h3,
.cms h4,
.cms h5,
.cms h6 {
    line-height: normal;
    font-family: 'Domine', serif;
    margin: 0;
    padding: 0;
}

.cms h1 {
    font-size: 32px;
    line-height: 40px;
    margin: 0 0 1rem;
}

.cms h2 {
    font-size: 28px;
    line-height: 40px;
    margin: 1.75rem 0 1rem;
}

.cms h3 {
    font-size: 18px;
    line-height: 24px;
    margin: 1.5rem 0 .75rem;
}

.cms h4 {
    font-size: 16px;
    line-height: 24px;
    margin: 1.25rem 0 .75rem;
}

.cms h5 {
    font-size: 15px;
    line-height: 24px;
    margin: 1.25rem 0 .75rem;
}

.cms h6 {
    font-size: 14px;
    line-height: 24px;
    margin: 1rem 0 .75rem;
}

/* Paragraph */
.cms p {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 24px;
    margin: 0 0 1rem;
}

/* Links */
.cms a {
    text-decoration: underline;
    color: #06c;
}

/* Tables */
.cms table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0 0 1rem;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 24px;
}

.cms table td,
.cms table th {
    border: 1px solid #000;
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

.cms table th {
    font-weight: 600;
}

/* Images */
.cms img {
    max-width: 100%;
    height: auto;
    margin: 1.25rem auto;
}

/* Blockquote */
.cms blockquote {
    border-left: 4px solid #ccc;
    margin: 1rem 0;
    padding-left: 16px;
}

/* Code */
.cms code,
.cms pre {
    background-color: #f0f0f0;
    border-radius: 3px;
}

.cms pre {
    white-space: pre-wrap;
    margin: 1rem 0;
    padding: 5px 10px;
}

/* Video */
.cms iframe {
    display: block;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 16 / 9;
    margin: 1.25rem auto;
    border-radius: 8px;
}

@media (min-width: 768px) {
    .cms h1 {
        font-size: 40px;
        line-height: 46px;
    }

    .cms h2 {
        font-size: 30px;
        line-height: 42px;
    }
}

@media (min-width: 1024px) {
    .cms h1 {
        font-size: 42px;
        line-height: 54px;
    }
}