/* Give standalone reading links a thumb-sized target without breaking links inside sentences. */
@media (max-width: 700px), (max-width: 950px) and (max-height: 500px) {
  main :is(
    .twin-principles article, .twin-flow-evidence, .realize-event-photo figcaption,
    .specialist-route-links, .d25-source-links, .d25-market-links, .d25-hero-actions,
    .discipline-related > div, .discipline-authored-insight, .service-experience-route,
    .integration-flow-hub, .integration-flow-result > div, .integration-flow-links,
    .dashboard-review-controls, .dashboard-bottom, .dashboard-panel, .sensor-check, .perf-links,
    .scope-compare > article > h2, .critical-leadership > div, .trend-actions, .trend-method,
    .portfolio-evidence-grid > article, .owner-links, .mike-international-footer,
    .owner-background-references, .marcus-becx-lead, .sector-next
  ) > a,
  main :is(
    .owner-strengths, .portfolio-connected-story, .owner-head, .d25-delivery,
    .division25-scope, .architecture-section, .owner-background, .market-experience
  ) a.text-link,
  main :is(.profile-email, .background-link, .owner-background-contact),
  main .portfolio-profile-intro > a,
  main .owner-reading > p > a.text-link {
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
    min-height: 44px;
    min-width: 44px;
    max-width: 100%;
  }

  main :is(.trend-explain, .meter-explorer, .kpi-details, .owner-background-details) details > summary {
    box-sizing: border-box;
    min-height: 44px;
    align-content: center;
  }

  /* Enlarge the superscript's hit area without moving the surrounding text. */
  main a:is(.career-origin-mark, .prior-experience-mark) {
    position: relative;
  }

  main a:is(.career-origin-mark, .prior-experience-mark)::before {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: auto;
  }

  /* Expand away from a neighboring link so its own text remains tappable. */
  main a + a:is(.career-origin-mark, .prior-experience-mark)::before {
    left: 0;
    transform: translateY(-50%);
  }

  main a:is(.career-origin-mark, .prior-experience-mark):has(+ a)::before {
    left: auto;
    right: 0;
    transform: translateY(-50%);
  }
}
