.elementor-widget-container .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-container .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-9 .elementor-element.elementor-element-0daf655{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--gap:42px 42px;--row-gap:42px;--column-gap:42px;--margin-top:0px;--margin-bottom:-100px;--margin-left:0px;--margin-right:0px;--padding-top:30px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;--z-index:1000;}.elementor-widget-image .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-image .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-image .widget-image-caption{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-9 .elementor-element.elementor-element-36695d3.elementor-element{--align-self:center;}.elementor-widget-html .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-html .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}@media(min-width:768px){.elementor-9 .elementor-element.elementor-element-0daf655{--content-width:1280px;}}/* Start custom CSS for image, class: .elementor-element-36695d3 */.glass-card {
  width: 85px;

  padding: 8px 8px;

  border-radius: 60px;
  opacity: 1;

  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);

  border: 1px solid rgba(255, 255, 255, 0.3);

  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 6px 3px rgba(255, 255, 255, 0.3);

  position: relative;
  overflow: hidden;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-543809b */.cbqa-site-nav,
  .cbqa-site-nav * {
    box-sizing: border-box;
  }

  .cbqa-site-nav {
    --cbqa-teal: rgba(48, 158, 168, 1);
    --cbqa-teal-dim: rgba(48, 158, 168, 1);
    font-family: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    /* Glass surfaces (aligned with .glass-card — nav sets its own width/padding where needed) */
    --cbqa-glass-bg: rgba(0, 0, 0, 0.25);
    --cbqa-glass-blur: 5px;
    --cbqa-glass-border: 1px solid rgba(255, 255, 255, 0.3);
    --cbqa-glass-shadow:
      0 8px 32px rgba(0, 0, 0, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.5),
      inset 0 -1px 0 rgba(255, 255, 255, 0.1),
      inset 0 0 6px 3px rgba(255, 255, 255, 0.3);
    --cbqa-text: #fff;
    --cbqa-muted: rgba(255, 255, 255, 0.75);
    --cbqa-left-w: 260px;
    --cbqa-right-w: 300px;
    /* Nested mega: left + divider + column-gap×2 + right + horizontal padding fudge */
    --cbqa-mega-min: calc(var(--cbqa-left-w) + 1px + var(--cbqa-right-w) + 24px + 40px);
    --cbqa-radius-pill: 60px;
    --cbqa-radius-panel: 14px;
    /* Same value for bar→panel gap (bridge) and inner glass inset — keeps all dropdowns aligned */
    --cbqa-dropdown-gap: 18px;
    /* CBQA Global Rules: single-column flyout (fixed min width — tune if labels wrap) */
    --cbqa-simple-panel-min: 280px;
    /* Sectors: two equal columns + gap + divider (non-nested flat list) */
    --cbqa-sectors-panel-width: min(36rem, calc(100vw - 32px));
    /* Search bar below nav — cap width, centered */
    --cbqa-search-bar-max: min(42rem, calc(100vw - 32px));
    /* Dim layer behind nav + search when search is open */
    --cbqa-search-overlay-bg: rgba(15, 23, 42, 0.58);
    --cbqa-search-overlay-blur: 4px;
    position: relative;
    z-index: 1000;
    isolation: isolate;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
  }

  /* Full-screen dim behind nav + search (above page content, below bar/panel) */
  .cbqa-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: var(--cbqa-search-overlay-bg);
    backdrop-filter: blur(var(--cbqa-search-overlay-blur));
    -webkit-backdrop-filter: blur(var(--cbqa-search-overlay-blur));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
  }

  .cbqa-search-overlay.cbqa-search-overlay--open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Glass pill + separate search control on one row */
  .cbqa-nav-shell {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 42px;
    width: 100%;
    min-width: 0;
    position: relative;
    z-index: 1;
  }

  .cbqa-mainbar {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    flex-wrap: wrap;
    min-width: 0;
    width: auto;
    gap: 4px 8px;
    padding: 8px 16px;
    border-radius: var(--cbqa-radius-pill);
    opacity: 1;
    /* Blur lives on ::before so dropdown panels are not nested inside a backdrop root — their glass matches the bar */
    background: transparent;
    border: none;
    box-shadow: none;
    position: relative;
    /* Must stay visible — overflow:hidden clips position:absolute dropdowns inside <li> */
    overflow: visible;
  }

  .cbqa-mainbar::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 0;
    pointer-events: none;
    background: var(--cbqa-glass-bg);
    backdrop-filter: blur(var(--cbqa-glass-blur));
    -webkit-backdrop-filter: blur(var(--cbqa-glass-blur));
    border: var(--cbqa-glass-border);
    box-shadow: var(--cbqa-glass-shadow);
  }

  .cbqa-mainbar > .cbqa-mainbar__list {
    position: relative;
    z-index: 1;
  }

  /* Reusable glass (e.g. Elementor) — visual only; set width/padding on the element */
  .cbqa-site-nav .glass-card:not(.cbqa-mainbar) {
    opacity: 1;
    background: var(--cbqa-glass-bg);
    backdrop-filter: blur(var(--cbqa-glass-blur));
    -webkit-backdrop-filter: blur(var(--cbqa-glass-blur));
    border: var(--cbqa-glass-border);
    box-shadow: var(--cbqa-glass-shadow);
    position: relative;
    overflow: hidden;
  }

  .cbqa-mainbar__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 6px 4px;
    min-width: 0;
    width: 100%;
  }

  /* Squircle search — same glass system as .cbqa-mainbar */
  .cbqa-search-toggle {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0;
    padding: 0;
    border: var(--cbqa-glass-border);
    border-radius: 14px;
    background: var(--cbqa-glass-bg);
    backdrop-filter: blur(var(--cbqa-glass-blur));
    -webkit-backdrop-filter: blur(var(--cbqa-glass-blur));
    box-shadow: var(--cbqa-glass-shadow);
    color: var(--cbqa-text);
    cursor: pointer;
    position: relative;
    transition: background 0.18s ease, transform 0.12s ease;
  }

  .cbqa-search-toggle:hover {
    background: var(--cbqa-glass-bg);
  }

  .cbqa-search-toggle:focus-visible {
    outline: 2px solid var(--cbqa-teal);
    outline-offset: 2px;
  }

  .cbqa-search-toggle:active {
    transform: none;
  }

  .cbqa-search-toggle svg {
    display: block;
    width: 24px;
    height: 24px;
  }

  .cbqa-region-toggle {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 60px;
    margin: 0;
    padding: 0 16px;
    border: var(--cbqa-glass-border);
    border-radius: 999px;
    background: var(--cbqa-glass-bg);
    backdrop-filter: blur(var(--cbqa-glass-blur));
    -webkit-backdrop-filter: blur(var(--cbqa-glass-blur));
    box-shadow: var(--cbqa-glass-shadow);
    color: var(--cbqa-text);
    
    
    font-weight: 400;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.12s ease;
  }

  .cbqa-region-toggle:hover {
    background: var(--cbqa-glass-bg);
  }

  .cbqa-region-toggle:focus-visible {
    outline: 2px solid var(--cbqa-teal);
    outline-offset: 2px;
  }

  .cbqa-region-toggle:active {
    transform: none;
  }

  .cbqa-region-toggle__icon {
    width: 24px;
    height: 24px;
    display: block;
    opacity: 0.92;
  }

  .cbqa-region-toggle__chev {
    width: 16px;
    height: 16px;
    display: block;
    opacity: 0.85;
  }

  /* Pill search bar — same glass as menu, width capped + centered */
  .cbqa-search-panel {
    display: none;
    margin-top: 12px;
    width: 100%;
    max-width: var(--cbqa-search-bar-max);
    margin-left: auto;
    margin-right: auto;
    min-width: 0;
    position: relative;
    z-index: 1;
  }

  .cbqa-search-panel.cbqa-search-panel--open {
    display: block;
  }

  .cbqa-search-panel__shell {
    display: flex;
    align-items: center;
    gap: 12px 16px;
    width: 100%;
    padding: 14px 20px 14px 24px;
    border-radius: 20px;
    background: var(--cbqa-glass-bg);
    backdrop-filter: blur(var(--cbqa-glass-blur));
    -webkit-backdrop-filter: blur(var(--cbqa-glass-blur));
    border: var(--cbqa-glass-border);
    box-shadow: var(--cbqa-glass-shadow);
  }

  .cbqa-search-panel__field {
    flex: 1 1 auto;
    min-width: 0;
  }

  .cbqa-search-panel__input {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--cbqa-text);
    
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    outline: none;
  }

  .cbqa-search-panel__input::placeholder {
    color: var(--cbqa-muted);
  }

  /* Use a div, not <hr> — WordPress / Elementor often strip <hr> from HTML widgets */
  .cbqa-search-panel__divider {
    display: block;
    width: 100%;
    height: 1px;
    margin: 10px 0 0;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, 0.22);
  }

  .cbqa-search-panel__hint {
    margin: 10px 0 0;
    padding: 0;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.3;
    color: var(--cbqa-muted);
  }

  .cbqa-search-results {
    margin-top: 10px;
    max-height: 260px;
    overflow: auto;
    scrollbar-width: thin;
  }

  .cbqa-search-results ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .cbqa-search-results a {
    display: block;
    padding: 9px 10px;
    border-radius: 6px;
    color: var(--cbqa-muted);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 300;
    transition: background 0.12s, color 0.12s;
  }

  .cbqa-search-results a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--cbqa-text);
  }

  .cbqa-search-results__state {
    padding: 6px 2px 2px;
    color: var(--cbqa-muted);
    font-size: 0.78rem;
  }

  .cbqa-search-panel__close {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: var(--cbqa-glass-border);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(var(--cbqa-glass-blur));
    -webkit-backdrop-filter: blur(var(--cbqa-glass-blur));
    color: var(--cbqa-text);
    cursor: pointer;
    transition: background 0.18s ease;
  }

  .cbqa-search-panel__close:hover {
    background: rgba(255, 255, 255, 0.14);
  }

  .cbqa-search-panel__close:focus-visible {
    outline: 2px solid var(--cbqa-teal);
    outline-offset: 2px;
  }

  .cbqa-search-panel__close svg {
    width: 18px;
    height: 18px;
    display: block;
  }

  @media (max-width: 720px) {
    .cbqa-search-panel__shell {
      flex-wrap: wrap;
      border-radius: var(--cbqa-radius-panel);
      padding: 12px 16px;
    }

    .cbqa-search-panel__input {
      font-size: 1.1rem;
    }
  }

  .cbqa-mainbar__item {
    position: relative;
    flex: 0 0 auto;
  }

  .cbqa-mainbar__item--dropdown {
    overflow: visible;
  }

  .cbqa-mainbar__link {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: var(--cbqa-radius-pill);
    color: var(--cbqa-text);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition: background 0.18s ease, color 0.18s ease;
  }

  .cbqa-mainbar__link:hover,
  .cbqa-mainbar__link:focus-visible {
    background: var(--cbqa-teal-dim);
    color: #fff;
    outline: none;
  }

  .cbqa-mainbar__trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--cbqa-radius-pill);
    border: none;
    background: transparent;
    color: var(--cbqa-text);
    
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.18s ease, color 0.18s ease;
  }

  .cbqa-mainbar__trigger:focus-visible {
    outline: 2px solid var(--cbqa-teal);
    outline-offset: 2px;
  }

  .cbqa-mainbar__trigger:hover,
  .cbqa-mainbar__trigger:focus-visible {
    background: var(--cbqa-teal-dim);
    color: #fff;
  }

  .cbqa-mainbar__chev {
    flex-shrink: 0;
    opacity: 0.85;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  /* Keep open dropdown trigger in same teal state */
  .cbqa-mainbar__item--dropdown:hover .cbqa-mainbar__trigger,
  .cbqa-mainbar__item--dropdown:focus-within .cbqa-mainbar__trigger {
    background: var(--cbqa-teal-dim);
    color: #fff;
    box-shadow: none;
  }

  .cbqa-mainbar__item--dropdown:hover .cbqa-mainbar__chev,
  .cbqa-mainbar__item--dropdown:focus-within .cbqa-mainbar__chev {
    transform: rotate(180deg);
    opacity: 1;
  }

  /*
    Dropdown shell — sit flush under the trigger (top: 100%), then use padding-top as an
    invisible “bridge” so the pointer never crosses a dead gap where :hover is lost.
    (A gap from top: calc(100% + Npx) sits below the <li> box and closes the menu.)
  */
  .cbqa-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    /* Space under the pill bar + hover bridge (keep ≥12px so hover doesn’t drop) */
    padding-top: var(--cbqa-dropdown-gap);
    min-width: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  /*
    Mega: stay only as wide as the left list until a row / nested panel is hovered,
    then grow to the full two-column width.
  */
  .cbqa-dropdown.cbqa-dropdown--mega {
    min-width: 100%;
    width: fit-content;
    max-width: min(calc(100vw - 32px), 720px);
  }

  /* Wide layout only when a row with nested content is active (not leaf rows like Training/Audit) */
  .cbqa-dropdown.cbqa-dropdown--mega:has(.cbqa-mega-row--nested:hover),
  .cbqa-dropdown.cbqa-dropdown--mega:has(.cbqa-mega-row--nested:focus-within),
  .cbqa-dropdown.cbqa-dropdown--mega:has(.cbqa-mega-sub:hover),
  .cbqa-dropdown.cbqa-dropdown--mega:has(.cbqa-mega-sub:focus-within),
  .cbqa-dropdown.cbqa-dropdown--mega:has(.cbqa-mega-sub .cbqa-mega-panel:hover) {
    width: min(var(--cbqa-mega-min), calc(100vw - 32px));
    max-width: min(calc(100vw - 32px), 720px);
  }

  /* Keep wide panels inside the viewport when the trigger sits on the right */
  .cbqa-mainbar__item--align-end .cbqa-dropdown {
    left: auto;
    right: 0;
  }

  .cbqa-mainbar__item--dropdown:hover .cbqa-dropdown,
.cbqa-mainbar__item--dropdown:focus-within .cbqa-dropdown,
.cbqa-mainbar__item--dropdown.is-open .cbqa-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

  /*
    Simple flyouts use the same .cbqa-mega wrapper as Services (bridge + 18px inset),
    so spacing matches. Do not set padding shorthand on .cbqa-dropdown--simple — it would override
    .cbqa-dropdown { padding-top } and break hover + gap parity.
  */
  .cbqa-dropdown.cbqa-dropdown--simple {
    /*
      Explicit width — max-content was shrink-wrapping to narrow link text because
      .cbqa-mega { width:100% } could not expand an max-content parent.
    */
    box-sizing: border-box;
    width: min(var(--cbqa-simple-panel-min), calc(100vw - 32px));
    min-width: min(var(--cbqa-simple-panel-min), calc(100vw - 32px));
    max-width: min(calc(100vw - 32px), 720px);
  }

  /* Sectors: one panel, two columns (6 + 6), vertical divider — not a nested mega */
  .cbqa-dropdown.cbqa-dropdown--sectors {
    box-sizing: border-box;
    width: var(--cbqa-sectors-panel-width);
    min-width: min(280px, calc(100vw - 32px));
    max-width: min(calc(100vw - 32px), 720px);
  }

  .cbqa-mega--sectors .cbqa-sectors-cols {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
    column-gap: 16px;
    align-items: stretch;
    width: 100%;
    min-width: 0;
  }

  .cbqa-mega--sectors .cbqa-sectors-cols > ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
  }

  .cbqa-mega--sectors .cbqa-sectors-vline {
    width: 1px;
    background: rgba(255, 255, 255, 0.22);
    align-self: stretch;
    margin-top: 6px;
    margin-bottom: 6px;
  }

  @media (max-width: 720px) {
    .cbqa-mega--sectors .cbqa-sectors-cols {
      grid-template-columns: 1fr;
      row-gap: 12px;
    }

    .cbqa-mega--sectors .cbqa-sectors-vline {
      display: none;
    }

    .cbqa-mega--sectors .cbqa-sectors-col--second {
      border-top: 1px solid rgba(255, 255, 255, 0.22);
      padding-top: 8px;
    }
  }

  /* Two-column mega (Services) — same glass tokens; overflow visible for row ::after bridge */
  .cbqa-mega {
    width: 100%;
    max-width: min(calc(100vw - 32px), 720px);
    border-radius: var(--cbqa-radius-panel);
    padding: var(--cbqa-dropdown-gap);
    opacity: 1;
    background: rgba(10, 10, 10, 0.55);
    backdrop-filter: blur(var(--cbqa-glass-blur));
    -webkit-backdrop-filter: blur(var(--cbqa-glass-blur));
    border: var(--cbqa-glass-border);
    box-shadow: var(--cbqa-glass-shadow);
    position: relative;
    overflow: visible;
    transition: max-width 0.2s ease;
  }

  .cbqa-mega-inner {
    display: grid;
    /* Column 1 fixed width — does not grow when nested opens (only col 3 gains width) */
    grid-template-columns: var(--cbqa-left-w) 0 0;
    align-items: stretch;
    min-height: 0;
    width: 100%;
    min-width: 0;
    position: relative;
    isolation: isolate;
    transition: grid-template-columns 0.2s ease, min-height 0.2s ease, min-width 0.2s ease;
  }

  .cbqa-mega-inner:has(.cbqa-mega-row--nested:hover),
  .cbqa-mega-inner:has(.cbqa-mega-row--nested:focus-within),
  .cbqa-mega-inner:has(.cbqa-mega-sub:hover),
  .cbqa-mega-inner:has(.cbqa-mega-sub:focus-within),
  .cbqa-mega-inner:has(.cbqa-mega-sub .cbqa-mega-panel:hover) {
    grid-template-columns: var(--cbqa-left-w) 1px var(--cbqa-right-w);
    column-gap: 12px;
    min-width: min(var(--cbqa-mega-min), calc(100vw - 64px));
  }

  .cbqa-mega-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: var(--cbqa-left-w);
    max-width: var(--cbqa-left-w);
    min-width: 0;
    box-sizing: border-box;
  }

  .cbqa-mega-vline {
    width: 1px;
    background: rgba(255, 255, 255, 0.22);
    align-self: stretch;
    opacity: 0;
    transition: opacity 0.15s ease;
    position: relative;
    z-index: 2;
    /* Inset from top/bottom of the mega so the line doesn’t touch the card corners */
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .cbqa-mega-inner:has(.cbqa-mega-row--nested:hover) .cbqa-mega-vline,
  .cbqa-mega-inner:has(.cbqa-mega-row--nested:focus-within) .cbqa-mega-vline,
  .cbqa-mega-inner:has(.cbqa-mega-sub:hover) .cbqa-mega-vline,
  .cbqa-mega-inner:has(.cbqa-mega-sub:focus-within) .cbqa-mega-vline,
  .cbqa-mega-inner:has(.cbqa-mega-sub .cbqa-mega-panel:hover) .cbqa-mega-vline {
    opacity: 1;
  }

  /*
    Hover bridge only on rows that open the nested column (.cbqa-mega-row--nested).
  */
  .cbqa-mega-row {
    position: relative;
    z-index: 3;
  }

  .cbqa-mega-row--nested::after {
    content: "";
    position: absolute;
    left: 100%;
    top: 0;
    bottom: 0;
    width: 56px;
    z-index: 4;
  }

  /* Services left column: match nested panel links (.cbqa-mega-panel a) */
  .cbqa-mega-left-item {
    padding: 9px 10px;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.12s ease, color 0.12s ease;
    color: var(--cbqa-muted);
    font-size: 0.9375rem;
    font-weight: 300;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    outline: none;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .cbqa-mega-left-item:hover,
  .cbqa-mega-row:hover .cbqa-mega-left-item,
  .cbqa-mega-row:focus-within .cbqa-mega-left-item {
    background: rgba(255, 255, 255, 0.06);
    color: var(--cbqa-text);
  }

  .cbqa-mega-left-item .cbqa-mega-title {
    font-weight: inherit;
    letter-spacing: normal;
    flex: 0 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
    word-wrap: break-word;
  }

  .cbqa-mega-left-item .cbqa-mega-chev {
    margin-left: auto;
    flex-shrink: 0;
    opacity: 0.55;
    transition: opacity 0.15s;
    align-self: center;
  }

  .cbqa-mega-row:hover .cbqa-mega-left-item .cbqa-mega-chev,
  .cbqa-mega-row:focus-within .cbqa-mega-left-item .cbqa-mega-chev {
    opacity: 1;
  }

  .cbqa-mega-sub {
    position: relative;
    z-index: 5;
    padding: 4px 0 4px 16px;
    align-self: stretch;
    min-width: 0;
    overflow: visible;
  }

  .cbqa-mega-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    padding: 4px 12px 4px 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.12s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 6;
  }

  .cbqa-mega-panel ul,
  .cbqa-mega--simple ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .cbqa-mega-panel li,
  .cbqa-mega--simple li {
    padding: 0;
    border-radius: 6px;
    overflow-wrap: anywhere;
    word-wrap: break-word;
  }

  .cbqa-mega-panel a,
  .cbqa-mega--simple a {
    display: block;
    padding: 9px 10px;
    border-radius: 6px;
    color: var(--cbqa-muted);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 300;
    transition: background 0.12s, color 0.12s;
  }

  .cbqa-mega-panel a:hover,
  .cbqa-mega--simple a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--cbqa-text);
  }

  /* Match left row to panel by data-mega-target (avoids nth-child drift when HTML changes) */
  .cbqa-mega-inner:has(.cbqa-mega-row[data-mega-target="cert"]:hover) .cbqa-mega-panel[data-mega-target="cert"],
  .cbqa-mega-inner:has(.cbqa-mega-row[data-mega-target="cert"]:focus-within) .cbqa-mega-panel[data-mega-target="cert"],
  .cbqa-mega-inner:has(.cbqa-mega-sub .cbqa-mega-panel[data-mega-target="cert"]:hover) .cbqa-mega-panel[data-mega-target="cert"],
  .cbqa-mega-inner:has(.cbqa-mega-row[data-mega-target="sust"]:hover) .cbqa-mega-panel[data-mega-target="sust"],
  .cbqa-mega-inner:has(.cbqa-mega-row[data-mega-target="sust"]:focus-within) .cbqa-mega-panel[data-mega-target="sust"],
  .cbqa-mega-inner:has(.cbqa-mega-sub .cbqa-mega-panel[data-mega-target="sust"]:hover) .cbqa-mega-panel[data-mega-target="sust"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Desktop: compact until a left row / nested column / nested panel is active */
  @media (min-width: 721px) {
    .cbqa-dropdown.cbqa-dropdown--mega:not(:has(.cbqa-mega-row--nested:hover)):not(:has(.cbqa-mega-row--nested:focus-within)):not(:has(.cbqa-mega-sub:hover)):not(:has(.cbqa-mega-sub:focus-within)):not(:has(.cbqa-mega-sub .cbqa-mega-panel:hover))
      .cbqa-mega {
      max-width: min(calc(var(--cbqa-left-w) + 44px), calc(100vw - 32px));
    }
  }

  @media (max-width: 720px) {
    .cbqa-nav-shell {
      gap: 8px;
      align-items: center;
    }

    .cbqa-mainbar {
      justify-content: flex-start;
      padding: 10px 12px;
    }

    .cbqa-mainbar__list {
      justify-content: flex-start;
    }

    .cbqa-dropdown {
      left: 0;
      right: auto;
      max-width: calc(100vw - 32px);
    }

    .cbqa-mega {
      max-width: calc(100vw - 32px);
    }

    .cbqa-mega-inner {
      grid-template-columns: 1fr !important;
      min-height: unset !important;
    }

    .cbqa-mega-main {
      width: 100%;
      max-width: none;
    }

    .cbqa-mega-inner:has(.cbqa-mega-row--nested:hover),
    .cbqa-mega-inner:has(.cbqa-mega-row--nested:focus-within),
    .cbqa-mega-inner:has(.cbqa-mega-sub:hover),
    .cbqa-mega-inner:has(.cbqa-mega-sub:focus-within),
    .cbqa-mega-inner:has(.cbqa-mega-sub .cbqa-mega-panel:hover) {
      min-height: unset;
    }

    .cbqa-mega-row--nested::after {
      display: none;
    }

    .cbqa-mega-vline {
      width: 100%;
      height: 1px;
      margin: 12px 0;
      opacity: 1;
    }

    .cbqa-mega-sub {
      position: relative;
      min-height: 160px;
      padding: 8px 0;
      overflow: visible;
    }

    .cbqa-mega-panel {
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
    }
  }/* End custom CSS */