/* 0.5.6 — wrapper CSS + logo size so WP chrome matches the designed HTML.
   Kill switch iqc_runtime_parity_off does not disable this sheet. */

/* core/group/buttons wrappers must not change designed .actions / .btn / header rows */
.site-header .wp-block-buttons.ws-nav-cta-wrap,
.site-header .wp-block-button.ws-nav-cta,
header .wp-block-buttons.ws-nav-cta-wrap,
header .wp-block-button.ws-nav-cta,
.actions .wp-block-buttons,
.actions .wp-block-button {
	display: contents;
}

/* Logo sizing matches HTML .brand (max-height 64px; 48px at max-width 600px) */
.site-header .wp-block-site-logo,
.site-header .wp-block-site-logo a,
.site-header .custom-logo-link,
header .brand,
header .wp-block-site-logo a {
	line-height: 0;
	display: inline-flex;
	align-items: center;
}
/* t2509 0.5.18: a logo the builder's wz2-hdr sizes (.wz2hd-c, --wz2hd-h up to 84px) is left to it */
.site-header .wp-block-site-logo img:not(.wz2hd-c),
.site-header .custom-logo:not(.wz2hd-c),
.site-header .brand img:not(.wz2hd-c),
header .wp-block-site-logo img:not(.wz2hd-c),
header .custom-logo:not(.wz2hd-c),
header .brand img:not(.wz2hd-c) {
	width: auto !important;
	height: auto !important;
	max-height: 64px !important;
	max-width: min(220px, 48vw) !important;
	object-fit: contain !important;
}
@media (max-width: 600px) {
	.site-header .wp-block-site-logo img:not(.wz2hd-c),
	.site-header .custom-logo:not(.wz2hd-c),
	.site-header .brand img:not(.wz2hd-c),
	header .wp-block-site-logo img:not(.wz2hd-c),
	header .custom-logo:not(.wz2hd-c),
	header .brand img:not(.wz2hd-c) {
		max-height: 48px !important;
	}
}

/* Header Call CTA: one-line label + icon, designed .btn--sm size */
header a.btn[data-wz2nav-action="call"],
.site-header a.btn[data-wz2nav-action="call"] {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	white-space: nowrap;
}
header a.btn[data-wz2nav-action="call"] .wz2nav-action-icon,
.site-header a.btn[data-wz2nav-action="call"] .wz2nav-action-icon {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
}

/* 0.5.7: WP wrappers must not become a content column. Full-bleed sections stay viewport-wide.
   (wz2-grid otherwise caps .ws-native at --content-max / ~1152px.) */
.ws-native-page .entry-content,
.ws-native-page .wp-block-post-content,
.ws-native-page .wsc-canvas,
.ws-native-page .ws-native,
.ws-native-page .wsc-canvas-main,
.ws-native-page .wsc-main {
	max-width: none !important;
	width: 100% !important;
	margin-inline: 0 !important;
	padding-inline: 0 !important;
	box-sizing: border-box !important;
}
.ws-native-page section.alignfull,
.ws-native-page .wp-block-group.alignfull {
	width: 100% !important;
	max-width: none !important;
	margin-inline: 0 !important;
}

/* 0.5.19 (t2529): a phone number never breaks mid-number (form footers, CTA lines). */
:is(.ws-native,.ws-native-footer,.ws-native-header) a[href^="tel:"]{white-space:nowrap!important}
