/* FRANCHISE-OWNED overrides for the synced viomedspa blocks.
   Loaded after viomedspa-scoped.css, only on pages that render a viomedspa/* block.
   Everything is scoped under .vio-section (or a block class) so nothing leaks to the
   franchise header, footer, modal or existing pages. */

/* ── 1. Tokens the copied CSS expects (viomedspa.com's theme.json spacing presets),
      scoped to sections so the franchise theme's own presets are untouched. ─────── */
.vio-section {
  --wp--preset--spacing--250: 10px;
  --wp--preset--spacing--300: 10px;
  --wp--preset--spacing--500: 20px;
  --wp--preset--spacing--750: 28px;
  --wp--preset--spacing--1000: 40px;
  --wp--preset--spacing--1250: 50px;
  --wp--preset--font-size--lg: 1.5rem;
  --wp--preset--font-size--xs: 0.875rem;
  --wp--preset--font-size--sm: 1rem;
  --wp--preset--font-size--tiny: 0.813rem;
  --wp--custom--vio--weight--medium: 500;
  --wp--custom--vio--weight--bold: 700;
}

/* ── 2. Base text: 16px Nunito Sans, regular (franchise body size). ──────────────── */
.vio-section {
  font-family: var(--wp--preset--font-family--nunito-sans, "Nunito Sans", system-ui, sans-serif);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55556;
}

/* ── 3. Franchise-theme resets inside sections (Frost adds block-gap margins). ───── */
.vio-section :where(h1, h2, h3, h4, h5, h6, p, ul, ol) { margin-block: 0; }
.vio-section :where(.vio-section__lead, .vio-section__content-copy, .vio-accordion__body, .vio-ff-callout) p + p { margin-top: 1em; }
body:has(.vio-section) .wp-site-blocks { overflow-x: clip; }

/* ── 4. Heading scale (viomedspa.com theme.json) for plain section headings. It must beat the
      franchise theme's own h1-h6 sizes (so it is class + element specificity), but it must NOT
      override component headings that size themselves: card headings, accordion / item titles,
      FAQ headings and anything carrying a size-* class (xs..3xl, hero). Those are excluded
      inside a zero-specificity :where(:not(...)). ───────────────────────────────────── */
.vio-section h1:where(:not(.vio-cards__heading):not(.vio-accordion__item-title):not(.vio-fifty-fifty__item-title):not([class*="size-"]):not([class*="faq"])),
.vio-section h2:where(:not(.vio-cards__heading):not(.vio-accordion__item-title):not(.vio-fifty-fifty__item-title):not([class*="size-"]):not([class*="faq"])) {
  font-family: var(--wp--preset--font-family--cormorant-garamond, "Cormorant Garamond", serif);
  font-weight: 400;
}
.vio-section h1:where(:not(.vio-cards__heading):not(.vio-accordion__item-title):not(.vio-fifty-fifty__item-title):not([class*="size-"]):not([class*="faq"])) { font-size: clamp(48px, 5vw, 96px); letter-spacing: 1.27px; line-height: 1.1; }
.vio-section h2:where(:not(.vio-cards__heading):not(.vio-accordion__item-title):not(.vio-fifty-fifty__item-title):not([class*="size-"]):not([class*="faq"])) { font-size: clamp(38px, 4vw, 77px); letter-spacing: 1.58px; line-height: 1.1; }
.vio-section h3:where(:not(.vio-cards__heading):not(.vio-accordion__item-title):not(.vio-fifty-fifty__item-title):not([class*="size-"]):not([class*="faq"])) { font-size: clamp(30px, 3.2vw, 61px); font-weight: 500; letter-spacing: 0.034em; line-height: 1.25; }
.vio-section h4:where(:not(.vio-cards__heading):not(.vio-accordion__item-title):not(.vio-fifty-fifty__item-title):not([class*="size-"]):not([class*="faq"])) { font-size: clamp(24px, 2.55vw, 49px); font-weight: 500; letter-spacing: 0.034em; text-transform: uppercase; line-height: 1.25; }
.vio-section h5:where(:not(.vio-cards__heading):not(.vio-accordion__item-title):not(.vio-fifty-fifty__item-title):not([class*="size-"]):not([class*="faq"])) { font-size: clamp(22px, 2vw, 39px); line-height: 1.25; }
.vio-section h6:where(:not(.vio-cards__heading):not(.vio-accordion__item-title):not(.vio-fifty-fifty__item-title):not([class*="size-"]):not([class*="faq"])) { font-size: clamp(20px, 1.6vw, 31px); line-height: 1.25; }
@media (max-width: 782px) {
  .vio-section h1:where(:not(.vio-cards__heading):not(.vio-accordion__item-title):not(.vio-fifty-fifty__item-title):not([class*="size-"]):not([class*="faq"])) { font-size: clamp(32px, 9.3vw, 48px); font-weight: 700; }
  .vio-section h2:where(:not(.vio-cards__heading):not(.vio-accordion__item-title):not(.vio-fifty-fifty__item-title):not([class*="size-"]):not([class*="faq"])) { font-size: clamp(26px, 7.44vw, 38px); }
  .vio-section h3:where(:not(.vio-cards__heading):not(.vio-accordion__item-title):not(.vio-fifty-fifty__item-title):not([class*="size-"]):not([class*="faq"])) { font-size: clamp(22px, 6.05vw, 30px); }
  .vio-section h4:where(:not(.vio-cards__heading):not(.vio-accordion__item-title):not(.vio-fifty-fifty__item-title):not([class*="size-"]):not([class*="faq"])) { font-size: clamp(20px, 5.12vw, 24px); }
  .vio-section h5:where(:not(.vio-cards__heading):not(.vio-accordion__item-title):not(.vio-fifty-fifty__item-title):not([class*="size-"]):not([class*="faq"])) { font-size: clamp(19px, 4.65vw, 22px); }
  .vio-section h6:where(:not(.vio-cards__heading):not(.vio-accordion__item-title):not(.vio-fifty-fifty__item-title):not([class*="size-"]):not([class*="faq"])) { font-size: clamp(18px, 4.42vw, 20px); }
}

/* Display serif for h1 / h2 REGARDLESS of size-* classes (the exclusions above are for font-size
   only - a size-xs..3xl / size-hero title must keep the serif, as on viomedspa.com). */
.vio-section h1,
.vio-section h2 {
  font-family: var(--wp--preset--font-family--cormorant-garamond, "Cormorant Garamond", serif);
}

/* Lead / content size classes: the copied global CSS hardcodes font-size on the direct child <p>
   (.vio-section__lead > *), so the size-* class on the wrapper never reached the visible text.
   Let the paragraph inherit the wrapper's size (franchise only; upstream is left as is). */
.vio-section__lead[class*="size-"] > *,
.vio-section__content-copy[class*="size-"] > * {
  font-size: inherit;
}
/* Upstream sets the lead multiplier for 3xl but never the font-size rule that uses it. */
.vio-section__lead.size-3xl {
  font-size: calc(var(--vio-lead-fs) * var(--vio-lead-mult, 2.4));
  line-height: 1.5;
}

/* ── 5. CTA buttons (.vio-btn). The franchise theme has its own global .vio-btn rule
      for the footer button, so the synced buttons stylesheet is NOT loaded; this is its
      look, scoped under .vio-section (primary, secondary, tertiary, light, outline-light,
      custom + hover / focus). ────────────────────────────────────────────────────────── */
.vio-section {
  --vio-btn-height: 34px;
  --vio-btn-pad-x: var(--wp--preset--spacing--500, 20px);
  --vio-btn-radius: 0;
  --vio-btn-border: 2px;
  --vio-btn-font-size: 0.875rem;
  --vio-btn-font-weight: 400;
  --vio-btn-gap: 0.5rem;
  --vio-btn-lg-height: 54px;
  --vio-btn-lg-font-size: 1.25rem;
  --vio-tertiary-hover: 700;
}
.vio-section a.vio-btn,
.vio-section a.vio-btn:link,
.vio-section a.vio-btn:visited {
  --vio-btn-bg: transparent;
  --vio-btn-fg: currentColor;
  --vio-btn-bd: transparent;
  --vio-btn-bg-hover: var(--vio-btn-bg);
  --vio-btn-fg-hover: var(--vio-btn-fg);
  --vio-btn-bd-hover: var(--vio-btn-bd);
  position: relative;
  box-sizing: border-box;
  width: auto;
  margin: 0;
  padding: 0 var(--vio-btn-pad-x);
  height: var(--vio-btn-height);
  min-height: var(--vio-btn-height);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--vio-btn-gap);
  border: var(--vio-btn-border) solid var(--vio-btn-bd);
  border-radius: var(--vio-btn-radius);
  background: var(--vio-btn-bg);
  color: var(--vio-btn-fg);
  font-size: var(--vio-btn-font-size);
  font-weight: var(--vio-btn-font-weight);
  letter-spacing: normal;
  line-height: var(--vio-btn-height);
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.vio-section a.vio-btn:hover,
.vio-section a.vio-btn:focus-visible {
  background: var(--vio-btn-bg-hover);
  color: var(--vio-btn-fg-hover);
  border-color: var(--vio-btn-bd-hover);
}
.vio-section a.vio-btn:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.vio-section .vio-btn__text { z-index: 2; }
.vio-section a.vio-btn.vio-btn--lg { height: var(--vio-btn-lg-height); min-height: var(--vio-btn-lg-height); font-size: var(--vio-btn-lg-font-size); line-height: var(--vio-btn-lg-height); }
@media (max-width: 767px) { .vio-section a.vio-btn { flex: 1; } }
/* Long labels on phones: let the label wrap instead of running past the button edges. One-line
   buttons keep their height (min-height + centred text); only a wrapping label grows. */
@media (max-width: 900px) {
  .vio-section a.vio-btn,
  .vio-section a.vio-btn:link,
  .vio-section a.vio-btn:visited {
    white-space: normal;
    height: auto;
    min-height: var(--vio-btn-height);
    padding-top: 6px;
    padding-bottom: 6px;
    line-height: 1.3;
    text-align: center;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .vio-section a.vio-btn.vio-btn--lg,
  .vio-section a.vio-btn.vio-btn--lg:link,
  .vio-section a.vio-btn.vio-btn--lg:visited { height: auto; min-height: var(--vio-btn-lg-height); padding-top: 8px; padding-bottom: 8px; line-height: 1.3; }
}

.vio-section a.vio-btn.vio-btn--primary {
  --vio-btn-bg: var(--vio-btn-primary-bg);
  --vio-btn-fg: var(--vio-btn-primary-fg);
  --vio-btn-bd: var(--vio-btn-primary-bg);
  --vio-btn-bg-hover: transparent;
  --vio-btn-fg-hover: var(--vio-btn-primary-bg);
  --vio-btn-bd-hover: var(--vio-btn-primary-bg);
}
.vio-section a.vio-btn.vio-btn--secondary {
  --vio-btn-bg: var(--vio-btn-secondary-bg);
  --vio-btn-fg: var(--vio-btn-secondary-fg);
  --vio-btn-bd: var(--vio-btn-secondary-border);
  --vio-btn-bg-hover: var(--vio-btn-secondary-fg);
  --vio-btn-fg-hover: var(--vio-btn-secondary-bg-hover-fg, var(--vio-lotion));
  --vio-btn-bd-hover: var(--vio-btn-secondary-fg);
}
.vio-section a.vio-btn.vio-btn--light {
  --vio-btn-bg: var(--wp--preset--color--vio-lotion, #FEFFF9);
  --vio-btn-fg: var(--wp--preset--color--vio-ink, #292929);
  --vio-btn-bd: var(--wp--preset--color--vio-lotion, #FEFFF9);
  --vio-btn-bg-hover: transparent;
  --vio-btn-fg-hover: var(--wp--preset--color--vio-lotion, #FEFFF9);
  --vio-btn-bd-hover: var(--wp--preset--color--vio-lotion, #FEFFF9);
}
.vio-section a.vio-btn.vio-btn--outline-light {
  --vio-btn-bg: transparent;
  --vio-btn-fg: var(--wp--preset--color--vio-lotion, #FEFFF9);
  --vio-btn-bd: var(--wp--preset--color--vio-lotion, #FEFFF9);
  --vio-btn-bg-hover: var(--wp--preset--color--vio-lotion, #FEFFF9);
  --vio-btn-fg-hover: var(--wp--preset--color--vio-ink, #292929);
  --vio-btn-bd-hover: var(--wp--preset--color--vio-lotion, #FEFFF9);
}
/* Custom: the block sets --vio-btn-custom-* inline. Hover colours are the block's
   --vio-btn-custom-hover-* if set, otherwise the hover state stays as the rest state. */
.vio-section a.vio-btn.vio-btn--custom {
  --vio-btn-bg: var(--vio-btn-custom-bg, transparent);
  --vio-btn-fg: var(--vio-btn-custom-text, currentColor);
  --vio-btn-bd: var(--vio-btn-custom-border-color, currentColor);
  --vio-btn-bg-hover: var(--vio-btn-custom-hover-bg, var(--vio-btn-bg));
  --vio-btn-fg-hover: var(--vio-btn-custom-hover-text, var(--vio-btn-fg));
  --vio-btn-bd-hover: var(--vio-btn-custom-hover-border-color, var(--vio-btn-bd));
  border-width: var(--vio-btn-custom-border-width, var(--vio-btn-border));
  border-radius: var(--vio-btn-custom-radius, var(--vio-btn-radius));
}
.vio-section a.vio-btn.vio-btn--tertiary {
  --vio-btn-bg: transparent;
  --vio-btn-fg: var(--vio-tertiary-line);
  --vio-btn-bd: transparent;
  padding-left: 0; padding-right: 0; height: auto; min-height: 0; border: 0;
  line-height: unset; flex: none; margin: 0 auto 0 0; font-weight: 500; letter-spacing: 1.58px;
}
.vio-section a.vio-btn.vio-btn--tertiary:hover,
.vio-section a.vio-btn.vio-btn--tertiary:focus-visible { font-weight: var(--vio-tertiary-hover); }
.vio-section a.vio-btn.vio-btn--tertiary::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--vio-tertiary-line);
}

/* ── 6. Franchise stacking breakpoint for 50/50 Flex: side by side from 900px
      (upstream stacks below 1280px). Restores the two-column layout between 900 and
      1279px, including the split-ratio variants; below 900px the upstream stacked
      layout applies unchanged. ──────────────────────────────────────────────────────── */
@media (min-width: 900px) and (max-width: 1279.98px) {
  .vio-fifty-fifty-flex .vio-fifty-fifty-flex__grid { grid-template-columns: 1fr 1fr; }
  .vio-fifty-fifty-flex.vio-fifty-fifty-flex--ratio-60-40 .vio-fifty-fifty-flex__grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .vio-fifty-fifty-flex.vio-fifty-fifty-flex--ratio-70-30 .vio-fifty-fifty-flex__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); }
  .vio-fifty-fifty-flex.vio-fifty-fifty-flex--ratio-40-60 .vio-fifty-fifty-flex__grid { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .vio-fifty-fifty-flex.vio-fifty-fifty-flex--ratio-30-70 .vio-fifty-fifty-flex__grid { grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); }
  .vio-fifty-fifty-flex--mobile-first-left .vio-fifty-fifty-flex__col--left,
  .vio-fifty-fifty-flex--mobile-first-left .vio-fifty-fifty-flex__col--right,
  .vio-fifty-fifty-flex--mobile-first-right .vio-fifty-fifty-flex__col--right,
  .vio-fifty-fifty-flex--mobile-first-right .vio-fifty-fifty-flex__col--left { order: 0; }
  /* the media-height cap is a phone-only setting */
  .vio-fifty-fifty-flex[class*="--mobile-mh-"] .vio-fifty-fifty__col--media .vio-fifty-fifty-flex__media { height: 100% !important; min-height: clamp(320px, 60vh, 600px) !important; }
}
/* Full-bleed media: copy column padding (the media side fills its half edge to edge). */
.vio-section--media-full-bleed.vio-fifty-fifty-flex .vio-fifty-fifty__col--copy,
.vio-section--media-full-bleed.vio-fifty-fifty-flex .vio-fifty-fifty__col--form,
.vio-section--media-full-bleed.vio-fifty-fifty-flex .vio-fifty-fifty__col--accordion,
.vio-section--media-full-bleed.vio-fifty-fifty-flex .vio-fifty-fifty__col--carousel {
  padding: clamp(24px, 5vw, 56px) 5%;
}
@media (min-width: 900px) {
  .vio-section--media-full-bleed.vio-fifty-fifty-flex .vio-fifty-fifty-flex__col--left:not(.vio-fifty-fifty__col--media) { padding-right: 40px; }
  .vio-section--media-full-bleed.vio-fifty-fifty-flex .vio-fifty-fifty-flex__col--right:not(.vio-fifty-fifty__col--media) { padding-left: 40px; }
}
.vio-section--media-full-bleed.vio-fifty-fifty-flex .vio-fifty-fifty-flex__grid { gap: 0; }

/* ── Items repeater (copy side). These rules live in the fifty-fifty-image-copy block upstream,
      which is not synced, so the franchise carries them here (incl. list-style reset). ── */
.vio-fifty-fifty__items {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;       /* default: 1 col (mobile + list) */
	gap: var(--wp--preset--spacing--750, 28px) var(--wp--preset--spacing--1000, 40px);
	width: 100%;
}

/* Grid layout: 2 columns at 768+. */
@media (min-width: 768px) {
	.vio-fifty-fifty__items.vio-fifty-fifty__items--grid {
		grid-template-columns: 1fr 1fr;
	}
}

/* List layout: explicit single column on every breakpoint. */
.vio-fifty-fifty__items.vio-fifty-fifty__items--list {
	grid-template-columns: 1fr;
}

/* Single-row layout: all items in one horizontal row at 768+, equal-width
   columns regardless of how many items there are. Stacks (1 col) on mobile
   like the others via the base rule. */
@media (min-width: 768px) {
	.vio-fifty-fifty__items.vio-fifty-fifty__items--row {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: minmax(0, 1fr);
	}
}

.vio-fifty-fifty__item {
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: var(--wp--preset--spacing--500, 16px);
	align-items: start;
	margin: 0;
}

.vio-fifty-fifty__item-mark {
	font-size: 1.25em;
	line-height: 1;
	font-weight: 400;
	color: inherit;
	opacity: 0.8;
	user-select: none;
	margin-top: 0.15em;
}

.vio-fifty-fifty__item-mark svg {
	width: 1.25em;
	height: 1.25em;
	display: block;
	stroke: currentColor;
}

.vio-fifty-fifty__item-body {
	min-width: 0;
}

.vio-fifty-fifty__item-title {
	margin: 0 0 var(--wp--preset--spacing--250, 6px) 0;
	font-size: var(--wp--preset--font-size--base, 18px);
	font-weight: 600;
	line-height: 1.3;
	/* Defeat any inherited uppercase heading style (some themes apply
	   `text-transform: uppercase` to h4 inside sections). Item titles
	   should render as plain mixed-case. */
	text-transform: none;
	letter-spacing: normal;
}

.vio-fifty-fifty__item-content {
	margin: 0;
	font-size: var(--wp--preset--font-size--sm, 16px);
	line-height: 1.45;
	opacity: 0.92;
}

/* ── Editor canvas: compact empty intro placeholders (Title Two / lead / content) so they do not
      push the cards down. Only affects empty RichText fields inside the editor. ── */
.editor-styles-wrapper .vio-section .vio-section__title-alt:is([data-empty="true"], [data-is-placeholder-visible="true"], :has([data-rich-text-placeholder])),
.editor-styles-wrapper .vio-section .vio-section__lead-editor:is([data-empty="true"], [data-is-placeholder-visible="true"], :has([data-rich-text-placeholder])),
.editor-styles-wrapper .vio-section .vio-section__content-copy--editor:is([data-empty="true"], [data-is-placeholder-visible="true"], :has([data-rich-text-placeholder])) {
  min-height: 0; margin: 0 0 4px; padding: 0; font-size: 13px; line-height: 1.3; opacity: 0.55;
}
.editor-styles-wrapper .vio-cards__grid { min-width: 0; }

/* ── Editor canvas: FAQ body preview is the block's own render output; neutralise the nested
      section shell it comes wrapped in (the real section + background is the block wrapper). ── */
.editor-styles-wrapper .vio-faqs-ssr > .vio-section,
.editor-styles-wrapper .vio-faqs-ssr > .vio-faqs-block {
  padding: 0; margin: 0; max-width: none; width: auto; background: transparent;
}
.editor-styles-wrapper .vio-faqs-ssr .vio-section__inner { padding: 0; max-width: none; }
.editor-styles-wrapper .vio-faqs-ssr .vio-faqs-block__body { margin-top: 0; }

/* ── Editor canvas: let the section blocks span the full canvas width like the front end
      (alignfull), instead of sitting in the narrow constrained content column. ── */
.editor-styles-wrapper :is(.is-root-container, .wp-block-post-content) > :is(
  .wp-block-viomedspa-fifty-fifty-flex, .wp-block-viomedspa-vio-cards,
  .wp-block-viomedspa-logo-row, .wp-block-viomedspa-faqs) {
  max-width: none; width: 100%;
}

/* A Cards block with no intro and no images (e.g. one text-only stat card) was hidden by the
   global "hide sections with no title/lead/image" rule. A cards grid is real content. */
body:not(.editor-styles-wrapper) .vio-section.vio-cards-block.vio-cards-block.vio-cards-block:has(.vio-cards__grid) {
  display: block;
}

/* ── Intro rhythm (all synced blocks): eyebrow -> title 8px, title -> title two 8px, title / title
      two -> lead 16px, intro -> content 24px, lead -> accordion 24px. Spacing comes from margins
      so it also holds where a block places the lead outside .vio-section__head (accordion side). ── */
.vio-section .vio-section__head { gap: 0; }
.vio-section .vio-section__head > * + * { margin-top: 16px; }
.vio-section .vio-section__head > .vio-section__eyebrow + *,
.vio-section .vio-section__head > .vio-section__title + .vio-section__title-alt { margin-top: 8px; }
.vio-section .vio-section__intro { gap: 0; }
.vio-section .vio-section__intro > * + * { margin-top: 24px; }
.vio-section .vio-section__head + .vio-section__lead,
.vio-section .vio-section__intro > .vio-section__head + .vio-section__lead { margin-top: 16px; }
.vio-section .vio-section__lead + .vio-accordion { margin-top: 24px; }

/* A flex block whose only content is a shortcode / plugin side (e.g. the map) has no title or
   image, so the global "hide sections with no visible content" rule would hide it. */
body:not(.editor-styles-wrapper) .vio-section.vio-fifty-fifty-flex.vio-fifty-fifty-flex.vio-fifty-fifty-flex:has(.vio-ff-shortcode),
body:not(.editor-styles-wrapper) .vio-section.vio-fifty-fifty-flex.vio-fifty-fifty-flex.vio-fifty-fifty-flex:has(.vio-accordion) {
  display: block;
}

/* ── Fluid lead / content / description text. The synced CSS sets the DEFAULT lead to the fixed
      24px preset, so on a phone it dwarfs the fluid title. Defaults are now fluid (same value as
      before at desktop widths); explicit size classes scale from a fluid base that is capped at
      today's desktop base, so nothing gets bigger than it is now at 1440px. ── */
.vio-section {
  --vio-fr-lead: clamp(1.0625rem, 0.9rem + 0.7vw, 1.5rem);
  --vio-fr-lead-sized: clamp(1.0625rem, 0.9rem + 0.7vw, 1.46875rem);
  --vio-fr-content: clamp(0.9375rem, 0.9rem + 0.2vw, 1rem);
  --vio-fr-desc: clamp(0.8125rem, 0.78rem + 0.15vw, 0.9rem);
  --vio-fr-answer: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
}
.vio-section .vio-section__lead:not([class*="size-"]) { font-size: var(--vio-fr-lead); line-height: 1.5; }
.vio-section .vio-section__lead:not([class*="size-"]) > * { font-size: inherit; line-height: inherit; }
.vio-section .vio-section__content-copy:not([class*="size-"]) { font-size: var(--vio-fr-content); line-height: 1.6; }
.vio-section .vio-section__content-copy:not([class*="size-"]) > * { font-size: inherit; line-height: inherit; }
.vio-section .vio-section__lead[class*="size-"] { --vio-lead-fs: var(--vio-fr-lead-sized); }
.vio-section .vio-section__content-copy[class*="size-"] { --vio-content-copy-fs: var(--vio-fr-lead-sized); line-height: 1.6; }
.vio-section .vio-section__content-copy[class*="size-"] > * { line-height: inherit; }

/* Card descriptions, accordion / FAQ answers (fixed px / rem upstream). */
.vio-section .vio-cards__description:not([class*="size-"]) { font-size: var(--vio-fr-desc); }
.vio-section .vio-cards__description.size-xs  { font-size: calc(var(--vio-fr-desc) * 0.64); }
.vio-section .vio-cards__description.size-sm  { font-size: calc(var(--vio-fr-desc) * 0.8); }
.vio-section .vio-cards__description.size-lg  { font-size: calc(var(--vio-fr-desc) * 1.25); }
.vio-section .vio-cards__description.size-xl  { font-size: calc(var(--vio-fr-desc) * 1.56); }
.vio-section .vio-cards__description.size-xxl { font-size: calc(var(--vio-fr-desc) * 1.95); }
.vio-section .vio-cards__description.size-3xl { font-size: calc(var(--vio-fr-desc) * 3); }
.vio-fifty-fifty-flex .vio-accordion__body { font-size: var(--vio-fr-answer); }
.vio-faqs-block .vio-faqs__a { font-size: var(--vio-fr-answer); }
.vio-faqs-block .vio-faq-grid__a { font-size: var(--vio-fr-desc); }
