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

/* Structural plumbing only: breakpoint switches for registered variations. Looks live in theme.json and styles/. */

/* Anchor jumps (#lomake-quote) land below the sticky header. */
html {
	scroll-padding-top: 8.5rem;
}

@media (max-width: 781px) {
	.wp-block-group.is-style-topbar-contacts > p:nth-child(2),
	.wp-block-paragraph.is-style-topbar-optional,
	p.is-style-topbar-optional {
		display: none;
	}

}

@media (max-width: 599px) {
	.wp-block-buttons.is-style-header-cta {
		display: none;
	}
}

@media (max-width: 1024px) {
	.wp-block-columns.is-style-figures {
		flex-wrap: wrap !important;
	}

	.wp-block-columns.is-style-figures {
		row-gap: var(--wp--preset--spacing--30);
	}

	.wp-block-columns.is-style-figures:not(.is-not-stacked-on-mobile) > .wp-block-column {
		flex-basis: 40% !important;
		flex-grow: 1 !important;
		box-sizing: border-box;
	}

	.wp-block-columns.is-style-figures:not(.is-not-stacked-on-mobile) > .wp-block-column:nth-child(odd) {
		border-left: 0;
		padding-left: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wp-block-group.is-style-post-card {
		transition: none;
	}
}
