/* Keep project titles and expanded outcomes readable at every card width. */
.work-card .card-title-link {
  grid-column: 1 / -1;
  grid-row: 1;
}

.work-card .card-copy > .round-arrow {
  grid-column: 2;
  grid-row: 1;
  z-index: 1;
}

.work-card .card-brand-lockup {
  max-width: calc(100% - 74px);
}

.work-card .card-brand-logo {
  max-width: 100%;
  object-fit: contain;
}

.work-card .card-copy h2 {
  display: block;
  max-width: none;
  overflow: visible;
  -webkit-line-clamp: none;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.work-card .card-outcome {
  display: block;
  -webkit-line-clamp: none;
}

.work-card:is(:hover, :focus-within, .is-expanded) .card-outcome {
  max-height: none;
}

.work-card:is(:hover, :focus-within, .is-expanded) .card-outcome-panel {
  max-height: 100%;
}
