/* Blocksy renders the off-canvas menu outside its desktop header. */
@media screen {
    #header:has([data-device="desktop"] .menu-item-49.ct-active) {
        z-index: 75;
    }
    #header [data-device="desktop"] nav .menu-item-49 :is(.menu-item-57, .menu-item-56) > .sub-menu {
        /* Keep the pointer inside the menu when crossing to a province panel. */
        --dropdown-horizontal-offset: 0px;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: min(43rem, 62vw);
        max-height: calc(100vh - 11rem);
        max-height: max(5rem, calc(100dvh - 11rem));
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior-y: contain;
        padding: .4rem;
    }
    #header [data-device="desktop"] nav .menu-item-49 :is(.menu-item-57, .menu-item-56) > .sub-menu > li {
        margin: 0;
        border: 0;
    }
    #header [data-device="desktop"] nav .menu-item-49 :is(.menu-item-57, .menu-item-56) > .sub-menu > li > a {
        height: 100%;
        min-height: 2.45rem;
        padding: .45rem .7rem;
        line-height: 1.45;
        border-radius: .25rem;
        white-space: normal;
    }
}

/* Regional columns inside the two desktop service directories. */
#header [data-device="desktop"] nav .sub-menu > .bpmc-region-column {
    min-width: 0;
    padding: .25rem;
    align-self: start;
}
#header [data-device="desktop"] nav .bpmc-region-heading {
    display: block;
    padding: .6rem .65rem;
    margin-bottom: .25rem;
    border-bottom: 1px solid #486079;
    color: #c3ddff;
    font-size: .94rem;
    font-weight: 700;
    line-height: 1.4;
}
#header [data-device="desktop"] nav .bpmc-region-links {
    position: static;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    visibility: inherit;
    opacity: 1;
    pointer-events: inherit;
    transform: none;
    background: transparent;
    box-shadow: none;
}
#header [data-device="desktop"] nav .bpmc-region-links > li {
    margin: 0;
    border: 0;
}
#header [data-device="desktop"] nav .bpmc-region-links .ct-menu-link {
    min-height: 2.15rem;
    padding: .4rem .65rem;
    border-radius: .25rem;
    line-height: 1.4;
    white-space: normal;
}
#offcanvas .mobile-menu {
    --theme-link-hover-color: #b8d7ff;
}
#offcanvas .mobile-menu :is(.current-menu-item, .current-menu-ancestor) > :is(.ct-menu-link, .ct-sub-menu-parent),
#offcanvas .mobile-menu .ct-menu-link[aria-current="page"] {
    color: #b8d7ff;
}


/* Region disclosures inside the off-canvas service menu. */
#offcanvas .bpmc-region-disclosure > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    gap: .75rem;
    padding: .45rem .65rem;
    color: #dceaff;
    font-weight: 600;
    line-height: 1.45;
    cursor: pointer;
    list-style: none;
}
#offcanvas .bpmc-region-disclosure > summary::-webkit-details-marker {
    display: none;
}
#offcanvas .bpmc-region-disclosure > summary::after {
    content: "";
    width: .48rem;
    height: .48rem;
    flex: none;
    margin-inline-end: .25rem;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}
#offcanvas .bpmc-region-disclosure[open] > summary {
    color: #b8d7ff;
}
#offcanvas .bpmc-region-disclosure[open] > summary::after {
    transform: rotate(225deg);
}
#offcanvas .bpmc-region-disclosure > summary:focus-visible {
    outline: 2px solid #b8d7ff;
    outline-offset: -2px;
}
#offcanvas .bpmc-region-disclosure .bpmc-region-links {
    display: block;
    margin: 0;
    padding: 0 0 .35rem .65rem;
    list-style: none;
}
#offcanvas .bpmc-region-disclosure .ct-menu-link {
    min-height: 44px;
    padding-block: .45rem;
    line-height: 1.45;
}

