:root{--fda-font-body:var(--wp--preset--font-family--system);--fda-font-heading:var(--wp--preset--font-family--manrope);--fda-font-ui:var(--wp--preset--font-family--system);}
.editor-styles-wrapper{font-family:var(--fda-font-body);}
.editor-styles-wrapper :where(h1,h2,h3,h4,h5,h6,.fda-display-title){font-family:var(--fda-font-heading);}
.editor-styles-wrapper :where(.wp-block-button__link,.fda-eyebrow,.fda-text-pill){font-family:var(--fda-font-ui);}
/* FDA Starter Lite editor styles. */
.editor-styles-wrapper {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  color: #111827;
  background: #ffffff;
}
.editor-styles-wrapper .fda-section { padding-block: 64px; }
.editor-styles-wrapper .fda-container { max-width: 1180px; margin-inline: auto; }
.editor-styles-wrapper .fda-grid { display: grid; gap: 24px; align-items: stretch; }
.editor-styles-wrapper .fda-grid > * { min-width: 0; margin-block-start: 0; }
.editor-styles-wrapper .fda-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.editor-styles-wrapper .fda-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.editor-styles-wrapper .fda-grid--auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
@media (min-width: 981px) {
  .editor-styles-wrapper .fda-grid--3 { display: flex; flex-wrap: nowrap; align-items: stretch; }
  .editor-styles-wrapper .fda-grid--3 > * { flex: 1 1 0; min-width: 0; }
}
.editor-styles-wrapper .fda-card,
.editor-styles-wrapper .is-style-fda-card {
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 42px rgba(15,23,42,.08);
  padding: 28px;
}

.editor-styles-wrapper .fda-grid > .fda-card,
.editor-styles-wrapper .fda-grid > .wp-block-group.fda-card { height: 100%; margin-block-start: 0 !important; }
.editor-styles-wrapper .fda-card { display: flex; flex-direction: column; align-items: stretch; }
@media (min-width: 981px) {
  .editor-styles-wrapper .fda-grid--3 > .fda-card,
  .editor-styles-wrapper .fda-grid--3 > .wp-block-group.fda-card {
    min-height: clamp(220px, 17vw, 270px);
    justify-content: center;
    align-items: center;
    text-align: center;
  }
}
.editor-styles-wrapper .fda-card > :first-child { margin-top: 0; }
.editor-styles-wrapper .fda-card > :last-child { margin-bottom: 0; }
.editor-styles-wrapper .fda-card .wp-block-buttons { margin-top: auto; padding-top: 1rem; }
.editor-styles-wrapper .fda-card--dark,
.editor-styles-wrapper .fda-section--dark .fda-card:not(.fda-card--light) {
  background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
  border-color: rgba(255,255,255,.16);
  color: #f8fafc;
}
.editor-styles-wrapper .fda-section--dark .fda-card:not(.fda-card--light) p,
.editor-styles-wrapper .fda-card--dark p { color: rgba(248,250,252,.78); }
.editor-styles-wrapper .fda-section--dark {
  background: #080b12;
  color: #f8fafc;
  padding: 48px;
  border-radius: 24px;
}
.editor-styles-wrapper .fda-section--dark :is(h1,h2,h3,p,a) { color: inherit; }
.editor-styles-wrapper .fda-eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 800; color: #15803d; }
.editor-styles-wrapper .fda-lead { font-size: 1.18rem; color: #64748b; }
.editor-styles-wrapper .fda-slide {
  background: #0f172a;
  color: #f8fafc;
  padding: 42px;
  border-radius: 24px;
}
.editor-styles-wrapper .fda-slider__controls { display: none; }

.editor-styles-wrapper .fda-slide__media--image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.editor-styles-wrapper .fda-slider--compact .fda-slide { min-height: 420px; }
.editor-styles-wrapper .fda-slider--low .fda-slide { min-height: 360px; }

/* v1.1.0 editor: native slider is intentionally shown slide-by-slide for easy editing. */
.editor-styles-wrapper .fda-word-hero {
  padding: 70px 24px;
  border-radius: 32px;
  background: radial-gradient(circle at 8% 18%, rgba(215,255,47,.22), transparent 24rem), radial-gradient(circle at 92% 0%, rgba(222,214,255,.28), transparent 30rem), #fff;
}
.editor-styles-wrapper .fda-display-title,
.editor-styles-wrapper .fda-word-hero h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: .86;
  letter-spacing: -.075em;
}
.editor-styles-wrapper .fda-text-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(15,23,42,.14);
  border-radius: 999px;
  padding: .55rem .85rem;
  background: rgba(255,255,255,.76);
  font-weight: 850;
}
.editor-styles-wrapper .fda-hero-split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 54px;
  align-items: end;
}
.editor-styles-wrapper .fda-native-slider {
  padding: 20px;
  border: 2px dashed rgba(15,23,42,.18);
  border-radius: 22px;
  background: #f8fafc;
}
.editor-styles-wrapper .fda-native-slider::before {
  content: "FDA native slider: modifica ogni Cover qui sotto. Per aggiungere una slide duplica una Cover. Sul sito scorre con frecce, pallini, tastiera e swipe mobile.";
  display: block;
  margin-bottom: 16px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #10131d;
  color: #d7ff2f;
  font-size: 12px;
  font-weight: 800;
}
.editor-styles-wrapper .fda-native-slider__track {
  display: grid !important;
  gap: 18px !important;
  transform: none !important;
  width: 100%;
  margin: 0;
  box-shadow: none;
  border: 0;
  border-radius: 0;
}
.editor-styles-wrapper .fda-native-slide,
.editor-styles-wrapper .wp-block-cover.fda-native-slide {
  min-width: 0 !important;
  width: 100% !important;
  min-height: 360px !important;
  padding: 34px !important;
  border-radius: 26px !important;
  color: #f8fafc;
  background: radial-gradient(circle at 16% 8%, rgba(215,255,47,.30), transparent 22rem), linear-gradient(135deg, #05070d, #10131d) !important;
}
.editor-styles-wrapper .fda-native-slider__controls { display: none !important; }
.editor-styles-wrapper .fda-native-slide h1,
.editor-styles-wrapper .fda-native-slide h2 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: .9;
  letter-spacing: -.075em;
  max-width: 12ch;
}
.editor-styles-wrapper .fda-native-slide p { color: rgba(248,250,252,.76); }
.editor-styles-wrapper .fda-native-slide .fda-eyebrow { color: #d7ff2f; }
.editor-styles-wrapper .wp-block-cover.is-style-fda-slide-lime,
.editor-styles-wrapper .fda-native-slide.is-style-fda-slide-lime { background: linear-gradient(135deg, #d7ff2f, #efffd1) !important; color: #10131d; }
.editor-styles-wrapper .wp-block-cover.is-style-fda-slide-lime p,
.editor-styles-wrapper .fda-native-slide.is-style-fda-slide-lime p { color: rgba(16,19,29,.74); }
.editor-styles-wrapper .wp-block-cover.is-style-fda-slide-sky,
.editor-styles-wrapper .fda-native-slide.is-style-fda-slide-sky { background: linear-gradient(135deg, #eafaff, #b9efff) !important; color: #10131d; }
.editor-styles-wrapper .wp-block-cover.is-style-fda-slide-sky p,
.editor-styles-wrapper .fda-native-slide.is-style-fda-slide-sky p { color: rgba(16,19,29,.72); }
.editor-styles-wrapper .wp-block-cover.is-style-fda-slide-light,
.editor-styles-wrapper .fda-native-slide.is-style-fda-slide-light { background: linear-gradient(135deg, #ffffff, #f5f7fb) !important; color: #10131d; }
.editor-styles-wrapper .wp-block-cover.is-style-fda-slide-light p,
.editor-styles-wrapper .fda-native-slide.is-style-fda-slide-light p { color: rgba(16,19,29,.72); }

.editor-styles-wrapper .is-style-fda-section-dark { background: radial-gradient(circle at 8% 0%, rgba(215,255,47,.18), transparent 28rem), linear-gradient(135deg, #05070d, #10131d) !important; color: #f8fafc; }
.editor-styles-wrapper .is-style-fda-section-dark :is(h1,h2,h3,h4,p,a,li) { color: inherit; }
.editor-styles-wrapper .is-style-fda-section-lime { background: linear-gradient(135deg, #d7ff2f, #efffd1) !important; color: #10131d; }
.editor-styles-wrapper .is-style-fda-section-cream { background: linear-gradient(135deg, #fff6df, #fffdf5) !important; color: #10131d; }
.editor-styles-wrapper .is-style-fda-section-sky { background: linear-gradient(135deg, #eafaff, #b9efff) !important; color: #10131d; }
.editor-styles-wrapper .is-style-fda-section-violet { background: linear-gradient(135deg, #f5f2ff, #ded6ff) !important; color: #10131d; }
.editor-styles-wrapper .is-style-fda-section-outline { background: #fff !important; color: #10131d; border: 1px solid rgba(15,23,42,.10); }
.editor-styles-wrapper .wp-block-group:is(.is-style-fda-section-dark,.is-style-fda-section-lime,.is-style-fda-section-cream,.is-style-fda-section-sky,.is-style-fda-section-violet,.is-style-fda-section-outline) {
  padding: 42px;
  border-radius: 32px;
}
.editor-styles-wrapper .is-style-fda-card-pop {
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 30px;
  padding: 32px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15,23,42,.10);
}
.editor-styles-wrapper .fda-avatar {
  width: 100px;
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.85), transparent 28%), linear-gradient(135deg, #d7ff2f, #b9efff);
}
.editor-styles-wrapper .fda-team-card { align-items: flex-start !important; text-align: left !important; }

/* v1.2.0 - FDA Easy Slider block variation.
   The slider is inserted as a native Group variation and each slide is a real Cover block. */
.editor-styles-wrapper .fda-easy-slider::before {
  content: "FDA Easy Slider: in editor vedi tutte le slide aperte per modificarle. Sul sito pubblicato scorrono con frecce, pallini e swipe mobile.";
}
.editor-styles-wrapper .fda-easy-slider .fda-native-slider__track::before {
  content: "Track slider: tieni qui dentro solo blocchi Cover/slide. Per aggiungere una slide usa + e cerca ‘FDA Slider Slide’ oppure duplica una slide esistente.";
  display: block;
  padding: 10px 14px;
  border-radius: 14px;
  background: #fff6df;
  color: #10131d;
  border: 1px solid rgba(15,23,42,.10);
  font-size: 12px;
  font-weight: 800;
}
.editor-styles-wrapper .fda-easy-slider .fda-native-slider__track > .block-editor-inner-blocks > .block-editor-block-list__layout,
.editor-styles-wrapper .fda-native-slider__track > .block-editor-inner-blocks > .block-editor-block-list__layout {
  display: grid;
  gap: 18px;
}
.editor-styles-wrapper .fda-easy-slider .wp-block-cover.fda-native-slide {
  outline: 1px solid rgba(15,23,42,.10);
  outline-offset: 0;
}
.editor-styles-wrapper .fda-easy-slider .wp-block-cover.fda-native-slide::after {
  content: "Slide modificabile: testo, bottoni, immagine e colore";
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .02em;
  color: #10131d;
  background: rgba(255,255,255,.88);
  border-radius: 999px;
  padding: 7px 10px;
  box-shadow: 0 10px 24px rgba(15,23,42,.12);
  pointer-events: none;
}

/* v1.2.2 - editor helper for the fullscreen Easy Slider.
   In editor the slides stay stacked because that is the easiest way to edit them. */
.editor-styles-wrapper .fda-easy-slider::before {
  content: "FDA Easy Slider fullscreen: in editor le slide restano una sotto l’altra per modificarle. Sul sito pubblicato sono a schermo intero, scorrono in autoplay, con dots e swipe. Per usare immagini: seleziona una Cover/slide → Sostituisci/Aggiungi immagine di sfondo.";
  white-space: normal;
  line-height: 1.35;
  border-radius: 16px;
}
.editor-styles-wrapper .fda-easy-slider .wp-block-cover.fda-native-slide {
  min-height: 520px !important;
}
.editor-styles-wrapper .fda-easy-slider .wp-block-cover.fda-native-slide .wp-block-cover__image-background,
.editor-styles-wrapper .fda-easy-slider .wp-block-cover.fda-native-slide .wp-block-cover__video-background {
  object-fit: cover;
}

