.wp-block-navigation__responsive-container {
    &.is-menu-open.has-modal-open {
        padding: var(--wp--custom--block-gap);

        ul {
            width: 100%;
            display: block;
            padding: 0;
            gap: 0 !important;

            li {
                width: 100%;
                display: block;
                margin: 0;

                a {
                    width: 100%;
                    display: block;
                    padding: var(--wp--preset--spacing--small-15) 0 !important;
                    border-bottom: 1px solid var(--wp--preset--color--washed-grey);
                    margin-bottom: var(--wp--preset--spacing--small-10);
                }

                &:last-child {
                    a {
                        border-bottom: 0;
                    }
                }
            }
        }

        .wp-block-buttons {
            width: 100%;

            .wp-block-button {
                width: 100%;

                .wp-element-button {
                    width: 100%;
                }
            }
        }
    }
}

header.alignfull.wp-block-template-part {
    .wp-block-navigation__container.has-p-font-size.items-justified-right {
        &.wp-block-navigation.has-p-font-size {
            li {
                a {
                    transition: all 0.25s;
                    position: relative;
                    padding-top: 10px;
                    padding-bottom: 10px;
                    overflow: hidden;
                    transition: all 0.25s;
    
                    span {
                        position: relative;
                        transition: all 0.25s;
                        display: block;
                    }
    
                    &:after {
                        content: "";
                        position: absolute;
                        bottom: 0;
                        left: 0;
                        width: 40px;
                        height: 1px;
                        background-color: white;
                        opacity: 0;
                        transition: all 0.25s;
                        left: -40px;
                    }
                }

                &:hover {
                    a {
                        span {
                            transform: translateY(-5px);
                        }

                        &:after {
                            opacity: 1;
                            left: 0;
                        }
                    }
                }
            }
        }
    }
}

footer.wp-block-template-part {
    .wp-block-navigation__container {
        .wp-block-navigation-item {
            a {
                span {
                    transition: all 0.25s;
                }

                &:hover {
                    span {
                        margin-left: 10px;
                    }
                }
            }
        }
    }
}