/* Default headings in neutral templates; explicit element font rules retain priority. */
:where(body:not(.wr-site) h1,body:not(.wr-site) h2,body:not(.wr-site) h3,body:not(.wr-site) h4,body:not(.wr-site) h5,body:not(.wr-site) h6){font-family:var(--theme-heading-font,inherit)}

/* Optional global typography; individual precision values are inline important. */
:root:root:root:root:root[data-theme-type~="h1-size"] body h1{font-size:var(--theme-type-h1-size);}
:root:root:root:root:root[data-theme-type~="h1-weight"] body h1:not(.cms-heading-weight-regular *, .cms-heading-weight-medium *, .cms-heading-weight-bold *){font-weight:var(--theme-type-h1-weight)!important;}
:root:root:root:root:root[data-theme-type~="h1-line"] body h1{line-height:var(--theme-type-h1-line);}
@media(max-width:1023px){:root:root:root:root:root[data-theme-type~="h1-tablet-size"] body h1{font-size:var(--theme-type-h1-tablet-size);}
}
@media(max-width:599px){:root:root:root:root:root[data-theme-type~="h1-mobile-size"] body h1{font-size:var(--theme-type-h1-mobile-size);}
}
:root:root:root:root:root[data-theme-type~="h2-size"] body h2{font-size:var(--theme-type-h2-size);}
:root:root:root:root:root[data-theme-type~="h2-weight"] body h2:not(.cms-heading-weight-regular *, .cms-heading-weight-medium *, .cms-heading-weight-bold *){font-weight:var(--theme-type-h2-weight)!important;}
:root:root:root:root:root[data-theme-type~="h2-line"] body h2{line-height:var(--theme-type-h2-line);}
@media(max-width:1023px){:root:root:root:root:root[data-theme-type~="h2-tablet-size"] body h2{font-size:var(--theme-type-h2-tablet-size);}
}
@media(max-width:599px){:root:root:root:root:root[data-theme-type~="h2-mobile-size"] body h2{font-size:var(--theme-type-h2-mobile-size);}
}
:root:root:root:root:root[data-theme-type~="h3-size"] body h3{font-size:var(--theme-type-h3-size);}
:root:root:root:root:root[data-theme-type~="h3-weight"] body h3:not(.cms-heading-weight-regular *, .cms-heading-weight-medium *, .cms-heading-weight-bold *){font-weight:var(--theme-type-h3-weight)!important;}
:root:root:root:root:root[data-theme-type~="h3-line"] body h3{line-height:var(--theme-type-h3-line);}
@media(max-width:1023px){:root:root:root:root:root[data-theme-type~="h3-tablet-size"] body h3{font-size:var(--theme-type-h3-tablet-size);}
}
@media(max-width:599px){:root:root:root:root:root[data-theme-type~="h3-mobile-size"] body h3{font-size:var(--theme-type-h3-mobile-size);}
}
:root:root:root:root:root[data-theme-type~="h4-size"] body h4{font-size:var(--theme-type-h4-size);}
:root:root:root:root:root[data-theme-type~="h4-weight"] body h4:not(.cms-heading-weight-regular *, .cms-heading-weight-medium *, .cms-heading-weight-bold *){font-weight:var(--theme-type-h4-weight)!important;}
:root:root:root:root:root[data-theme-type~="h4-line"] body h4{line-height:var(--theme-type-h4-line);}
@media(max-width:1023px){:root:root:root:root:root[data-theme-type~="h4-tablet-size"] body h4{font-size:var(--theme-type-h4-tablet-size);}
}
@media(max-width:599px){:root:root:root:root:root[data-theme-type~="h4-mobile-size"] body h4{font-size:var(--theme-type-h4-mobile-size);}
}
:root:root:root:root:root[data-theme-type~="h5-size"] body h5{font-size:var(--theme-type-h5-size);}
:root:root:root:root:root[data-theme-type~="h5-weight"] body h5:not(.cms-heading-weight-regular *, .cms-heading-weight-medium *, .cms-heading-weight-bold *){font-weight:var(--theme-type-h5-weight)!important;}
:root:root:root:root:root[data-theme-type~="h5-line"] body h5{line-height:var(--theme-type-h5-line);}
@media(max-width:1023px){:root:root:root:root:root[data-theme-type~="h5-tablet-size"] body h5{font-size:var(--theme-type-h5-tablet-size);}
}
@media(max-width:599px){:root:root:root:root:root[data-theme-type~="h5-mobile-size"] body h5{font-size:var(--theme-type-h5-mobile-size);}
}
:root:root:root:root:root[data-theme-type~="h6-size"] body h6{font-size:var(--theme-type-h6-size);}
:root:root:root:root:root[data-theme-type~="h6-weight"] body h6:not(.cms-heading-weight-regular *, .cms-heading-weight-medium *, .cms-heading-weight-bold *){font-weight:var(--theme-type-h6-weight)!important;}
:root:root:root:root:root[data-theme-type~="h6-line"] body h6{line-height:var(--theme-type-h6-line);}
@media(max-width:1023px){:root:root:root:root:root[data-theme-type~="h6-tablet-size"] body h6{font-size:var(--theme-type-h6-tablet-size);}
}
@media(max-width:599px){:root:root:root:root:root[data-theme-type~="h6-mobile-size"] body h6{font-size:var(--theme-type-h6-mobile-size);}
}
:root:root:root:root:root[data-theme-type~="body-size"] body :is(.body-text,.hero-lead,.cms-column-body){font-size:var(--theme-type-body-size);}
:root:root:root:root:root[data-theme-type~="body-weight"] body :is(.body-text,.hero-lead,.cms-column-body){font-weight:var(--theme-type-body-weight);}
:root:root:root:root:root[data-theme-type~="body-line"] body :is(.body-text,.hero-lead,.cms-column-body):not(.cms-opt-line-compact *, .cms-opt-line-relaxed *){line-height:var(--theme-type-body-line);}
@media(max-width:1023px){:root:root:root:root:root[data-theme-type~="body-tablet-size"] body :is(.body-text,.hero-lead,.cms-column-body){font-size:var(--theme-type-body-tablet-size);}
}
@media(max-width:599px){:root:root:root:root:root[data-theme-type~="body-mobile-size"] body :is(.body-text,.hero-lead,.cms-column-body){font-size:var(--theme-type-body-mobile-size);}
}

/* Optional global button defaults, below explicit per-element presets and inline precision overrides. */
:root:root:root:root:root[data-theme-button~="font"] body .button:not([class*="cms-btn-size-"]){font-size:var(--theme-button-font);}
:root:root:root:root:root[data-theme-button~="weight"] body .button:not([class*="cms-btn-weight-"]){font-weight:var(--theme-button-weight);}
:root:root:root:root:root[data-theme-button~="pad-x"] body .button:not([class*="cms-btn-size-"]){padding-inline:var(--theme-button-pad-x);}
:root:root:root:root:root[data-theme-button~="pad-y"] body .button:not([class*="cms-btn-size-"]){padding-block:var(--theme-button-pad-y);min-height:0;}
:root:root:root:root:root[data-theme-button~="border-width"] body .button{border-width:var(--theme-button-border-width);}
:root:root:root:root:root[data-theme-button~="bg"] body .button.primary:not([class*="cms-btn-tone-"]):not([class*="cms-btn-variant-"]){background-color:var(--theme-button-bg);border-color:var(--theme-button-bg);}
:root:root:root:root:root[data-theme-button~="ink"] body .button.primary:not([class*="cms-btn-tone-"]):not([class*="cms-btn-variant-"]){color:var(--theme-button-ink);}
:root:root:root:root:root[data-theme-button~="hover-bg"] body .button.primary:not([class*="cms-btn-tone-"]):not([class*="cms-btn-variant-"]):hover{background-color:var(--theme-button-hover-bg);border-color:var(--theme-button-hover-bg);filter:none;}
:root:root:root:root:root[data-theme-button~="hover-ink"] body .button.primary:not([class*="cms-btn-tone-"]):not([class*="cms-btn-variant-"]):hover{color:var(--theme-button-hover-ink);filter:none;}
:root:root:root:root:root[data-theme-button~="outline"] body .button.ghost:not([class*="cms-btn-tone-"]):not([class*="cms-btn-variant-"]):not(:hover){color:var(--theme-button-outline);border-color:var(--theme-button-outline);}
