/*
 * Public header that always fits (site-header-fit.js). When the menu and the tools on the right do not fit
 * on one row, the header steps down: first the Admin / My Account labels become icons, then the menu text
 * gets a little tighter, and only if it still does not fit, the compact header with the menu button is used.
 */
@media (min-width:1024px){
    html.fhf-hdr-tight-1 .fhf-public-reference .fhf-desktop-bar{gap:10px}
    html.fhf-hdr-tight-1 .fhf-public-reference .fhf-desktop-nav{gap:2px}
    html.fhf-hdr-tight-1 .fhf-public-reference .fhf-desktop-tools{gap:4px}
    html.fhf-hdr-tight-1 .fhf-public-reference .fhf-desktop-tools .fhf-account .fhf-tool-label,
    html.fhf-hdr-tight-1 .fhf-public-reference .fhf-desktop-tools .fhf-admin-tools .fhf-tool-label{display:none}
    html.fhf-hdr-tight-1 .fhf-public-reference .fhf-desktop-tools .fhf-account>summary{padding:8px}
    html.fhf-hdr-tight-2 .fhf-public-reference .fhf-desktop-header .fhf-brand img{width:72px;height:auto}
    html.fhf-hdr-tight-2 .fhf-public-reference .fhf-nav-link,
    html.fhf-hdr-tight-2 .fhf-public-reference .fhf-nav-button{padding-inline:6px;font-size:.94em}
    html.fhf-hdr-tight-2 .fhf-public-reference .fhf-header-donate{padding-inline:12px}
    html.fhf-hdr-compact .fhf-public-reference .fhf-desktop-header:not(.mp-header){display:none}
    html.fhf-hdr-compact .fhf-public-reference .fhf-mobile-header{display:block}
}

/* Account menu: Admin links and the language choice sit inside My Account. */
.fhf-account-menu .fhf-account-group{display:grid;margin:2px 0;padding:4px 0;border-top:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb}
.fhf-account-menu .fhf-account-group-label{display:block;padding:4px 16px 2px;color:#5d6d66;font-size:.7rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.fhf-account-menu .fhf-account-group a{padding-left:24px}
.fhf-account-menu .fhf-account-langs{display:flex;flex-wrap:wrap;align-items:center;gap:4px;padding:6px 16px;border-top:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb}
.fhf-account-menu .fhf-account-langs .fhf-account-group-label{width:100%;padding:0 0 2px}
.fhf-account-menu .fhf-account-langs a{flex:1;display:inline-flex!important;align-items:center;justify-content:center;min-height:28px!important;padding:0 6px!important;border:1px solid #e5e7eb;border-radius:4px;font-size:.75rem!important;font-weight:700}
.fhf-account-menu .fhf-account-langs a[aria-current=true]{border-color:#00664a;color:#00664a;background:#eef6f2}
.member-header-avatar{border-radius:999px;object-fit:cover;background:#eef4f1}
