/* A closed mobile tray must be absent from pointer and keyboard interaction. */
#amh-a11y-tray[aria-hidden="true"] {
    visibility: hidden;
    pointer-events: none;
}

/* The legacy Foundation hero must shrink below its badge's intrinsic width. */
@media (max-width: 880px) {
  .inkfire-foundation-complete .fab-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .inkfire-foundation-complete .fab-hero-grid > * {
    min-width: 0;
  }
  .inkfire-foundation-complete .fab-hero-pill-text {
    min-width: 0;
    white-space: normal;
  }
}

/* The standard WordPress Sitemap needs room beneath the floating site header. */
body.page-id-10536 .site-main {
  width: 95%;
  max-width: 1280px;
  margin-inline: auto;
  padding: 160px 0 64px;
}
body.page-id-10536 .rank-math-html-sitemap__link {
  color: #0E6055;
  text-decoration: underline;
}

/* Service badges must wrap within the narrow cards instead of clipping. */
@media (max-width: 880px) {
  .inkfire-service-split-final-v3 .inkfire-service-split-final-v3__list,
  .inkfire-service-split-final-v3 .inkfire-service-split-final-v3__item {
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
  }
  .inkfire-service-split-final-v3 .inkfire-service-split-final-v3__solution {
    min-width: 0;
    max-width: 100%;
  }
  .inkfire-service-split-final-v3 .inkfire-service-split-final-v3__solution > span:last-child {
    min-width: 0;
    white-space: normal;
  }
}
