/*
Theme Name: BNBM Workbench
Theme URI: https://example.com/
Author: Ben Newton
Author URI: https://example.com/
Description: A lightweight, block-based marketing theme for the Business Manager (By Ben Newton) plugin.
Requires at least: 6.2
Tested up to: 6.9
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bnbm-workbench
Tags: block-styles, full-site-editing, one-column, custom-colors, custom-logo, editor-style, wide-blocks
*/

html, body {
    width: 100%;
}

.bm-site-footer a {
	text-decoration: none;
}
	
.bm-faq summary {
	background: #efefef;
	padding: 10px;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	cursor: pointer;
	margin: 5px 0;
	font-weight: bold;
}

.bm-faq summary:focus,
.bm-faq summary:active,
.bm-faq summary:hover {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary-contrast);
}

.bm-section--tight:has(.bm-card.with-margin) {
	margin: 0 20px;
}

.bm-section--tight:has(.bm-card.with-margin) :where(.wp-block-columns) {
    margin-bottom: .5em;
}

.wp-block-navigation {
	color: #8ed1fc;
}

.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content {
    color: #8ed1fc;
}

.wp-block-navigation .current-menu-item .wp-block-navigation-item__content.wp-block-navigation-item__content {
    color: white;
}

.wp-block-navigation__responsive-container-content a {
	margin: 10px;
}

.wp-site-blocks .wp-block-navigation__responsive-container.is-menu-open.is-menu-open {
    background-color: #111!important;
    color: #fff!important;
	padding: 20px;
}

.wp-block-group a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.bm-feature-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1286px) {
	.bm-site-header, 
	.bm-section,
	.bm-site-footer {
		padding: 20px;
	}
	.bm-section--tight {
		padding: 0;
	}
}
	
@media (max-width: 782px) {
	.wp-block-site-logo img {
		max-width: 120px;
	}
	:root :where(.wp-element-button, .wp-block-button__link) {
		padding: 6px 14px;
	}
	.bm-feature-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}