
:where(h1, h2, h3, h4, h5, h6) {
  max-width: var(--f-hd-max-width);
  text-wrap: pretty;
}

:not(.v-skip-max-width) > :is(.fe-richtext, .v-richtext),
:is(.fe-richtext, .v-richtext):not(.v-skip-max-width) {
  max-width: var(--f-text-max-width);
}
.wp-block-group.v-richtext-2-col {
  column-gap: var(--f-grid-gap);
  display: block;
  @media(min-width: 720px) {
    column-count: 2;
  }
}
:is(.brxe-post-content, .fe-richtext, [class*="v-richtext"]) {
  :is(ul, ol, .wp-block-list) {
    padding-inline-start: 1.05em;
    padding-block-start: var(--f-line-gap--lg);
    li {
      margin-block-end: var(--f-line-gap--sm);
    }
  }
  h2 + :is(ul, ol, .wp-block-list) {
    margin-block-start: var(--f-line-gap--lg);
  }
}



.has-text-xs-font-size,
.v-content-fs--xs :where(.brxe-post-content, .fe-richtext, .wp-block-group) {
  font-size: var(--f-text-fs--xs);
  line-height: var(--f-text-lh--xs);
}
.has-text-sm-font-size,
.v-content-fs--sm :where(.brxe-post-content, .fe-richtext, .wp-block-group) {
  font-size: var(--f-text-fs--sm);
  line-height: var(--f-text-lh--sm);
}
.has-text-md-font-size,
.v-content-fs--md :where(.brxe-post-content, .fe-richtext, .wp-block-group) {
  font-size: var(--f-text-fs);
  line-height: var(--f-text-lh);
}
.has-text-lg-font-size,
.has-text-xl-font-size,
.v-content-fs--lg :where(.brxe-post-content, .fe-richtext, .wp-block-group) {
  font-size: var(--f-text-fs--lg);
  line-height: var(--f-text-lh--lg);
}
.v-links-underline > :where(.fe-richtext) a, 
.v-links-underline:where(.fe-richtext, .wp-block-group) a {
  text-decoration: underline;
}


:is(.v-terms-style) :where(.brxe-post-content, .fe-richtext, [class*="v-richtext"], .wp-block-group),
:is(.v-terms-style):where(.fe-richtext, .v-richtext,[class*="v-richtext"], .wp-block-group) {
  font-size: var(--f-text-fs--sm);
  line-height: var(--f-text-lh--sm);
  
  
  h2 {
    font-size: var(--f-modal-title-fs);
    line-height: var(--f-modal-title-lh);
  }
  h3 {
    font-size: var(--f-block-title-fs--sm);
    line-height: var(--f-block-title-lh--sm);
    font-size: var(--f-text-fs--lg);
    line-height: var(--f-text-lh--lg);
    font-weight: var(--_hd-fw, var(--f-hd-fw));
    color: var(--_hd-clr, var(--f-hd-color));
  }
  h4 {
    font-size: var(--f-text-fs);
    line-height: var(--f-text-lh);
    font-weight: var(--_hd-fw, var(--f-hd-fw));
    color: var(--_hd-clr, var(--f-hd-color));
  }
}



.alignwide {
  margin-left: unset;
  max-width: unset;
  position: unset;
  width: unset;
}
.alignfull, .wp-block-categories-list.alignfull {
  left: unset;
  margin-left: unset;
  margin-right: unset;
  max-width: unset;
  position: unset;
  right: unset;
  width: unset;
}


.wp-block-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  --f-grid-gap: 3.5vw;
  --f-row-gap: 1.75rem;
  
  &:is(.v-auto-col, .v-2-col) {
    display: grid;
    --f-grid-2r: 1fr;
    --f-grid-auto: var(--f-grid-auto-fit);
    column-gap: var(--f-grid-gap);
    row-gap: var(--f-row-gap);
  }
  &.v-auto-col {
    grid-template-columns: var(--f-grid-auto);
  }
  &.v-2-col {
    grid-template-columns: var(--f-grid-2r);
    @media(min-width: 720px) {
      --f-grid-2r: 1fr 1fr;
    }
  }
  &.v-align-x--start {
    text-align: start;
    align-items: start;
  }
  &.v-align-x--center {
    text-align: center;
    align-items: center;
  }
  &.v-align-x--center-start {
    text-align: start;
    align-items: start;
    @media(min-width: 720px) {
      text-align: center;
      align-items: center;
    }
  }
  &.v-gap {
    column-gap: var(--f-grid-gap);
    row-gap: var(--f-row-gap);
  }  
  &.v-gapless {
    column-gap: 0;
    row-gap: 0;
  }
}
.wp-block-spacer {
  &.v-xs {height: 0.66rem;}
  &.v-sm {height: 1rem;}
  &.v-md {height: 1.5rem;}
  &.v-lg {height: 2rem;}
  &.v-xl {height: 3rem;}
}