/* Responsive tables: keep wide tables inside the viewport and allow horizontal scrolling. */
html,
body {
  max-width: 100%;
}

/* Flex/grid descendants need min-width: 0 or their intrinsic table width can expand the page. */
.ui-seo-block__content,
.pu-footer__seo-wrapper,
.seo-content-section,
.seo-content-container,
.seo-content-container > section {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.responsive-table-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 1.5rem 0 2rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.responsive-table-wrap:focus-visible {
  outline: 2px solid #00cfa6;
  outline-offset: 3px;
}

.responsive-table__table {
  width: 100% !important;
  min-width: 680px;
  max-width: none !important;
  margin: 0 !important;
  border-collapse: collapse;
  table-layout: auto;
}

.responsive-table__table th,
.responsive-table__table td {
  box-sizing: border-box;
  overflow-wrap: normal;
  word-break: normal;
  white-space: normal;
}

/* Prevent a wide table from changing the width of the entire document. */
@media (max-width: 820px) {
  body {
    overflow-x: hidden;
  }

  .responsive-table-wrap {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
    border-radius: 12px;
  }

  .responsive-table__table {
    min-width: 620px;
  }
}

@media (max-width: 480px) {
  .responsive-table__table {
    min-width: 560px;
  }
}
