/* Tutte le regole sono circoscritte alla pagina Mostre: nessun impatto sul tema. */
.szm-timeline{width:100%;max-width:1150px;margin:clamp(22px,4vw,60px) auto 70px;color:inherit;font:inherit}
.szm-timeline *{box-sizing:border-box}
.szm-timeline .szm-year{display:grid;grid-template-columns:clamp(84px,14%,155px) minmax(0,1fr);border-top:1px solid rgba(90,90,90,.22);padding:35px 0 30px;gap:0}
.szm-timeline .szm-year-title{font-family:inherit;font-size:clamp(27px,3vw,41px);font-weight:400;line-height:1.05;letter-spacing:-.035em;margin:0;padding-right:14px;color:inherit}
.szm-timeline .szm-year-events{border-left:1px solid rgba(90,90,90,.32);min-width:0}
.szm-timeline .szm-event{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(104px,160px);column-gap:clamp(18px,5vw,72px);align-items:start;padding:0 0 35px clamp(19px,3.1vw,42px);margin:0 0 30px;border-bottom:1px solid rgba(90,90,90,.13)}
.szm-timeline .szm-event:last-child{padding-bottom:0;margin-bottom:0;border-bottom:0}
.szm-timeline .szm-event:before{content:"";position:absolute;top:9px;left:-4px;width:7px;height:7px;border-radius:50%;background:currentColor}
.szm-timeline .szm-event--no-poster{grid-template-columns:minmax(0,1fr)}
.szm-timeline .szm-event-info{min-width:0}
.szm-timeline .szm-status{display:inline-block;margin:0 0 10px;font-size:11px;letter-spacing:.085em;text-transform:uppercase;font-weight:500;opacity:.75}
.szm-timeline .szm-event-title{margin:0 0 9px;padding:0;font-family:inherit;font-size:clamp(21px,2.2vw,29px);font-weight:400;line-height:1.15;letter-spacing:-.025em;color:inherit;overflow-wrap:anywhere}
.szm-timeline .szm-event-date,.szm-timeline .szm-event-location{font-family:inherit;font-size:clamp(13px,1.12vw,16px);line-height:1.5;margin:0;color:inherit}
.szm-timeline .szm-event-description{margin:15px 0 0;font-family:inherit;font-size:clamp(13px,1.06vw,16px);line-height:1.6;max-width:58ch;opacity:.82}
.szm-timeline .szm-event-description p{margin:0 0 .6em}
.szm-timeline .szm-event-description p:last-child{margin-bottom:0}
.szm-timeline .szm-event-link{margin:14px 0 0;font-size:13px;line-height:1.4}
.szm-timeline .szm-event-link a{color:inherit!important;text-decoration:none!important;border-bottom:1px solid currentColor;display:inline-block;padding-bottom:2px;transition:opacity .15s ease}
.szm-timeline .szm-event-link a:hover{opacity:.6}
.szm-timeline .szm-poster{margin:0;width:100%;max-width:160px;justify-self:end}
.szm-timeline .szm-poster a{display:block;color:inherit!important;text-decoration:none!important}
.szm-timeline .szm-poster-image{display:block;max-width:100%;height:auto!important;width:auto!important;max-height:230px;object-fit:contain;object-position:top right;border:0;border-radius:0;box-shadow:none}
.szm-timeline .szm-pdf-text{display:block;padding:12px 2px;font-size:13px;line-height:1.5;text-decoration:underline}
.szm-timeline .szm-empty{margin:20px 0 60px;font-size:16px}
.szm-timeline a:focus-visible,.szm-lightbox button:focus-visible{outline:2px solid currentColor;outline-offset:4px}
.szm-lightbox{border:0;padding:clamp(18px,3vw,34px);background:#111;color:#fff;max-width:95vw;max-height:96vh;overflow:visible;box-sizing:border-box}
.szm-lightbox::backdrop{background:rgba(0,0,0,.87)}
.szm-lightbox-image{display:block;max-width:min(86vw,1200px);max-height:86vh;height:auto;width:auto;object-fit:contain}
.szm-lightbox-close{position:absolute;top:-12px;right:-12px;width:36px;height:36px;border:1px solid #555;border-radius:50%;background:#fff;color:#000;font-family:Arial,sans-serif;font-size:24px;line-height:1;cursor:pointer}
@media(max-width:700px){
 .szm-timeline{margin:22px auto 50px}
 .szm-timeline .szm-year{grid-template-columns:78px minmax(0,1fr);padding:22px 0 27px}
 .szm-timeline .szm-year-title{font-size:27px}
 .szm-timeline .szm-event{grid-template-columns:minmax(0,1fr) minmax(78px,26%);column-gap:12px;padding-left:15px;padding-bottom:26px;margin-bottom:26px}
 .szm-timeline .szm-event-title{font-size:20px}
 .szm-timeline .szm-poster-image{max-height:190px}
}
@media(max-width:440px){
 .szm-timeline .szm-year{grid-template-columns:62px minmax(0,1fr)}
 .szm-timeline .szm-year-title{font-size:24px}
 .szm-timeline .szm-event{grid-template-columns:minmax(0,1fr);row-gap:16px}
 .szm-timeline .szm-event--no-poster{grid-template-columns:minmax(0,1fr)}
 .szm-timeline .szm-poster{justify-self:start;max-width:125px}
 .szm-timeline .szm-poster-image{max-height:180px}
}
@media(prefers-reduced-motion:reduce){.szm-timeline .szm-event-link a{transition:none}}
