/* ============================================================
   CAUDEX – Visioni Letterarie: veste grafica propria
   Carta chiara, rosso Caudex, Bodoni per i titoli, Poppins per i testi,
   disegni a incisione sparsi che si muovono piano (parallasse e
   fluttuazione), nastri rossi che si disegnano allo scorrimento.
   Caricato solo dalla pagina /caudex, dopo i suoi stili.
   ============================================================ */

@font-face { font-family: 'Bodoni Moda'; src: url('../fonts/bodoni-moda.woff2') format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Bodoni Moda'; src: url('../fonts/bodoni-moda-corsivo.woff2') format('woff2'); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/poppins-300.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/poppins-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/poppins-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../fonts/poppins-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }

body.cx-page {
  --cx-red: #F14624;
  --cx-red-dark: #C9361A;
  --cx-sun: #FFF200;
  --cx-sun-ring: #FBD64A;
  --cx-paper: #F2F1EE;
  --cx-ink: #2E2E2E;
  --cx-ink-soft: rgba(46, 46, 46, .72);
  --cx-serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --cx-sans: 'Poppins', Helvetica, Arial, sans-serif;
  --cx-ease: cubic-bezier(.4, 0, .2, 1);

  background-color: var(--cx-paper);
  /* grana della carta */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .44 0 0 0 0 .42 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--cx-ink);
  overflow-x: hidden;
}
.cx-page section, .cx-page section button, .cx-page section input, .cx-page section textarea, .cx-page .on-this-page { font-family: var(--cx-sans); }

/* le sezioni lasciano vedere la carta */
.cx-page .cx-intro, .cx-page .cx-edition, .cx-page .about-text-section, .cx-page .salone-section,
.cx-page .candida-section, .cx-page #eventi-passati, .cx-page .stampa-section, .cx-page .ig-section,
.cx-page .ig-profile-bar, .cx-page .on-this-page {
  background: transparent !important;
  position: relative;
}
.cx-page main > section, .cx-page body > section { position: relative; }

/* ── Titoli e testi ─────────────────────────────────────── */
.cx-page .cx-edition-title, .cx-page .about-text-heading, .cx-page .salone-heading-xl,
.cx-page .vct-small-title, .cx-page .ig-main-title, .cx-page .cx-intro-title, .cx-page .candida-heading {
  font-family: var(--cx-serif) !important;
  font-weight: 700 !important;
  font-variation-settings: 'opsz' 28;
  color: var(--cx-red) !important;
  letter-spacing: -.01em;
  line-height: 1.02;
}
.cx-page .cx-edition-title, .cx-page .vct-small-title, .cx-page .ig-main-title, .cx-page .about-text-heading,
.cx-page .salone-heading-xl { font-size: clamp(38px, 4.6vw, 64px) !important; }
.cx-page .cx-eyebrow, .cx-page .cx-kicker {
  font-family: var(--cx-sans); font-weight: 500; font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--cx-ink) !important;
}
:where(.cx-page) :where(p, li, .salone-body, .stampa-excerpt, .ig-subtitle) {
  font-family: var(--cx-sans); font-weight: 300; color: var(--cx-ink-soft);
}
.cx-page strong { font-weight: 500; color: var(--cx-ink); }
.cx-page em { font-family: var(--cx-serif); font-style: italic; font-size: 1.08em; color: var(--cx-red); }

/* ── Pulsanti ───────────────────────────────────────────── */
.cx-page .cx-btn, .cx-page .vct-btn-black, .cx-page .candida-submit, .cx-page .ig-btn, .cx-page .stampa-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 26px; border-radius: 0 !important;
  background: var(--cx-red) !important; color: #fff !important; border: 1px solid var(--cx-red) !important;
  font-family: var(--cx-sans); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; transition: background .4s var(--cx-ease), color .4s var(--cx-ease);
}
.cx-page .cx-btn:hover, .cx-page .vct-btn-black:hover, .cx-page .candida-submit:hover, .cx-page .ig-btn:hover,
.cx-page .stampa-btn:hover { background: transparent !important; color: var(--cx-red) !important; }
.cx-page .vct-arrow { border-radius: 0 !important; border: 1px solid var(--cx-red) !important; color: var(--cx-red) !important;
  background: transparent !important; width: 46px; height: 46px; padding: 0; transition: background .4s, color .4s; }
.cx-page .vct-arrow:hover { background: var(--cx-red) !important; color: #fff !important; }

/* ── Barra "Su questa pagina" ───────────────────────────── */
.cx-page .on-this-page { background: rgba(242, 241, 238, .94) !important; backdrop-filter: blur(6px); border-bottom: 1px solid rgba(241, 70, 36, .25); }
.cx-page .on-this-page-label { font-family: var(--cx-sans); font-weight: 500; color: var(--cx-ink-soft); }
.cx-page .on-this-page-link { font-family: var(--cx-sans); font-weight: 500; color: var(--cx-ink); }
.cx-page .on-this-page-link::after { background: var(--cx-red) !important; }
.cx-page .on-this-page-link.active { color: var(--cx-red); }

/* ============================================================
   TESTATA
   ============================================================ */
.cxh {
  position: relative;
  height: max(680px, min(100vh, 960px));
  overflow: hidden;
  isolation: isolate;
}
.cxh-title {
  position: absolute; z-index: 5; left: 50%; top: clamp(70px, 11vh, 120px);
  transform: translateX(-50%);
  width: min(1180px, 92vw);
  pointer-events: none;
}
.cxh-dir { margin: 0 0 -.4em; text-align: right; font-family: var(--cx-sans); font-size: clamp(12px, 1.2vw, 17px); color: var(--cx-red) !important; font-weight: 300; }
.cxh-dir b { font-weight: 500; color: var(--cx-red); }
.cxh-logo {
  margin: 0; font-family: var(--cx-serif); font-weight: 900; font-variation-settings: 'opsz' 11;
  color: var(--cx-red) !important; font-size: clamp(60px, 18vw, 290px); line-height: .82; letter-spacing: -.02em;
  text-align: center; mix-blend-mode: multiply;
}
.cxh-festival { display: block; text-align: right; font-family: var(--cx-serif); font-weight: 600; font-variation-settings: 'opsz' 28; font-size: clamp(26px, 3.6vw, 56px);
  letter-spacing: .04em; color: var(--cx-red); line-height: 1; margin-top: .12em; }
.cxh-meta { position: absolute; left: 0; bottom: clamp(-62px, -4.6vw, -34px); margin: 0; font-family: var(--cx-serif); font-weight: 700;
  font-size: clamp(14px, 1.5vw, 22px); line-height: 1.15; color: var(--cx-red) !important; text-transform: uppercase; }

/* sole */
.cx-sun { position: absolute; z-index: 1; aspect-ratio: 1; pointer-events: none; transform: translate3d(0, var(--py, 0px), 0); }
.cx-sun span { position: absolute; inset: 0; border-radius: 50%; }
.cx-sun .ring { border: clamp(16px, 2.2vw, 36px) solid var(--cx-sun-ring); inset: -14%; }
.cx-sun .disc { background: var(--cx-sun); }
.cxh-sun { right: -13vw; top: 36%; width: clamp(240px, 26vw, 420px); }
.cx-sun-left { left: -16vw; top: 18%; width: clamp(220px, 26vw, 400px); }

/* mongolfiera */
.cxh-balloon { position: absolute; z-index: 3; left: 50%; top: 21%; width: clamp(190px, 19vw, 300px); margin-left: clamp(-60px, -2vw, -20px);
  transform: translate3d(0, var(--py, 0px), 0); }
.cxh-balloon img { width: 100%; height: auto; display: block; }

/* nastri rossi */
.cx-ribbon { position: absolute; z-index: 2; pointer-events: none; overflow: visible; }
.cx-ribbon path { fill: none; stroke: var(--cx-red); stroke-linecap: round; stroke-width: 26; }
.cx-ribbon.js-draw path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s var(--cx-ease); }
.cx-ribbon.js-draw.is-drawn path { stroke-dashoffset: 0; }
.cxh-ribbons { inset: 0; width: 100%; height: 100%; }

/* ============================================================
   DISEGNI SPARSI
   .cx-d è il contenitore (posizione + parallasse via --py),
   l'immagine dentro fluttua con un'animazione propria.
   ============================================================ */
.cx-deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.cx-d { position: absolute; display: block; width: var(--w, 200px); transform: translate3d(0, var(--py, 0px), 0); will-change: transform; z-index: 2; pointer-events: none; }
.cx-d img { width: 100%; height: auto; display: block; }
.cx-page section:not(.cxh) > *:not(.cx-deco):not(.cx-ribbon) { position: relative; z-index: 1; }

.float-a img { animation: cx-float-a 9s ease-in-out infinite; }
.float-b img { animation: cx-float-b 12s ease-in-out infinite; }
.drift img { animation: cx-drift 26s ease-in-out infinite; }
.drift-r img { animation: cx-drift 32s ease-in-out infinite reverse; }
.flutter img { animation: cx-flutter 5.5s ease-in-out infinite; transform-origin: 50% 60%; }
.sway img { animation: cx-sway 7s ease-in-out infinite; transform-origin: 50% 0; }
.balloon-bob { animation: cx-balloon 11s ease-in-out infinite; transform-origin: 50% 0; }

@keyframes cx-float-a { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(1.2deg); } }
@keyframes cx-float-b { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(10px) rotate(-1.5deg); } }
@keyframes cx-drift { 0%,100% { transform: translateX(0); } 50% { transform: translateX(46px); } }
@keyframes cx-flutter {
  0%,100% { transform: translate(0,0) rotate(-6deg) scaleX(1); }
  20% { transform: translate(14px,-10px) rotate(4deg) scaleX(.82); }
  40% { transform: translate(26px,-4px) rotate(-2deg) scaleX(1); }
  60% { transform: translate(18px,-18px) rotate(6deg) scaleX(.78); }
  80% { transform: translate(6px,-8px) rotate(-4deg) scaleX(1); }
}
@keyframes cx-sway { 0%,100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes cx-balloon { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-22px) rotate(1.5deg); } }

/* ============================================================
   SEZIONI
   ============================================================ */
.cx-page .cx-intro { padding: 130px 40px 120px; color: var(--cx-ink); }
.cx-page .cx-intro blockquote { font-family: var(--cx-serif); font-style: italic; font-weight: 500; color: var(--cx-red); font-size: clamp(30px, 3.4vw, 50px); line-height: 1.15; }
.cx-page .cx-intro-title { font-size: clamp(28px, 2.6vw, 40px) !important; }
.cx-page .cx-intro-text p { color: var(--cx-ink-soft); }
.cx-page .cx-intro-text strong { color: var(--cx-ink); }
.cx-page .cx-facts { border-top: 1px solid rgba(241,70,36,.35); }
.cx-page .cx-facts li { border-bottom: 1px solid rgba(241,70,36,.2); color: var(--cx-ink-soft); }
.cx-page .cx-facts strong { color: var(--cx-red); font-weight: 500; }

/* programma: date nel quadrato rosso, come nel libretto */
.cx-page .cx-edition { padding: 120px 40px 60px; }
.cx-page .cx-program { border-top: 0; display: grid; gap: 14px; }
.cx-page .cx-program-item a { grid-template-columns: 96px 1fr auto 30px; border-bottom: 0; padding: 0; gap: 22px; background: transparent; }
.cx-page .cx-program-item a:hover { background: transparent; padding: 0; }
.cx-page .cx-date { width: 96px; height: 96px; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: var(--cx-red); color: #fff; outline: 3px solid var(--cx-sun-ring); outline-offset: -3px; }
.cx-page .cx-day { font-family: var(--cx-serif); font-weight: 700; font-size: 44px; color: #fff; }
.cx-page .cx-month { color: #fff; font-family: var(--cx-sans); font-weight: 500; font-size: 10px; letter-spacing: .14em; }
.cx-page .cx-title { font-family: var(--cx-serif); font-weight: 700; color: var(--cx-red); text-transform: uppercase; font-size: clamp(19px, 1.8vw, 24px); letter-spacing: .01em; }
.cx-page .cx-artist { font-family: var(--cx-serif); font-style: italic; color: var(--cx-ink); font-size: 17px; }
.cx-page .cx-tag { border-radius: 0; font-family: var(--cx-sans); font-weight: 500; }
.cx-page .cx-program-item:not(.is-past) .cx-tag { border-color: var(--cx-red); color: var(--cx-red); }
.cx-page .cx-arrow { color: var(--cx-red); }
.cx-page .cx-program-item a:hover .cx-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.cx-page .cx-program-item.is-past { opacity: .5; }

/* foto con cornice "di carta" */
.cx-page .about-story-img-wrap, .cx-page .vct-inner, .cx-page .stampa-item, .cx-page .candida-form-panel {
  border-radius: 0 !important;
}
.cx-page .about-story-img-wrap { box-shadow: 0 0 0 10px #fff, 0 18px 40px rgba(0,0,0,.12); transform: rotate(-1.2deg); }
.cx-page .about-story-caption-name { font-family: var(--cx-serif); color: var(--cx-red); font-size: 20px; letter-spacing: 0; text-transform: none; font-weight: 700; }
.cx-page .about-story-caption { margin-top: 18px; }

.cx-page .salone-section { padding-top: 110px; padding-bottom: 110px; }
.cx-page .candida-form-panel { background: rgba(255,255,255,.7) !important; border: 1px solid rgba(241,70,36,.25); box-shadow: none; }
.cx-page .candida-form-label { font-family: var(--cx-serif); color: var(--cx-red); font-weight: 700; font-size: 22px; letter-spacing: 0; text-transform: none; }
.cx-page .candida-input, .cx-page .candida-file-label { border-radius: 0 !important; background: #fff; font-family: var(--cx-sans); }
.cx-page .cx-steps li::before { background: var(--cx-red); border-radius: 0; font-family: var(--cx-serif); font-weight: 700; font-size: 17px; }

.cx-page .stampa-item { background: rgba(255,255,255,.65) !important; border: 1px solid rgba(46,46,46,.08); }
.cx-page .stampa-title { font-family: var(--cx-serif); font-weight: 700; color: var(--cx-ink); }
.cx-page .vct-event-name { font-family: var(--cx-serif); font-weight: 700; }
.cx-page .vct-btn-white { border-radius: 0 !important; }

/* ── Smartphone e tablet ────────────────────────────────── */
@media (max-width: 900px) {
  .cxh { height: max(620px, min(92vh, 760px)); }
  .cxh-title { top: 64px; }
  .cxh-meta { bottom: -40px; }
  .cxh-balloon { width: 46vw; left: auto; right: 2vw; margin: 0; top: 24%; }
  .cxh-sun { right: -30vw; top: 46%; width: 62vw; }
  .cx-hide-sm { display: none !important; }
  .cxh-logo { font-size: 21vw; }
  .cxh-dir { margin-bottom: .2em; }
  .cxh-meta { position: static; margin-top: 14px; }
  .cx-deco .cx-ribbon { display: none; }
  .cxh-balloon { top: 34%; }
  .cxh-sun { top: 52%; }
  .cx-page .cx-intro, .cx-page .cx-edition { padding: 72px 22px; }
  .cx-page .cx-program-item a { grid-template-columns: 72px 1fr 18px; gap: 14px; }
  .cx-page .cx-date { width: 72px; height: 72px; }
  .cx-page .cx-day { font-size: 32px; }
  .cx-page .cx-month { font-size: 8px; }
  .cx-ribbon path { stroke-width: 18; }
}

@media (min-width: 601px) and (max-width: 900px) {
  .cxh { height: 820px; }
  .cxh-balloon { width: 30vw; right: 8vw; top: 30%; }
  .cxh-sun { width: 44vw; right: -18vw; top: 44%; }
}

@media (prefers-reduced-motion: reduce) {
  .cx-d img, .balloon-bob { animation: none !important; }
  .cx-d { transform: none !important; }
  .cx-ribbon.js-draw path { stroke-dashoffset: 0; transition: none; }
}

/* ============================================================
   CANDIDA IL TUO LIBRO: una domanda alla volta
   ============================================================ */
.cx-wizard { display: block; }
.cx-wz-head { display: flex; align-items: center; gap: 16px; margin: 4px 0 26px; }
.cx-wz-count { font-family: var(--cx-sans); font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--cx-ink-soft); white-space: nowrap; }
.cx-wz-count b { font-weight: 600; color: var(--cx-red); }
.cx-wz-bar { flex: 1; height: 2px; background: rgba(241, 70, 36, .18); position: relative; overflow: hidden; }
.cx-wz-bar span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--cx-red); transition: width .6s var(--cx-ease); }

.cx-step { border: 0; margin: 0; padding: 0; min-width: 0; display: none; }
.cx-step.is-active { display: block; animation: cx-step-in .55s var(--cx-ease) both; }
.cx-step.is-active.from-left { animation-name: cx-step-in-left; }
@keyframes cx-step-in { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes cx-step-in-left { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }

.cx-q { display: block; margin: 0 0 16px; font-family: var(--cx-serif); font-weight: 700; font-variation-settings: 'opsz' 28;
  font-size: clamp(26px, 2.4vw, 34px); line-height: 1.12; color: var(--cx-red); }
.cx-hint { margin: -6px 0 16px; font-size: 14px; line-height: 1.55; }
.cx-wizard .candida-input { width: 100%; margin-bottom: 12px; font-size: 16px; padding: 15px 16px; border: 1px solid rgba(46,46,46,.18); }
.cx-wizard .candida-input:focus { outline: none; border-color: var(--cx-red); box-shadow: 0 0 0 3px rgba(241, 70, 36, .15); }
.cx-wizard .candida-file-label { margin-bottom: 12px; }
.cx-wz-error { margin: 2px 0 0; font-size: 13px; color: var(--cx-red); }
.cx-wizard .form-privacy { margin-top: 6px; }

.cx-wz-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.cx-wz-nav .candida-submit { margin-left: auto; width: auto; }
.cx-wz-back { background: none; border: 0; padding: 8px 0; cursor: pointer; font-family: var(--cx-sans); font-size: 12px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--cx-ink-soft); transition: color .3s; }
.cx-wz-back:hover { color: var(--cx-red); }
.cx-wizard .form-status { margin-top: 18px; }

@media (prefers-reduced-motion: reduce) {
  .cx-step.is-active { animation: none; }
}

.cx-wizard [hidden] { display: none !important; }
@media (max-width: 900px) {
  .cx-page .candida-form-panel { padding: 26px 20px !important; }
  .cx-wz-nav .candida-submit { margin-left: auto; }
}

/* ============================================================
   GRIGLIA E RITMO UNICI
   Una sola larghezza (1200 px centrati), un solo spazio tra le
   sezioni, la stessa distanza fra etichetta, titolo e testo.
   ============================================================ */
body.cx-page {
  --cx-wrap: 1200px;
  --cx-gutter: 40px;
  --cx-gap: clamp(80px, 8.5vw, 128px);   /* spazio tra una sezione e l'altra */
  --cx-col-gap: clamp(48px, 6vw, 96px);  /* spazio tra le due colonne */
  --cx-head-gap: 40px;                   /* tra intestazione e contenuto */
}

/* tutte le sezioni: stesso margine sopra, niente sotto (lo spazio è uno solo) */
.cx-page .cx-intro, .cx-page .cx-edition, .cx-page .about-text-section, .cx-page .salone-section,
.cx-page .candida-section, .cx-page #eventi-passati, .cx-page .stampa-section, .cx-page .ig-section {
  padding: var(--cx-gap) var(--cx-gutter) 0 !important;
}
.cx-page .ig-section { padding-bottom: var(--cx-gap) !important; }

/* stesso contenitore per tutti */
.cx-page .cx-intro-inner, .cx-page .cx-edition-inner, .cx-page .about-text-inner, .cx-page .salone-content,
.cx-page .candida-inner, .cx-page .stampa-inner, .cx-page #eventi-passati .vct-container-wide > div,
.cx-page .ig-title-area, .cx-page .ig-profile-bar-inner, .cx-page .ig-grid-wrap {
  max-width: var(--cx-wrap) !important;
  margin-left: auto !important; margin-right: auto !important;
  padding-left: 0 !important; padding-right: 0 !important;
  box-sizing: border-box;
}
.cx-page #eventi-passati .vct-container-wide { max-width: none; padding: 0 !important; }

/* due colonne: stesse proporzioni e stessa distanza, testo allineato in alto */
.cx-page .cx-intro-inner, .cx-page .about-text-inner, .cx-page .candida-inner, .cx-page .salone-mid {
  grid-template-columns: 1fr 1fr !important;
  gap: var(--cx-col-gap) !important;
  align-items: start !important;
}

/* etichetta → titolo → testo */
.cx-page .cx-eyebrow, .cx-page .cx-kicker { margin: 0 0 16px !important; }
.cx-page .cx-edition-title, .cx-page .about-text-heading, .cx-page .salone-heading-xl,
.cx-page .vct-small-title, .cx-page .ig-main-title { margin: 0 0 28px !important; }
.cx-page .cx-intro-title { margin: 0 0 20px !important; }
.cx-page .about-text-body p, .cx-page .cx-intro-text p, .cx-page .candida-body p, .cx-page .salone-body { margin: 0 0 16px; line-height: 1.75; }
.cx-page .about-text-body { margin-bottom: 0; gap: 0; }

/* intestazioni con pulsanti: titolo e comandi sulla stessa linea di base */
.cx-page .cx-edition-head, .cx-page #eventi-passati .vct-header, .cx-page .stampa-header {
  margin: 0 0 var(--cx-head-gap) !important; padding: 0 !important;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cx-page .cx-edition-head .cx-edition-title, .cx-page #eventi-passati .vct-small-title, .cx-page .stampa-header .vct-small-title { margin: 0 !important; }

/* introduzione: citazione e testo partono alla stessa altezza */
.cx-page .cx-intro blockquote { margin: 0; }
.cx-page .cx-facts { margin-top: 28px; }

/* Salone: logo, poi titolo e testo affiancati */
.cx-page .salone-top { margin: 0 0 32px; padding: 0; border: 0; }
.cx-page .salone-mid { margin-bottom: 0 !important; }

/* Candida: niente doppio titolo nel riquadro, passi più ariosi */
.cx-page .candida-form-label { display: none; }
.cx-page .candida-form-panel { padding: 36px 36px 32px !important; }
.cx-page .cx-steps { margin-top: 28px; }
.cx-page .cx-steps li { padding-bottom: 20px; }

/* stampa e Instagram */
.cx-page .stampa-grid { gap: 24px; }
.cx-page .ig-title-area { margin-bottom: 28px !important; }
.cx-page .ig-subtitle { margin: -12px 0 0; }
.cx-page .ig-profile-bar { padding: 0 !important; margin: 0 0 32px; }
.cx-page .ig-profile-bar-inner { padding: 20px 0 !important; border-top: 1px solid rgba(241,70,36,.2); border-bottom: 1px solid rgba(241,70,36,.2); }
.cx-page .ig-grid-wrap { padding-bottom: 0 !important; }

/* barra "Su questa pagina" allineata alla griglia */
.cx-page .on-this-page { padding-left: max(var(--cx-gutter), calc((100% - var(--cx-wrap)) / 2)) !important; padding-right: var(--cx-gutter) !important; }
.cx-page .on-this-page-link:first-of-type { padding-left: 0; }
.cx-page .on-this-page-link:first-of-type::after { left: 0; }

@media (max-width: 900px) {
  body.cx-page { --cx-gutter: 22px; --cx-gap: 72px; --cx-head-gap: 28px; }
  .cx-page .cx-intro-inner, .cx-page .about-text-inner, .cx-page .candida-inner, .cx-page .salone-mid {
    grid-template-columns: 1fr !important; gap: 36px !important;
  }
  .cx-page .candida-form-panel { padding: 26px 20px !important; }
}
.cx-page .candida-right { width: 100% !important; max-width: none !important; justify-self: stretch; }
.cx-page .candida-form-panel { width: 100%; max-width: none !important; box-sizing: border-box; }
.cx-sun-left { left: -21vw !important; }
/* i disegni nei margini non allargano mai la pagina */
.cx-page section { overflow-x: clip; }
@media (max-width: 900px) {
  .cx-page section:not(.cxh) .cx-d.drift, .cx-page section:not(.cxh) .cx-d.drift-r, .cx-page .cx-sun-left { display: none !important; }
  .cx-page .about-story-caption { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* Candida: il riquadro del modulo è centrato in verticale rispetto al testo */
.cx-page .candida-inner { align-items: center !important; }
.cx-page .candida-right { align-self: center !important; }
/* due campi affiancati nello stesso passo */
.cx-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cx-row--city { grid-template-columns: 1.6fr 1fr; }
@media (max-width: 520px) { .cx-row, .cx-row--city { grid-template-columns: 1fr; gap: 0; } }
