/* Release 507 (owner: make the footer "as wide as" lusion.co's so it is shorter): every page's footer, layout only. The links,
   the "second opinion" card and every legal sentence stay word for word; they are spread across the width instead of stacked.
   Six :not() ids sit above the footer rules of releases 371 (four) and p6 (five). */
html:not(#f7a):not(#f7b):not(#f7c):not(#f7d):not(#f7e):not(#f7f) body footer.b-footer.sx-wide .b-footer-card { background: #0B0C10 !important; border-radius: 14px; }
@media (min-width: 1000px) {
  html:not(#f7a):not(#f7b):not(#f7c):not(#f7d):not(#f7e):not(#f7f) body footer.b-footer.sx-wide > .b-container { max-width: none; padding-left: clamp(24px, 5vw, 100px); padding-right: clamp(24px, 5vw, 100px); }
  html:not(#f7a):not(#f7b):not(#f7c):not(#f7d):not(#f7e):not(#f7f) body footer.b-footer.sx-wide .b-footer-top { grid-template-columns: minmax(0, 1.8fr) minmax(0, 2.1fr) minmax(0, 1fr) minmax(300px, 2fr); gap: 40px; padding: 52px 0 30px; }
  /* Product and Company & Help each fill two short columns instead of one tall one */
  html:not(#f7a):not(#f7b):not(#f7c):not(#f7d):not(#f7e):not(#f7f) body footer.b-footer.sx-wide .b-footer-top > section:nth-of-type(-n+2) ul { display: block; column-count: 2; column-gap: 28px; }
  html:not(#f7a):not(#f7b):not(#f7c):not(#f7d):not(#f7e):not(#f7f) body footer.b-footer.sx-wide .b-footer-top li { break-inside: avoid; }
  html:not(#f7a):not(#f7b):not(#f7c):not(#f7d):not(#f7e):not(#f7f) body footer.b-footer.sx-wide .b-footer-top li a { min-height: 30px; }
  /* the two legal blocks side by side across the full width */
  html:not(#f7a):not(#f7b):not(#f7c):not(#f7d):not(#f7e):not(#f7f) body footer.b-footer.sx-wide .b-footer-legal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 0 56px; align-items: start; padding: 24px clamp(24px, 5vw, 100px) 8px; }
  html:not(#f7a):not(#f7b):not(#f7c):not(#f7d):not(#f7e):not(#f7f) body footer.b-footer.sx-wide .b-footer-legal > .b-container { max-width: none; margin: 0; padding: 0; }
  html:not(#f7a):not(#f7b):not(#f7c):not(#f7d):not(#f7e):not(#f7f) body footer.b-footer.sx-wide .b-footer-notes p { max-width: none; }
  html:not(#f7a):not(#f7b):not(#f7c):not(#f7d):not(#f7e):not(#f7f) body footer.b-footer.sx-wide .sc-legal { max-width: none; margin: 0; padding: 0 0 16px; }
  html:not(#f7a):not(#f7b):not(#f7c):not(#f7d):not(#f7e):not(#f7f) body footer.b-footer.sx-wide .sc-legal p { max-width: none; }
  html:not(#f7a):not(#f7b):not(#f7c):not(#f7d):not(#f7e):not(#f7f) body footer.b-footer.sx-wide .sc-legal__resources { margin-top: 10px; padding-top: 12px; }
  html:not(#f7a):not(#f7b):not(#f7c):not(#f7d):not(#f7e):not(#f7f) body footer.b-footer.sx-wide .b-footer-bottom { padding: 16px 0 22px; }
}
/* phones: the five Legal links in two columns under Product and Company & Help (tap targets stay 44px tall) */
@media (max-width: 999px) {
  html:not(#f7a):not(#f7b):not(#f7c):not(#f7d):not(#f7e):not(#f7f) body footer.b-footer.sx-wide .b-footer-top > section:nth-of-type(3) { grid-column: 1 / -1; }
  html:not(#f7a):not(#f7b):not(#f7c):not(#f7d):not(#f7e):not(#f7f) body footer.b-footer.sx-wide .b-footer-top > section:nth-of-type(3) ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
}
