/* v20 · Profilo d'area SICURFORM Innovazione. Caricato solo dalle pagine del profilo. */
:root[data-sf-profile="innovazione"] {
  --sf20-accent: #5a4c9a;
  --sf20-dark: #27275a;
  --sf20-light: #b8aeee;
  --sf20-tint: #f0eff9;
}

/* Testata ------------------------------------------------------------------------------- */
#dmRoot .sf20-head {
  --blue: #5a4c9a;
  --sky: #f0eff9;
}
#dmRoot .sf20-head .sf6-head__utility { background: #061f36 !important; }
#dmRoot .sf20-eco__nav { display: flex !important; align-items: center !important; gap: 2px !important; min-width: 0 !important; overflow-x: auto !important; scrollbar-width: none !important; }
#dmRoot .sf20-eco__nav::-webkit-scrollbar { display: none; }
#dmRoot .sf20-eco__label { margin-right: 8px !important; color: #9fb2c6 !important; font: 800 10.5px/1 "Manrope", Arial, sans-serif !important; letter-spacing: .14em !important; text-transform: uppercase !important; white-space: nowrap !important; }
#dmRoot .sf6-head__utility a.sf20-eco__item {
  display: inline-flex !important; align-items: center !important; gap: 7px !important; min-height: 28px !important;
  padding: 0 10px !important; border-radius: 6px !important; color: #c7d3e0 !important; opacity: 1 !important;
  font: 600 12.5px/1 "Manrope", Arial, sans-serif !important; white-space: nowrap !important; text-decoration: none !important;
  transition: background-color 160ms cubic-bezier(.23, 1, .32, 1), color 160ms cubic-bezier(.23, 1, .32, 1) !important;
}
#dmRoot .sf6-head__utility a.sf20-eco__item i { width: 8px !important; height: 8px !important; border-radius: 50% !important; flex: 0 0 auto !important; }
#dmRoot .sf6-head__utility a.sf20-eco__item:hover,
#dmRoot .sf6-head__utility a.sf20-eco__item:focus-visible { color: #fff !important; background: rgba(255, 255, 255, .1) !important; text-decoration: none !important; }
#dmRoot .sf6-head__utility a.sf20-eco__item.is-current { color: #fff !important; font-weight: 800 !important; background: rgba(255, 255, 255, .14) !important; }
#dmRoot .sf20-eco__contacts { flex: 0 0 auto !important; }

#dmRoot .sf20-head .sf6-head__main { grid-template-columns: 300px minmax(0, 1fr) auto !important; }
#dmRoot .sf20-brand { display: flex !important; align-items: center !important; gap: 14px !important; min-width: 0 !important; }
#dmRoot .sf20-head a.sf20-brand__logo { width: 168px !important; flex: 0 0 auto !important; padding: 6px 0 !important; }
#dmRoot .sf20-head a.sf20-brand__logo .sf6-head__logo { max-width: 168px !important; }
#dmRoot .sf20-head a.sf20-brand__endorse {
  display: grid !important; gap: 1px !important; padding: 4px 0 4px 13px !important; border-left: 1px solid #dde3ea !important;
  color: #5b6675 !important; font: 400 12.5px/1.25 "Source Sans 3", Arial, sans-serif !important; white-space: nowrap !important; text-decoration: none !important;
}
#dmRoot .sf20-head a.sf20-brand__endorse b { color: #00519e !important; font-weight: 700 !important; }
#dmRoot .sf20-head a.sf20-brand__endorse:hover b,
#dmRoot .sf20-head a.sf20-brand__endorse:focus-visible b { text-decoration: underline !important; }
#dmRoot .sf20-head .sf6-head__nav { justify-content: center !important; }
#dmRoot .sf20-head a.sf6-head__cta { background: #5a4c9a !important; }
#dmRoot .sf20-head a.sf6-head__cta:hover,
#dmRoot .sf20-head a.sf6-head__cta:focus-visible { background: #27275a !important; outline: 3px solid rgba(90, 76, 154, .22) !important; }
#dmRoot .sf20-head .sf6-head__rule { height: 5px !important; background: #5a4c9a !important; }
#dmRoot .sf20-head .sf6-head__rule::after { display: none !important; }
#dmRoot .sf20-head .sf6-head__mobile-contact a:first-child { color: #27275a !important; background: #f0eff9 !important; }
#dmRoot .sf20-head .sf6-head__mobile-contact a:last-child { color: #fff !important; background: #5a4c9a !important; }

@media (max-width: 1120px) {
  #dmRoot .sf20-head .sf6-head__main { grid-template-columns: 260px minmax(0, 1fr) auto !important; }
  #dmRoot .sf20-head a.sf20-brand__logo { width: 146px !important; }
  #dmRoot .sf20-head a.sf20-brand__endorse { font-size: 11.5px !important; padding-left: 10px !important; }
}
@media (max-width: 960px) {
  #dmRoot .sf20-head .sf6-head__main { grid-template-columns: minmax(0, 1fr) auto !important; }
  #dmRoot .sf20-eco__label { display: none !important; }
  #dmRoot .sf20-eco__contacts a:first-child { display: none !important; }
}
@media (max-width: 560px) {
  #dmRoot .sf20-head .sf6-head__utility-inner { justify-content: flex-start !important; }
  #dmRoot .sf20-eco__contacts { display: none !important; }
  #dmRoot .sf6-head__utility a.sf20-eco__item { padding: 0 8px !important; font-size: 12px !important; }
  #dmRoot .sf20-head a.sf20-brand__logo { width: 132px !important; }
  #dmRoot .sf20-head a.sf20-brand__endorse { font-size: 10.5px !important; padding-left: 9px !important; }
}
@media (max-width: 640px) {
  /* Su smartphone la candidatura resta nel menu e nell'apertura: la garanzia del Gruppo resta leggibile. */
  #dmRoot .sf20-head a.sf6-head__cta { display: none !important; }
}
@media (max-width: 340px) {
  #dmRoot .sf20-head a.sf20-brand__endorse { display: none !important; }
}

/* Footer: livello 1 (area) --------------------------------------------------------------- */
#dmRoot .sf20-sr { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
#dmRoot .sf20-foot .sf20-foot__rule { height: 5px !important; background: #5a4c9a !important; }
#dmRoot .sf20-foot__area { padding: 54px 0 44px !important; color: #e8eef5 !important; background: linear-gradient(140deg, #27275a, #1f1f4b) !important; }
#dmRoot .sf20-foot__grid { display: grid !important; grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr)) !important; gap: 34px !important; }
#dmRoot .sf20-foot__brand img { display: block !important; width: min(100%, 330px) !important; height: auto !important; }
#dmRoot .sf20-foot__brand p { max-width: 360px !important; margin: 16px 0 0 !important; color: #d8dff0 !important; font-size: 14px !important; line-height: 1.55 !important; }
#dmRoot .sf20-foot__area .sf9-foot__nav-group summary,
#dmRoot .sf20-foot__area .sf9-foot__title { color: #b8aeee !important; }
#dmRoot .sf20-foot__area .sf9-foot__list a { color: #e8eef5 !important; }
#dmRoot .sf20-foot__area .sf9-foot__list a:hover,
#dmRoot .sf20-foot__area .sf9-foot__list a:focus-visible { color: #fff !important; text-decoration: underline !important; }
#dmRoot .sf20-foot__area .sf9-foot__contacts { border-top-color: rgba(255, 255, 255, .16) !important; }

/* Footer: livello 2 (rete del Gruppo) ---------------------------------------------------- */
#dmRoot .sf20-foot__net { padding: 16px 0 !important; background: #092944 !important; }
#dmRoot .sf20-net { display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 8px 22px !important; }
#dmRoot .sf20-net__label { margin: 0 !important; color: #9fb2c6 !important; font: 800 11px/1.2 "Manrope", Arial, sans-serif !important; letter-spacing: .14em !important; text-transform: uppercase !important; }
#dmRoot .sf20-net__links { display: flex !important; flex-wrap: wrap !important; gap: 4px 20px !important; }
#dmRoot .sf20-net__links a { min-height: 36px !important; display: inline-flex !important; align-items: center !important; color: #d5e3ec !important; font: 600 13px/1.2 "Manrope", Arial, sans-serif !important; }
#dmRoot .sf20-net__links a:hover,
#dmRoot .sf20-net__links a:focus-visible { color: #fff !important; text-decoration: underline !important; }

/* Footer: livello 3 (marchio storico, certificazioni, dati legali) -------------------------- */
#dmRoot .sf20-foot .sf20-foot__legal { padding: 30px 0 34px !important; }
#dmRoot .sf20-foot .sf20-foot__legal .sf9-foot__bottom { margin-top: 0 !important; padding-top: 0 !important; border-top: 0 !important; }

@media (max-width: 1120px) {
  #dmRoot .sf20-foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  #dmRoot .sf20-foot__brand { grid-column: 1 / -1 !important; }
}
@media (max-width: 760px) {
  #dmRoot .sf20-foot__grid { grid-template-columns: 1fr !important; gap: 22px !important; }
  #dmRoot .sf20-foot__area .sf9-foot__nav-contact { grid-column: auto !important; }
}
@media (prefers-reduced-motion: reduce) {
  #dmRoot .sf6-head__utility a.sf20-eco__item { transition: none !important; }
}

/* v21 · News dell'area nella Home d'area (schede con lo stesso stile dell'elenco /blog) */
#dmRoot #dm .sf6p .sf20-news { display: grid !important; gap: 18px !important; width: 100% !important; min-width: 0 !important; }
#dmRoot #dm .sf6p .sf20-news .sf95-rss-grid { grid-column: auto !important; }
#dmRoot #dm .sf6p .sf20-news__empty { margin: 0 !important; padding: 18px 20px !important; border: 1px dashed #c9c3e3 !important; border-radius: 14px !important; background: #f6f5fc !important; color: #27275a !important; font: 500 16px/1.55 "Source Sans 3", Arial, sans-serif !important; }
#dmRoot #dm .sf6p .sf20-news__all { margin: 0 !important; }
#dmRoot #dm .sf6p .sf20-news__all a { display: inline-flex !important; align-items: center !important; gap: 8px !important; color: #4a3f8a !important; font: 800 14px/1.3 "Manrope", Arial, sans-serif !important; text-decoration: underline !important; text-underline-offset: 3px !important; }
#dmRoot #dm .sf6p .sf20-news .sf95-rss-head span, #dmRoot #dm .sf6p .sf20-news .sf95-rss-head a { color: #4a3f8a !important; }
@media (max-width: 720px) {
  #dmRoot #dm .sf6p .sf20-news .sf95-rss-grid { grid-template-columns: minmax(0, 1fr) !important; }
}
