/* ALLHIR Round71 / 2.39.40
 * Runtime-normalized editorial media and enforced Community typography.
 */

:root{
  --ah-community-font:ui-rounded,"SF Pro Rounded","Avenir Next Rounded","Avenir Next","Trebuchet MS",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

/* High-specificity text selectors close the remaining legacy !important rules. */
html body:not(#allhir-never),
html body:not(#allhir-never) .site-header,
html body:not(#allhir-never) main,
html body:not(#allhir-never) .site-footer,
html body:not(#allhir-never) .sidebar-menu,
html body:not(#allhir-never) .allhir-account-dropdown{
  font-family:var(--ah-community-font)!important;
}
html body:not(#allhir-never) .site-header :is(a,button,input,select,span,small,strong,b),
html body:not(#allhir-never) main :is(h1,h2,h3,h4,h5,h6,p,a,button,input,textarea,select,option,label,legend,summary,dt,dd,li,span,small,strong,b,time),
html body:not(#allhir-never) .site-footer :is(a,button,input,select,span,small,strong,b,p,li),
html body:not(#allhir-never) .sidebar-menu :is(a,button,span,small,strong,b),
html body:not(#allhir-never) .allhir-account-dropdown :is(a,button,span,small,strong,b){
  font-family:var(--ah-community-font)!important;
  font-stretch:normal!important;
}
html body:not(#allhir-never) main :is(h1,h2,h3,h4,h5,h6,[class*="__title"],[class*="__heading"]){
  font-weight:800!important;
  letter-spacing:-.025em!important;
}
html body:not(#allhir-never) main h1{font-weight:850!important}
html body:not(#allhir-never) main :is(p,li,dd){
  font-weight:500!important;
  letter-spacing:0!important;
}

/* JS marks the real outer media wrapper, regardless of editor/plugin markup. */
html body:not(#allhir-never) main .allhir-single-post__text .allhir-blog-media-row{
  position:static!important;
  display:block!important;
  float:none!important;
  clear:both!important;
  box-sizing:border-box!important;
  width:100%!important;
  max-width:720px!important;
  min-width:0!important;
  height:auto!important;
  margin:clamp(24px,4vw,38px) auto!important;
  inset:auto!important;
  columns:auto!important;
  column-count:auto!important;
  grid-template-columns:none!important;
  grid-template-areas:none!important;
  transform:none!important;
  text-align:center!important;
}
html body:not(#allhir-never) main .allhir-single-post__text .allhir-blog-media-row :is(div,p,figure,a,picture){
  position:static!important;
  display:block!important;
  float:none!important;
  clear:both!important;
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:auto!important;
  margin:0 auto!important;
  inset:auto!important;
  columns:auto!important;
  column-count:auto!important;
  grid-template-columns:none!important;
  grid-template-areas:none!important;
  transform:none!important;
}
html body:not(#allhir-never) main .allhir-single-post__text .allhir-blog-media-row img{
  position:static!important;
  display:block!important;
  float:none!important;
  clear:both!important;
  box-sizing:border-box!important;
  width:100%!important;
  max-width:720px!important;
  min-width:0!important;
  height:auto!important;
  margin:0 auto!important;
  inset:auto!important;
  transform:none!important;
  object-fit:contain!important;
}
html body:not(#allhir-never) main .allhir-single-post__text .allhir-blog-media-row img + img,
html body:not(#allhir-never) main .allhir-single-post__text .allhir-blog-media-row picture + picture,
html body:not(#allhir-never) main .allhir-single-post__text .allhir-blog-media-row a + a{
  margin-top:16px!important;
}

@media(max-width:760px){
  html body:not(#allhir-never) main .allhir-single-post__text .allhir-blog-media-row,
  html body:not(#allhir-never) main .allhir-single-post__text .allhir-blog-media-row img{
    max-width:100%!important;
  }
}
