/*
 Theme Name:   Hello Elementor Child
 Template:     hello-elementor
 Version:      1.0.0
 Description:  Child theme for Zosia Paszkiet portfolio
 Author:       Zosia Paszkiet
*/

/*
 * Hello Elementor's reset.css sets `button, input, select, textarea { font-family: inherit;
 * font-size: 1rem }`, which locks form-control sizing to 1rem regardless of body typography.
 * `font: inherit` restores natural cascade so Elementor's body typography reaches CF7 and
 * other plugin form controls without plugin-specific overrides.
 */
button,
input,
select,
textarea {
	font: inherit;
}

/*
 * Hello Elementor reset.css sets `figcaption { font-style: italic }`, which
 * was reasonable for blog image captions but Visual Portfolio uses
 * <figcaption class="caption-box"> as the hover overlay container, so the
 * italic cascades to the title text. Elysium parent had no such rule, so
 * production renders normal. Restoring the default keeps VP hover typography
 * consistent with the rest of the site.
 */
figcaption {
	font-style: normal;
}

/*
 * Visual Portfolio popup-gallery typography — documented product-limitation
 * exception. VP free does not expose typography controls for the lightbox
 * title/description; defaults render too small for a portfolio site that
 * leads with imagery. These overrides scale them proportionally to the
 * Darker Grotesque body system without forcing any other plugin styling.
 */
.vp-portfolio__item-popup-title {
	font-size: 2.25rem;
	line-height: 1.2;
}
.vp-portfolio__item-popup-description {
	font-size: 1.375rem;
	line-height: 1.5;
}

/*
 * Visual Portfolio filter bar (ALL / DIGITAL / PAINTINGS / …). VP free does
 * not expose typography controls for `.vp-filter__item`; the default inherits
 * body 18px which feels small against the bold portfolio grid below it.
 * Bumping to 1.25em gives the filter chips more presence without locking
 * an absolute pixel value.
 */
.vp-filter__item {
	font-size: 1.25em;
}
