/* bs1 - homepage brand strip, 3 logos (Daikin, American Standard, Generac).
   Only matches a strip with exactly 3 tiles. The row keeps the same height the 6-logo strip had at every width,
   so nothing below the strip moves. 700px and up: one row of 3 wide tiles. Below 700px: 3 full-width tiles stacked. */
#brands .brx-g:has(> :nth-child(3):last-child){container-type:inline-size}
#brands .brx-g:has(> :nth-child(3):last-child) > .brx-t{--cols:3;aspect-ratio:auto;height:calc((100cqw - 100px)/9)}
#brands .brx-g:has(> :nth-child(3):last-child) > .brx-t img{max-width:78%;max-height:calc(var(--h)*100%);min-width:0;min-height:0}
@media (max-width:699px){
#brands .brx-g:has(> :nth-child(3):last-child){gap:12px}
#brands .brx-g:has(> :nth-child(3):last-child) > .brx-t{--cols:1;flex-basis:100%;aspect-ratio:auto;height:calc((200cqw - 92px)/9);border-radius:16px}
#brands .brx-g:has(> :nth-child(3):last-child) > .brx-t img{max-width:70%;max-height:calc(var(--h)*145%)}
/* Generac clear space (co-op rule: one "G" height around the logo; G = 0.557 of the logo height). Padding INSIDE the tile;
   border-box + the same explicit height, so the tile and strip height do not change. k = .557/(1+2*.557) = .264 of the tile height. */
#brands .brx-g:has(> :nth-child(3):last-child) > .brx-t:has(> img[src$="bs1-generac.webp"]){box-sizing:border-box;padding-block:calc((200cqw - 92px)/9*.264)}
#brands .brx-g:has(> :nth-child(3):last-child) > .brx-t:has(> img[src$="bs1-generac.webp"]) img{max-height:100%}
}
