/* res-learn overrides: what the site needs on top of the locked template
   styles (learn.css, faq.css), where the live page differs from the mockup. */
#page .fsearch {
  margin: 0;
}
#page .fsec {
  scroll-margin-top: var(--pn-space-24);
}
/* Wide data tables scroll sideways inside their own box, never the page. */
#page .pgrid > .pbody {
  min-width: 0;
}
#page .prose .tbl {
  max-width: 100%;
  overflow-x: auto;
  margin-block: var(--pn-space-6);
  border: 1px solid var(--pn-border-hairline);
  border-radius: var(--pn-radius-md);
}
#page .prose .tbl table {
  margin: 0;
  border-collapse: collapse;
  font-size: var(--pn-type-small-size);
}
#page .prose .tbl :is(th, td) {
  padding: var(--pn-space-2) var(--pn-space-3);
  border-bottom: 1px solid var(--pn-border-hairline);
  text-align: left;
  white-space: nowrap;
  vertical-align: top;
}
#page .prose .tbl th {
  color: var(--pn-text-head);
  font-weight: var(--pn-font-weight-medium);
  background: var(--lav);
}
/* Article images and embeds stay inside the reading column. */
#page .prose :is(img, iframe) {
  max-width: 100%;
  height: auto;
}
#page .prose iframe[src*='vimeo'],
#page .prose iframe[src*='youtube'] {
  aspect-ratio: 16 / 9;
  width: 100%;
}
