/* Atlantic Image Defense v1.15.4.19.35.222
   Front-page text-flow and CTA alignment refinement.
   Scope: public home page only. */

/* Do not split words in two on the homepage additions. */
.aid-home-page :where(
  .home_start_paths,
  .home_process_control,
  .home_faq_preview,
  .home_final_action
) :where(h1,h2,h3,h4,h5,h6,p,a,span,strong,small,summary,li) {
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}

.aid-home-page .home_corporate_heading h2,
.aid-home-page .home_final_action h2 {
  text-wrap: balance;
}

/* Final CTA: cleaner layout with readable, non-square buttons. */
.aid-home-page .home_final_action_inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 420px);
  gap: 36px;
  align-items: center;
}

.aid-home-page .home_final_action_buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  width: 100%;
}

.aid-home-page .home_final_action_buttons :is(.btn_one,.btn_two,.home_final_text_link) {
  min-height: 58px;
  padding: 14px 20px;
  border-radius: 14px;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}

.aid-home-page .home_final_text_link,
.aid-home-page .home_final_action_buttons .btn_two {
  border-width: 1px;
  border-style: solid;
}

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

/* Path cards and actions: keep natural line breaks, avoid chopped words. */
.aid-home-page .home_path_grid {
  align-items: stretch;
}

.aid-home-page .home_path_card {
  min-width: 0;
}

.aid-home-page .home_path_copy {
  min-width: 0;
}

.aid-home-page .home_path_copy strong,
.aid-home-page .home_path_copy small,
.aid-home-page .home_path_action,
.aid-home-page .home_process_steps p,
.aid-home-page .home_faq_list summary,
.aid-home-page .home_faq_list details p {
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}

.aid-home-page .home_path_action,
.aid-home-page .home_process_actions :is(.btn_one,.btn_two),
.aid-home-page .home_faq_intro .btn_two {
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.35;
}

/* Keep process buttons aligned but more readable. */
.aid-home-page .home_process_actions :is(.btn_one,.btn_two),
.aid-home-page .home_faq_intro .btn_two {
  min-height: 54px;
  border-radius: 12px;
  white-space: normal;
}

@media (max-width: 1399.98px) {
  .aid-home-page .home_final_action_inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .aid-home-page .home_final_action_buttons {
    max-width: 520px;
  }
}

@media (max-width: 991.98px) {
  .aid-home-page .home_final_action_buttons {
    max-width: none;
  }
}

@media (max-width: 767.98px) {
  .aid-home-page .home_final_action_buttons :is(.btn_one,.btn_two,.home_final_text_link) {
    min-height: 54px;
    font-size: 15px;
  }
}
