/* v9 — short, human headlines and uncropped evidence */

.p9-site .p7-start-head h2,
.p9-site .p6-section-head h2,
.p9-site .p6-investment h2,
.p9-site .p6-consult h2,
.p9-site .p6-business h2 {
  max-width: 46rem;
  text-wrap: pretty;
}

/* Keep every management-screen screenshot at its original ratio. */

.p9-site .p5-deck-media > div {
  padding: clamp(0.55rem, 1.1vw, 0.9rem);
}

.p9-site .p5-deck-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 15.5rem;
  padding: 0;
  object-fit: contain;
}

.p9-site .p6-proof-grid {
  align-items: start;
}

.p9-site .p6-proof-card {
  grid-template-rows: auto auto;
}

.p9-site .p6-proof-card > div {
  min-height: 0;
  padding: clamp(1rem, 2vw, 1.6rem);
}

.p9-site .p6-proof-card img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.p9-site .p6-proof-card-main,
.p9-site .p6-proof-card-wide {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.65fr) minmax(16rem, 0.55fr);
  grid-template-rows: auto;
}

.p9-site .p6-proof-card-main figcaption,
.p9-site .p6-proof-card-wide figcaption {
  padding: clamp(1.5rem, 3vw, 2.6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 0;
  border-left: 1px solid var(--p5-line);
}

.p9-site .p6-proof-card:nth-child(2) {
  grid-column: span 5;
}

.p9-site .p6-proof-card:nth-child(3) {
  grid-column: span 7;
}

@media (max-width: 720px) {
  .p9-site .p5-deck-media > div {
    padding: 0.55rem;
  }

  .p9-site .p5-deck-media img {
    max-height: 16rem;
  }

  .p9-site .p6-proof-card,
  .p9-site .p6-proof-card-main,
  .p9-site .p6-proof-card-wide,
  .p9-site .p6-proof-card:nth-child(2),
  .p9-site .p6-proof-card:nth-child(3) {
    grid-column: 1;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .p9-site .p6-proof-card-main figcaption,
  .p9-site .p6-proof-card-wide figcaption {
    padding: 1.2rem 1.35rem 1.4rem;
    border-top: 1px solid var(--p5-line);
    border-left: 0;
  }
}

