/* Bound a sidebar to its own content run, never the entire document. */
@media(min-width:1025px){
  body :is(.kt-home-persistent-layout>.kt-home-persistent-sidebar,.kt-home-editorial-shell.has-home-sidebar>.kt-sidebar,.kt-with-sidebar>.kt-sidebar).kt-rail-managed{box-sizing:border-box!important;align-self:start!important;min-height:0!important;max-height:var(--kt-rail-limit,none)!important;position:static!important;top:auto!important;overflow:visible!important;align-content:start!important;grid-auto-rows:max-content!important}
  body :is(.kt-home-persistent-layout>.kt-home-persistent-sidebar,.kt-home-editorial-shell.has-home-sidebar>.kt-sidebar,.kt-with-sidebar>.kt-sidebar).kt-rail-managed>*{flex-shrink:0!important;min-width:0}
  body :is(.kt-home-persistent-layout>.kt-home-persistent-sidebar,.kt-home-editorial-shell.has-home-sidebar>.kt-sidebar,.kt-with-sidebar>.kt-sidebar).kt-rail-managed.kt-rail-scroll{overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:thin;scrollbar-color:var(--kt-muted,#64748b) transparent;overscroll-behavior-y:contain}
  body :is(.kt-home-persistent-layout>.kt-home-persistent-sidebar,.kt-home-editorial-shell.has-home-sidebar>.kt-sidebar,.kt-with-sidebar>.kt-sidebar).kt-rail-managed.kt-rail-sticky{position:sticky!important;top:var(--kt-rail-top,88px)!important}
  body :is(.kt-home-persistent-layout>.kt-home-persistent-sidebar,.kt-home-editorial-shell.has-home-sidebar>.kt-sidebar,.kt-with-sidebar>.kt-sidebar).kt-rail-managed.kt-rail-measuring{max-height:none!important;overflow:visible!important;position:static!important;top:auto!important}
  body .kt-rail-content{align-self:start!important;min-height:0!important}
  /* Native AMP cannot run measurement JS. Size containment prevents the rail
     from expanding its grid row; overflow remains accessible without scripts. */
  html[amp] body .kt-home-persistent-layout{display:grid;gap:var(--kt-layout-gap,24px);align-items:start;direction:rtl;min-width:0}
  html[amp] body .kt-home-persistent-layout.kt-home-sidebar-right{grid-template-columns:minmax(0,var(--kt-sidebar-width,315px)) minmax(0,1fr)}
  html[amp] body .kt-home-persistent-layout.kt-home-sidebar-left{grid-template-columns:minmax(0,1fr) minmax(0,var(--kt-sidebar-width,315px))}
  html[amp] body .kt-home-persistent-layout.kt-home-sidebar-right>.kt-home-persistent-sidebar,html[amp] body .kt-home-persistent-layout.kt-home-sidebar-left>.kt-home-persistent-main{grid-column:1;grid-row:1}
  html[amp] body .kt-home-persistent-layout.kt-home-sidebar-left>.kt-home-persistent-sidebar,html[amp] body .kt-home-persistent-layout.kt-home-sidebar-right>.kt-home-persistent-main{grid-column:2;grid-row:1}
  html[amp] body .kt-home-persistent-layout>.kt-home-persistent-sidebar.kt-sidebar,
  html[amp] body .kt-home-editorial-shell.has-home-sidebar>.kt-sidebar,
  html[amp] body:not(.archive):not(.blog):not(.search) .kt-with-sidebar>.kt-sidebar{contain:size;align-self:stretch!important;min-height:0!important;max-height:none!important;position:static!important;top:auto!important;overflow-y:auto!important;overflow-x:hidden!important;align-content:start!important;grid-auto-rows:max-content;scrollbar-width:thin;overscroll-behavior-y:contain}
  html[amp] body .kt-home-persistent-sidebar>*{flex-shrink:0}
}
