/* Shared only by the editor and articles explicitly saved with layout v1. */
.ntr-post-content.ntr-post-content {
  font-family: "Mitr", Helvetica, Arial, sans-serif;
  font-size: 17px; line-height: 1.7; color: #212529;
  overflow-wrap: anywhere; text-align: left;
}
.ntr-post-content.ntr-post-content :where(*) { font-family: inherit; }
body.ntr-post-content { box-sizing: border-box; max-width: 816px; padding: 0; margin: 16px auto; }
.ntr-post-content.ntr-post-content::after { content: ""; display: block; clear: both; }
.ntr-post-content.ntr-post-content :where(p,h1,h2,h3,h4,h5,h6,ul,ol,blockquote,pre,figure) { margin: 0 0 1em; }
.ntr-post-content.ntr-post-content p { font-size: inherit; line-height: inherit; min-height: 1.7em; text-align: inherit; }
.ntr-post-content.ntr-post-content :where(h1,h2,h3,h4,h5,h6) { line-height: 1.35; font-weight: 600; text-align: inherit; }
.ntr-post-content.ntr-post-content h1 { font-size: 2em; }
.ntr-post-content.ntr-post-content h2 { font-size: 1.6em; }
.ntr-post-content.ntr-post-content h3 { font-size: 1.35em; }
.ntr-post-content.ntr-post-content h4 { font-size: 1.15em; }
.ntr-post-content.ntr-post-content h5,.ntr-post-content.ntr-post-content h6 { font-size: 1em; }
.ntr-post-content.ntr-post-content :where(ul,ol) { padding-left: 2em; }
.ntr-post-content.ntr-post-content blockquote { border-left: 3px solid #ccd4d9; padding-left: 1em; }
.ntr-post-content.ntr-post-content :where(pre,code) { font-family: monospace; white-space: pre-wrap; }
.ntr-post-content.ntr-post-content a { color: #1263a1; text-decoration: underline; }
.ntr-post-content.ntr-post-content img {
  display: inline-block; vertical-align: middle; max-width: 100%; height: auto !important;
  box-sizing: border-box; padding: 10px; margin: 0; border-radius: 8px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px; background: rgba(213, 219, 219, 0.8);
}
.ntr-post-content.ntr-post-content p:has(img),.ntr-post-content.ntr-post-content figure.image { text-align: inherit; }
.ntr-post-content.ntr-post-content figure.image { display: table; max-width: 100%; margin-left: 0; margin-right: 0; }
.ntr-post-content.ntr-post-content figure.image.align-center { float: none; margin-left: auto; margin-right: auto; }
.ntr-post-content.ntr-post-content figure.image.align-left { float: left; margin-left: 0; margin-right: 1em; }
.ntr-post-content.ntr-post-content figure.image.align-right { float: right; margin-left: 1em; margin-right: 0; }
.ntr-post-content.ntr-post-content figure.image img { display: block; }
.ntr-post-content.ntr-post-content figure.image figcaption { display: table-caption; caption-side: bottom; text-align: center; font-size: .9em; color: #555; padding: .4em 0; }
.ntr-post-content.ntr-post-content table { border-collapse: collapse; max-width: 100%; table-layout: fixed; }
.ntr-post-content.ntr-post-content :where(td,th) { border: 1px solid #adb5bd; padding: .5em; overflow-wrap: anywhere; }
.ntr-post-content.ntr-post-content th { background: #eef1f3; }
/* Retain the opt-in gallery format in existing content when an article is edited. */
.ntr-post-content.ntr-post-content .image-gallery { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(200px,100%),1fr)); gap: 12px; margin: 20px 0; padding: 0; }
.ntr-post-content.ntr-post-content .image-gallery img.gallery-item { width: 100%; height: 200px !important; object-fit: cover; margin: 0; padding: 0; background: none; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.15); cursor: pointer; transition: transform .2s, box-shadow .2s; }
.ntr-post-content.ntr-post-content .image-gallery img.gallery-item:hover { transform: scale(1.03); box-shadow: 0 4px 16px rgba(0,0,0,.25); }
@media(max-width: 576px) {
  .ntr-post-content.ntr-post-content .image-gallery { grid-template-columns: repeat(auto-fill,minmax(min(140px,100%),1fr)); gap: 8px; }
  .ntr-post-content.ntr-post-content .image-gallery img.gallery-item { height: 140px !important; }
}
@media(max-width: 600px) { body.ntr-post-content { margin: 12px; } }
