/*
Theme Name: Design & Develop Build Base
Theme URI: https://designanddevelop.io/
Author: Design & Develop
Author URI: https://designanddevelop.io/
Description: A lightweight block-theme foundation for programmatic GridPane site builds.
Version: 2.0.0
Requires at least: 7.1
Requires PHP: 8.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dnd-build-base
Tags: full-site-editing, block-patterns, custom-colors, custom-logo, editor-style, wide-blocks
*/

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	text-wrap: pretty;
}

:where(a, button, input, select, textarea):focus-visible {
	outline: 3px solid var(--wp--preset--color--accent);
	outline-offset: 3px;
}

.wp-site-blocks {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.site-main {
	flex: 1;
}

.wp-block-post-content > :where(figure, .wp-block-image, .wp-block-cover).alignwide,
.wp-block-post-content > :where(figure, .wp-block-image, .wp-block-cover).alignfull {
	margin-block: var(--wp--preset--spacing--60);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
