/* Elementor containers use css_classes. Keep the approved page grid independent
   of a site's default Elementor content width and widget spacing. */
.vlm-elementor-document.e-con {
  display: block;
  width: 100%;
  max-width: none;
  min-width: 0;
  padding: 0 !important;
  margin: 0 !important;
  gap: 0 !important;
  --widgets-spacing: 0px;
  --widgets-spacing-row: 0px;
  --widgets-spacing-column: 0px;
  --kit-widget-spacing: 0px;
}
.vlm-elementor-document .e-con {
  gap: 0 !important;
  --widgets-spacing: 0px;
  --widgets-spacing-row: 0px;
  --widgets-spacing-column: 0px;
  --kit-widget-spacing: 0px;
}
.vlm-elementor-document .elementor-widget {
  width: 100%;
  min-width: 0;
  margin-block-end: 0 !important;
}
.vlm-elementor-document .elementor-widget-container { padding: 0; }
.vlm-elementor-document .elementor-widget-text-editor { color: inherit; font: inherit; }
.vlm-elementor-document .elementor-widget-text-editor { overflow-wrap: anywhere; }
.vlm-elementor-document .elementor-widget-text-editor:has(table) { overflow-x: auto; }
.vlm-elementor-document .elementor-widget-shortcode .elementor-shortcode { width: 100%; }
.vlm-elementor-document :is(.hero-layout, .result-layout, .comparison-layout, .faq-layout, .contact-layout) > * { min-width: 0; }
.vlm-elementor-document .e-con.detail-content-layout {
  width: min(1320px, calc(100% - 112px));
  max-width: none;
  display: block;
  margin: 0 auto;
  padding: 64px 0 90px !important;
}
.vlm-elementor-document .e-con.with-detail-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 820px) minmax(190px, 1fr);
  gap: 75px !important;
  align-items: start;
}
.vlm-elementor-document .e-con.detail-content:not(.detail-content-layout) {
  display: block;
  min-width: 0;
  width: 100%;
  padding: 0;
}
.vlm-elementor-document .detail-content > .elementor-widget:first-child h2:first-child { margin-top: 0; }
.vlm-elementor-document .e-con.detail-sidebar {
  display: block;
  width: 100%;
  padding: 0 0 0 28px;
  position: sticky;
  top: 133px;
}
/* Elementor's generic img rule must not flatten the fixed image frames. */
.vlm-elementor-document .hero-art > img { height: 100%; border-radius: inherit; }
.vlm-elementor-document .product-float img { flex-shrink: 0; }
.vlm-elementor-document .result-gallery .result-image img { height: 100%; }
/* Canvas questionnaire: equal gutters without adding a second header margin. */
.vlm-elementor-assessment.e-con {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto !important;
  padding: 0 0 30px !important;
}
.vlm-elementor-assessment .vlma-page-header {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 24px 0;
}
.vlm-elementor-assessment .e-con.vlma-page-copy {
  padding: 30px 48px !important;
  margin: 28px 0 !important;
  display: block;
}
.woocommerce form .input-text, .woocommerce form select {
  border: 1px solid #cdd9e7;
  border-radius: 8px;
  padding: 12px;
  font: inherit;
}
.woocommerce button.button, .woocommerce a.button, .woocommerce button.button.alt {
  background: #183153;
  color: white;
  border-radius: 8px;
  padding: 14px 22px;
}
.woocommerce .woocommerce-info { border-top-color: #183153; }
.woocommerce .woocommerce-info:before { color: #183153; }
/* Match the actual WordPress toolbar heights for signed-in editors. */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
@media (max-width: 1050px) {
  .vlm-elementor-document .e-con.detail-content-layout { width: calc(100% - 64px); }
  .vlm-elementor-document .e-con.with-detail-sidebar {
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 40px !important;
  }
}
@media (max-width: 700px) {
  .site-header .header-logo { max-width: calc(100% - 176px); }
  .vlm-elementor-document .e-con.detail-content-layout {
    width: calc(100% - 40px);
    padding: 40px 0 55px !important;
  }
  .vlm-elementor-document .e-con.with-detail-sidebar { display: block; }
  .vlm-elementor-document .e-con.detail-sidebar { display: none; }
  .vlm-elementor-assessment.e-con { width: calc(100% - 24px); padding-bottom: 24px !important; }
  .vlm-elementor-assessment .e-con.vlma-page-copy { padding: 20px 23px !important; }
  .vlm-elementor-assessment .vlma-page-header { padding: 10px 0; }
}
@media print {
  .vlm-elementor-document .e-con.detail-content-layout { width: 100%; display: block; padding: 20px 0 !important; }
  .vlm-elementor-document .e-con.detail-sidebar { display: none; }
}
