/* ============================================================
   UBC - TEMPORARY HIDE: Solutions + Partnerships   (CSS only)
   Paste into: Asset Injector > CSS Injector  (works standalone,
   the JS injector is optional).
   Remove/disable the injector to restore everything.
   ============================================================ */

/* 1. Section "Suite of solutions that drive results" */
.block-views-blocksolutions-solution-listing,
.view-solutions.view-display-id-solution_listing { display: none !important; }

/* 2. Any link / CTA button to the hidden paths (EN + BM) */
a[href*="/solutions"],
a[href*="/partnerships"] { display: none !important; }

/* 3. Collapse the wrapper (nav item, card, views row) only when EVERY
      link inside it points to a hidden path - so mixed menus/sections
      keep their remaining items. */
:is(li, .card, .views-row, .swiper-slide, .carousel-item):has(a[href*="/solutions"], a[href*="/partnerships"]):not(:has(a:not([href*="/solutions"]):not([href*="/partnerships"]))) {
  display: none !important;
}

/* 4. Footer: whole "Partnerships" column (its heading is the link) */
#footer-collapse > div:has(> a[href*="/partnerships"]) { display: none !important; }
