/* Shared public-site CTA alignment. Navigation and embedded demos retain their layout. */
.u-main .u-cta-row,
.hero-actions,
.enquiry-actions,
.showcase-project-actions,
main .actions {
  justify-content: center;
  align-items: center;
}

/* Keep each wrapped action centered instead of stretching the last mobile row. */
.u-main .u-cta-row > .u-button {
  flex: 0 1 auto;
}

.u-solution-actions {
  align-items: center;
}

/* Standalone content CTAs center within their own column or card. */
.u-main .u-hero > div > .u-button,
.u-main .u-selection-box > .u-button,
.u-main .u-preview-explainer > .u-button,
.u-main .u-preview-index > article > .u-button,
.u-main .u-solution-card > .u-button,
.u-main .rcs-final-cta > .u-button {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  align-self: center;
}

@media (max-width: 760px) {
  .rcs-help-row > .u-button {
    align-self: center;
  }
}
