/* Shared authored-news typography: public article and TinyMCE iframe.
   Inline author styles keep priority; only missing defaults are supplied. */
@font-face {
    font-family: "Montserrat";
    src: url("../fonts/ligamu/montserrat-cyrillic-variable.woff2?v=9e39f47b6232fa0d") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}
.news-rich-content {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 1.4;
    color: #e5ecf3;
    overflow-wrap: anywhere;
}
body.news-rich-content {
    margin: 16px;
    background: #192f40;
}
.news-rich-content :is(p, ul, ol, blockquote) {
    font-size: inherit;
    line-height: inherit;
    margin: 0 0 0.55em;
}
.news-rich-content :is(h1, h2, h3, h4, h5, h6) {
    font-family: inherit;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: normal;
    text-transform: none;
    margin: 1em 0 0.4em;
    color: inherit;
}
.news-rich-content h1 { font-size: 1.8em; }
.news-rich-content h2 { font-size: 1.5em; }
.news-rich-content h3 { font-size: 1.25em; }
.news-rich-content h4 { font-size: 1.1em; }
.news-rich-content :is(h5, h6) { font-size: 1em; }
.news-rich-content > :first-child { margin-top: 0; }
.news-rich-content > :last-child { margin-bottom: 0; }
.news-rich-content :is(ul, ol) { padding-left: 1.5em; }
.news-rich-content li { margin: 0.2em 0; }
.news-rich-content li > :last-child { margin-bottom: 0; }
.news-rich-content blockquote {
    padding: 0.4em 1em;
    border-left: 3px solid #7894aa;
}
.news-rich-content pre {
    white-space: pre-wrap;
    overflow-x: auto;
}
.news-rich-content a,
.news-rich-content.news-article-body a { color: #93c5fd; }
.news-rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
/* The :is specificity also overrides TinyMCE's non-persistent editing grid. */
.news-rich-content :is(table, table.mce-item-table) {
    border-collapse: collapse;
    border-spacing: 0;
    border: 1px dashed #7894aa;
    width: 100%;
    max-width: 100%;
    margin: 0 0 0.8em;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}
.news-rich-content :is(table, table.mce-item-table) :is(th, td) {
    border: 1px dashed #7894aa;
    padding: 6px 10px;
    vertical-align: top;
    font-size: inherit;
    line-height: inherit;
}
.news-rich-content table th {
    text-align: center;
    font-weight: 700;
}
.news-rich-content table :is(th, td) > :last-child { margin-bottom: 0; }
.news-rich-content table.news-table-solid,
.news-rich-content table.news-table-solid :is(th, td) { border-style: solid; }
.news-rich-content table.news-table-dotted,
.news-rich-content table.news-table-dotted :is(th, td) { border-style: dotted; }
.news-rich-content table[border="0"],
.news-rich-content table[border="0"] :is(th, td),
.news-rich-content table.news-table-borderless,
.news-rich-content table.news-table-borderless :is(th, td) { border: 0; }
