/* Only the fixed legacy article IDs receive legacy-content.
   Important declarations intentionally override their saved inline formatting;
   ordinary/new articles, stored HTML and semantic emphasis remain untouched. */
.article-page .post-content.legacy-content {
  color:var(--ink,#17202b)!important;background:transparent!important;
  font-family:inherit!important;font-size:19px!important;line-height:1.9!important;
  letter-spacing:-.25px!important;overflow-wrap:anywhere;word-break:normal;
}
.article-page .post-content.legacy-content :where(section,article,main,aside,header,footer,div,p,span,font,h1,h2,h3,h4,h5,h6,ul,ol,li,dl,dt,dd,blockquote,figure,figcaption,table,thead,tbody,tfoot,tr,th,td,a,strong,b,em,i,small,time,pre,code) {
  color:inherit!important;background:transparent!important;
  font-family:inherit!important;box-shadow:none!important;text-shadow:none!important;
  border-color:var(--line,#dfe3e7)!important;border-radius:0!important;
  -webkit-text-fill-color:currentColor!important;background-clip:border-box!important;
}
.article-page .post-content.legacy-content :where(section,article,main,aside,header,footer,div,p,span,font,ul,ol,li,dl,dt,dd,a,strong,b,em,i,time) {
  font-size:inherit!important;line-height:inherit!important;letter-spacing:inherit!important;
}
.article-page .post-content.legacy-content :where(section,article,main,aside,header,footer,div,figure,table) {
  box-sizing:border-box!important;min-width:0!important;max-width:100%!important;
}
.article-page .post-content.legacy-content > :where(section,article,main,div):first-child {
  width:100%!important;max-width:100%!important;margin:0!important;
  padding:0!important;border:0!important;
}
.article-page .post-content.legacy-content :where(p,dl) {margin:0 0 1.35em!important;}
.article-page .post-content.legacy-content :where(h1,h2,h3,h4,h5,h6) {
  margin:1.6em 0 .65em!important;line-height:1.5!important;
  letter-spacing:-.035em!important;font-weight:750!important;
}
.article-page .post-content.legacy-content h1 {font-size:29px!important;}
.article-page .post-content.legacy-content h2 {font-size:26px!important;}
.article-page .post-content.legacy-content h3 {font-size:22px!important;}
.article-page .post-content.legacy-content h4 {font-size:20px!important;}
.article-page .post-content.legacy-content h5 {font-size:18px!important;}
.article-page .post-content.legacy-content h6 {font-size:17px!important;}
.article-page .post-content.legacy-content :where(strong,b) {font-weight:700!important;}
.article-page .post-content.legacy-content :where(em,i) {font-style:italic!important;}
.article-page .post-content.legacy-content a {
  color:var(--accent,#16618b)!important;text-decoration:underline!important;
  text-underline-offset:3px;text-decoration-thickness:1px;
}
.article-page .post-content.legacy-content :where(small,figcaption) {
  color:var(--muted,#69747e)!important;font-size:.78em!important;line-height:1.7!important;
}
.article-page .post-content.legacy-content :where(ul,ol) {
  margin:0 0 1.35em!important;padding:0 0 0 1.4em!important;list-style-position:outside!important;
}
.article-page .post-content.legacy-content ul {list-style-type:disc!important;}
.article-page .post-content.legacy-content ol {list-style-type:decimal!important;}
.article-page .post-content.legacy-content li {margin:0 0 .45em!important;padding:0!important;}
.article-page .post-content.legacy-content li > p:last-child {margin-bottom:0!important;}
.article-page .post-content.legacy-content blockquote {
  margin:1.5em 0!important;padding:14px 20px!important;
  border:0!important;border-left:3px solid var(--accent,#16618b)!important;
  background:var(--soft,#f5f7f9)!important;font-size:1em!important;line-height:1.85!important;
}
.article-page .post-content.legacy-content blockquote > :last-child {margin-bottom:0!important;}
.article-page .post-content.legacy-content table {
  display:block;max-width:100%!important;width:100%!important;overflow-x:auto;
  margin:1.5em 0!important;padding:0!important;border:0!important;
  border-collapse:collapse!important;font-size:.84em!important;line-height:1.7!important;
  -webkit-overflow-scrolling:touch;
}
.article-page .post-content.legacy-content :where(thead,tbody,tfoot,tr,td,th) {
  font-size:inherit!important;line-height:inherit!important;
}
.article-page .post-content.legacy-content :where(th,td) {
  padding:10px 12px!important;border:1px solid var(--line,#dfe3e7)!important;
  vertical-align:top!important;overflow-wrap:anywhere;
}
.article-page .post-content.legacy-content th {
  background:var(--soft,#f5f7f9)!important;font-weight:700!important;
}
.article-page .post-content.legacy-content :where(td,th) :where(p,div) {margin:0!important;}
.article-page .post-content.legacy-content :where(pre,code) {
  font-family:Consolas,"Liberation Mono",monospace!important;
  font-size:.85em!important;line-height:1.7!important;
}
.article-page .post-content.legacy-content pre {
  margin:1.5em 0!important;padding:16px!important;
  max-width:100%!important;overflow-x:auto;background:var(--soft,#f5f7f9)!important;
}
.article-page .post-content.legacy-content :where(img,video,iframe,embed) {max-width:100%!important;}
.article-page .post-content.legacy-content img {height:auto!important;}
.article-page .post-content.legacy-content hr {
  margin:1.8em 0!important;border:0!important;border-top:1px solid var(--line,#dfe3e7)!important;
}
@media(max-width:1023px) {
  .article-page .post-content.legacy-content {font-size:18px!important;}
}
@media(max-width:767px) {
  .article-page .post-content.legacy-content {font-size:17px!important;letter-spacing:-.3px!important;}
  .article-page .post-content.legacy-content h1 {font-size:26px!important;}
  .article-page .post-content.legacy-content h2 {font-size:23px!important;}
  .article-page .post-content.legacy-content h3 {font-size:20px!important;}
  .article-page .post-content.legacy-content h4 {font-size:19px!important;}
  .article-page .post-content.legacy-content blockquote {padding:12px 16px!important;}
  .article-page .post-content.legacy-content :where([style*="display:grid" i],[style*="display: grid" i]) {
    grid-template-columns:minmax(0,1fr)!important;gap:16px!important;
  }
  .article-page .post-content.legacy-content :where([style*="display:flex" i],[style*="display: flex" i]) {
    flex-wrap:wrap!important;gap:12px!important;
  }
}
