/* Otri (assets/otri.js): due "video" disegnati affiancati su fondo bianco, con la scritta che compare alla fine */
.otri { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 34px; margin: 2em 0 1.4em; }
@media (max-width: 600px) { .otri { grid-template-columns: minmax(0, 1fr); gap: 26px; } }
.otre { margin: 0; }
.otre-stage svg { display: block; width: 100%; height: auto; transition: opacity .4s; }

/* la scritta: banda storta come nel carosello della home, poi le domande */
.prose .otre-band, .otre-band { display: table; margin: 4px 0 0 6px; padding: 8px 16px 9px; background: var(--blue); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: clamp(1.2rem, 2.3vw, 1.5rem); line-height: 1.15; transform: rotate(-1.2deg); box-shadow: 0 6px 16px rgba(13,26,64,.22); }
.otre-nuovo .otre-band { background: var(--yellow); color: var(--color2_150, #0d1a40); }
.prose .otre p.otre-q { margin: 14px 4px 0; }
.prose .otre p.otre-q + p.otre-q { margin-top: 6px; }

/* con lo script la scritta aspetta la fine dell'animazione, poi resta ferma */
.otri-js .otre .otre-band, .otri-js .otre .otre-q { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.otri-js .otre .otre-band { transform: translateY(14px) rotate(-1.2deg); }
.otri-js .otre.otre-done .otre-band, .otri-js .otre.otre-done .otre-q { opacity: 1; transform: none; }
.otri-js .otre.otre-done .otre-band { transform: rotate(-1.2deg); }
.otri-js .otre.otre-done .otre-q { transition-delay: .25s; }
.otri-js .otre.otre-done .otre-q + .otre-q { transition-delay: .45s; }

.otri-again { grid-column: 1 / -1; justify-self: center; margin-top: 8px; font-family: var(--font-head); font-weight: 700; font-size: .82rem; padding: 8px 18px; min-height: 36px;
  border: 2px solid var(--line); border-radius: 999px; background: #fff; color: var(--blue); cursor: pointer; }
.otri-again:hover { border-color: var(--yellow); }
.otri-again:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .otri-js .otre .otre-band, .otri-js .otre .otre-q { transition: none; } }

/* riquadro per scaricare un file */
.prose .ia-download { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin: 2.4em 0 1em; padding: 20px 0 0; border-top: 2px solid var(--line); }
.prose .ia-download p { margin: 0; flex: 1 1 280px; }
.prose .ia-download strong { display: block; font-family: var(--font-head); font-size: 1.15rem; margin-bottom: 2px; color: var(--blue); }
.prose .ia-download a { display: inline-flex; align-items: center; gap: 8px; padding: 11px 24px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; transition: transform .15s, box-shadow .15s; }
.prose .ia-download a:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(191, 140, 1, .35); }
