/* One outer content measure for the public website; nested reading columns remain intact. */
:root { --ghk-content-max:1440px; --ghk-content-gutter:clamp(16px,2vw,32px); --ghk-content-width:min(var(--ghk-content-max),calc(100% - 2 * var(--ghk-content-gutter))); }
body :is(.ghk-services,.gh-solar,.gh-actions,.ghsl-gallery,.ghk-online-panel,.ghk-virtual-tour,#ghk-ev-home) {
  box-sizing:border-box;
  width:var(--ghk-content-width);
  max-width:var(--ghk-content-max);
  margin-left:auto;
  margin-right:auto;
}
body main .ghk-services { padding-left:0; padding-right:0; }
/* HTML widgets must not put a second narrow Elementor frame around a custom page. */
body main .elementor[data-elementor-type="wp-page"] > .elementor-top-section:has(.ghk-services,.gh-solar,.gh-actions,.ghsl-gallery,.ghk-virtual-tour,#ghk-ev-home) {
  padding-left:0 !important;
  padding-right:0 !important;
}
body main .elementor[data-elementor-type="wp-page"] > .elementor-top-section:has(.ghk-services,.gh-solar,.gh-actions,.ghsl-gallery,.ghk-virtual-tour,#ghk-ev-home) > .elementor-container {
  width:100% !important;
  max-width:none !important;
}
body main .elementor-top-section:has(.ghk-services,.gh-solar,.gh-actions,.ghsl-gallery,.ghk-virtual-tour,#ghk-ev-home) > .elementor-container > .elementor-column > .elementor-widget-wrap {
  padding-left:0 !important;
  padding-right:0 !important;
}
/* Embedded custom pages own their shell. Do not constrain them a second time. */
body main .elementor[data-elementor-type="wp-page"] > .elementor-top-section:not(:has(.elementor-nav-menu,rs-module,sr7-module,.ghk-services,.gh-solar,.gh-actions,.ghsl-gallery,.ghk-virtual-tour,#ghk-ev-home)) {
  padding-left:0 !important;
  padding-right:0 !important;
}
body main .elementor[data-elementor-type="wp-page"] > .elementor-top-section:not(:has(.elementor-nav-menu,rs-module,sr7-module,.ghk-services,.gh-solar,.gh-actions,.ghsl-gallery,.ghk-virtual-tour,#ghk-ev-home)) > .elementor-container {
  box-sizing:border-box;
  width:var(--ghk-content-width) !important;
  max-width:var(--ghk-content-max) !important;
  margin-left:auto;
  margin-right:auto;
}
body :is(.elementor-location-archive,.elementor-location-single) > .elementor-top-section {
  padding-left:0 !important;
  padding-right:0 !important;
}
body :is(.elementor-location-archive,.elementor-location-single) > .elementor-top-section > .elementor-container {
  box-sizing:border-box;
  width:var(--ghk-content-width) !important;
  max-width:var(--ghk-content-max) !important;
  margin-left:auto;
  margin-right:auto;
}
/* Retain inter-column gaps, but align the two outer edges with every custom shell. */
body main .elementor[data-elementor-type="wp-page"] > .elementor-top-section:not(:has(.elementor-nav-menu,rs-module,sr7-module)) > .elementor-container > .elementor-column:first-child > .elementor-widget-wrap,
body :is(.elementor-location-archive,.elementor-location-single) > .elementor-top-section > .elementor-container > .elementor-column:first-child > .elementor-widget-wrap { padding-left:0 !important; }
body main .elementor[data-elementor-type="wp-page"] > .elementor-top-section:not(:has(.elementor-nav-menu,rs-module,sr7-module)) > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap,
body :is(.elementor-location-archive,.elementor-location-single) > .elementor-top-section > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap { padding-right:0 !important; }
/* Clip entrances only at the screen, never at the inset content box. */
html { overflow-x:clip; }
body :is(.ghk-services,.gh-solar,.gh-actions,.ghsl-gallery,.ghk-online-panel,.ghk-virtual-tour,#ghk-ev-home),
body .gh-solar :is(.gh-hero,.gh-section),
body main :is(.elementor-section,.elementor-container,.elementor-column,.elementor-widget-wrap),
body .elementor-location-archive { overflow:visible !important; }
