/* Legal pages only. The complete copy is rendered from post_content. */
.pua-legal-view { background: #fff; }
.pua-legal-view .legal-v2-content { padding-top: 0; padding-bottom: 64px; }
.pua-legal-view .legal-v2-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 34%);
  align-items: center;
  gap: clamp(20px, 4vw, 58px);
  min-width: 0;
  margin: 0 0 20px;
  padding: 36px 0;
}
.pua-legal-view .legal-v2-hero__copy { min-width: 0; max-width: 80ch; }
.pua-legal-view .legal-v2-hero h1 { margin: 0 0 18px; }
.pua-legal-view .legal-v2-hero :is(.privacy-page__intro,.cookie-page__intro,.terms-page__intro) {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #fff;
}
.pua-legal-view .legal-v2-hero :is(.privacy-page__intro,.cookie-page__intro,.terms-page__intro) p {
  margin: 0 0 12px;
  color: #fff;
  font-size: 15px;
  line-height: 1.6;
}
.pua-legal-view .legal-v2-hero :is(.privacy-page__intro,.cookie-page__intro,.terms-page__intro) p:last-child { margin-bottom: 0; }
.pua-legal-view .legal-v2-hero :is(.privacy-page__intro,.cookie-page__intro,.terms-page__intro) p:first-child {
  color: #c9dcfb;
  font-weight: 700;
}
.pua-legal-view .legal-v2-hero a { color: #fff; text-decoration-color: var(--v2-yellow); }
.pua-legal-view .legal-v2-hero__art { display: block; width: min(100%, 340px); height: auto; justify-self: center; }
.pua-legal-view .legal-v2-hero--privacy-policy .legal-v2-hero__art { width: min(100%, 400px); }
.pua-legal-view .legal-v2-hero--cookie-policy .legal-v2-hero__art { width: min(100%, 310px); }
.pua-legal-view .legal-v2-article { max-width: 80ch; }
.pua-legal-view .legal-v2-article :is(.privacy-page,.cookie-page,.terms-page) { display: block; margin: 0; }
.pua-legal-view .legal-v2-article :is(.privacy-page__section,.cookie-page__section,.terms-page__section) {
  margin: 0;
  padding: 28px 0;
  border: 0;
  border-bottom: 1px solid var(--v2-line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
.pua-legal-view .legal-v2-article :is(.privacy-page__section,.cookie-page__section,.terms-page__section):last-child { border-bottom: 0; }
.pua-legal-view .legal-v2-article :is(.privacy-page,.cookie-page) { counter-reset: legal-section; }
.pua-legal-view .legal-v2-article :is(.privacy-page__section,.cookie-page__section) { counter-increment: legal-section; }
.pua-legal-view .legal-v2-article :is(.privacy-page__section,.cookie-page__section) h2 {
  display: flex;
  align-items: baseline;
  gap: 13px;
}
.pua-legal-view .legal-v2-article :is(.privacy-page__section,.cookie-page__section) h2::before {
  content: counter(legal-section, decimal-leading-zero);
  flex: none;
  color: var(--v2-blue);
  font-size: .78em;
  font-weight: 800;
  border-right: 3px solid var(--v2-yellow);
  padding-right: 10px;
}
.pua-legal-view .legal-v2-article :is(.privacy-page__section,.cookie-page__section,.terms-page__section) h2 {
  margin: 0 0 14px !important;
  color: var(--v2-navy);
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.32;
}
.pua-legal-view .legal-v2-article :is(p,li,td) { color: var(--v2-text); font-size: 16px; line-height: 1.7; }
.pua-legal-view .legal-v2-article a { overflow-wrap: anywhere; }
.pua-legal-view .cookie-page__table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; }
.pua-legal-view .cookie-page__table :is(th,td) { overflow-wrap: anywhere; }

@media (max-width: 767px) {
  .pua-legal-view .legal-v2-content { padding-bottom: 44px; }
  .pua-legal-view .legal-v2-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 28px 0 20px;
  }
  .pua-legal-view .legal-v2-hero h1 { margin-bottom: 12px; }
  .pua-legal-view .legal-v2-hero__art { width: min(100%, 245px); }
  .pua-legal-view .legal-v2-hero--privacy-policy .legal-v2-hero__art { width: min(100%, 285px); }
  .pua-legal-view .legal-v2-hero--cookie-policy .legal-v2-hero__art { width: min(100%, 220px); }
  .pua-legal-view .legal-v2-article :is(.privacy-page__section,.cookie-page__section,.terms-page__section) { padding: 23px 0; }
  .pua-legal-view .legal-v2-article :is(p,li,td) { font-size: 15px; }
}

@media (max-width: 600px) {
  .pua-legal-view .cookie-page__table { display: table; border: 0; overflow: visible; }
  .pua-legal-view .cookie-page__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .pua-legal-view .cookie-page__table tbody { display: block; }
  .pua-legal-view .cookie-page__table tbody tr {
    display: block;
    margin: 0 0 12px;
    padding: 9px 14px;
    border: 1px solid var(--v2-line);
    border-radius: 8px;
  }
  .pua-legal-view .cookie-page__table tbody td {
    display: block;
    width: 100%;
    padding: 6px 0;
    border: 0;
    font-size: 14px;
  }
  .pua-legal-view .cookie-page__table tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    color: var(--v2-muted);
    font-size: 12px;
    font-weight: 700;
  }
}
