﻿/* Shared, scoped CKEditor 5 data styles. No editor JavaScript is needed to read content. */
.rich-content {
    display: flow-root;
    min-width: 0;
    max-width: 100%;
    contain: inline-size;
    color: var(--ink-dim, #56606b);
    font-family: inherit;
    font-size: inherit;
    line-height: 2;
    overflow-wrap: anywhere;
}
.rich-content > :first-child { margin-top: 0; }
.rich-content > :last-child { margin-bottom: 0; }
.rich-content p { margin: 0 0 1em; }
.rich-content h2, .rich-content h3, .rich-content h4, .rich-content h5, .rich-content h6 {
    color: var(--ink, #1a2433);
    font-weight: 700;
    line-height: 1.6;
    margin: 1.5em 0 .65em;
}
.rich-content h2 { font-size: 1.5em; }
.rich-content h3 { font-size: 1.3em; }
.rich-content h4 { font-size: 1.15em; }
.rich-content h5, .rich-content h6 { font-size: 1em; }
.rich-content a { color: var(--blue-dark, #00658c); text-decoration: underline; text-underline-offset: .2em; }
.rich-content a:hover { color: var(--gold-dark, #75580e); }
.rich-content a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.rich-content ul, .rich-content ol { display: block; margin: 0 0 1em; padding-inline-start: 1.8em; }
.rich-content ul { list-style: disc outside; }
.rich-content ol { list-style: decimal outside; }
.rich-content li { display: list-item; margin: .3em 0; }
.rich-content li > ul, .rich-content li > ol { margin-bottom: 0; }
.rich-content blockquote { margin: 1.25em 0; padding: .5em 1.25em; border-inline-start: 3px solid var(--gold, #d4af37); background: var(--bg-soft, #f7f0e7); }
.rich-content figure { margin: 1.25em 0; max-width: 100% !important; }
.rich-content figure.table:focus-visible, .rich-content .table-responsive:focus-visible { outline: 2px solid var(--gold-dark, #75580e); outline-offset: 2px; }
.rich-content figure.table, .rich-content .table-responsive { display: block; overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
.rich-content table { width: 100%; border-collapse: collapse; border: 1px solid var(--line, #c7cdd3); font-size: inherit; }
.rich-content th, .rich-content td { border: 1px solid var(--line, #c7cdd3); padding: .65em .85em; text-align: inherit; vertical-align: top; }
.rich-content th { font-weight: 700; color: var(--ink, #1a2433); background: var(--bg-soft, #f7f0e7); }
.rich-content tr[style*="background"] > th, .rich-content table[style*="background"] th { background-color: transparent; }
.rich-content th > p, .rich-content td > p { margin: 0; }
.rich-content th > p + p, .rich-content td > p + p { margin-top: .35em; }
.rich-content .rich-table--indexed { font-size: .9em; line-height: 1.6; }
.rich-content .rich-table--indexed th, .rich-content .rich-table--indexed td { padding: .35em .6em; }
.rich-content .rich-table-index { width: 1%; white-space: nowrap; text-align: center; }
.rich-content table img { display: inline-block; vertical-align: middle; }
.rich-content table .rich-table-image { width: auto; max-height: 40px; }
.rich-content .text-center { text-align: center; }
.rich-content .text-left { text-align: left; }
.rich-content .text-right { text-align: right; }
.rich-content .text-start { text-align: start; }
.rich-content .text-end { text-align: end; }
.rich-content .align-middle, .rich-content table.align-middle th, .rich-content table.align-middle td { vertical-align: middle; }
.rich-content .align-top, .rich-content table.align-top th, .rich-content table.align-top td { vertical-align: top; }
.rich-content .align-bottom, .rich-content table.align-bottom th, .rich-content table.align-bottom td { vertical-align: bottom; }
.rich-content caption, .rich-content figcaption { padding: .5em; font-size: .9em; text-align: center; color: var(--ink-dim, #56606b); background: var(--bg-soft, #f7f0e7); }
.rich-content img { display: block; max-width: 100%; height: auto; }
.rich-content .image { display: table; clear: both; margin-inline: auto; }
.rich-content .image img { width: 100%; }
.rich-content .image-inline { display: inline-block; }
.rich-content .image-style-align-left, .rich-content .image-style-block-align-left, .rich-content .alignleft { float: left; margin-right: 1em; }
.rich-content .image-style-align-right, .rich-content .image-style-block-align-right, .rich-content .image-style-side, .rich-content .alignright { float: right; margin-left: 1em; }
.rich-content .image-style-align-center, .rich-content .aligncenter { margin-inline: auto; }
.rich-content .text-tiny { font-size: .7em; }
.rich-content .text-small { font-size: .85em; }
.rich-content .text-big { font-size: 1.4em; }
.rich-content .text-huge { font-size: 1.8em; }
.rich-content hr { clear: both; border: 0; border-top: 1px solid var(--line, #c7cdd3); margin: 1.5em 0; }
.rich-content pre { overflow-x: auto; padding: 1em; background: var(--bg-soft, #f7f0e7); direction: ltr; text-align: left; }
.rich-content :not(pre) > code { padding: .1em .3em; background: var(--bg-soft, #f7f0e7); }
@media (max-width: 600px) {
    .rich-content th, .rich-content td { padding: .5em; }
    .rich-content .image-style-side { float: none; margin-inline: auto; }
}
