
/* ### FOOTER ### */
footer {
    background-color: #000;
    padding: 1.5rem;
    margin-top: 3.125rem;
}

footer * {
    color: #fff;
}

footer .wrapper {
    display: grid;
    grid-template-columns: 40% repeat(3, 1fr);
    align-items: start;
    gap: 2.5rem 1.25rem;
    margin-bottom: 2rem;
}

footer .content .logo {
    margin-bottom: 0.75rem;
}

footer .content p {
    font-family: var(--ff-tertiary-400);
    max-width: 85%;
    color: var(--c-neutral);
}

footer .links > :first-child {
    display: block;
    font-family: var(--ff-tertiary-700);
    font-size: var(--fs-sm, 1.125rem);
    margin-bottom: 0.75rem;
}

footer .links a {
    font-family: var(--ff-tertiary-400);
}

footer .links a:hover {
    text-decoration: underline;
}

footer .links li:not(:last-of-type):not(.social-links li) {
    margin-bottom: 0.5rem;
}

footer .newsletter {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    display: none; /* Remove This To View */
}

footer .newsletter > :first-child {
    font-family: var(--ff-tertiary-700);
    font-size: var(--_fs-sm-alt-lg, 1.25rem);
    line-height: 1.4;
}

footer .newsletter p {
    font-family: var(--ff-tertiary-400);
}

footer .newsletter form label {
    display: block;
    font-family: var(--ff-tertiary-700);
    margin-bottom: 0.5rem;
}

footer .newsletter form input {
    width: 100%;
    background-color: transparent;
    padding: 1.125rem;
    border: 1px solid #fff;
    border-radius: 0.5rem;
    margin-bottom: 1.25rem;
}

footer .newsletter form button {
    width: 100%;
    max-width: 16.25rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}

footer .newsletter p a {
    color: #fff; 
}

footer ul.accordions { /* Remove This To View */
    display: none;
}

footer ul {
    padding: 0;
}

footer .accordions button {
    width: 100%;
    position: relative;
    font-family: var(--ff-tertiary-700);
    text-align: left;
    padding-block: 1rem;
}

footer .accordions button::after {
    content: '';
    position: absolute;
    inset: 0 0 0 auto;
    width: 1rem;
    height: 0.875rem;
    background: no-repeat center/cover url('../images/icons/chevron-down.svg');
    margin-block: auto;
    transition: var(--trans-4);
}

footer .accordions button.active::after {
    transform: rotate(180deg);
}

footer .accordions > li {
    border-bottom: 1px solid #fff;
}

footer .accordions ul {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    padding-bottom: 1rem;
}

footer .accordions ul a {
    font-family: var(--ff-tertiary-400);
}

footer .social-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
}

footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
}

footer .social-links a:hover {
    transform: scale(1.1);
}

footer .copyright {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

footer .copyright p {
    font-family: var(--ff-tertiary-400);
    font-size: var(--fs-2xs, 0.75rem);
}

@media screen and (max-width: 1200px) {
    footer .wrapper {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 1.25rem;
    }
}

@media screen and (max-width: 860px) {
    footer .wrapper {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 720px) {
    footer {
        padding-inline: 1rem;
        margin-top: 2rem;
    }

    footer .container {
        padding: 0;
    }

    footer .newsletter form input {
        padding: 0.875rem 1rem;
    }

    footer .newsletter form button {
        max-width: 100%;
        font-family: var(--ff-tertiary-700);
        font-size: var(--fs-2xs, 0.75rem);
    }
}

@media screen and (max-width: 580px) {
    footer .newsletter {
        gap: 0.75rem;
    }

    footer .newsletter form input {
        margin-bottom: 0.75rem;
    }
}

@media screen and (max-width: 360px) {
    footer {
        margin-top: 1.25rem;
    }
    
    footer .copyright {
        flex-direction: column;
        justify-content: center;
    }
}

