/* INVARIO - promo cards in the Platform and Who it's for panels.
   Loaded after the built stylesheets. Each panel names its own grid: the Platform
   panel runs the six asset links 3+3 across two tracks beside the card, the Who
   it's for panel keeps its single Roles column beside it. Below 1280px there is
   no room for a card, so both panels keep the arrangement they had. */
.mega__promo{display:none}

@media (min-width:1280px){
  .nav #menu-platform.mega--promo{width:min(1332px,100%);
    grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) minmax(0,1fr) 320px}
  .nav #menu-platform .mega__col--wide{grid-column:2 / 4}
  .nav #menu-family-offices.mega--promo{width:min(1152px,100%);
    grid-template-columns:repeat(2,minmax(0,1fr)) 320px}
  .nav #menu-family-offices .mega__col--wide{grid-column:1 / 3}
  .nav .mega__promo{display:block;min-width:0;align-self:start}
}

@media (max-width:1279px){
  /* no card: the assets go back to one stacked list in the second column */
  .nav #menu-platform .mega__col--wide{grid-column:auto}
  .nav #menu-platform .mega__col--wide .mega__list{display:flex;flex-direction:column;gap:4px}
}

.promo{display:flex;flex-direction:column;gap:24px;padding:24px;border-radius:12px;
  background:var(--gradient-graphite,#111213);color:var(--porcelain,#f2f1ed)}
.promo__art{display:block;width:100%;height:auto;border-radius:10px;border:1px solid rgba(242,241,237,.15)}
.promo__art .d{font-family:var(--font-display,system-ui,sans-serif)}
.promo__text{display:flex;flex-direction:column;gap:8px}
.promo__title{margin:0;font-family:var(--font-display,system-ui,sans-serif);font-size:22px;line-height:28px;font-weight:500}
.promo__body{margin:0;font-size:14px;line-height:20px;color:var(--sheen,#e5e7e9)}
/* the site's Button recipe, restated: that one is scope-hashed to its component */
.promo__btn{display:inline-flex;align-items:center;justify-content:space-between;gap:32px;width:100%;height:56px;
  padding-inline:24px;border:1px solid transparent;border-radius:100px;background:var(--porcelain,#f2f1ed);
  color:var(--carbon,#111213);font-family:var(--font-sans,system-ui,sans-serif);font-size:16px;line-height:24px;
  font-weight:500;white-space:nowrap;text-decoration:none;transition:background-color .16s ease}
.promo__btn:hover{background:#fff}
.promo__btn:focus-visible{outline:3px solid #72787f;outline-offset:2px}
.promo__btn img{width:19.5px;height:19.5px;margin:-.75px;flex-shrink:0;transition:transform .16s ease}
.promo__btn:hover img{transform:translate(2px,-2px)}
