/*
 * Our people preview (list + bio). Loaded only on /about-us/our-people-preview/.
 * Site tokens: red #e3281c, ink #000, grey-2 #f9f9f9, grey #d7d7cd, Lato 400/700/900.
 */

body.people-preview {
  --pp-red: #e3281c;
  --pp-ink: #000;
  --pp-ink-2: #3d3d3d;
  --pp-muted: #6b6b6b;
  --pp-rule: #d7d7cd;
  --pp-paper: #f9f9f9;
}

/* The theme breadcrumb links to the live pages; the preview renders its own. */
body.people-preview .breadcrumbs-wrapper {
  display: none;
}

.people-preview__main {
  padding-bottom: 72px;
}

/* Breadcrumb */
.pp-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 24px 0 20px;
  font-size: 13px;
  color: var(--pp-muted);
}
.pp-crumbs a {
  color: var(--pp-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--pp-rule);
}
.pp-crumbs a:hover {
  border-bottom-color: var(--pp-red);
}
.pp-crumbs [aria-current] {
  color: var(--pp-ink);
  font-weight: 700;
}

/* Hero: red title block beside a portrait band; nothing overlaps a face */
.pp-hero {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr);
  gap: 2px;
  background: var(--pp-ink);
}
.pp-hero__mosaic {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 1fr;
  gap: 2px;
}
/* Tiles fill their cell so the band always matches the panel height */
.pp-hero__tile {
  display: block;
  min-height: 140px;
  overflow: hidden;
  background: var(--pp-ink);
}
.pp-hero__tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  filter: grayscale(1) contrast(1.05);
}
.pp-hero__panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 40px 34px;
  background: var(--pp-red);
  color: #fff;
}
.pp-hero__title {
  margin: 0 0 12px;
  font-size: 56px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
}
.pp-hero__standfirst {
  margin: 0;
  font-size: 19px;
  line-height: 1.45;
  max-width: 36ch;
}

/* Jump navigation */
.pp-jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 28px;
  min-height: 40px;
  margin: 0 0 56px;
  padding-top: 14px;
}
.pp-jump a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--pp-ink);
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
}
.pp-jump a:hover,
.pp-jump a:focus-visible {
  border-bottom-color: var(--pp-red);
}
.pp-jump__count {
  color: var(--pp-red);
}

/* Sections */
.pp-section {
  border-top: 2px solid var(--pp-ink);
  padding-top: 28px;
  margin-bottom: 72px;
  scroll-margin-top: 24px;
}
.pp-section__head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 16px 48px;
  margin-bottom: 40px;
}
.pp-section__title {
  margin: 0;
  font-size: 44px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.015em;
  color: var(--pp-red);
}
.pp-section__intro {
  max-width: 70ch;
  font-size: 17px;
  line-height: 1.6;
  color: var(--pp-ink-2);
}
.pp-section__intro p {
  margin: 0 0 12px;
}
.pp-section__intro p:last-child {
  margin-bottom: 0;
}
.pp-section__intro a {
  color: var(--pp-ink);
  text-decoration-color: var(--pp-red);
  text-underline-offset: 3px;
}

/* Grid of people */
.pp-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 36px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pp-card__link {
  display: block;
  color: var(--pp-ink);
  text-decoration: none;
}
.pp-card__photo {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--pp-paper);
}
.pp-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  filter: grayscale(1);
  transition: transform 0.45s ease, filter 0.3s ease;
}
.pp-card__photo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--pp-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.pp-card__initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 48px;
  font-weight: 900;
  color: var(--pp-rule);
}
.pp-card__name {
  display: block;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
}
.pp-card__role {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--pp-red);
}
.pp-card__link:hover .pp-card__photo img,
.pp-card__link:focus-visible .pp-card__photo img {
  transform: scale(1.04);
  filter: none;
}
.pp-card__link:hover .pp-card__photo::after,
.pp-card__link:focus-visible .pp-card__photo::after {
  transform: scaleX(1);
}
.pp-card__link:focus-visible {
  outline: 2px solid var(--pp-red);
  outline-offset: 4px;
}

/* Bio */
.pp-bio {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: start;
  padding-top: 16px;
  border-top: 2px solid var(--pp-ink);
}
.pp-bio__photo {
  position: sticky;
  top: 24px;
  max-width: 320px;
  padding-top: 24px;
}
/* Uploads are roughly 300px square: show them square and near native size
   so the browser never upscales them into blur. */
.pp-bio__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 25%;
}
.pp-bio__body {
  padding-top: 24px;
}
.pp-bio__eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pp-muted);
}
.pp-bio__name {
  margin: 0 0 14px;
  font-size: 54px;
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--pp-ink);
}
.pp-bio__role {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--pp-red);
}
.pp-bio__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 0 0;
  font-size: 15px;
}
.pp-bio__email {
  display: inline-block;
  padding: 11px 22px;
  background: var(--pp-red);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--pp-red);
}
.pp-bio__email:hover,
.pp-bio__email:focus-visible {
  background: #fff;
  color: var(--pp-red);
}
.pp-bio__social {
  color: var(--pp-ink);
  text-decoration-color: var(--pp-red);
  text-underline-offset: 3px;
}
.pp-bio__role {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--pp-rule);
}
.pp-bio__text {
  max-width: 68ch;
  font-size: 18px;
  line-height: 1.65;
  color: var(--pp-ink-2);
}
.pp-bio__text p {
  margin: 0 0 1.1em;
}
.pp-bio__text a {
  color: var(--pp-ink);
  text-decoration-color: var(--pp-red);
  text-underline-offset: 3px;
}

/* Back link and neighbours */
.pp-pager {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 2px solid var(--pp-ink);
}
.pp-pager__back {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--pp-ink);
  border-bottom: 2px solid var(--pp-red);
  padding-bottom: 4px;
}
.pp-pager__back::before {
  content: "\2190\00a0";
}
.pp-pager__neighbours {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.pp-pager__item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px;
  background: var(--pp-paper);
  color: var(--pp-ink);
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.pp-pager__item--next {
  flex-direction: row-reverse;
  text-align: right;
}
.pp-pager__item:hover,
.pp-pager__item:focus-visible {
  background: #efefe9;
}
.pp-pager__photo {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  overflow: hidden;
}
.pp-pager__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
}
.pp-pager__label {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pp-red);
}
.pp-pager__name {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

/* Responsive */
@media (max-width: 1199px) {
  .pp-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 991px) {
  .pp-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .pp-section__head {
    grid-template-columns: 1fr;
  }
  .pp-bio {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 36px;
  }
  .pp-bio__name {
    font-size: 44px;
  }
}
@media (max-width: 767px) {
  .pp-hero {
    grid-template-columns: 1fr;
  }
  .pp-hero__tile {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }
  .pp-hero__panel {
    order: 2;
    padding: 28px 24px 26px;
  }
  .pp-hero__title {
    font-size: 42px;
  }
  .pp-hero__standfirst {
    font-size: 17px;
  }
  .pp-jump {
    justify-content: flex-start;
    margin-bottom: 40px;
  }
  .pp-section__title {
    font-size: 34px;
  }
  .pp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
  }
  .pp-card__name {
    font-size: 16px;
  }
  .pp-card__role {
    font-size: 11px;
  }
  .pp-bio {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .pp-bio__photo {
    position: static;
    max-width: 320px;
  }
  .pp-bio__name {
    font-size: 38px;
  }
  .pp-bio__text {
    font-size: 17px;
  }
  .pp-pager__neighbours {
    grid-template-columns: 1fr;
  }
  .pp-pager__spacer {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pp-card__photo img,
  .pp-card__photo::after,
  .pp-pager__item {
    transition: none;
  }
  .pp-card__link:hover .pp-card__photo img,
  .pp-card__link:focus-visible .pp-card__photo img {
    transform: none;
  }
}

/*
 * Customizer overrides. The site's Additional CSS (wp-custom-css) loads after
 * this file and sets Arial, #23282d, fixed sizes and margins on every
 * heading, p and li with !important. Scoped to the preview body only.
 */
body.people-preview #main,
body.people-preview #main * {
  font-family: "Lato", Helvetica, Arial, sans-serif !important;
}
body.people-preview #main .pp-crumbs,
body.people-preview #main .pp-crumbs a,
body.people-preview #main .pp-crumbs span {
  font-size: 13px !important;
}
body.people-preview #main .pp-hero__title {
  margin: 0 0 12px !important;
  font-size: 56px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
  color: #fff !important;
}
body.people-preview #main .pp-hero__standfirst {
  margin: 0 !important;
  font-size: 19px !important;
  line-height: 1.45 !important;
  font-weight: 400 !important;
  color: #fff !important;
}
body.people-preview #main .pp-section__title {
  margin: 0 !important;
  font-size: 44px !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
  letter-spacing: -0.015em !important;
  color: var(--pp-red) !important;
}
body.people-preview #main .pp-section__intro p,
body.people-preview #main .pp-section__intro li {
  margin: 0 0 12px !important;
  font-size: 17px !important;
  line-height: 1.6 !important;
  color: var(--pp-ink-2) !important;
}
body.people-preview #main .pp-section__intro p:last-child {
  margin-bottom: 0 !important;
}
body.people-preview #main .pp-card {
  margin: 0 !important;
  line-height: inherit !important;
}
body.people-preview #main .pp-card__name {
  font-size: 18px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  color: var(--pp-ink) !important;
}
body.people-preview #main .pp-card__role {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--pp-red) !important;
}
body.people-preview #main .pp-bio__eyebrow {
  margin: 0 0 14px !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  color: var(--pp-muted) !important;
}
body.people-preview #main .pp-bio__name {
  margin: 0 0 14px !important;
  font-size: 54px !important;
  line-height: 1.02 !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
  color: var(--pp-ink) !important;
}
body.people-preview #main .pp-bio__role {
  margin: 0 0 24px !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  color: var(--pp-red) !important;
}
body.people-preview #main .pp-bio__email {
  color: #fff !important;
  text-decoration: none !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
}
body.people-preview #main .pp-bio__email:hover,
body.people-preview #main .pp-bio__email:focus-visible {
  color: var(--pp-red) !important;
}
body.people-preview #main .pp-bio__text p,
body.people-preview #main .pp-bio__text li {
  margin: 0 0 1.1em !important;
  font-size: 18px !important;
  line-height: 1.65 !important;
  font-weight: 400 !important;
  color: var(--pp-ink-2) !important;
}
body.people-preview #main .pp-pager__label {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--pp-red) !important;
}
body.people-preview #main .pp-pager__name {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--pp-ink) !important;
}
body.people-preview #main img {
  border-radius: 0 !important;
  box-shadow: none !important;
}
@media (max-width: 991px) {
  body.people-preview #main .pp-bio__name {
    font-size: 44px !important;
  }
}
@media (max-width: 767px) {
  body.people-preview #main .pp-hero__title {
    font-size: 42px !important;
  }
  body.people-preview #main .pp-hero__standfirst {
    font-size: 17px !important;
  }
  body.people-preview #main .pp-section__title {
    font-size: 34px !important;
  }
  body.people-preview #main .pp-card__name {
    font-size: 16px !important;
  }
  body.people-preview #main .pp-card__role {
    font-size: 11px !important;
  }
  body.people-preview #main .pp-bio__name {
    font-size: 38px !important;
  }
  body.people-preview #main .pp-bio__text p,
  body.people-preview #main .pp-bio__text li {
    font-size: 17px !important;
  }
}
