/* Reusable opt-in legal-page wrapper; loaded only on the protected pilot host.
   Uses existing brand tokens/local fonts. Never changes CMP text or categories. */
.hzp-legal-page {
  box-sizing: border-box;
  width: calc(100% - 40px);
  max-width: 960px;
  margin: clamp(32px, 5vw, 64px) auto;
  padding: 0;
  color: var(--text-main, #1f2a24);
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: 1rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
  /* Keep the old group overflow after its semantic div-to-main change. */
  overflow-x: visible;
}
.hzp-legal-page > .hzp-legal-page__eyebrow {
  margin: 0 0 12px;
  color: var(--text-muted, #5f6f66);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
}
.hzp-legal-page :is(h1, h2, h3) {
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-weight: 700;
  line-height: 1.2;
}
.hzp-legal-page > h1 {
  margin: 0 0 clamp(24px, 4vw, 40px);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-soft, #dbe8e2);
  font-size: clamp(2rem, 5vw, 3rem);
}
.hzp-legal-page #cmplz-document {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  font: inherit;
}
.hzp-legal-page #cmplz-document :is(h2, h3) {
  margin-block: 1.5em .5em;
  font-size: 1.5rem;
}
.hzp-legal-page #cmplz-document :is(p, li, td, th) {
  font-size: inherit;
  line-height: inherit;
}
/* Keep generated service dropdowns readable at 200% without hiding content. */
.hzp-legal-page #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy :is(summary, summary > div, p, h3, h4, h5, strong) {
  min-width: 0;
  font-size: inherit;
  line-height: inherit;
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  .hzp-legal-page #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary > div {
    grid-template: "heading chevron" "paragraph paragraph";
    grid-template-columns: minmax(0, 1fr) 25px;
    gap: 8px;
  }
  .hzp-legal-page #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
.hzp-legal-page :is(img, iframe, input, select, textarea) {
  max-width: 100%;
}
.hzp-legal-page table {
  width: 100%;
  table-layout: fixed;
}
.hzp-legal-page :is(td, th) {
  overflow-wrap: anywhere;
}
.hzp-legal-page a {
  color: var(--btn-primary-hover, #263d34);
  text-decoration: underline;
  text-underline-offset: .18em;
}
.hzp-legal-page a:focus-visible,
.landing-footer-min-links a:focus-visible {
  outline: 3px solid var(--btn-primary-hover, #263d34);
  outline-offset: 4px;
}
