/* BK76: approved type scale, visual links and equal photo fields. */
body.site-refined main h1{font-size:clamp(42px,4.5vw,64px);line-height:1.06;margin-bottom:20px}
body.site-refined main .hero-copy h1{font-size:clamp(42px,4.5vw,64px);line-height:1.06;margin-bottom:20px}
body.site-refined main h2{font-size:36px;line-height:1.18;letter-spacing:-.02em;margin-top:0;margin-bottom:16px}
body.site-refined main h3{font-size:22px;line-height:1.3;margin-bottom:12px}
body.site-refined main .service-preview-row h2,body.site-refined main .cnc-preview-row h2{font-size:32px;line-height:1.2;margin:0 0 12px}
body.site-refined main article[data-group] .info h2{font-size:22px;line-height:1.3;margin-bottom:12px}
body.site-refined main .cnc-jump-section>h2{font-size:28px;line-height:1.3;margin:0 0 10px}
body.site-refined main .visual-heading{padding-top:24px;padding-bottom:28px}
body.site-refined main .service-story{padding-top:28px;padding-bottom:28px}
body.site-refined main .source-note{padding-top:24px;padding-bottom:28px}
body.site-refined main .technical-brief,body.site-refined main .case-study{margin-top:24px;margin-bottom:24px;padding-top:28px;padding-bottom:28px}
body.site-refined main .case-study:not(:has(h2)){margin-top:16px;margin-bottom:16px;padding-top:18px;padding-bottom:18px}
body.site-refined main .project-gallery{padding-top:12px;padding-bottom:28px}
body.site-refined main .project-gallery-heading{margin-bottom:20px}
body.site-refined main .project-film{margin-top:8px;margin-bottom:32px;padding-top:24px;padding-bottom:24px}
body.site-refined main .uslugi-retusz-ai{margin-top:40px;margin-bottom:40px}
body.site-refined main .raw-front-section,body.site-refined main .laser-patterns,body.site-refined main .plywood-lamps{margin-top:32px;margin-bottom:32px;padding-top:20px}
body.site-refined main .laser-pattern-grid h3,body.site-refined main .plywood-lamp-grid h3{font-size:20px;line-height:1.4;margin-bottom:16px}
body.site-refined main .cnc-related-title,body.site-refined main .service-preview-group-title{margin-top:32px;margin-bottom:20px}
body.site-refined main .enquiry{padding-top:36px;padding-bottom:36px}
body.site-refined main .explorer-panels h3{font-size:28px;line-height:1.2;margin-bottom:16px}
body.site-refined main .order-downloads,body.site-refined main .fronty-promo,body.site-refined main .practical-faq{margin-top:28px;margin-bottom:28px;padding-top:28px;padding-bottom:28px}
body.site-refined main .timber-supplier{margin-top:32px;margin-bottom:32px;padding-top:20px}
body.site-refined main .compact-heading h2{margin-bottom:0}
body.site-refined main .home-project-card h3{font-size:18px;line-height:1.35;margin:10px 0 4px}
/* Add photo previews only to editorial links, not menus, forms or inline references. */
body.site-refined main .site-photo-link{display:inline-flex;flex-direction:column;align-items:stretch;vertical-align:top;width:min(280px,100%);max-width:100%;padding:0;margin:8px 20px 20px 0;border:0;text-decoration:none;border-radius:12px;overflow:hidden;color:inherit;background:transparent;box-sizing:border-box}
body.site-refined main .site-link-thumb{display:block;flex:none;width:100%;aspect-ratio:4/3;overflow:hidden;border-radius:12px;background:#edf0f3}
body.site-refined main .site-link-thumb img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
body.site-refined main .site-link-label{display:block;font-size:18px;line-height:1.4;padding:12px 0 0;color:#172d43}
body.site-refined main .site-photo-link:hover .site-link-label{text-decoration:underline;text-underline-offset:4px}
body.site-refined main .site-photo-link:focus-visible{outline:3px solid #315fd0;outline-offset:4px}
body.site-refined main .soft-related nav,body.site-refined main .home-services nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start}
body.site-refined main .soft-related nav .site-photo-link,body.site-refined main .home-services nav .site-photo-link{width:100%;margin:0;text-align:left}
body.site-refined main .home-services nav .site-photo-link:hover{background:transparent;color:inherit}
/* Equal fields keep the full photograph visible; originals and zoom controls are untouched. */
body.site-refined main .bk76-equal-gallery{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;columns:unset!important;gap:24px!important;align-items:start!important}
body.site-refined main .bk76-equal-gallery.bk76-three-columns{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.site-refined main .bk76-equal-gallery>figure{margin:0!important;width:100%!important;max-width:100%!important;min-width:0!important;grid-column:auto!important;break-inside:auto}
body.site-refined main .bk76-equal-gallery>figure>.photo-zoom,body.site-refined main .bk76-equal-gallery>figure>a{display:block!important;width:100%!important;aspect-ratio:4/3!important;height:auto!important;overflow:hidden;background:#edf0f3;border-radius:12px}
body.site-refined main .bk76-equal-gallery>figure>.photo-zoom img,body.site-refined main .bk76-equal-gallery>figure>a img{display:block!important;position:static!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;transform:none!important;background:#edf0f3}
body.site-refined main .bk76-equal-gallery>figure>img{display:block!important;width:100%!important;aspect-ratio:4/3!important;height:auto!important;max-height:none!important;object-fit:contain!important;background:#edf0f3;border-radius:12px}
body.site-refined main .bk76-equal-gallery figcaption{font-size:14px;line-height:1.5;padding-top:10px}
body.site-refined main .production-gallery{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-flow:row;gap:24px}
body.site-refined main .production-gallery>.portfolio-photo{grid-column:auto!important;aspect-ratio:4/3;height:auto!important;min-width:0;background:#edf0f3}
body.site-refined main .production-gallery>.portfolio-photo img{display:block;width:100%!important;height:100%!important;object-fit:contain!important;background:#edf0f3}
@media(max-width:1000px){body.site-refined main .bk76-equal-gallery.bk76-three-columns,body.site-refined main .production-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){
body.site-refined main h1{font-size:42px}body.site-refined main h2{font-size:29px;line-height:1.2;margin-bottom:14px}body.site-refined main h3{font-size:21px}
body.site-refined main .hero-copy h1{font-size:42px}
body.site-refined main .service-preview-row h2,body.site-refined main .cnc-preview-row h2{font-size:28px}
body.site-refined main .cnc-jump-section>h2{font-size:25px}body.site-refined main .explorer-panels h3{font-size:25px}
body.site-refined main .source-note,body.site-refined main .service-story{padding-top:22px;padding-bottom:24px}
body.site-refined main .technical-brief,body.site-refined main .case-study{margin-top:20px;margin-bottom:20px;padding-top:24px;padding-bottom:24px}
body.site-refined main .uslugi-retusz-ai{margin-top:32px;margin-bottom:32px}
body.site-refined main .raw-front-section,body.site-refined main .laser-patterns,body.site-refined main .plywood-lamps{margin-top:26px;margin-bottom:26px;padding-top:16px}
body.site-refined main .soft-related nav,body.site-refined main .home-services nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}
body.site-refined main .site-link-label{font-size:16px}
}
@media(max-width:540px){body.site-refined main .bk76-equal-gallery,body.site-refined main .bk76-equal-gallery.bk76-three-columns,body.site-refined main .production-gallery{grid-template-columns:minmax(0,1fr)!important;gap:20px!important}}
@media(max-width:380px){body.site-refined main h1,body.site-refined main .hero-copy h1{font-size:36px}body.site-refined main h2{font-size:27px}body.site-refined main .soft-related nav{grid-template-columns:minmax(0,1fr)}}
