/* Texas Service Animals: consistent left alignment across every page content template. */
.page-app[data-page] *,
#home-content * {
  text-align: left !important;
}

/* Keep interactive controls visually balanced while their surrounding copy stays left aligned. */
.page-app[data-page] :is(button, [role="button"], a.button, a[class*="btn"], a[class*="cta"], input[type="button"], input[type="submit"]),
#home-content :is(button, [role="button"], a.button, a[class*="btn"], a[class*="cta"], input[type="button"], input[type="submit"]) {
  text-align: center !important;
}

.page-app[data-page] :is(button, [role="button"], a.button, a[class*="btn"], a[class*="cta"]) *,
#home-content :is(button, [role="button"], a.button, a[class*="btn"], a[class*="cta"]) * {
  text-align: inherit !important;
}

/* Group the two hero labels together instead of distributing them across the copy column. */
.page-app[data-page] .page-top-copy > .section-kicker {
  justify-content: flex-start !important;
  flex-wrap: wrap !important;
  gap: 8px 14px !important;
}
.page-app[data-page] .page-top-copy > .section-kicker > span {
  margin-left: 0 !important;
}
.page-app[data-page] .article-layout > .article-aside {
  align-self: start !important;
  height: max-content !important;
}
.page-app[data-page] .page-top-copy :is(.eyebrow, .section-kicker) {
  justify-content: flex-start !important;
}
#home-content :is(.eyebrow, .section-kicker) {
  justify-content: flex-start !important;
}

/* On wide desktop screens, align hero copy to the same outer gutter as the header logo. */
@media (min-width: 1500px) {
  .page-app[data-page] .page-top-inner.page-top-with-art {
    width: min(calc(100% - clamp(48px, 9.5vw, 180px)), 1720px) !important;
    max-width: 1720px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
