/* Consistent logo fitting for the website and its CMS website preview. */
#sa-launch-wireframe .brands>.brand-tile{
 display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:82px auto;
 align-content:start;justify-items:center;gap:12px;height:auto;min-height:160px;
 padding:21px 20px;background:#fff;border:1.5px solid #c5d3dc;border-top:3px solid #fe951c;border-radius:14px;box-shadow:0 5px 15px #07284006;transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
#sa-launch-wireframe .brand-tile .brand-logo{
 grid-area:1/1;display:block;width:82px;height:82px;aspect-ratio:1;overflow:hidden;opacity:1;transform:none;
}
#sa-launch-wireframe .brand-tile .brand-logo img{
 display:block;width:100%;height:100%;max-width:none;object-fit:cover;
 object-position:center;border-radius:0;
}
#sa-launch-wireframe .brand-tile .brand-name{
 grid-area:2/1;position:static;opacity:1;transform:none;max-width:100%;
 color:#072840;font-size:16px;font-weight:500;line-height:1.5;overflow-wrap:anywhere;
}
#sa-launch-wireframe .brand-tile:hover,
#sa-launch-wireframe .brand-tile:focus-visible,
#sa-launch-wireframe .brand-tile.show-name{
 background:#fff;border-color:#fe951c;box-shadow:0 9px 20px #0728400d;transform:translateY(-3px);
}
#sa-launch-wireframe .brand-tile:hover .brand-logo,
#sa-launch-wireframe .brand-tile:focus-visible .brand-logo,
#sa-launch-wireframe .brand-tile.show-name .brand-logo{opacity:1;transform:none}
#sa-launch-wireframe .brand-tile:hover .brand-name,
#sa-launch-wireframe .brand-tile:focus-visible .brand-name,
#sa-launch-wireframe .brand-tile.show-name .brand-name{opacity:1;transform:none}
@media(max-width:600px){
 #sa-launch-wireframe .brands>.brand-tile{grid-template-rows:64px auto;min-height:144px;padding:18px;gap:10px}
 #sa-launch-wireframe .brand-tile .brand-logo{width:64px;height:64px}
}
@media(prefers-reduced-motion:reduce){
 #sa-launch-wireframe .brands>.brand-tile{transition:none}
 #sa-launch-wireframe .brands>.brand-tile:hover,
 #sa-launch-wireframe .brands>.brand-tile:focus-visible,
 #sa-launch-wireframe .brands>.brand-tile.show-name{transform:none}
}

/* Empty image fields retain a compact name-only card without a placeholder. */
#sa-launch-wireframe .brands>.brand-tile[data-brand-images="false"]{
 grid-template-rows:1fr;align-content:center;align-items:center;gap:0;
 min-height:108px;padding:21px 20px;
 background:#fff;
}
#sa-launch-wireframe .brand-tile[data-brand-images="false"] .brand-name{
 grid-area:1/1;font-size:16px;line-height:1.5;font-weight:500;
}
#sa-launch-wireframe .brands>.brand-tile[data-brand-images="false"]:hover,
#sa-launch-wireframe .brands>.brand-tile[data-brand-images="false"]:focus-visible{
 background:#fff;border-color:#fe951c;
}

@media(max-width:600px){#sa-launch-wireframe .brands>.brand-tile[data-brand-images="false"]{padding:18px}}

/* Invert the text and card surface only on hover or keyboard focus. */
#sa-launch-wireframe .brands>.brand-tile:hover,
#sa-launch-wireframe .brands>.brand-tile:focus-visible,
#sa-launch-wireframe .brands>.brand-tile[data-brand-images="false"]:hover,
#sa-launch-wireframe .brands>.brand-tile[data-brand-images="false"]:focus-visible{
 background:#072840;color:#fff;
}
#sa-launch-wireframe .brand-tile:hover .brand-name,
#sa-launch-wireframe .brand-tile:focus-visible .brand-name{color:#fff}
