/* A legal document is read, not skimmed, so this is a reading column and
   nothing else: one measure, generous leading, and the same two faces as the
   rest of the site so it does not look like a page from another product.

   Enqueued only by the [csg_legal] shortcode, which is why the host-theme
   reset at the bottom is safe to leave unscoped. */

.csgl-legal {
  --brand: #7b39fc;
  --ink: #171717;
  --mut: #5b5470;
  --rule: #e6e3ef;

  --display: "FSP DEMO - PODIUM Sharp 4.11", "Arial Black", Impact, "Helvetica Neue", system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  font-family: var(--body);
  font-synthesis: none;
  color: var(--ink);
  line-height: 1.7;
  font-size: 1rem;
  max-width: 68ch;
  margin: 0 auto;
  padding: 40px 20px 72px;
}
.csgl-legal *, .csgl-legal *::before, .csgl-legal *::after { box-sizing: border-box; }

.csgl-legal h1 {
  font-family: var(--display); font-weight: 400; font-synthesis: none;
  font-size: 2.5rem; line-height: 1.05; letter-spacing: -.02em;
  text-transform: uppercase; margin: 0 0 6px;
}
.csgl-legal h2 {
  font-family: var(--body); font-weight: 600; font-size: 1.15rem;
  margin: 38px 0 10px; padding-top: 22px; border-top: 1px solid var(--rule);
}
.csgl-legal p { margin: 0 0 14px; }
.csgl-legal ul { margin: 0 0 16px; padding-left: 22px; }
.csgl-legal li { margin-bottom: 8px; }
.csgl-legal b { font-weight: 600; }
.csgl-legal a { color: var(--brand); }

.csgl-legal-meta {
  color: var(--mut); font-size: .875rem; text-transform: uppercase;
  letter-spacing: .1em; margin-bottom: 26px !important;
}

@media (min-width: 760px) {
  .csgl-legal { padding: 64px 24px 96px; font-size: 1.05rem; }
  .csgl-legal h1 { font-size: 3.25rem; }
}

/* Twenty Twenty-Five prints the page title above the content and wraps it in
   spacing bands. The document supplies its own <h1>, so the theme's duplicate
   goes. Safe unscoped: this stylesheet loads only where [csg_legal] renders. */
.wp-block-post-title { display: none; }
main .wp-block-group.has-global-padding,
main .wp-block-post-content.has-global-padding,
main .entry-content { padding-top: 0 !important; padding-bottom: 0 !important; }
