/**
 * The member's name, promoted from <h4> to <h1>, looking exactly as it did.
 *
 * WHY THIS FILE HAS TO EXIST. The child theme sizes that heading as
 *
 *     .wpee-profile-header h4.username.text-white { font-size: 32px }
 *
 * with **the tag inside the selector**. The moment `includes/profile-h1.php`
 * makes it an `<h1>` that rule stops matching, and the theme's own
 *
 *     @media screen and (min-width: 375px) and (max-width: 1399px) {
 *         body.page h1 { font-size: calc(35px + 37 * ((100vw - 375px) / 1025)) }
 *     }
 *
 * takes over instead — 35px at 375 rising to 72px at 1399. Without the rules
 * below, giving the page a correct heading for Google would have made every
 * member's name enormous. See NOTES.md, "The theme sizes every heading on a
 * page".
 *
 * So these are not a restyle. They are the theme's own two values, restated
 * against the new tag:
 *
 *     desktop          32px   (style.css, .wpee-profile-header h4.username.text-white)
 *     <= 767px         24px, margin 0   (same file, inside its 767 media query)
 *
 * Measured on live 2026-11-24 before the change: 32px / 700 / 41.6px line
 * height at 1440 and 1027, and 24px / 700 / 31.2px at 390. After it, the same.
 *
 * Specificity: `.wpee-profile-header h1.username.text-white` is (0,3,1), which
 * clears `body.page h1` at (0,1,2) comfortably and needs no `!important`.
 * `.meetem-seo-h1` is carried as well so the element is findable, but it is
 * deliberately NOT the thing holding the size — if the vendor ever restores an
 * `<h4>`, these rules stop matching and the theme's originals take over again
 * with nothing left behind.
 */

.wpee-profile-header h1.username.text-white {
	order: 1;
	margin: 0 0 9px;
	color: var(--color-heading);
	font-size: 32px;
	font-weight: 700;
	line-height: 1.3;
}

@media screen and (max-width: 767px) {
	.wpee-profile-header h1.username.text-white {
		flex: 0 0 100%;
		margin: 0;
		font-size: 24px;
	}
}
