/* ===== FIX HEADER BRAND LAYOUT (paste at very bottom) ===== */ /* Replace the theme's table layout with flex */ #header > .container { display: flex !important; align-items: center; justify-content: space-between; height: auto !important; } /* Let logo area grow (no more 15% squeeze) */ .logo { display: flex !important; align-items: center; gap: 14px; width: auto !important; padding: 10px 0 !important; } /* Don’t force icons area into a fixed table-cell width */ .icons { width: auto !important; display: flex !important; justify-content: flex-end; align-items: center; } /* Brand text formatting */ .ms-brand { text-align: left; line-height: 1.15; max-width: 420px; /* adjust if you want wider */ } .ms-brand__name { font-weight: 800; letter-spacing: .2px; font-size: 1.2rem; } .ms-brand__creds { margin-top: 3px; font-size: .92rem; color: rgba(0,0,0,.70); } .ms-brand__keywords { margin-top: 5px; font-size: .9rem; color: rgba(0,0,0,.60); } /* Mobile: stack neatly */ @media (max-width: 720px){ #header > .container { flex-direction: column !important; align-items: flex-start !important; } .logo { width: 100% !important; flex-direction: column !important; align-items: flex-start !important; gap: 8px !important; } .icons { width: 100% !important; justify-content: flex-start !important; } }