.wp-block-navigation-submenu__toggle svg {
	transition: transform 0.6s ease-in-out;
}

.wp-block-navigation-submenu__toggle[aria-expanded="true"] svg {
	transform: rotate(-180deg);
	transition: transform 0.6s ease-in-out;
}

.wp-block-navigation:not(.has-text-color) .wp-block-navigation__submenu-container {
	color: var(--wp--preset--color--contrast);
}

.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
	background-color: var(--wp--preset--color--base);
	border: none;
}

.wp-block-navigation__submenu-container {
	border-radius: var(--wp--custom--submenu-radius);
	padding: calc( var(--wp--custom--submenu-radius) / 3) !important;
}

.wp-block-navigation__submenu-container > .wp-block-navigation-item.has-child.open-on-click > button.wp-block-navigation-item__content {
	padding: .5em 1em;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container {
	padding: 1em !important;
}
