.textwidget p {
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.3;
}

.textwidget p a:hover {
    text-decoration: underline;
}

.site-footer:not(.footer-bar-active) .copyright-bar {
    margin: unset !important;
    margin-right: auto !important;
    font-weight: 600;
}

.footer-headquarters {
    border-top-width: 1px;
    border-top-style: solid;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-color: var(--ipfone-light-blue);
    padding: 32px 0;
}

.footer-socials {
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-color: var(--ipfone-light-blue);
    padding: 0 0 32px 0;
}

.footer-widgets .widget-title {
    margin-bottom: 16px;
}

.footer-social-icons{
    justify-content: center;
}
.footer-social-icons > div {
    display: flex;
    justify-content: end;
}

.site-footer .footer-widgets-container .inside-footer-widgets {
    margin-left: 0 !important;
}

.site-footer .footer-widgets-container .inner-padding {
    padding-left: 0 !important;
}

.footer-social-icons span.gb-icon:hover path {
    fill: #3C78D3;
}

.broobe-blocks-modal-button-text-footer{
    padding: 0;
    background-color: transparent;
    font-size: 12px;
    line-height: 1.3;
    margin-bottom: 8px;
}

.broobe-blocks-modal-button-text-footer:hover{
    background-color: transparent;
    text-decoration: underline;
    color: var(--ipfone-secondary-blue);
}

.copyright-bar{
    display: flex;
    gap: 16px;
}
.copyright-bar a:hover{
    text-decoration: underline;
}

.newsletter-container p {
    color: var(--white)
}

.newsletter-container h4 {
    color: var(--white)
}

.newsletter-container .newsletter-email {
    display: flex;
    gap: 8px;
}

.newsletter-container input[type="email"] {
    background: transparent;
    border: 1px solid var(--white);
    border-radius: 8px;
    color: var(--white);
    font-size: 16px;
    padding: 12px 24px;
}


.newsletter-container input[type="email"]::placeholder {
    color: var(--white);
}



.newsletter-container .newsletter-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.newsletter-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--secondary);
    padding: 24px;
    border-radius: 8px;
}

.newsletter-container button {
    background: var(--white);
    border-radius: 50%;
    padding: 10px;
    display: flex;
    align-items: center;
    max-height: 48px;
    max-width: 50px;
}
.wpcf7:has(.newsletter-container) {
    display: flex;
    flex-direction: column-reverse;
}
.newsletter-container input[type="email"]:focus {
    background: inherit;
    color: var(--white);
}

@media (max-width: 768px) {
    .site-footer{
        padding-bottom: 160px;
        background-color: var(--ipfone-blue);
    }

    .inside-footer-widgets {
        text-align: center;
    }

    .footer-widgets .inside-footer-widgets h2.widget-title {
        position: relative;
        text-align: left;
        margin-bottom: 24px;
    }
    .footer-widgets .inside-footer-widgets h2.widget-title:hover{
        cursor: pointer;
    }
    .footer-widgets .inside-footer-widgets h2.widget-title:after {
        content: "";
        background-image: url("../icons/chevron-right.svg");
        background-repeat: no-repeat;
        width: 15px;
        height: 15px;
        position: absolute;
        right: 0;
        transition: .5s;
        transform: rotate(0deg);
    }

    .footer-widgets .inside-footer-widgets .textwidget {
        display: none;
    }

    .footer-widget-1,
    .footer-widget-2,
    .footer-widget-3,
    .footer-widget-4,
    .footer-widget-5 {
        border-bottom: 1px solid var(--ipfone-light-blue);
    }

    .footer-widgets .widget :last-child {
        margin-bottom: 20px;
    }

    .footer-widgets a {
        color: var(--ipfone-secondary-light-gray)!important;
    }

    .footer-headquarters {
        border: none;
    }

    .show {
        display: block !important;
        text-align: left;
    }

    .rotate:after {
        transform: rotate(180deg) !important;
        transition: .3s;
    }

    .our-offices {
        position: relative;
        margin-bottom: 0;
        padding-bottom: 24px;
    }

    .our-offices:after {
        content: "";
        background-image: url("../icons/chevron-right.svg");
        background-repeat: no-repeat;
        width: 15px;
        height: 15px;
        position: absolute;
        right: 0;
        transform: rotate(0deg);
        transition: .3s;
    }

    .office-list {
        display: none;
    }

    .socials-mobile {
        background: var(--ipfone-blue);
    }

    /*.socials-mobile > div {*/
    /*    display: flex;*/
    /*    justify-content: center;*/
    /*    padding: 48px 0 24px;*/
    /*}*/
    .socials-mobile > div > figure{
        padding: 0 8px;
    }

    .textwidget p {
        color: var(--ipfone-gray);
        padding-left: 8px;
    }
    .site-footer:not(.footer-bar-active) .copyright-bar {
        margin: unset !important;
    }
    .inside-footer-widgets>div:not(:last-child){
        margin-bottom: 24px!important;
    }
    .inside-site-info{
        padding: 0 24px 24px!important;
    }
    .our-offices{
        border-bottom: 1px solid var(--ipfone-light-blue);
    }
    .office-list.show{
        border-bottom: 1px solid var(--ipfone-light-blue);
    }
    .our-offices.rotate{
        border-bottom: unset;
    }
}
