/* Shared WordPress editor typography, scoped to rendered post/page content. */
.ut-editor-content {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  line-height: 2.1;
  --ut-content-heading: #075397;
  --ut-content-border: #d4d9e9;
}

.ut-editor-content.ut-editor-content :is(p, ul, ol, dl, blockquote, pre, figure, table) {
  margin-block: 0 1.1em;
}

.ut-editor-content.ut-editor-content :is(h1, h2, h3, h4, h5, h6) {
  display: block;
  margin-block: 1.5em .65em;
  color: var(--ut-content-heading);
  font-weight: 800;
  line-height: 1.8;
}

.ut-editor-content.ut-editor-content h1 { font-size: 1.75em; }
.ut-editor-content.ut-editor-content h2 { font-size: 1.4em; }
.ut-editor-content.ut-editor-content h3 { font-size: 1.2em; }
.ut-editor-content.ut-editor-content h4 { font-size: 1.1em; }
.ut-editor-content.ut-editor-content :is(h5, h6) { font-size: 1em; }
.ut-editor-content.ut-editor-content p { display: block; line-height: inherit; }
.ut-editor-content.ut-editor-content > :first-child { margin-block-start: 0; }
.ut-editor-content.ut-editor-content > :last-child { margin-block-end: 0; }

.ut-editor-content.ut-editor-content :is(ul, ol) { padding-inline-start: 1.6em; padding-inline-end: 0; }
.ut-editor-content.ut-editor-content ul { list-style-type: disc; }
.ut-editor-content.ut-editor-content ol { list-style-type: decimal; }
.ut-editor-content.ut-editor-content ul ul { list-style-type: circle; }
.ut-editor-content.ut-editor-content ol[type="a"] { list-style-type: lower-alpha; }
.ut-editor-content.ut-editor-content ol[type="A"] { list-style-type: upper-alpha; }
.ut-editor-content.ut-editor-content ol[type="i"] { list-style-type: lower-roman; }
.ut-editor-content.ut-editor-content ol[type="I"] { list-style-type: upper-roman; }
.ut-editor-content.ut-editor-content li { margin-block: .3em; }
.ut-editor-content.ut-editor-content li > :is(ul, ol) { margin-block: .3em 0; }
.ut-editor-content.ut-editor-content dt { font-weight: 700; }
.ut-editor-content.ut-editor-content dd { margin-inline-start: 1.5em; margin-block-end: .75em; }

.ut-editor-content.ut-editor-content a:not(.wp-block-button__link) {
  color: #075397;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.ut-editor-content.ut-editor-content :is(strong, b) { font-weight: 800; }
.ut-editor-content.ut-editor-content :is(em, i) { font-style: italic; }
.ut-editor-content.ut-editor-content :is(blockquote, .wp-block-pullquote) {
  padding: 1em 1.25em;
  border-inline-start: 4px solid #075397;
  background: rgba(7, 83, 151, .05);
  color: inherit;
  font-size: inherit;
}
.ut-editor-content.ut-editor-content .wp-block-pullquote blockquote { padding: 0; border: 0; background: transparent; }
.ut-editor-content.ut-editor-content blockquote > :last-child { margin-bottom: 0; }
.ut-editor-content.ut-editor-content :is(cite, figcaption, .wp-caption-text) {
  color: #737b8b;
  font-size: .85em;
  line-height: 1.8;
}

.ut-editor-content.ut-editor-content :is(table, .wp-block-table) { max-width: 100%; overflow-x: auto; }
.ut-editor-content.ut-editor-content table {
  display: block;
  width: 100%;
  border-collapse: collapse;
  font-size: inherit;
}
.ut-editor-content.ut-editor-content :is(th, td) {
  padding: .7em 1em;
  border: 1px solid var(--ut-content-border);
  text-align: start;
  vertical-align: top;
  min-width: 7em;
}
.ut-editor-content.ut-editor-content th { background: #e8edf6; color: #075397; font-weight: 700; }
.ut-editor-content.ut-editor-content tbody tr:nth-child(even) { background: rgba(7, 83, 151, .035); }
.ut-editor-content.ut-editor-content caption { padding: .5em; font-weight: 700; text-align: start; }
.ut-editor-content.ut-editor-content :is(pre, code, kbd, samp) { font-family: Consolas, monospace; }
.ut-editor-content.ut-editor-content code { padding: .15em .35em; border-radius: 3px; background: #e8edf6; font-size: .9em; }
.ut-editor-content.ut-editor-content pre {
  max-width: 100%;
  padding: 1em;
  overflow-x: auto;
  border: 1px solid var(--ut-content-border);
  border-radius: 5px;
  background: #f5f7fb;
  direction: ltr;
  text-align: left;
  white-space: pre;
  line-height: 1.7;
}
.ut-editor-content.ut-editor-content pre code { padding: 0; background: transparent; font-size: inherit; }
.ut-editor-content.ut-editor-content :is(img, video) { max-width: 100%; height: auto; }
.ut-editor-content.ut-editor-content :is(iframe, embed, object, audio, .wp-caption) { max-width: 100%; }
.ut-editor-content.ut-editor-content .wp-block-embed__wrapper { overflow: hidden; }
.ut-editor-content.ut-editor-content .wp-has-aspect-ratio .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; }
.ut-editor-content.ut-editor-content .wp-embed-aspect-4-3 .wp-block-embed__wrapper { aspect-ratio: 4 / 3; }
.ut-editor-content.ut-editor-content .wp-embed-aspect-1-1 .wp-block-embed__wrapper { aspect-ratio: 1; }
.ut-editor-content.ut-editor-content .wp-has-aspect-ratio iframe { width: 100%; height: 100%; }
.ut-editor-content.ut-editor-content .aligncenter { display: block; margin-inline: auto; }
.ut-editor-content.ut-editor-content .alignleft { float: left; margin: .4em 1.25em 1em 0; }
.ut-editor-content.ut-editor-content .alignright { float: right; margin: .4em 0 1em 1.25em; }
.ut-editor-content::after { content: ""; display: block; clear: both; }
.ut-editor-content.ut-editor-content :is(.alignwide, .alignfull) { width: 100%; max-width: 100%; margin-inline: 0; }
.ut-editor-content.ut-editor-content hr { margin-block: 2em; border: 0; border-top: 1px solid var(--ut-content-border); }
.ut-editor-content.ut-editor-content .wp-block-button__link { padding: .6em 1.4em; border-radius: 5px; background: #075397; color: #fff; text-decoration: none; }
.ut-editor-content.ut-editor-content .is-style-outline .wp-block-button__link { border: 1px solid #075397; background: transparent; color: #075397; }

.analysis-overview-summary__content.ut-editor-content { font-size: 16px; line-height: 2.25; }
.analysis-overview-summary__content.ut-editor-content h2 { font-size: 1.1875em; }
.analysis-technical-narrative__content.ut-editor-content,
.analysis-fundamental-narrative__content.ut-editor-content { font-size: 16px; line-height: 2.25; }
@media (max-width: 767px) {
  .analysis-overview-summary__content.ut-editor-content { font-size: 13px; line-height: 2.15; }
  .analysis-technical-narrative__content.ut-editor-content,
  .analysis-fundamental-narrative__content.ut-editor-content { font-size: 13px; line-height: 2.15; }
  .ut-editor-content.ut-editor-content :is(.alignleft, .alignright) { float: none; margin-inline: auto; }
}
