/*
Theme Name: SellAny Child - Pottery Pottery
Theme URI: https://potterypottery.com/
Template: sellany
Author: Pottery Pottery
Description: Child theme of SellAny built for potterypottery.com. Switches the site-wide font to Montserrat.
Requires at least: 7.0
Tested up to: 7.0
Requires PHP: 7.0
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sellany-child
*/
/*
 * The nav block's desktop "justifyContent: right" setting adds an
 * "items-justified-right" class to the menu <ul>, which stays on the
 * element when it's reused inside the mobile modal. That forces
 * justify-content: flex-end on what should be a plain vertical list,
 * pushing/clipping the menu items instead of stacking them.
 */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
}

/*
 * Same leak as above, but on each individual <li>: it inherits
 * align-items: flex-end (from the desktop right-alignment), which
 * right-anchors the link content instead of stretching it full-width.
 */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container .wp-block-navigation-item {
    align-items: stretch !important;
    justify-content: flex-start !important;
}