/* Generous individual logo sizes, with an unbroken horizontal carousel. */
#architektura{padding-bottom:38px}
.brand-strip{max-width:1200px;margin:0 auto;padding:12px 32px 58px;background:#fff}
.brand-strip-window{overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;touch-action:pan-x pan-y;cursor:grab}
.brand-strip-window::-webkit-scrollbar{display:none}
.brand-strip-window:active{cursor:grabbing}
.brand-strip-window:focus-visible{outline:2px solid var(--blue);outline-offset:6px;border-radius:6px}
.brand-strip-list{--brand-width:260px;--brand-gap:24px;list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:var(--brand-gap);width:max-content}
.brand-strip-list li{display:flex;align-items:center;justify-content:center;flex:0 0 var(--brand-width);width:var(--brand-width);height:100px}
.brand-strip-list img{display:block;width:auto;max-width:200px;max-height:40px;height:auto;object-fit:contain;filter:brightness(0);user-select:none;-webkit-user-drag:none}
.brand-strip-list .brand-narbutas{width:224px;max-width:224px;max-height:40px;filter:brightness(0)}
.brand-strip-list .brand-quadrifoglio{width:240px;max-width:240px;max-height:60px}
.brand-strip-list .brand-pedrali{width:180px;max-width:180px}
.brand-strip-list .brand-offecct{width:168px;max-width:168px}
.brand-strip-list .brand-profim{width:132px;max-width:132px}
.brand-strip-list .brand-hag{width:80px;max-width:80px;max-height:40px}
.brand-strip-list .brand-kave-home{width:110px;max-width:110px;max-height:38px}
@media(max-width:760px){#architektura{padding-bottom:24px}.brand-strip{padding:6px 22px 38px}.brand-strip-list{--brand-width:240px;--brand-gap:18px}.brand-strip-list li{height:90px}.brand-strip-list .brand-narbutas,.brand-strip-list .brand-quadrifoglio{width:224px;max-width:224px}}

.brand-strip-list .brand-flokk{width:140px;max-width:140px;max-height:40px}

.brand-strip-list .brand-knb{width:82px;max-width:82px;max-height:68px}.brand-strip-list li>a{display:flex;align-items:center;justify-content:center;width:100%;height:100%}

/* Equal breathing room above and below the supplier logos. */
#architektura{padding-bottom:0}
:is(.brand-strip,.about-page-partners){padding-block:50px}
@media(max-width:760px){#architektura{padding-bottom:0}:is(.brand-strip,.about-page-partners){padding-block:32px}}

/* Show more existing logos across the viewport without enlarging their slots. */
.home-page .brand-strip{width:100%;max-width:none;padding-inline:0}

/* A fixed, balanced set of all nine brands, without clones or scrolling. */
#znacky[data-static-logos]{width:var(--site-content-width,calc(100% - 48px));margin-inline:auto;padding-inline:0}
#znacky[data-static-logos] .brand-strip-window{overflow:visible;cursor:default;touch-action:auto}
#znacky[data-static-logos] .brand-strip-list{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:24px;width:100%;transform:none;animation:none}
#znacky[data-static-logos] .brand-strip-list li{min-width:0;width:100%;height:72px;padding:6px;box-sizing:border-box}
#znacky[data-static-logos] .brand-strip-list img{max-width:100%;max-height:44px;height:auto;object-fit:contain}
@media(max-width:1099px){
 #znacky[data-static-logos] .brand-strip-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 32px}
 #znacky[data-static-logos] .brand-strip-list li{height:74px}
}
@media(max-width:760px){
 #znacky[data-static-logos] .brand-strip-list{gap:14px 18px}
 #znacky[data-static-logos] .brand-strip-list li{height:58px;padding:5px}
 #znacky[data-static-logos] .brand-strip-list img{max-height:36px}
}

/* About uses the same nine-logo mobile grid as the homepage. */
@media(max-width:760px){
 #partneri[data-mobile-static-logos]{width:var(--site-content-width,calc(100% - 44px));margin-inline:auto;padding-inline:0}
 #partneri[data-mobile-static-logos] .brand-strip-window{overflow:visible;cursor:default;touch-action:auto}
 #partneri[data-mobile-static-logos] .brand-strip-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 18px;width:100%;padding:0;margin:0;transform:none!important;animation:none!important;will-change:auto}
 #partneri[data-mobile-static-logos] .brand-strip-list li{min-width:0;width:100%;height:58px;padding:5px;box-sizing:border-box}
 #partneri[data-mobile-static-logos] .brand-strip-list img{max-width:100%;max-height:36px;height:auto;object-fit:contain}
}

/* Scroll through the finite logo row, then let the page continue downward. */
.services-scroll-active .brand-strip-window{overflow:hidden;scroll-snap-type:none;touch-action:pan-y;cursor:auto}
.services-scroll-active .brand-strip-list{will-change:transform;backface-visibility:hidden}
@supports (animation-timeline:scroll(root block)) and (animation-range:0px 1px){
 .services-scroll-native .brand-strip-list{
  animation:services-mobile-progress 1s linear both;
  animation-timeline:scroll(root block);
  animation-range:var(--services-scroll-start) var(--services-scroll-end);
 }
}

/* Homepage layout: five logos, then four centred, at the original width. */
@media(min-width:761px){
 #znacky[data-static-logos]{width:var(--site-content-width,calc(100% - 48px));max-width:none}
 #znacky[data-static-logos] .brand-strip-list{grid-template-columns:repeat(10,minmax(0,1fr));gap:12px 24px}
 #znacky[data-static-logos] .brand-strip-list li{grid-column:span 2;height:84px;padding:8px}
 #znacky[data-static-logos] .brand-strip-list li:nth-child(6){grid-column:2/span 2}
 #znacky[data-static-logos] .brand-strip-list img{width:100%;max-width:170px;max-height:54px}
 #znacky[data-static-logos] .brand-hag{max-width:100px;max-height:54px}
 #znacky[data-static-logos] .brand-knb{max-width:76px;max-height:60px}
}

/* Transparent raster bounds prevent SVG blur edge streaks in iOS WebKit. */
#znacky[data-static-logos] .brand-strip-list img[src$="-blur-safe.png"]{
 box-sizing:content-box;padding:24px;margin:-24px;
 filter:none;transform:translateZ(0);backface-visibility:hidden;
}
