/* Reader navigation and image treatment shared with the direct HTML reader. */
.bs-paper, .bs-reader { --bs-media-radius: 18px; }
.bs-reader {
  color: var(--ds-text-p, #1b2433);
}
.bs-paper.bs-reader > h1,
.bs-reader .tiptap h1,
.bs-reader .tiptap h2,
.bs-reader .tiptap h3 {
  color: var(--ds-text-p, #1b2433);
}
.bs-paper .bs-figure img,
.bs-reader .bs-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--ds-border-light, #d8d8df);
  border-radius: var(--bs-media-radius);
}
.bs-paper .bs-figure > a,
.bs-reader .bs-figure > a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--ds-border-light, #d8d8df);
  border-radius: var(--bs-media-radius);
}
.bs-paper .bs-figure > a > img,
.bs-reader .bs-figure > a > img {
  border: 0;
  border-radius: 0;
}
.bs-paper .bs-photos img,
.bs-reader .bs-photos img {
  border-radius: var(--bs-media-radius);
}
/* A compact vector keeps the CTA arrow independent of font glyph proportions. */
.bs-paper a.bs-cta-link .bs-link-arrow::after,
.bs-reader a.bs-cta-link .bs-link-arrow::after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-inline-start: 8px;
  vertical-align: -1px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 13 13 3M3 3h10v10' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 13 13 3M3 3h10v10' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.article-breadcrumb {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  margin-bottom: 24px;
  color: var(--ds-text-s, #5b687c);
  font: 400 14px/1.5 Inter, system-ui, sans-serif;
}
.article-breadcrumb > a { flex: none; color: var(--ds-text-p, #1b2433); text-decoration: none; }
.article-breadcrumb > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.bs-reading .bs-block.is-selected { outline: none; }
.article-breadcrumb > [aria-current] { min-width: 0; overflow-wrap: anywhere; }
.article-pager {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--ds-border-light, #d8d8df);
  color: var(--ds-text-p, #1b2433);
  font-family: Inter, system-ui, sans-serif;
}
.article-pager .article-pager__all { display: inline-block; margin-bottom: 20px; font-size: 14px; color: var(--ds-text-s, #5b687c); }
.article-pager__links { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.article-pager__links > a { display: flex; flex-direction: column; gap: 8px; padding-block: 8px; min-width: 0; color: inherit; text-decoration: none; }
.article-pager__label { font-size: 13px; line-height: 1.5; color: var(--ds-text-s, #5b687c); }
.article-pager__title { font-size: 18px; line-height: 1.45; font-weight: 550; overflow-wrap: anywhere; }
.article-pager__next { grid-column: 2; text-align: right; }
.article-pager__links > a:hover .article-pager__title { text-decoration: underline; text-underline-offset: 4px; }
.article-pager a:focus-visible, .article-breadcrumb a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; border-radius: 2px; }
.research-guide-page .research-guide { margin-bottom: 0; }
.article-guide-navigation { box-sizing: border-box; width: min(calc(100% - 48px), 1100px); margin: 0 auto 48px; padding: 0 64px 48px; background: var(--ds-container, #fff); }
.article-guide-navigation .article-pager { margin-top: 0; }
@media (max-width: 1023px) {
  .app-content-pane--elevated > .bs-reader { margin-top: var(--ae-topbar-height, 52px); }
  .article-guide-navigation { width: calc(100% - 32px); padding-inline: 36px; }
}
@media (max-width: 700px) {
  .bs-paper, .bs-reader { --bs-media-radius: 12px; }
  .article-pager__links { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .article-pager__next { grid-column: auto; text-align: left; }
  .article-guide-navigation { width: 100%; padding: 0 20px 36px; margin-bottom: 24px; }
}
.bs-mobile-preview { --bs-media-radius: 12px; }
