/* Targeted correction of the four confirmed mobile layout issues. */
@media(max-width:760px){
 body.portal-visual .portal-layout>.portal-sidebar{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;width:auto!important;max-width:100%!important;box-sizing:border-box}
 body.portal-visual .portal-layout>.portal-sidebar .portal-brand-column{grid-column:1!important;grid-row:1!important;min-width:0}
 body.portal-visual .portal-layout>.portal-sidebar .portal-header-account{grid-column:1!important;grid-row:2!important;justify-self:start!important;width:100%;max-width:100%}
 body.portal-visual .portal-layout>.portal-sidebar .portal-auth-buttons{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;margin:0!important;gap:8px!important;width:100%;box-sizing:border-box}
 body.portal-visual .portal-layout>.portal-sidebar .portal-nav{grid-column:1!important;grid-row:3!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;overflow:visible!important;flex-wrap:wrap!important;width:100%!important;max-width:100%!important;min-width:0}
 body.portal-visual .portal-layout>.portal-sidebar .portal-nav a{min-width:0!important;max-width:100%;white-space:normal!important;box-sizing:border-box;overflow-wrap:normal!important;word-break:normal!important}
 body.home-compact .ux-entry-choices{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 body.home-compact .ux-entry-choices a{width:100%!important;min-width:0!important;box-sizing:border-box;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;min-height:64px;padding:10px!important;text-align:center;display:flex!important;align-items:center;justify-content:center}
}
@media(max-width:560px){
 body.portal-visual .portal-main .entity-card.entity-featured{grid-template-columns:minmax(0,1fr)!important;gap:0!important}
 body.portal-visual .portal-main .entity-card.entity-featured .entity-logo-area{width:140px;max-width:calc(100% - 24px);height:120px;margin:12px auto 0!important;box-sizing:border-box}
 body.portal-visual .portal-main .entity-card.entity-featured .entity-card-body{min-width:0;padding:14px!important}
 body.portal-visual .portal-main .entity-card.entity-featured h1{word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;text-wrap:balance}
}
