/* V1057: full-image side-by-side comparisons, isolated from legacy gallery rules. */
.ys-photo-anchor,.ys-project-collection{scroll-margin-top:140px}
.ys-project-collection .ys-project-intro{max-width:70ch;color:#46564b}
.ys-project-collection .ys-project-pairs{display:grid;grid-template-columns:1fr;gap:28px}
.ys-project-collection .ys-project-pair{min-width:0;overflow:hidden;border:1px solid #d4e2d9;border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(10,50,26,.07)}
.ys-project-collection .ys-project-pair h3{margin:0;padding:16px 20px;color:#12452c;font-size:clamp(18px,2.2vw,23px);line-height:1.35}
.ys-project-collection .ys-project-pair-panels{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:2px!important;align-items:start!important;background:#d4e2d9}
.ys-project-collection .ys-project-photo{display:block!important;margin:0!important;padding:0!important;min-width:0!important;max-width:100%!important;background:#f0f3f1;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:hidden}
.ys-project-collection .ys-project-photo figcaption{display:flex;align-items:center;justify-content:center;min-height:42px;padding:8px 10px;box-sizing:border-box;background:#154e31;color:#fff;font-weight:800;font-size:15px;line-height:1.35;text-align:center}
.ys-project-collection .ys-project-image{display:flex!important;align-items:center;justify-content:center;position:relative;width:100%!important;aspect-ratio:4/3;box-sizing:border-box;background:#edf1ee;overflow:hidden;min-height:0!important;padding:0!important;border:0!important;border-radius:0!important}
.ys-project-collection .ys-project-image img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:none!important;object-fit:contain!important;object-position:center!important;image-orientation:from-image;transform:none!important;border:0!important;border-radius:0!important;margin:0!important;box-shadow:none!important}
.ys-project-collection .ys-project-image:focus-visible{outline:4px solid #ba8500;outline-offset:-4px}
.ys-project-collection .ys-project-details{margin-top:20px;border:1px solid #d4e2d9;border-radius:12px;background:#fff;padding:0 16px 16px}
.ys-project-collection .ys-project-details summary{padding:16px 0;cursor:pointer;font-weight:750;color:#154e31;min-height:44px;box-sizing:border-box}
.ys-project-collection .ys-project-details-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;margin-top:16px}
.ys-project-collection .ys-project-details-grid .ys-project-photo{border:1px solid #d4e2d9!important;border-radius:10px!important}
.ys-project-collection .ys-project-details-grid figcaption{background:#e1ebe4;color:#173e29;font-weight:650;font-size:13px}
@media(max-width:700px){.ys-project-collection .ys-project-details-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.ys-project-collection .ys-project-pair h3{padding:12px}.ys-project-collection .ys-project-photo figcaption{font-size:13px;padding:7px 5px;min-height:38px}.ys-project-collection .ys-project-pair-panels{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ys-project-collection .ys-project-image{aspect-ratio:3/4}}
