/* ======= FOOTER ======== */
footer{
    padding: 0 28px;
}
footer > div {
    max-width: 1384px;
    margin-left: auto!important;
    margin-right: auto!important;
}

footer>div>div>div{
    padding-left: 0 !important;
    padding-right: 0 !important;
}
footer h3{
    font-family: "Warnock Pro";
    margin-bottom: 8px;
    font-weight: 400;
    font-size: 28px;
    letter-spacing: 0.48px;
    line-height: 1;
}
.desktop-footer-contact{
    font-family: "Helvetica Now Display", sans-serif;
    letter-spacing: 0.48px;
}
footer .wp-block-button a{
    background-color: transparent !important;
    border-color: unset !important;
    border: 1px solid var(--white);
    border-radius: 0;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    min-width: 180px;
    text-align: center;
    transition: var(--transition);
}
footer .wp-block-button .wp-block-button__link{
    padding: 10px 16px;
    line-height: 20px;
}
footer .wp-block-button:first-child a{
    margin-right: 14px;
}     
footer .wp-block-button:last-child a{
    letter-spacing: 0.5px;
}  
footer .wp-block-button a:hover{
    background-color: var(--white) !important;
    color: var(--primary-color) !important;
}
footer .ast-builder-html-element h5{
    color: var(--footer-text);
    font-size: 15px;
    text-align: start;
    margin-bottom: 16px;
    letter-spacing: 0.48px;
    line-height: 1.6;
}
footer .footer-middle-menu ul{
    list-style: unset;
    margin-left: 0;
    margin-bottom: 0;
    list-style: none;
}
footer .footer-middle-menu ul li{
    text-align: start;
    line-height: 35.8px;
}
footer .footer-middle-menu ul li:not(:last-child) a{
    margin-bottom: 12px;
}
footer .footer-middle-menu ul li a{
    letter-spacing: 0.48px;
    font-weight: 600;
    
    display: block;
    line-height: 1.6;
}
footer .footer-middle-menu ul li a:hover{
    /* border-bottom: 1px solid var(--white); */
    color: var(--white);
}
footer .footer-middle-menu{
    display: flex;
    justify-content: space-between;
}
footer .footer-middle-menu>div:not(:last-child){
    flex: 1;
    /* margin-right: 21px; */
}
footer .site-primary-footer-wrap[data-section="section-primary-footer-builder"] .site-footer-section:first-child{
    width: 459px;
}
.footer-widget-area img{
    width: 218px;
}
.footer-widget-area[data-section="section-fb-html-1"] .ast-builder-html-element{
    padding-right: 27px;
}
footer .wp-block-button .wp-block-button__link{
    letter-spacing: 0.48px;
}
footer ul.footer-bottom-right{
    display: flex;
    justify-content: end;
}
footer ul.footer-bottom-right li:not(:last-child){
    padding-right: 16px;
    position: relative;
    margin-right: 16px;
}
footer ul.footer-bottom-right li:not(:last-child)::after{
    position: absolute;
    content: "";
    width: 1px;
    height: calc(100% - 8px);
    background-color: var(--white);
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
footer ul.footer-bottom-right li{
    display: flex;
    align-items: center;
    gap: 3px;
    letter-spacing: 0.5px;
    line-height: 26px;
}
footer .wp-block-image{ 
    margin-bottom: 40px;
}
footer ul.desktop-footer-contact li{
    margin-bottom: 8px;
}
.ast-footer-copyright{
    letter-spacing: 0.5px;
}
footer .footer-top-left-content{
    letter-spacing: 0.5px;
    font-weight: 600;
    color: var(--footer-text);
}
footer.site-footer .ast-builder-footer-grid-columns{
    grid-column-gap: 44px;
}
.global-search-wrapper{
    /* display: none !important; */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 28px;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    /* box-shadow: 0px 3px 5px 0px rgb(168, 168, 168); */
    height: 58px;
}
.global-search-wrapper.show{
    opacity: 1;
    pointer-events: unset;
    visibility: visible;
}
.search-field{
    position: relative;
    width: 30%;
}
.search-field img{
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    /* opacity: 0.4; */
    width: 17.14px;
    height: 17.14px;
}
.search-field input{
    text-indent: 25px;
    padding: 5px 10px;
    font-size: 14px;
    width: 100%;
    border: 0;
    background-color: #E9EBED;
    color: var(--input-color);
}
.background-overlay{
    position: fixed;
    inset: 0;
    background-color: var(--backdrop-color);
    opacity: 0;
    pointer-events: none;
    /* transition: all 0.3s ease; */
}
.background-overlay.show{
    opacity: 0.4;
    pointer-events: unset;
}
.search-field input:focus{
    border: 0;
    background-color: #E9EBED;
}
.global-search-close{
    color: #8e5d82;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.48px;
}
.global-search-wrapper span{
    display: none;
}
.global-search{
    cursor: pointer;
}
.input-close{
    display: none;
}

.site-above-footer-wrap .wp-block-buttons>.wp-block-button {
    display: inline-block;
    margin: 0;
}

.site-above-footer-wrap .wp-block-buttons>.wp-block-button a {
    display: block;
}

@media screen and (max-width: 1100px) {
    footer .site-primary-footer-wrap[data-section="section-primary-footer-builder"] .site-footer-section:first-child{
        width: 300px;
    }
    .site-primary-footer-wrap[data-section="section-primary-footer-builder"] .ast-builder-grid-row{
        gap: 20px;
    }
    .footer-widget-area[data-section="section-fb-html-1"] .ast-builder-html-element{
        padding-right: 0;
    }
}
@media screen and (max-width: 912px) {
    .widget_block .wp-block-buttons{
        display: flex;
        gap: 16px;
        justify-content: space-between !important;
    }
}
@media screen and (max-width: 768px) {
    footer .mobile-text{
        display: block;
    }
    footer .desktop-footer-contact{
        display: none;
    }
    footer{
        padding: 0 16px;
    }
}
@media screen and (max-width: 575px) {
    footer .footer-top-left-content{
        font-size: 16px;
        margin-bottom: 20px;
        line-height: 25px;
    }
    footer .site-primary-footer-wrap[data-section="section-primary-footer-builder"] .site-footer-section:first-child{
        width: 100%;
    }
    footer .wp-block-image{
        margin-bottom: 28px;
    }
    footer .mobile-text{
        font-weight: 600;
        letter-spacing: 0.5px;
        font-size: 16px;
        line-height: 25px;
        margin-bottom: 20px;
    }
    .footer-middle-menu >div:nth-of-type(even){
        padding-left: 33px;
    }
    .footer-middle-menu ul li{
        line-height: 35.6px;
    }
    .footer-middle-menu ul li a{
        font-size: 15px;
    }
    .footer-bottom-right li{
        font-size: 14px;
        letter-spacing: 0.5px;
    }
    .wp-block-buttons>.wp-block-button{
        flex: 1;
    }
    footer .ast-builder-html-element h5,
    footer .footer-middle-menu ul li a,
    .ast-footer-copyright p{
        font-size: 16px;
    }
    
}
@media screen and (min-width: 545px) {
    footer .mobile-text{
        display: none;
    }
}
@media screen and (max-width: 545px) {
    .footer-middle-menu>div{
        width: 50%;
    }
    footer .footer-middle-menu>div{
        min-width: 50%;
    }
    footer .footer-middle-menu>div:nth-of-type(1),
    footer .footer-middle-menu>div:nth-of-type(2) {
        margin-bottom: 32px;
    }
    footer .footer-middle-menu{
        flex-wrap: wrap;
    }
    .footer-bottom-right{
        justify-content: center !important;
    }
    footer .wp-block-button a{
        min-width: 100%;
    }
    footer .site-below-footer-wrap .ast-builder-footer-grid-columns >div:nth-of-type(1){
        order: 2;
    }
    footer .site-below-footer-wrap .ast-builder-footer-grid-columns >div:nth-of-type(2){
        order: 1;
    }
    .global-search-close{
        display: none;
    }
    .global-search-wrapper>form{
        flex: 1;
    }
    .global-search-wrapper span{
        display: block;
    }
    .input-close{
        display: block;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }
    .search-field img{
        width: 15.84px;
        height: 15.84px;
    }
    .search-field input{
        text-indent: 24px;
    }
}