/* Native widget content and destinations remain editable in InstantCMS. */
body #bottom, body #footer { --footer-ink:#182438; --footer-muted:#59667d; --footer-line:#e2e7f0; --footer-soft:#edf2fa; --footer-blue:#0759e6; background:transparent; color:var(--footer-ink); box-shadow:none; }
html[data-theme="dark"] body #bottom, html[data-theme="dark"] body #footer { --footer-ink:#edf2fa; --footer-muted:#b0bed1; --footer-line:#354257; --footer-soft:#242e3d; --footer-blue:#83b8ff; }
body #bottom { margin-top:40px; padding:24px 0 0; border:0; }
body #bottom_wrap { display:flex; flex-wrap:wrap; gap:16px 32px; padding:24px 0 0; border-top:1px solid var(--footer-line); background:transparent; box-shadow:none; }
body #bottom_wrap > .widget { flex:1 1 190px; width:auto; min-width:0; margin:0; padding:0; background:transparent; box-shadow:none; }
body #bottom_wrap > .widget > .title { margin:0 0 12px; padding:0; border:0; }
body #bottom_wrap > .widget > .title > span { margin:0; padding:0; border:0; color:var(--footer-ink); font-size:13px; font-weight:600; text-transform:none; }
body #bottom_wrap .widget > .body { padding:0; background:transparent; box-shadow:none; }
body #bottom_wrap :is(ul,ol) { margin:0; padding:0; list-style:none; }
body #bottom_wrap li { margin:0 0 8px; padding:0; line-height:1.45; font-size:12px; }
body #bottom_wrap a { color:var(--footer-muted); }
body #bottom_wrap a:hover, body #footer a:hover { color:var(--footer-blue); }
body #bottom_wrap .footer-disclosure { width:100%; }
.footer-disclosure > summary, body #footer .footer-legal > summary { display:flex; align-items:center; gap:8px; width:fit-content; min-height:32px; cursor:pointer; list-style:none; color:var(--footer-muted); font-size:12px; font-weight:550; }
.footer-disclosure > summary::-webkit-details-marker, .footer-legal > summary::-webkit-details-marker { display:none; }
.footer-disclosure > summary svg { transition:transform 160ms ease; }
.footer-disclosure[open] > summary svg { transform:rotate(180deg); }
.footer-disclosure__body { padding:12px 0; }
body #bottom_wrap .footer-apps { display:flex; flex-wrap:wrap; gap:8px; }
body #bottom_wrap .footer-apps a { display:inline-flex; align-items:center; min-height:34px; padding:0 12px; border-radius:10px; background:var(--footer-soft); color:var(--footer-ink); font-size:12px; font-weight:500; text-decoration:none; }
body #footer { margin:20px 0 0; padding:0 0 24px; }
body #footer_wrap { display:flex; flex-direction:column; gap:16px; padding:0; background:transparent; box-shadow:none; }
body #footer .footer-legal { order:2; margin:0; padding-top:12px; border-top:1px solid var(--footer-line); }
body #footer .footer-legal > summary::after { content:'+'; font-size:18px; line-height:1; }
body #footer .footer-legal[open] > summary::after { content:'−'; }
body #footer .footer-legal__content { max-width:95ch; padding:12px 0; font-size:12px; line-height:1.65; color:var(--footer-muted); }
body #footer #footer_widgets, body #footer #footer_widgets_wrap { float:none; width:auto; margin:0; padding:0; }
body #footer #counter { display:flex; align-items:center; flex-wrap:wrap; gap:16px 24px; margin:0; padding:0; }
body #footer #copyright { order:2; float:none; width:auto; margin:0; padding:0; color:var(--footer-muted); font-size:12px; line-height:1.5; }
body #footer #copyright > a { color:var(--footer-muted); }
body #footer #copyright strong { display:inline-block; margin-left:8px; border:1px solid var(--footer-line); border-radius:6px; padding:2px 5px; font-size:11px; font-weight:500; }
body #footer #banner4 { order:1; float:none; width:auto; margin:0; padding:0; }
body #footer #banner4 .logo { margin:0; }
body #footer #banner4 .logo img { display:block; width:160px; height:auto; max-height:50px; }
body #footer .footer-social { order:3; display:flex; flex-wrap:wrap; gap:8px 16px; margin-left:auto; }
body #footer .footer-social a { color:var(--footer-muted); font-size:12px; }
body :is(#bottom, #footer) :is(a,summary):focus-visible { outline:2px solid var(--footer-blue); outline-offset:4px; border-radius:4px; }
@media (max-width:640px) { body #bottom_wrap { gap:20px; } body #bottom_wrap > .widget { flex-basis:calc(50% - 20px); } body #footer .footer-social { margin-left:0; width:100%; } body #footer #copyright { flex:1; } }
@media (prefers-reduced-motion:reduce) { .footer-disclosure > summary svg { transition:none; } }

body #footer .footer-registration { order:2; max-width:110ch; color:var(--footer-muted); font-size:12px; line-height:1.65; }
body #footer .footer-legal { order:3; }
body #footer .footer-social a { display:grid; place-items:center; width:36px; height:36px; border-radius:10px; color:var(--footer-muted); text-decoration:none; }
body #footer .footer-social a:hover { background:var(--footer-soft); color:var(--footer-blue); }
body #footer .footer-social svg { display:block; width:22px; height:22px; }
body #footer .footer-social [class^="dt-i-"]::before { display:block; margin:0; font-size:22px; line-height:1; }

body #bottom_wrap .footer-apps a { width:36px; min-height:36px; padding:0; justify-content:center; border-radius:10px; }
body #bottom_wrap .footer-apps img { display:block; width:22px; height:22px; object-fit:contain; }
html[data-theme="dark"] body #bottom_wrap .footer-apps img[src$="appstore.svg"], html[data-theme="dark"] body #bottom_wrap .footer-apps img[src$="googleplay.svg"] { filter:invert(1); }
