/* Portfolio-only native interpretations of Tap Reveal and Image Reveal List. */
.si-portfolio-sr { position:absolute !important; width:1px; height:1px; margin:-1px; padding:0; clip:rect(0,0,0,0); overflow:hidden; white-space:nowrap }
.si-versago-rework { max-width:630px; margin:26px auto; padding:20px 16px; text-align:center }
.si-versago-rework h2 { margin-bottom:.3em; color:inherit }
.si-versago-rework p { margin:0 0 12px; padding:0; color:inherit }
.si-versago-rework .si-v-rework-stage { width:100%; height:clamp(225px,42vw,400px); display:grid; place-items:center; margin:0 0 10px; overflow:hidden; background:#131313; border-radius:12px }
.si-versago-rework .si-v-rework-stage img { display:block; width:100%; height:100%; min-height:0; object-fit:contain; grid-area:1/1 }
.si-versago-rework .si-v-rework-stage img[hidden] { display:none }
.si-versago-rework .si-v-rework-toggle { font:inherit; cursor:pointer; min-height:44px; padding:0 16px; border:1px solid #bd4083; border-radius:6px; background:#171717; color:#fff }
.si-versago-rework .si-v-rework-toggle:hover { border-color:#ff1493 }
.si-versago-rework .si-v-rework-toggle:focus-visible { outline:2px solid #ff1493; outline-offset:3px }
.pi-portfolio .si-pi-reveal { width:min(100%,675px); box-sizing:border-box; display:grid; grid-template-columns:minmax(0,1fr) minmax(155px,.85fr); gap:10px 18px; margin:8px auto 24px; padding:12px; color:var(--pi-maroon,#591c34); text-align:left; border:1px solid rgba(111,37,61,.21); border-radius:16px; background:rgba(255,246,239,.24) }
.pi-portfolio .si-pi-reveal h2 { grid-column:1/-1; margin:0; font-size:clamp(1.18rem,2.2vw,1.55rem); color:inherit }
.pi-portfolio .si-pi-reveal-list { list-style:none; margin:0 !important; padding:0; align-self:center }
.pi-portfolio .si-pi-reveal-list li { list-style:none; margin:0; }
.pi-portfolio .si-pi-reveal-list button { display:block; width:100%; min-height:44px; text-align:left; color:inherit; font:inherit; cursor:pointer; padding:7px 10px; background:transparent; border:0; border-bottom:1px solid rgba(111,37,61,.23); border-radius:5px }
.pi-portfolio .si-pi-reveal-list button[aria-pressed="true"] { background:rgba(111,37,61,.08); font-weight:600 }
.pi-portfolio .si-pi-reveal-list button:focus-visible { outline:2px solid currentColor; outline-offset:1px }
.pi-portfolio .si-pi-reveal-preview { overflow:hidden; margin:0; padding:0; display:grid; grid-template-rows:minmax(0,1fr) minmax(2.4em,auto); height:202px; color:inherit; }
.pi-portfolio .si-pi-reveal-preview img { display:block; width:100%; height:100%; min-height:0; border-radius:10px; object-fit:contain }
.pi-portfolio .si-pi-reveal-preview figcaption { align-self:center; margin:0; padding:3px 0; color:inherit; text-align:center; font-size:.82rem; line-height:1.2 }
@media(max-width:480px) {
 .pi-portfolio .si-pi-reveal { grid-template-columns:minmax(0,1fr) minmax(95px,.82fr); gap:8px; padding:8px }
 .pi-portfolio .si-pi-reveal-list button { font-size:.92rem; padding:5px }
 .pi-portfolio .si-pi-reveal-preview { height:174px }
}
