/* Carbon Confido — policy pages (Impartiality Policy, Complaints and Appeals Policy)
   Loaded after type.css, site.css and pages.css.
   Breakpoints: desktop ≥1100 · iPad 768–1099 · mobile <768 */

/* =========================================================
   Impartiality Policy — centred text column on a light background
   ========================================================= */
.policy-section { background: #f8f8f8; padding: var(--sy) 0; }
.policy-col { width: min(920px, 100% - 2 * var(--gutter)); margin-inline: auto; font-size: var(--fs-body); line-height: 1.5; }

.policy-intro { line-height: 1.5; }
.policy-rule { border: 0; border-top: 1px solid #d6d6d6; margin: 40px 0 36px; }

.policy-h { font-size: var(--fs-lg); font-weight: 600; letter-spacing: 0; margin-bottom: 12px; }
.policy-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.policy-list li { position: relative; padding-left: 14px; }
.policy-list li::before { content: "•"; position: absolute; left: 0; top: 0; }

.policy-sign { margin-top: 56px; }
.policy-sign p + p { margin-top: 14px; }
.policy-date { margin-top: 72px; }

/* =========================================================
   Complaints and Appeals Policy — looks like a pop-up over the dimmed policy banner
   ========================================================= */
.modal-stage {
  min-height: 100vh; min-height: 100svh;
  padding: 140px var(--gutter) 80px;
  display: flex; justify-content: center; align-items: flex-start;
  background:
    linear-gradient(rgba(40,44,50,.55), rgba(40,44,50,.55)),          /* dim layer */
    var(--hero-img, none) center / cover no-repeat,
    #3a3f45;
}

/* Card styles (.policy-modal, title bar, close button, body, submit) now live in site.css,
   because the same card also opens as a pop-up over every page. */
.modal-stage .policy-modal { max-height: calc(100svh - 140px - 72px); }   /* stand-alone page: the card fits the screen */

/* Footer below the stage stays white like every other page */
.is-modal-page .footer { background: #fff; }

/* =========================================================
   iPad (768 – 1099)
   ========================================================= */
@media (max-width: 1099px) {
  .policy-col { width: min(720px, 100% - 2 * var(--gutter)); }
  .modal-stage { padding-top: 120px; }
  .modal-stage .policy-modal { max-height: calc(100svh - 120px - 72px); }
}

/* =========================================================
   Mobile (< 768) — full-width card, the page scrolls naturally
   ========================================================= */
@media (max-width: 767px) {
  .policy-rule { margin: 30px 0 28px; }
  .policy-sign { margin-top: 40px; }
  .policy-date { margin-top: 44px; }

  .modal-stage { padding: 100px 12px 64px; }
  .modal-stage .policy-modal { max-height: none; }
}
