ul#mobile-menu > li {
    width: 100%;
    text-align: right;
    border-top: 1px solid #80808021;
}
/* Target the first li */
ul#mobile-menu > li:first-child {

    border-top: none;
}
ul#mobile-menu > li:last-child {

   padding:10px 0;
}



.action-cta .button:hover {
    background: 0 0;
    box-shadow: inset 0 0 0 1px var(--wp--preset--color--secondary);
    color: var(--wp--preset--color--secondary)
}

article.block {
    position: relative;
}

.action-cta .button,.wp-element-button,.gform_button {
    transition: all .2s ease-in-out
}

a.wp-block-button__link.has-white-color.has-primary-background-color.has-text-color.has-background.has-link-color.wp-element-button:hover {
    background: 0 0 !important;
    color: var(--wp--preset--color--primary) !important;
    box-shadow: inset 0 0 0 1px var(--wp--preset--color--primary)
}

a.wp-block-button__link.has-white-color.has-secondary-background-color.has-text-color.has-background.has-link-color.wp-element-button:hover {
    background: 0 0 !important;
    color: var(--wp--preset--color--secondary)!important;
    box-shadow: inset 0 0 0 1px var(--wp--preset--color--secondary)
}

.blog .block:hover, .archive .block:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.blog .block, .archive .block{
    transition: box-shadow 0.3s ease-in-out;
    position: relative;
    height: auto;
}

.block-header:after {
    background: #00000042;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    z-index: 10;
    opacity: 1;
    transition: opacity .3s ease,background .3s ease
}
.page-grid .block-header:after {background: none !important;}
.block:hover .block-header:after {
    background: #00000070;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    z-index: 10
}

img#checkatrade {
    width: 250px
}

h2.post-summary__title {
    color: #fff
}

.block-meta .entry-category {
    background: #fff;
    display: inline-block;
    padding: 5px 10px;
    color: var(--wp--preset--color--secondary);
    margin-bottom: 20px;
}

.cs-location {
    padding: 5px 15px;
    background: #fff;
    color: var(--wp--preset--color--secondary);
    margin-bottom: 15px;
    width: max-content;
    font-size: 16px;
    z-index: 9999;
    /* margin-top: 20px; */
    /* margin-left: 20px; */
}

.no-thumb:after {
    content: url('https://nebula.design/nl-surfacing/wp-content/uploads/2024/07/nl-logo-svg.svg');
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    padding: 150px 30px;
    background: #d4e2ed;
    height: 100%
}

.single-post header.entry-header {
    background: var(--wp--preset--color--primary);
    padding: var(--wp--preset--spacing--large);
    margin-right: -35px;
    margin-left: -35px;
    color: #fff
}

.error404 .no-results.not-found {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center
}

h1#error {
    color: var(--wp--preset--color--secondary);
    font-size: 70px
}

article.no-results.not-found p {
    font-size: 32px
}

.menu-item-has-children>ul {
    opacity: 0;
    transition: opacity .2s ease-in-out
}

.menu-item-has-children.active>ul {
    opacity: 1
}

.menu-item-has-children:not(.active)>ul {
    transition: none
}

.single-case_study .entry-title h1 {
    max-width: var(--wp--custom--layout--content)
}

.entry-title {
    padding-top: 30px
}

.entry-image {
}

.archive-header,.single .entry-header {
    background-image: url('https://nebula.design/nl-surfacing/wp-content/uploads/2024/06/wave-haikei.svg')!important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important
}

div#privacy {
    background: var(--wp--preset--color--primary);
    color: #fff;
    margin-top: -10px;
    display: flex;
    justify-content: center;
    padding-bottom: 15px;
    margin-top: -20px
}

div#privacy a {
    text-decoration: none;
    font-size: 12px;
    margin-right: 5px;
    text-align: center
}

.absolute-svg.blue {
    width: 100%;
    height: 200px;
    background: #23395b;
    transform: rotate(185deg);
    z-index: -1;
    margin-top: -210px
}

.absolute-svg.flipped.blue {
    transform: rotate(182deg);
    left: 0;
    margin-left: -60px;
    margin-top: 50px
}

.wp-block-columns.has-5-columns.is-layout-flex.wp-container-core-columns-is-layout-20.wp-block-columns.has-5-columns-is-layout-flex {
    justify-content: center
}

.page-grid.grid-4.grid.blocks {
    position: relative;
    z-index: 100
}

.page-grid .chevron-btn {
    transition: width .2s ease-in-out;
    position: relative
}

.page-grid .chevron-btn:before {
    content: 'Find Out More';
    position: absolute;
    left: 18px;
    top: 18px;
    color: var(--wp--preset--color--secondary);
    font-size: 18px;
    opacity: 0;
    transition: opacity .8s ease-in
}

.page-grid .chevron-btn:hover {
    width: 185px
}

.page-grid .chevron-btn:hover:before {
    opacity: 1;
    transition: opacity .3s ease-in
}

.page-grid .chevron-btn:not(:hover):before {
    opacity: 0;
    transition: opacity 0s ease-out
}

.absolute-svg.blue svg path {
    fill: #23395b
}

body {
    counter-reset: reason-counter
}

.is-style-numbered-column {
    position: relative;
    margin: 20px 0;
    padding-left: 60px
}

.is-style-numbered-column p:before {
    counter-increment: reason-counter;
    content: counter(reason-counter);
    position: absolute;
    left: 0;
    top: 27%;
    transform: translateY(-50%);
    border: 2px solid #fff;
    color: #fff;
    font-size: 1.5em;
    line-height: 1;
    padding: 15px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent
}

.service-slideshow .swiper-slide {
    position: relative
}

.service-slideshow .swiper-slide:after {
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    background: #ff000000;
    background: linear-gradient(to bottom,rgba(255,0,0,.4),#23);
    opacity: .8
}

.wp-block-heading.bring-foward {
    position: relative;
    z-index: 10
}

.service-slideshow-inner img {
    aspect-ratio: 10/16;
    object-fit: cover
}

.service-slideshow-inner h3 {
    position: absolute;
    top: 0;
    margin: 10px;
    color: #fff;
    z-index: 9999
}

.service-slideshow-inner p {
    position: absolute;
    bottom: 0;
    margin: 10px;
    color: #fff;
    z-index: 9999
}

.absolute-svg {
    padding: 0 !important;
    position: absolute
}

.entry-image {
    padding: 50px 0;
}
.button {
    border-width: 0;
    color: var(--wp--preset--color--white);
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    font-weight: 600;
    line-height: var(--wp--custom--line-height--medium);
    padding: var(--wp--preset--spacing--tiny) calc(var(--wp--preset--spacing--tiny)*2.5);
    text-decoration: none;
    background-color: var(--wp--preset--color--black);
    color: var(--wp--preset--color--white);
    display: inline-block;
    text-align: center
}

blockquote {
    padding: var(--wp--preset--spacing--medium)
}

.wp-block-latest-posts.is-grid li {
    margin: 0 var(--wp--preset--spacing--medium) 0 0;
    width: 100%;
    flex: 1
}

.wp-block-latest-posts.is-grid li .wp-block-latest-posts__featured-image {
    padding: 0 0 var(--wp--preset--spacing--medium) 0
}

.wp-block-latest-posts.is-grid li .wp-block-latest-posts__post-title {
    font-size: var(--wp--preset--font-size--big);
    line-height: var(--wp--custom--line-height--tiny);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: var(--wp--preset--spacing--small);
    display: block
}

.slideshow .swiper-slide {
    background-size: cover;
    background-position: center center;
    overflow: hidden
}

.slideshow .swiper-slide {
    position: relative
}

.slideshow .swiper-slide:after {
    content: "";
    background-image: url('https://nebula.design/nl-surfacing/wp-content/uploads/2024/06/wave-haikei.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    transform: rotate(0deg);
    margin-left: -360px
}

.is-style-txt-outline {
    font-size: calc(2*var(--wp--preset--font-size--gargantuan));
    line-height: var(--wp--custom--line-height--tiny);
    display: block;
    margin-bottom: var(--wp--preset--spacing--small);
    -webkit-text-fill-color: rgba(0,0,0,0);
    -moz-text-fill-color: rgba(0,0,0,0);
    -o-text-fill-color: rgba(0,0,0,0);
    -ms-text-fill-color: rgba(0,0,0,0);
    text-fill-color: rgba(0,0,0,0);
    -webkit-text-stroke-width: 1.25px;
    -moz-text-stroke-width: 1.25px;
    -o-text-stroke-width: 1.25px;
    -ms-text-stroke-width: 1.25px;
    text-stroke-width: 1.25px;
    -webkit-text-stroke-color: #000;
    -moz-text-stroke-color: #000;
    -o-text-stroke-color: #000;
    -ms-text-stroke-color: #000;
    text-stroke-color: #000
}

.is-style-txt-outline.has-white-color {
    -webkit-text-stroke-color: #fff;
    -moz-text-stroke-color: #fff;
    -o-text-stroke-color: #fff;
    -ms-text-stroke-color: #fff;
    text-stroke-color: #fff
}

.fixed-header {
    padding-top: 175px
}

#mast {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99999;
    border-bottom: 1px solid rgb(0 0 0/10%);
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out
}

body:not(.active) #mast.pending.fixed {
    opacity: 0;
    visibility: hidden
}

.wp-block-latest-posts li {
    position: relative;
    padding: 3px 0 0 23px
}

.wp-block-latest-posts li:before {
    content: '';
    position: absolute;
    left: -10px;
    top: 5px;
    border: 2px solid rgb(56 38 120/25%);
    width: 22px;
    height: 22px;
    border-radius: 50%
}

.wp-block-latest-posts li:after {
    content: '';
    position: absolute;
    left: -2px;
    top: 13px;
    background: var(--wp--preset--color--primary);
    width: 6px;
    height: 6px;
    border-radius: 50%
}

.block-header {position: relative;z-index: 50;}

.block-header img {width:100%;height:auto;object-fit: cover;aspect-ratio: 1/1;}

.page-grid a:after {
    content: '';
    background: linear-gradient(to bottom,rgb(29 35 39/38%),#23395b00);
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    position: absolute
}

.page-grid a {
    position: relative
}

.block-meta-cta {
    position: relative;
    z-index: 999
}

.block-header .entry-sector,.block-header .entry-category {
    font-size: var(--wp--preset--font-size--normal);
    position: absolute;
    top: 10px;
    left: 10px;
    background: #fff;
    padding: 5px 10px;
    margin: 0;
    z-index: 9999;
}

.block-meta {
}

.block a {
    text-decoration: none;
    position: relative;
}

.cat-filter-list-wrapper {
    padding: var(--wp--preset--spacing--x-large) 0
}

.post-type-archive-case_study .archive-header,.blog .archive-header {
    overflow: hidden
}

.post-type-archive-case_study .site-main {
    padding-top: 100px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px
}

article.type-case_study {
    overflow: hidden
}

.single-case_study .entry-image {
    background: var(--wp--preset--color--primary);
    position: relative;
    z-index: 9999
}

.single-case_study .entry-image:after {
    content: '';
    width: 10000px;
    height: 770px;
    background: var(--wp--preset--color--secondary);
    transform: rotate(384deg);
    z-index: -1;
    position: absolute;
    z-index: -1;
    margin-left: -2570px;
    margin-top: -1120px
}

.single-case_study .entry-title {
    background: #23395b
}

.entry-title h1 {
    margin: 0;
    position: relative;
    z-index: 99997;
    max-width: 1275px;
    margin: auto;
    padding: 30px;
    color: #fff
}

.post-type-archive-case_study .archive-header {
    position: relative
}

.post-type-archive-case_study .archive-header .archive-inner-header {
    position: relative;
    z-index: 100
}

.post-type-archive-case_study article.block a:after {
    transition: all .2s ease-in-out
}

.post-type-archive-case_study article.block a {
    position: relative;
    z-index: 30
}

.is-style-equal figure,.is-style-equal img {
    height: 100%
}

.post-type-archive-case_study .block-meta {
    position: absolute;
    top: 0;
    z-index: 9999;
    color: var(--wp--preset--color--white);
    opacity: 1;
    font-size: var(--wp--preset--font-size--large);
    opacity: 1;
    transition: all .2s ease-in-out;
    left: 0;
    height: 100%;
    width: 100%;
    padding: 15px;
}

.post-type-archive-case_study .block-meta h2 {
    font-size: var(--wp--preset--font-size--large);
    /* margin-left: 20px; */
}

.post-type-archive-case_study article.block:hover .block-meta,.blog article.block:hover .block-meta {
    color: var(--wp--preset--color--secondary)
}

.type-case_study .entry-image {
    display: flex;
    justify-content: center
}

#member-banner {
    width: 100%;
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: flex-end;
    padding-top: var(--wp--preset--spacing--xx-large)
}

#member-banner h1 {
    font-size: var(--wp--preset--font-size--big);
    margin: 0
}

#member-banner .headline {
    color: var(--wp--custom--color--neutral-600)
}

#member-banner>div {
    padding: var(--wp--preset--spacing--medium);
    background: #fff;
    margin: var(--wp--preset--spacing--medium);
    max-width: 565px;
    width: 80%
}

#member-banner img {
    width: 125px;
    height: 125px;
    object-fit: cover;
    object-position: center center;
    aspect-ratio: 1/1;
    border-radius: 50%;
    margin-bottom: 15px
}

#member-banner #name-wrapper {
    display: flex;
    align-items: center
}

#member-banner #name-wrapper span {
    margin-left: 5px;
    background: var(--wp--preset--color--secondary);
    color: var(--wp--preset--color--white);
    padding: 3px 8px;
    border-radius: 50px;
    font-size: 12px
}

#member {
    display: flex;
    max-width: 1100px;
    margin: auto;
    padding: var(--wp--preset--spacing--medium)
}

#member aside {
    max-width: 500px;
    margin-right: var(--wp--preset--spacing--x-large)
}

#member main {
    width: 100%
}

#member h4 {
    font-size: var(--wp--preset--font-size--medium)
}

.member_contact {
    margin-bottom: var(--wp--preset--spacing--large);
    padding: var(--wp--preset--spacing--medium);
    background: var(--wp--custom--color--neutral-200)
}

.member_contact .button {
    margin-top: 15px
}

.member_socials {
    margin: var(--wp--preset--spacing--medium) 0
}

.member_socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px
}

@media screen and (max-width: 800px) {
    #member {
        display:flex;
        flex-direction: column;
        padding-left: 0;
        padding-right: 0
    }

    #member aside {
        max-width: 100%;
        width: 100%;
        margin: 0
    }

    #member-banner>div {
        max-width: 100%;
        width: 100%
    }
}

@media screen and (max-width: 600px) {
    #member-banner {
        margin-left:calc(var(--wp--preset--spacing--medium)*-1);
        margin-right: calc(var(--wp--preset--spacing--medium)*-1);
        width: auto;
        text-align: center
    }

    #member-banner img {
        margin: 0 auto 15px
    }

    #member-banner #name-wrapper {
        justify-content: center
    }
}
