/* Signature Edge Realty International — V122.2 site-wide density audit
   Goal: keep the brokerage site polished and readable while removing old
   billboard-scale whitespace from information-rich pages. This layer loads
   last and is deliberately page-scoped so Search, Aviation, Homeowner Edge,
   admin tools, and forms keep their functional layouts. */

:root{
  --ser-dense-hero-y:32px;
  --ser-dense-section-y:42px;
  --ser-dense-card-pad:20px;
}


/* Guard against legacy responsive .section rules that expand to 72–90px. */
[data-ser-page]:not([data-ser-page="home"]) main>.section,
[data-ser-page]:not([data-ser-page="home"]) main.section{padding-top:38px!important;padding-bottom:38px!important}

/* ---------- Homepage: keep the hero, tighten everything below it ---------- */
[data-ser-page="home"] .home-section{padding:60px 0!important}
[data-ser-page="home"] .home-section-head{margin-bottom:30px!important}
[data-ser-page="home"] .service-editorial-card{min-height:260px;padding:32px!important}
[data-ser-page="home"] .service-number{margin-bottom:28px!important}
[data-ser-page="home"] .service-editorial-card a{bottom:28px!important}
[data-ser-page="home"] .path-card{min-height:340px!important}
[data-ser-page="home"] .path-copy{padding:34px 36px!important}
[data-ser-page="home"] .home-listings-action{margin-top:26px!important}
[data-ser-page="home"] .home-about-grid{gap:56px!important}
[data-ser-page="home"] .home-about-photo img{height:540px!important}
[data-ser-page="home"] .home-about-points{margin:26px 0!important}
[data-ser-page="home"] .signature-fit-band{padding:52px 0!important}
[data-ser-page="home"] .signature-fit-grid{gap:48px!important}
[data-ser-page="home"] .insight-item{padding:20px 0!important}

/* ---------- Generic content pages ---------- */
[data-ser-page="flat-fee"] .page-hero,
[data-ser-page="terms"] .page-hero{
  padding:32px 0 28px!important;
  background:#fff!important;
}
[data-ser-page="flat-fee"] .page-hero h1,
[data-ser-page="terms"] .page-hero h1{
  font-size:clamp(2.15rem,3.25vw,3.35rem)!important;
  margin:4px 0 10px!important;
  line-height:1.06!important;
}
[data-ser-page="flat-fee"] .page-hero p,
[data-ser-page="terms"] .page-hero p{font-size:1.02rem!important;line-height:1.5!important;margin:0!important}
[data-ser-page="flat-fee"] main>.section,
[data-ser-page="terms"] main>.section{padding:38px 0!important}
[data-ser-page="flat-fee"] .content-grid{gap:42px!important}
[data-ser-page="flat-fee"] .content-grid article h2{margin-bottom:14px!important}
[data-ser-page="flat-fee"] .content-grid article h3{margin:26px 0 9px!important}
[data-ser-page="flat-fee"] .sidebar{padding:24px!important;top:112px!important}
[data-ser-page="flat-fee"] .checks{margin:18px 0!important}
[data-ser-page="flat-fee"] .checks li{padding-top:9px!important;padding-bottom:9px!important}

/* ---------- About ---------- */
[data-ser-page="about"] .about-page-hero{padding:32px 0 28px!important}
[data-ser-page="about"] .about-broker-section,
[data-ser-page="about"] .about-values-section,
[data-ser-page="about"] .about-background-section,
[data-ser-page="about"] .about-contact-section{padding:44px 0!important}
[data-ser-page="about"] .about-broker-grid,
[data-ser-page="about"] .about-background-grid,
[data-ser-page="about"] .about-contact-grid{gap:48px!important}
[data-ser-page="about"] .about-broker-photo img{height:520px!important}
[data-ser-page="about"] .about-values-grid{margin-top:24px!important;gap:14px!important}
[data-ser-page="about"] .about-values-grid article{min-height:0!important;padding:22px!important}
[data-ser-page="about"] .about-value-number{margin-bottom:20px!important}
[data-ser-page="about"] .about-broker-actions{margin-top:18px!important}
[data-ser-page="about"] .about-contact-form{padding:24px!important}

/* ---------- Contact ---------- */
[data-ser-page="contact"] .contact-hero-v38{padding:34px 0 30px!important}
[data-ser-page="contact"] .contact-hero-v38 h1{font-size:clamp(2.25rem,3.5vw,3.35rem)!important;margin-bottom:12px!important}
[data-ser-page="contact"] .contact-hero-v38 p{font-size:1.02rem!important;line-height:1.55!important}
[data-ser-page="contact"] .contact-options-v38{padding-top:22px!important}
[data-ser-page="contact"] .contact-option-v38{min-height:142px!important;padding:20px 21px!important}
[data-ser-page="contact"] .contact-option-label-v38{margin-bottom:10px!important}
[data-ser-page="contact"] .contact-form-section-v38{padding:38px 0 48px!important}
[data-ser-page="contact"] .contact-form-heading-v38{gap:36px!important;margin-bottom:20px!important}
[data-ser-page="contact"] .contact-form-heading-v38 h2{font-size:clamp(1.85rem,2.7vw,2.65rem)!important}
[data-ser-page="contact"] .contact-form-v38{padding:25px 26px 27px!important}
[data-ser-page="contact"] .contact-form-grid-v38{gap:16px 18px!important}
[data-ser-page="contact"] .contact-form-v38 textarea{min-height:130px!important}
[data-ser-page="contact"] .contact-message-v38,
[data-ser-page="contact"] .contact-submit-row-v38{margin-top:16px!important}

/* ---------- Community directory / profile / comparison ---------- */
[data-ser-page="community-directory"] .community-directory-hero{padding:30px 0 26px!important}
[data-ser-page="community-directory"] .community-directory-hero h1{font-size:clamp(2.1rem,3vw,3rem)!important;margin:4px 0 8px!important}
[data-ser-page="community-directory"] .community-directory-content{padding:24px 0 46px!important}
[data-ser-page="community-directory"] .directory-toolbar{margin-bottom:14px!important}
[data-ser-page="community-directory"] .directory-note{margin-bottom:14px!important;padding:10px 13px!important}
[data-ser-page="community-directory"] .directory-columns{gap:10px!important}

[data-ser-page="community"] .community-page-hero{padding:26px 0 22px!important}
[data-ser-page="community"] .community-page-hero .eyebrow{margin-top:13px!important}
[data-ser-page="community"] .community-page-hero h1{font-size:clamp(2.35rem,3.6vw,3.45rem)!important;margin:4px 0 5px!important}
[data-ser-page="community"] .community-location{margin-bottom:10px!important}
[data-ser-page="community"] .community-switcher{margin-top:12px!important;max-width:360px!important}
[data-ser-page="community"] .community-switcher select{min-height:44px!important}
[data-ser-page="community"] .community-page-content{padding:24px 0 46px!important}
[data-ser-page="community"] .community-layout{gap:16px!important}
[data-ser-page="community"] .community-copy,
[data-ser-page="community"] .community-map-card{padding:20px!important}
[data-ser-page="community"] .community-copy h2,
[data-ser-page="community"] .community-inventory h2{font-size:1.55rem!important;margin-bottom:10px!important}
[data-ser-page="community"] .community-copy p{line-height:1.58!important}
[data-ser-page="community"] .community-copy dl{margin-top:16px!important}
[data-ser-page="community"] .community-inventory{margin-top:24px!important}
[data-ser-page="community"] .community-inventory-head{margin-bottom:12px!important}
[data-ser-page="community"] .community-market{margin-top:24px!important}
[data-ser-page="community"] .community-market-kpis{gap:8px!important}
[data-ser-page="community"] .community-map-card p{margin:0 0 10px;color:#555;line-height:1.5}
[data-ser-page="community"] .community-map-card a{font-weight:800;color:#b51f27;text-decoration:none}

[data-ser-page="compare-communities"] .compare-hero{padding:30px 0 26px!important}
[data-ser-page="compare-communities"] .compare-hero h1{font-size:clamp(2.15rem,3.3vw,3.15rem)!important;margin:4px 0 8px!important}
[data-ser-page="compare-communities"] .compare-body{padding:24px 0 48px!important}
[data-ser-page="compare-communities"] .compare-grid{gap:10px!important;margin-top:14px!important}
[data-ser-page="compare-communities"] .compare-card{padding:17px!important}

/* ---------- Search / property ---------- */
[data-ser-page="search"] .search-v5-intro{padding:30px 0 26px!important}
[data-ser-page="search"] .search-v5-intro h1{font-size:clamp(2.25rem,3vw,3.15rem)!important}
[data-ser-page="search"] .search-v5-content{padding:24px 0 50px!important}
[data-ser-page="search"] .fit-choice{gap:24px!important;padding:22px 26px!important}
[data-ser-page="search"] .traditional-card{padding:22px 24px 20px!important}
[data-ser-page="search"] .traditional-card-heading{margin-bottom:16px!important}
[data-ser-page="search"] .search-results-v5{margin-top:28px!important}

[data-ser-page="property"] .property-hero{padding:32px 0 24px!important}
[data-ser-page="property"] .back-link{margin-bottom:14px!important}
[data-ser-page="property"] .property-title-row h1{font-size:36px!important;margin:2px 0 5px!important}
[data-ser-page="property"] .property-price{font-size:30px!important}
[data-ser-page="property"] .property-layout{gap:30px!important;margin-top:26px!important}
[data-ser-page="property"] .property-facts div{padding:14px!important}
[data-ser-page="property"] .property-facts strong{font-size:20px!important}
[data-ser-page="property"] .property-panel{padding:22px 0!important}
[data-ser-page="property"] .property-panel h2{font-size:24px!important;margin-bottom:12px!important}
[data-ser-page="property"] .remarks{line-height:1.65!important}
[data-ser-page="property"] .contact-card{padding:22px!important}

/* ---------- Sell / seller conversion ---------- */
[data-ser-page="sell"] .sell-hero-merged-v46{padding:34px 0 30px!important}
[data-ser-page="sell"] .sell-hero-merged-v46 h1{font-size:clamp(2.35rem,3.7vw,3.55rem)!important;margin-bottom:12px!important}
[data-ser-page="sell"] .sell-hero-merged-v46 p{font-size:1.02rem!important;line-height:1.55!important}
[data-ser-page="sell"] .sell-hero-position-v46{margin-top:24px!important;padding-top:20px!important}
[data-ser-page="sell"] .seller-entry-band{padding:24px 0!important}
[data-ser-page="sell"] .sell-page-v41>.section{padding:40px 0!important}
[data-ser-page="sell"] .sell-scope-grid-v41{margin-top:20px!important;gap:14px!important}
[data-ser-page="sell"] .sell-scope-grid-v41 article{padding:22px!important}

[data-ser-page="home-evaluation"] .seller-eval-hero{padding:30px 0 24px!important}
[data-ser-page="home-evaluation"] .seller-eval-hero h1{font-size:clamp(2.2rem,3.2vw,3.15rem)!important;margin:4px 0 9px!important}
[data-ser-page="home-evaluation"] .seller-progress{margin-top:16px!important}
[data-ser-page="home-evaluation"] .seller-eval-main{padding:18px 0 42px!important}
[data-ser-page="home-evaluation"] .seller-eval-shell{gap:14px!important}
[data-ser-page="home-evaluation"] .seller-panel{padding:20px!important}
[data-ser-page="home-evaluation"] .seller-panel-head{margin-bottom:14px!important}
[data-ser-page="home-evaluation"] .seller-form-actions{margin-top:12px!important}

/* ---------- Services / Signature Fit ---------- */
[data-ser-page="services"] .alc-hero{padding:34px 0 30px!important}
[data-ser-page="services"] .alc-hero h1{font-size:clamp(2.3rem,3.5vw,3.35rem)!important;margin-bottom:12px!important}
[data-ser-page="services"] .alc-hero p{font-size:1.02rem!important;line-height:1.55!important}
[data-ser-page="services"] .alc-hero-service-note{margin-top:14px!important}
[data-ser-page="services"] .alc-process-section{padding:34px 0 38px!important}
[data-ser-page="services"] .alc-address-section{padding:34px 0 38px!important}
[data-ser-page="services"] .alc-catalogue-section{padding:34px 0 50px!important}
[data-ser-page="services"] .alc-contact-section{padding:42px 0!important}
[data-ser-page="services"] .alc-process-grid article{min-height:190px!important;padding:24px 22px!important}
[data-ser-page="services"] .alc-process-grid span{margin-bottom:28px!important}
[data-ser-page="services"] .alc-service{min-height:270px!important;padding:18px 19px!important}
[data-ser-page="services"] .alc-service.is-selected{padding:17px 18px!important}
[data-ser-page="services"] .alc-contact-grid{gap:46px!important}

[data-ser-page="signature-fit"] .sf-hero{padding:34px 0 30px!important}
[data-ser-page="signature-fit"] .sf-hero h1{font-size:clamp(2.35rem,3.6vw,3.45rem)!important;margin-bottom:14px!important}
[data-ser-page="signature-fit"] .sf-lead{font-size:1.02rem!important;line-height:1.55!important;margin-bottom:18px!important}
[data-ser-page="signature-fit"] .sf-builder{padding:38px 0 50px!important}
[data-ser-page="signature-fit"] .sf-question-card{padding:28px!important;min-height:460px!important}
[data-ser-page="signature-fit"] .sf-progress-panel{padding:24px!important}
[data-ser-page="signature-fit"] .sf-explainer,
[data-ser-page="signature-fit"] .sf-example{padding:42px 0!important}
[data-ser-page="signature-fit"] .sf-section-heading{margin-bottom:24px!important}
[data-ser-page="signature-fit"] .sf-three article{padding:22px!important}

/* ---------- Staging / selling strategy / commercial ---------- */
[data-ser-page="staging"] .staging-hero{padding:34px 0 30px!important}
[data-ser-page="staging"] .staging-hero h1{font-size:clamp(2.3rem,3.5vw,3.35rem)!important;margin-bottom:12px!important}
[data-ser-page="staging"] .staging-hero p{font-size:1.02rem!important;line-height:1.55!important}
[data-ser-page="staging"] .staging-hero-grid{gap:40px!important}
[data-ser-page="staging"] .staging-section{padding:42px 0!important}
[data-ser-page="staging"] .staging-two-col,
[data-ser-page="staging"] .staging-report-grid{gap:44px!important}
[data-ser-page="staging"] .staging-feature-card,
[data-ser-page="staging"] .staging-report-card{padding:24px!important}
[data-ser-page="staging"] .staging-grid article,
[data-ser-page="staging"] .staging-steps article{padding:22px!important;min-height:165px!important}
[data-ser-page="staging"] .staging-steps span{margin-bottom:20px!important}
[data-ser-page="staging"] .staging-cta{padding:42px 0!important}
[data-ser-page="staging"] .staging-form{padding:26px!important}

[data-ser-page="selling-strategy"] .ss-opening,
[data-ser-page="selling-strategy"] .ss-process,
[data-ser-page="selling-strategy"] .ss-why,
[data-ser-page="selling-strategy"] .ss-showcase,
[data-ser-page="selling-strategy"] .ss-full-service,
[data-ser-page="selling-strategy"] .ss-guided-review,
[data-ser-page="selling-strategy"] .ss-contact{padding:42px 0!important}
[data-ser-page="selling-strategy"] .ss-opening-grid,
[data-ser-page="selling-strategy"] .ss-two-col{gap:42px!important}
[data-ser-page="selling-strategy"] .ss-opening h1{font-size:clamp(2.3rem,3.4vw,3.3rem)!important;margin-bottom:12px!important}
[data-ser-page="selling-strategy"] .ss-process-grid article{padding:22px!important;min-height:165px!important}
[data-ser-page="selling-strategy"] .ss-process-grid span{margin-bottom:18px!important}
[data-ser-page="selling-strategy"] .ss-contact-form{padding:26px!important}

[data-ser-page="commercial-flat-fee"] .commercial-flat-hero-v48{padding:34px 0 30px!important}
[data-ser-page="commercial-flat-fee"] .commercial-flat-hero-grid-v48{gap:40px!important}
[data-ser-page="commercial-flat-fee"] .commercial-flat-hero-v48 h1{font-size:clamp(2.3rem,3.55vw,3.45rem)!important;margin-bottom:12px!important}
[data-ser-page="commercial-flat-fee"] .commercial-flat-lead-v48{font-size:1.02rem!important;line-height:1.55!important}
[data-ser-page="commercial-flat-fee"] .commercial-flat-actions-v48{margin-top:18px!important}
[data-ser-page="commercial-flat-fee"] .commercial-flat-price-v48{padding:24px!important}
[data-ser-page="commercial-flat-fee"] .commercial-flat-page-v48>.section{padding:42px 0!important}
[data-ser-page="commercial-flat-fee"] .commercial-two-col-v48{gap:44px!important}
[data-ser-page="commercial-flat-fee"] .commercial-platform-card-v48,
[data-ser-page="commercial-flat-fee"] .commercial-scope-card-v48{padding:24px!important}
[data-ser-page="commercial-flat-fee"] .commercial-section-head-v48{margin-bottom:22px!important}
[data-ser-page="commercial-flat-fee"] .commercial-detail-grid-v48 article{padding:22px!important;min-height:200px!important}
[data-ser-page="commercial-flat-fee"] .commercial-detail-grid-v48 article>span{margin-bottom:18px!important}
[data-ser-page="commercial-flat-fee"] .commercial-type-grid-v48 article{padding:19px!important}
[data-ser-page="commercial-flat-fee"] .commercial-cta-v48{padding:42px 0!important}
[data-ser-page="commercial-flat-fee"] .commercial-form-v48{padding:26px!important}

/* ---------- Market reports ---------- */
[data-ser-page="market-reports"] .mr-hero{padding:30px 0 26px!important}
[data-ser-page="market-reports"] .mr-hero h1{font-size:clamp(2.15rem,3.1vw,3.05rem)!important;margin:4px 0 8px!important}
[data-ser-page="market-reports"] .mr-section{padding:24px 0 44px!important}
[data-ser-page="market-reports"] .mr-latest-note{margin-bottom:14px!important}
[data-ser-page="market-reports"] .mr-card{padding:18px!important}
[data-ser-page="market-reports"] .mr-cta{padding:26px 0!important}

/* ---------- Account portal and admin ---------- */
[data-ser-page="account-messages"] .portal-page,
[data-ser-page="account-preferences"] .portal-page,
[data-ser-page="account-searches"] .portal-page{padding:28px 0 44px!important}
[data-ser-page="account-messages"] .portal-heading,
[data-ser-page="account-preferences"] .portal-heading,
[data-ser-page="account-searches"] .portal-heading{margin-bottom:18px!important}
[data-ser-page="account-messages"] .portal-card,
[data-ser-page="account-preferences"] .portal-card,
[data-ser-page="account-searches"] .portal-card{padding:20px!important;margin-bottom:14px!important}

[data-ser-page^="admin-"] .v108-admin,
[data-ser-page="admin"] .v108-admin{padding:24px 0 42px}
[data-ser-page^="admin-"] .v108-admin-hero,
[data-ser-page="admin"] .v108-admin-hero{padding:20px!important;margin-bottom:16px!important}
[data-ser-page^="admin-"] .v108-admin-grid>article,
[data-ser-page^="admin-"] .v108-admin-links,
[data-ser-page="admin"] .v108-admin-grid>article,
[data-ser-page="admin"] .v108-admin-links{padding:18px!important}
/* Aviation Admin already has a deliberately denser operational layer. */
[data-ser-page="admin-aviation"] .aviation-admin-v121{padding-top:18px!important}
[data-ser-page="admin-aviation"] .aviation-admin-v121 .v108-admin-hero{padding:14px 18px!important;margin-bottom:10px!important}

/* ---------- Catalogue / order admin workspaces ---------- */
[data-ser-page="admin-services"] .svc-admin{padding:24px 0 42px!important}
[data-ser-page="admin-services"] .svc-admin-hero,
[data-ser-page="admin-orders"] .svc-admin-hero{padding:20px!important;gap:28px!important;margin-bottom:16px!important}
[data-ser-page="admin-services"] .svc-admin-hero h1,
[data-ser-page="admin-orders"] .svc-admin-hero h1{font-size:clamp(2rem,3vw,2.8rem)!important;margin-bottom:8px!important}
[data-ser-page="admin-services"] .svc-secret,
[data-ser-page="admin-orders"] .svc-secret{padding:18px!important}
[data-ser-page="admin-services"] .svc-admin-tabs button{padding:12px 16px!important}
[data-ser-page="admin-services"] .svc-admin-view{padding:20px!important}
[data-ser-page="admin-services"] .svc-section-title{margin-bottom:16px!important}
[data-ser-page="admin-services"] .svc-editor{padding:18px!important}
[data-ser-page="admin-orders"]{background:#f5f5f5}
[data-ser-page="admin-orders"] .svc-admin-page{width:min(var(--ser-max),calc(100% - 48px));margin:0 auto;padding:24px 0 42px}
[data-ser-page="admin-orders"] .svc-admin-shell{background:#fff;border:1px solid #ddd;padding:20px}
[data-ser-page="admin-orders"] .orders-admin-list{gap:10px!important}
[data-ser-page="admin-orders"] .order-admin-card{padding:17px!important}

/* ---------- Sitemap / order confirmation ---------- */
[data-ser-page="sitemap"] main>.section{padding:28px 0!important}
[data-ser-page="sitemap"] main>.section:first-child .container{padding-top:12px!important;padding-bottom:20px!important}
[data-ser-page="service-order-success"] .order-success-hero{padding:42px 0 50px!important}

/* ---------- Deliberately preserved ----------
   Resources V122.1 is already the target density.
   Buy V76, Aviation V121, Homeowner Edge V109, auth, and My Account V121
   were already tuned around their interaction patterns, so this layer does
   not flatten them merely for visual uniformity. */

@media(max-width:760px){
  [data-ser-page="home"] .home-section{padding:44px 0!important}
  [data-ser-page="home"] .home-about-photo img{height:460px!important}
  [data-ser-page="about"] .about-page-hero,
  [data-ser-page="contact"] .contact-hero-v38,
  [data-ser-page="community-directory"] .community-directory-hero,
  [data-ser-page="community"] .community-page-hero,
  [data-ser-page="compare-communities"] .compare-hero,
  [data-ser-page="market-reports"] .mr-hero,
  [data-ser-page="search"] .search-v5-intro,
  [data-ser-page="sell"] .sell-hero-merged-v46,
  [data-ser-page="home-evaluation"] .seller-eval-hero,
  [data-ser-page="services"] .alc-hero,
  [data-ser-page="signature-fit"] .sf-hero,
  [data-ser-page="staging"] .staging-hero,
  [data-ser-page="commercial-flat-fee"] .commercial-flat-hero-v48,
  [data-ser-page="flat-fee"] .page-hero,
  [data-ser-page="terms"] .page-hero{padding:24px 0 22px!important}

  [data-ser-page="about"] .about-broker-section,
  [data-ser-page="about"] .about-values-section,
  [data-ser-page="about"] .about-background-section,
  [data-ser-page="about"] .about-contact-section,
  [data-ser-page="staging"] .staging-section,
  [data-ser-page="selling-strategy"] .ss-opening,
  [data-ser-page="selling-strategy"] .ss-process,
  [data-ser-page="selling-strategy"] .ss-why,
  [data-ser-page="selling-strategy"] .ss-showcase,
  [data-ser-page="selling-strategy"] .ss-full-service,
  [data-ser-page="selling-strategy"] .ss-guided-review,
  [data-ser-page="selling-strategy"] .ss-contact,
  [data-ser-page="commercial-flat-fee"] .commercial-flat-page-v48>.section{padding:34px 0!important}

  [data-ser-page="community"] .community-page-content,
  [data-ser-page="community-directory"] .community-directory-content,
  [data-ser-page="compare-communities"] .compare-body,
  [data-ser-page="market-reports"] .mr-section,
  [data-ser-page="search"] .search-v5-content,
  [data-ser-page="home-evaluation"] .seller-eval-main{padding-top:20px!important;padding-bottom:38px!important}

  [data-ser-page="property"] .property-title-row{align-items:flex-start!important;gap:10px!important}
  [data-ser-page="property"] .property-title-row h1{font-size:30px!important}
  [data-ser-page="signature-fit"] .sf-question-card{padding:22px 18px!important;min-height:0!important}
  [data-ser-page="contact"] .contact-form-v38,
  [data-ser-page="staging"] .staging-form,
  [data-ser-page="selling-strategy"] .ss-contact-form,
  [data-ser-page="commercial-flat-fee"] .commercial-form-v48{padding:20px 18px!important}
}
[data-ser-page="community"] .community-market{padding:20px!important}
