/* General Styles */
body{
    background: var(--main-background-image);
    color: var(--text-colour);
}
.site__footer{
    background: transparent;
}
.site__stats:after{
    display: none;
}
.image-wrap{
    background: transparent;
}

.image-wrap img{
    max-height: 50vh;
}
.title-wrapper{
    display: flex;
    justify-content: center;
    margin-top: 50px;
}
.article__title{
    width: auto;
    background-image: var(--highlight-background-image);
    background-repeat: repeat;
    color: var(--highlight-text-colour); 
    font-size: 3em;
    line-height: 150%;
    letter-spacing: -1px;
    display: inline-block;
}
.read-more{
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1em;
    line-height: 150%;
    letter-spacing: -1px;
    display: flex;
    justify-content: flex-end;
    color: var(--highlight-text-colour) !important; 
}
.read-more:after{
    position: relative;
    content:url('/content/themes/bucket/theme-content/images/chevron.svg');
    filter: var(--svg-internal-invert);
}

/* Header Styles */
a.social-icon-link > .pixcode--icon{
    color: var(--text-colour);
}
a.social-icon-link:hover > .pixcode--icon{
    color: var(--highlight-text-colour) !important;
    background: var(--highlight-background-image) !important;
    background-repeat: repeat;
}
.nav--main li a{
    font-family: 'Aktifo-a', 'Brown-Bold', 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1em;
    line-height: 1.5em;
    letter-spacing: -9%;
    font-weight: bold;
    color: var(--text-colour);
    position: relative;
    z-index:3;
}

header.header-top-bar{
    width: 100%;
    position: sticky;
    top: 0;
    display: flex;
    justify-content: center;
    z-index: 200;
    position: relative;
    border-bottom: 1px solid var(--text-colour);
}

header.header-top-bar .content-wrapper{
    display: flex;
    align-items: center;
    max-width: 100%;
    width: 1240px;
    padding: 0 20px;
    margin-top: 0px;
    justify-content: space-between;
    background: var(--main-background-image);
}

header.header-top-bar .menu-toggle{
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

header.header-top-bar .menu-toggle img{
    transition: opacity 0.3s;
    filter: var(--svg-invert);
}

header.header-top-bar .menu-toggle .close{
    opacity: 0;
    position: absolute;
    left: 0;
}

header.header-top-bar .header-logo{
    padding: 9px 0 4px;
    order: 1;
    justify-self: flex-start;
    flex-basis: 200px;
    filter: var(--svg-invert);
}

header.header-top-bar .header-logo .mobile{
    display: none;
}

header.header-top-bar .header-socials{
    order: 3;
    justify-self: flex-end;
    flex-basis: 200px;
    display: flex;
    justify-content: flex-end;
}

header.header-top-bar .header-nav{
    order: 2;
    flex-grow: 1;
    height: 100%;
}

header.header-top-bar .header-nav nav{
    height: 100%;
}

.header-nav #menu-header-menu{
    display: flex;
    gap: 20px;
    position: initial;
    margin: 0;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.header-nav #menu-header-menu::after, header.header-top-bar .nav::after{
    display: none;
}

.header-nav #menu-header-menu > li{
    height: 100%;
    display: flex;
    border: 0;
    float: none;
    width: auto;
    align-items: center;
}

.header-nav #menu-header-menu li{
    transition: all 0.3s;
    background: transparent;
    border: 0;
}
.header-nav #menu-header-menu li.current_page_parent > a, .header-nav #menu-header-menu li.current_page_ancestor > a, .header-nav #menu-header-menu li.current_page_item > a, .header-nav #menu-header-menu li:hover > a{
    color: var(--highlight-text-colour);
    background-color: var(--text-colour);
    background-image: var(--highlight-background-image);
    background-repeat: repeat;
}

.header-nav #menu-header-menu .sub-menu{
    position: absolute;
    width: 100%;
    left: 0;
    top: calc(100% + 1px);
    max-width: 100%;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0s .2s;
    z-index: -1;
    border-bottom: 1px solid var(--text-colour);
    visibility: hidden;
    min-height: 100%;
    padding: 10px;
    background: var(--main-background-image);
}

.header-nav #menu-header-menu .sub-menu:after{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: var(--main-background-image);
    mix-blend-mode: exclusion;
    z-index: 1;
    pointer-events: none;
}

@media screen and (min-width: 1025px){
    header.header-top-bar:not(.mobile-open) .header-nav{
        display: block !important;
    }
    .header-nav #menu-header-menu .sub-menu li{
        width: auto;
    }
    .header-nav #menu-header-menu > li:hover ~ li:not(:hover) .sub-menu{
        transition: all 0s !important;
        z-index: -1;
        opacity: 0;
        transform: translateY(-100%);
        visibility: hidden;
    }
    .header-nav #menu-header-menu > li:hover .sub-menu{
        opacity: 1;
        transform: translateY(0);
        transition: transform .6s, opacity .1s ease-in-out .2s;
        z-index: 1;
        visibility: visible;
    }

    .header-nav #menu-header-menu > li:hover .sub-menu li{
        position: relative;
        width: auto;
        text-align: center;
        z-index: 2;
    }
}

@media screen and (max-width: 1024px){
    header.header-top-bar{
        border-bottom: 0;
    }
    header.header-top-bar .header-logo .mobile{
        display: block;
    }
    header.header-top-bar .header-logo .desktop, header.header-top-bar .header-socials{
        display: none;
    }
    header.header-top-bar .header-logo{
        padding: 7px 0 4px;
        order: 2;
        justify-self: center;
    }
    header.header-top-bar .header-logo a{
        justify-content: center;
        display: flex;
    }
    header.header-top-bar .menu-toggle{
        display: flex;
        order: 1;
        position: relative;
    }
    header.header-top-bar.mobile-open .menu-toggle .open{
        opacity: 0;
    }
    header.header-top-bar.mobile-open .menu-toggle .close{
        opacity: 1;
    }
    .header-nav{
        display: none;
        order: 5 !important;
        width: 100%;
    }
    .mobile-open .header-nav #menu-header-menu{
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 10px;
        padding-bottom: 20px;
        overflow: auto;
        max-height: 90vh;
    }
    .mobile-open .header-nav #menu-header-menu li{
        width: 100%;
        height: auto;
        display: inline-block;
    }
    .nav--main li a{
        padding: 0.42857rem 10px;
        text-transform: none;
        outline: none;
        font-weight: 600;
        text-align: left;
    }
    .nav--main li .sub-menu a{
        font-weight: 400;
    }
    .mobile-open .header-nav #menu-header-menu li .sub-menu{
        position: relative;
        flex-direction: column;
        transform: translateY(0);
        display: none;
        align-items: flex-start;
        top: 0;
    }
    .mobile-open .header-nav #menu-header-menu li .sub-menu:after{
        display: none;
    }
    .mobile-open .header-nav #menu-header-menu li.toggled-open .sub-menu{
        display: flex;
        visibility: visible;
        opacity: 1;
        background: transparent;
        border-bottom: 0;
        padding: 10px 20px;
        min-height: auto;
        z-index: 1;
    }
    .header-nav #menu-header-menu li.menu-item-has-children > a{
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .header-nav #menu-header-menu li.menu-item-has-children > a:after{
        position: relative;
        content:url('/content/themes/bucket/theme-content/images/chevron.svg');
        filter: var(--svg-invert);
        line-height: 0;
    }
    .header-nav #menu-header-menu li.menu-item-has-children.toggled-open > a:after{
        transform: rotate(90deg);
    }
    header.header-top-bar .content-wrapper{
        flex-wrap: wrap;
    }
    header.header-top-bar .content-wrapper:after{
        content: '';
        display: block;
        flex-basis: 32px;
        order: 3;
    }
    .header-nav #menu-header-menu > li:hover .sub-menu{
        min-height: auto;
        transition: none;
    }
    .header-nav #menu-header-menu > li:hover .sub-menu li{
        position: inherit;
        width: 100%;
        text-align: center;
        z-index: 2;
    }
    .header-nav #menu-header-menu li.current_page_parent > a, .header-nav #menu-header-menu li.current_page_ancestor > a, .header-nav #menu-header-menu li.current_page_item > a, .header-nav #menu-header-menu li:hover > a{
        color: var(--text-colour);
        background: transparent;
    }
    header.header-top-bar .header-nav nav{
        height: auto;
    }
}

/* Footer Styles */
footer .btn-list > a  > .pixcode--icon{
    color: #DBDBDB;
}
footer .btn-list > a:hover > .pixcode--icon{
    color: #262626 !important;
    background: url('/content/themes/bucket/theme-content/images/tge26-light-background.png') !important;
    background-repeat: repeat;
}
.site__footer{
    background: url('/content/themes/bucket/theme-content/images/tge26-dark-background.jpg') !important;
}


/* Conference changes */
.convarticles{
    background: url('/content/themes/bucket/theme-content/images/tge26-light-background.png') !important;
}