/* The case for each side, one form for both: the family's section head, then the line of what each has proved at
   the measure, the customer's photograph beside its story, the reasons as the Feature grid's rows on the page's ground,
   the quotes and one line after them. No band, no brush and no glass: the page's ground, as each difference's. */
.cmp-case > .container { display: grid; row-gap: var(--space-7); }
.cmp-case > .container > * { margin: 0; min-width: 0; }
.cmp-case .cmp-why-proved { max-width: var(--measure); color: var(--ink-primary); text-wrap: pretty; }
.cmp-why-story { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-5); align-items: stretch; }
.cmp-why-story--words { grid-template-columns: minmax(0, var(--measure)); }   /* a story with no photograph stands alone, at the measure */
.cmp-why-photo { display: grid; grid-template-rows: minmax(0, 1fr) auto; row-gap: var(--space-2); margin: 0; min-height: 440px; }
.cmp-why-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 40%; border-radius: var(--radius-lg); }
.cmp-why-photo figcaption { color: var(--ink-secondary); }
.cmp-why-lead { display: grid; align-content: center; row-gap: var(--space-4); }
.cmp-why-lead > * { margin: 0; }
.cmp-why-lead p { color: var(--ink-primary); text-wrap: pretty; }
.cmp-case .feature-grid-item p { color: var(--ink-primary); }

@media (max-width: 1199px) {
  .cmp-case > .container { row-gap: var(--space-6); }
}
@media (max-width: 899px) {
  .cmp-why-story { grid-template-columns: minmax(0, 1fr); }
  .cmp-why-photo { min-height: 0; }
  .cmp-why-photo img { aspect-ratio: 4 / 3; height: auto; }
}
@media (max-width: 599px) {
  .cmp-why-photo img { aspect-ratio: 5 / 4; }
}

/* Where the reasons' count fills rows of two or three, each keeps the kit's line over it, the first too, so the heads
   of the first row start level */
@media (min-width: 600px) {
  .cmp-case .feature-grid:not(:has(> :nth-child(5):last-child), :has(> :nth-child(7):last-child)) > .feature-grid-item:first-child { padding-top: var(--space-5); border-top: 1px solid var(--border-strong); }
}
/* a customer's logo over the head of the reason that tells its story: in ink (the Logo band's filter), a line's height */
.cmp-why-mark { display: block; width: auto; height: var(--icon-l); margin-bottom: var(--space-3); filter: url("#logo-band-ink"); }
/* what people outside say, under the reasons: a Quote each on the page's ground, two a row from 800 px */
.cmp-case .cv-why-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: var(--space-5); margin: 0; }
.cmp-case .cv-why-quotes > .quote { margin: 0; }
.cmp-case .cv-why-quotes .quote-role::before { content: none; }       /* the caption's comma stands in the markup, so the name and the role read apart everywhere */
/* one line after the reasons, at the measure */
.cmp-case .cv-why-note { max-width: var(--measure); margin: 0; text-wrap: pretty; }
