/* ================================================================
Site footer
================================================================ */
footer {


    h1,h2,h3,h4,h5 {
        text-transform: none;
    }
    .container {
        padding-inline: 1.5rem;
    }
}
.footer__main {
    background-color: var(--color-background-dark);
    padding-block: 5rem;
    color: var(--color-white);
    a, p {
        color: currentColor;
    }
}
.footer__top {
    background-color: var(--color-white);
    overflow: hidden;
}

.footer__cta {
    background-color: var(--color-background-brand);
    color: var(--color-white);
    border-radius: 0 0 40px 40px;
    padding-inline: calc(var(--bs-gutter-x));
    padding-block: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer__contact {
    padding-inline: calc(var(--bs-gutter-x));
    padding-block: 2.5rem;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.address-links {
    list-style: none;
    padding: 0;
    line-height: 2.1;
    margin: 0;
    a {
        color: currentColor;
    }
    a:hover {
        text-decoration: underline;
    }
}

.footer__top__title {
    font-size: 1.625rem;
    line-height: 1.4;
}

.footer__top__title--cta {
    text-align: center;
}

.footer__bottom {
    border-top: 1px solid #696969;
    padding-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    line-height: 1.6;
    font-size: .875rem;
}
.aoc {
    text-align:center;
    max-width: 39rem;
    margin-inline: auto;
}

.copyright {

}

.fine-print,
.footer__bottom__text {

    flex-direction: column;
    display: flex;
    gap: 1.875rem;
    align-items: flex-start;
    a {
        text-decoration: underline;
        display: block;
    }
}
@media screen and (max-width: 699px) {
    .footer__top .container {
        margin-inline: calc(-1 * var(--bs-gutter-x));
        max-width: none;
        width: auto;
    }
}

.footer__menus {
    display: grid;
    padding-bottom: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-row-gap: 2.5rem;
    grid-column-gap: clamp(2.5rem, 4vw, 5rem);
    a {
        transition: all .2s;
    }
    a:hover {
        color: var(--brand-color-light);
    }
}

@media screen and (min-width: 700px) {
    .footer__menus {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}
@media screen and (min-width: 1100px) {
    .footer__menus {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    }
}

.footer__menu {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}
.footer__menu ul {
    list-style-type: none;
    display: grid;
    gap: 2.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.6;
}
.footer__menu ul ul {
    margin-top: 1rem;
    font-size: .875rem;
    font-weight: normal;
    gap: .5rem;
}

.social-links {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    font-size: 1.125rem;
    margin-block: auto 0;

}

@media screen and (min-width: 700px) {
    .footer__top__inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: clamp(1rem, 5vw, 2rem);
    }

    .footer__cta {
        border-radius: 0 var(--footer-curve) 0 0;
        padding-left: 0;
        padding-right: clamp(2rem, 7.9vw, 7rem);
        align-items: flex-start;
    }

    .footer__top {
        background-image: linear-gradient(to right, var(--color-background-brand) calc(50% - var(--footer-curve) - 3px), var(--color-white) calc(50% - var(--footer-curve) - 2px));
    }
    .footer__title__cta {
        text-wrap: balance;
    }
    .footer__top__title--cta {
        text-align:left;
        max-width: 14rem;

    }
    .footer__top__title--contact {
        text-wrap: balance;
        max-width: 14rem;
    }
    .footer__main {
        padding-block: 5rem 2rem;
    }
    .footer__bottom {
        align-items: center;
    }

    .footer__bottom__text {
        flex-direction: row;
        gap: 1.875rem;
        flex-wrap: wrap;
    }
    .fine-print {
        flex-direction: row;
        gap: 1.875rem;
    }

    .social-links {
        display: flex;
        flex-direction: row;
        gap: 1.5rem;
        font-size: 1.125rem;
        justify-content: flex-end;
    }

}
@media screen and (min-width: 1216px) {
    .footer__cta, .footer__contact {
        padding-inline: 0;
        padding-block: clamp(3rem, 5vw, 5rem);
        flex-direction: row;
        align-items: center;
    }
    .footer__top__title--cta {
        font-size: 2.125rem;
        max-width: 18rem;
    }
    .footer__top__title--contact {
        font-size: 31px;
        padding-right: .5rem;
    }
    .address-links {
        font-weight: 600;
        font-size: 1rem;
        display: flex;
        flex-direction: column;
        gap: .125rem;
    }
}


@media screen and (min-width: 1400px) {

    .address-links {

        br {
            display: none;
        }
    }
}