/* FO1 home: language menu in header, no jump pills on mobile, 2026-11-09 */
.bf-menu--lang { position: relative; }
.bf-header__tools .bf-menu--lang > summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center;
  padding: 8px 14px; border: 1px solid var(--line, #e1e7ef); border-radius: 999px;
  background: var(--surface, #fff); color: var(--ink-2, #33415a);
  font-weight: 700; font-size: 14px; text-decoration: none;
}
.bf-header__tools .bf-menu--lang > summary::-webkit-details-marker { display: none; }
.bf-header__tools .bf-menu--lang > summary::after { content: " \25BE"; font-size: 10px; color: var(--muted, #5b6879); }
.bf-header__tools .bf-menu--lang[open] > summary { border-color: var(--brand, #0db1f2); color: var(--brand-strong, #036a99); }
.bf-menu__panel--lang {
  display: block !important; width: min(280px, 92vw); right: 0; left: auto;
  padding: 8px !important; gap: 0 !important; grid-template-columns: none !important;
}
.bf-menu__panel--lang li { list-style: none; }
.bf-menu__panel--lang a {
  display: block; padding: 9px 12px; border-radius: 10px;
  font-weight: 600; font-size: 14px; color: var(--ink-2, #33415a); text-decoration: none;
}
.bf-menu__panel--lang a:hover { background: var(--background, #f5f7fa); color: var(--brand-strong, #036a99); }
.bf-menu__panel--lang a[aria-current="page"] { font-weight: 800; color: var(--brand-strong, #036a99); }
.bf-menu__panel--lang ul { margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.nav-cat.bf-menu--lang .mega__panel--lang { width: min(260px, 92vw); left: auto; right: 0; }
/* collapse the empty partner area: no 320px gap when no cards render */
#models:empty { min-height: 0 !important; }
.article-source:has(#models:empty) { min-height: 0 !important; }
.article-source:has(#models:empty) > .widget-loading { display: none; }
/* tighter top when the partner area is empty */
.directory:has(#models:empty) { padding-top: 12px; padding-bottom: 12px; }
