/* Public-site geometry only. Scope to the existing SQ sections, not generic
   Elementor widgets, modal players, or decorative/background media. */
:root { --sq-site-gutter: clamp(18px, 3vw, 72px); --sq-site-gap: clamp(16px, 2vw, 40px); }
/* Shared public page section shells. Only the outer boxed section gets a gutter;
   nested content, loop-item cards, reading widths and sliders keep their design. */
#page #content [data-elementor-type="wp-page"] .e-con-boxed:not(.e-con-boxed .e-con-boxed):not([data-elementor-type="loop-item"] *) {
 padding-inline:var(--sq-site-gutter) !important;
}
#page #content [data-elementor-type="wp-page"] .e-con-boxed:not(.e-con-boxed .e-con-boxed):not([data-elementor-type="loop-item"] *) > .e-con-inner {
 width:100% !important; max-width:none !important; min-width:0;
}
#page #content .sq-client-work { width:100%; max-width:none; min-width:0; }
#page :is(.sq-national,.sq-edit,.sq-clean-tour,.sq-demo) { box-sizing:border-box; min-width:0; }
#page .sq-national:not(.sq-film-hero),
body.home #page #content .sq-edit,
#page .sq-clean-tour {
 width:calc(100% - 2 * var(--sq-site-gutter)) !important;
 max-width:none !important; margin-inline:auto !important;
}
#page .sq-national.sq-film-hero {
 width:100% !important; max-width:none !important;
 padding-inline:var(--sq-site-gutter) !important;
 grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);
 gap:var(--sq-site-gap) !important;
}
/* Once inside a bounded section, do not subtract the outer gutter again. */
#page .sq-clean-tour :is(.sq-edit,.sq-demo,.sq-intro),
#page .sq-edit :is(.sq-intro,.sq-clean-tour) {
 width:100% !important; max-width:none !important; margin-inline:0 !important;
}
/* Remove the intermediate widget cap and give the section gutter one owner. */
#page .elementor-widget-html:has(.sq-edit) { width:100% !important; max-width:none !important; }
#page .e-con:has(> .elementor-widget-html .sq-edit) { padding-inline:0 !important; }
#page :is(.sq-national,.sq-edit,.sq-clean-tour) { container-type:inline-size; }
#page :is(.sq-national,.sq-intro,.sq-route,.sq-paths,.sq-use-cases,.sq-demo-files) > * { min-width:0; }
#page :is(.sq-route,.sq-use-cases) {
 grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr)) !important;
 gap:var(--sq-site-gap) !important;
}
#page :is(.sq-actions,.sq-city-options,.sq-demo-bottom) { flex-wrap:wrap; }
#page :is(.sq-location-preview,.sq-intro-copy,.sq-route li) { overflow-wrap:anywhere; }
@media(max-width: 900px) {
 #page .sq-national.sq-film-hero { grid-template-columns:minmax(0,1fr); }
 #page .sq-edit .sq-intro { grid-template-columns:minmax(0,1fr); gap:24px; }
}
@media(max-width: 600px) {
 #page .sq-paths { grid-template-columns:minmax(0,1fr); }
 #page .sq-demo-files { grid-template-columns:minmax(0,1fr); }
}
