/* Theo Properties RC1.0.15.99
   Laptop / MacBook Premium Spacing & Heading Fit Lock
   Scope: 1181px–1799px only.
   Purpose: refine whitespace and heading rhythm while preserving RC1.0.15.91
   parent-width containment, 3-card grids, View-all behaviour, and all other devices. */

@media (min-width:1181px) and (max-width:1799px){
  /* Category showcase: premium but compact vertical rhythm. */
  body.theo-app #explore .marketplace-category-showcase,
  body.guest-mode #explore .marketplace-category-showcase{
    margin-top:0!important;
    margin-bottom:0!important;
    padding-top:28px!important;
    padding-bottom:28px!important;
  }

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

  /* Decorative separators should divide sections, not create empty bands. */
  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{
    margin-top:18px!important;
    margin-bottom:18px!important;
  }

  /* Featured inventory. */
  body.theo-app #explore .theo-featured-marketplace,
  body.guest-mode #explore .theo-featured-marketplace{
    margin-top:24px!important;
    margin-bottom:30px!important;
  }

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

  /* Explore Rentals: retain the 15.91 three-column grid; only refine perimeter spacing. */
  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-top:24px!important;
    padding-bottom:30px!important;
  }

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

  body.theo-app #explore #available-properties .marketplace-results-description,
  body.guest-mode #explore #available-properties .marketplace-results-description{
    margin-top:0!important;
    margin-bottom:18px!important;
  }

  /* Connected Journey: reduce excess perimeter while preserving its desktop row structure. */
  body.theo-app #explore .how-theo-works.how-theo-works-v2,
  body.guest-mode #explore .how-theo-works.how-theo-works-v2{
    margin-top:20px!important;
    margin-bottom:30px!important;
    padding-top:24px!important;
    padding-bottom:22px!important;
  }

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

  /* Commercial pricing and owner CTA: compact section rhythm only. */
  body.theo-app #explore .commercial-pricing-section,
  body.guest-mode #explore .commercial-pricing-section{
    margin-top:20px!important;
    margin-bottom:24px!important;
    padding-top:28px!important;
    padding-bottom:26px!important;
  }

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

  body.theo-app #explore .marketplace-owner-cta,
  body.guest-mode #explore .marketplace-owner-cta{
    margin-top:22px!important;
    margin-bottom:28px!important;
    padding-top:24px!important;
    padding-bottom:24px!important;
  }

  /* Heading fit: typography only. Do not force the long category headline onto one line. */
  body.theo-app #explore #category-showcase-title,
  body.guest-mode #explore #category-showcase-title,
  body.theo-app #explore .theo-featured-head h2,
  body.guest-mode #explore .theo-featured-head h2,
  body.theo-app #explore #available-properties .marketplace-results-head h2,
  body.guest-mode #explore #available-properties .marketplace-results-head h2,
  body.theo-app #explore .how-theo-works-v2 .journey-intro h2,
  body.guest-mode #explore .how-theo-works-v2 .journey-intro h2,
  body.theo-app #explore .commercial-pricing-head h2,
  body.guest-mode #explore .commercial-pricing-head h2,
  body.theo-app #explore .marketplace-owner-cta h2,
  body.guest-mode #explore .marketplace-owner-cta h2{
    max-width:100%!important;
    letter-spacing:-.035em!important;
    word-spacing:-.025em!important;
    line-height:1.06!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
    hyphens:none!important;
  }

  /* Shorter section titles fit cleanly on the common MacBook range. */
  body.theo-app #explore .theo-featured-head h2,
  body.guest-mode #explore .theo-featured-head h2,
  body.theo-app #explore #available-properties .marketplace-results-head h2,
  body.guest-mode #explore #available-properties .marketplace-results-head h2{
    white-space:nowrap!important;
  }

  /* Preserve card geometry; only normalize body padding slightly. */
  body.theo-app #explore .theo-featured-grid .premium-property-card .property-body,
  body.guest-mode #explore .theo-featured-grid .premium-property-card .property-body,
  body.theo-app #explore #available-properties .premium-property-card .property-body,
  body.guest-mode #explore #available-properties .premium-property-card .property-body{
    padding:18px!important;
  }
}
