.wpg-legacy-section{border-top:1px solid var(--line);margin-top:26px;padding-top:24px}
.wpg-legacy-section h3{margin:6px 0 9px}
.wpg-legacy-section p:not(.eyebrow){font-size:.94rem;line-height:1.8;margin:0}
.wpg-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(10px,3vw,32px);max-width:676px;margin:24px auto 0;align-items:start}
.wpg-pair figure{box-sizing:border-box;background:#fff;border:1px solid var(--line);border-radius:12px;margin:0;padding:clamp(8px,2vw,24px);min-width:0}
.wpg-pair figcaption{color:var(--ink);font-size:1rem;font-weight:700;line-height:1.45;margin:0 0 10px}
.wpg-pair figure:nth-child(2) figcaption{color:var(--primary-orange)}
.wpg-open{display:block;margin-inline:auto;width:100%;max-width:225px;background:#fff}
.wpg-open img{display:block;width:100%;height:auto}
.wpg-crop{position:relative;aspect-ratio:var(--crop-ratio);overflow:hidden}
.wpg-crop img{position:absolute;width:var(--crop-width);height:auto;inset:auto;left:var(--crop-x);top:var(--crop-y);max-width:none;max-height:none}
.wpg-separate .wpg-open{height:clamp(150px,37vw,350px)}
.wpg-separate .wpg-open img{width:100%;height:100%;object-fit:contain;object-position:center top}
@media(max-width:640px){
 .wpg-open{max-width:min(106px,27vw)}
 .wpg-pair figcaption{font-size:.875rem}
 .wpg-separate .wpg-open{height:min(140px,37vw)}
}
.wpg-dialog{box-sizing:border-box;width:min(96vw,1340px);max-width:none;max-height:96vh;max-height:96dvh;padding:clamp(8px,1.3vw,16px);border:1px solid var(--line);border-radius:12px;background:#fbfaf6;color:#333b30}
.wpg-dialog::backdrop{background:#172013cd}
.wpg-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.wpg-bar p{margin:0;font-weight:700;font-size:.9rem}
.wpg-bar button{flex:none;font:inherit;font-size:.875rem;line-height:1.3;min-height:36px;padding:6px 12px;color:inherit;background:#fff;border:1px solid #7a8176;border-radius:6px;cursor:pointer}
.wpg-full img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(96vh - 82px);max-height:calc(96dvh - 82px);object-fit:contain;margin-inline:auto;background:#fff}
.wpg-full.is-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(6px,2vw,20px)}
.wpg-full figure{min-width:0;margin:0}
.wpg-full figcaption{margin:0 0 6px;font-size:.875rem;line-height:1.4;font-weight:700}
.wpg-full.is-pair img{max-height:calc(96vh - 126px);max-height:calc(96dvh - 126px);margin-inline:0}
