/* B-124: the ministries on a development partner's card (Foreign Financing page) as a row of small icons; the full
   name and the 2027 amount are in each icon's tooltip (data-tip, shown by cur.js on hover and on focus). */
.ffcard .ffmis{display:flex;flex-wrap:wrap;gap:4px;margin:4px 0 6px;padding:0}
.ffcard .ffmi{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;flex:0 0 28px;box-sizing:border-box;border-radius:4px;background:#EEF3F8;color:#002855;cursor:default;line-height:0}
.ffcard .ffmi svg{width:16px;height:16px;display:block;pointer-events:none}
.ffcard .ffmi:hover,.ffcard .ffmi:focus-visible{background:#002855;color:#fff;outline:none}
/* the general tooltip (z-index 200) sat under the card (220); on this page it rises above it, so the icons' tooltips
   (and the contact buttons') are readable. Partner marks (data-k) show no tooltip (cur.js, B-123), so nothing doubles. */
.ftt{z-index:230}
/* touch screens hide the general tooltip (site.css); a tapped icon on the card takes focus, so its name still shows */
@media (hover:none){body:has(.ffcard [data-tip]:focus) .ftt:not([hidden]){display:block}}
.ffcard .ffmi:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #002855}
