/* Compact enquiry sections, without changing native validation or security. */
.ynm-page-home .services{padding:32px 0 40px}
.ynm-page-home .service-grid{gap:16px}
.ynm-page-home .service{display:flex;flex-direction:column;min-height:0;background:#fff;color:#07172f}
.ynm-page-home .service img{position:static;inset:auto;width:100%;height:170px;object-fit:cover}
.ynm-page-home .service:after{content:none}
.ynm-page-home .service-copy{position:static;inset:auto;padding:18px}
.ynm-page-home .service h3{font-size:30px;line-height:1.15;color:#07172f!important;text-shadow:none!important;margin:0 0 8px}
.ynm-page-home .service .more{color:#07172f!important;text-shadow:none!important}
@media(max-width:700px){.ynm-page-home .service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ynm-page-home .service img{height:140px}.ynm-page-home .service-copy{padding:14px}.ynm-page-home .service h3{font-size:25px}}
@media(max-width:380px){.ynm-page-home .service-grid{grid-template-columns:1fr}}

.ynm-marketing-page main>section:is(.capture,.report,.form-section,.contact):has(.gform_wrapper){padding:36px 0!important}
.ynm-marketing-page :is(.capture-grid,.report-grid,.contact-grid,.form-section>.form-grid){width:min(calc(100% - 64px),1040px)!important;grid-template-columns:minmax(0,320px) minmax(0,640px)!important;gap:36px!important;justify-content:center;align-items:start!important}
.ynm-marketing-page :is(.capture-grid,.report-grid,.contact-grid,.form-section>.form-grid)>div:first-child{padding-top:4px}
.ynm-marketing-page :is(.capture,.report,.form-section,.contact) h2{font-size:32px!important;line-height:1.16!important;margin:10px 0 14px!important}
.ynm-marketing-page :is(.box,.report-box,.app-form,.contact .form):has(.gform_wrapper){padding:22px!important;min-height:0!important}
.ynm-marketing-page :is(.box,.report-box,.app-form,.contact .form):has(.gform_wrapper) h3{font-size:26px!important;line-height:1.2!important;margin:6px 0 16px!important}
.ynm-marketing-page .contact .form-head{margin-bottom:10px}
.ynm-marketing-page .contact .form-head h3{margin-bottom:0!important}
.gform_wrapper .gform_fields{gap:12px 16px!important}
.gform_wrapper .gfield_label,.gform_wrapper label{line-height:1.4!important}
.gform_wrapper input:not([type=checkbox]):not([type=radio]):not([type=submit]),.gform_wrapper select{min-height:44px;height:44px;padding:10px 12px!important}
.gform_wrapper textarea{height:60px;min-height:60px!important;padding:10px 12px!important}
.gform_wrapper .ginput_complex{gap:16px!important}
.gform_wrapper .gform_heading{margin:0 0 10px!important}
.gform_wrapper .gform_required_legend{font-size:12px;line-height:1.5;margin:0!important}
.gform_wrapper .gform_footer{display:flex!important;flex-direction:row!important;align-items:center;flex-wrap:wrap;gap:12px!important;margin-top:14px!important}
.gform_wrapper .gf-turnstile-container{flex:0 1 300px;width:300px;max-width:100%;padding:0!important;margin:0!important;min-height:0!important}
.gform_wrapper .gf-turnstile-container .cf-turnstile{margin:0!important}
.gform_wrapper .gf-turnstile-container .cf-turnstile-br{display:none}
.gform_wrapper .gform_footer .gform_button{align-self:center!important}
@media(max-width:360px){.gform_wrapper .gf-turnstile-container .cf-turnstile{zoom:.75}}
.gform_wrapper .ynm-optional-details{padding:10px 0}
.gform_wrapper .gfield--type-consent .gfield_label{margin-bottom:4px!important}
.ynm-listing-page .listing-detail aside{padding:22px;align-self:start}
#property-enquiry #field_4_2,#property-enquiry #field_4_3{grid-column:1/-1!important}
#property-enquiry{scroll-margin-top:100px}
#property-enquiry h2{margin:0 0 18px}
.ynm-listing-page .listing-detail aside h2{font-size:26px}
@media(max-width:980px){
 .ynm-marketing-page :is(.capture-grid,.report-grid,.contact-grid,.form-section>.form-grid){grid-template-columns:1fr!important;max-width:640px;gap:20px!important;width:calc(100% - 40px)!important}
 .ynm-marketing-page :is(.capture,.report,.form-section,.contact) h2{font-size:28px!important}
 .ynm-marketing-page :is(.capture-grid,.report-grid,.contact-grid,.form-section>.form-grid)>div:first-child{max-width:none}
}
@media(max-width:600px){
 .ynm-marketing-page main>section:is(.capture,.report,.form-section,.contact):has(.gform_wrapper){padding:28px 0!important}
 .ynm-marketing-page :is(.capture-grid,.report-grid,.contact-grid,.form-section>.form-grid){width:calc(100% - 32px)!important}
 .ynm-marketing-page :is(.box,.report-box,.app-form,.contact .form):has(.gform_wrapper){padding:18px!important}
 .gform_wrapper .gform_footer .gform_button{width:100%}
}
