/* Page-title role only. Legacy h1 rules exclude .gu-page-heading during migration.
 * Site defaults are resolved once in PHP; no page-name font/size whitelist. */
.gu-page-heading{
 font-family:var(--gu-page-title-font);font-size:var(--gu-page-title-size);
 font-weight:var(--gu-page-title-weight);font-style:normal;
 line-height:var(--gu-page-title-line-height);letter-spacing:var(--gu-page-title-letter-spacing);
 color:var(--gu-heading-context-ink,var(--gu-page-title-color));text-align:var(--gu-page-title-align);
 border:0;padding:0;margin:0;max-width:100%;overflow-wrap:anywhere;text-shadow:none;
}
.gu-page-heading::before{
 content:"";display:var(--gu-page-title-vertical-display);position:static;
 width:var(--gu-page-title-before-width);height:var(--gu-page-title-before-height);
 background:var(--gu-heading-context-ink,var(--gu-page-title-divider-color));
 border:0;border-radius:var(--gu-page-title-divider-radius);vertical-align:baseline;
 margin:0 var(--gu-page-title-divider-gap) 0 0;
}
.gu-page-heading::after{
 content:"";display:var(--gu-page-title-horizontal-display);position:static;
 width:var(--gu-page-title-divider-width);height:var(--gu-page-title-divider-thickness);
 background:var(--gu-heading-context-ink,var(--gu-page-title-divider-color));
 border:0;border-radius:var(--gu-page-title-divider-radius);
 margin:var(--gu-page-title-divider-gap) var(--gu-page-title-rule-end) 0 var(--gu-page-title-rule-start);
}
/* Local foreground pairs reuse existing semantic color computation. */
.gu-page-hero-bg-white,.gu-page-hero-bg-light{--gu-heading-context-ink:var(--gu-heading-solid)}
.gu-page-hero-bg-brand{--gu-heading-context-ink:var(--gu-action-text)}
.gu-page-hero-bg-gradient-soft{--gu-heading-context-ink:var(--gu-gradient-soft-ink)}
.gu-page-hero-bg-gradient-brand{--gu-heading-context-ink:var(--gu-gradient-ink)}

/* section-label */
.gu-heading-label:where(:not(.gu-heading-hidden)){
font-family:var(--gu-section-label-font);font-size:var(--gu-section-label-size);font-weight:var(--gu-section-label-weight);line-height:var(--gu-section-label-line-height);letter-spacing:var(--gu-section-label-letter-spacing);text-align:var(--gu-section-label-align);color:var(--gu-heading-context-ink,var(--gu-section-label-color));font-style:normal;background:none;border:0;border-radius:0;box-shadow:none;padding:0;text-shadow:none;
margin:var(--gu-section-label-space-before) 0 var(--gu-section-label-space-after);}
.gu-heading-label:where(:not(.gu-heading-hidden))::before{content:"";position:static;border:0;box-shadow:none;
display:var(--gu-section-label-vertical-display);width:var(--gu-section-label-before-width);height:var(--gu-section-label-before-height);background:var(--gu-heading-context-ink,var(--gu-section-label-divider-color));border-radius:var(--gu-section-label-divider-radius);vertical-align:middle;margin:0 var(--gu-section-label-divider-gap) 0 0;}
.gu-heading-label:where(:not(.gu-heading-hidden))::after{content:"";position:static;border:0;box-shadow:none;
display:var(--gu-section-label-horizontal-display);width:var(--gu-section-label-divider-width);height:var(--gu-section-label-divider-thickness);background:var(--gu-heading-context-ink,var(--gu-section-label-divider-color));border-radius:var(--gu-section-label-divider-radius);margin:var(--gu-section-label-divider-gap) var(--gu-section-label-rule-end) 0 var(--gu-section-label-rule-start);}

/* section-feature */
.gu-heading-feature:where(:not(.gu-heading-hidden)){
font-family:var(--gu-section-feature-font);font-size:var(--gu-section-feature-size);font-weight:var(--gu-section-feature-weight);line-height:var(--gu-section-feature-line-height);letter-spacing:var(--gu-section-feature-letter-spacing);text-align:var(--gu-section-feature-align);color:var(--gu-heading-context-ink,var(--gu-section-feature-color));font-style:normal;background:none;border:0;border-radius:0;box-shadow:none;padding:0;text-shadow:none;
margin:var(--gu-section-feature-space-before) 0 var(--gu-section-feature-space-after);}
.gu-heading-feature:where(:not(.gu-heading-hidden))::before{content:"";position:static;border:0;box-shadow:none;
display:var(--gu-section-feature-vertical-display);width:var(--gu-section-feature-before-width);height:var(--gu-section-feature-before-height);background:var(--gu-heading-context-ink,var(--gu-section-feature-divider-color));border-radius:var(--gu-section-feature-divider-radius);vertical-align:middle;margin:0 var(--gu-section-feature-divider-gap) 0 0;}
.gu-heading-feature:where(:not(.gu-heading-hidden))::after{content:"";position:static;border:0;box-shadow:none;
display:var(--gu-section-feature-horizontal-display);width:var(--gu-section-feature-divider-width);height:var(--gu-section-feature-divider-thickness);background:var(--gu-heading-context-ink,var(--gu-section-feature-divider-color));border-radius:var(--gu-section-feature-divider-radius);margin:var(--gu-section-feature-divider-gap) var(--gu-section-feature-rule-end) 0 var(--gu-section-feature-rule-start);}

/* prose-h2 */
.gu-prose h2:where(:not(.gu-component-heading,.gu-heading-label,.gu-heading-feature,.gu-heading-hidden,[data-gu-style-component],[data-gu-style-component] *)){
font-family:var(--gu-prose-h2-font);font-size:var(--gu-prose-h2-size);font-weight:var(--gu-prose-h2-weight);line-height:var(--gu-prose-h2-line-height);letter-spacing:var(--gu-prose-h2-letter-spacing);text-align:var(--gu-prose-h2-align);color:var(--gu-heading-context-ink,var(--gu-prose-h2-color));font-style:normal;background:none;border:0;border-radius:0;box-shadow:none;padding:0;text-shadow:none;
margin:var(--gu-prose-h2-space-before) 0 var(--gu-prose-h2-space-after);}
.gu-prose h2:where(:not(.gu-component-heading,.gu-heading-label,.gu-heading-feature,.gu-heading-hidden,[data-gu-style-component],[data-gu-style-component] *))::before{content:"";position:static;border:0;box-shadow:none;
display:var(--gu-prose-h2-vertical-display);width:var(--gu-prose-h2-before-width);height:var(--gu-prose-h2-before-height);background:var(--gu-heading-context-ink,var(--gu-prose-h2-divider-color));border-radius:var(--gu-prose-h2-divider-radius);vertical-align:middle;margin:0 var(--gu-prose-h2-divider-gap) 0 0;}
.gu-prose h2:where(:not(.gu-component-heading,.gu-heading-label,.gu-heading-feature,.gu-heading-hidden,[data-gu-style-component],[data-gu-style-component] *))::after{content:"";position:static;border:0;box-shadow:none;
display:var(--gu-prose-h2-horizontal-display);width:var(--gu-prose-h2-divider-width);height:var(--gu-prose-h2-divider-thickness);background:var(--gu-heading-context-ink,var(--gu-prose-h2-divider-color));border-radius:var(--gu-prose-h2-divider-radius);margin:var(--gu-prose-h2-divider-gap) var(--gu-prose-h2-rule-end) 0 var(--gu-prose-h2-rule-start);}

/* prose-h3 */
.gu-prose h3:where(:not(.gu-component-heading,.gu-heading-label,.gu-heading-feature,.gu-heading-hidden,[data-gu-style-component],[data-gu-style-component] *)){
font-family:var(--gu-prose-h3-font);font-size:var(--gu-prose-h3-size);font-weight:var(--gu-prose-h3-weight);line-height:var(--gu-prose-h3-line-height);letter-spacing:var(--gu-prose-h3-letter-spacing);text-align:var(--gu-prose-h3-align);color:var(--gu-heading-context-ink,var(--gu-prose-h3-color));font-style:normal;background:none;border:0;border-radius:0;box-shadow:none;padding:0;text-shadow:none;
margin:var(--gu-prose-h3-space-before) 0 var(--gu-prose-h3-space-after);}
.gu-prose h3:where(:not(.gu-component-heading,.gu-heading-label,.gu-heading-feature,.gu-heading-hidden,[data-gu-style-component],[data-gu-style-component] *))::before{content:"";position:static;border:0;box-shadow:none;
display:var(--gu-prose-h3-vertical-display);width:var(--gu-prose-h3-before-width);height:var(--gu-prose-h3-before-height);background:var(--gu-heading-context-ink,var(--gu-prose-h3-divider-color));border-radius:var(--gu-prose-h3-divider-radius);vertical-align:middle;margin:0 var(--gu-prose-h3-divider-gap) 0 0;}
.gu-prose h3:where(:not(.gu-component-heading,.gu-heading-label,.gu-heading-feature,.gu-heading-hidden,[data-gu-style-component],[data-gu-style-component] *))::after{content:"";position:static;border:0;box-shadow:none;
display:var(--gu-prose-h3-horizontal-display);width:var(--gu-prose-h3-divider-width);height:var(--gu-prose-h3-divider-thickness);background:var(--gu-heading-context-ink,var(--gu-prose-h3-divider-color));border-radius:var(--gu-prose-h3-divider-radius);margin:var(--gu-prose-h3-divider-gap) var(--gu-prose-h3-rule-end) 0 var(--gu-prose-h3-rule-start);}

/* Surface foreground pairs apply to every heading role. */
.gu-greeting-white{--gu-heading-context-ink:#fff}
.gu-section-surface-brand{--gu-heading-context-ink:var(--gu-action-text)}

/* Hidden is an accessibility role, even if a visual class is accidentally retained. */
.gu-heading-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
.gu-heading-hidden::before,.gu-heading-hidden::after{display:none}
