.lead-form [hidden] {
  display: none !important;
}

.lead-messenger-icon {
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.lead-messenger-icon:hover {
  transform: translateY(-1px);
}

.lead-messenger-icon.is-active,
.lead-messenger-icon[aria-pressed="true"] {
  border-color: #418af2;
  background: #eef5ff;
  box-shadow: 0 0 0 3px rgba(65, 138, 242, 0.14);
}

.lead-form [data-lead-email-fields] {
  display: grid;
  gap: 10px;
}

.lead-form [data-lead-email-fields] label:not(:first-child) {
  margin-top: 4px;
}

.lead-form-status {
  min-height: 22px;
  margin-top: 12px;
  color: #b42318;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.lead-form-status:empty {
  display: none;
}

.lead-form-status.is-success {
  color: #067647;
}

.lead-form .btn-blue:disabled,
.lead-messenger-icon:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

/* Article content images: full-width, centered (overrides WP is-resized inline widths) */
.article-body figure,
.article-body .wp-block-image,
.article-body .article-image,
.article-body figure.aligncenter,
.article-body figure.alignleft,
.article-body figure.alignright,
.article-body figure.is-resized,
.article-body .wp-block-image.is-resized {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.article-body figure img,
.article-body .wp-block-image img,
.article-body .article-image img,
.article-body p > img,
.article-body img:not(.media-expandable-icon img) {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
  object-fit: contain;
}

.article-body figcaption {
  text-align: center;
}

