/**
 * Site-wide layout fixes that don't belong to any single feature area.
 *
 * Unlike the other CSS files in this plugin (scoped to one feature —
 * buddypanel, leaderboard, articles, etc.), this file is the shared home
 * for small, cross-cutting overrides to core BuddyBoss theme markup that
 * affect the whole site. Keep entries short and documented; if a fix
 * grows feature-specific, give it its own file instead.
 */

/**
 * Full-width community footer menu.
 *
 * BuddyBoss caps `.container` at 1200px, and `.footer-bottom .container`
 * (the footer-menu bar rendered by template-parts/footer.php) inherits
 * that cap. When the footer menu has more items than fit inside 1200px
 * minus the socials/description column, BuddyBoss's BossSocialMenu script
 * (buddyboss-theme/assets/js/vendors/menu.js, applied to
 * `.bb-footer ul.footer-menu`) collapses the overflowing items behind a
 * "..." (bb-icon-ellipsis-h) "more" toggle. Letting the footer container
 * use the full available width gives the menu enough room that every
 * link fits, so the "..." toggle never has to appear.
 */
#page .footer-bottom .container.flex {
	max-width: 100% !important;
	width: 100%;
	padding-left: 40px;
	padding-right: 40px;
	box-sizing: border-box;
}

@media screen and (max-width: 767px) {
	#page .footer-bottom .container.flex {
		padding-left: 22px;
		padding-right: 22px;
	}
}
