/*
 * WordPress-side fixes so the Webflow stylesheet renders exactly as on Webflow.
 * Keep this file small: every rule here is a difference between WP's markup and Webflow's.
 */

/*
 * Block wrappers WordPress adds around template parts and post content: no spacing of their own.
 * Only the wrappers. Never their children: Webflow sections rely on their own (sometimes negative) margins.
 */
.wp-site-blocks,
.wp-site-blocks > *,
.wp-block-post-content,
.wp-block-template-part {
	margin: 0 !important;
	padding: 0;
	max-width: none;
}

/* "Made in Webflow" badge: webflow.js only injects it on free Webflow hosting (data-wf-status), which
   WordPress never outputs. Hidden here as a safety net. */
.w-webflow-badge {
	display: none !important;
}

/* WP admin bar pushes html down; keep Webflow's fixed nav below it when logged in */
.admin-bar .navigation-wrapper,
.admin-bar .navbar-component.w-nav {
	top: var(--wp-admin--admin-bar--height, 32px);
}
