/**
 * V7.6.0 site consistency layer.
 * Content alignment, detailed-service specificity, and legacy UI cleanup.
 * Existing image files and project galleries are intentionally untouched.
 */

/* About profile: one approved action only. */
.mre-about-profile-card__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 220px);
}
.mre-about-profile-card__actions .mre-btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* Detailed services: stable cards with category-specific content. */
.mre-service-feature-grid--specific {
  align-items: stretch;
}
.mre-service-feature-grid--specific > article {
  min-height: 230px;
  display: flex;
  flex-direction: column;
}
.mre-service-feature-grid--specific > article p {
  margin-top: auto;
}
.mre-service-process-grid > article {
  height: 100%;
}
.mre-service-item-intro p:empty,
.mre-service-detail-grid:empty {
  display: none;
}

/* Project case-study fields populated by the canonical library. */
.mre-project-story-grid > article,
.mre-project-deliverables,
.mre-project-case-study article {
  overflow-wrap: anywhere;
}

/* Retired floating UI must never reappear from stale cached markup. */
.mre-floating-suite,
.mre-floating-actions,
.mre-chat,
.mre-chat-widget,
.mre-fab,
.mre-floating-plus {
  display: none !important;
}

@media (max-width: 900px) {
  .mre-about-profile-card__actions {
    width: 100%;
    min-width: 0;
  }
  .mre-service-feature-grid--specific > article {
    min-height: 0;
  }
}
