.cta-content {
    background-color: $primario;
    padding: rem(90) 0;
    margin-top: rem(150);

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-size: rem(80);
        color: $bianco;
        margin-bottom: 0;
    }

    .wp-block-columns {
        margin-bottom: 0;
    }

    .wp-block-buttons {
        justify-content: flex-end;

        @media #{$underlarge} {
            justify-content: flex-start;
            margin-top: 2rem;
        }

        .wp-block-button {
            margin-bottom: 0;

            .wp-block-button__link {
                font-size: rem(30);
                background-color: $bianco;
                color: $primario;

                &:hover {
                    background-color: $primarioscuro;
                    color: $bianco;
                }
            }
        }
    }
}

.cta-content+footer {
    margin-top: 0 !important;
}

#footer {
    background-color: $primarioscuro;
    padding-top: rem(100);
    padding-bottom: rem(55);
    font-size: rem(20);
    line-height: 1.4;
    color: $bianco;
    margin-top: rem(150);

    .widget_text+.widget_text {
        margin-top: 1rem;
    }

    h3 {
        color: $primario;
        font-size: rem(40);
        margin-bottom: rem(30);
        font-weight: 500;
    }

    p {
        font-size: rem(20);
        line-height: 1.4;
        color: $bianco;
        margin-bottom: rem(40);

        &:last-child {
            margin-bottom: 0;
        }

        a {
            color: $bianco;
            text-decoration: none;

            &:hover {
                color: $primario;
            }
        }
    }



    ul.menu,
    ul.wp-block-rss {
        list-style: none;
        padding: 0;
        font-size: rem(20);
        line-height: 1.6;

        a {
            color: $bianco;
            text-decoration: none;

            &:hover {
                color: $primario;
            }
        }

        >li>ul {
            list-style: none;
            padding-left: 1rem;
        }
    }

    .footer__logo {
        .footer__logo--title {
            font-size: rem(60);
            color: $primario;
            display: inline-block;
            margin-bottom: rem(10);
            text-decoration: none;
            font-weight: 700;
        }

        .footer__logo--img {
            img {
                margin-bottom: rem(20);
                max-height: rem(100);
                width: auto;
                max-width: 100%;
                -o-object-fit: contain;
                   object-fit: contain;
            }
        }

        p {
            font-size: rem(20);
            line-height: 1.3;
        }
    }

    .secondary-footer {
        margin-top: rem(150);
        font-size: rem(15);
        line-height: 1;

        p {
            font-size: rem(15);
            line-height: 1;
        }
    }

    @media #{$underlarge} {
        .footer__logo {
            margin-bottom: rem(60);
        }

        .sidebar {
            margin-bottom: rem(40);

            &:last-child {
                margin-bottom: 0;
            }
        }

        .secondary-footer {
            margin-top: rem(70);

            &>div:first-child {
                margin-top: rem(40);
                order: 2;
            }
        }
    }
}