.mobile-inquiry-jump { display: none; }
@media (max-width: 767px) {
  html[lang="en"] .resource-detail-inner:has(> .resource-language-picker) > .guide-back {
    margin: 0 8px 8px 0;
    min-height: 44px;
    vertical-align: middle;
  }
  html[lang="en"] .editorial-table-wrap table,
  html[lang="en"] .editorial-table-wrap tbody { display: block; width: 100%; }
  html[lang="en"] .editorial-table-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  html[lang="en"] .editorial-table-wrap tbody tr {
    display: grid; gap: 12px; margin-block: 12px; padding: 16px;
    background: #fff; border: 1px solid #d5dfd5; border-radius: 8px;
  }
  html[lang="en"] .editorial-table-wrap td { display: block; line-height: 1.5; }
  html[lang="en"] .editorial-table-wrap td::before {
    display: block; content: attr(data-label); color: var(--green-dark); font-weight: 750;
  }
  html[lang="en"] .resource-language-picker { margin: 0 0 8px; }
  html[lang="en"] .resource-language-picker:not([open]) { display: inline-block; vertical-align: middle; }
  html[lang="en"] .resource-language-picker summary { padding-inline: 4px; }
  html[lang="en"] .mobile-inquiry-jump {
    display: inline-flex; align-items: center; min-height: 44px;
    color: var(--green-dark); font-weight: 700; text-decoration: underline;
  }

  html[lang="en"] .monk-guide-video-section:first-child .monk-guide-article {
    display: flex; flex-direction: column; align-items: stretch;
  }
  html[lang="en"] .monk-guide-video-section:first-child .guide-back { align-self: flex-start; order: -2; }
  html[lang="en"] .monk-guide-video-section:first-child .guide-article-copy { display: contents; }
  html[lang="en"] .monk-guide-video-section:first-child .guide-article-copy > :is(.section-kicker,h1,.guide-updated,.guide-lead) { order: -1; }
}

/* Keep article navigation clear of the fixed header in portrait and landscape. */
@media (max-width: 980px) {
  html[lang="en"]:has(.resource-toc, .mobile-inquiry-jump) { scroll-behavior: auto; }
  html[lang="en"] :is(#article-faq, #inquiry-contact) { scroll-margin-top: 96px; }
}

@media(max-width:980px){html[lang="en"] .resource-detail-inner [id^="article-section-"]{scroll-margin-top:96px}}
