

/* =========================================================
   WHAT WE DO MEGA MENU
   COMPLETE FRESH CSS
========================================================= */


/* =========================================================
   DESKTOP 992px+
========================================================= */
/* Remove all tree connector lines */

/* Remove parent horizontal lines */
.msk-tree-parent::before {
    display: none !important;
}

/* Keep child horizontal lines */
.msk-tree-children a::before {
    display: block !important;
}

@media (min-width: 992px) {

    /* -----------------------------------------------------
       NAV PARENT
    ----------------------------------------------------- */

    .msk-mega--what-we-do {
        position: static !important;
    }


    /* -----------------------------------------------------
       MAIN DROPDOWN
    ----------------------------------------------------- */

    .msk-mega--what-we-do > .msk-what-we-do-menu {
        position: absolute !important;

        top: 100% !important;
        left: 50% !important;
        right: auto !important;

        width: 1180px !important;
        min-width: 1180px !important;
        max-width: calc(100vw - 40px) !important;

        margin: 0 !important;
        padding: 0 !important;

        transform: translateX(-50%) !important;

        border: 0 !important;
        background: transparent !important;

        z-index: 999999 !important;

        box-sizing: border-box !important;
    }


    /* -----------------------------------------------------
       PANEL
    ----------------------------------------------------- */

    .msk-what-we-do-panel {

        position: relative !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;

        padding: 30px 30px 25px !important;

        box-sizing: border-box !important;

        background:
            radial-gradient(
                circle at 45% 35%,
                #e5ddff 0%,
                #eef0ff 50%,
                #e2efff 100%
            ) !important;

       

        border-radius: 16px !important;

        box-shadow:
            0 22px 70px rgba(16, 24, 40, .10) !important;

        overflow: hidden !important;
    }


    /* -----------------------------------------------------
       INNER CONTAINER
    ----------------------------------------------------- */

    .msk-what-we-do-menu .container-fluid {

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        box-sizing: border-box !important;
    }


    /* -----------------------------------------------------
       ROW
    ----------------------------------------------------- */

    .msk-what-we-do-menu .row {

  width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;

    box-sizing: border-box !important;
    }


    /* =====================================================
       3 COLUMNS
    ===================================================== */

    .msk-what-we-do-menu .msk-wdw-column {

       position: relative !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    float: none !important;

    min-width: 0 !important;
    margin: 0 !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;

    box-sizing: border-box !important;
    transform: none !important;
    }


    /* -----------------------------------------------------
       COLUMN 1
    ----------------------------------------------------- */

    .msk-what-we-do-menu .msk-wdw-column:first-child {

        padding-left: 18px !important;
        padding-right: 24px !important;

        border-left: 0 !important;
    }


    /* -----------------------------------------------------
       COLUMN 2 + COLUMN 3
    ----------------------------------------------------- */

    .msk-what-we-do-menu .msk-wdw-column:nth-child(2),
    .msk-what-we-do-menu .msk-wdw-column:nth-child(3) {

        padding-left: 28px !important;
        padding-right: 24px !important;

       
    }


    /* =====================================================
       COLUMN HEADINGS
    ===================================================== */

    .msk-wdw-title {

        position: relative !important;
        font-family: Titillium Web;
        display: block !important;

        margin: 0 0 14px !important;
        padding: 0 !important;

        color: #000 !important;

        font-size: 18px !important;
        line-height: 1.2 !important;

        font-weight: 400 !important;
    }


    /* =====================================================
       TREE GROUP
    ===================================================== */

    .msk-tree-group {

        position: relative !important;

        margin: 0 0 20px !important;

        padding: 0 0 0 42px !important;

        box-sizing: border-box !important;
    }


    .msk-tree-group:last-child {

        margin-bottom: 0 !important;
    }


    /* -----------------------------------------------------
       MAIN VERTICAL LINE
    ----------------------------------------------------- */

    /*.msk-tree-group::before {

        content: "";

        position: absolute !important;

        left: 9px !important;

        top: 0 !important;

        bottom: -22px !important;

        width: 1px !important;

        background: #bdc8ff !important;
    }*/
    
    .msk-tree-group::before {
        display: none !important;
    }


    .msk-tree-group:last-child::before {

        bottom: 50% !important;
    }


    /* =====================================================
       TREE PARENT
    ===================================================== */

    .msk-tree-parent {

        position: relative !important;
        font-family: Titillium Web;
        display: block !important;

        margin: 0 !important;
        padding: 0 !important;

        color: #000 !important;

        font-size: 16px !important;

        line-height: 1.35 !important;

        font-weight: 400 !important;

        white-space: normal !important;

        box-sizing: border-box !important;
    }


    /* -----------------------------------------------------
       HORIZONTAL CONNECTOR
    ----------------------------------------------------- */

    .msk-tree-parent::before {

        content: "";

        position: absolute !important;

        left: -33px !important;

        top: 50% !important;

        width: 25px !important;

        height: 1px !important;

        background: #bdc8ff !important;

        transform: translateY(-50%) !important;
    }


    /* =====================================================
       CHILDREN
    ===================================================== */

    .msk-tree-children {

        position: relative !important;

        margin: 0 !important;

        padding: 0 0 0 32px !important;

        box-sizing: border-box !important;
    }


    /* -----------------------------------------------------
       CHILD VERTICAL LINE
    ----------------------------------------------------- */

    .msk-tree-children::before {

        content: "";

        position: absolute !important;

        left: 0 !important;

        top: 0 !important;

        bottom: 7px !important;

        width: 1px !important;

        background: #bdc8ff !important;
    }


    /* -----------------------------------------------------
       CHILD LINKS
    ----------------------------------------------------- */

    .msk-tree-children a {

        position: relative !important;

        display: block !important;

        left: auto !important;
        right: auto !important;

        margin: 0 !important;

        padding: 5px 0 !important;

        color: #07134f !important;

        font-size: 16px !important;

        line-height: 1.35 !important;

        font-weight: 400 !important;

        text-decoration: none !important;

        transform: none !important;

        box-sizing: border-box !important;
    }


    /* -----------------------------------------------------
       CHILD HORIZONTAL CONNECTOR
    ----------------------------------------------------- */

    .msk-tree-children a::before {

        content: "";

        position: absolute !important;

        left: -32px !important;

        top: 50% !important;

        width: 24px !important;

        height: 2px !important;

        background: #bdc8ff !important;

        transform: translateY(-50%) !important;
    }


    /* =====================================================
       HOVER
    ===================================================== */

    .msk-tree-parent:hover,
    .msk-tree-children a:hover {

        color: #7300ff !important;
    }


    /* =====================================================
       DROPDOWN SHOW STATE
       Bootstrap + custom hover JS
    ===================================================== */

    .msk-mega--what-we-do.show > .msk-what-we-do-menu {

        display: block !important;
    }


    /* =====================================================
       PREVENT HOVER GAP
    ===================================================== */

    .msk-mega--what-we-do > .msk-what-we-do-menu::before {

        content: "";

        position: absolute !important;

        top: -12px !important;

        left: 0 !important;

        width: 100% !important;

        height: 12px !important;

        background: transparent !important;
    }

}


/* =========================================================
   992px – 1199px
========================================================= */

@media (min-width: 992px) and (max-width: 1199.98px) {

    .msk-mega--what-we-do > .msk-what-we-do-menu {

        width: calc(100vw - 30px) !important;

        min-width: 0 !important;

        max-width: calc(100vw - 30px) !important;
    }


    .msk-what-we-do-panel {

        padding: 25px 20px 22px !important;
    }


    .msk-what-we-do-menu .msk-wdw-column:first-child {

        padding-left: 12px !important;
        padding-right: 18px !important;
    }


    .msk-what-we-do-menu .msk-wdw-column:nth-child(2),
    .msk-what-we-do-menu .msk-wdw-column:nth-child(3) {

        padding-left: 20px !important;
        padding-right: 18px !important;
    }


    .msk-wdw-title {

        font-size: 20px !important;
    }


    .msk-tree-parent,
    .msk-tree-children a {

        font-size: 15px !important;
    }

}


/* =========================================================
   1200px – 1399px
========================================================= */

@media (min-width: 1200px) and (max-width: 1399.98px) {

    .msk-mega--what-we-do > .msk-what-we-do-menu {

        width: 1100px !important;

        min-width: 1100px !important;

        max-width: calc(100vw - 40px) !important;
    }

}


/* =========================================================
   1400px+
========================================================= */

@media (min-width: 1400px) {

    .msk-mega--what-we-do > .msk-what-we-do-menu {

        width: 1180px !important;

        min-width: 1180px !important;

        max-width: 1180px !important;
    }

}


/* =========================================================
   MOBILE
   0 – 991px
========================================================= */

@media (max-width: 991.98px) {

    /* -----------------------------------------------------
       PARENT
    ----------------------------------------------------- */

    .msk-mega--what-we-do {

        position: relative !important;
    }


    /* -----------------------------------------------------
       DROPDOWN
    ----------------------------------------------------- */

.msk-mega--what-we-do > .msk-what-we-do-menu {

    position: absolute !important;

    top: 120% !important;

    width: min(1200px, calc(100vw - 48px)) !important;
    max-width: min(1200px, calc(100vw - 48px)) !important;
    min-width: 0 !important;

    left: 50% !important;
    right: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: translateX(-50%) !important;

    border: 0 !important;
    background: transparent !important;

    z-index: 999999 !important;

    box-sizing: border-box !important;
}


    /* -----------------------------------------------------
       SHOW MOBILE MENU
    ----------------------------------------------------- */

    .msk-mega--what-we-do.show > .msk-what-we-do-menu {

        display: block !important;
    }


    /* -----------------------------------------------------
       PANEL
    ----------------------------------------------------- */

    .msk-what-we-do-panel {

        width: 100% !important;
        max-width: 100% !important;

        padding: 20px 15px !important;

        border-radius: 16px !important;

        box-sizing: border-box !important;
    }


    /* -----------------------------------------------------
       ROW
    ----------------------------------------------------- */

    .msk-what-we-do-menu .row {

        display: block !important;

        width: 100% !important;

        margin: 0 !important;
    }


    /* -----------------------------------------------------
       COLUMNS
    ----------------------------------------------------- */

    .msk-what-we-do-menu .msk-wdw-column {

        width: 100% !important;

        max-width: 100% !important;

        min-width: 0 !important;

        flex: none !important;

        padding: 0 10px !important;

        border-left: 0 !important;

        box-sizing: border-box !important;
    }


    /* -----------------------------------------------------
       COLUMN SEPARATOR
    ----------------------------------------------------- */

    .msk-what-we-do-menu .msk-wdw-column
    + .msk-wdw-column {

        margin-top: 25px !important;

        padding-top: 25px !important;

        border-left: 0 !important;

        border-top: 1px solid rgba(100, 120, 220, 0.12) !important;
    }


    /* -----------------------------------------------------
       TITLE
    ----------------------------------------------------- */

    .msk-wdw-title {

        font-size: 20px !important;

        margin-bottom: 18px !important;
    }


    /* -----------------------------------------------------
       TREE
    ----------------------------------------------------- */

    .msk-tree-group {

        padding-left: 35px !important;

        margin-bottom: 18px !important;
    }


    .msk-tree-parent {

        font-size: 15px !important;
    }


    .msk-tree-children a {

        font-size: 15px !important;
    }

}


/* =========================================================
   FINAL WHAT WE DO MENU WIDTH OVERRIDE
========================================================= */

@media (min-width: 992px) {

    li.msk-mega--what-we-do > div.msk-what-we-do-menu {

        /* WIDTH */
        width: min(1200px, calc(100vw - 48px)) !important;
        max-width: min(1200px, calc(100vw - 48px)) !important;
        min-width: 0 !important;

        /* CENTER */
        left: 30% !important;
        right: auto !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        transform: translateX(-50%) !important;

        /* IMPORTANT */
        box-sizing: border-box !important;
    }


    /* Panel must follow menu width */
    li.msk-mega--what-we-do > div.msk-what-we-do-menu
    > .msk-what-we-do-panel {

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        box-sizing: border-box !important;
    }


    /* Container */
    li.msk-mega--what-we-do .msk-what-we-do-menu
    .container-fluid {

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        padding-left: 0 !important;
        padding-right: 0 !important;
    }


    /* Bootstrap row */
    li.msk-mega--what-we-do .msk-what-we-do-menu .row {

        width: 100% !important;
        max-width: 100% !important;

        margin-left: 0 !important;
        margin-right: 0 !important;
    }

}

.msk-mega__panel{
    background: radial-gradient(circle at 45% 35%, #e5ddff 0%, #eef0ff 50%, #e2efff 100%) !important;
}


@media (min-width: 992px) {

  /* Overall mega menu width */
  li.msk-mega--what-we-do > div.msk-what-we-do-menu {
    width: 1100px !important;
    max-width: 1100px !important;
  }

  /* Both columns closer */
  .msk-what-we-do-menu .row {
    justify-content: space-between !important;
    column-gap: 20px !important;
  }

  .msk-what-we-do-menu .msk-wdw-column {
   /* flex: 0 0 45% !important;
    width: 45% !important;
    max-width: 45% !important;*/
  }
}

/* Resources dropdown on small laptops (992-1439px): keep it on screen.
   Lines it up with the right end of the menu bar and shrinks it to the screen width.
   !important is needed because the rules above use !important. Added 2026-12-03. */
@media (min-width: 992px) and (max-width: 1439.98px) {
    li.msk-mega--what-we-do > div.msk-what-we-do-menu {
        left: auto !important;
        right: 0 !important;
        transform: none !important;
        width: min(1100px, calc(100vw - 60px)) !important;
        max-width: min(1100px, calc(100vw - 60px)) !important;
    }
}

/* Resources mega menu: group titles (Insights / Impact / Updates) = black like on the homepage.
   Inner pages otherwise show them in the Bootstrap link blue (+ underline on some pages). */
.msk-what-we-do-menu .msk-tree-parent > a {
    color: #000;
    text-decoration: none;
}
.msk-what-we-do-menu .msk-tree-parent > a:hover,
.msk-what-we-do-menu .msk-tree-parent > a:focus {
    color: #7300ff;
}
