/*
 * WordPress-only adjustments on top of app.css (the untouched Tailwind build).
 * Keep this file small: anything visual should already be in app.css.
 */

/* Fixed navbar below the admin bar for logged-in users. */
.admin-bar #yfx-nav { top: 32px; }
.admin-bar #mobile-navigation { top: calc(4rem + 32px); }
@media (min-width: 768px) { .admin-bar #mobile-navigation { top: calc(5rem + 32px); } }
@media (max-width: 782px) {
	.admin-bar #yfx-nav { top: 46px; }
	.admin-bar #mobile-navigation { top: calc(4rem + 46px); }
}

/* Core block wrappers inside articles behave like the original plain elements. */
.article-content .wp-block-image img { display: block; }
.article-content .wp-block-group { margin: 0; }
.article-content figure.wp-block-image { margin: 2.5rem 0; }

/* Tool app mount point must not affect layout (the original rendered the section directly). */
[data-yfx-tool] { display: contents; }
