.cms-content {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.cms-content h1 {
    font-size: 2rem;
}

.cms-content h2 {
    font-size: 1.65rem;
}

.cms-content h3 {
    font-size: 1.4rem;
}

.cms-content h4 {
    font-size: 1.2rem;
}

.cms-content h5 {
    font-size: 1.1rem;
}

.cms-content blockquote {
    padding: 1.25rem;
    margin: 1rem 0;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
    background-color: #fff;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
}

.cms-content blockquote > :last-child {
    margin-bottom: 0;
}

.cms-content :not(pre) > code {
    padding: .15em .4em;
    color: #495057;
    background-color: #f1f3f5;
    border-radius: .25rem;
}

.cms-content a > code {
    color: inherit;
}

.cms-content table {
    width: 100%;
    margin-bottom: 1.5rem;
    border-collapse: collapse;
}

.cms-content th,
.cms-content td {
    padding: .65rem .75rem;
    border-bottom: 1px solid #dee2e6;
    vertical-align: top;
    overflow-wrap: break-word;
}

.cms-content th {
    background-color: #e9ecef;
}

.cms-content table thead:not(:has(th:not(:empty))),
.cms-content table tr:not(:has(> th:not(:empty), > td:not(:empty))) {
    display: none;
}

.cms-content tbody tr:nth-child(even of :has(> th:not(:empty), > td:not(:empty))) {
    background-color: #f8f9fa;
}

@media (max-width: 767px) {
    .cms-content table {
        display: block;
        overflow-x: auto;
    }

    .cms-content th,
    .cms-content td {
        min-width: 9rem;
    }
}

.cms-content img {
    max-width: 100%;
    height: auto;
}
