.factory-gallery-v09{max-width:1280px;margin-inline:auto;padding:52px clamp(20px,4vw,48px) 24px;border-top:1px solid var(--line);scroll-margin-top:110px;box-sizing:border-box}
.factory-v09-teaser-photos{display:grid;grid-template-columns:1.05fr 1fr;grid-template-rows:1fr 1fr;height:300px;gap:8px;min-width:0}
.factory-v09-teaser-photos a:first-child{grid-row:1 / span 2}
.factory-v09-teaser-photos a{display:flex;align-items:center;justify-content:center;background:#dfe6da;overflow:hidden}
.factory-v09-teaser-photos img{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}
.factory-v09-teaser-photos a:focus-visible{outline:3px solid #197149;outline-offset:2px}
.factory-v04-teaser:has(.factory-v09-teaser-photos){grid-template-columns:1.1fr 1fr}
.factory-gallery-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:28px}
.factory-gallery-heading h2{font-size:clamp(28px,3.4vw,44px);line-height:1.25;max-width:650px;margin:0}
.factory-gallery-heading p{max-width:360px;color:#52665c;line-height:1.7;margin:0}
.factory-gallery-nav{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 36px}
.factory-gallery-nav a{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;line-height:1.45;border:1px solid #bcc9bd;background:#f9faf5;color:#173e32;text-decoration:none;padding:9px 15px;border-radius:3px;font-weight:650;font-size:14px}
.factory-gallery-nav a:hover,.factory-gallery-nav a:focus-visible{background:#173e32;color:#fff}
.factory-photo-group{padding:0 0 40px;scroll-margin-top:100px}
.factory-photo-group>h2{font-size:clamp(23px,2.4vw,30px);border-bottom:1px solid var(--line);padding-bottom:15px;margin:0 0 23px}
.factory-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start}
.factory-photo-card{margin:0;min-width:0;background:#fff;border:1px solid #d7ded3;border-radius:3px;overflow:hidden}
.factory-photo-zoom{display:block;appearance:none;width:100%;padding:0;border:0;background:#e9ede7;cursor:zoom-in}
.factory-photo-stage.product-photo-stage{height:330px;border:0;padding:10px;background:#e9ede7;display:flex;align-items:center;justify-content:center;overflow:hidden}
.factory-photo-stage img{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;margin:auto;background:transparent}
.factory-photo-card figcaption{padding:22px 22px 25px}
.factory-photo-card .eyebrow{display:block;color:#65816c;font-size:10px;margin-bottom:11px;letter-spacing:.13em}
.factory-photo-card h3{font-size:21px;line-height:1.4;margin:0 0 12px;color:#173e32;overflow-wrap:anywhere}
.factory-photo-card p{font-size:14px;line-height:1.8;color:#52665c;margin:0;overflow-wrap:anywhere}
[data-factory-group="samples"] .factory-photo-grid{grid-template-columns:1fr}
[data-factory-group="samples"] .factory-photo-card{display:grid;grid-template-columns:minmax(0,2fr) minmax(220px,1fr)}
[data-factory-group="samples"] .factory-photo-stage{height:360px}
[data-factory-group="samples"] figcaption{align-self:center;padding:30px}
[data-factory-group="storage"] .factory-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
[data-factory-group="storage"] .factory-photo-stage{height:380px}
.factory-photo-zoom:hover img{outline:2px solid #749583;outline-offset:2px}
.factory-photo-zoom:focus-visible{outline:3px solid #197149;outline-offset:-3px}
@media(min-width:1100px){[data-factory-group="workshop"] .factory-photo-grid{grid-template-columns:repeat(4,minmax(0,1fr))}[data-factory-group="workshop"] .factory-photo-stage{height:310px}}
@media(max-width:900px){.factory-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.factory-gallery-heading{display:block}.factory-gallery-heading p{max-width:none;margin-top:15px}[data-factory-group="samples"] .factory-photo-card{display:block}[data-factory-group="samples"] .factory-photo-stage{height:auto;min-height:200px;padding:12px}[data-factory-group="samples"] .factory-photo-stage img{max-height:420px}}
@media(max-width:620px){.factory-v04-teaser:has(.factory-v09-teaser-photos){grid-template-columns:1fr}.factory-v09-teaser-photos{height:240px;gap:7px}.factory-gallery-v09{padding-top:32px}.factory-photo-grid,[data-factory-group="storage"] .factory-photo-grid{grid-template-columns:1fr;gap:18px}.factory-photo-stage.product-photo-stage,[data-factory-group="storage"] .factory-photo-stage{height:420px;padding:10px}.factory-photo-card figcaption,[data-factory-group="samples"] figcaption{padding:20px}.factory-photo-card h3{font-size:21px}.factory-photo-group{padding-bottom:30px}.factory-gallery-nav{gap:8px;margin-bottom:26px}.factory-gallery-nav a{font-size:13px;padding:8px 11px}}
@media(prefers-reduced-motion:no-preference){.factory-gallery-nav a{transition:background .15s,color .15s}}
