.gallery-hero .breadcrumb{font-size:14px}
.gallery-hero-photo{display:block;width:100%;text-align:left;border-radius:16px}
.gallery-hero-photo picture>img{object-position:center 55%}
.gallery-photo-hint{display:flex;align-items:center;justify-content:flex-start;gap:9px;width:max-content;max-width:100%;margin-top:14px;padding-left:8px;font-size:14px;font-weight:700;color:var(--pine)}
.gallery-photo-hint svg{width:18px;height:18px}
.gallery-hero-photo:hover .gallery-photo-hint{color:var(--green)}
.client-gallery{column-count:3;column-gap:24px;margin-top:32px}
.client-gallery-card{display:inline-block;width:100%;margin:0 0 24px;break-inside:avoid;vertical-align:top;text-align:left;background:#fff;border:1px solid var(--line);border-radius:8px;transition:transform .2s,box-shadow .2s}
.client-gallery-card:hover{transform:translateY(-4px);box-shadow:0 10px 25px #174A3812}
.client-gallery-card picture{display:block}
.client-gallery-card img{width:100%;height:auto;border-radius:7px 7px 0 0}
.client-gallery-caption{display:block;padding:20px}
.client-gallery-title{display:block;font-family:Roboto,Arial,sans-serif;font-size:20px;line-height:1.3;font-weight:700;overflow-wrap:break-word}
.client-gallery-category{display:block;margin-top:8px;font-size:14px;line-height:1.5;color:var(--muted)}
.gallery-home-link{display:inline-flex;align-items:center;gap:10px;min-height:44px;font-size:16px;margin-top:8px}
.gallery-home-link svg{width:18px;height:18px}
.client-gallery-dialog{width:min(1020px,calc(100% - 32px));max-height:calc(100dvh - 24px);padding:24px 32px}
.client-gallery-dialog h2{font-size:28px;line-height:1.2;margin:8px 0 0;padding-right:32px}
.client-gallery-dialog #gallery-image{display:block;width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 206px);margin:22px auto 0;object-fit:contain}
.client-gallery-dialog .gallery-controls{margin-top:18px;font-size:14px}
.client-gallery-dialog .dialog-close{width:44px;height:44px;top:6px;right:10px}
@media(max-width:800px){.client-gallery{column-count:2}.gallery-hero-photo picture>img{object-position:center 55%}}
@media(max-width:480px){.client-gallery{column-count:1;margin-top:24px}.client-gallery-caption{padding:18px 20px}.client-gallery-dialog{padding:20px 16px}.client-gallery-dialog h2{font-size:22px;line-height:1.25}.client-gallery-dialog #gallery-image{max-height:calc(100dvh - 216px)}.client-gallery-dialog .gallery-controls{gap:8px}.client-gallery-dialog .gallery-controls button{padding:12px 10px}.gallery-section{padding-bottom:32px}}
@media(prefers-reduced-motion:reduce){.client-gallery-card{transition:none}.client-gallery-card:hover{transform:none}}
