/* =============================================================================
   Mega Menu Front-end Styles
   Scoped entirely to .mega-menu-wrapper to avoid conflicts with Genesis/theme.
   ============================================================================= */

/* Custom Color Variables */
:root {
    --wp--font--primary: 'AllianceNo2', sans-serif;
      --wp--font--secondary: 'Eurostile', sans-serif;
      --wp--font--secondary--ext: 'Eurostile Extended', sans-serif;
    --wp--color--black: #000000;
    --wp--color--dark-gray: #262626;
    --wp--color--medium-gray: #cccccc;
    --wp--color--light-gray: #EAEAEA;
    --wp--color--white: #ffffff;
    --wp--color--primary: #152D6F;
    --wp--color--ecam-blue: #152D6F;
    --wp--color--secondary: #262626;
    --wp--color--accent: #F4AF00;
    --wp--color--action: #F4AF00;
}


/* Top bar items */

.top-bar-icon img {
    width: 12px;
    height: 12px;
    display: inline-block;
    vertical-align: middle;
    position:relative;
    top:-1px;
    margin-right:2px;
}

.top-bar-right {
    gap:20px;
    align-items:center;
}

.top-bar-item a{
    font-family:var(--wp--font--primary);
}

/* 0. Legacy style.css overrides
   Neutralises the old mega menu CSS that ships in style.css.
   All rules here need !important to beat the old system's specificity. */

/* Suppress the old system's sub-menu grid/block layout */
.mega-menu-inner > ul.sub-menu,
div.mega-menu-inner > ul.sub-menu,
.mega-menu-item div.mega-menu-inner > ul.sub-menu {
    display: none !important;
}

/* Suppress the old system's .active open state ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â our system uses .mega-menu-open */
.mega-menu-wrapper.active {
    display: none !important;
}


/* 1. Panel wrapper & positioning */

.mega-menu-wrapper {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top:120px!important;
    width: 100%;
    max-width: 100%;
    background-color: #fff;
    z-index: 9990;
    overflow-y: auto;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.10);
}

.scrolled .mega-menu-wrapper {
    top: 98px!important;
}

@media ( max-width:1280px ) {
    .mega-menu-wrapper {
        top:110px!important;
    }

    .scrolled .mega-menu-wrapper {
        top: 94px!important;
    }
}

.mega-menu-item.mega-menu-open > .mega-menu-wrapper {
    display: block;
    animation: mm-fade-in 0.18s ease forwards;
}

/* 2. Inner layout */

/* .mega-menu-inner contains the (empty, suppressed) sub-menu ul from the Walker */
.mega-menu-inner > ul.sub-menu {
    display: none;
}

.mega-menu-panel {
    display: flex;
    flex-wrap: nowrap;
    gap:32px;
    align-items: flex-start;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 60px 4rem 60px 4rem;
}

/* 3. Highlighted items desktop card */

.mega-menu-highlighted {
    flex: 0 0 auto;
}

/* Wide variant ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â 60/40 split with submenus (flex-basis: 0 so both grow from zero) */
@media ( min-width: 1080px ) {
    .mega-menu-highlighted.mm-hl-wide {
        flex: 3 1 0 !important;
        min-width: 0;
    }
    .mega-menu-panel:has( .mm-hl-wide ) .mega-menu-submenus {
        flex: 2 1 0;
    }
}

/* Wide variant ÃƒÂ¢Ã¢â‚¬Â°Ã‚Â¥ 1381px ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â cards fill container width */
@media ( min-width: 1381px ) {
    .mega-menu-highlighted.mm-hl-wide .mm-card {
        flex: 1 1 0;
        width: auto;
        flex-shrink: 1;
    }
    .mm-card-image {
        min-height: 333px;
    }
}

.mm-highlighted-desktop {
    display: flex;
    gap: 16px;
}

.mm-highlighted-desktop a {
    padding:0!important;
}

.mm-card {
    display: block;
    width: 200px;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

@media (min-width: 1080px) {
    .mm-card:hover .mm-card-heading {
        /* text-decoration: underline; */
        /* text-decoration-color: #fff; */
        color:var(--wp--color--accent)
    }    
}

.mm-card-image {
    position: relative;
    overflow: hidden;
    background: #111;
    height: 100%;
}

.mm-card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var( --focal-x, 50% ) var( --focal-y, 50% );
    transition: transform 0.35s ease, filter 0.35s ease;
}

@media ( min-width: 1080px ) {
    .mm-highlighted-desktop a .mm-card-image img {
        filter: brightness( 0.9 );
    }

    .mm-highlighted-desktop a:focus .mm-card-image img,
    .mm-highlighted-desktop a:hover .mm-card-image img {
        transform: scale( 1.06 );
        filter: brightness( 0.8 );
    }
    
    .mm-toggle-btn{
        display:none;
    }
}

.mm-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 100px 16px 12px 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, transparent 100%);
    color: #fff;
}

.mm-card-heading {
    display: block;
    /* font-size: 13px; */
    font-weight: 800;
    /* text-transform: uppercase; */
    /* letter-spacing: 0.04em; */
    /* line-height: 1.2; */
    margin-bottom: 4px;
    transition:color 150ms ease-in;
}

.mm-card-sub {
    font-size: 12px;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 4. Highlighted items mobile text list */

/* Always hidden on desktop; shown on mobile in section 8 */
.mm-highlighted-mobile {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mm-highlighted-mobile li a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid #e8e8e8;
    text-decoration: none;
    color: inherit;
}

.mm-highlighted-mobile li a strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 3px;
}

.mm-highlighted-mobile li a span {
    font-size: 13px;
    color: #666;
}

/* 5. Sub menu columns */

.mega-menu-submenus-inner,
.mega-menu-submenus {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    row-gap: 24px;
    align-items: flex-start;
}

.mega-menu-submenus-inner {
    flex-wrap:nowrap;
}

.mm-column {
    flex: 1 1 0;
    /* min-width: 160px; */
}

.mega-menu-section-label {
    font-size: .625rem;
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: 1.25px;
    text-transform: uppercase;
    color: inherit;
    margin: 0 0 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.mm-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-top:.5rem;
}

.mm-link-list li {
    margin-bottom: 18px;
    break-inside:avoid;
}

.mm-link-list li:last-child {
    margin-bottom: 0;
}

.mm-link-list a {
    display: block;
    text-decoration: none;
    color: inherit;
    padding:0!important;
}

.mm-link-list a strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
    transition: text-decoration 0.15s;
}

.mm-link-list a:hover strong {
}

.mm-link-list a span {
    display: block;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

/* 5b. Sub menu CTA text link */

.mm-sm-cta {
    flex-basis: 100%;
    width: 100%;
    /* margin-top: 28px; */
    /* padding-top: 20px; */
    /* border-top: 1px solid #e0e0e0; */
}

.mm-sm-cta a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.25px;
    text-decoration: none;
    color: inherit;
    padding: 0 !important;
    transition: color 0.15s;
}

.mm-sm-cta a:hover {
    color: var( --wp--color--accent );
}

.mm-sm-cta-arrow {
    display: inline-block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transform: rotate( -90deg );
}



/* 6. Featured item */

.mm-featured-divider {
    width: 1px;
    align-self: stretch;
    background: #eaeaea;
    flex-shrink: 0;
}

.mega-menu-featured {
    flex: 0 0 340px;
    align-self: stretch;
    background:var(--wp--color--light-gray);
    padding:1.25rem;
}

.mm-featured-image {
    margin-bottom: 16px;
    overflow: hidden;
}

.mm-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.mm-featured-eyebrow {
    font-size: .625rem;
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: 1.25px;
    font-weight:bold;
    text-transform: uppercase;
    color: #f0a500;
    margin: 0 0 8px;
}

.mm-featured-heading {
    font-size: 1.25rem;
    font-family: var(--wp--font--primary);
    font-weight: 400;
    text-transform: none;
    margin-bottom:16px;
}

.mm-featured-sub {
    font-size: 14px;
    /* color: #555; */
    line-height: 1.55;
    margin: 0 0 20px;
}

.mm-featured-cta {
    display: block;
    background: #000;
    border:1px solid #000;
    color: #fff!important;
    text-align: center;
    padding: 15px 20px!important;
    text-decoration: none;
    transition: background 0.15s;
}

.mm-featured-cta:focus,
.mm-featured-cta:hover {
    background: #eaeaea;
    color: #000!important;
}

@media (max-width:1380px) {
    .mega-menu-highlighted {
        flex-basis:33.33%;
    }

    /* li.menu-item-346 .mega-menu-highlighted {
        flex-basis:calc(20% - 32px);
    } */

    .mm-highlighted-desktop {
        flex-wrap:wrap;
    }

    .mm-highlighted-desktop > a {
        flex-basis:calc((100% - 16px) / 2);
    }
}

/* 7. Body scroll lock & close button */

@media ( min-width: 1281px) {

    .mega-menu-wrapper{
        max-height:calc(100vh - 120px);
    }

    .scrolled .mega-menu-wrapper{
        max-height:calc(100vh - 94px);
    }

}

@media ( max-width: 1280px ) and ( min-width: 1080px ) {
    .mega-menu-wrapper{
        max-height:calc(100vh - 110px);
    }

    .scrolled .mega-menu-wrapper{
        max-height:calc(100vh - 94px);
    }
}

@media ( max-width: 1140px ) and ( min-width: 1080px ) {
    li.menu-item-346 .mega-menu-highlighted {
        flex-basis:100%;
    }

    li.menu-item-346 .mm-highlighted-desktop {
        flex-direction:row;
    }

    li.menu-item-346 .mm-highlighted-desktop a {
        flex-basis:calc(50% - 8px);
    }

    li.menu-item-346 .mm-card-image {
        max-width:100%;
    }

    li.menu-item-346 .mega-menu-panel {
        flex-wrap:wrap;
    }
}

@media ( min-width: 1080px ) {
    body.mega-menu-is-open {
        /* overflow: hidden;
        scrollbar-gutter: stable; */
    }

    .mega-menu-wrapper{
        z-index:9999;
        overflow-y:scroll;
        /* Firefox */
        scrollbar-width: thin;
        scrollbar-color: rgba( 0, 0, 0, 0.2 ) #fff;
        border-top:4px solid var(--wp--color--action);
    }

    /* Webkit (Chrome, Safari, Edge) */
    .mega-menu-wrapper::-webkit-scrollbar {
        width: 6px;
    }

    .mega-menu-wrapper::-webkit-scrollbar-track {
        background: #fff;
        border-radius: 0;
    }

    .mega-menu-wrapper::-webkit-scrollbar-thumb {
        background: rgba( 0, 0, 0, 0.2 );
        border-radius: 3px;
    }

    .mega-menu-wrapper::-webkit-scrollbar-thumb:hover {
        background: rgba( 0, 0, 0, 0.35 );
    }
}

/* Mobile: lock scroll whenever the hamburger nav is open */
@media ( max-width: 1079px ) {
    body:has( header.menu-open ) {
        overflow: hidden;
    }
}

.mm-close-btn {
    position: absolute;
    top: 22px;
    right: 8px;
    right: 4rem;
    display: flex;
    align-items: center;
    gap: 3px;
    background: none!important;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #000;
    line-height: 1;
    transition: color 0.15s;
}

@media (max-width:1180px) {
    /* .mm-close-btn {
        top:10px;
    } */
}

.mm-close-btn:focus,
.mm-close-btn:hover {
    color: var(--wp--color--action);
}

.mm-close-label {
    font-size: .625rem;
    text-transform: uppercase;
    letter-spacing: 1.25px;
    font-weight: 700;
    line-height: 1.2;
}

/* 9. Animations & transitions */

@keyframes mm-fade-in {
    from {
        opacity: 0;
        transform: translateY( -6px );
    }
    to {
        opacity: 1;
        transform: translateY( 0 );
    }
}

@media ( max-width: 1600px ) {
    .mm-featured-divider,
    .mega-menu-featured{
        display:none;
    }
}

@media ( max-width: 1380px ) {
    /* .menu-item-346 .mega-menu-submenus {
        flex-direction:column!important;
    }

    .menu-item-346 .mega-menu-submenus .mm-link-list {
        display:flex;
        gap:1rem;
        flex-wrap:wrap;
    }

    .menu-item-346 .mega-menu-submenus .mm-link-list li {
        flex-basis:calc((100% - 2rem) / 3);
    } */

    .mm-highlighted-desktop {
        flex-wrap: wrap;
    }

    .mm-highlighted-desktop > a {
        flex-basis:100%;
    }
/* 
    .menu-item-346 .mm-highlighted-desktop {
        flex-direction:column;
    } */

}

@media ( max-width: 1380px ) and ( min-width: 1080px ) {
    .mm-card-image {
        height: 200px;
    }
}

/* 10. Hide-on-mobile links / highlighted items */

@media ( max-width: 1079px ) {
    .mm-link-list li.mm-hide-mobile,
    .mm-column.mm-hide-mobile,
    .mega-menu-highlighted.mm-hide-mobile,
    .mm-highlighted-mobile li.mm-hide-mobile {
        display: none;
    }
}

/* 10b. CTA visibility modifiers */

/* Desktop and Mobile: override the blanket display:none set in section 11 */
@media ( max-width: 1079px ) {
    .mm-sm-cta.mm-sm-cta--all,
    .mm-sm-cta.mm-sm-cta--mobile {
        display: block;
    }
}

/* Mobile Only: hide on desktop */
@media ( min-width: 1080px ) {
    .mm-sm-cta.mm-sm-cta--mobile {
        display: none;
    }
}

/* 10c. Nav item arrow (inline SVG replacing ::after pseudo-element) */

/* Suppress the old ::after arrow for all children ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â replaced by injected .nav-item-arrow SVG */
.nav-primary ul.genesis-nav-menu > li.menu-item-has-children > a::after {
    display: none !important;
}

.nav-item-arrow {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: 0px;
    margin-left: 2px;
    overflow: visible;
    flex-shrink: 0;
    transition: transform 300ms;
}

@media ( max-width: 1079px ) {
    .nav-item-arrow {
        display: none;
    }
}

.nav-item-arrow path {
    stroke: #fff;
    transition: stroke 300ms;
}

/* Rotate on hover / focus / mega-menu-open */
.nav-primary ul.genesis-nav-menu > li.menu-item-has-children:hover > a .nav-item-arrow,
.nav-primary ul.genesis-nav-menu > li.menu-item-has-children > a:focus .nav-item-arrow,
.mega-menu-item.mega-menu-open > a .nav-item-arrow {
    transform: rotate( -180deg );
}

/* Stroke colour transition on hover / focus */
.nav-primary ul.genesis-nav-menu > li.menu-item-has-children:hover > a .nav-item-arrow path,
.nav-primary ul.genesis-nav-menu > li.menu-item-has-children > a:focus .nav-item-arrow path {
    stroke: var( --wp--color--action );
}

/* 11. Mobile accordion (<= 1079px) */

@media ( max-width: 1079px ) {

    .top-bar-item span,
    .top-bar-item a {
        display:none;
    }

    #callButton-icon {
        display:flex;
        align-items:center;
        justify-content:center;
        top: 8px;
        position: fixed;
        position: absolute;
        right: 70px;
        width:40px;
        height:40px;
        z-index: 99999;
    }

    .single-landing-page #callButton-icon,
    .contact-page #callButton-icon {
        right:0;
    }

    .scrolled #callButton-icon {
        top: 2px;
    }

    #callButton-icon img{
        width:20px;
        height:20px;
    }

    .nav-primary.genesis-responsive-menu {
        top:1rem;
        min-height:calc(100vh - 61px)!important;
/*         height:614px; */
        width:calc(100% + 4rem);
        max-width:100vw;
        max-width:100svw;
        left:-2rem;
        padding-top:0;
        transition:max-height 0ms!important;
    }

    .scrolled .nav-primary.genesis-responsive-menu{
        top:.675rem!important;
        padding-top:0;
    }

    .nav-primary.genesis-responsive-menu ul.menu > li.menu-item:not(.nav-cta) > a{
        padding-left:2rem!important;
        padding-right:2rem!important;
        margin-left:0;
        margin-right:0;
        width:100%!important;
    }

    .nav-primary.genesis-responsive-menu ul.menu > li.menu-item {
        border-bottom:1px solid #ddd;
    }

    .nav-primary ul.genesis-nav-menu > li > a {
        color:#000;
    }

    .nav-primary ul.genesis-nav-menu > li > a:hover,
    .nav-primary ul.genesis-nav-menu > li > a:focus {
        color:var(--wp--color--action);
    }

    /* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â Close button: desktop only ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â */
    .mm-close-btn {
        display: none;
    }

    /* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â Theme dark-nav override ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â */
    .nav-primary {
        background: #fff !important;
    }

    /* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â Parent menu item: link navigates, button toggles ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â */
    .mega-menu-item {
        position: relative;
    }

    .mega-menu-item > a {
        display: block !important;
        width: calc( 100% + 4rem ) !important;
        margin-left: -2rem;
        margin-right: -2rem;
        padding: 18px 2rem !important;
        padding-right: calc( 2rem + 48px ) !important;
        border-bottom: 1px solid #e8e8e8;
        font-weight: 700;
        text-decoration: none;
        background: #fff !important;
        color:#000!important;
    }

    .mega-menu-item > a:hover,
    .mega-menu-item > a:focus {
        color:var(--wp--color--action)!important;
    }

    /* Remove border-bottom when open ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â panel sits flush below */
    .mega-menu-item.mega-menu-open > a {
        border-bottom: none;
    }

    /* Suppress any theme ::after arrow on mega menu parent links */
    .nav-primary ul.genesis-nav-menu > li.menu-item-has-children.mega-menu-item > a::after,
    .mega-menu-item > a::after {
        display: none !important;
    }

    /* Dedicated toggle button injected by initMobile() */
    .mm-toggle-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 48px;
        height: 56px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        position: absolute;
        right: 0;
        top: 0;
    }

    .mm-toggle-btn:hover,
    .mm-toggle-btn:focus {
        background: none;
        outline: none;
    }

    .mm-toggle-btn img {
        width: 22px;
        height: 22px;
        display: block;
        transition: transform 0.25s ease;
        transform: none;
    }

    .mega-menu-item.mega-menu-open > .mm-toggle-btn img {
        transform: rotate( 180deg );
    }

    /* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â Panel wrapper ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â animated accordion ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â */
    /* display:block + max-height:0 hides the panel while allowing CSS transition.
       !important on max-height/overflow beats style.css lines 7829-7830:
       max-height:none !important and overflow-y:visible !important */
    .mega-menu-wrapper,
    .mega-menu-wrapper.full-width {
        display: block !important;
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.35s ease;
        position: static !important;
        box-shadow: none;
        border-top: none;
        background: #f7f7f7;
        margin-left: -2rem;
        margin-right: -2rem;
        width: calc( 100% + 4rem );
    }

    .mega-menu-wrapper {
        position:relative!important;
        width:calc(100% + 4rem)!important;
        max-width:100vw;
        max-width:100svw;
        left:-2rem;
        margin:0;
        background:#eaeaea;
    }

    .mega-menu-wrapper,
    .scrolled .mega-menu-wrapper {
        top:0!important;
    }

    .mega-menu-item.mega-menu-open > .mega-menu-wrapper {
        max-height: 3000px !important;
        border-bottom: 1px solid #e8e8e8;
    }

    /* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â Panel inner layout ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â */
    .mega-menu-panel {
        flex-direction: column;
        display:block;
        gap: 0;
        padding: 20px 2rem;
    }

    /* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â Highlighted items ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â */
    .mm-highlighted-desktop {
        display: none;
    }

    .mm-highlighted-mobile {
        display: block;
    }

    .mm-highlighted-mobile li a {
        padding: 16px 0;
    }

    .mm-highlighted-mobile li a strong {
        font-size: 16px;
        font-weight: 700;
    }

    /* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â Section labels ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â */
    .mega-menu-section-label {
        margin-bottom:16px;
        padding-bottom: 10px;
        border-bottom: 1px solid #000;
    }

    .mega-menu-highlighted {
        flex-basis:100%!important;
        display:block;
    }

    .mega-menu-highlighted .mega-menu-section-label:first-child,
    .mm-column:first-child > .mega-menu-section-label {
        margin-top: 0;
    }

    /* Sub menu columns */
    .mega-menu-submenus-inner,
    .mega-menu-submenus {
        flex-direction: column;
        gap: 0;
        display:block;
        width: 100%;
    }

    .mega-menu-submenus .mega-menu-submenus-inner > .mm-column:first-child:not(.mm-hide-mobile) {
        margin-top:1rem;
    }

    .mm-hide-mobile + .mega-menu-submenus .mega-menu-submenus-inner > .mm-column:first-child:not(.mm-hide-mobile) {
        margin-top:0;
    }


    .mm-column {
        min-width: unset;
        padding: 0;
    }

    .mm-column ul {
        column-count:unset!important;
    }

    /* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â Link list ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â */
    .mm-link-list {
        padding-top: 0;
        margin-bottom:16px;
    }

    .mm-link-list li,
    .mm-link-list li:last-child{
        margin-bottom: 20px;
        margin-bottom: 0;
    }

    .mm-link-list a strong {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 3px;
        color: #000;
    }

    .mm-link-list a span {
        font-size: 13px;
        color: #555;
    }

    .mega-menu-section-label {
        color: #000;
        width:100%;
        margin-bottom:0.5rem;
    }

    .nav-primary.genesis-responsive-menu .mega-menu-panel a {
        padding:.75rem 0!important;
    }

    .mm-highlighted-mobile li a strong {
        color: #000;
    }

    .mm-highlighted-mobile li a span {
        color: #555;
    }

    /* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â Hide featured item, divider, and submenus CTA ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â */
    .mega-menu-featured,
    .mm-featured-divider,
    .mm-sm-cta {
        display: none;
    }

    .nav-right-widget-area {
        padding-left:2rem!important;
        padding-right:2rem!important;
    }

    .nav-right-widget-area section,
    #block-56 .widget-wrap > p:first-child button:after,
    .nav-right-widget-area a,
    .nav-right-widget-area button,
    .nav-right-widget-area button:after {
        color:#000!important;
        opacity:1!important;
    }

    .nav-right-widget-area svg path {
        fill:#000!important;
        stroke:#000;
    }

    form.wp-block-search__button-only:not(.wp-block-search__searchfield-hidden) button.wp-block-search__button, .nav-right-widget-area button[aria-expanded="true"] svg path,
    button.language-close svg path,
    button.search-close svg path{
        stroke:#fff;
    }

    form.wp-block-search__button-only:not(.wp-block-search__searchfield-hidden) button.wp-block-search__button, .nav-right-widget-area button[aria-expanded="true"] svg circle{
        stroke:#fff;
    }

    .nav-right-widget-area svg circle{
        stroke:#000;
    }

    .nav-right-widget-area .widget-wrap .widget-dropdown ul li a{
        color:#fff!important;
    }

    #block-68{
        margin-top:4px;
    }

    #callButton svg{
        height:16px;
        width:16px;
        margin-right:8px;
        margin-left:8px;
    }

    #callButton svg path{
        stroke:none;
        fill:var(--wp--color--action)!important
    }
}

@media (max-width:781px) {

    #callButton-icon,
    .scrolled #callButton-icon {
        top: 2px;
    }

    .nav-primary.genesis-responsive-menu ul.menu > li.menu-item:not(.nav-cta) > a,
    .nav-right-widget-area {
        padding-left:1rem!important;
        padding-right:1rem!important;
    }

    .mega-menu-panel{
        padding:20px 1rem;
    }

    .nav-primary.genesis-responsive-menu,
    .mega-menu-wrapper {
        width:calc(100% + 2rem)!important;
        max-width:100vw;
        max-width:100svw;
        left:-1rem;
    }
}

@media (max-width:650px) {
    #block-26 form:not(.wp-block-search__searchfield-hidden) + button.search-close{
        bottom:110px;
    }
}

@media (max-width:500px) {
    .nav-primary.genesis-responsive-menu {
        min-height:calc(100vh - 68px)!important;
    }

    #callButton-icon {
        top: 0px;
        right:50px;
    }

    .scrolled #callButton-icon {
        top: 0px;
    }
}