/* Infectioase CMS 5.3.8 | Public content only.
   Keep original .container / .interior-shell / .interior-content width and padding.
   No administrator, header, footer, form or navigation selectors. */

/* Structured tabular data must be a real HTML table, with scrolling on the
   surrounding wrapper. Older CSS gave .article-body table display:block,
   squeezing columns and breaking headings in the middle of words. */
.interior-page .interior-content .cms538-table-scroll,
.page-body .content-panel .cms538-table-scroll {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #d8e5eb;
  border-radius: 11px;
  margin: 18px 0 24px;
  background: #fff;
}
.interior-page .interior-content .cms538-table-scroll:focus-visible,
.page-body .content-panel .cms538-table-scroll:focus-visible {
  outline: 3px solid #168ba5;
  outline-offset: 3px;
}
.interior-page .interior-content .cms538-table-scroll > table,
.page-body .content-panel .cms538-table-scroll > table {
  display: table !important;
  width: 100% !important;
  max-width: none !important;
  min-width: var(--cms538-table-min-width, 100%) !important;
  table-layout: auto !important;
  border-spacing: 0;
  border-collapse: collapse;
  margin: 0 !important;
  float: none !important;
  border: 0;
  font-size: clamp(13px, .94vw, 15px);
  line-height: 1.55;
}
.interior-page .interior-content .cms538-table-scroll > table :is(thead, tbody, tfoot) {
  display: table-row-group;
}
.interior-page .interior-content .cms538-table-scroll > table thead { display: table-header-group; }
.interior-page .interior-content .cms538-table-scroll > table tfoot { display: table-footer-group; }
.interior-page .interior-content .cms538-table-scroll > table tr,
.page-body .content-panel .cms538-table-scroll > table tr { display: table-row; }
.interior-page .interior-content .cms538-table-scroll > table :is(th, td),
.page-body .content-panel .cms538-table-scroll > table :is(th, td) {
  display: table-cell !important;
  box-sizing: border-box;
  height: auto !important;
  max-width: none !important;
  width: auto !important;
  min-width: 110px;
  padding: 11px 14px !important;
  vertical-align: top;
  text-align: left;
  line-height: 1.55;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  hyphens: none !important;
  white-space: normal !important;
  border: 1px solid #dfebf0;
}
.interior-page .interior-content .cms538-table-scroll > table th,
.page-body .content-panel .cms538-table-scroll > table th {
  background: #f1f8fa;
  color: #163b52;
  font-weight: 750;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  vertical-align: middle;
}
.interior-page .interior-content .cms538-table-scroll > table tbody tr:nth-child(even) td,
.page-body .content-panel .cms538-table-scroll > table tbody tr:nth-child(even) td { background: #f8fbfc; }
.interior-page .interior-content .cms538-table-scroll > table :is(p,ul,ol),
.page-body .content-panel .cms538-table-scroll > table :is(p,ul,ol) {
  margin-block: 0 .65em;
  max-width: none !important;
  width: auto;
  line-height: inherit;
}
.interior-page .interior-content .cms538-table-scroll > table :is(p,ul,ol):last-child,
.page-body .content-panel .cms538-table-scroll > table :is(p,ul,ol):last-child { margin-bottom: 0; }
/* Serial number + title + sponsor + team + status in clinical research tables */
.interior-page .interior-content .cms538-table-scroll.cms538-research-table > table :is(th,td):nth-child(1) { min-width: 78px; width: 78px !important; }
.interior-page .interior-content .cms538-table-scroll.cms538-research-table > table :is(th,td):nth-child(2) { min-width: 300px; }
.interior-page .interior-content .cms538-table-scroll.cms538-research-table > table :is(th,td):nth-child(3) { min-width: 180px; }
.interior-page .interior-content .cms538-table-scroll.cms538-research-table > table :is(th,td):nth-child(4) { min-width: 250px; }
.interior-page .interior-content .cms538-table-scroll.cms538-research-table > table :is(th,td):nth-child(5) { min-width: 135px; }

/* In legacy pages text often inherits a fixed 76ch / 81ch column even within
   a full-width subsection. 5.3.7 already fixes many of these; this covers
   the remaining generic page/article/accordion text, without touching
   genuine grid columns, cards, buttons, galleries or tables. */
.interior-page .interior-content .article-body :is(p,blockquote,ul,ol,dl),
.interior-page .interior-content :is(.ux380-topic-body,.v533-topic-body,.v534-topic-body,.v536-reading,.v536-method) :is(p,ul,ol,blockquote),
.page-body .content-panel > .article-body :is(p,blockquote,ul,ol),
.page-body .content-panel > .wp-content :is(p,blockquote,ul,ol) {
  max-width: 100% !important;
  max-inline-size: 100% !important;
}
/* Do not apply `overflow-wrap:anywhere` to table headers or to content labels. */
.interior-page .interior-content .article-body :is(p,li,blockquote),
.interior-page .interior-content :is(.ux380-topic-body,.v533-topic-body,.v534-topic-body,.v536-reading,.v536-method) :is(p,li,blockquote) {
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: manual;
}
/* Imported inline legacy images do not overflow their existing sections. */
.interior-page .interior-content .article-body :is(img,video,iframe),
.page-body .content-panel .article-body :is(img,video,iframe) {
  max-inline-size: 100%;
}
@media (max-width: 700px) {
  .interior-page .interior-content .cms538-table-scroll,
  .page-body .content-panel .cms538-table-scroll { margin-block: 14px 20px; border-radius: 8px; }
  .interior-page .interior-content .cms538-table-scroll > table,
  .page-body .content-panel .cms538-table-scroll > table { font-size: 13px; }
}
