/* v29.24.6: stacked-table captions must span the full content width on phones.
   When a table is display:block, a caption left at display:table-caption
   shrinks to min-content (1–2 words per line) in WebKit and Chromium.
   Desktop table layout (≥768px, and ≥821px for the fees table) is unchanged. */

@media screen and (max-width: 820px) {
  #aari-terms .guide-table caption {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    caption-side: top;
    float: none;
  }
}

@media screen and (max-width: 799px) {
  .gx-stack caption {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    caption-side: top;
    float: none;
  }
}

@media screen and (max-width: 767px) {
  .table-stack caption,
  table.xp-facts caption {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    caption-side: top;
    float: none;
  }
}

@media screen and (max-width: 600px) {
  .ma-stack caption {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    caption-side: top;
    float: none;
    position: static;
  }
}
