/* Integrations page.
   The six categories are laid out on the site's own .frow / .frow.rev feature
   rows — the same alternating pattern the module pages use — with the logo
   grid on one side and the text on the other, swapping sides each row.

   Also here: the open chip that ends the Pro column, and the bank list. */

/* ---- category rows ----
   All six alternate on the site's own .frow / .frow.rev pattern. The logo side
   is a filling grid rather than loose chips: tiles share one size and stretch
   across the column, and an odd last tile spans the full width — so a category
   with a single tool still fills its half instead of floating in dead space. */

/* the glyph sits on the heading line rather than floating above it */
.ftext .fh{display:flex;align-items:center;gap:12px}
.ftext .fh .ii{
  width:26px;height:26px;flex:none;display:grid;place-items:center;
  background:none;border:0;border-radius:0;margin:0;color:#8A7F78}
.ftext .fh .ii svg{
  width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;
  stroke-linecap:round;stroke-linejoin:round}
.ftext .fh .fht{display:block;min-width:0}

.ftext .ibul{margin-top:0}
.ftext .lead{margin-bottom:18px}

/* ---- the logo side fills its column ---- */
.ipanel .itools{
  display:grid;grid-template-columns:repeat(2,1fr);gap:12px;align-content:center}
.ipanel .itool{
  min-height:104px;
  display:flex;align-items:center;justify-content:center;gap:10px;
  flex-wrap:wrap;text-align:center;
  padding:18px 16px;background:#fff}
/* a lone logo, or the odd one at the end of a set, takes the whole width */
.ipanel .itool:last-child:nth-child(odd){grid-column:1/-1}
/* the marks are fixed-size art, so scale them as a set rather than per logo */
.ipanel .itool.haslogo .lgm{transform:scale(1.18);transform-origin:center}
.ipanel .itool em{flex:none}

/* ---- the Pro column does not stop ---- */
.itool.itool-open{
  display:inline-flex; align-items:center; gap:9px;
  font-family:'Sora', system-ui, sans-serif;
  font-size:13.5px; font-weight:600;
  color:#C64683; background:transparent;
  border:1px dashed rgba(198,70,131,.5);
  border-radius:11px; padding:9px 14px;
}
.itool.itool-open b{ font-size:18px; line-height:1; font-weight:400; }

/* ---- bank list ----
   The supplied GIRO list has no file-type data and deliberately shows neither
   market nor product, so the table became a single alphabetical list of legal
   entity names. Legal names carry their own disambiguation — three different
   Standard Chartered entities read as three banks without a country column. */
.banklist{
  columns:2; column-gap:56px;
  max-width:920px; margin:26px auto 0;
}
.bli{
  display:block; break-inside:avoid;
  font-size:14.4px; line-height:1.45; color:var(--l-ink);
  padding:11px 0; border-bottom:1px solid var(--l-line);
}
.banknote{ max-width:920px; margin-left:auto; margin-right:auto; justify-content:center; }

@media(max-width:900px){
  /* stacked, the logos should follow the text they belong to */
  .frow .ipanel{ order:2; }
}
@media(max-width:620px){
  .ipanel .itool{ min-height:88px; padding:15px 13px; }
  .ipanel .itool.haslogo .lgm{ transform:none; }
}
@media(max-width:760px){
  .banklist{ columns:1; }
}
@media(max-width:640px){
  .banklist, .banknote{ max-width:100%; }
}
