/* Gutenberg article body alignment + sticky share rail */
body.single-post .tor-article--gutenberg .tor-gutenberg-body{
  --tor-share-offset:clamp(0px,calc((100vw - 1160px) / 2 - 12px),58px);
  width:calc(100% + var(--tor-share-offset))!important;
  max-width:none!important;
  margin-left:calc(-1 * var(--tor-share-offset))!important;
  margin-right:0!important;
  padding:0 0 78px!important;
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr)!important;
  column-gap:14px!important;
  align-items:stretch!important;
  position:relative!important;
}

body.single-post .tor-article--gutenberg .tor-gutenberg-content{
  grid-column:2!important;
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  float:none!important;
  justify-self:stretch!important;
  text-align:left!important;
  font-size:1.04rem;
  line-height:1.9;
}

body.single-post .tor-article--gutenberg .tor-gutenberg-content > *{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
  transform:none!important;
  float:none!important;
  justify-self:stretch!important;
  text-align:left!important;
}

body.single-post .tor-article--gutenberg .tor-gutenberg-content > .wp-block-heading,
body.single-post .tor-article--gutenberg .tor-gutenberg-content > .wp-block-paragraph,
body.single-post .tor-article--gutenberg .tor-gutenberg-content > .wp-block-image,
body.single-post .tor-article--gutenberg .tor-gutenberg-content > .wp-block-list,
body.single-post .tor-article--gutenberg .tor-gutenberg-content > .wp-block-table,
body.single-post .tor-article--gutenberg .tor-gutenberg-content > .wp-block-quote{
  margin-inline:0!important;
  padding-inline:0!important;
  max-width:none!important;
  width:100%!important;
}

body.single-post .tor-article--gutenberg .tor-gutenberg-content > h2,
body.single-post .tor-article--gutenberg .tor-gutenberg-content > h3,
body.single-post .tor-article--gutenberg .tor-gutenberg-content > h4{
  line-height:1.15;
  letter-spacing:-.025em;
  font-weight:820;
  scroll-margin-top:130px;
  overflow-wrap:anywhere;
}

body.single-post .tor-article--gutenberg .tor-gutenberg-content > h2{
  margin-top:0!important;
  margin-bottom:.72em!important;
  font-size:clamp(1.8rem,3vw,2.35rem);
}

body.single-post .tor-article--gutenberg .tor-gutenberg-content > h2 ~ h2{
  margin-top:2.15em!important;
}

body.single-post .tor-article--gutenberg .tor-gutenberg-content > h3,
body.single-post .tor-article--gutenberg .tor-gutenberg-content > h4{
  margin-top:2.15em!important;
  margin-bottom:.72em!important;
}

body.single-post .tor-article--gutenberg .tor-gutenberg-content > p{
  margin-top:0!important;
  margin-bottom:1.55em!important;
}

body.single-post .tor-article--gutenberg .tor-gutenberg-content > p:first-of-type{
  font-size:1.14rem;
  line-height:1.78;
  color:#34383c;
}

body.single-post .tor-article--gutenberg .tor-gutenberg-content > ul,
body.single-post .tor-article--gutenberg .tor-gutenberg-content > ol{
  margin-top:0!important;
  margin-bottom:1.65em!important;
  padding-left:1.25em!important;
}

body.single-post .tor-article--gutenberg .tor-gutenberg-content > figure,
body.single-post .tor-article--gutenberg .tor-gutenberg-content > blockquote,
body.single-post .tor-article--gutenberg .tor-gutenberg-content > table,
body.single-post .tor-article--gutenberg .tor-gutenberg-content > pre,
body.single-post .tor-article--gutenberg .tor-gutenberg-content > hr{
  width:100%!important;
}

body.single-post .tor-article--gutenberg .tor-gutenberg-content figure img{
  display:block;
  max-width:100%;
  height:auto;
}

/* Zero-width grid rail keeps the icons outside the text axis without pushing content. */
body.single-post .tor-article--gutenberg .tor-gutenberg-body .tor-article-rail{
  grid-column:1!important;
  position:relative!important;
  left:auto!important;
  top:auto!important;
  width:0!important;
  min-width:0!important;
  align-self:stretch!important;
  overflow:visible!important;
  z-index:6!important;
}

/* Sticky child now uses the full article height as its scroll area. */
body.single-post .tor-article--gutenberg .tor-gutenberg-body .tor-article-sticky{
  position:sticky!important;
  top:112px!important;
  width:44px!important;
  margin-left:0!important;
  margin-right:0!important;
}

html[data-bs-theme="dark"] body.single-post .tor-article--gutenberg .tor-gutenberg-content > p:first-of-type{
  color:#e7e8e9;
}

@media(max-width:1280px){
  body.single-post .tor-article--gutenberg .tor-gutenberg-body .tor-article-rail{display:none!important}
}

@media(max-width:760px){
  body.single-post .tor-article--gutenberg .tor-gutenberg-body{
    padding-bottom:54px!important;
    display:block!important;
  }
  body.single-post .tor-article--gutenberg .tor-gutenberg-content{
    font-size:1rem;
    line-height:1.82;
  }
  body.single-post .tor-article--gutenberg .tor-gutenberg-content > h2{
    font-size:1.72rem;
  }
  body.single-post .tor-article--gutenberg .tor-gutenberg-content > p:first-of-type{
    font-size:1.07rem;
  }
}
