/* Base dei siti FM (era assets/css/base.css di fm-hello-child 1.0.2), sempre caricata. */
:root {
  --fm-theme-text: var(--e-global-color-text, currentColor);
  --fm-theme-accent: var(--e-global-color-primary, currentColor);
  --fm-theme-muted: var(--e-global-color-secondary, rgba(17, 17, 17, 0.7));
  --fm-theme-border: color-mix(in srgb, var(--fm-theme-text) 12%, transparent);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--fm-theme-text);
  font-family: var(--e-global-typography-text-font-family, "Montserrat"), sans-serif;
  font-size: var(--e-global-typography-text-font-size, 16px);
  font-weight: var(--e-global-typography-text-font-weight, 400);
  letter-spacing: var(--e-global-typography-text-letter-spacing, 0);
  line-height: 1.6;
}

button,
input,
select,
textarea {
  font: inherit;
}

a,
.elementor a {
  color: var(--fm-theme-accent);
}

a:visited,
.elementor a:visited {
  color: var(--fm-theme-accent);
}

a:hover,
a:focus,
.elementor a:hover,
.elementor a:focus {
  color: var(--fm-theme-accent);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--fm-theme-accent);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
}

.site-main,
.elementor-location-header,
.elementor-location-footer {
  min-width: 0;
}

.elementor-widget-text-editor p:last-child,
.elementor-widget-theme-post-content p:last-child {
  margin-bottom: 0;
}

.entry-content a,
.page-content a,
.site-footer a {
  color: var(--fm-theme-accent);
}
