/*-- -------------------------- -->
<---           Footer           -->
<--- -------------------------- -*/

.site-footer {
    padding: var(--space-3xl) 0;
    background-color: #000;
    position: relative;
}

.footer-top {
    width: 100%;
    margin-bottom: clamp(2rem, 4vw, 2.5rem);
    padding-bottom: clamp(2rem, 4vw, 2.5rem);
    border-bottom: 1px solid #484848;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.footer-logo {
    width: 10.5rem;
    height: auto;
    display: block;
}

.footer-logo-img {
    width: 100%;
    height: auto;
    display: block;
}

.footer-nav {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    row-gap: 0.5rem;
    column-gap: clamp(1.75rem, 4vw, 2.5rem);
}

.footer-nav-item {
    list-style: none;
}

.footer-nav-link {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.5em;
    text-decoration: none;
    color: #bababa;
    display: block;
    transition: color 0.3s;
}

.footer-nav-link:hover {
    color: var(--color-primary);
}

.footer-bottom {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-social {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.footer-social-item {
    list-style: none;
}

.footer-social-link {
    width: 2rem;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-social-icon {
    width: 1.1rem;
    height: auto;
    display: block;
    opacity: 1;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s;
}

.footer-social-link:hover .footer-social-icon {
    opacity: 0.85;
}

/* LinkedIn's brand guidelines require the official mark to keep its own colours, so it's excluded from the recolor treatment used by the other icons */
.footer-social-icon--linkedin {
    width: auto;
    height: 1.6rem;
    filter: none;
}

/* YouTube's brand guidelines also require the official icon to keep its own colours */
.footer-social-icon--youtube {
    width: auto;
    height: 1.6rem;
    filter: none;
}

/* Facebook's brand guidelines also require the official icon to keep its own colours */
.footer-social-icon--facebook {
    width: auto;
    height: 1.6rem;
    filter: none;
}

.footer-social-link--facebook {
    margin-right: 0.3rem;
}

/* Instagram's brand guidelines also require the official gradient mark to keep its own colours */
.footer-social-icon--instagram {
    width: auto;
    height: 1.6rem;
    filter: none;
}

.footer-copyright {
    font-size: 1rem;
    line-height: 1.5em;
    color: #bababa;
    display: block;
}

.footer-copyright-link {
    font-size: inherit;
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.footer-copyright-link:hover {
    color: var(--color-primary);
}

/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
    .footer-top {
        flex-direction: row;
        justify-content: space-between;
    }
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}
