/* Website legal content follows the existing Brickmark typography and palette. */
.bm-footer-brand { min-width: 0; }
[data-purpose="site-footer"] .container > div:first-child { flex-wrap: wrap; }
@media (min-width: 992px) {
  .bm-footer-brand { flex-shrink: 0; }
  .bm-company-details { flex-wrap: nowrap; }
}
.bm-company-details { display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem .65rem; margin-top: .85rem; color: #85817b; font-size: .875rem; line-height: 1.8; }
.bm-company-details > span, .bm-company-details > a { white-space: nowrap; }
.bm-licence-gap { display: inline-block; width: .75rem; }
.bm-legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 1.5rem; }
.bm-legal-links a, .bm-legal-contact { color: #85817b; text-decoration: none; }
.bm-legal-links a:hover, .bm-legal-contact:hover { color: #ff7f32; }
.bm-legal-links a:focus-visible, .bm-legal-contact:focus-visible { outline: 2px solid #ff7f32; outline-offset: 3px; }
.bm-legal-sheet .modal-content { background: #171614; color: #fff; border: 1px solid #ffffff33; border-radius: 1rem; overflow: hidden; }
.bm-legal-sheet .modal-header, .bm-legal-sheet .modal-footer { border-color: #ffffff1a; padding: 1.25rem 1.5rem; gap: 1rem; }
.bm-legal-sheet .modal-footer { justify-content: space-between; color: #85817b; font-size: .875rem; }
.bm-legal-sheet .modal-body { padding: 1.5rem; text-align: start; }
.bm-legal-sheet .modal-body p { line-height: 1.9; margin-bottom: 1.25rem; overflow-wrap: anywhere; }
html[data-theme="light"] .bm-company-details > p:first-child { color: #24221f; }
html[data-theme="light"] .bm-legal-sheet .modal-content { background: #fff; color: #24221f; border-color: #24221f33; }
html[data-theme="light"] .bm-legal-sheet .modal-header,
html[data-theme="light"] .bm-legal-sheet .modal-footer { border-color: #24221f1a; }
html[data-theme="light"] .bm-legal-sheet .btn-close { filter: none; }
html[data-theme="light"] .bm-legal-sheet .btn-outline-light { color: #24221f; border-color: #85817b; }
