/* C304 - Mobile Explorer Partner card scroll reachability.
   Presentation-only correction for the canonical public Partner card.
   Fixed footer stays untouched; preserve map, card and membership workflows. */
@media (max-width: 760px) {
  .explorer-shell #detailCard.unified-partner-detail-022b:not([hidden]) {
    top: calc(84px + env(safe-area-inset-top, 0px)) !important;
    bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    scroll-padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  }

  /* Give the final Explore More buttons a real scrollable trailing area.
     On iOS the fixed four-destination rail otherwise wins the last touch
     region and leaves the Partner footer inaccessible at max scroll. */
  .explorer-shell #detailCard.unified-partner-detail-022b:not([hidden]) > #detailBody {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .explorer-shell #detailCard.unified-partner-detail-022b:not([hidden]) [data-partner-explore-more] {
    scroll-margin-bottom: calc(104px + env(safe-area-inset-bottom, 0px));
  }
}
