/*
Theme Name: Saaristolääkärit
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: Saaristolääkärit — client child theme of Agency Theme Gutenberg. Brand values live in theme.json tokens; sections come from the parent's pattern library and this child's patterns.
Template: agency-theme-gutenberg
Version: 0.1.2
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: saaristolaakarit
Tags: block-theme, full-site-editing, block-patterns
*/

/* Structural plumbing only; every look is a token, attribute or variation. */

/* Sections carry their own measured spacing (block margin/padding). */
.wp-block-post-content > * {
	margin-block-start: 0;
}

.wp-site-blocks {
	position: relative;
}

/* The header floats over the first panel of every page. */
.wp-site-blocks > header.wp-block-template-part {
	position: absolute;
	inset: 24px max(72px, calc((100% - 1296px) / 2)) auto;
	z-index: 50;
}

.wp-site-blocks > header + * {
	margin-block-start: 0;
}

.is-style-header-bar .wp-block-site-logo img {
	height: auto;
}

@media (width <= 781px) {
	.wp-site-blocks > header.wp-block-template-part {
		inset: 16px 16px auto;
	}

	.is-style-header-bar {
		min-height: 60px;
		padding-left: 18px !important;
		padding-right: 8px !important;
		border-radius: 16px;
	}

	.is-style-footer-panel,
	.wp-block-cover.is-style-title-panel {
		margin-left: 8px !important;
		margin-right: 8px !important;
		border-radius: 20px !important;
	}

	.is-style-legal-links {
		flex-wrap: wrap;
	}

	/* Full-bleed sections keep the page gutter once their columns stack. */
	.wp-block-post-content > section > .wp-block-columns {
		padding-left: var(--wp--preset--spacing--30);
		padding-right: var(--wp--preset--spacing--30);
	}
}
