/* Beyond the piece (the type's own): the stories under a head of their own (a long page's case studies) stand as
   Customer tile's row, a section of their own */

/* Three stories on a phone: one line of tiles that moves sideways under the thumb, the next tile's edge in view, in
   place of three tiles one under the other (1,300 px of photographs before any text). Each tile keeps Customer
   tile's own drawing at four fifths of the column. */
@media (max-width: 599px) {
  .rq-stories .customer-tiles--three { display: flex; grid-template-columns: none; gap: var(--space-3); overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .rq-stories .customer-tiles--three::-webkit-scrollbar { display: none; }
  .rq-stories .customer-tiles--three > .customer-tile { flex: 0 0 80%; scroll-snap-align: start; }
}/* A Customer tile's words under its headline (customer_tiles.tile's text): Body in the secondary ink, flush with the
   headline: on a photograph's tile in the words' own inset, in the on-dark ink; on a plain tile in the title's cell,
   inset as its facts are, and flush where a plain tile alone on the last row lays its words beside its figure */
.customer-tile-text { margin: 0; overflow-wrap: break-word; }
.customer-tile:has(.customer-tile-img) .customer-tile-text { color: var(--ink-on-dark-secondary); }
@media (min-width: 600px) { .customer-tiles > .customer-tile:not(:has(.customer-tile-img)) .customer-tile-text { padding-inline: var(--customer-tile-pad); } }
@media (min-width: 1200px) { .customer-tiles:not(.customer-tiles--three) > .customer-tile:nth-child(3n + 1 of .customer-tile:not(:has(.customer-tile-img))):nth-last-child(1 of .customer-tile:not(:has(.customer-tile-img))):has(.customer-tile-text) :is(.customer-tile-text, .customer-tile-cell > .customer-tile-facts) { padding-inline: 0; } }
@media (min-width: 600px) and (max-width: 1199px) { .customer-tiles > .customer-tile:nth-child(odd of .customer-tile:not(:has(.customer-tile-img))):nth-last-child(1 of .customer-tile:not(:has(.customer-tile-img))):has(.customer-tile-text) :is(.customer-tile-text, .customer-tile-cell > .customer-tile-facts) { padding-inline: 0; } }
