/* Legal identity and privacy controls share a consistent reading order. */
.site-footer .footer-bottom {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:start;
  gap:16px clamp(24px,5vw,80px);
  text-align:start;
  line-height:1.65;
}
.footer-bottom .company-details, .footer-bottom .footer-policies { min-width:0; }
.footer-bottom .company-details { display:grid; gap:2px; }
.footer-bottom .company-details strong { color:#f3f3ef; font-weight:600; }
.footer-bottom .company-details bdi { white-space:normal; }
.footer-bottom .company-details .legal-number { white-space:nowrap; }
.footer-bottom .footer-policies {
  display:flex; flex-wrap:wrap; align-items:baseline; justify-content:flex-start;
  gap:4px 20px;
}
.site-footer .footer-bottom .footer-policies > * {
  display:inline-block; font:inherit; color:inherit; margin:0; padding:3px 0;
  text-align:start; text-decoration:underline; text-underline-offset:4px;
  border:0; background:none; line-height:inherit;
}
.site-footer .footer-bottom .trademark-note {
  grid-column:1 / -1; max-width:none; margin:0; padding-top:12px;
  border-top:1px solid #ffffff26; font:inherit;
}
@media(max-width:720px) {
  .site-footer .footer-bottom { grid-template-columns:minmax(0,1fr); gap:16px; }
}

/* Bottom consent bar: compact on small screens, two columns on desktop. */
body .consent-panel:not([hidden]) {
  display:grid; inset:auto 0 0; width:100%; max-width:none; border-radius:0;
  grid-template-areas:"title" "copy" "actions" "links" "options";
  grid-template-columns:minmax(0,1fr); gap:6px;
  padding:12px 18px max(12px,env(safe-area-inset-bottom));
  max-height:75dvh; overflow:auto;
}
body .consent-panel h2 {grid-area:title;margin:0;padding-inline-end:38px;font-size:18px}
body .consent-panel p {grid-area:copy;margin:0;line-height:1.4}
body .consent-panel .consent-actions {grid-area:actions}
body .consent-panel .consent-links {grid-area:links;margin:0;flex-wrap:wrap}
body .consent-panel #cookie-options {grid-area:options;margin:0}
body .consent-panel .consent-close {inset:4px auto auto;inset-inline-end:8px}
@media(min-width:850px){
  body .consent-panel:not([hidden]) {
    grid-template-columns:minmax(0,1fr) minmax(300px,31%);
    grid-template-areas:"title actions" "copy actions" "links links" "options options";
    align-items:center; gap:3px 32px;
    padding:12px max(54px,calc((100vw - 1440px)/2));
  }
  body .consent-panel .consent-actions {align-self:center}
}
