/*
  legal.css: /privacy-policy/ and /terms-of-service/. Values measured on live
  (headless Chrome, computed styles, 2026-11-19).

  The page hero (.phero) is the same block news.css defines for /news/; it is
  repeated here so the legal pages do not load the news styles. If it moves
  into components.css later, delete both copies.
*/

/* ---------- Page hero (photo, two-tone title) ---------- */
.phero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: calc(clamp(420px, 32vw, 560px) + var(--hdr-gap));
  margin-top: calc(-100px - var(--hdr-gap));
  padding: calc(80px + var(--hdr-gap)) 0 80px;
  background-color: #fff;
  background-image: linear-gradient(90deg, rgba(20, 43, 70, 0.5) 0%, rgba(20, 43, 70, 0.08) 100%), url("/assets/media/revslider/video-media/C5-Van-V2.webp");
  background-size: cover, cover;
  background-position: 50% 50%, 50% 50%;
  background-repeat: no-repeat;
}
.phero__text {
  max-width: 640px;
  color: #f5f5f5;
  font-size: 16px;
}
.phero__title {
  padding: 0 0 10px;
  color: #f5f5f5;
  font-size: clamp(32px, 4.2vw, 70px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}
.phero__a, .phero__b { display: block; text-wrap: balance; }
.phero__a { color: #fff; }
.phero__b { color: var(--blue); }
@media (max-width: 767px) {
  .phero {
    justify-content: flex-start;
    min-height: 0;
    padding-top: calc(120px + var(--hdr-gap));
    padding-bottom: calc(32px + 50vw);
    background-color: var(--navy);
    background-size: 0 0, 100%;
    background-position: 0 0, center bottom;
  }
}

/* ---------- Policy text ---------- */
.legal-sec { padding: 80px 0 100px; background: #fff; }
.legal-sec .wrap { max-width: 860px; }
.legal { font-size: 17px; line-height: 1.7em; }
.legal p { padding-bottom: 1em; }
.legal p:last-of-type { padding-bottom: 0; }
.legal h2,
.legal h3 {
  padding-bottom: 10px;
  color: var(--head);
  font-weight: 400;
  text-transform: uppercase;
}
.legal h2 { font-size: 24px; line-height: 1.3em; }
.legal h3 { font-size: 18px; line-height: 1.4em; }
.legal strong { font-weight: 700; }
.legal ul {
  margin: 0;
  padding: 0 0 1em 1.1em;
  line-height: 26px;
  list-style: disc inside;
}
.legal li { margin-bottom: 0.4em; text-indent: -1.1em; }
/* Readability (2026-11-30): a little air above each numbered section, and no double gap
   under a nested list (terms section 9). */
.legal h2 { padding-top: 12px; }
.legal ul ul { padding-bottom: 0; margin-top: 0.4em; }

/* ---------- /agents/: the "Every page on this site" index ----------
   Same type as the policy text; each page is one row with a hairline between rows, the page
   name in the link blue, and its markdown copy as a small second link. */
.legal h2 + p + h3,
.legal ul + h3 { padding-top: 14px; }
.legal .agents-pages {
  margin: 0 0 1.4em;
  padding: 0;
  list-style: none;
  border-top: 1px solid #e3e7ec;
}
.legal .agents-pages li {
  margin: 0;
  padding: 12px 0;
  text-indent: 0;
  border-bottom: 1px solid #e3e7ec;
  line-height: 1.6;
}
.legal .agents-pages li > a:first-child { font-weight: 700; }
.legal .agents-pages__md {
  display: inline-block;
  margin-left: 4px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal .agents-pages__md:hover,
.legal .agents-pages__md:focus-visible { color: var(--blue-dark); }
.legal code { font-size: 0.88em; overflow-wrap: anywhere; }
