
/* Nurdal Okuma Standardı & PDF v1.0 */

/* Site-wide long-form reading standard */
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content){
  font-size:20px !important;
  line-height:1.80 !important;
  letter-spacing:-.004em;
  text-rendering:optimizeLegibility;
}

.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) p{
  margin-top:0 !important;
  margin-bottom:1.42em !important;
}

.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) h2{
  font-size:36px !important;
  line-height:1.14 !important;
  letter-spacing:-.035em !important;
  margin:2.15em 0 .72em !important;
}

.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) h3{
  font-size:29px !important;
  line-height:1.19 !important;
  letter-spacing:-.025em !important;
  margin:1.9em 0 .66em !important;
}

.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) h4{
  font-size:23px !important;
  line-height:1.25 !important;
  margin:1.65em 0 .58em !important;
}

.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) :is(ul,ol){
  margin-top:.25em !important;
  margin-bottom:1.45em !important;
  line-height:1.75 !important;
}

.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) li{
  margin-bottom:.48em !important;
}

.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) blockquote{
  font-size:1.12em !important;
  line-height:1.65 !important;
  margin:2em 0 !important;
  padding-top:.25em !important;
  padding-bottom:.25em !important;
}

.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) hr{
  margin:3em 0 !important;
}

.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) table{
  font-size:16px !important;
  line-height:1.55 !important;
}

.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) figcaption{
  font-size:13px !important;
  line-height:1.5 !important;
}

/* PDF action */
.ndrop-download-wrap{
  margin:48px 0 12px;
  padding-top:26px;
  border-top:1px solid rgba(60,52,47,.15);
}

.ndrop-pdf-button{
  appearance:none;
  border:1px solid rgba(60,52,47,.18);
  border-radius:14px;
  background:#f7f2eb;
  color:#1c1917;
  display:inline-flex;
  align-items:center;
  gap:13px;
  padding:13px 17px;
  cursor:pointer;
  font:inherit;
  text-align:left;
  transition:.18s ease;
}

.ndrop-pdf-button:hover{
  transform:translateY(-1px);
  background:#fff;
  border-color:rgba(60,52,47,.3);
}

.ndrop-pdf-button:disabled{
  cursor:wait;
  opacity:.68;
  transform:none;
}

.ndrop-pdf-icon{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#b51d37;
  color:#fff;
  font-weight:800;
  font-size:18px;
}

.ndrop-pdf-button strong{
  display:block;
  font-family:inherit;
  font-size:15px;
  line-height:1.2;
}

.ndrop-pdf-button small{
  display:block;
  margin-top:3px;
  color:#756d67;
  font-size:11px;
  line-height:1.35;
}

.ndrop-pdf-status{
  margin:8px 0 0 !important;
  font-size:12px !important;
  color:#756d67;
}

/* v2.0 — PDF is rendered in a real temporary viewport so canvas capture cannot be blank. */
.ndrop-pdf-stage{
  position:fixed;
  inset:0;
  z-index:2147483647;
  overflow:auto;
  padding:24px;
  background:#e9e5df;
}
.ndrop-pdf-stage-status{
  position:sticky;
  top:0;
  z-index:2;
  width:max-content;
  margin:0 auto 12px;
  padding:8px 13px;
  border-radius:999px;
  background:#171513;
  color:#fff;
  font:700 12px/1.2 Arial,sans-serif;
}
.ndrop-pdf-document{
  position:relative;
  width:760px;
  min-height:1075px;
  margin:0 auto;
  box-sizing:border-box;
  background:#fff;
  color:#1b1917;
  padding:46px 54px 54px;
  font-family:Georgia,"Times New Roman",serif;
  box-shadow:0 10px 35px rgba(0,0,0,.14);
}

.ndrop-pdf-document *{
  box-sizing:border-box;
}

.ndrop-pdf-brand{
  font-family:Arial,sans-serif;
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#9f3346;
  margin-bottom:16px;
}

.ndrop-pdf-title{
  font-size:34px;
  line-height:1.08;
  margin:0 0 13px;
  letter-spacing:-.025em;
}

.ndrop-pdf-meta{
  font-family:Arial,sans-serif;
  font-size:10px;
  line-height:1.5;
  color:#746d67;
  margin-bottom:25px;
}

.ndrop-pdf-featured{
  display:block;
  width:100%;
  height:auto;
  max-height:420px;
  object-fit:contain;
  margin:0 auto 28px;
  border-radius:10px;
}

.ndrop-pdf-body{
  font-size:15.5px;
  line-height:1.72;
}

.ndrop-pdf-body p{
  margin:0 0 1.25em;
}

.ndrop-pdf-body h2{
  font-size:25px;
  line-height:1.16;
  margin:1.9em 0 .65em;
  page-break-after:avoid;
}

.ndrop-pdf-body h3{
  font-size:21px;
  line-height:1.2;
  margin:1.65em 0 .58em;
  page-break-after:avoid;
}

.ndrop-pdf-body h4{
  font-size:18px;
  margin:1.5em 0 .55em;
  page-break-after:avoid;
}

.ndrop-pdf-body img{
  max-width:100% !important;
  height:auto !important;
  object-fit:contain !important;
  display:block;
  margin:18px auto;
  page-break-inside:avoid;
}

.ndrop-pdf-body figure,
.ndrop-pdf-body blockquote,
.ndrop-pdf-body table{
  page-break-inside:avoid;
}

.ndrop-pdf-body :is(script,style,iframe,video,audio){
  display:none !important;
}

.ndrop-pdf-footer{
  margin-top:34px;
  padding-top:14px;
  border-top:1px solid #ddd6cf;
  font-family:Arial,sans-serif;
  font-size:9px;
  line-height:1.5;
  color:#766f68;
}

@media (max-width:760px){
  .single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content){
    font-size:18px !important;
    line-height:1.72 !important;
  }
  .single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) h2{
    font-size:30px !important;
  }
  .single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) h3{
    font-size:25px !important;
  }
  .single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) h4{
    font-size:21px !important;
  }
  .ndrop-pdf-button{
    width:100%;
  }
}


/* v1.1 — article normalization: consistent readable long-form layout */
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content){
  max-width:820px;
  margin-inline:auto;
}

.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) > p{
  max-width:72ch;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* Imported Word/legacy inline styling must not override article typography. */
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content).ndrop-normalized p,
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content).ndrop-normalized p span:not(.wp-katex-html):not(.math):not(.emoji){
  font-family:inherit !important;
  font-size:inherit !important;
  line-height:inherit !important;
  letter-spacing:inherit !important;
}

.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content).ndrop-normalized p span[style*="background"],
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content).ndrop-normalized p mark{
  background:transparent !important;
  background-color:transparent !important;
  color:inherit !important;
}

.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content).ndrop-normalized p[style*="background"]{
  background:transparent !important;
  background-color:transparent !important;
}

/* Empty legacy paragraphs should not create large holes in the article flow. */
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content).ndrop-normalized p:empty{
  display:none !important;
}

/* Preserve intentionally formatted poetry / verse / code. */
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) :is(pre,.wp-block-verse,.wp-block-code){
  max-width:72ch;
  margin-left:auto;
  margin-right:auto;
}

@media (max-width:760px){
  .single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content){
    max-width:100%;
  }
  .single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) > p{
    max-width:100%;
  }
}


/* v1.2 — unified H2 article hierarchy and tighter vertical rhythm */
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content).ndrop-normalized > h2,
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content).ndrop-normalized > h3,
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content).ndrop-normalized > h4{
  font-size:clamp(28px,2.55vw,32px) !important;
  line-height:1.16 !important;
  letter-spacing:-.028em !important;
  font-weight:650 !important;
  margin:1.45em 0 .58em !important;
  max-width:100% !important;
  text-wrap:balance;
}
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content).ndrop-normalized > hr{
  margin:2.1em 0 1.2em !important;
}
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content).ndrop-normalized > hr + h2,
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content).ndrop-normalized > hr + h3,
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content).ndrop-normalized > hr + h4{
  margin-top:.75em !important;
}
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content).ndrop-normalized > :is(h2,h3,h4) + p{
  margin-top:0 !important;
}
@media (max-width:760px){
  .single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content).ndrop-normalized > h2,
  .single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content).ndrop-normalized > h3,
  .single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content).ndrop-normalized > h4{
    font-size:26px !important;
    line-height:1.18 !important;
    margin:1.3em 0 .52em !important;
    text-wrap:pretty;
  }
  .single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content).ndrop-normalized > hr{
    margin:1.75em 0 1em !important;
  }
}

/* PDF mirrors the same single H2 hierarchy */
.ndrop-pdf-body h2,
.ndrop-pdf-body h3,
.ndrop-pdf-body h4{
  font-size:22px !important;
  line-height:1.2 !important;
  margin:1.45em 0 .55em !important;
  page-break-after:avoid;
}


/* v1.3 — remove legacy vertical holes between article sections */
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content).ndrop-normalized > .wp-block-spacer{
  height:22px !important;
  min-height:0 !important;
  max-height:22px !important;
  margin:0 !important;
  padding:0 !important;
}
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content).ndrop-normalized > .wp-block-separator,
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content).ndrop-normalized > hr{
  margin:1.75em 0 .85em !important;
}
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content).ndrop-normalized > h2{
  margin:1.12em 0 .48em !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
  min-height:0 !important;
}
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content).ndrop-normalized > :is(p,ul,ol,blockquote,figure,table,.wp-block-group,.wp-block-columns) + h2{
  margin-top:1.12em !important;
}
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content).ndrop-normalized > :is(.wp-block-spacer,.wp-block-separator,hr) + h2{
  margin-top:.42em !important;
}
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content).ndrop-normalized > p:empty,
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content).ndrop-normalized > .ndrop-empty-block{
  display:none !important;
}
/* Legacy editor groups/columns must not reserve artificial vertical space. */
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content).ndrop-normalized > :is(.wp-block-group,.wp-block-columns,.wp-block-column){
  min-height:0 !important;
}
@media(max-width:760px){
  .single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content).ndrop-normalized > h2{
    margin:1em 0 .44em !important;
  }
  .single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content).ndrop-normalized > .wp-block-spacer{
    height:16px !important;
    max-height:16px !important;
  }
}


/* v1.4 — GLOBAL ARTICLE ENGINE: typography, width and vertical rhythm */
body.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content).ndrop-normalized{
  width:min(100%, 860px) !important;
  max-width:860px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  font-size:19px !important;
  line-height:1.72 !important;
  letter-spacing:-.003em !important;
}

body.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content).ndrop-normalized :is(p,ul,ol,blockquote,h2,h3,h4,h5,h6){
  box-sizing:border-box;
  max-width:72ch !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

body.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content).ndrop-normalized p{
  font:inherit !important;
  line-height:1.72 !important;
  margin-top:0 !important;
  margin-bottom:1.12em !important;
}

body.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content).ndrop-normalized :is(ul,ol){
  font:inherit !important;
  line-height:1.68 !important;
  margin-top:.2em !important;
  margin-bottom:1.2em !important;
  padding-left:1.35em !important;
}
body.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content).ndrop-normalized li{
  margin:.28em 0 !important;
  line-height:1.62 !important;
}

/* All article subheads share one H2 visual hierarchy. */
body.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content).ndrop-normalized :is(h2,h3,h4,h5,h6){
  font-family:var(--nd-serif,Georgia,'Times New Roman',serif) !important;
  font-size:clamp(26px,2.25vw,31px) !important;
  line-height:1.14 !important;
  font-weight:650 !important;
  letter-spacing:-.025em !important;
  margin-top:1.18em !important;
  margin-bottom:.46em !important;
  padding:0 !important;
  min-height:0 !important;
  height:auto !important;
  text-wrap:pretty;
}
body.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content).ndrop-normalized :is(p,ul,ol,blockquote,figure,table) + :is(h2,h3,h4,h5,h6){
  margin-top:1.24em !important;
}
body.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content).ndrop-normalized :is(h2,h3,h4,h5,h6) + :is(p,ul,ol){
  margin-top:0 !important;
}

/* Spacer blocks anywhere inside old content are forced to a small predictable gap. */
body.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content).ndrop-normalized .wp-block-spacer{
  display:block !important;
  height:14px !important;
  min-height:0 !important;
  max-height:14px !important;
  margin:0 !important;
  padding:0 !important;
}

/* Legacy Gutenberg layout wrappers must not create page-sized vertical holes. */
body.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content).ndrop-normalized :is(.wp-block-group,.wp-block-columns,.wp-block-column):not(.has-background):not(.wp-block-cover){
  min-height:0 !important;
  max-height:none !important;
  height:auto !important;
  margin-top:1.05em !important;
  margin-bottom:1.05em !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
  align-items:start !important;
}
body.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content).ndrop-normalized .wp-block-columns{
  gap:clamp(18px,3vw,32px) !important;
}

/* Separators become subtle article rhythm instead of large section breaks. */
body.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content).ndrop-normalized :is(hr,.wp-block-separator){
  height:1px !important;
  min-height:0 !important;
  margin:1.5em auto .72em !important;
  padding:0 !important;
  border:0 !important;
  border-top:1px solid rgba(55,47,42,.14) !important;
  max-width:72ch !important;
}
body.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content).ndrop-normalized :is(hr,.wp-block-separator) + :is(h2,h3,h4,h5,h6){
  margin-top:.5em !important;
}

/* JS marks detected legacy gaps with these classes. */
body.single-post .ndrop-normalized .ndrop-empty-block{
  display:none !important;
  height:0 !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
}
body.single-post .ndrop-normalized .ndrop-gap-clamped{
  min-height:0 !important;
  max-height:none !important;
  height:auto !important;
  margin-top:1.05em !important;
  margin-bottom:1.05em !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
}

/* Media stays visual and may be wider than text. */
body.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content).ndrop-normalized :is(figure,.wp-block-image,.wp-block-gallery){
  margin-top:1.6em !important;
  margin-bottom:1.6em !important;
}
body.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content).ndrop-normalized figcaption{
  font-size:13px !important;
  line-height:1.45 !important;
}

@media(max-width:760px){
  body.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content).ndrop-normalized{
    width:100% !important;
    max-width:100% !important;
    font-size:18px !important;
    line-height:1.68 !important;
  }
  body.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content).ndrop-normalized :is(p,ul,ol,blockquote,h2,h3,h4,h5,h6){
    max-width:100% !important;
  }
  body.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content).ndrop-normalized :is(h2,h3,h4,h5,h6){
    font-size:25px !important;
    margin-top:1.08em !important;
    margin-bottom:.42em !important;
  }
}


/* v1.5 — sentence-flow normalization for legacy line-broken prose */
body.single-post .ndrop-normalized p.ndrop-merged-sentence{
  margin-top:0 !important;
  margin-bottom:1.12em !important;
}
body.single-post .ndrop-normalized p.ndrop-merged-sentence > br{
  display:none !important;
}


/* v1.6 — server-normalized article rhythm */
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content){
  width:min(100%,860px) !important;
  max-width:860px !important;
  margin-inline:auto !important;
  font-size:19px !important;
  line-height:1.70 !important;
}
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) p{
  max-width:72ch !important;
  margin:0 auto 1.05em !important;
}
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) h2{
  max-width:100% !important;
  font-size:clamp(27px,2.2vw,32px) !important;
  line-height:1.15 !important;
  margin:1.42em 0 .58em !important;
  padding:0 !important;
}
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) h2:first-child{
  margin-top:.5em !important;
}
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) hr{
  margin:1.8em 0 !important;
}
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) :is(ul,ol){
  max-width:72ch !important;
  margin:0 auto 1.15em !important;
  line-height:1.65 !important;
}
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) li{
  margin:.3em 0 !important;
}
@media(max-width:760px){
  .single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content){
    width:100% !important;
    font-size:18px !important;
    line-height:1.66 !important;
  }
  .single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) h2{
    font-size:26px !important;
    margin:1.28em 0 .52em !important;
  }
}


/* v1.7 — one-column alignment: headings and body share the same reading axis */
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content).ndrop-normalized,
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content){
  width:min(100%,800px) !important;
  max-width:800px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content).ndrop-normalized :is(p,h2,h3,h4,h5,h6,ul,ol,blockquote,hr),
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) :is(p,h2,h3,h4,h5,h6,ul,ol,blockquote,hr){
  width:100% !important;
  max-width:100% !important;
  margin-left:0 !important;
  margin-right:0 !important;
  box-sizing:border-box;
}

.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content).ndrop-normalized h2,
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) h2{
  text-align:left !important;
  padding-left:0 !important;
  padding-right:0 !important;
}

.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content).ndrop-normalized :is(figure,table,pre,.wp-block-verse,.wp-block-code){
  margin-left:auto !important;
  margin-right:auto !important;
}

@media(max-width:860px){
  .single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content).ndrop-normalized,
  .single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content){
    width:100% !important;
    max-width:100% !important;
  }
}


/* v1.8 — article image orientation standard */
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) .ndrop-image-box{
  display:flex !important;
  align-items:center;
  justify-content:center;
  margin:2.1em auto !important;
  padding:0;
  overflow:hidden;
  background:#f3eee7;
  border-radius:16px;
  box-sizing:border-box;
}

.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) .ndrop-image-box img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  margin:0 auto !important;
  border-radius:0 !important;
}

/* Horizontal visual: one fixed editorial frame */
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) .ndrop-landscape{
  width:min(100%,800px) !important;
  aspect-ratio:16 / 9 !important;
}

/* Vertical visual: narrower, consistent portrait frame */
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) .ndrop-portrait{
  width:min(100%,520px) !important;
  aspect-ratio:3 / 4 !important;
}

/* Near-square visuals */
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) .ndrop-square{
  width:min(100%,620px) !important;
  aspect-ratio:1 / 1 !important;
}

/* Old linked images wrapped in p/a should not create extra gaps */
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) p.ndrop-image-box,
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) figure.ndrop-image-box{
  max-width:none !important;
}

.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) .ndrop-image-box + figcaption,
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) .ndrop-image-box figcaption{
  width:100%;
  margin:10px auto 0;
  text-align:center;
}

/* Preserve tiny icons, emoji, badges and author/interface images */
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) img.emoji,
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) img.wp-smiley,
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) img.avatar,
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) img[class*="icon"]{
  width:auto !important;
  height:auto !important;
  max-width:100% !important;
  object-fit:initial !important;
  background:transparent !important;
}

@media(max-width:760px){
  .single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) .ndrop-image-box{
    margin:1.65em auto !important;
    border-radius:13px;
  }
  .single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) .ndrop-landscape{
    width:100% !important;
    aspect-ratio:16 / 9 !important;
  }
  .single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) .ndrop-portrait{
    width:min(86vw,460px) !important;
    aspect-ratio:3 / 4 !important;
  }
  .single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content) .ndrop-square{
    width:min(92vw,560px) !important;
  }
}


/* v1.9 — server-classified article images: reliable across legacy posts */
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content) img.ndrop-article-image{
  display:block !important;
  height:auto !important;
  object-fit:contain !important;
  object-position:center center !important;
  margin:2em auto !important;
  border-radius:14px !important;
  box-sizing:border-box !important;
  background:#f3eee7;
}

/* One visual size for all horizontal images. Original ratio is preserved. */
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content) img.ndrop-image-landscape{
  width:100% !important;
  max-width:800px !important;
  max-height:560px !important;
}

/* One visual size for all vertical images. */
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content) img.ndrop-image-portrait{
  width:auto !important;
  max-width:min(100%,520px) !important;
  max-height:700px !important;
}

/* Near-square images use an intermediate size. */
.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content) img.ndrop-image-square{
  width:auto !important;
  max-width:min(100%,620px) !important;
  max-height:620px !important;
}

.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content) a.ndrop-article-image-link{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  text-decoration:none !important;
}

.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content) p.ndrop-article-image-paragraph{
  width:100% !important;
  max-width:100% !important;
  margin:2em 0 !important;
  padding:0 !important;
  text-align:center !important;
}

/* The image itself owns the vertical rhythm; prevent doubled margins in image-only p. */
.single-post p.ndrop-article-image-paragraph img.ndrop-article-image{
  margin-top:0 !important;
  margin-bottom:0 !important;
}

@media(max-width:760px){
  .single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content) img.ndrop-image-landscape{
    width:100% !important;
    max-width:100% !important;
    max-height:none !important;
  }
  .single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content) img.ndrop-image-portrait{
    width:auto !important;
    max-width:min(86vw,460px) !important;
    max-height:640px !important;
  }
  .single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content) img.ndrop-image-square{
    width:auto !important;
    max-width:min(92vw,560px) !important;
  }
}


/* v2.1 — definitive single reading axis: headings, paragraphs and legacy wrappers align */
body.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content).ndrop-normalized{
  width:min(calc(100% - 32px),800px)!important;
  max-width:800px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:0!important;
  padding-right:0!important;
}
body.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content).ndrop-normalized .ndrop-reading-wrapper{
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
  transform:none!important;
  float:none!important;
  box-sizing:border-box!important;
}
body.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content).ndrop-normalized .ndrop-reading-column{
  display:block!important;
  flex:none!important;
  flex-basis:auto!important;
  width:100%!important;
}
body.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content).ndrop-normalized :is(p,h2,h3,h4,h5,h6,ul,ol,blockquote,hr){
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
  text-indent:0!important;
  box-sizing:border-box!important;
}
body.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content).ndrop-normalized :is(ul,ol){padding-left:1.25em!important}
body.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content).ndrop-normalized h2{
  font-size:clamp(28px,3vw,32px)!important;
  line-height:1.14!important;
  margin:1.45em 0 .55em!important;
  text-align:left!important;
}
@media(max-width:860px){
  body.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content).ndrop-normalized{width:calc(100% - 28px)!important;max-width:none!important}
  body.single-post :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content).ndrop-normalized h2{font-size:26px!important}
}


/* v2.2 — thesis is intentionally exempt from the global 800px article engine.
   The theme supplies its own wide academic layout. These overrides neutralize
   the generic rules loaded earlier in this same stylesheet. */
body.single-post.nd-thesis-special :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content).nd-thesis-entry{
  width:min(1320px,calc(100% - 40px))!important;
  max-width:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body.single-post.nd-thesis-special .nd-thesis-entry :is(p,h2,h3,h4,h5,h6,ul,ol,blockquote,hr,figure,table,.wp-block-group,.wp-block-columns,.wp-block-column){
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  margin-left:initial;
  margin-right:initial;
}
body.single-post.nd-thesis-special .nd-thesis-entry .wp-block-columns{
  display:flex!important;
  max-width:none!important;
  width:100%!important;
}
body.single-post.nd-thesis-special .nd-thesis-entry .wp-block-column{
  max-width:none!important;
  min-width:0!important;
}
body.single-post.nd-thesis-special .nd-thesis-entry table{
  display:table!important;
  width:100%!important;
  max-width:100%!important;
  overflow:visible!important;
}
@media(max-width:1050px){
  body.single-post.nd-thesis-special :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content).nd-thesis-entry{
    width:min(940px,calc(100% - 32px))!important;
  }
}
@media(max-width:650px){
  body.single-post.nd-thesis-special :is(.nd-v3-entry-content,.nd-entry-content,.entry-content,.wp-block-post-content).nd-thesis-entry{
    width:calc(100% - 24px)!important;
  }
}
