/* Site-wide rules from the export that no widget control expresses. */
:focus-visible { outline: 3px solid var(--ek-accent); outline-offset: 3px; }
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.ek-scroll-mt { scroll-margin-top: 4rem; }
.ek-hidden { display: none !important; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Inline colour/type spans used inside headings (the export's u-text-* / u-font-* on <span> and <em>). */
.ek-text-accent { color: var(--ek-accent); }
.ek-text-coral { color: var(--ek-coral); }
.ek-text-paper { color: var(--ek-paper); }
.ek-text-ink { color: var(--ek-ink); }
.ek-font-serif { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; }
.ek-underline { text-decoration: underline; text-underline-offset: 4px; }

/* Nested containers size to their content like the export's divs (they still stretch in column and grid parents). */
.e-con.e-child { --width: auto; min-width: 0; max-width: 100%; }

/* Elementor's system colours follow the design tokens, so any widget left on a default colour re-themes too. */
body[class*="elementor-kit-"] {
	--e-global-color-primary: var(--ek-paper);
	--e-global-color-secondary: var(--ek-coral);
	--e-global-color-text: var(--ek-paper);
	--e-global-color-accent: var(--ek-accent);
}

/* u-opacity-* on text (the export dims some copy on coloured sections). */
.ek-op-80 { opacity: 0.8; } .ek-op-85 { opacity: 0.85; } .ek-op-90 { opacity: 0.9; }
.ek-strike { text-decoration: line-through; }

/* u-max-w-* on widgets: a real max-width, as in the export. */
.ek-maxw-xs { max-width: 20rem !important; }
.ek-maxw-sm { max-width: 24rem !important; }
.ek-maxw-md { max-width: 28rem !important; }
.ek-maxw-lg { max-width: 32rem !important; }
.ek-maxw-xl { max-width: 36rem !important; }
.ek-maxw-2xl { max-width: 42rem !important; }
.ek-maxw-3xl { max-width: 48rem !important; }
.ek-maxw-4xl { max-width: 56rem !important; }
.ek-maxw-5xl { max-width: 64rem !important; }
.ek-maxw-6xl { max-width: 72rem !important; }

/* The export's divs have no default gap; every gap is set explicitly on its container. */
body[class*="elementor-kit-"] { --widgets-spacing: 0px 0px; --widgets-spacing-row: 0px; --widgets-spacing-column: 0px; }
