/*
Theme Name: Aqua Clean
Theme URI: https://github.com/WP-SEO-AI-Agency/agency-theme-gutenberg
Author: WP SEO AI Web Agency
Author URI: https://github.com/WP-SEO-AI-Agency
Description: Aqua Clean — client child theme of Agency Theme Gutenberg. Brand values live in theme.json tokens; sections come from the parent's pattern library.
Template: agency-theme-gutenberg
Version: 0.1.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aquaclean
Tags: block-theme, full-site-editing, block-patterns
*/

/* Structural rules shared by the editor canvas and the public page. */
.wp-site-blocks > header,
.wp-site-blocks > footer {
	margin-block-start: 0;
}

.wp-block-navigation__submenu-container {
	min-width: 15rem;
	max-width: min(24rem, calc(100vw - 2 * var(--wp--custom--gutter)));
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	max-width: 100%;
}

.wp-block-table {
	overflow-x: auto;
}

.wp-block-table th,
.wp-block-table td {
	overflow-wrap: normal;
}

.wp-block-details > summary {
	cursor: pointer;
}

.wp-block-details[id] {
	scroll-margin-block-start: var(--wp--preset--spacing--40);
}

.wp-block-group.is-style-responsive-grid > *,
.wp-block-columns > .wp-block-column {
	min-width: 0;
}

/* Imagify's picture wrapper must not interrupt native Gallery flex items. */
.wp-block-gallery.has-nested-images .wp-block-image picture {
	display: contents;
}

@media (width <= 781px) {
	.wp-block-group.is-style-responsive-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (width <= 480px) {
	.wp-block-group.is-style-responsive-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}
