/* Theo Properties RC1.0.15.95
   Mobile Premium Spacing Rhythm Lock
   Scope: phones only (<=700px).
   Purpose: reduce excessive vertical whitespace and normalize premium gutters/padding
   without changing layout structure, typography, card disclosure, tablet, laptop or desktop. */

@media (max-width:700px){
  /* Keep a consistent 10–14px outer rhythm across the public marketplace. */
  body.theo-app #explore .premium-marketplace-hero,
  body.guest-mode #explore .premium-marketplace-hero{
    margin-top:8px!important;
  }

  body.theo-app #explore .marketplace-hero-copy,
  body.guest-mode #explore .marketplace-hero-copy{
    padding:20px 14px 14px!important;
  }

  body.theo-app #explore .marketplace-hero-copy>.hero-lead,
  body.guest-mode #explore .marketplace-hero-copy>.hero-lead{
    margin-top:9px!important;
    margin-bottom:14px!important;
  }

  body.theo-app #explore .hero-support,
  body.guest-mode #explore .hero-support{
    margin-top:10px!important;
    padding-top:10px!important;
  }

  /* Property-class section: keep clear separation, remove oversized empty bands. */
  body.theo-app #explore .marketplace-category-showcase,
  body.guest-mode #explore .marketplace-category-showcase{
    margin-top:0!important;
    margin-bottom:0!important;
    padding:22px 12px 22px!important;
  }

  body.theo-app #explore .category-showcase-head,
  body.guest-mode #explore .category-showcase-head{
    margin-bottom:14px!important;
    padding-bottom:12px!important;
  }

  body.theo-app #explore .category-showcase-grid > .category-showcase-card,
  body.theo-app #explore .category-showcase-grid > .premium-category-card,
  body.guest-mode #explore .category-showcase-grid > .category-showcase-card,
  body.guest-mode #explore .category-showcase-grid > .premium-category-card{
    margin-bottom:12px!important;
  }

  /* Decorative separators stay present but no longer create large vertical voids. */
  body.theo-app #explore .theo-section-break,
  body.theo-app #explore .theo-section-break-wide,
  body.guest-mode #explore .theo-section-break,
  body.guest-mode #explore .theo-section-break-wide{
    width:calc(100% - 24px)!important;
    margin:12px auto 10px!important;
  }

  /* Featured listings: tighter heading-to-card and section-to-section rhythm. */
  body.theo-app #explore .theo-featured-marketplace,
  body.guest-mode #explore .theo-featured-marketplace{
    margin:16px 0 22px!important;
    padding-left:12px!important;
    padding-right:12px!important;
  }

  body.theo-app #explore .theo-featured-head,
  body.guest-mode #explore .theo-featured-head{
    gap:10px!important;
    margin-bottom:14px!important;
  }

  body.theo-app #explore .theo-featured-grid > .premium-property-card,
  body.guest-mode #explore .theo-featured-grid > .premium-property-card{
    margin-bottom:12px!important;
  }

  /* Shared progressive-disclosure button spacing. */
  body.theo-app #explore .mobile-card-disclosure-1593,
  body.guest-mode #explore .mobile-card-disclosure-1593{
    margin:2px 0 16px!important;
  }

  /* Explore Rentals: reduce large top/bottom bands while keeping touch-safe controls. */
  body.theo-app #explore #available-properties.marketplace-results,
  body.guest-mode #explore #available-properties.marketplace-results{
    margin-top:0!important;
    margin-bottom:0!important;
    padding:18px 12px 24px!important;
  }

  body.theo-app #explore #available-properties .marketplace-results-head,
  body.guest-mode #explore #available-properties .marketplace-results-head{
    gap:9px!important;
    margin-bottom:11px!important;
    padding-bottom:10px!important;
  }

  body.theo-app #explore #available-properties .marketplace-results-actions,
  body.guest-mode #explore #available-properties .marketplace-results-actions{
    gap:8px!important;
  }

  body.theo-app #explore #property-grid.property-grid > .premium-property-card,
  body.guest-mode #explore #property-grid.property-grid > .premium-property-card,
  body.theo-app #explore .marketplace-results .property-grid > .premium-property-card,
  body.guest-mode #explore .marketplace-results .property-grid > .premium-property-card{
    margin-bottom:12px!important;
  }

  /* Connected Journey: same information, less container/intro dead space. */
  body.theo-app #explore .how-theo-works.how-theo-works-v2,
  body.guest-mode #explore .how-theo-works.how-theo-works-v2{
    margin:6px 10px 22px!important;
    padding:18px 14px 14px!important;
  }

  body.theo-app #explore .how-theo-works-v2 .journey-intro,
  body.guest-mode #explore .how-theo-works-v2 .journey-intro{
    gap:6px!important;
    padding-bottom:14px!important;
  }

  body.theo-app #explore .journey-stage-card,
  body.guest-mode #explore .journey-stage-card{
    margin-top:12px!important;
  }

  body.theo-app #explore .journey-stage-steps li,
  body.guest-mode #explore .journey-stage-steps li{
    padding-top:12px!important;
    padding-bottom:13px!important;
  }

  /* Pay for Value: keep the premium panel but reduce unused perimeter space. */
  body.theo-app #explore .commercial-pricing-section,
  body.guest-mode #explore .commercial-pricing-section{
    margin:14px 10px 8px!important;
    padding:22px 14px 20px!important;
  }

  body.theo-app #explore .commercial-pricing-head,
  body.guest-mode #explore .commercial-pricing-head{
    margin-bottom:16px!important;
  }

  body.theo-app #explore .commercial-pricing-grid > .commercial-price-card,
  body.guest-mode #explore .commercial-pricing-grid > .commercial-price-card{
    margin-bottom:12px!important;
  }

  body.theo-app #explore .commercial-management-strip,
  body.guest-mode #explore .commercial-management-strip{
    margin-top:10px!important;
    padding:14px!important;
    gap:11px!important;
  }

  /* Owner CTA: preserve touch targets, reduce the oversized closing gap. */
  body.theo-app #explore .marketplace-owner-cta,
  body.guest-mode #explore .marketplace-owner-cta{
    margin:8px 10px 26px!important;
    padding:18px 16px!important;
    gap:14px!important;
  }
}
