/*
 * Module: legal
 *
 * From TEMPLATE_interpreted.json:
 *   - Panel rect 600×335  fill #D1D3D4  at y=2214
 *   - Gold rule stroke #A27E2D 1.22px at y=2214 (panel top)
 *   - Gold rule stroke #A27E2D 1.22px at y=2549 (panel bottom)
 *   - Body text  x=42 y=2256 w=515  (outlined text frame, font 0px in JSON)
 *
 * Top padding (panel→body): 42px (body y=2256 − panel y=2214).
 * Body inset: 42px each side (x=42, w=515 → 600−42−515 = 43, ~42).
 * Top rule and bottom rule are 1px gold lines flush with the panel edges.
 */

.fm-legal {
  width: 100%;
  background: var(--fm-color-legal-bg);
}

.fm-legal-rule {
  height: 1px;
  background: var(--fm-color-gold);
  width: 100%;
  font-size: 1px;
  line-height: 1px;
}

.fm-legal-pad-top {
  height: var(--fm-legal-pad-top);
  line-height: 1px;
  font-size: 1px;
}

.fm-legal-pad-bottom {
  height: var(--fm-legal-pad-top);
  line-height: 1px;
  font-size: 1px;
}

.fm-legal-body-cell {
  padding: 0 var(--fm-legal-inset);
  font-family: var(--fm-font-serif);
  font-size: var(--fm-fs-legal);
  line-height: 1.6;
  color: var(--fm-color-body-brown);
  text-align: left;
}

.fm-legal-body-cell p { margin: 0; }
.fm-legal-body-cell p + p { margin-top: 8px; }
