/*
Theme Name:  Nectarblocks Child Theme
Version:     1.6.1
Template:    nectar-blocks-theme
Description: Child theme for Nectarblocks.
Theme URI:   https://nectarblocks.com
Author:      NectarBlocks
Author URI:  https://nectarblocks.com
License:     Custom license
License URI: https://nectarblocks.com/license
Text Domain: nectar-blocks-theme
*/

/*-------------------------------------------------------------------------*/
/* Note: The theme CSS files are loaded through the /css/ folder.
/*-------------------------------------------------------------------------*/

/*-------------------------------------------------------------------------*/
/* Gravity Forms (Orbital theme): inherit the surrounding paragraph
/* typography and brand instead of the block's own defaults. Full rationale,
/* the --gf-* property reference, and the cascade gotchas below (inline
/* per-form <style>, input-vs-button submit tag, Used CSS Optimization) are
/* in `02 Documentation/Nectarblocks WP Theme/08 Gravity Forms CSS.md` -
/* read that before touching or extending this section.
/*-------------------------------------------------------------------------*/
.gform-theme--framework .gfield_label {
	font-family: inherit !important;
	font-size: inherit !important;
	text-transform: none !important;
}

/* `> .gfield_required` (not the bare class) matches only the outer wrapping
/* span once - GF nests the same class twice - so the 0.75em doesn't compound. */
.gform-theme--framework .gform-field-label--type-sub,
.gform-theme--framework .gfield_description,
.gform-theme--framework .gfield_label > .gfield_required {
	font-family: inherit !important;
	font-size: 0.75em !important;
	text-transform: none !important;
}

.gform-theme--framework .gform_footer :is(button, input)[type="submit"].gform_button,
.gform-theme--framework .gform_page_footer :is(button, input)[type="submit"].gform_button,
.gform-theme--framework .gfield--type-submit :is(button, input)[type="submit"].button {
	font-family: inherit !important;
	font-size: inherit !important;
	font-weight: inherit !important;
}

/* Input/textarea/select border + shadow, field-to-field vertical gap - none
/* exposed as block-editor controls (doc 08 §7). */
.gform-theme--framework {
	--gf-ctrl-border-width: 1.5px !important;
	--gf-ctrl-shadow: none !important;
	--gf-form-gap-y: 16px;
}