/*
  GPN about-us styling: the figures row and Property Guidance Network strip on
  the home page, and the about page itself. Built on the custom properties
  every market site already defines in styles.css (--color-navy, --color-gold,
  --color-paper, --radius-large and friends), so this file needs no variant
  per site.

  Master copy lives in scripts/content/about/assets/. The build copies it into
  each site, so do not edit the generated copy in a site's assets/css folder.
*/

/* ------------------------------------------------------------ figures row */

.gpn-figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 18px;
  max-width: 980px;
  margin: 48px auto 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.gpn-figure strong {
  display: block;
  color: var(--color-navy);
  font-size: clamp(2.8rem, 9vw, 3.8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}

.gpn-figure strong::after {
  display: block;
  width: 38px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: var(--radius-pill);
  background: var(--color-gold);
  content: "";
}

.gpn-figure span {
  display: block;
  margin-top: 12px;
  color: var(--color-muted);
  font-weight: 600;
  line-height: 1.3;
}

.gpn-figure span b {
  color: var(--color-ink);
  font-weight: 900;
}

.gpn-figures-note {
  margin: 26px 0 0;
  color: var(--color-muted);
  text-align: center;
}

.gpn-figures-note a,
.gpn-pgn__link {
  color: var(--color-ink);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: var(--color-gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

@media (min-width: 720px) {
  .gpn-figures {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }
}

/* -------------------------------------------- Property Guidance Network card */

.gpn-pgn-band {
  padding-top: 0;
  background: var(--color-white);
}

.gpn-pgn {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: 30px 26px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-large);
  background: var(--color-white);
  box-shadow: 0 14px 34px rgba(23, 33, 58, 0.07);
}

.gpn-pgn__logo {
  width: min(220px, 70%);
  height: auto;
}

.gpn-pgn__kicker {
  margin: 0 0 8px;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.gpn-pgn h2,
.gpn-pgn h3 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 3.4vw, 1.9rem) !important;
  line-height: 1.15;
}

.gpn-pgn p {
  margin: 0;
}

.gpn-pgn__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  margin-top: 20px;
}

@media (min-width: 800px) {
  .gpn-pgn {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 44px;
    padding: 40px 46px;
  }

  .gpn-pgn__logo {
    width: 100%;
  }
}

/* ---------------------------------------------------------------- about page */

.gpn-about {
  background: var(--color-white);
}

.gpn-about > section {
  padding: 46px 0;
}

.gpn-about__header {
  padding: 46px 0 8px;
}

.gpn-about__crumbs {
  margin: 0 0 22px;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.gpn-about__crumbs a {
  font-weight: 700;
}

.gpn-about__header h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2.3rem, 7vw, 3.6rem);
}

.gpn-about__header .lead {
  margin: 0;
}

.gpn-about__header .gpn-figures {
  max-width: 940px;
  margin: 44px 0 0;
  text-align: left;
}

.gpn-about__header .gpn-figure strong::after {
  margin-left: 0;
}

.gpn-about__intro {
  max-width: 720px;
  margin: 0 0 30px;
  color: var(--color-muted);
  font-size: clamp(1.02rem, 2.4vw, 1.15rem);
}

.gpn-about__story {
  display: grid;
  gap: 32px;
  align-items: center;
}

.gpn-about__story p {
  max-width: 620px;
}

.gpn-about__story p:last-child {
  margin-bottom: 0;
}

/* A site without the office photo keeps the text in one readable column. */
.gpn-about__story--text {
  display: block;
}

.gpn-about__story img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-large);
}

.gpn-about__team {
  display: grid;
  gap: 40px;
}

.gpn-about__member {
  text-align: center;
}

.gpn-about__member img {
  width: 170px;
  height: 170px;
  margin: 0 auto 18px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 14px 30px rgba(23, 33, 58, 0.14);
}

.gpn-about__member h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.gpn-about__cert {
  display: inline-block;
  margin: 0;
  padding: 5px 14px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.gpn-about__duo {
  display: grid;
  gap: 20px;
}

.gpn-about__card {
  padding: 30px 28px;
  border-radius: var(--radius-large);
  background: var(--color-paper);
}

.gpn-about__card h3 {
  margin-bottom: 10px;
  font-size: clamp(1.3rem, 3.2vw, 1.6rem);
}

.gpn-about__card p {
  margin: 0;
}

.gpn-about__note {
  margin: 22px 0 0;
  color: var(--color-muted);
}

.gpn-about__pgn-logo {
  width: 220px;
  height: auto;
  margin-bottom: 22px;
}

.gpn-about__pgn-copy p {
  max-width: 720px;
}

.gpn-about__standards {
  display: grid;
  gap: 16px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: gpn-standard;
}

.gpn-about__standards li {
  position: relative;
  padding: 20px 22px 20px 64px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-medium);
  counter-increment: gpn-standard;
}

.gpn-about__standards li::before {
  position: absolute;
  top: 20px;
  left: 20px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-gold);
  font-weight: 900;
  content: counter(gpn-standard);
}

.gpn-about__standards strong {
  display: block;
  margin-bottom: 4px;
}

.gpn-about__standards-heading {
  margin: 38px 0 12px;
}

.gpn-about__cta {
  padding: 34px 30px;
  border-left: 5px solid var(--color-gold);
  border-radius: 0 var(--radius-medium) var(--radius-medium) 0;
  background: var(--color-paper);
}

.gpn-about__cta h2 {
  margin-bottom: 10px;
  font-size: clamp(1.5rem, 3.6vw, 2rem) !important;
}

.gpn-about > section.gpn-about__last {
  padding-bottom: 80px;
}

@media (min-width: 720px) {
  .gpn-about__team {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
  }

  .gpn-about__duo,
  .gpn-about__standards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .gpn-about > section {
    padding: 60px 0;
  }

  .gpn-about__header {
    padding: 70px 0 10px;
  }

  .gpn-about__story {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 56px;
  }

  .gpn-about__standards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ------------------------------------------------------------- long labels */

/*
  The sites' own .btn assumes a one-line label (line-height 1, no vertical
  padding). Some of the labels here are long, such as the German and Spanish
  PGN links, and wrap on a phone. These rules let a button grow instead of
  squeezing two lines into a one-line pill.
*/
.gpn-pgn .btn,
.gpn-about .btn {
  padding-top: 9px;
  padding-bottom: 9px;
  line-height: 1.25;
  text-align: center;
}
