/* Reset only the wrappers inserted by the importer. Inner sections retain
   their original theme styles and Elementor controls remain editable. */
body.toppers-native-elementor-layout .toppers-original-shell > .elementor-container {
  max-width: none;
  width: 100%;
}
body.toppers-native-elementor-layout .toppers-original-shell > .elementor-container > .elementor-column > .elementor-widget-wrap {
  padding: 0;
}
body.toppers-native-elementor-layout .elementor-widget[class*="elementor-widget-toppers-original-"],
body.toppers-native-elementor-layout .elementor-widget[class*="elementor-widget-toppers-section-"] {
  margin-bottom: 0;
  --kit-widget-spacing: 0px;
}
body.toppers-native-elementor-layout .elementor-widget[class*="elementor-widget-toppers-original-"] iframe,
body.toppers-native-elementor-layout .elementor-widget[class*="elementor-widget-toppers-section-"] iframe {
  line-height: inherit;
}

/* Home services grid inside Elementor */
body.toppers-native-elementor-layout .home-services-sec .home-svc-grid,
body.toppers-native-elementor-layout .home-services-sec .grid {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 980px) {
  body.toppers-native-elementor-layout .home-services-sec .home-svc-grid,
  body.toppers-native-elementor-layout .home-services-sec .grid.grid-3,
  body.toppers-native-elementor-layout .home-services-sec .grid.grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  body.toppers-native-elementor-layout .home-services-sec .home-svc-grid,
  body.toppers-native-elementor-layout .home-services-sec .grid.grid-2,
  body.toppers-native-elementor-layout .home-services-sec .grid.grid-3,
  body.toppers-native-elementor-layout .home-services-sec .grid.grid-4 {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
@media (max-width: 400px) {
  body.toppers-native-elementor-layout .home-services-sec .home-svc-grid,
  body.toppers-native-elementor-layout .home-services-sec .grid.grid-2,
  body.toppers-native-elementor-layout .home-services-sec .grid.grid-3,
  body.toppers-native-elementor-layout .home-services-sec .grid.grid-4 {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

.elementor-editor-active .home-services-sec .reveal,
.elementor-editor-active .home-services-sec .reveal-stagger > * {
  opacity: 1;
  transform: none;
}
