/*
Theme Name: FDF
Description: Minimal block theme for the FDF Store Platform.
Version: 0.2.0
Requires at least: 7.1
Requires PHP: 8.4
Text Domain: fdf
*/

*,
*::before,
*::after {
	box-sizing: border-box;
}

:where(.wp-site-blocks, .editor-styles-wrapper) a {
	text-underline-offset: 4px;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .has-caption-font-size {
	line-height: 20px;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .has-lead-font-size {
	line-height: 28px;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .has-local-font-size {
	line-height: 28px;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .has-subsection-font-size {
	line-height: 30px;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .has-section-font-size {
	line-height: 35px;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .has-title-font-size {
	line-height: 48px;
	letter-spacing: -0.6px;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .has-display-font-size {
	line-height: 54px;
	letter-spacing: -0.6px;
}

:where(.wp-site-blocks, .editor-styles-wrapper) :focus-visible {
	outline: 3px solid var(--wp--preset--color--amber);
	outline-offset: 3px;
	box-shadow: 0 0 0 1px var(--wp--preset--color--navy);
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-button__link {
	min-height: 52px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--amber-hover);
}

:where(.wp-site-blocks, .editor-styles-wrapper) .is-style-outline .wp-block-button__link:is(:hover, :focus-visible) {
	background-color: rgb(252 175 23 / 12%);
}

@media (min-width: 761px) and (max-width: 1099px) {
	:where(.wp-site-blocks, .editor-styles-wrapper) .has-display-font-size {
		font-size: 40px !important;
		line-height: 48px;
	}
}

@media (max-width: 760px) {
	.wp-site-blocks > main.wp-block-group,
	.editor-styles-wrapper {
		padding-right: 16px;
		padding-left: 16px;
	}

	:where(.wp-site-blocks, .editor-styles-wrapper) h1 {
		font-size: 32px;
		line-height: 38px;
		letter-spacing: -0.45px;
	}

	:where(.wp-site-blocks, .editor-styles-wrapper) h2 {
		font-size: 24px;
		line-height: 30px;
	}

	:where(.wp-site-blocks, .editor-styles-wrapper) .has-lead-font-size {
		font-size: 16px !important;
		line-height: 24px;
	}

	:where(.wp-site-blocks, .editor-styles-wrapper) .has-display-font-size {
		font-size: 30px !important;
		line-height: 36px;
	}

	:where(.wp-site-blocks, .editor-styles-wrapper) .has-title-font-size {
		font-size: 32px !important;
		line-height: 38px;
		letter-spacing: -0.45px;
	}

	:where(.wp-site-blocks, .editor-styles-wrapper) .has-section-font-size {
		font-size: 24px !important;
		line-height: 30px;
	}
}
