/**
 * Block editor template typography.
 *
 * Maps Gutenberg blocks to each template's font sizes (editor canvas + published singles).
 * Loaded after resume-public.css so template rules win over generic editor defaults.
 */

/* Shared root-container paths for top-level blocks */
body.rezicraft-public-resume-page .rezicraft-resume[class*="rezicraft-resume--"] > h1.wp-block-heading:first-of-type:not(.has-text-color),
.editor-styles-wrapper.rezicraft-resume[class*="rezicraft-resume--"] :where(.is-root-container, .block-editor-block-list__layout) > h1.wp-block-heading:first-of-type:not(.has-text-color),
.editor-styles-wrapper.rezicraft-resume[class*="rezicraft-resume--"] > h1.wp-block-heading:first-of-type:not(.has-text-color) {
	margin: 0 0 10px;
	font-weight: 700;
	line-height: 1.15;
	color: var(--rezicraft-accent, var(--rezicraft-text, #111827));
	font-size: var(--rezicraft-editor-h1, 30px);
	font-family: var(--rezicraft-editor-h1-font, inherit);
	text-transform: var(--rezicraft-editor-h1-transform, uppercase);
	letter-spacing: var(--rezicraft-editor-h1-spacing, 0.04em);
	text-align: var(--rezicraft-editor-h1-align, inherit);
}

body.rezicraft-public-resume-page .rezicraft-resume[class*="rezicraft-resume--"] > h2.wp-block-heading:not(.has-text-color),
.editor-styles-wrapper.rezicraft-resume[class*="rezicraft-resume--"] :where(.is-root-container, .block-editor-block-list__layout) > h2.wp-block-heading:not(.has-text-color),
.editor-styles-wrapper.rezicraft-resume[class*="rezicraft-resume--"] > h2.wp-block-heading:not(.has-text-color) {
	font-weight: 700;
	line-height: 1.3;
	color: var(--rezicraft-accent, var(--rezicraft-text, #111827));
	font-size: var(--rezicraft-editor-h2, 12px);
	font-family: var(--rezicraft-editor-h2-font, inherit);
	text-transform: var(--rezicraft-editor-h2-transform, uppercase);
	letter-spacing: var(--rezicraft-editor-h2-spacing, 0.06em);
	text-align: var(--rezicraft-editor-h2-align, left);
	margin: var(--rezicraft-editor-h2-margin, 22px 0 0);
	padding-bottom: var(--rezicraft-editor-h2-padding-bottom, 5px);
	border-bottom: var(--rezicraft-editor-h2-border-bottom, 1px solid var(--rezicraft-rule, #111827));
	border-top: var(--rezicraft-editor-h2-border-top, none);
}

body.rezicraft-public-resume-page .rezicraft-resume[class*="rezicraft-resume--"] h3.wp-block-heading:not(.has-text-color),
.editor-styles-wrapper.rezicraft-resume[class*="rezicraft-resume--"] h3.wp-block-heading:not(.has-text-color) {
	font-weight: 700;
	line-height: 1.3;
	color: var(--rezicraft-text, #111827);
	font-size: var(--rezicraft-editor-h3, 13px);
}

body.rezicraft-public-resume-page .rezicraft-resume[class*="rezicraft-resume--"] p:not(.has-text-color),
body.rezicraft-public-resume-page .rezicraft-resume[class*="rezicraft-resume--"] li:not(.has-text-color),
.editor-styles-wrapper.rezicraft-resume[class*="rezicraft-resume--"] p:not(.has-text-color),
.editor-styles-wrapper.rezicraft-resume[class*="rezicraft-resume--"] li:not(.has-text-color) {
	font-size: var(--rezicraft-editor-body, 12px);
	line-height: 1.45;
	color: var(--rezicraft-muted, #374151);
}

body.rezicraft-public-resume-page .rezicraft-resume[class*="rezicraft-resume--"] > p.has-text-align-center,
.editor-styles-wrapper.rezicraft-resume[class*="rezicraft-resume--"] :where(.is-root-container, .block-editor-block-list__layout) > p.has-text-align-center,
.editor-styles-wrapper.rezicraft-resume[class*="rezicraft-resume--"] > p.has-text-align-center {
	font-size: var(--rezicraft-editor-contact, 11px);
	line-height: 1.5;
}

body.rezicraft-public-resume-page .rezicraft-resume[class*="rezicraft-resume--"] .wp-block-columns .wp-block-column > h3.wp-block-heading,
.editor-styles-wrapper.rezicraft-resume[class*="rezicraft-resume--"] .wp-block-columns .wp-block-column > h3.wp-block-heading {
	font-size: var(--rezicraft-editor-col-h3, var(--rezicraft-editor-h3, 13px));
}

body.rezicraft-public-resume-page .rezicraft-resume[class*="rezicraft-resume--"] .wp-block-columns .wp-block-column > p,
.editor-styles-wrapper.rezicraft-resume[class*="rezicraft-resume--"] .wp-block-columns .wp-block-column > p {
	font-size: var(--rezicraft-editor-col-p, var(--rezicraft-editor-body, 12px));
}

/* -------------------------------------------------------------------------
   general
   ------------------------------------------------------------------------- */

body.rezicraft-public-resume-page .rezicraft-resume--general,
.editor-styles-wrapper.rezicraft-resume--general {
	font-size: 13px;
	--rezicraft-editor-h1: 28px;
	--rezicraft-editor-h1-font: var(--rezicraft-serif);
	--rezicraft-editor-h1-transform: uppercase;
	--rezicraft-editor-h1-spacing: 0.06em;
	--rezicraft-editor-h1-align: center;
	--rezicraft-editor-h2: 15px;
	--rezicraft-editor-h2-font: var(--rezicraft-serif);
	--rezicraft-editor-h2-transform: none;
	--rezicraft-editor-h2-align: center;
	--rezicraft-editor-h2-margin: 0 0 6px;
	--rezicraft-editor-h2-padding-bottom: 0;
	--rezicraft-editor-h2-border-bottom: 0;
	--rezicraft-editor-h3: 13px;
	--rezicraft-editor-body: 13px;
	--rezicraft-editor-col-h3: 13px;
	--rezicraft-editor-col-p: 13px;
}

body.rezicraft-public-resume-page .rezicraft-resume--general > h1.wp-block-heading:first-of-type + p.has-text-align-center,
.editor-styles-wrapper.rezicraft-resume--general :where(.is-root-container, .block-editor-block-list__layout) > h1.wp-block-heading:first-of-type + p.has-text-align-center,
.editor-styles-wrapper.rezicraft-resume--general > h1.wp-block-heading:first-of-type + p.has-text-align-center {
	font-family: var(--rezicraft-serif);
	font-size: 16px;
}

body.rezicraft-public-resume-page .rezicraft-resume--general > h1.wp-block-heading:first-of-type + p.has-text-align-center + p.has-text-align-center,
.editor-styles-wrapper.rezicraft-resume--general :where(.is-root-container, .block-editor-block-list__layout) > h1.wp-block-heading:first-of-type + p.has-text-align-center + p.has-text-align-center,
.editor-styles-wrapper.rezicraft-resume--general > h1.wp-block-heading:first-of-type + p.has-text-align-center + p.has-text-align-center {
	font-size: 12px;
}

/* -------------------------------------------------------------------------
   new-york
   ------------------------------------------------------------------------- */
