/* 1.4.8: one typography/layout owner for ordinary posts, including SSEO.
   Loaded only on singular posts. Pages, home and standalone LPs are excluded.
   906px card - 2px border - 104px padding = 800px reading column. */
body.kdr-active.single-post:not(.home){
  --kdr-article-font-size:18px;
  --kdr-article-line-height:1.9;
  --kdr-article-card:906px;
  --kdr-article-gutter:32px;
  --kdr-article-padding:52px;
}
html body.kdr-active.single-post:not(.home) .keni-main_outer{
  width:calc(100% - var(--kdr-article-gutter) * 2)!important;
  max-width:var(--kdr-article-card)!important;
  margin-inline:auto!important;
}
html body.kdr-active.single-post:not(.home) .keni-main .keni-section_wrap:has(.article-body)>.keni-section{
  padding:var(--kdr-article-padding)!important;
}
html body.kdr-active.single-post:not(.home) .keni-main .article-body{
  box-sizing:border-box;
  width:100%;
  max-width:800px;
  min-width:0;
  margin-inline:auto;
  font-size:var(--kdr-article-font-size)!important;
  line-height:var(--kdr-article-line-height)!important;
  overflow-wrap:anywhere;
}
/* The SSEO wrapper must inherit the template, not reset text to 16px.
   Remove nested reading-column padding so phone gutters do not accumulate. */
html body.kdr-active.single-post:not(.home) .keni-main .article-body :is(.sseo-article,.sseo-readable,.entry-content){
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin-inline:0!important;
  padding-inline:0!important;
  font-size:var(--kdr-article-font-size)!important;
  line-height:var(--kdr-article-line-height)!important;
}
html body.kdr-active.single-post:not(.home) .keni-main .article-body :where(p,ul,ol,li,td,th):not(:where(.kdr-toc *,.ez-toc-container *,#toc_container *,.keni-toc *,nav *)){
  font-size:inherit!important;
  line-height:inherit!important;
}
html body.kdr-active.single-post:not(.home) .keni-main .article-body :is(figure,picture){
  max-width:100%;
  min-width:0;
}
html body.kdr-active.single-post:not(.home) .keni-main .article-body :is(img,video):not(.kdr-heading-avatar){
  max-width:100%!important;
  height:auto;
}
html body.kdr-active.single-post:not(.home) .keni-main .article-body iframe{max-width:100%}
html body.kdr-active.single-post:not(.home) .keni-main .article-body table{
  display:block;
  max-width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
@media(max-width:720px){
  body.kdr-active.single-post:not(.home){
    --kdr-article-font-size:17px;
    --kdr-article-line-height:1.85;
    --kdr-article-gutter:0px;
    --kdr-article-padding:16px;
  }
  html body.kdr-active.single-post:not(.home) .keni-main .keni-section_wrap:has(.article-body){
    border-inline:0!important;
    border-radius:0!important;
  }
}
