.nx-site .nx-restored-footer{padding:32px 24px;background:var(--footer-bg);color:var(--footer-color);border-top:1px solid color-mix(in srgb,var(--footer-color) 18%,transparent)}
.nx-restored-inner{width:min(100%,var(--site-width));margin-inline:auto}.nx-restored-brand>strong{font-size:23px;font-weight:800}.nx-restored-brand p{font-size:14px;line-height:1.7;max-width:48ch;margin:12px 0 0;color:inherit}
.nx-restored-compact{display:flex;justify-content:space-between;align-items:center;gap:28px}.nx-restored-about{display:grid;grid-template-columns:2fr 1fr 1fr;gap:32px}.nx-restored-columns{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;margin-top:28px}
.nx-restored-column h3{font-size:14px;font-weight:750;margin:0 0 14px;color:inherit}.nx-site .nx-restored-column nav{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.nx-site .nx-restored-footer a,.nx-site .nx-restored-footer button{font-size:13px;color:inherit;text-decoration:none}.nx-restored-legal{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-top:28px;padding-top:20px;border-top:1px solid color-mix(in srgb,var(--footer-color) 18%,transparent)}.nx-restored-legal button{border:0;padding:0;background:transparent;cursor:pointer;font:inherit}.nx-restored-compact .nx-restored-legal{margin:0;padding:0;border:0;justify-content:flex-end}
.nx-restored-footer--centered{text-align:center}.nx-restored-footer--centered .nx-restored-brand p{margin-inline:auto}.nx-restored-footer--centered .nx-restored-legal{justify-content:center}.nx-restored-footer :is(a,button):hover{text-decoration:underline}.nx-restored-footer :is(a,button):focus-visible{outline:2px solid currentColor;outline-offset:4px}
@media(max-width:700px){.nx-restored-compact{flex-direction:column;align-items:flex-start}.nx-restored-about{grid-template-columns:1fr 1fr}.nx-restored-about .nx-restored-brand{grid-column:1/-1}.nx-restored-columns{grid-template-columns:1fr 1fr}.nx-restored-compact .nx-restored-legal{justify-content:flex-start}}
@media(max-width:400px){.nx-restored-about,.nx-restored-columns{grid-template-columns:1fr}}
/* Flat, three-part footer; colours follow the selected template palette. */
.nx-site .nx-restored-footer--mini{padding:12px 24px}
.nx-site .nx-mini-row{display:grid;grid-template-columns:minmax(120px,1fr) minmax(0,2fr) minmax(160px,1fr);align-items:center;gap:12px 24px}
.nx-site .nx-mini-brand strong{display:block;font-size:13px;line-height:1.4}
.nx-site .nx-mini-brand small,.nx-site .nx-mini-end>small{display:block;font-size:11px;line-height:1.5;color:inherit;overflow-wrap:anywhere}
.nx-site .nx-mini-links{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px 14px}
.nx-site .nx-mini-links a{font-size:11px;line-height:1.5}
.nx-site .nx-mini-end{text-align:right}
.nx-site .nx-mini-actions{display:flex;justify-content:flex-end;gap:6px;margin-top:5px}
.nx-site .nx-mini-actions button{display:inline-flex;align-items:center;justify-content:center;min-width:28px;width:28px;height:28px;min-height:28px;margin:0;padding:0;border:0;border-radius:50%;background:var(--site-accent);color:var(--site-accent-contrast);font-size:18px;line-height:1;cursor:pointer;text-decoration:none}
.nx-site .nx-mini-actions svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2}
@media(max-width:700px){.nx-site .nx-mini-row{grid-template-columns:1fr;text-align:center;gap:10px}.nx-site .nx-mini-end{text-align:center}.nx-site .nx-mini-actions{justify-content:center}}

/* Footer content width follows the same full/content choice as navigation. */
.nx-site [data-nx-settings-group="footer"][data-footer-width]{box-sizing:border-box;width:100%;max-width:none;--nx-footer-gutter:24px;padding-inline:var(--nx-footer-gutter)!important}
.nx-site [data-nx-settings-group="footer"][data-footer-width="content"]{padding-inline:max(var(--nx-footer-gutter),calc((100% - var(--site-width)) / 2))!important}
.nx-site [data-nx-settings-group="footer"][data-footer-width]>.nx-restored-inner,.nx-site [data-nx-settings-group="footer"][data-footer-width]>.rc-wrap{width:100%;max-width:none;margin-inline:0}
@media(max-width:800px){.nx-site [data-nx-settings-group="footer"][data-footer-width]{--nx-footer-gutter:18px}}
