/* IASCL V46.335 — wide-screen homepage panel sizing repair.
   V46.334 only corrected narrow-screen sizing. The base stylesheet still applies
   the V46.98 equal-height rule (align-items:stretch + height:100%) to the public
   homepage panels. On a wide-screen PC this makes short panels expand to the
   height of the tallest panel, creating the large blank areas visible in QA.
   This override restores intrinsic panel heights at every viewport while keeping
   the #events navigation anchor available but outside layout participation. */

.iascl-home #membership-home.content-grid{
  align-items:start !important;
  grid-auto-rows:auto !important;
}

.iascl-home #membership-home.content-grid > .panel,
.iascl-home #membership-home.content-grid > #guidelines-library,
.iascl-home #membership-home.content-grid > #advances,
.iascl-home #membership-home.content-grid > #events,
.iascl-home #membership-home.content-grid > #news{
  height:auto !important;
  min-height:0 !important;
  align-self:start !important;
  box-sizing:border-box;
}

/* Preserve #events as a navigation target without making it a grid item. */
.iascl-home #membership-home.content-grid > .home-anchor-proxy{
  position:absolute !important;
  inset-inline-start:0 !important;
  inset-block-start:0 !important;
  width:1px !important;
  height:1px !important;
  min-width:0 !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  overflow:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}

.iascl-home #membership-home.content-grid > #advances .list,
.iascl-home #membership-home.content-grid > #news .list,
.iascl-home #membership-home.content-grid > #events .list{
  height:auto !important;
  min-height:0 !important;
}

.iascl-home #membership-home.content-grid > #advances .list-item,
.iascl-home #membership-home.content-grid > #news .list-item,
.iascl-home #membership-home.content-grid > #events .list-item{
  height:auto !important;
  min-height:0 !important;
  flex:0 0 auto !important;
}

.iascl-home #membership-home .panel-head,
.iascl-home #membership-home .list,
.iascl-home #membership-home .home-feature-copy{
  min-width:0;
}
