/* Branch layout: one supplied branch portrait alongside the foundation founder. */
.founders.wrap{grid-template-columns:repeat(2,minmax(0,1fr));max-width:1120px;padding:0 32px;gap:40px}
.founder-card img{display:block;width:100%;aspect-ratio:1;object-fit:cover}
#board-of-founders .photo-grid{grid-template-columns:repeat(3,minmax(0,1fr));justify-content:center}
#board-of-founders .photo-frame{height:auto;aspect-ratio:1}
#board-of-founders .photo-frame img{width:100%;height:100%;object-fit:cover}
.footer-chat{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;padding:16px}
.footer-chat .whatsapp-chat{justify-content:center;max-width:100%;box-sizing:border-box}
@media(max-width:768px){.founders.wrap{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 12px;gap:14px}.founder-card .name{font-size:15px;line-height:1.5}.founder-card .role{font-size:13px;line-height:1.5}.founder-card img{border:2px solid #550000;border-radius:14px}#board-of-founders .photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:380px){.founder-card .name{font-size:14px}}

/* Keep both WhatsApp actions on one row, including narrow phones. */
@media(max-width:768px){.footer-chat{flex-direction:row;flex-wrap:nowrap;gap:6px;padding:14px 8px}.footer-chat .whatsapp-chat{min-width:0;white-space:nowrap;font-size:clamp(10px,3vw,14px);padding:10px 8px;gap:4px}.footer-chat .whatsapp-chat svg{width:20px;height:20px;flex-shrink:0}}

#board-of-founders .photo-role,#board-of-founders .photo-name{text-align:center}
@media(max-width:768px){.team-titlebar h1,#board-of-founders .acc-title,#board-of-founders .section-banner{text-align:center}#board-of-founders .acc-title{flex:1}#board-of-founders .photo-name{overflow-wrap:anywhere}}
