/* Fit the original image inside a consistent frame; never stretch hardware. */
#kb-brand-center[data-brand="fortinet"] .hero-device img{display:block;width:100%;height:auto!important;max-height:160px;aspect-ratio:auto;object-fit:contain;object-position:center}
#kb-brand-center:is([data-brand="fortinet"],[data-brand="synology"]) .product-image{height:140px;overflow:hidden}
#kb-brand-center:is([data-brand="fortinet"],[data-brand="synology"]) .product-image img{display:block;width:100%;height:100%!important;max-width:100%;max-height:100%;object-fit:contain;object-position:center;aspect-ratio:auto}
#kb-brand-center:is([data-brand="fortinet"],[data-brand="synology"]) .product-grid.list .product-image{height:100px}
#kb-brand-center:is([data-brand="fortinet"],[data-brand="synology"]) .detail-media{height:270px;min-height:0;overflow:hidden}
#kb-brand-center:is([data-brand="fortinet"],[data-brand="synology"]) .detail-media img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;aspect-ratio:auto}
/* This legacy 100F asset has a square white canvas around a horizontal device.
   Cover crops only that canvas in the wide frames. Compact lists keep contain. */
#kb-brand-center[data-brand="fortinet"] .product-grid:not(.list) .product-image img[alt="FortiGate 100F"],
#kb-brand-center[data-brand="fortinet"] .detail-media img[alt="FortiGate 100F"]{object-fit:cover}
#kb-brand-center .kb-product-picture{width:100%;height:100%;margin:0;display:flex;flex-direction:column;align-items:center;gap:5px;min-height:0}
#kb-brand-center .kb-product-picture img{flex:1;min-height:0;max-height:calc(100% - 30px)!important}
#kb-brand-center .kb-product-picture figcaption{flex:none;font-size:10px;line-height:1.35;color:var(--muted);text-align:center}
@media(max-width:720px){#kb-brand-center:is([data-brand="fortinet"],[data-brand="synology"]) .detail-media{height:220px}#kb-brand-center:is([data-brand="fortinet"],[data-brand="synology"]) .product-image{height:135px}}
