/* =============================================
   Core heading blocks (Gutenberg core/heading) — project type scale.
   Source: Figma K0iAyYecYz9hLRTfdLHIxM (all headings = Nunito Sans, #333a42).
   Loaded on the front-end AND in the editor (add_editor_style) so the
   H1–H6 picker matches the design everywhere.
   Custom ACF block headings (.tl-*__heading) are NOT affected — they keep
   their own block styles. Long-form article body keeps its reading scale.
   ============================================= */

.wp-block-heading {
	font-family: 'Nunito Sans', 'Nunito Sans Fallback', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: #333a42;
	letter-spacing: 0;
}

h1.wp-block-heading { font-size: 48px; line-height: 57.6px; font-weight: 500; }
h2.wp-block-heading { font-size: 36px; line-height: 50.4px; font-weight: 500; }
h3.wp-block-heading { font-size: 24px; line-height: 28.8px; font-weight: 600; }
h4.wp-block-heading { font-size: 20px; line-height: 24px;   font-weight: 600; }
h5.wp-block-heading { font-size: 18px; line-height: 28.8px; font-weight: 500; }
h6.wp-block-heading { font-size: 16px; line-height: 21.8px; font-weight: 500; }

/* Tablet / mobile — scaled down to match the Figma mobile frames. */
@media (max-width: 767px) {
	h1.wp-block-heading { font-size: 32px; line-height: 38.4px; }
	h2.wp-block-heading { font-size: 24px; line-height: 28.8px; }
	h3.wp-block-heading { font-size: 20px; line-height: 24px; }
	h4.wp-block-heading { font-size: 18px; line-height: 21.6px; }
}
