/* Patch 38 — Consistência visual das páginas de membro */
body.biz-member-shell .biz-standard-page .wrap.member-layout,
body.hub-body .biz-standard-page .wrap.member-layout{
  width:calc(100% - 64px)!important;max-width:1900px!important;
  margin:0 auto!important;display:grid!important;
  grid-template-columns:224px minmax(0,1fr)!important;
  gap:24px!important;align-items:start!important;
  padding:24px 0 54px!important;
}
.biz-standard-page .member-layout>div{min-width:0}
.biz-standard-page .dashboard-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px;margin:0 0 28px}
.biz-standard-page .dashboard-head>div{min-width:0;flex:1 1 360px}
.biz-standard-page .dashboard-head h1{font-size:clamp(34px,3.1vw,48px)!important;line-height:1.1!important;letter-spacing:-1.8px!important;margin:4px 0 12px!important;text-transform:none!important}
.biz-standard-page .dashboard-sub{max-width:850px;line-height:1.6}
.biz-standard-page .notification-list{display:grid;gap:12px}
.biz-standard-page .notification-card{min-width:0}
.biz-standard-page .member-event-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.biz-standard-page .partner-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.biz-standard-page .partner-grid>*{min-width:0}
.biz-standard-insights .biz-insights-layout,.biz-standard-insights .insight-grid{min-width:0}
.biz-standard-insights .form-card,.biz-standard-insights .section-card{min-width:0}
.biz-standard-insights .biz-own-insight-card,.biz-standard-insights .biz-own-insight-body{min-width:0;overflow-wrap:anywhere}
.biz-standard-page .partner-empty{border:1px dashed #dfd2b7;background:rgba(255,255,255,.78);border-radius:16px;padding:24px;color:#766e61;line-height:1.5}
/* Rodapé de ponta a ponta: sobrescreve o flex legado da classe .footer .wrap */
footer.bj-footer{width:100%;padding:44px 0 20px!important;margin-top:42px!important;background:#11100e!important}
footer.bj-footer .wrap.bj-foot-grid{display:grid!important;width:calc(100% - 64px)!important;max-width:1900px!important;margin-inline:auto!important;grid-template-columns:minmax(260px,1.35fr) minmax(180px,.7fr) minmax(230px,1fr)!important;gap:clamp(28px,5vw,100px)!important;align-items:start!important;justify-content:stretch!important;text-align:left!important}
footer.bj-footer .bj-foot-grid>div:first-child{text-align:left!important;justify-self:start}
footer.bj-footer .bj-foot-grid img{display:block;width:132px!important;height:auto!important;max-width:100%;margin:0 0 22px!important}
footer.bj-footer .bj-foot-grid nav{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:12px!important;text-align:left!important}
footer.bj-footer .bj-foot-grid>div:last-child{text-align:left!important;justify-self:start}
footer.bj-footer .bj-foot-grid p{margin:14px 0 0;max-width:370px}
footer.bj-footer .wrap.bj-foot-bottom{display:flex!important;width:calc(100% - 64px)!important;max-width:1900px!important;margin:34px auto 0!important;justify-content:space-between!important;align-items:center!important;gap:15px!important;text-align:left!important}
@media(max-width:1100px){
 body.biz-member-shell .biz-standard-page .wrap.member-layout,body.hub-body .biz-standard-page .wrap.member-layout{grid-template-columns:200px minmax(0,1fr)!important;gap:18px!important}
 footer.bj-footer .wrap.bj-foot-grid{grid-template-columns:minmax(220px,1.3fr) minmax(160px,.8fr) minmax(200px,1fr)!important;gap:28px!important}
}
@media(max-width:820px){
 body.biz-member-shell .biz-standard-page .wrap.member-layout,body.hub-body .biz-standard-page .wrap.member-layout{width:calc(100% - 28px)!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
 .biz-standard-page .member-event-grid,.biz-standard-page .partner-grid{grid-template-columns:minmax(0,1fr)!important}
 footer.bj-footer .wrap.bj-foot-grid{width:calc(100% - 36px)!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:30px!important}
 footer.bj-footer .bj-foot-grid>div:first-child{grid-column:1/-1}
 footer.bj-footer .wrap.bj-foot-bottom{width:calc(100% - 36px)!important}
}
@media(max-width:560px){
 .biz-standard-page .dashboard-head{align-items:stretch;flex-direction:column}
 .biz-standard-page .dashboard-head>div{flex:initial;width:100%}
 .biz-standard-page .dashboard-head .btn{align-self:flex-start}
 footer.bj-footer .wrap.bj-foot-grid{grid-template-columns:1fr!important}
 footer.bj-footer .bj-foot-grid>div:first-child{grid-column:auto}
 footer.bj-footer .wrap.bj-foot-bottom{flex-direction:column!important;align-items:flex-start!important}
 footer.bj-footer .bj-foot-grid img{width:112px!important}
}
