/* Approved results-first mobile structure. Desktop retains its original layout. */
@media (max-width:980px) {
  html.wp-mobile-results-first body { background:#f3f6f7!important; }
  html.wp-mobile-results-first body.wp-excellence .wp-editorial-hero { display:none!important; }
  html.wp-mobile-results-first body.wp-excellence main.feature-layout { display:flex!important;flex-direction:column!important;gap:20px!important;margin-top:0!important;padding-top:0!important; }
  html.wp-mobile-results-first body.wp-excellence main.feature-layout>:is(.results-panel,.trainer-results-panel,.search-panel,.trainer-filter-panel) { margin:0 14px!important;width:calc(100% - 28px)!important;box-sizing:border-box;padding:16px!important; }
  html.wp-mobile-results-first .wp-search-first-intro { max-width:940px;margin:0 auto;padding:18px 22px 16px;color:#202a39; }
  html.wp-mobile-results-first .wp-search-first-label { margin:0 0 12px;color:#087f7a;font-size:10px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase; }
  html.wp-mobile-results-first .wp-search-first-intro h1 { margin:0;font-size:29px;line-height:1.15;letter-spacing:-1px; }
  html.wp-mobile-results-first .wp-search-first-intro>p:not(.wp-search-first-label) { margin:8px 0 0;font-size:14px;line-height:1.5;color:#667488; }
  html.wp-mobile-results-first .wp-search-first-nav { display:flex;gap:8px;margin-top:16px; }
  html.wp-mobile-results-first .wp-search-first-nav a { display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;flex:1;min-width:0;border:1px solid #ccd9de;border-radius:12px;color:#526376;background:#fff;text-decoration:none;font-size:14px;font-weight:750;box-sizing:border-box; }
  html.wp-mobile-results-first .wp-search-first-nav a[aria-current=page] { background:#202a39;border-color:#202a39;color:#fff; }
  html.wp-mobile-results-first :is(.wp-search-first-filter-link,.wp-search-first-return) { display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:10px 16px;box-sizing:border-box;border:1px solid #a6d8d4;border-radius:12px;background:#eaf7f5;color:#087f7a;font:inherit;font-size:14px;font-weight:750;text-decoration:none;cursor:pointer; }
  html.wp-mobile-results-first .wp-search-first-filter-link svg { width:18px;height:18px;flex:none;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round; }
  html.wp-mobile-results-first .wp-search-first-filter-link circle { fill:#eaf7f5; }
  html.wp-mobile-results-first .wp-search-first-selection { display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:0 0 16px;margin:0 0 16px;border-bottom:1px solid #dae4e8; }
  html.wp-mobile-results-first .wp-search-first-selection strong { display:block;font-size:15px;line-height:1.35;color:#202a39; }
  html.wp-mobile-results-first .wp-search-first-selection small { display:block;margin-top:4px;font-size:12px;line-height:1.4;color:#667488;overflow-wrap:anywhere; }
  html.wp-mobile-results-first .wp-search-first-selection .wp-search-first-filter-link { width:auto;padding:10px;font-size:13px;gap:6px; }
  html.wp-mobile-results-first .wp-search-first-filter-heading { margin:0 0 16px;display:flex;flex-wrap:wrap;align-items:center;gap:12px;justify-content:space-between; }
  html.wp-mobile-results-first .wp-search-first-filter-heading h2 { margin:0;font-size:21px;letter-spacing:-.4px; }
  html.wp-mobile-results-first .wp-search-first-return { background:#fff;border-color:#ccd9de;color:#526376; }
  html.wp-mobile-results-first :is(.wp-search-first-return,.wp-search-first-filter-link):focus-visible { outline:2px solid #087f7a;outline-offset:3px; }
  html.wp-mobile-results-first body.wp-excellence #mobile-search-results>.section-heading { margin-bottom:12px;padding:0; }
  html.wp-mobile-results-first body.wp-excellence #mobile-search-results>.section-heading h2 { font-size:18px; }
  html.wp-mobile-results-first body.wp-excellence #mobile-search-results>.section-heading p { font-size:13px;line-height:1.45;margin-top:4px; }
  html.wp-mobile-results-first body.wp-excellence #mobile-search-results>.match-context-create { margin-top:18px;min-height:46px;width:100%;font-size:14px; }
  html.wp-mobile-results-first #mobile-search-results>#match-mode-explainer { margin-top:20px; }
  html.wp-mobile-results-first :is(#mobile-search-results,.wp-search-filter-panel) { scroll-margin-top:90px; }
}
