/* Page photos: home hero + each service page. No photos leaves original design intact. */
.cms-page-gallery-section[hidden]{display:none!important}
.cms-page-gallery-section{padding:62px 0;background:#f6f9fb}
.cms-page-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-top:24px}
.cms-page-figure{margin:0;min-width:0;background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 4px 18px #0b2c490d}
.cms-page-figure img{width:100%;height:225px;display:block;object-fit:cover;transition:transform .2s}
.cms-page-figure a:hover img{transform:scale(1.025)}
.cms-page-figure figcaption{padding:10px 15px 14px;color:#4e6578;font-size:14px;line-height:1.5}
.hero-art.cms-page-has-photo:before{display:none}
.hero-art.cms-page-has-photo{padding:0;border-radius:12px;overflow:hidden;min-height:340px;box-shadow:0 14px 40px #123b5c21}
.hero-art.cms-page-has-photo .cms-page-main-photo{width:100%;height:360px;object-fit:cover;display:block}
.photo.cms-page-has-photo{border:none;padding:0;overflow:hidden;background:none;min-height:270px}
.photo.cms-page-has-photo img{width:100%;height:100%;min-height:270px;max-height:500px;object-fit:cover;display:block}
@media(max-width:840px){.cms-page-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.cms-page-gallery-grid{grid-template-columns:1fr}.hero-art.cms-page-has-photo{display:block;min-height:215px}.hero-art.cms-page-has-photo img.cms-page-main-photo{height:240px}.cms-page-gallery-section{padding:42px 0}}

/* SEO 12 services: readable copy, independent of stored CMS hero text. */
.cp-service-seo{background:#f6f9fb}
.cp-service-seo .cp-seo-copy{max-width:880px;margin:0 auto}
.cp-service-seo .cp-seo-copy h2{color:#0b2842;line-height:1.23;margin:13px 0 22px}
.cp-service-seo .cp-seo-copy p{color:#415a6d;line-height:1.85;font-size:1.055rem;margin:0 0 17px}
.cp-service-seo .cp-seo-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}
@media(max-width:540px){.cp-service-seo .cp-seo-copy p{font-size:1rem}.cp-service-seo .cp-seo-actions a{width:100%;text-align:center}}
