.wmx-native-footer{box-sizing:border-box;background:var(--wmx-footer-bg,var(--wmx-surface));border-block-start:1px solid var(--wmx-border);font-size:.9rem;color:var(--wmx-muted)}
.wmx-footer-inner{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px;padding-block:var(--wmx-footer-pad)}
.wmx-footer-menu{display:flex;align-items:center;flex-wrap:wrap;gap:16px;list-style:none;margin:0;padding:0}
.wmx-footer-menu li{list-style:none}.wmx-footer-menu a{color:inherit;text-decoration:none}
@media(max-width:800px){.wmx-footer-inner{align-items:flex-start;flex-direction:column}}

/* v1.5: optional footer rows; unused rows produce no DOM */
.wmx-footer-top{display:grid;grid-template-columns:repeat(var(--wmx-footer-columns,4),minmax(0,1fr));gap:var(--wmx-footer-gap,26px);padding-block:calc(var(--wmx-footer-pad)*1.35);border-block-end:1px solid var(--wmx-border)}
.wmx-footer-top .widget{margin-block:0 22px;overflow-wrap:anywhere}
.wmx-footer-widget-title{font-size:1.08rem;color:var(--wmx-text);margin-block:0 14px}
.wmx-footer-top a,.wmx-footer-social a,.wmx-back-to-top{color:inherit;text-decoration:none}
.wmx-footer-top a:hover,.wmx-footer-social a:hover,.wmx-back-to-top:hover{color:var(--wmx-footer-accent,var(--wmx-accent))}
.wmx-footer-top ul{padding-inline-start:1.1em}.wmx-footer-top li{margin-block-end:8px}
.wmx-footer-social{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.wmx-footer-bottom{border-block-start:1px solid var(--wmx-border)}
.wmx-footer-bottom-inner{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-block:16px;flex-wrap:wrap}
.wmx-back-row{padding-block:0 18px;text-align:end}
.wmx-footer--center :where(.wmx-footer-inner,.wmx-footer-bottom-inner){justify-content:center;text-align:center}
.wmx-footer--end :where(.wmx-footer-inner,.wmx-footer-bottom-inner){justify-content:flex-end;text-align:end}
@media(max-width:900px){.wmx-footer-top{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.wmx-footer-top{grid-template-columns:minmax(0,1fr)}}


/* Compact native footer; full user padding remains available when Compact is disabled. */
.wmx-footer--compact .wmx-footer-inner{padding-block:min(var(--wmx-footer-pad),14px)}
.wmx-footer--compact .wmx-footer-top{padding-block:min(var(--wmx-footer-pad),18px)}
.wmx-footer--compact .wmx-footer-bottom-inner{padding-block:10px}
.wmx-footer-copy-wrap{display:grid;gap:4px;min-width:0}
.wmx-footer-description,.wmx-footer-column-copy{margin:0;white-space:normal;overflow-wrap:anywhere}
.wmx-footer-note{font-size:.88em}
.wmx-footer-brand img{display:block;max-width:min(100%,var(--wmx-footer-logo-width,130px));height:auto;max-height:100px;object-fit:contain}
.wmx-footer-column-copy{line-height:1.55}

/* v1.28.4: Native footer layout adapts without cloning content. */
.wmx-native-footer .wmx-footer-inner{display:var(--wmx-footer-layout,flex);flex-direction:var(--wmx-footer-direction,row);flex-wrap:var(--wmx-footer-wrap,wrap);justify-content:var(--wmx-footer-justify,var(--wmx-footer-native-justify,space-between));align-items:var(--wmx-footer-align-items,center);gap:var(--wmx-footer-middle-gap,14px)}
.wmx-native-footer .wmx-footer-brand{display:var(--wmx-footer-logo-display,block)}
@media(max-width:800px){.wmx-native-footer .wmx-footer-inner{flex-direction:var(--wmx-footer-direction,column);align-items:var(--wmx-footer-align-items,start)}}

.wmx-footer--center{--wmx-footer-native-justify:center}.wmx-footer--end{--wmx-footer-native-justify:flex-end}

.wmx-native-footer{color:var(--wmx-footer-text,var(--wmx-muted))}

/* v1.28.5: same footer nodes in configurable three-row native grid. */
.wmx-native-footer .wmx-footer-inner{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(0,auto)}
.wmx-native-footer .wmx-footer-copy-wrap{grid-area:var(--wmx-footer-copy-area,2 / 1)}
.wmx-native-footer .wmx-footer-navigation{grid-area:var(--wmx-footer-menu-area,2 / 2);min-width:0}
.wmx-native-footer .wmx-footer-social{grid-area:var(--wmx-footer-social-area,2 / 3);min-width:0}

/* Responsive typography alignment affects existing footer copy only. */
.wmx-native-footer .wmx-footer-copy-wrap{text-align:var(--wmx-footer-copy-align,inherit)}

/* Optional native custom items, added only when configured. */
.wmx-native-footer .wmx-footer-custom{grid-area:var(--wmx-footer-custom-area,3 / 1);min-width:0;overflow-wrap:anywhere}
.wmx-native-footer .wmx-footer-cta{grid-area:var(--wmx-footer-cta-area,3 / 3);display:inline-flex;align-items:center;justify-content:center;width:max-content;max-width:100%;border-radius:var(--wmx-button-radius,7px);padding:var(--wmx-button-pad-y,10px) var(--wmx-button-pad-x,18px);background:var(--wmx-button-bg,#2563eb);color:var(--wmx-button-text,#fff);font-weight:650;text-decoration:none}
.wmx-native-footer .wmx-footer-cta:hover,.wmx-native-footer .wmx-footer-cta:focus-visible{color:var(--wmx-button-text,#fff);text-decoration:underline}
/* Do not let a grid-cell button protrude at narrow optional breakpoints. */
.wmx-native-footer .wmx-footer-cta{box-sizing:border-box;min-width:0;overflow-wrap:anywhere;text-align:center}
