/* =========================================================
   Pro Contractors Hub — Legal / CMS pages
   Privacy Policy · Terms & Conditions · static CMS prose
   Wide editorial shell — no double gutters / narrow 860px trap
   ========================================================= */

.pch-legal,
body.pch-premium .pch-legal.dynamic-page-content-area,
body.pch-inner-page .pch-legal.dynamic-page-content-area,
body.pch-premium:not(.pch-home) .pch-legal.dynamic-page-content-area {
  --lg-navy: #0B1F3A;
  --lg-navy-deep: #061428;
  --lg-gold: #C9A227;
  --lg-gold-deep: #A8841A;
  --lg-ink: #2A2F36;
  --lg-muted: #5B6470;
  --lg-fog: #F4F6F8;
  --lg-line: rgba(11, 31, 58, 0.1);
  --lg-display: var(--pch-display, "Space Grotesk", sans-serif);
  --lg-body: var(--pch-body, "Source Sans 3", sans-serif);
  background: #fff !important;
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 0 clamp(3rem, 6vw, 4.5rem) !important;
  color: var(--lg-ink);
}

.pch-legal *,
.pch-legal *::before,
.pch-legal *::after {
  box-sizing: border-box;
}

/* Same Bootstrap .container side alignment as About / other inner pages */
body.pch-premium .pch-legal > .container,
body.pch-inner-page .pch-legal > .container {
  margin-left: auto !important;
  margin-right: auto !important;
}

.pch-legal__card,
body.__qixer .pch-legal .dynamic-page-content-wrap,
body.pch-premium .pch-legal .dynamic-page-content-wrap,
body.pch-inner-page .pch-legal .dynamic-page-content-wrap {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--lg-ink) !important;
  -webkit-text-fill-color: var(--lg-ink) !important;
}

.pch-legal__kicker,
body.pch-premium .pch-legal .pch-legal__kicker,
body.pch-inner-page .pch-legal .dynamic-page-content-wrap .pch-legal__kicker,
body.pch-premium .pch-legal .dynamic-page-content-wrap p.pch-legal__kicker {
  margin: 0 0 0.55rem !important;
  font-family: var(--lg-display) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  line-height: 1.4 !important;
  color: var(--lg-gold-deep) !important;
  -webkit-text-fill-color: var(--lg-gold-deep) !important;
}

.pch-legal__title,
body.pch-premium .pch-legal .pch-legal__title,
body.pch-inner-page .pch-legal .pch-legal__title {
  margin: 0 0 1.25rem !important;
  font-family: var(--lg-display) !important;
  font-size: clamp(1.65rem, 3vw, 2.25rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.25 !important;
  overflow: visible !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  max-height: none !important;
  white-space: normal !important;
  color: var(--lg-navy) !important;
  -webkit-text-fill-color: var(--lg-navy) !important;
}

.pch-legal__divider {
  width: 3.5rem;
  height: 3px;
  margin: 0 0 1.5rem;
  background: linear-gradient(90deg, var(--lg-gold), transparent);
  border: 0;
}

/* Prose */
body.__qixer .pch-legal .dynamic-page-content-wrap,
body.pch-premium .pch-legal .dynamic-page-content-wrap,
body.pch-inner-page .pch-legal .dynamic-page-content-wrap {
  font-family: var(--lg-body);
  font-size: 1.05rem;
  line-height: 1.75;
}

body.__qixer .pch-legal .dynamic-page-content-wrap h1,
body.__qixer .pch-legal .dynamic-page-content-wrap h2,
body.__qixer .pch-legal .dynamic-page-content-wrap h3,
body.__qixer .pch-legal .dynamic-page-content-wrap h4,
body.__qixer .pch-legal .dynamic-page-content-wrap h5,
body.__qixer .pch-legal .dynamic-page-content-wrap h6,
body.pch-premium .pch-legal .dynamic-page-content-wrap h1,
body.pch-premium .pch-legal .dynamic-page-content-wrap h2,
body.pch-premium .pch-legal .dynamic-page-content-wrap h3,
body.pch-premium .pch-legal .dynamic-page-content-wrap h4,
body.pch-premium .pch-legal .dynamic-page-content-wrap h5,
body.pch-premium .pch-legal .dynamic-page-content-wrap h6,
body.pch-inner-page .pch-legal .dynamic-page-content-wrap h1,
body.pch-inner-page .pch-legal .dynamic-page-content-wrap h2,
body.pch-inner-page .pch-legal .dynamic-page-content-wrap h3,
body.pch-inner-page .pch-legal .dynamic-page-content-wrap h4 {
  font-family: var(--lg-display) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  color: var(--lg-navy) !important;
  -webkit-text-fill-color: var(--lg-navy) !important;
  margin-top: 1.75rem !important;
  margin-bottom: 0.75rem !important;
  line-height: 1.3 !important;
}

body.__qixer .pch-legal .dynamic-page-content-wrap h4:first-child,
body.pch-premium .pch-legal .dynamic-page-content-wrap h4:first-child,
body.pch-inner-page .pch-legal .dynamic-page-content-wrap > h4:first-child {
  margin-top: 0 !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase;
  color: var(--lg-gold-deep) !important;
  -webkit-text-fill-color: var(--lg-gold-deep) !important;
}

body.__qixer .pch-legal .dynamic-page-content-wrap p:not(.pch-legal__kicker),
body.__qixer .pch-legal .dynamic-page-content-wrap li,
body.__qixer .pch-legal .dynamic-page-content-wrap span,
body.__qixer .pch-legal .dynamic-page-content-wrap div,
body.pch-premium .pch-legal .dynamic-page-content-wrap p:not(.pch-legal__kicker),
body.pch-premium .pch-legal .dynamic-page-content-wrap li,
body.pch-premium .pch-legal .dynamic-page-content-wrap span,
body.pch-premium .pch-legal .dynamic-page-content-wrap div,
body.pch-inner-page .pch-legal .dynamic-page-content-wrap p:not(.pch-legal__kicker),
body.pch-inner-page .pch-legal .dynamic-page-content-wrap li {
  color: var(--lg-muted) !important;
  -webkit-text-fill-color: var(--lg-muted) !important;
  font-size: 1.02rem !important;
  line-height: 1.75 !important;
}

body.__qixer .pch-legal .dynamic-page-content-wrap strong,
body.__qixer .pch-legal .dynamic-page-content-wrap b,
body.pch-premium .pch-legal .dynamic-page-content-wrap strong,
body.pch-premium .pch-legal .dynamic-page-content-wrap b,
body.pch-inner-page .pch-legal .dynamic-page-content-wrap strong,
body.pch-inner-page .pch-legal .dynamic-page-content-wrap b {
  color: var(--lg-navy) !important;
  -webkit-text-fill-color: var(--lg-navy) !important;
  font-weight: 700 !important;
}

body.__qixer .pch-legal .dynamic-page-content-wrap a,
body.pch-premium .pch-legal .dynamic-page-content-wrap a,
body.pch-inner-page .pch-legal .dynamic-page-content-wrap a {
  color: var(--lg-gold-deep) !important;
  -webkit-text-fill-color: var(--lg-gold-deep) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.__qixer .pch-legal .dynamic-page-content-wrap a:hover,
body.pch-premium .pch-legal .dynamic-page-content-wrap a:hover {
  color: var(--lg-navy) !important;
  -webkit-text-fill-color: var(--lg-navy) !important;
}

body.__qixer .pch-legal .dynamic-page-content-wrap ul,
body.__qixer .pch-legal .dynamic-page-content-wrap ol,
body.pch-premium .pch-legal .dynamic-page-content-wrap ul,
body.pch-premium .pch-legal .dynamic-page-content-wrap ol,
body.pch-inner-page .pch-legal .dynamic-page-content-wrap ul,
body.pch-inner-page .pch-legal .dynamic-page-content-wrap ol {
  padding-left: 1.35rem !important;
  margin: 0.75rem 0 1.25rem !important;
}

body.__qixer .pch-legal .dynamic-page-content-wrap li,
body.pch-premium .pch-legal .dynamic-page-content-wrap li {
  margin-bottom: 0.45rem;
}

body.__qixer .pch-legal .dynamic-page-content-wrap br + br {
  display: none;
}

/* Match About / other inner-page banners: breadcrumb + large title */
body.pch-premium.pch-inner-page:has(.pch-legal) .banner-inner-area,
body.pch-premium.pch-inner-page:has(.pch-legal) .pch-page-banner {
  padding-top: calc(var(--pch-nav-h, 84px) + clamp(2.25rem, 4.5vw, 3.25rem)) !important;
  padding-bottom: clamp(2.75rem, 5vw, 4rem) !important;
}

/* Do not override Bootstrap .container — keep same side edges as About */
body.pch-premium.pch-inner-page:has(.pch-legal) .banner-inner-contents {
  text-align: left !important;
}

body.pch-premium.pch-inner-page:has(.pch-legal) .banner-inner-title {
  display: inline-block !important;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem) !important;
  font-weight: 700 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  margin: 0.5rem 0 0 !important;
  line-height: 1.15 !important;
}

body.pch-premium.pch-inner-page:has(.pch-legal) .inner-menu {
  gap: 0.5rem 0.75rem;
}
