/**
 * Elementor minimal fixes
 * TemaNormais
 */

/* Box model consistency */
.elementor *,
.elementor *::before,
.elementor *::after {
  box-sizing: border-box;
}

/* Images and media */
.elementor img,
.elementor video,
.elementor iframe {
  max-width: 100%;
  height: auto;
}

/* Headings consistency */
.elementor-widget-heading .elementor-heading-title {
  line-height: 1.2;
}

/* Text widgets */
.elementor-widget-text-editor {
  line-height: 1.6;
}

/* Links */
.elementor a {
  color: #185981;
}

.elementor a:hover,
.elementor a:focus {
  color: #278fce;
  text-decoration: underline;
}

/* Buttons focus (accessibility) */
.elementor-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(24, 89, 129, 0.35);
}

/* Forms */
.elementor-field-group input,
.elementor-field-group select,
.elementor-field-group textarea {
  border-radius: 4px;
}

.elementor-field-group input:focus,
.elementor-field-group select:focus,
.elementor-field-group textarea:focus {
  border-color: #185981;
  box-shadow: 0 0 0 2px rgba(24, 89, 129, 0.25);
  outline: none;
}

/* Prevent editor / frontend spacing mismatch */
.elementor-editor-active .elementor-section-wrap {
  margin: 0;
}
