/* 
    =====================
    | Footer newsletter |
    =====================
*/

.footer__newsletter {
    width: 100%;
    max-width: 153.6rem;
    margin: 0 auto;
    padding: 4.8rem 1.6rem;
}

.footer__newsletter__title {
    margin: 0 0 3.2rem;
    color: var(--color-black);
}

@media screen and (min-width: 940px) {
    .footer__newsletter {
        padding: 4.8rem 2.4rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .footer__newsletter__title {
        margin: 0;
    }
}

@media screen and (min-width: 1200px) {
    .footer__newsletter {
        padding: 6.4rem 2.4rem;
    }
}

@media screen and (min-width: 1440px) {
    .footer__newsletter {
        padding: 6.4rem 4.8rem;
    }
}

/* 
    =====================
    | Footer navigation |
    =====================
*/

.footer-navigation {
    border-bottom: 1px solid #F2F4F7;
    padding: 4.8rem 1.6rem;
}

@media screen and (min-width: 940px) {
    .footer-navigation {
        border-top: 1px solid #F2F4F7;
        padding: 4.8rem 2.4rem;
    }
}

@media screen and (min-width: 1200px) {
    .footer-navigation {
        padding: 4.8rem 2.4rem;
    }
}

@media screen and (min-width: 1440px) {
    .footer-navigation {
        padding: 4.8rem 4.8rem;
    }
}


.footer-navigation-content {
    display: grid;
    grid-gap: 4.8rem;    
    margin: 0 auto;
}

.footer__nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.2rem 2.4rem;
}


.footer-navigation__item {

}

.footer-navigation__item-content {
    display: flex;
    align-items: center;
}

.footer-navigation__item-content a, .footer-navigation__item-content p, .footer__title {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    color: var(--color-gray);
    margin: 0 0 1.6rem;
}

.toggle-footer-menu {
    background: none;
    border: 0;
    box-sizing: content-box;
    color: inherit;
    cursor: pointer;
    font: inherit;
    line-height: inherit;
    overflow: visible;
    vertical-align: inherit;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-grow: 1;
    padding: 0;
}

.toggle-footer-menu svg {
    width: 2.4rem;
    height: 2.4rem;
}

.toggle-footer-menu.is-open svg {
    transform: rotate(45deg);
}

.toggle-footer-menu-button {
    background: none;
    border: 0;
    box-sizing: content-box;
    color: inherit;
    cursor: pointer;
    font: inherit;
    line-height: inherit;
    overflow: visible;
    vertical-align: inherit;
    display: flex;
    align-items: center;
    padding: 1.5rem 0;
    width: 100%;
}

.toggle-footer-menu-button svg {
    margin-left: auto;
    margin-right: 0;
}

.toggle-footer-menu-button.is-open svg {
    transform: rotate(45deg);
}

.footer-navigation__menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.footer-navigation__menu li {
    padding: 0;
    margin: 0 0 1.2rem;
}

.footer-navigation__menu a {
    font-size: 1.6rem;
    line-height: 1.5;
    font-weight: 600;
    text-decoration: none;
    color: var(--color-gray-dark);
}

@media screen and (min-width: 940px) {
    .footer-navigation-content {
        grid-template-columns: 1fr 3fr 1fr;
        column-gap: 3.2rem;
    }

    .footer__nav {
        grid-template-columns: repeat(3, 1fr);
    }

    .toggle-footer-menu,
    .toggle-footer-menu-button {
        display: none;
    }

    .footer-navigation__menu {
        display: block;
    }
}

@media screen and (min-width: 1200px) {
    .footer-navigation-content {
        column-gap: 6.4rem;
    }
}


/* Hover */
@media (hover: hover) {
    .footer-navigation__item-content a:hover,
    .footer-navigation__menu a:hover {
        color: var(--color-blue)
    }
}

/* 
    =================
    | Footer bottom |
    =================
*/


.footer-bottom {
    width: 100%;
    max-width: 153.6rem;
    margin: 0 auto;
    padding: 3.2rem 1.6rem 4.8rem;
}

@media screen and (min-width: 940px) {
    .footer-bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 3.2rem 2.4rem 4.8rem;
    }
}

@media screen and (min-width: 1200px) {
    .footer-bottom {
        padding: 3.2rem 2.4rem 4.8rem;
    }
}

@media screen and (min-width: 1440px) {
    .footer-bottom {
        padding: 3.2rem 4.8rem 4.8rem;
    }
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    grid-gap: 2.4rem;
    margin-bottom: 2.4rem;
}

.footer-social .social-link {
    text-decoration: none;
    color: var(--color-gray-dark);
    transition: color 200ms;
}

@media screen and (min-width: 768px) {
    .footer-social {
        padding: 0;
        order: 3;
    }
}

@media screen and (min-width: 940px) {
    .footer-social {
        margin: 0;
    }
}

/* Hover */
@media (hover: hover) {
    .footer-social .social-link:hover {
        color: var(--color-blue)
    }
}

/* 
    ================
    | Footer links |
    ================
*/

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: 1.5rem;
    row-gap: 1.5rem;
}

.footer-links a {
    font-size: 1.4rem;
    text-decoration: none;
    color: var(--color-black);
}

@media screen and (min-width: 768px) {
    .footer-links {
        padding: 0;
        order: 2;
    }
}

/* 
    ===============
    | Footer copy |
    ===============
*/


.footer-copy p {
    margin: 0;
    font-size: 1.6rem;
    line-height: 150%;
    color: var(--color-gray);
}

@media screen and (min-width: 768px) {
    .footer-copy {
        padding: 0;
        order: 1;
        flex-grow: 1;
        flex-shrink: 1;
        flex-basis: 0%;
        text-align: left;
    }
}

.footer__info a {
    display: flex;
    margin-bottom: 2.4rem;
}

.footer__richtext p, .footer__richtext a {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

.footer__richtext strong {
    color: #475467;
}

.footer__richtext a {
    color: var(--color-gray-dark);
    text-decoration: none;
    transition: color 200ms;
}

.footer__richtext a:hover {
    color: var(--color-blue);
}

.footer-language-selector__input-wrapper {
    position: relative;
}

.footer-language-selector__input {
    appearance: none;
    width: 100%;
    font-size: 1.6rem;
    line-height: 1.5;
    padding: 1rem 1.4rem;
    border: 1px solid #D1D5DB;
    border-radius: 0.6rem;
    color: #475467;
}

.footer-language-selector__input-wrapper svg {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}