.c-footer-menu {
    display: flex;
    padding: 0;
    flex-direction: column;
    flex-wrap: wrap;

    @screen md {
        flex-direction: row;
        flex-wrap: wrap;
        row-gap: .5rem;

        li {
            padding-right: 2rem;
        }
    }
}

.c-footer-menu__item {
    display: flex;
    align-items: center;
    padding: .25rem 0;

    @screen md {
        padding: 0;
    }
}

.c-footer-menu__link {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: white;
    text-decoration: none;
    padding-top: .5rem;
    transition: $transition-time ease-in-out;

    @screen md {
        padding-top: .25rem;
    }

    span {
        position: relative;

        &::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 1px;
            bottom: -2px;
            background-color: rgba($color: #fff, $alpha: .25%);
            transition: width .3s;
        }

        &::after {
            content: '';
            position: absolute;
            width: 0;
            height: 1px;
            left: 0;
            bottom: -2px;
            background-color: theme('colors.white');
            transition: width .3s;
        }
    }

    &:hover,
    &:focus {
        span {
            &::after {
                width: 100%;
            }
        }
    }
}

.c-footer-menu__icon {
    margin: 0 .25rem .25rem 0;
}

/* stylelint-disable */
.c-site-footer  {
    .bg-white {
        .c-footer-menu__link {
            color: theme('colors.gray.900');

            span {

                &::before {
                    background-color: rgba(51, 51, 51, .25%);
                }

                &::after {
                    background-color: theme('colors.gray.900');
                }
            }
        }
    }
}
/* stylelint-enable */
