/* Shared narrow-screen refinements. The Worker excludes the protected resource reference. */
@media screen and (max-width: 760px) {
  html[data-q45-responsive="enabled"] main :where(section, article, h2, h3)[id] {
    scroll-margin-block-start: calc(var(--cq-global-nav-height, 64px) + 12px);
  }

  html[data-q45-responsive="enabled"] .cq-global-footer > :where(div, nav) {
    min-inline-size: 0;
  }

  html[data-q45-responsive="enabled"] .cq-global-footer nav a {
    font-size: .875rem !important;
    line-height: 1.35;
  }

  html[data-q45-responsive="enabled"] .cq-global-footer :where(span, p) {
    font-size: .8125rem !important;
  }

  html[data-q45-responsive="enabled"] main figure > :where(video, iframe) {
    max-inline-size: 100%;
  }

  html[data-q45-responsive="enabled"] .q45-blog-toc a {
    display: flex;
    align-items: center;
    min-block-size: 44px;
  }
}
