/* footer-slim fs-1: compact footer, overrides legacy rules */
footer.marfa-site-footer.fs{display:grid!important;grid-template-columns:1.3fr repeat(4,1fr)!important;gap:14px 28px!important;padding:22px 28px 12px!important;margin:24px 22px 0!important;font-size:12px!important;align-items:start!important}
footer.marfa-site-footer.fs .fs-brand p{margin:8px 0 0!important;max-width:260px;line-height:1.7!important;font-size:12px!important}
footer.marfa-site-footer.fs h4{margin:0 0 6px!important;font-size:13px!important}
footer.marfa-site-footer.fs button{padding:4px 0!important;font-size:12px!important;line-height:1.5!important;text-align:start!important}
footer.marfa-site-footer.fs .fs-bottom{grid-column:1/-1!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px;flex-wrap:wrap;border-top:1px solid #26231d;padding-top:10px;margin-top:4px;direction:rtl!important;font-size:11px!important}
footer.marfa-site-footer.fs .mf-socials{display:flex!important;gap:6px!important}
footer.marfa-site-footer.fs .mf-social{width:28px!important;height:28px!important;border-radius:8px!important}
footer.marfa-site-footer.fs .mf-social svg{width:14px;height:14px}
footer.marfa-site-footer.fs .build-info{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:900px){footer.marfa-site-footer.fs{grid-template-columns:repeat(2,1fr)!important;margin:20px 10px 82px!important;padding:18px 16px 12px!important}footer.marfa-site-footer.fs .fs-brand{grid-column:1/-1}}
@media(max-width:460px){footer.marfa-site-footer.fs{grid-template-columns:1fr 1fr!important}footer.marfa-site-footer.fs .fs-brand{grid-column:1/-1!important}footer.marfa-site-footer.fs button{font-size:12px!important}}
/* MARFA footer compact grid v2: four actual link columns, no phantom brand column. */
body.v7-ui footer.marfa-site-footer.fs,footer.marfa-site-footer.fs{direction:rtl;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px 22px!important;align-content:start!important;align-items:start!important;min-height:0!important;height:auto!important;margin:18px 20px 0!important;padding:18px 24px 12px!important;background:linear-gradient(115deg,#20334d,#111d31 65%,#101b2c)!important;border:1px solid rgba(131,166,208,.4)!important;border-radius:16px 16px 0 0!important;font-family:inherit!important}
footer.marfa-site-footer.fs>.fs-col{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:right!important}
footer.marfa-site-footer.fs>.fs-col h4{width:100%;margin:0 0 5px!important;color:#e8eff9!important;font-family:inherit!important;font-size:13px!important;font-weight:700!important;line-height:1.5!important}
footer.marfa-site-footer.fs>.fs-col :is(button,a){display:block!important;width:100%!important;margin:0!important;padding:2px 0!important;background:none!important;border:0!important;color:#bdcadb!important;font-family:inherit!important;font-size:12px!important;font-weight:400!important;line-height:1.55!important;text-align:right!important;white-space:normal!important}
footer.marfa-site-footer.fs>.fs-col :is(button,a):hover{color:#e7c38a!important}
footer.marfa-site-footer.fs>.fs-bottom{grid-column:1/-1!important;margin:5px 0 0!important;padding-top:9px!important;border-top:1px solid rgba(152,178,208,.2)!important}
@media(max-width:850px){body.v7-ui footer.marfa-site-footer.fs,footer.marfa-site-footer.fs{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 20px!important;margin:14px 10px 80px!important;padding:16px!important}}
@media(max-width:450px){body.v7-ui footer.marfa-site-footer.fs,footer.marfa-site-footer.fs{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;padding:13px 12px!important}footer.marfa-site-footer.fs>.fs-col h4{font-size:12px!important}footer.marfa-site-footer.fs>.fs-col :is(button,a){font-size:11px!important}}

/* Five equal footer link columns after separating academy and legal. */
body.v7-ui footer.marfa-site-footer.fs,footer.marfa-site-footer.fs{grid-template-columns:repeat(5,minmax(0,1fr))!important}
@media(max-width:850px){body.v7-ui footer.marfa-site-footer.fs,footer.marfa-site-footer.fs{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
