/* Real demo captures inside the existing laptop and a shared phone frame. */
.es-preview-live .es-live-chassis{clip-path:none}
.es-live-screen{position:absolute;z-index:2;left:9.11%;top:6.75%;width:83.6%;height:81.6%;overflow:hidden;background:var(--opero-surface-warm)}
.es-preview-live .es-live-screen img{position:static;display:block;width:100%;max-width:100%;height:100%;object-fit:contain;mix-blend-mode:normal;clip-path:none}
.es-live-phone{position:relative;display:block;box-sizing:content-box;height:100%;aspect-ratio:var(--screen-ratio,1/2);max-width:100%;overflow:hidden;border:6px solid var(--opero-line);border-radius:29px;background:#fff;box-shadow:0 3px 4px #0003,0 10px 18px #0000000d}
.es-app-preview .es-live-phone{height:288px}
.es-app-preview .es-live-phone img,.es-app-detail-preview .es-live-phone img{position:static;display:block;width:100%;height:100%;max-width:100%;object-fit:contain;object-position:top;mix-blend-mode:normal;border-radius:0}
.es-app-detail-preview.es-live-detail{height:470px}
.es-live-detail .es-live-phone{height:428px}
.es-live-detail .es-live-phone img{height:100%}
.page-progetti .op-project-intro{max-width:810px;margin-bottom:46px}
.page-progetti .op-project-intro h1{margin:0 0 24px}
.page-progetti .op-project-intro .lead{margin:0}
.op-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 32px}
.op-project-card{min-width:0;border:1px solid var(--opero-line);border-radius:16px;overflow:hidden;background:white;scroll-margin-top:110px}
.op-project-entry{display:grid;grid-template-rows:auto 1fr;min-width:0;height:100%;color:inherit;text-decoration:none}
.op-project-cover{display:block;overflow:hidden;background:var(--opero-surface-warm);aspect-ratio:8/5;border-bottom:1px solid var(--opero-line)}
.op-project-cover img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.op-project-entry:hover .op-project-cover img{transform:scale(1.015)}
.op-project-body{padding:25px 28px 28px;display:flex;flex-direction:column;align-items:flex-start;gap:0}
.op-project-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;width:100%;font-size:11px;line-height:1.5;color:var(--opero-ink);margin-bottom:15px}
.op-project-meta>span:first-child{font-weight:600;color:var(--opero-ink)}
.op-project-meta>span:last-child{padding:4px 9px;border:1px solid var(--opero-line);border-radius:20px;font-size:10px}
.page-progetti .op-project-card h2{font-size:clamp(25px,2.2vw,33px);letter-spacing:-.045em;line-height:1.17;margin:0 0 13px}
.op-project-body>p{font-size:15px;line-height:1.7;color:var(--opero-ink);margin:0 0 24px;max-width:530px}
.op-project-body>.rf-primary{margin-top:auto;min-height:44px;font-size:14px;padding:11px 19px}
.op-project-cover:focus-visible,.op-project-card a:focus-visible{outline:3px solid var(--opero-accent);outline-offset:-3px}
.op-project-card h2 a:focus-visible,.op-project-card .rf-primary:focus-visible{outline-offset:4px}
@media(min-width:761px){.op-project-card{display:flex;flex-direction:column}.op-project-entry{flex:1}.op-project-body{height:auto}}
@media(max-width:1080px){.es-app-preview .es-live-phone{height:258px}.es-app-detail-preview.es-live-detail{height:410px}.es-live-detail .es-live-phone{height:378px}}
@media(max-width:760px){.op-project-grid{grid-template-columns:1fr;gap:25px}.page-progetti .op-project-intro{margin-bottom:30px}.op-project-body{padding:22px;height:auto}.op-project-meta{font-size:10px}.op-project-body>p{font-size:14px}.es-app-preview .es-live-phone{height:298px}.es-app-detail-preview.es-live-detail{height:370px}.es-live-detail .es-live-phone{height:338px}}
@media(prefers-reduced-motion:reduce){.op-project-cover img{transition:none}.op-project-entry:hover .op-project-cover img{transform:none}}
