/* ============================================================
   legal.css — shared prose styling for terms.php and privacy_policy.php
   Loaded alongside /css/home2.css, never style.css. Provides the small set
   of content patterns (quiet page heading, numbered sections, lists,
   sidebar card, two-column layout) that used to come from style.css's
   .page-title-parallax / .booking-section / .iconlist / .row.col-lg-*.
   ============================================================ */

/* ---------- Page heading ----------
   Same idea as booking_beta.php's .jb-pagehead: a thin tint + hairline to
   set context without the weight of a full hero. Not shared as one class
   across files — each page-specific stylesheet owns its own copy so this
   file stays self-contained for exactly the two pages that load it. */
.pagehead {
  padding: 14px 0 16px;
  background: linear-gradient(180deg, var(--brand-tint) 0%, transparent 100%);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.pagehead h1 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.pagehead p { font-size: 13px; line-height: 1.4; color: var(--ink-2); margin: 4px auto 0; max-width: 46ch; }

/* ---------- Two-column layout ---------- */
.legal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
  padding-block: clamp(28px, 5vw, 56px);
}
@media (min-width: 992px) {
  .legal-grid { grid-template-columns: 3fr 1fr; gap: 48px; }
}

/* ---------- Prose ---------- */
.legal h3 { font-size: 1.05rem; margin: 2rem 0 .6rem; }
.legal h3:first-child { margin-top: 0; }
.legal p + p { margin-top: .8em; }

.legal ul { margin: .8rem 0 0; padding: 0; list-style: none; }
.legal ul li { position: relative; padding-left: 20px; line-height: 1.65; }
.legal ul li + li { margin-top: .5rem; }
.legal ul li::before {
  content: ""; position: absolute; left: 2px; top: .65em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
}
.legal ul ul { margin: .6rem 0 0; }
.legal ul ul li::before { background: var(--ink-3); }

.legal-updated { margin-top: 2rem; font-size: .8rem; color: var(--ink-3); }

/* ---------- Sidebar card ---------- */
.legal-aside {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 22px; box-shadow: var(--shadow-sm);
}
.legal-aside h4 { font-size: .95rem; margin-bottom: .5rem; }
.legal-aside p { font-size: .88rem; color: var(--ink-2); }
