.page-photos { text-align:center; }
.page-photos h2 { max-width:850px; margin-left:auto; margin-right:auto; }
.page-photos-lead { max-width:760px; margin:0 auto 30px; color:#4b5c52; line-height:1.7; }
.page-photo-grid { display:flex; flex-wrap:wrap; justify-content:center; gap:28px; max-width:1060px; margin:0 auto; }
.page-photo { flex:1 1 320px; max-width:510px; min-width:0; margin:0; overflow:hidden; border:1px solid #dce5dd; border-radius:16px; background:#fff; box-shadow:0 7px 0 #dce9d5,0 14px 28px #1639200a; }
.page-photo-image { display:flex; align-items:center; justify-content:center; height:350px; background:#eef2eb; overflow:hidden; }
.page-photo-image img { display:block; width:100%; height:100%; object-fit:contain; }
.page-photo figcaption { padding:24px 25px 26px; text-align:center; }
.page-photo h3 { margin:0 0 10px; font-size:1.18rem; line-height:1.35; }
.page-photo figcaption p { margin:0 auto 16px; max-width:410px; color:#526056; line-height:1.6; }
.page-photo figcaption a,.page-photos-more a { color:#2b5b28; font-weight:750; text-decoration:underline; text-underline-offset:4px; }
.page-photo a:focus-visible,.page-photos-more a:focus-visible { outline:3px solid #2b5b28; outline-offset:4px; }
.page-photo-image:hover img { opacity:.94; }
.page-photos-more { margin:30px auto 0; }
@media(max-width:680px) {
 .page-photo-grid { gap:26px; }
 .page-photo { flex-basis:100%; }
 .page-photo-image { height:320px; }
 .page-photo figcaption { padding:20px; }
 .page-photos-lead { margin-bottom:24px; }
}

/* Keep the original before/after composition intact at every screen size. */
.home-comparison{flex-basis:100%;max-width:1060px}
.home-comparison .page-photo-image{height:auto;display:block}
.home-comparison .page-photo-image img{height:auto;width:100%}
.comparison-labels{display:grid;grid-template-columns:1fr 2.1fr;gap:12px;margin-bottom:14px}
.home-comparison figcaption p{max-width:720px;margin-bottom:0}
@media(max-width:480px){.home-comparison figcaption{padding:16px 10px}.comparison-labels{font-size:.85rem;gap:8px}}
