body.elementor-page .ti-page-hero h1 { color: #fff !important; }

/* Elementor service-row fallback */
body.elementor-page .e-con:has(> #idraulica) {
  width: calc(100% - 48px); max-width: 1180px;
  margin: 0 auto; padding: 80px 0; gap: 20px;
}
body.elementor-page .e-con:has(> .e-con > #idraulica) { background: #f6f9fc; }
body.elementor-page :is(#idraulica, #climatizzazione, #termoidraulica, #elettrodomestici, #elettrico, #montaggio, #pittura) {
  width: 100%; padding: 24px !important;
  background: #fff; border: 1px solid var(--ti-line);
  border-radius: 20px; box-shadow: 0 14px 34px rgba(10,36,64,.06);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
body.elementor-page :is(#idraulica, #climatizzazione, #termoidraulica, #elettrodomestici, #elettrico, #montaggio, #pittura):hover {
  transform: translateY(-3px); border-color: rgba(23,105,170,.28);
  box-shadow: 0 20px 42px rgba(10,36,64,.10);
}
body.elementor-page :is(#idraulica, #climatizzazione, #termoidraulica, #elettrodomestici, #elettrico, #montaggio, #pittura) > .elementor-widget-html {
  display: grid; grid-template-columns: 84px minmax(0,1fr) auto;
  align-items: center; gap: 24px; width: 100%;
}
body.elementor-page :is(#idraulica, #climatizzazione, #termoidraulica, #elettrodomestici, #elettrico, #montaggio, #pittura) > .elementor-widget-html > .ti-icon-box {
  width: 64px; height: 64px; margin: 0; font-size: 28px;
}
body.elementor-page :is(#idraulica, #climatizzazione, #termoidraulica, #elettrodomestici, #elettrico, #montaggio, #pittura) > .elementor-widget-html h2 {
  margin-bottom: 8px; font-size: 23px;
}
body.elementor-page :is(#idraulica, #climatizzazione, #termoidraulica, #elettrodomestici, #elettrico, #montaggio, #pittura) > .elementor-widget-html p {
  margin: 0; color: var(--ti-muted); font-size: 14px;
}
@media (max-width: 767px) {
  body.elementor-page .e-con:has(> #idraulica) {
    width: calc(100% - 32px); padding: 56px 0; gap: 16px;
  }
  body.elementor-page :is(#idraulica, #climatizzazione, #termoidraulica, #elettrodomestici, #elettrico, #montaggio, #pittura) {
    padding: 20px !important;
  }
  body.elementor-page :is(#idraulica, #climatizzazione, #termoidraulica, #elettrodomestici, #elettrico, #montaggio, #pittura) > .elementor-widget-html {
    grid-template-columns: 54px minmax(0,1fr); gap: 16px;
  }
  body.elementor-page :is(#idraulica, #climatizzazione, #termoidraulica, #elettrodomestici, #elettrico, #montaggio, #pittura) > .elementor-widget-html > .ti-icon-box {
    width: 54px; height: 54px; font-size: 24px;
  }
  body.elementor-page :is(#idraulica, #climatizzazione, #termoidraulica, #elettrodomestici, #elettrico, #montaggio, #pittura) > .elementor-widget-html > .ti-button {
    grid-column: 1 / -1; width: 100%; justify-content: center;
  }
}

/* Premium Elementor wrapper fallbacks */
body.elementor-page #drill-load { background: #0a2440 !important; }
body.elementor-page .e-con:has(> .elementor-widget-html > .ti-header) {
  position: sticky !important; top: 0 !important; z-index: 1000 !important;
}
.admin-bar.elementor-page .e-con:has(> .elementor-widget-html > .ti-header) { top: 32px !important; }
body.elementor-page .ti-brand-mark:not(:has(svg)) { font-size: 0 !important; }
body.elementor-page .ti-brand-mark:not(:has(svg))::before {
  content: ""; display: block; width: 27px; height: 27px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8'%3E%3Cpath d='M4 11.5 12 4l8 7.5'/%3E%3Cpath d='M6.5 10.5V20h11v-9.5'/%3E%3Cpath d='M9.5 20v-5h5v5'/%3E%3Cpath d='M18.5 5.5c.6.8 1.5 1.8 1.5 2.8a1.5 1.5 0 0 1-3 0c0-1 .9-2 1.5-2.8Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8'%3E%3Cpath d='M4 11.5 12 4l8 7.5'/%3E%3Cpath d='M6.5 10.5V20h11v-9.5'/%3E%3Cpath d='M9.5 20v-5h5v5'/%3E%3Cpath d='M18.5 5.5c.6.8 1.5 1.8 1.5 2.8a1.5 1.5 0 0 1-3 0c0-1 .9-2 1.5-2.8Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.elementor-page .e-con:has(> .elementor-widget-html .ti-contact-card) {
  display: grid !important;
  grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr);
  align-items: start; gap: 38px;
  width: calc(100% - 48px); max-width: 1180px;
  margin: 0 auto; padding: 80px 0 !important;
}
body.elementor-page .e-con:has(> .e-con > .elementor-widget-html .ti-contact-card) { background: #f6f9fc; }
body.elementor-page .e-con:has(> .ti-jetpack-form) {
  padding: 34px !important; background: #fff;
  border: 1px solid var(--ti-line); border-radius: 24px;
  box-shadow: var(--ti-shadow);
}
body.elementor-page .e-con:has(> .elementor-widget-html .ti-contact-card) .ti-contact-card { height: 100%; }
@media (max-width: 767px) {
  body.elementor-page .e-con:has(> .elementor-widget-html .ti-contact-card) {
    grid-template-columns: 1fr; width: calc(100% - 32px);
    padding: 56px 0 !important; gap: 22px;
  }
  body.elementor-page .e-con:has(> .ti-jetpack-form) { padding: 25px 21px !important; }
}
@media (max-width: 782px) {
  .admin-bar.elementor-page .e-con:has(> .elementor-widget-html > .ti-header) { top: 46px !important; }
}