.yj-rich-text { color: var(--yj-body); font-size: var(--yj-type-body); line-height: 1.8; overflow-wrap: anywhere; }
.yj-rich-text > :first-child { margin-top: 0; }
.yj-rich-text > :last-child { margin-bottom: 0; }
.yj-rich-text p { margin: 0 0 1.25em; color: inherit; }
.yj-rich-text h2, .yj-rich-text h3, .yj-rich-text h4, .yj-rich-text h5, .yj-rich-text h6 { margin: 1.6em 0 .7em; color: var(--yj-ink); line-height: 1.3; }
.yj-rich-text h2 { font-size: var(--yj-type-section); }
.yj-rich-text h3, .yj-rich-text h4, .yj-rich-text h5, .yj-rich-text h6 { font-size: var(--yj-type-module); }
.yj-rich-text ul, .yj-rich-text ol { padding-left: 1.5em; margin: 0 0 1.5em; }
.yj-rich-text li + li { margin-top: .45em; }
.yj-rich-text a { color: var(--yj-blue-deep); text-decoration: underline; text-underline-offset: 3px; }
.yj-rich-text img { height: auto; max-width: 100%; margin: 24px auto; }
.yj-rich-text figure { max-width: 100%; margin: 28px 0; }
.yj-rich-text figcaption { margin-top: 12px; font-size: var(--yj-type-meta); text-align: center; }
.yj-rich-text blockquote { margin: 28px 0; padding: 24px 30px; border-left: 3px solid var(--yj-blue-deep); background: var(--yj-surface); }
.yj-rich-text__table-scroll { width: 100%; margin: 28px 0; overflow-x: auto; }
.yj-rich-text table { width: 100%; margin: 0; border-collapse: collapse; font-size: 15px; line-height: 1.6; font-variant-numeric: tabular-nums; }
.yj-rich-text td, .yj-rich-text th { min-width: 100px; padding: 14px 18px; border: 1px solid #dce5ef; vertical-align: middle; text-align: left; overflow-wrap: normal; }
.yj-rich-text tbody > tr:nth-child(even) { background: #f7f9fc; }
.yj-rich-text th, .yj-rich-text thead td, .yj-rich-text table:not(:has(thead)) > tbody > tr:first-child > td, .yj-rich-text table:not(:has(thead)) > tbody > tr:first-child:has([rowspan="2"]) + tr > td { background: #edf4fc; color: var(--yj-blue-deep); font-weight: 700; }
.yj-rich-text td p, .yj-rich-text th p { margin: 0; }
.yj-rich-text iframe, .yj-rich-text video { max-width: 100%; }
.yj-rich-text .aligncenter { margin-right: auto; margin-left: auto; text-align: center; }
.yj-rich-text .alignleft { float: left; margin-right: 24px; }
.yj-rich-text .alignright { float: right; margin-left: 24px; }
.yj-rich-text::after { display: block; clear: both; content: ''; }
@media (max-width: 700px) {
  .yj-rich-text .alignleft, .yj-rich-text .alignright { float: none; margin-right: auto; margin-left: auto; }
  .yj-rich-text table { font-size: 14px; }
  .yj-rich-text td, .yj-rich-text th { padding: 12px 14px; }
}
