/* Kuaby Editoriale Root Kit 0.1.37 - CSS pubblico pulito */
#kuaby-editoriale-root,
.kuaby-editoriale-root,
.kuaby-editoriale-root * {
  box-sizing: border-box !important;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

.kuaby-editoriale-root {
  position: static !important;
  z-index: 2147483000 !important;
}

.kuaby-editoriale-toggle {
  position: fixed !important;
  right: var(--kuaby-toggle-right, 18px) !important;
  bottom: var(--kuaby-toggle-bottom, 18px) !important;
  width: var(--kuaby-toggle-size, 38px) !important;
  height: var(--kuaby-toggle-size, 38px) !important;
  min-width: var(--kuaby-toggle-size, 38px) !important;
  min-height: var(--kuaby-toggle-size, 38px) !important;
  border: 2px solid var(--kuaby-toggle-auto-border, rgba(255,255,255,.82)) !important;
  border-radius: 999px !important;
  background: var(--kuaby-toggle-auto-bg, #111827) !important;
  color: var(--kuaby-toggle-auto-icon, #ffffff) !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  gap: 4px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  outline: none !important;
  opacity: 1 !important;
  filter: none !important;
  line-height: 1 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  box-shadow: 0 14px 38px rgba(0,0,0,.28), 0 0 0 1px var(--kuaby-toggle-auto-shadow, rgba(0,0,0,.12)) !important;
  z-index: 2147483001 !important;
  isolation: isolate !important;
  transform: translateZ(0) !important;
  transition: transform .12s ease, background-color .12s ease, color .12s ease, border-color .12s ease !important;
}

.kuaby-editoriale-toggle::before {
  content: "" !important;
  position: absolute !important;
  inset: -5px !important;
  border-radius: inherit !important;
  border: 1px solid var(--kuaby-toggle-auto-ring, rgba(255,255,255,.45)) !important;
  background: transparent !important;
  z-index: -1 !important;
  pointer-events: none !important;
  opacity: .95 !important;
}

.kuaby-editoriale-toggle::after {
  display: none !important;
  content: none !important;
}

.kuaby-editoriale-toggle:hover,
.kuaby-editoriale-toggle:focus-visible {
  transform: translateY(-1px) translateZ(0) !important;
}

.kuaby-editoriale-toggle span {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  width: var(--kuaby-toggle-icon-width, 18px) !important;
  height: var(--kuaby-toggle-icon-height, 3px) !important;
  border-radius: 999px !important;
  background: currentColor !important;
  box-shadow: 0 0 0 1px rgba(0,0,0,.04) !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 1 !important;
}

.kuaby-editoriale-panel {
  position: fixed !important;
  right: 18px !important;
  bottom: 78px !important;
  width: min(520px, calc(100vw - 28px)) !important;
  max-height: min(760px, calc(100vh - 105px)) !important;
  overflow: auto !important;
  background: var(--kuaby-panel-bg, #1e73c2) !important;
  color: var(--kuaby-panel-text, #ffffff) !important;
  border-radius: 24px !important;
  border: 1px solid rgba(255,255,255,.65) !important;
  box-shadow: 0 25px 90px rgba(20,35,60,.35) !important;
  transform: translateY(12px) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: transform .18s ease, opacity .18s ease !important;
  padding: 26px 24px 24px !important;
  z-index: 2147483002 !important;
}

.kuaby-editoriale-panel.is-open {
  transform: translateY(0) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.kuaby-editoriale-handle {
  width: 70px !important;
  height: 6px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.25) !important;
  margin: 0 auto 24px !important;
}

.kuaby-editoriale-close {
  position: absolute !important;
  right: 22px !important;
  top: 26px !important;
  width: var(--kuaby-close-size, 34px) !important;
  height: var(--kuaby-close-size, 34px) !important;
  min-width: var(--kuaby-close-size, 34px) !important;
  min-height: var(--kuaby-close-size, 34px) !important;
  border: 1px solid rgba(15,23,42,.10) !important;
  background: var(--kuaby-close-bg, #ffffff) !important;
  color: var(--kuaby-close-text, #0f172a) !important;
  border-radius: 999px !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  cursor: pointer !important;
  box-shadow: 0 8px 22px rgba(0,0,0,.12) !important;
}

.kuaby-editoriale-brand {
  padding-right: 64px !important;
  margin-bottom: 24px !important;
}


.kuaby-logo-fallback {
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  width: 70px !important;
  height: 70px !important;
  margin: 0 0 10px !important;
  border-radius: 16px !important;
  background: rgba(255,255,255,.16) !important;
  border: 1px solid rgba(255,255,255,.45) !important;
  color: var(--kuaby-panel-text, #ffffff) !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  letter-spacing: .01em !important;
  text-transform: none !important;
}

.kuaby-editoriale-brand img {
  display: block !important;
  width: 70px !important;
  height: 70px !important;
  object-fit: contain !important;
  margin: 0 0 10px !important;
}

.kuaby-editoriale-brand span {
  display: block !important;
  color: var(--kuaby-panel-muted, #ffffff) !important;
  font-size: 16px !important;
  letter-spacing: .12em !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  margin-bottom: 8px !important;
}

.kuaby-editoriale-brand strong {
  display: block !important;
  color: var(--kuaby-panel-text, #ffffff) !important;
  font-size: 34px !important;
  line-height: 1.05 !important;
  font-weight: 500 !important;
  margin-bottom: 8px !important;
}

.kuaby-editoriale-brand small {
  display: block !important;
  color: var(--kuaby-panel-muted, #ffffff) !important;
  font-size: 18px !important;
  line-height: 1.45 !important;
}

.kuaby-editoriale-brand em,
.kuaby-editoriale-footlink {
  display: none !important;
}

.kuaby-editoriale-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.kuaby-editoriale-card {
  margin: 0 0 12px !important;
  padding: 0 !important;
}

.kuaby-editoriale-card a,
.kuaby-editoriale-card > span {
  display: flex !important;
  gap: 18px !important;
  align-items: flex-start !important;
  padding: 16px 18px !important;
  border-radius: 24px !important;
  border: 1px solid var(--kuaby-card-border, #dae6f3) !important;
  background: var(--kuaby-card-bg, #79b4ec) !important;
  color: var(--kuaby-card-text, #ffffff) !important;
  text-decoration: none !important;
}

.kuaby-editoriale-index {
  flex: 0 0 40px !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 999px !important;
  background: var(--kuaby-index-bg, #1e73c2) !important;
  color: var(--kuaby-index-text, #ffffff) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 800 !important;
  font-size: 18px !important;
}

.kuaby-editoriale-cardtext {
  display: block !important;
  min-width: 0 !important;
}

.kuaby-editoriale-card strong {
  display: block !important;
  color: var(--kuaby-card-text, #ffffff) !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
}

.kuaby-editoriale-card small {
  display: block !important;
  color: var(--kuaby-card-text, #ffffff) !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  margin-top: 5px !important;
  opacity: .95 !important;
  word-break: break-word !important;
}

.kuaby-editoriale-footer {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 10px 6px !important;
  background: var(--kuaby-footer-bg, #111111) !important;
  color: var(--kuaby-footer-text, #ffffff) !important;
  display: grid !important;
  grid-template-columns: minmax(180px, 360px) 1fr !important;
  gap: 12px !important;
  align-items: center !important;
  clear: both !important;
  float: none !important;
  grid-column: 1 / -1 !important;
  flex: 0 0 100% !important;
}

.kuaby-editoriale-footer-card {
  min-height: 58px !important;
  border: 1px solid var(--kuaby-footer-card-border, #334155) !important;
  border-radius: 14px !important;
  background: var(--kuaby-footer-card-bg, #1f2937) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px !important;
  color: var(--kuaby-footer-text, #ffffff) !important;
  text-align: center !important;
}

.kuaby-editoriale-footer a {
  color: var(--kuaby-footer-link, #1e73c2) !important;
  text-decoration: none !important;
}

.kuaby-editoriale-footer img {
  max-width: 50px !important;
  max-height: 50px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  margin: 0 4px !important;
  vertical-align: middle !important;
}

.kuaby-editoriale-footer-center {
  font-size: 15px !important;
  line-height: 1.55 !important;
}

body > .kuaby-editoriale-after-site-footer {
  display: block !important;
  width: 100% !important;
  clear: both !important;
  float: none !important;
  position: relative !important;
  z-index: 10 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.kuaby-editoriale-article-page {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  display: block !important;
  clear: both !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #f6f8fb !important;
  color: #172033 !important;
  min-height: 60vh !important;
  position: relative !important;
}

.kuaby-editoriale-article-page * {
  box-sizing: border-box !important;
}

.kuaby-editoriale-article-shell {
  width: min(1120px, calc(100% - 32px)) !important;
  max-width: 1120px !important;
  margin: 0 auto !important;
  padding: clamp(120px, 12vh, 180px) 0 56px !important;
  display: block !important;
  clear: both !important;
  float: none !important;
}

.kuaby-editoriale-article-box {
  display: block !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
  background: #ffffff !important;
  border: 1px solid #dfe7f2 !important;
  border-radius: 24px !important;
  padding: clamp(22px, 4vw, 42px) !important;
  box-shadow: 0 16px 50px rgba(25,40,70,.08) !important;
}

.kuaby-editoriale-article-box h1 {
  font-size: clamp(30px, 5vw, 52px) !important;
  line-height: 1.08 !important;
  margin: 0 0 18px !important;
  color: #111827 !important;
}

.kuaby-editoriale-article-meta {
  font-size: 13px !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
  color: #526071 !important;
  font-weight: 800 !important;
  margin-bottom: 22px !important;
}

.kuaby-editoriale-article-image {
  margin: 0 0 28px !important;
}

.kuaby-editoriale-article-image img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: 520px !important;
  object-fit: cover !important;
  border-radius: 22px !important;
}

.kuaby-editoriale-article-content {
  font-size: 18px !important;
  line-height: 1.75 !important;
}

.kuaby-editoriale-article-content h2 {
  font-size: 1.65em !important;
  line-height: 1.2 !important;
  margin: 1.6em 0 .55em !important;
  color: #1f6696 !important;
}

.kuaby-editoriale-article-content h3 {
  font-size: 1.32em !important;
  margin: 1.3em 0 .45em !important;
}

.kuaby-editoriale-article-content img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 18px !important;
}

.kuaby-editoriale-article-content a {
  color: #1e73c2 !important;
}

.kuaby-editoriale-article-image img[data-kuaby-img-error='1'] {
  display: none !important;
}

.kuaby-editoriale-image-missing {
  display: block !important;
  padding: 14px 16px !important;
  border: 1px dashed #cbd5e1 !important;
  border-radius: 16px !important;
  background: #f8fafc !important;
  color: #475569 !important;
  font-size: 14px !important;
  margin: 0 0 24px !important;
}

.kuaby-master-prospect-links {
  margin: 34px 0 0 !important;
  padding: 18px 20px !important;
  border: 1px solid #dbeafe !important;
  border-radius: 18px !important;
  background: #f8fbff !important;
}

.kuaby-master-prospect-links h2 {
  margin-top: 0 !important;
  font-size: 1.25em !important;
  color: #1e73c2 !important;
}

.kuaby-master-prospect-links ul {
  margin: 10px 0 0 18px !important;
}

@media (max-width: 700px) {
  .kuaby-editoriale-panel {
    right: 12px !important;
    bottom: 70px !important;
    width: calc(100vw - 24px) !important;
    padding: 22px 24px !important;
  }
  .kuaby-editoriale-brand strong {
    font-size: 32px !important;
  }
  .kuaby-editoriale-footer {
    grid-template-columns: 1fr !important;
  }
  .kuaby-editoriale-footer-card {
    min-height: 54px !important;
  }
  .kuaby-editoriale-article-shell {
    width: calc(100% - 22px) !important;
    padding-top: 110px !important;
  }
}

@media print {
  .kuaby-editoriale-root,
  .kuaby-editoriale-toggle,
  .kuaby-editoriale-panel,
  .kuaby-editoriale-footer {
    display: none !important;
  }
}

.kuaby-editoriale-contact-card{margin-top:28px;padding:18px;border:1px solid #dbe5f0;border-radius:16px;background:#f8fafc;color:#172033}.kuaby-editoriale-contact-card h2{margin:0 0 10px;font-size:1.25rem}.kuaby-editoriale-contact-card a{color:#1e73c2;font-weight:700;text-decoration:none}.kuaby-editoriale-contact-card a:hover{text-decoration:underline}


/* Kuaby 0.1.44: spazi corretti footer e righe contatto leggibili */
.kuaby-editoriale-footer-center,
.kuaby-editoriale-footer-card { white-space: normal !important; word-spacing: .08em !important; }
.kuaby-editoriale-footer-center a,
.kuaby-editoriale-footer-card a { display: inline-block !important; margin: 0 .22em !important; }
.kuaby-editoriale-article-content strong { margin-right: .25em !important; }
.kuaby-editoriale-article-content br + strong { display: inline-block !important; margin-top: .55em !important; }
.kuaby-editoriale-article-content a[href^="tel:"],
.kuaby-editoriale-article-content a[href^="mailto:"],
.kuaby-editoriale-article-content a[href*="google.com/maps"] { font-weight: 600 !important; }
