/* Atlantic Image Defense v1.15.4.19.35.223
   Homepage workflow CTA alignment.
   Scope: public homepage only. */

/* Match the two CTA buttons to the exact two-column geometry of the workflow cards. */
.aid-home-page .home_process_actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  max-width: none;
  margin-top: 28px;
  align-items: stretch;
}

.aid-home-page .home_process_actions :is(.btn_one,.btn_two) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  min-height: 58px;
  margin: 0;
  padding: 14px 22px;
  box-sizing: border-box;
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.3;
  text-align: center;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}

.aid-home-page .home_process_actions :is(.btn_one,.btn_two) i {
  flex: 0 0 auto;
}

/* Keep the second CTA visually anchored below the second workflow-card column. */
.aid-home-page .home_process_actions .btn_one { grid-column: 1; }
.aid-home-page .home_process_actions .btn_two { grid-column: 2; }

/* Tablets keep the two-button alignment while enough width remains. */
@media (max-width: 991.98px) and (min-width: 640px) {
  .aid-home-page .home_process_actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .aid-home-page .home_process_actions :is(.btn_one,.btn_two) {
    min-height: 56px;
    padding-inline: 18px;
    font-size: 14px;
  }
}

/* Phones: stack naturally, preserve full width and consistent spacing. */
@media (max-width: 639.98px) {
  .aid-home-page .home_process_actions {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-top: 24px;
  }

  .aid-home-page .home_process_actions .btn_one,
  .aid-home-page .home_process_actions .btn_two {
    grid-column: 1;
  }

  .aid-home-page .home_process_actions :is(.btn_one,.btn_two) {
    min-height: 54px;
    font-size: 14px;
  }
}
