/*
 * Geonutrition: data-h headings layer (2026-11-12). Loaded right after Flatsome's flatsome.css and before the
 * design. The UX Builder elements print their former <h2>–<h6> as <p data-h="N"> (or as a typed <h2>/<h3> with
 * data-h="N"); this gives any such tag, at its data-h level:
 * 1) the browser's own heading defaults (bold, size, margins), then
 * 2) Flatsome's heading rules re-aimed at it (generated from flatsome.css 3.20.7, twins only).
 * The design's own heading rules are twinned inside geonutrition.css / db-gn-wp.css.
 * Regenerate part 2 if Flatsome's heading CSS changes in an update.
 */

/* 1 · browser heading defaults */
:is(p,h2,h3,h4,h5,h6):where([data-h]){display:block;font-weight:bold}
:is(p,h2,h3,h4,h5,h6):where([data-h="2"]){font-size:1.5em;margin-top:.83em;margin-bottom:.83em}
:is(p,h2,h3,h4,h5,h6):where([data-h="3"]){font-size:1.17em;margin-top:1em;margin-bottom:1em}
:is(p,h2,h3,h4,h5,h6):where([data-h="4"]){font-size:1em;margin-top:1.33em;margin-bottom:1.33em}
:is(p,h2,h3,h4,h5,h6):where([data-h="5"]){font-size:.83em;margin-top:1.67em;margin-bottom:1.67em}
:is(p,h2,h3,h4,h5,h6):where([data-h="6"]){font-size:.67em;margin-top:2.33em;margin-bottom:2.33em}

/* 2 · Flatsome heading rules → [data-h] */
:is(p,h2,h3,h4,h5,h6):where([data-h="2"]),:is(p,h2,h3,h4,h5,h6):where([data-h="3"]),:is(p,h2,h3,h4,h5,h6):where([data-h="4"]),:is(p,h2,h3,h4,h5,h6):where([data-h="5"]),:is(p,h2,h3,h4,h5,h6):where([data-h="6"]){color:#555;margin-bottom:.5em;margin-top:0;text-rendering:optimizeSpeed;width:100%}
:is(p,h2,h3,h4,h5,h6):where([data-h="2"]){line-height:1.3}
:is(p,h2,h3,h4,h5,h6):where([data-h="2"]){font-size:1.6em}
:is(p,h2,h3,h4,h5,h6):where([data-h="3"]){font-size:1.25em}
:is(p,h2,h3,h4,h5,h6):where([data-h="4"]){font-size:1.125em}
:is(p,h2,h3,h4,h5,h6):where([data-h="5"]){font-size:1em}
:is(p,h2,h3,h4,h5,h6):where([data-h="6"]){font-size:.85em;opacity:.8}
@media(max-width:549px){
  :is(p,h2,h3,h4,h5,h6):where([data-h="2"]){font-size:1.2em}
  :is(p,h2,h3,h4,h5,h6):where([data-h="3"]),:is(p,h2,h3,h4,h5,h6):where([data-h="4"]){font-size:1em}
}
:is(p,h2,h3,h4,h5,h6):where([data-h="6"]) span{font-weight:400;font-weight:500}
:is(p,h2,h3,h4,h5,h6):where([data-h="3"]) label{display:inline-block;margin-right:10px}
:is(p,h2,h3,h4,h5,h6):where([data-h="2"])>span,:is(p,h2,h3,h4,h5,h6):where([data-h="3"])>span,:is(p,h2,h3,h4,h5,h6):where([data-h="4"])>span,:is(p,h2,h3,h4,h5,h6):where([data-h="5"])>span,:is(p,h2,h3,h4,h5,h6):where([data-h="6"])>span{-webkit-box-decoration-break:clone;box-decoration-break:clone}
:is(p,h2,h3,h4,h5,h6):where([data-h="6"]){letter-spacing:.05em;line-height:1.05;text-transform:uppercase}
.box-text :is(p,h2,h3,h4,h5,h6):where([data-h="2"]),.box-text :is(p,h2,h3,h4,h5,h6):where([data-h="3"]),.box-text :is(p,h2,h3,h4,h5,h6):where([data-h="4"]),.box-text :is(p,h2,h3,h4,h5,h6):where([data-h="5"]),.box-text :is(p,h2,h3,h4,h5,h6):where([data-h="6"]){line-height:1.3;margin-bottom:.1em;margin-top:.1em}
.banner :is(p,h2,h3,h4,h5,h6):where([data-h="2"]){font-size:2.9em}
.banner :is(p,h2,h3,h4,h5,h6):where([data-h="3"]){font-size:2em}
.banner :is(p,h2,h3,h4,h5,h6):where([data-h="2"]),.banner :is(p,h2,h3,h4,h5,h6):where([data-h="3"]){font-weight:400;line-height:1;margin-bottom:.2em;margin-top:.2em;padding:0}
.banner :is(p,h2,h3,h4,h5,h6):where([data-h="4"]){font-size:1.5em;margin-bottom:.6em;margin-top:.6em;padding:0}
.banner :is(p,h2,h3,h4,h5,h6):where([data-h="5"]),.banner :is(p,h2,h3,h4,h5,h6):where([data-h="6"]){margin-bottom:1em;margin-top:1em;padding:0}
.small-1 .res-text :is(p,h2,h3,h4,h5,h6):where([data-h="6"]),.small-2 .res-text :is(p,h2,h3,h4,h5,h6):where([data-h="6"]),.small-3 .res-text :is(p,h2,h3,h4,h5,h6):where([data-h="6"]){font-size:10px}
@media screen and (min-width:850px){
  .large-1 .res-text :is(p,h2,h3,h4,h5,h6):where([data-h="6"]),.large-2 .res-text :is(p,h2,h3,h4,h5,h6):where([data-h="6"]),.large-3 .res-text :is(p,h2,h3,h4,h5,h6):where([data-h="6"]){font-size:10px}
}
.dark :is(p,h2,h3,h4,h5,h6):where([data-h="2"]),.dark :is(p,h2,h3,h4,h5,h6):where([data-h="3"]),.dark :is(p,h2,h3,h4,h5,h6):where([data-h="4"]),.dark :is(p,h2,h3,h4,h5,h6):where([data-h="5"]),.dark :is(p,h2,h3,h4,h5,h6):where([data-h="6"]),.hover-dark:hover :is(p,h2,h3,h4,h5,h6):where([data-h="2"]),.hover-dark:hover :is(p,h2,h3,h4,h5,h6):where([data-h="3"]),.hover-dark:hover :is(p,h2,h3,h4,h5,h6):where([data-h="4"]),.hover-dark:hover :is(p,h2,h3,h4,h5,h6):where([data-h="5"]),.hover-dark:hover :is(p,h2,h3,h4,h5,h6):where([data-h="6"]){color:#fff}
.banner :is(p,h2,h3,h4,h5,h6):where([data-h="2"]).entry-title{font-size:2em}
.widgets-boxed .widget :is(p,h2,h3,h4,h5,h6):where([data-h="3"]){background-color:var(--fs-color-primary);color:#fff;margin-left:-21px;margin-top:-16px;padding:10px 20px;width:calc(100% + 42px)}
.widgets-boxed :is(p,h2,h3,h4,h5,h6):where([data-h="3"])+.is-divider{display:none}
