/* Independent information column on desktop and tablets.
   The full-width dialog keeps the existing image scrolling/lazy-load surface. */
body.single-hp_pattern .hp-pattern-reader.hp-reader-desktop.hp-reader-split-scroll:not(.hp-reader-document-zoom){
  --hp-reader-column-height:max(1px,calc(var(--hp-reader-viewport-height,100dvh) - var(--hp-reader-peek,47px) - var(--hp-vf-sticky-space,0px)));
}
body.single-hp_pattern .hp-pattern-reader.hp-reader-desktop.hp-reader-split-scroll:not(.hp-reader-document-zoom) .hp-pattern-reader__layout{
  display:grid!important;flex-direction:initial!important;align-items:start!important;
}
body.single-hp_pattern .hp-pattern-reader.hp-reader-desktop.hp-reader-split-scroll:not(.hp-reader-document-zoom) .hp-pattern-reader__content{
  order:initial!important;min-width:0!important;overflow:visible!important;
}
body.single-hp_pattern .hp-pattern-reader.hp-reader-desktop.hp-reader-split-scroll:not(.hp-reader-document-zoom) .hp-pattern-reader__sidebar[data-pattern-reader-sidebar-slot]{
  position:sticky!important;top:0!important;align-self:start!important;order:initial!important;
  box-sizing:border-box!important;width:100%!important;min-width:0!important;min-height:0!important;
  height:var(--hp-reader-column-height)!important;max-height:var(--hp-reader-column-height)!important;
  overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-y:auto!important;
  scrollbar-width:none!important;scrollbar-gutter:auto!important;
  -webkit-overflow-scrolling:touch;touch-action:auto!important;
}
body.single-hp_pattern .hp-pattern-reader.hp-reader-desktop.hp-reader-split-scroll:not(.hp-reader-document-zoom) .hp-pattern-reader__sidebar[data-pattern-reader-sidebar-slot]>.article-sidebar{
  position:static!important;top:auto!important;display:flex!important;flex-direction:column!important;
  box-sizing:border-box!important;height:auto!important;min-height:0!important;max-height:none!important;
  overflow:visible!important;
}
body.single-hp_pattern .hp-pattern-reader.hp-reader-desktop.hp-reader-split-scroll:not(.hp-reader-document-zoom) .hp-pattern-reader__sidebar [data-description-ads]:not([hidden]){
  height:auto!important;min-height:0!important;max-height:none!important;flex:0 0 auto!important;margin-bottom:0!important;
}
.hp-reader-split-scroll .hp-pattern-reader__sidebar[data-pattern-reader-sidebar-slot]::-webkit-scrollbar{display:none;width:0;height:0}
/* Important layered rules beat the legacy :has(filled-ad) height limits.
   The sidebar slot is the sole information scrollport, for both networks. */
@layer hpLayoutRepairs {
  body.single-hp_pattern .hp-pattern-reader.hp-reader-desktop.hp-reader-split-scroll:not(.hp-reader-document-zoom) .hp-pattern-reader__sidebar[data-pattern-reader-sidebar-slot]>.article-sidebar{
    position:static!important;top:auto!important;height:auto!important;min-height:0!important;max-height:none!important;
    overflow:visible!important;flex:0 0 auto!important;
  }
  body.single-hp_pattern .hp-pattern-reader.hp-reader-desktop.hp-reader-split-scroll:not(.hp-reader-document-zoom) .hp-pattern-reader__sidebar [data-description-ads]:not([hidden]){
    height:auto!important;min-height:0!important;max-height:none!important;flex:0 0 auto!important;
    overflow:visible!important;contain:layout!important;scrollbar-width:none!important;scrollbar-gutter:auto!important;
  }
  body.single-hp_pattern .hp-pattern-reader.hp-reader-desktop.hp-reader-split-scroll:not(.hp-reader-document-zoom) .hp-pattern-reader__sidebar[data-hp-reader-sidebar-scrollable]{overscroll-behavior-y:contain!important}
}
