/* WordPress & Theme Enhancements */
html {
	scroll-behavior: smooth;
}

.no-scrollbar::-webkit-scrollbar {
	display: none;
}
.no-scrollbar {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(4px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.animate-fade-in {
	animation: fadeIn 0.25s ease-out both;
}

/* WordPress Admin Bar offset for sticky header */
body.admin-bar header#mi-site-header {
	top: 32px;
}
@media screen and (max-width: 782px) {
	body.admin-bar header#mi-site-header {
		top: 46px;
	}
}

/* Modal & Lightbox scroll lock */
body.mi-modal-open {
	overflow: hidden;
}

/* Ensure WordPress figure/block defaults don't break layout */
.mi-prose p + p {
	margin-top: 1rem;
}
