/* V1063: smaller responsive previews with the existing project-card layout. */
.ys-photo-preview{display:block;max-width:100%;margin:0}
.ys-project-image>.ys-photo-preview{width:100%;height:100%;min-width:0}
.ys-project-image>.ys-photo-preview>img{width:100%;height:100%;object-fit:contain}
.ys-photo-preview>img{max-width:100%}
.ys-latest-work-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:20px 0 0}
.ys-latest-work-nav a{display:inline-flex;align-items:center;min-height:44px;padding:10px 18px;border-radius:8px;background:#154e31;color:#fff;text-decoration:none;font-weight:750;line-height:1.4}
.ys-latest-work-nav a:hover{background:#103d27}
.ys-latest-work-nav a:focus-visible,.ys-photo-load-more:focus-visible{outline:3px solid #ba8500;outline-offset:4px}
.ys-photo-controls{padding:28px 20px;text-align:center;scroll-margin-top:160px}
.ys-photo-load-more{font:inherit;font-weight:750;line-height:1.4;cursor:pointer;border:0;border-radius:8px;background:#154e31;color:#fff;padding:13px 22px;min-height:48px}
.ys-photo-load-more[hidden]{display:none!important}
.ys-photo-status{color:#46564b;margin:12px 0;font-size:.95rem}
.ys-photo-archive-link{display:inline-block;padding:10px;color:#154e31;text-decoration:underline;text-underline-offset:3px}
.ys-photo-archive-nav{text-align:center;padding:14px 20px;background:#edf3ef;color:#154e31}
.ys-photo-archive-nav a{color:inherit;text-decoration:underline}
.ys-project-collection h2:focus{outline:0}
@media(max-width:700px){.ys-latest-work-nav a{font-size:14px;padding:10px 14px}.ys-photo-controls{padding:22px 14px}}
