/* Customer photos: additive, full-motif layouts; no dependency on site.js. */
.customer-photo-nav{display:flex;flex-wrap:wrap;gap:12px 24px;margin:24px 0}
.customer-photo-nav a{padding:10px 4px;text-underline-offset:5px}
.customer-photo-group{margin-block:42px;scroll-margin-top:110px}
.customer-photo-group h3{margin-bottom:24px}
.customer-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:42px 28px;align-items:start}
.customer-figure{margin:0;min-width:0;text-align:center;color:var(--txt)}
.customer-figure picture{display:block;margin-inline:auto;width:100%;max-width:var(--photo-max,360px)}
.customer-figure img,.customer-figure:hover img{display:block;width:100%;height:auto;max-width:100%;object-fit:contain;object-position:center;transform:none!important;transition:none;filter:none}
.customer-figure figcaption{position:static;margin:16px auto 0;max-width:42ch;line-height:1.6;padding:0 8px;color:var(--txt);background:none}
.customer-team-gallery{max-width:720px;margin:32px auto;color:var(--txt)}
.ctg-figure{--photo-max:420px;margin:0 auto 48px;scroll-margin-top:110px}
.ctg-stage{touch-action:pan-y}
.customer-team-gallery.enhanced .ctg-figure{display:none}
.customer-team-gallery.enhanced .ctg-figure.current{display:block}
.customer-team-gallery.enhanced .ctg-figure picture{height:630px;max-height:70vh;display:flex;justify-content:center;align-items:center}
.customer-team-gallery.enhanced .ctg-figure img{width:100%;height:100%;object-fit:contain}
.ctg-controls[hidden]{display:none!important}
.ctg-toolbar{display:flex;align-items:center;justify-content:center;gap:20px;margin:22px 0}
.ctg-controls button{min-width:44px;min-height:44px;border:1px solid var(--line);background:var(--bg2);color:var(--txt);border-radius:4px;cursor:pointer}
.ctg-thumbs{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.ctg-thumb{padding:4px;width:58px;height:76px}
.ctg-thumb picture,.ctg-thumb img{display:block;width:100%;height:100%;object-fit:contain;transform:none!important}
.ctg-thumb[aria-pressed="true"]{outline:3px solid var(--corner-red);outline-offset:2px}
.ctg-controls button:focus-visible,.customer-photo-nav a:focus-visible{outline:3px solid var(--corner-yellow);outline-offset:4px}
.ctg-status{text-align:center;margin-top:18px;min-height:1.6em}
/* Keep the existing overlay in its original flow: the photo takes only the space above it. */
.hcell.mo:has(.customer-home-photo){flex-direction:column;align-items:stretch;background:#0f1014}
.hcell.mo .customer-home-photo{display:flex;align-items:center;justify-content:center;position:relative;width:100%;max-width:640px;height:clamp(180px,27vw,350px);min-height:180px;margin:0 auto;flex:1 1 auto;z-index:1}
.hcell.mo .customer-home-photo img,.hcell.mo:hover .customer-home-photo img{position:static;inset:auto;width:100%;height:100%;max-height:350px;object-fit:contain;transform:none!important;transition:none}
.hcell.mo:has(.customer-home-photo) .t{flex:0 0 auto}
@media(max-width:820px){.hcell.mo .customer-home-photo{height:230px;flex:none}.customer-photo-grid{grid-template-columns:1fr;gap:52px}.customer-photo-group{margin-block:44px}.customer-figure{padding:12px 0 20px}.customer-team-gallery.enhanced .ctg-figure picture{height:630px;max-height:65vh}}
@media print{.customer-team-gallery.enhanced .ctg-figure{display:block}.ctg-controls{display:none!important}.customer-team-gallery.enhanced .ctg-figure picture{height:auto;max-height:none}}
@media(prefers-reduced-motion:reduce){.customer-team-gallery *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
