/* Shared homepage spacing. Catalog clones retain their original standalone rules. */
:root {
  --home-gutter:48px;
  --home-inset:max(var(--home-gutter),calc((100vw - 1280px) / 2));
  --home-section-space:80px;
}
@media(max-width:1024px) {
  :root { --home-gutter:32px; --home-section-space:64px; }
}
@media(max-width:767px) {
  :root { --home-gutter:20px; --home-section-space:48px; }
}
/* Apply a single outer gutter; leave each section's internal card spacing intact. */
#reels-hero .rh34 :is(.container,.container-medium),
#heygen-prompt .va-section,
#cuberto-services .cu24 .cu24-container,
#clay-trusted .ctl-panel,
#clay-engineering .ce17-inner,
#reels-ready .rr38 .container-medium {
  width:calc(100% - 2 * var(--home-inset));
  max-width:1280px;
  margin-inline:auto;
  padding-inline:0;
}
#elementor-mcp .ew-mcp,
#contina-cases .ct32 {
  padding:var(--home-section-space) var(--home-inset);
}
#heygen-prompt .va-section,
#cuberto-services .cu24,
#clay-trusted .ct15,
#clay-engineering .ce17 {
  padding-block:var(--home-section-space);
}
/* Navigation shares the hero's gutter; retain clearance below the overlaid nav. */
#reels-hero .rh34 .hero-section { padding-top:160px; padding-bottom:var(--home-section-space); }
/* The marquee stays full bleed. Only its heading takes the shared text gutter. */
#reels-testimonials .rt37 .testimonial-section { padding-top:var(--home-section-space); }
#reels-testimonials .rt37 .section-title {
  margin-inline:auto;
  width:calc(100% - 2 * var(--home-inset));
}
#reels-testimonials .rt37 .container { max-width:none; padding-inline:0; }
/* Source mobile blog padding otherwise adds a second gutter inside its wrapper. */
#clay-engineering .ce17-grid { padding-inline:0; }
#reels-ready .rr38 .section-spacing-bottom { padding-block:var(--home-section-space); }
#homepage-footer { padding-inline:var(--home-inset); }
@media(max-width:1024px) {
  #reels-hero .rh34 .hero-section { padding-top:144px; }
}
@media(max-width:767px) {
  #reels-hero .rh34 .hero-section { padding-top:112px; }
  #reels-testimonials .rt37 .testimonial-section { padding-bottom:var(--home-section-space); }
  /* The content wrapper now supplies mobile spacing for this centered heading. */
  #heygen-prompt .va-head,#clay-engineering .ce17 .ce17-heading { padding-inline:0; }
}
/* The source's 1025–1280px square aspect ratio otherwise leaves an empty column. */
#elementor-mcp .ew-grid { width:100%; aspect-ratio:auto; }
