/* Single-column home posts feed. Kept in a separate asset so older PWA caches
   cannot substitute the former horizontal carousel stylesheet. */
.social-posts-home .social-posts-viewport {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scroll-snap-type: y proximity !important;
  overscroll-behavior-x: none !important;
  overscroll-behavior-y: auto !important;
  touch-action: pan-y pinch-zoom !important;
  -webkit-overflow-scrolling: touch;
}

.social-posts-home .social-posts-rail {
  height: auto !important;
  min-height: 100% !important;
  display: grid !important;
  grid-template-columns: minmax(0, 680px) !important;
  grid-auto-flow: row !important;
  grid-auto-columns: auto !important;
  justify-content: center !important;
  align-items: stretch !important;
}

.social-posts-home .social-posts-card {
  width: 100% !important;
  max-width: 680px !important;
  min-width: 0 !important;
  height: calc(min(690px, 72vh) - 2rem) !important;
  min-height: 508px !important;
  scroll-snap-align: start !important;
}

@media (max-width: 760px) {
  .social-posts-home .social-posts-rail {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .social-posts-home .social-posts-card {
    max-width: none !important;
    height: calc(min(650px, 72dvh) - 1rem) !important;
    min-height: 510px !important;
  }
}
