/**
 * GR Designs WordPress/Divi STAGING example only.
 * Before activating, manually assign approved module classes using Divi > Advanced > CSS ID & Classes.
 * Only classes deliberately selected below are affected. Never include form fields, menu, embeds,
 * Divi visual-builder/admin previews, fixed height containers, or crucial motion.
 * Validate exact cascade and reflow at all breakpoints.
 */
html[data-aa-text-size="112"] .aa-approved-body{font-size:1.12em!important}
html[data-aa-text-size="125"] .aa-approved-body{font-size:1.25em!important}
html[data-aa-spacing="roomy"] .aa-approved-body{line-height:1.75!important;letter-spacing:.08em!important;word-spacing:.12em!important}
html[data-aa-motion="reduce"] .aa-approved-nonessential-motion{animation:none!important;transition:none!important}
/* Deliberately NO contrast rules: inspect and test real site theme tokens before enabling. */
/* First-paint OS preference independent from JavaScript load timing. */
@media (prefers-reduced-motion:reduce) {
 .aa-approved-nonessential-motion{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

/* Set the size on text elements themselves so Divi's explicit px sizes can scale. */
html[data-aa-text-size="112"]:not([data-aa-measuring]) [data-aa-auto-copy]:not(.aa-approved-body, .aa-approved-body *) {
  font-size: calc(var(--aa-copy-font-size) * 1.12) !important;
}
html[data-aa-text-size="125"]:not([data-aa-measuring]) [data-aa-auto-copy]:not(.aa-approved-body, .aa-approved-body *) {
  font-size: calc(var(--aa-copy-font-size) * 1.25) !important;
}
html[data-aa-spacing="roomy"]:not([data-aa-measuring]) [data-aa-auto-copy]:not(.aa-approved-body, .aa-approved-body *) {
  line-height: max(1.75em, var(--aa-copy-line-height, 0px)) !important;
  letter-spacing: .08em !important;
  word-spacing: .12em !important;
}
