.editable-footer { background:var(--footer-bg,#e64097); color:var(--footer-text,#fff); padding:64px 0 44px; margin-top:0; }
.editable-footer .editable-footer-grid { display:grid; grid-template-columns:minmax(220px,1.5fr) repeat(var(--footer-columns,3),minmax(130px,1fr)); gap:54px; padding-bottom:48px; }
.editable-footer a { color:inherit; text-decoration:none; }
.editable-footer a:hover { text-decoration:underline; text-underline-offset:5px; }
.editable-footer-logo { font-size:34px; font-weight:800; display:inline-block; line-height:1.2; }
.editable-footer-logo img { max-width:100%; max-height:150px; object-fit:contain; object-position:left; }
.editable-footer-brand p { margin:28px 0; font-size:14px; line-height:1.8; max-width:290px; white-space:pre-line; }
.editable-footer h4 { color:inherit; font-size:15px; letter-spacing:.17em; text-transform:uppercase; margin:5px 0 26px; }
.editable-footer li { margin-bottom:16px; font-size:14px; }
.editable-footer-social { display:flex; flex-wrap:wrap; gap:12px; }
.editable-footer-social a { display:grid; place-items:center; width:52px; height:52px; border:1px solid color-mix(in srgb,currentColor 28%,transparent); border-radius:50%; }
.editable-footer-social svg { width:20px; height:20px; }
.editable-footer-social a:hover { background:#ffffff20; }
.editable-footer-bottom { border-top:1px solid color-mix(in srgb,currentColor 35%,transparent); padding-top:27px; text-align:center; white-space:pre-line; font-size:16px; line-height:1.6; }
.editable-footer a:focus-visible { outline:2px solid currentColor; outline-offset:5px; }
@media(max-width:1000px) { .editable-footer .editable-footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px; } }
@media(max-width:540px) { .editable-footer { padding:40px 0 28px; } .editable-footer .editable-footer-grid { grid-template-columns:1fr; gap:26px; } .editable-footer h4 { margin-bottom:18px; } }
.footer-editor { max-width:1100px; margin:32px auto; padding:0 24px; }
.footer-editor fieldset { border:1px solid var(--line); border-radius:14px; padding:20px; margin:20px 0; min-width:0; }
.footer-editor legend { padding:0 8px; font-weight:700; }
.footer-editor label { display:block; font-size:14px; margin:12px 0; }
.footer-editor input:not([type=color]),.footer-editor textarea,.footer-editor select { display:block; width:100%; margin-top:5px; padding:10px; border:1px solid #d6d9df; border-radius:8px; font:inherit; }
.footer-editor textarea { min-height:90px; }
.footer-editor-row { display:grid; grid-template-columns:1fr 1.4fr auto; gap:12px; align-items:end; margin:12px 0; }
.footer-editor-row button,.footer-editor .footer-small-button { border:1px solid #d6d9df; border-radius:8px; padding:10px; background:#fff; }
.footer-editor-grid { display:grid; grid-template-columns:1fr 1fr; gap:0 24px; }
.footer-editor #footer-message { margin:16px 0; white-space:pre-line; }
#footer-preview { margin-top:18px; }
#footer-preview .wrap { max-width:100%; padding:0 24px; }
#footer-preview .editable-footer-grid { gap:24px; }
@media(max-width:700px) { .footer-editor-grid,.footer-editor-row { grid-template-columns:1fr; } }

/* 1.6.296 — compact footer, including the admin preview and legal pages. */
.editable-footer{padding:32px 0 22px}
.editable-footer .editable-footer-grid{grid-template-columns:minmax(190px,1.25fr) repeat(var(--footer-columns,3),minmax(140px,1fr));gap:28px;padding-bottom:24px}
.editable-footer .editable-footer-grid nav{min-width:0}
.editable-footer .editable-footer-grid nav h4{font-size:12px;line-height:1.4;letter-spacing:.1em;margin:3px 0 12px}
.editable-footer .editable-footer-grid nav ul{list-style:none;margin:0;padding:0}
.editable-footer .editable-footer-grid nav li{margin:0 0 3px;font-size:13px;line-height:1.4}
.editable-footer .editable-footer-grid nav a{display:inline-block;max-width:100%;padding:2px 0;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.editable-footer .editable-footer-brand p{margin:14px 0;font-size:13px;line-height:1.55}
.editable-footer .editable-footer-social{gap:8px}
.editable-footer .editable-footer-social a{width:38px;height:38px}
.editable-footer .editable-footer-social svg{width:17px;height:17px}
.editable-footer .editable-footer-bottom{padding-top:16px;font-size:12px;line-height:1.5}
@media(max-width:1000px){.editable-footer .editable-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}}
@media(max-width:540px){
 .editable-footer{padding:26px 0 18px}
 .editable-footer .editable-footer-grid{grid-template-columns:1fr;gap:22px;padding-bottom:20px}
 .editable-footer .editable-footer-grid nav h4{margin-bottom:8px}
 .editable-footer .editable-footer-grid nav li{margin-bottom:2px}
 .editable-footer .editable-footer-grid nav a{font-size:14px;padding:5px 0;line-height:1.45}
}
