/* MODONESI V20 — foglio delle modifiche, sopra il CSS storico */
/* Chi siamo: collage nella colonna del titolo, senza alterare i testi e i contatori. */
.v20-studio-collage{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:clamp(26px,3.4vw,45px);max-width:630px;pointer-events:none}
.v20-studio-tile{margin:0;overflow:hidden;background:#e5e0d8;min-height:100px;aspect-ratio:1.7;border:1px solid #d6d0c6}
.v20-studio-primary{grid-column:span 2;aspect-ratio:2.3}
.v20-photo-pending{height:100%;display:flex;flex-direction:column;justify-content:flex-end;padding:clamp(14px,2vw,23px);color:#5b5551;background:linear-gradient(155deg,#ded8d0,#bfb6ac);position:relative}
.v20-photo-pending:before{position:absolute;content:'+';font-size:60px;font-weight:200;top:8px;right:18px;color:#ffffff70}
.v20-photo-pending span{font-size:9px;letter-spacing:.18em;font-weight:800;color:#9b3a31}
.v20-photo-pending strong{font-size:clamp(17px,2.5vw,28px);line-height:1.2;letter-spacing:-.045em}
.v20-photo-pending small{font-size:10px;color:#5f5852}
/* When real images are inserted, use class v20-studio-image directly inside figure. */
.v20-studio-image{width:100%;height:100%;display:block;object-fit:cover}
/* Six typography-only services across two columns. */
.v12-editorial-services .v20-services-layout{display:block!important;grid-template-columns:none!important;max-width:none}
.v12-editorial-services .v20-services-copy{width:100%;max-width:none;min-width:0}
.v12-editorial-services .v12-capability-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:clamp(28px,5vw,80px);row-gap:0}
.v12-editorial-services .v12-capability{padding-top:clamp(24px,2.8vw,38px);padding-bottom:clamp(24px,2.8vw,38px)}
.v12-editorial-services .v12-capability p{max-width:500px}
.v12-editorial-services .v12-list-intro,.v12-editorial-services .v12-list-outro{max-width:none}
/* 5:4 editorial covers, same typography and hover as V19 */
.v11-work-gallery .v16-cover{aspect-ratio:5/4!important}
.v11-work-gallery .v16-cover__title{max-width:90%;font-size:clamp(24px,7.2cqw,97px)}
/* New case sheets: proportion-preserving, no grey sidebars. */
body>.case-sheet .case-sheet__mainphoto{height:auto!important;min-height:0!important;background:transparent!important;display:flex;align-items:flex-start;justify-content:center;overflow:visible}
body>.case-sheet .case-sheet__mainphoto img{width:auto;height:auto;max-width:100%;max-height:min(73vh,720px);object-fit:contain;display:block}
body>.case-sheet .case-sheet__gallery{display:block!important;columns:3;column-gap:14px;grid-template-columns:none!important;margin-top:45px}
body>.case-sheet .case-sheet__thumb{break-inside:avoid;page-break-inside:avoid;display:inline-block;width:100%;height:auto!important;min-height:0!important;margin:0 0 14px;overflow:visible;background:transparent!important;vertical-align:top;line-height:0}
body>.case-sheet .case-sheet__thumb img{display:block;width:100%;height:auto!important;object-fit:contain;transition:filter .35s}
body>.case-sheet .case-sheet__thumb:hover img{transform:none;filter:brightness(.94)}
body>.case-sheet .case-sheet__thumb video{width:100%;height:auto;display:block;background:#000}
.v20-video-not-ready{min-height:220px;background:#2b2926;border:1px dashed #625951;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.6;gap:9px;padding:20px;color:#d6d2cb}
.v20-video-not-ready>span{font-size:40px;color:#d45142}
.v20-video-not-ready strong{font-size:12px;letter-spacing:.18em}
.v20-video-not-ready small{font-size:11px;color:#99938c}
.v20-ql2-pending{min-height:470px!important;display:flex!important;align-items:end!important;justify-content:flex-start!important;padding:40px;background:linear-gradient(138deg,#3e2a2b,#161616)!important}
.v20-ql2-message{display:flex;flex-direction:column;gap:12px}.v20-ql2-message span{font-size:11px;color:#e5776b;letter-spacing:.22em}.v20-ql2-message strong{font-size:clamp(45px,5.4vw,82px);line-height:.99;letter-spacing:-.07em}.v20-ql2-message small{color:#aca4a1}
.v20-gallery-pending{padding:35px;border:1px dashed #69615d;margin-top:40px;color:#e4ded9}.v20-gallery-pending strong{font-size:20px}.v20-gallery-pending p{font-size:14px;color:#a9a19b;margin:12px 0 0}
/* One compact mixed library for Orbitvu + MP4; no filters */
.v20-spin-layout{align-items:start}
.v20-viewer{border:1px solid #d2cfc9;background:#faf9f6;display:flex;flex-direction:column;min-height:675px;box-shadow:0 13px 45px #00000009;scroll-margin-top:85px}
.v20-viewer-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:19px 24px 17px;border-bottom:1px solid #dedbd6}
.v20-viewer-eyebrow,.v20-spin-library-head small{font-size:10px;color:#c33d32;letter-spacing:.15em;font-weight:800}
.v20-viewer-head h3{font-size:clamp(22px,2.2vw,33px);letter-spacing:-.05em;line-height:1.18;margin:7px 0 0;font-weight:650}
.v20-viewer-kind{border:1px solid #bfb9ae;padding:7px 10px;white-space:nowrap;font-size:10px;color:#5b5650}
.v20-viewer-screen{position:relative;flex:1;min-height:470px;display:grid;place-items:center;background:#f5f4f1}
.v20-viewer-screen iframe,.v20-viewer-screen video{width:100%;height:100%;min-height:470px;max-height:640px;border:0;object-fit:contain;background:#f4f2ed;grid-column:1;grid-row:1}
.v20-viewer-screen video{background:#101010;max-height:640px}
.v20-viewer-screen :is(video,iframe)[hidden]{display:none!important}
.v20-replay{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);border:0;background:#c73e34;color:#fff;padding:13px 21px;font-size:13px;font-weight:700;cursor:pointer}
.v20-replay[hidden]{display:none}
.v20-viewer-foot{padding:17px 23px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid #dedbd6}
.v20-viewer-foot p{max-width:425px;font-size:11px;color:#66615d;line-height:1.5;margin:0}
.v20-viewer-foot a{font-size:11px;font-weight:700;border-bottom:1px solid #272422;padding-bottom:5px;text-align:right}
.v20-spin-library{border-top:3px solid #222;background:#f5f2ed;padding:0 12px 10px}
.v20-spin-library-head{padding:15px 10px 12px}
.v20-spin-library-head h3{font-size:clamp(21px,2.1vw,29px);letter-spacing:-.055em;line-height:1.15;margin:5px 0 7px}.v20-spin-library-head h3 span{color:#c83d33}
.v20-spin-library-head p{font-size:11px;line-height:1.4;margin:0;color:#716c66}
.v20-spin-items{display:flex;flex-direction:column;gap:5px}
.v20-spin-item{width:100%;display:flex;align-items:center;gap:10px;text-align:left;background:#e8e3db;color:#292723;border:1px solid transparent;padding:4px 9px 4px 4px;min-height:62px;cursor:pointer;transition:border-color .18s,background .18s}
.v20-spin-item:hover{background:#fff;border-color:#8d8378}.v20-spin-item.is-selected{border-color:#ba3c32;background:#fff;box-shadow:inset 3px 0 #ba3c32}
.v20-spin-thumb{height:53px;width:80px;flex:none;position:relative;background:#d0c9c0;overflow:hidden;display:grid;place-items:center}
.v20-spin-thumb img{height:100%;width:100%;object-fit:cover;display:block}
.v20-spin-badge{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#1d1c1bc9;color:white;border:1px solid #ffffff8c;min-width:39px;height:30px;display:grid;place-items:center;font-size:12px;font-weight:800;line-height:1;letter-spacing:.02em;padding:3px 8px}
.v20-spin-meta{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.v20-spin-meta small{font-size:8px;letter-spacing:.08em;color:#ab3a32;font-weight:800}.v20-spin-meta strong{font-size:12px;line-height:1.15;font-weight:700;letter-spacing:-.02em}.v20-spin-meta em{font-size:9px;color:#a63f37;font-style:normal}
.v20-spin-arrow{font-size:21px;color:#81786e;flex:none}.v20-spin-item.is-pending{opacity:.54;cursor:not-allowed}.v20-spin-item.is-pending .v20-spin-arrow{visibility:hidden}
.v20-spin-caption{font-size:10px;color:#80786f;line-height:1.45;margin:9px 7px 3px}
@media(max-width:1199.98px){.v20-viewer{min-height:660px}.v20-spin-item{min-height:59px}.v20-spin-thumb{width:70px;height:49px}}
@media(max-width:991.98px){.v12-editorial-services .v12-capability-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}.v20-viewer{min-height:0}.v20-viewer-screen,.v20-viewer-screen iframe,.v20-viewer-screen video{min-height:460px}.v20-spin-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.v20-spin-item{min-height:65px}.v20-spin-thumb{width:76px;height:56px}}
@media(max-width:700px){.v12-editorial-services .v12-capability-list{grid-template-columns:1fr!important}.v20-studio-collage{max-width:unset}.v20-spin-items{grid-template-columns:1fr 1fr}.v20-spin-item{padding:5px;min-height:112px;flex-direction:column;align-items:stretch;justify-content:start;gap:5px}.v20-spin-thumb{width:100%;height:64px}.v20-spin-meta{gap:2px}.v20-spin-meta small{font-size:8px}.v20-spin-meta strong{font-size:11px}.v20-spin-arrow{display:none}.v20-viewer-head{padding:14px}.v20-viewer-head h3{font-size:22px}.v20-viewer-kind{font-size:9px}.v20-viewer-screen,.v20-viewer-screen iframe,.v20-viewer-screen video{min-height:320px}.v20-viewer-foot{padding:14px;flex-direction:column;align-items:flex-start}.v20-viewer-foot a{text-align:left}body>.case-sheet .case-sheet__gallery{columns:1;column-gap:0}body>.case-sheet .case-sheet__thumb{margin-bottom:12px}body>.case-sheet .case-sheet__mainphoto img{max-height:none;max-width:100%;width:auto}body>.case-sheet .case-sheet__intro{padding-top:6px}}
@media(min-width:701px) and (max-width:991.98px){body>.case-sheet .case-sheet__gallery{columns:2}}
@media(prefers-reduced-motion:reduce){.v20-spin-item{transition:none}}
