.elementor-kit-9098{--e-global-color-primary:#0A3D66;--e-global-color-secondary:#005BAB;--e-global-color-text:#54595F;--e-global-color-accent:#E7C477;--e-global-color-33adad3:#0A3D66;--e-global-color-204cf63:#FFFFFF;--e-global-color-fae2ce4:#DAA436;--e-global-color-b89ed52:#ECD08B;--e-global-color-fd5a83d:#7A7A7A;--e-global-color-a70eb85:#54595F;--e-global-color-520b11b:#DCEBF7;--e-global-color-12e940e:#DBE4EC;--e-global-color-27b2c49:#F4F7FA;--e-global-color-ba3c1db:#BCD4EA;--e-global-color-31a8008:#442479;--e-global-color-3717e2f:#D4AF37;--e-global-color-af099e6:#005BAB;--e-global-color-0a98fff:#20A1FC;--e-global-color-d3323b3:#0F5A99;--e-global-color-a67cd5f:#0F5A992E;--e-global-color-c6be798:#7A7A7A33;--e-global-color-51eedc5:#20A1FC17;--e-global-color-8e5ab38:#F1F3F5;--e-global-color-63e8e6c:#E7C477;--e-global-color-de27143:#DAA436;--e-global-color-5d39bb9:#0944BF;--e-global-color-e2eb82d:#0944BFC4;--e-global-color-2576b5b:#06379F;--e-global-color-1be5b2e:#3a3a3a;--e-global-color-55aed64:#343739;--e-global-color-b65daa5:#000000E3;--e-global-color-5e5d2ce:#0F5A99A3;--e-global-color-6d4a9d5:#0F5A99B5;--e-global-color-730d971:#0F5A99CF;--e-global-typography-primary-font-family:"Montserrat";--e-global-typography-primary-font-size:64px;--e-global-typography-primary-font-weight:200;--e-global-typography-primary-text-transform:uppercase;--e-global-typography-primary-line-height:1.05em;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-size:26px;--e-global-typography-secondary-font-weight:300;--e-global-typography-secondary-text-transform:uppercase;--e-global-typography-secondary-line-height:1.8em;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-size:16px;--e-global-typography-text-font-weight:300;--e-global-typography-text-line-height:1.8em;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-size:13px;--e-global-typography-accent-font-weight:400;--e-global-typography-accent-text-transform:uppercase;--e-global-typography-accent-line-height:1.8em;background-color:#FFFFFF;color:#7A7A7A;font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );line-height:var( --e-global-typography-text-line-height );}.elementor-kit-9098 e-page-transition{background-color:#FFBC7D;}.elementor-kit-9098 a{color:#005BAB;}.elementor-kit-9098 a:hover{color:#0A3D66;}.elementor-kit-9098 h1{color:#0A3D66;font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );text-transform:var( --e-global-typography-primary-text-transform );line-height:var( --e-global-typography-primary-line-height );}.elementor-kit-9098 h2{font-family:"Montserrat", Sans-serif;font-size:28px;font-weight:300;text-transform:uppercase;letter-spacing:2px;}.elementor-kit-9098 h3{color:var( --e-global-color-secondary );font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );text-transform:var( --e-global-typography-secondary-text-transform );line-height:var( --e-global-typography-secondary-line-height );}.elementor-kit-9098 h4{color:#54595F;font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );line-height:var( --e-global-typography-text-line-height );}.elementor-kit-9098 h5{color:#54595F;font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );line-height:var( --e-global-typography-text-line-height );}.elementor-kit-9098 h6{color:#54595F;font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );line-height:var( --e-global-typography-text-line-height );}.elementor-kit-9098 button,.elementor-kit-9098 input[type="button"],.elementor-kit-9098 input[type="submit"],.elementor-kit-9098 .elementor-button{font-family:"Roboto", Sans-serif;font-size:16px;font-weight:600;text-transform:uppercase;line-height:1.8px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1280px;}.e-con{--container-max-width:1280px;}.elementor-widget:not(:last-child){margin-block-end:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1366px){.elementor-kit-9098{--e-global-typography-primary-font-size:64px;--e-global-typography-primary-line-height:1.8em;--e-global-typography-secondary-font-size:26px;--e-global-typography-text-font-size:16px;--e-global-typography-accent-font-size:13px;font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-kit-9098 h1{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );}.elementor-kit-9098 h2{font-size:28px;letter-spacing:2px;}.elementor-kit-9098 h3{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}.elementor-kit-9098 h4{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-kit-9098 h5{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-kit-9098 h6{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-kit-9098 button,.elementor-kit-9098 input[type="button"],.elementor-kit-9098 input[type="submit"],.elementor-kit-9098 .elementor-button{font-size:16px;line-height:1.8px;}}@media(max-width:1200px){.elementor-kit-9098{--e-global-typography-primary-font-size:48px;--e-global-typography-secondary-font-size:24px;--e-global-typography-text-font-size:16px;--e-global-typography-accent-font-size:13px;}.elementor-kit-9098 h2{font-size:26px;letter-spacing:2px;}.elementor-kit-9098 button,.elementor-kit-9098 input[type="button"],.elementor-kit-9098 input[type="submit"],.elementor-kit-9098 .elementor-button{font-size:16px;line-height:1.8px;}}@media(max-width:1024px){.elementor-kit-9098{--e-global-typography-primary-font-size:48px;--e-global-typography-primary-line-height:1.05em;--e-global-typography-secondary-font-size:24px;--e-global-typography-text-font-size:16px;--e-global-typography-accent-font-size:13px;font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-kit-9098 h1{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );}.elementor-kit-9098 h2{font-size:26px;line-height:1.05em;}.elementor-kit-9098 h3{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}.elementor-kit-9098 h4{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-kit-9098 h5{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-kit-9098 h6{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-kit-9098 button,.elementor-kit-9098 input[type="button"],.elementor-kit-9098 input[type="submit"],.elementor-kit-9098 .elementor-button{font-size:16px;line-height:1.8em;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:880px){.elementor-kit-9098{--e-global-typography-primary-font-size:36px;--e-global-typography-secondary-font-size:22px;--e-global-typography-text-font-size:16px;--e-global-typography-accent-font-size:13px;}.elementor-kit-9098 h2{font-size:24px;letter-spacing:2px;}.elementor-kit-9098 button,.elementor-kit-9098 input[type="button"],.elementor-kit-9098 input[type="submit"],.elementor-kit-9098 .elementor-button{font-size:16px;line-height:1.8px;}}@media(max-width:767px){.elementor-kit-9098{--e-global-typography-primary-line-height:1.05em;--e-global-typography-secondary-font-size:22px;--e-global-typography-secondary-line-height:1.2em;--e-global-typography-text-font-size:16px;--e-global-typography-accent-font-size:13px;--e-global-typography-accent-letter-spacing:4px;font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-kit-9098 h1{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );}.elementor-kit-9098 h3{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}.elementor-kit-9098 h4{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-kit-9098 h5{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-kit-9098 h6{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-kit-9098 button,.elementor-kit-9098 input[type="button"],.elementor-kit-9098 input[type="submit"],.elementor-kit-9098 .elementor-button{font-size:13px;line-height:1.8em;letter-spacing:2px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS */<script>
(function () {
  // Desired order for each filter row (match the visible labels, any case).
  var ORDERS = [
    ['all', 'debt financings', 'equity placements', 'm&a advisory', 'board advisory'],
    ['all', 'business services', 'consumer', 'energy', 'industrials', 'security', 'ai / data centers']
  ];

  function norm(t) {
    return (t || '').replace(/s+/g, ' ').trim().toLowerCase();
  }

  function rankFor(label, order) {
    // Exact match first, then "starts with" (so "Energy" also matches
    // "Energy and Energy Services", and "AI" matches "AI and Data Centers").
    var i = order.indexOf(label);
    if (i !== -1) return i;
    for (var j = 0; j < order.length; j++) {
      if (label.indexOf(order[j]) === 0 || order[j].indexOf(label) === 0) return j;
    }
    if (label.indexOf('ai') === 0) return order.indexOf('ai / data centers');
    return 999; // anything unexpected goes to the end
  }

  function reorder() {
    document.querySelectorAll('.e-filter').forEach(function (bar) {
      var items = Array.prototype.slice.call(bar.querySelectorAll('.e-filter-item'));
      if (items.length < 2) return;

      var labels = items.map(function (b) { return norm(b.textContent); });
      // Pick whichever order list matches this bar best (practices or sectors)
      var best = ORDERS[0], bestHits = -1;
      ORDERS.forEach(function (order) {
        var hits = labels.filter(function (l) { return rankFor(l, order) < 999; }).length;
        if (hits > bestHits) { best = order; bestHits = hits; }
      });

      items
        .map(function (b, idx) { return { el: b, rank: rankFor(labels[idx], best), idx: idx }; })
        .sort(function (a, b) { return a.rank - b.rank || a.idx - b.idx; })
        .forEach(function (o) { o.el.parentNode.appendChild(o.el); });
    });
  }

  if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', reorder);
  else reorder();
})();
</script>/* End custom CSS */