.site--top-bar {
    /* height: 56px; */
    position: relative;
    padding: 12px 0;
    background-color: #546779;
    color: var(--wp--preset--color--sw-white);
    z-index: 100;
}
.site-header--logo-link, .site-header--call-to-action{
    z-index: 9;
}
.site--top-bar--inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site--top-bar--inner .menu {
    display: flex;
    align-items: center;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site--top-bar--inner .menu a {
    font-size: 15px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.5; 
}

.site--top-bar--right {
    display: flex;
    align-items: center;
    gap: 64px;
}

@media screen and (max-width: 640px) {
    .site--top-bar--right {
        display: none;
    }
}

.site-header {
    --corner: 2rem;
    position: sticky;
    top: 0;
    border-bottom: 2px solid var(--wp--preset--color--aqua);
    color: var(--wp--preset--color--white);
    z-index: 99;
    margin-bottom: -30px;
}

@media screen and (max-width: 768px) {
    .site-header {
        margin-bottom: -30px;
    }
}

.site-header--main {
    position: relative;
    overflow: visible;
   /* --corner: 2.05rem;
    position: relative;*/
    padding: 24px 0;
    z-index: 1;
    /*background-color: #1B1C30;
    color: var(--wp--preset--color--white);
    z-index: 100;
    /*clip-path: polygon(0 0, 100% 0, 100% 100%, var(--corner) 100%, 0% calc(100% - var(--corner)));*/    
}
.site-header--main::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #1B1C30;
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--corner) 100%, 0% calc(100% - var(--corner)));
}

.site-header::before {
    position: absolute;
    content: '';
    height: calc(100% + 1px);
    width: calc(100% + 0px);
    background-color: #BABBB4;
    clip-path: polygon(0 0, 100% 0, 100% 100%, var(--corner) 100%, 0% calc(100% - var(--corner)));
}

@media screen and (max-width: 640px) {
    .site-header--main {
        padding: 16px 0;
    }
}

.site-header--main--inner {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    height: 100%;
}

.site-header--brand {
    display: flex;
    align-items: center;
}

.site-header .site-header--main li a {
    color: #01395C;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; /* 19.2px */
    letter-spacing: 0.16px;
    text-transform: capitalize;
}

.site-header--navigation {
    display: flex;
    align-items: center;
}

.site-header--navigation .menu-item {
    height: 100%;
    display: flex;
    align-items: center;
}

.site-header--navigation .sub-menu .menu-item a {
    padding: 5px 0;
}

.menu-primary-menu-container {
    display: flex;
    height: 100%;
}

.site-header--mobile-trigger {
    display: none;
    z-index: 9;
}

@media screen and (max-width: 1024px) {
    .site-header--navigation {
        display: none;
    }

    .site-header--call-to-action {
        display: none;
    }

    .site-header--mobile-trigger {
        display: block;
        order: 1;
    }

    /* .site-header--brand {
        order: 2;
    } */
}

.site-header--mobile-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    width: 42px;
    background-color: transparent;
    border-radius: 42px;
    border: 1px solid var(--wp--preset--color--sw-blue);
}

[data-mobile-menu-open="false"] .site-header--mobile-button--burger {
    display: block;
}

[data-mobile-menu-open="true"] .site-header--mobile-button--burger {
    display: none;
}

[data-mobile-menu-open="false"] .site-header--mobile-button--cross {
    display: none;
}

[data-mobile-menu-open="true"] .site-header--mobile-button--cross {
    display: block;
}

.site-header--main ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    list-style: none;
    gap: 24px;
    margin: 0;
}

.site-header--main .current-menu-item > a {
    text-decoration: underline;
    text-underline-offset: 4px;
}

[data-mobile-menu-open="true"] .digi-agency-header--inner--mobile-wrapper {
    grid-template-rows: 1fr;
    /* visibility: visible; */
}
[data-mobile-menu-open="true"] .site-header--mobile--cta{
    display: block;
}

[data-mobile-menu-open="true"] .digi-agency-header--inner--mobile-inner {
    visibility: visible;
}

.site-header--brand img {
    height: 33px;
    width: auto;
}

@media screen and (max-width: 640px) {
    .site-header--brand img {
        width: 132px;
        margin-left: 20px;
    }
}

.hamburgs-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    background-color: transparent;
    border: 0;
    border-radius: 0;
    color: var(--wp--preset--color--dark-slate);
}

@media screen and (min-width: 1024px) {
    .digi-agency-header--mobile-buttons {
        display: none;
    }
}

.menu-item {
    position: relative;
    margin-bottom: 0;
}

.menu-item a {
    color: var(--color-white);
    text-decoration: none;
}
.site-header--main .menu-item.menu-item-has-children{
    &:hover{
        & a{
            margin-top: 0;
            &:after{
                rotate: -180deg;
                height: 15px;
            }
        }
    }
}
.menu-item.menu-item-has-children > a:after {    
    /* content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.27227 0.324951L5.44727 4.14162L1.62227 0.324951L0.447266 1.49995L5.44727 6.49995L10.4473 1.49995L9.27227 0.324951Z' fill='%23FFCC03'/%3E%3C/svg%3E"); */
    display: inline-block;
    margin-left: 8px;
    width: 18px;
    height: 24px;
    transition: 0.1s ease all;
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='15' viewBox='0 0 12 15' fill='none'%3E%3Cpath d='M6 14.8247L-3.27835e-07 7.92529L1.44922 6.31494L4.7998 10.1675L4.7998 0.425293L7.2002 0.425293L7.20019 10.1675L10.5498 6.31494L12 7.92529L6 14.8247Z' fill='%237FF7A8'/%3E%3C/svg%3E");
    }

.menu-item .current_page_item > a, .menu-item .current-menu-parent > a {
    text-decoration: underline;
}

.menu-item.menu-item-has-children:hover .sub-menu {
    display: block;
}

.menu-item.menu-item-has-children:focus-within .sub-menu {
    display: block;
}

.site-header--main .sub-menu {
    list-style: none;
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 0;
    margin: 0;          
    
     min-width: 205px;
    /* max-width: fit-content; */
    z-index: 5;
    backdrop-filter: blur(12px);
    
    & li:first-child{
        margin-top: 31px;
        padding: 32px 16px 0 16px;
        border-top: 1px solid #BABBB4;
    }
    & li:last-child{
        /* border-radius: 0 0 10px 10px;   */
         padding: 10px 16px 32px 16px;
    }
    & li{
        background: #9A99FF;
        box-shadow: 0px 0px 20px 5px rgba(154, 153, 255, 0.50);
        padding: 10px 16px 0 16px;
        /* background-color: rgba(255, 255, 255, 0.95); */
        border-right: none !important;
        & a{
            color: #F4F3EC !important;
            text-align: center;
            font-family: var(--wp--preset--font-family--area) !important;
            font-size: 14px !important;
            font-style: normal;
            font-weight: 900 !important;
            line-height: normal;
            text-transform: uppercase;
        }
    }    
    /* max-height: 325px;
    overflow-y: auto; */
}

.site-header--main .sub-menu::-webkit-scrollbar {
    width: 4px;
    padding-left: 8px
  }
  
  .site-header--main .sub-menu::-webkit-scrollbar-thumb {
    background-color: rgba(42, 64, 75, 0.8);
    border-radius: 100px;
  }
  
  .site-header--main .sub-menu::-webkit-scrollbar-track-piece {
    margin-top: 0px;
  }

.digi-agency-header--main-nav .menu .sub-menu li a {
    width: 100%;
    padding: 6px 12px;
    border-radius: 8px;
    color: var(--wp--preset--color--dark-slate);
    font-size: 16px;
}

.digi-agency-header--main-nav .sub-menu li a:hover {
    background:  linear-gradient(270deg, rgba(5, 234, 223, 0.15) 0%, rgba(18, 125, 124, 0.15) 47.24%, rgba(100, 81, 226, 0.15) 94.49%);
    text-decoration: none;
}

.digi-agency-header--main-nav  .sub-menu li.active a {
    background: linear-gradient(270deg, #05EADF 0%, #127D7C 47.24%, #6451E2 94.49%);
    color: var(--wp--preset--color--white);
    text-decoration: none;
}

@media screen and (min-width: 1024px) {
    .hamburgs-button {
        display: none;
    }
}

.site-header--mobile-nav {
    /* display: none; */
    position: absolute;
    opacity: 0;
    pointer-events: none;
    top: 0;
    padding: 130px 24px 24px;
    /* background-color: var(--wp--preset--color--white); */
    /* border-radius: 0 0 20px 20px; */
    transform:  translate3d(0, -20px, 0);
    width: 100%;
    transition: all 0.3s ease;
    height: 100dvh;
    background: rgba(1, 57, 92, 0.90);
    background-blend-mode: multiply;
}
/* 
[data-mobile-menu-open="false"] .site-header--mobile-nav {
    display: none;
} */

[data-mobile-menu-open="true"] .site-header--mobile-nav {
    display: block;
    transform:  translate3d(0, 0, 0);
    opacity: 1;
    pointer-events: auto;
}

@media screen and (min-width: 1024px) {
    .site-header--mobile--cta {
        display: none;
    }
}

.site-header--mobile--cta {
    display: none !important;
}

@media screen and (max-width: 1024px) {
    .site-header--mobile--cta {
        display: flex;
        gap: 16px;
        align-items: center;        
    }
}

.site-header--mobile--cta > * {
    appearance: none;
    background-color: transparent;
    border: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    width: 24px;
}

@media screen and (max-width: 768px) {
    .menu-top-bar-menu-container {
        display: none;
    }
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 0;
    list-style: none;
    margin-bottom: 0;
}

.social-icons li {
    margin-bottom: 0;
}

.site--top-bar--right--actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-mobile-menu-container {
    background-color: var(--wp--preset--color--sw-white);
    padding: 48px 24px;
    border-radius: 20px;
    overflow-y: auto;
    max-height: 100%;
}

.menu-mobile-menu-container .menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin: 0;
    padding: 0;
}

.menu-mobile-menu-container .menu .menu-item {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.menu-mobile-menu-container .menu a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    color: var(--SW-Slate, #546779);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; /* 21.6px */
    letter-spacing: 0.18px;
    text-transform: capitalize;
}

.site-header .menu-mobile-menu-container .sub-menu {
    position: static;
}

.sub-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    width: 20px;
    background-color: transparent;
    border: none;
}

.sub-menu-toggle svg {
    height: 6px;
    width: 10px;
}

/* Styles for the mobile navigation within the site header */
.site-header--mobile-nav .menu-wrapper {
    margin-top: 18px;
    padding: 0;
    list-style: none;
}

/* Styling for elements with both .menu-item and .has-toggle-menu classes */
 .menu-item .has-toggle-menu {
    display: flex;
    align-items: center;    
    gap: 8px;
    padding: 0px;
}


.site-header--mobile-nav .menu-item-has-children{
        & a:after{
            content: none;
        }
    }

/* Basic styling for direct child .menu-item elements */
.site-header--mobile-nav  .menu-item {
    /* border-bottom: 1px solid rgba(22, 20, 43, 0.1);
    margin: 0;
    color: var(--wp--preset--color--cream);
    font-family: var(--wp--preset--font-family--new-word); */
    list-style: none;

    margin-bottom: 24px;
    color: #FBF9F2;
    text-align: left;    
     font-family: var(--wp--preset--font-family--new-word);
    font-size: 18px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    text-transform: uppercase;    
    & .sub-menu li{
      margin-bottom: 0;
    }
    & .active-link{
        font-family: var(--wp--preset--font-family--third-rail);
        color: #B2CFFF;
        &:after{
            rotate: -180deg;
            height: 15px;
        }
    }
}
.site-header--mobile-nav .site-header--call-to-action {
    margin-bottom: 20px;
    display: block;
    padding-left: 1rem;
}
.mobile-header-social-links{
    padding-left: 1rem;
    display: flex;
    flex-direction: row;
    gap: 16px;
    margin-top: 16px;
}
.mobile-header-contact-details{
    padding-left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
    & a{
        color: #FBF9F2;
        font-family: var(--wp--preset--font-family--area);
        font-size: 15px;
        font-style: normal;
        font-weight: 400;
        line-height: 140%;
        text-decoration: none;
        letter-spacing: 0.33px;
    }
}
.abs-logo-mobile{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}
.site-header--mobile-nav{
    background: #000000d9;
    & .sub-menu{
        padding-left: 0;
        & li{
            padding-top: 20px;
          & a {
                color: #F4F3EC;
                text-align: center;
                font-family: var(--wp--preset--font-family--area);
                font-size: 14px;
                font-style: normal;
                font-weight: 900;
                line-height: normal;
                text-transform: uppercase;
            }
        }
    }
    & .menu-item-has-children > a:after {    
        /* content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.27227 0.324951L5.44727 4.14162L1.62227 0.324951L0.447266 1.49995L5.44727 6.49995L10.4473 1.49995L9.27227 0.324951Z' fill='%23FFCC03'/%3E%3C/svg%3E"); */
        display: inline-block;
        margin-left: 8px;
        width: 18px;
        height: 24px;
        transition: 0.1s ease all;
        content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='15' viewBox='0 0 12 15' fill='none'%3E%3Cpath d='M6 14.8247L-3.27835e-07 7.92529L1.44922 6.31494L4.7998 10.1675L4.7998 0.425293L7.2002 0.425293L7.20019 10.1675L10.5498 6.31494L12 7.92529L6 14.8247Z' fill='%237FF7A8'/%3E%3C/svg%3E");
    }
    
}

.site-header--mobile-nav #menu-main-menu-1{
    margin-bottom: 44px;
}
/* Remove border for the last .menu-item */
.site-header--mobile-nav .menu-wrapper > .menu-item:last-of-type {
    border-bottom: none;
}

/* Styling for .menu-item elements with the .current-menu-item class */
.site-header--mobile-nav .menu-wrapper > .menu-item.current-menu-item {
    background-color: rgba(var(--color-light-blue-rgb), 0.15);
}

/* Styling for the .sub-menu within a .current-menu-item */
.site-header--mobile-nav .menu-wrapper > .menu-item.current-menu-item .sub-menu {
    background-color: var(--color-white);
}

/* Set font size for all <a> tags within .menu-item */
.site-header--mobile-nav .menu-wrapper > .menu-item a {
    font-size: 18px;
}

/* Add padding to direct child <a> tags within .menu-item */
.site-header--mobile-nav .menu-wrapper > .menu-item > a {
    padding: 12px 24px;
}

/* Basic styling for direct child .sub-menu elements */
.site-header--mobile-nav .menu-wrapper > .menu-item > .sub-menu {
    margin: 0;
    padding: 0;
    display: none;
    list-style: none;
}

/* Display the .sub-menu when it has the .active class */
.site-header--mobile-nav .menu-wrapper > .menu-item > .sub-menu.active {
    display: block;
}

/* Styling for .menu-item elements within a .sub-menu */
.site-header--mobile-nav .menu-wrapper > .menu-item .sub-menu > .menu-item {
    padding: 12px 40px;
    margin: 0;
}

/* Highlight .menu-item within .sub-menu when it's the current menu item */
.site-header--mobile-nav .menu-wrapper > .menu-item .sub-menu > .menu-item.current-menu-item {
    background-color: rgba(var(--color-light-blue-rgb), 0.15);
}

/* Underline links for specific current menu states */
.site-header--mobile-nav .menu-wrapper .menu-item.current_page_item > a,
.site-header--mobile-nav .menu-wrapper .menu-item.current-menu-parent > a,
.site-header--mobile-nav .menu-wrapper .menu-item.current_page_parent > a {
    text-decoration: underline;
}

#menu-primary-menu .sub-menu::before {
    position: absolute;
    top: 0;
    content: '';
    height: 40px;
    display: block;
    margin-bottom: 40px;
}

.site-header--mobile-nav .menu-mobile-menu-container .menu-item .sub-menu.active {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}
.site-header--mobile-nav .menu-mobile-menu-container .menu-item .sub-menu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-header--mobile-nav .menu-mobile-menu-container .menu-item .sub-menu a {
    font-size: 16px;
    padding: 0;
}

.menu-mobile-menu-container .menu-item.current-menu-item > .has-toggle-menu a {
    color: #01395C;
}

.menu-mobile-menu-container .menu-item.current-menu-item > a {
    color: #01395C;
}

.sub-menu-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

@media screen and (min-width: 1025px) {
    .site-header--mobile-nav {
        display: none !important;
    }
}

.site--top-bar--right--search {
    cursor: pointer;
    appearance: none;
    background-color: transparent;
    border: none;
}

.site--top-bar--right--account {
    margin-right: 20px;
}
/* 
.menu-item-has-children::after {
    content: '';
    height: 50px;
    display: block;
} */

mark {
    font-family: var(--wp--preset--font-family--third-rail);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.92px;
    text-transform: uppercase;
    padding: 0 4px;
}