/* Shared footer on every mobile page, including dynamically created footers. */
@media (max-width: 820px) {
  .site-footer {
    margin-top: 12px !important;
    box-sizing: border-box;
    padding-inline: 12px !important;
    color: #334155;
  }
  .site-footer .site-footer__inner {
    box-sizing: border-box;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: start !important;
    justify-items: stretch !important;
    padding: 16px !important;
    border: 1px solid rgba(187, 214, 230, .62);
    border-radius: 20px !important;
    background: linear-gradient(135deg, rgba(255,255,255,.88), rgba(236,247,252,.72));
    box-shadow: 0 14px 36px rgba(36,73,96,.08), inset 0 1px 0 rgba(255,255,255,.8);
  }
  .site-footer .site-footer__brand { justify-content: flex-start !important; width: fit-content; padding: 0 !important; }
  .site-footer .site-footer__logo { display: block; width: 132px !important; max-width: 100%; height: auto !important; }
  .site-footer .site-footer__contacts {
    display: flex !important; flex-wrap: wrap !important; align-items: center !important;
    justify-content: flex-start !important; justify-self: stretch !important;
    gap: 4px 14px !important; margin: 0 !important; min-height: 0 !important; font-size: 13px !important;
    line-height: 1.4 !important; font-style: normal; white-space: normal !important;
  }
  .site-footer .site-footer__contacts a { color: #126fa8; overflow-wrap: anywhere; }
  .site-footer .site-footer__links { display: grid !important; gap: 10px !important; justify-items: stretch !important; min-width: 0; }
  .site-footer .site-footer__social,
  .site-footer .site-footer__pages { display: flex !important; flex-wrap: wrap !important; justify-content: flex-start !important; align-items: center; gap: 8px !important; white-space: normal !important; }
  .site-footer .site-footer__social a {
    display: inline-flex; align-items: center; min-height: 36px; box-sizing: border-box;
    padding: 5px 11px !important; border: 1px solid rgba(0,111,186,.16);
    border-radius: 999px; background: rgba(255,255,255,.6); color: #35546b;
    font-size: 12px !important; line-height: 1.2; text-decoration: none;
  }
  .site-footer .site-footer__pages a { font-size: 12px !important; line-height: 1.4; color: #61788b; text-decoration: none; }
  .site-footer .site-footer__pages a + a::before { content: none !important; }
  .site-footer a:focus-visible { outline: 2px solid #0073b9; outline-offset: 3px; }
}
