/**
 * @file
 * Privacy Policy — page-specific styles for long-form legal text page.
 *
 * Uses a consistent pr-* prefix for all page-specific selectors.
 * Includes the two-column shell (sidebar + article), TOC card, CTA card,
 * address card, custom list styles, and closing line.
 *
 * Design tokens, .al-btn, .container come from global general.css.
 * Hero mixin imported from components/.
 *
 * Mirrors the static design reference
 * design-review/privacy_policy/privacy_policy.html.
 */
/**
 * @file
 * Shared LESS variables — imported by general.less and component files.
 *
 * Breakpoint variables used in @media queries across the theme.
 */
/* =========================================================================
   Design tokens supplement
   ========================================================================= */
:root {
  --border-2: var(--al-gray-100);
  --header-h: 72px;
}
/* =========================================================================
   HERO — reuse content-hero mixin, hide Drupal default title
   ========================================================================= */
.node--type-privacy-policy .block-page-title-block {
  display: none;
}
.pr-hero {
  background: var(--al-navy);
  color: #fff;
  position: relative;
  overflow: clip;
  overflow-clip-margin: 20px;
  margin-top: 0;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}
.pr-hero::after {
  content: "";
  position: absolute;
  right: -150px;
  top: -110px;
  width: 480px;
  height: 270px;
  border: 2px solid rgba(224, 144, 48, 0.3);
  border-radius: 50%;
  transform: rotate(-18deg);
  pointer-events: none;
}
.pr-hero::before {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -160px;
  width: 340px;
  height: 340px;
  border: 1.5px solid rgba(224, 144, 48, 0.16);
  border-radius: 50%;
  pointer-events: none;
}
.pr-hero .container {
  position: relative;
}
.pr-hero__figure {
  position: absolute;
  right: 0;
  bottom: -20px;
  width: 380px;
  z-index: 1;
  pointer-events: none;
}
.pr-hero__figure svg {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 1080px) {
  .pr-hero__figure {
    display: none;
  }
}
.pr-hero__inner {
  position: relative;
  z-index: 2;
  padding: 56px 0 60px;
  max-width: 880px;
}
.pr-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 80px 0 0;
  text-wrap: balance;
}
.pr-hero__title .accent {
  color: var(--al-orange);
}
.pr-hero__standfirst {
  font-family: var(--font-sans);
  font-size: 19px;
  line-height: 1.6;
  color: #cfe0ec;
  max-width: 62ch;
  margin: 20px 0 0;
  text-wrap: pretty;
}
.pr-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.pr-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.12s;
}
.pr-hero .breadcrumb a:hover {
  color: #fff;
}
.pr-hero .breadcrumb__sep {
  color: rgba(255, 255, 255, 0.3);
}
.pr-hero .breadcrumb__current {
  color: var(--al-orange-300);
  font-weight: 600;
}
.pr-hero__cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
  margin-bottom: 60px;
}
.pr-hero__ghost {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  padding: 15px 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.34);
  transition: background 0.14s, border-color 0.14s;
}
.pr-hero__ghost svg {
  width: 17px;
  height: 17px;
  transition: transform 0.14s;
}
.pr-hero__ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}
.pr-hero__ghost:hover svg {
  transform: translateX(3px);
}
/* Last-updated line */
.pr-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  color: #bcd6e7;
  margin: 18px 0 0;
}
.pr-updated svg {
  width: 17px;
  height: 17px;
  color: var(--al-orange);
  flex-shrink: 0;
}
.pr-updated strong {
  color: #fff;
  font-weight: 700;
}
/* =========================================================================
   BODY SHELL — two-column grid (sidebar left)
   ========================================================================= */
.pr-body {
  background: var(--bg-page);
  padding: 54px 0 6px;
}
.pr-grid-main {
  display: grid;
  grid-template-columns: 296px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.pr-article {
  min-width: 0;
}
/* SIDEBAR — TOC card + CTA card */
.pr-side {
  position: sticky;
  top: calc(var(--header-h) + 22px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pr-toc-card {
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 20px;
  box-shadow: var(--shadow-xs);
}
.pr-toc-card__h {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin: 0 0 14px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--border-1);
}
.pr-toc {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.pr-toc a {
  display: block;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.4;
  color: var(--fg-2);
  text-decoration: none;
  padding: 8px 12px;
  border-left: 2px solid transparent;
  border-radius: 0 6px 6px 0;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.pr-toc a:hover {
  background: var(--bg-alt);
  color: var(--al-navy);
}
.pr-toc a.is-active {
  color: var(--al-orange-700);
  border-left-color: var(--al-orange);
  background: #fff6ec;
  font-weight: 600;
}
.pr-cta-card {
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  background: var(--al-navy);
  color: #fff;
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.pr-cta-card::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -60px;
  width: 170px;
  height: 110px;
  border: 2px solid rgba(224, 144, 48, 0.34);
  border-radius: 50%;
  transform: rotate(-16deg);
  pointer-events: none;
}
.pr-cta-card h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  margin: 0 0 8px;
  position: relative;
}
.pr-cta-card p {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  color: #bcd6e7;
  margin: 0 0 16px;
  position: relative;
}
.pr-cta-card .al-btn {
  width: 100%;
  justify-content: center;
  position: relative;
}
/* =========================================================================
   ARTICLE TYPOGRAPHY
   ========================================================================= */
.pr-article .pr-lead {
  font-family: var(--font-sans);
  font-size: 21px;
  line-height: 1.62;
  color: var(--fg-1);
  font-weight: 500;
  margin: 0 0 28px;
  max-width: 740px;
}
.pr-article p {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.78;
  color: var(--fg-2);
  margin: 0 0 18px;
  max-width: 740px;
}
.pr-article h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 27px;
  line-height: 1.25;
  color: var(--al-navy);
  margin: 42px 0 14px;
  scroll-margin-top: 100px;
  max-width: 740px;
}
.pr-article strong {
  color: var(--al-navy);
  font-weight: 700;
}
.pr-article a {
  color: var(--al-orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pr-article a:hover {
  color: var(--al-orange-700);
}
/* =========================================================================
   ADDRESS CARD — for the "Data controller" section
   ========================================================================= */
.pr-card {
  max-width: 740px;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  padding: 24px 26px;
  margin: 14px 0 18px;
}
.pr-card__label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--al-orange-700);
  margin: 0 0 10px;
}
.pr-card b {
  display: block;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  color: var(--al-navy);
  margin: 0 0 10px;
}
.pr-card__lines {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--al-gray-500);
  margin: 0;
}
.pr-card__lines a {
  color: var(--al-orange-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pr-card__lines a:hover {
  color: var(--al-orange);
}
/* =========================================================================
   CUSTOM LIST — orange left-accent bullets
   ========================================================================= */
.pr-list {
  list-style: none;
  margin: 8px 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  max-width: 740px;
}
.pr-list > li {
  position: relative;
  padding-left: 34px;
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--fg-2);
}
.pr-list > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 22px;
  height: 22px;
  background: rgba(224, 144, 48, 0.14);
  border-radius: 6px;
}
.pr-list > li::after {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 8px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--al-orange-700);
  line-height: 1;
}
/* Two-column grid variant */
.pr-list--cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 32px;
}
/* =========================================================================
   CLOSING LINE
   ========================================================================= */
.pr-end {
  max-width: 740px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--border-1);
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--al-gray-400);
}
/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 980px) {
  .pr-grid-main {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .pr-side {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .pr-cta-card {
    flex: 1;
    min-width: 260px;
  }
}
@media (max-width: 680px) {
  .pr-list--cols {
    grid-template-columns: 1fr;
  }
  .pr-card {
    padding: 20px;
  }
}
/* =========================================================================
   DARK MODE
   ========================================================================= */
body.dark .pr-body {
  background: var(--al-navy);
}
body.dark .pr-article p {
  color: rgba(255, 255, 255, 0.78);
}
body.dark .pr-article h2 {
  color: #fff;
}
body.dark .pr-article strong {
  color: #fff;
}
body.dark .pr-article a {
  color: var(--al-orange-300);
}
body.dark .pr-article a:hover {
  color: var(--al-orange);
}
body.dark .pr-toc-card {
  background: var(--al-navy-800);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
body.dark .pr-toc-card__h {
  color: rgba(255, 255, 255, 0.55);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
body.dark .pr-toc a {
  color: rgba(255, 255, 255, 0.72);
}
body.dark .pr-toc a:hover {
  background: var(--al-navy-700);
  color: #fff;
}
body.dark .pr-toc a.is-active {
  color: var(--al-orange-300);
  background: rgba(224, 144, 48, 0.14);
  border-left-color: var(--al-orange);
}
body.dark .pr-cta-card {
  background: var(--al-navy-800);
  border-color: rgba(255, 255, 255, 0.1);
}
body.dark .pr-card {
  background: var(--al-navy-800);
  border-color: rgba(255, 255, 255, 0.1);
}
body.dark .pr-card b {
  color: #fff;
}
body.dark .pr-card__lines {
  color: rgba(255, 255, 255, 0.65);
}
body.dark .pr-card__label {
  color: var(--al-orange-300);
}
body.dark .pr-list > li {
  color: rgba(255, 255, 255, 0.78);
}
body.dark .pr-list > li::before {
  background: rgba(224, 144, 48, 0.18);
}
body.dark .pr-list > li::after {
  color: var(--al-orange-300);
}
body.dark .pr-end {
  color: rgba(255, 255, 255, 0.45);
  border-top-color: rgba(255, 255, 255, 0.1);
}
