/* Three show cards on desktop, with consistently filled portrait images. */
@media (min-width: 981px) {
  .cc-show-catalogue .cc-show-cards,
  .cc-home-shows .cc-home-shows-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
  }
  .cc-show-catalogue .cc-show-cards .cc-show-card-photo,
  .cc-home-shows .cc-home-shows-grid .cc-show-card-photo {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
  }
  .cc-show-catalogue .cc-show-cards .cc-show-card-photo img,
  .cc-home-shows .cc-home-shows-grid .cc-show-card-photo img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .cc-show-catalogue .cc-show-cards .cc-show-card-copy,
  .cc-home-shows .cc-home-shows-grid .cc-show-card-copy {
    padding: clamp(20px, 2vw, 28px);
  }
  .cc-show-catalogue .cc-show-cards .cc-show-subtitle,
  .cc-home-shows .cc-home-shows-grid .cc-show-subtitle {
    min-height: 3em;
  }
  .cc-show-catalogue .cc-show-cards h2,
  .cc-home-shows .cc-home-shows-grid h3 {
    font-size: clamp(28px, 2.5vw, 34px);
    overflow-wrap: break-word;
  }
  .cc-show-catalogue .cc-show-cards .cc-show-card-actions,
  .cc-home-shows .cc-home-shows-grid .cc-show-card-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: auto;
  }
  .cc-show-catalogue .cc-show-cards .cc-show-card-actions > a,
  .cc-home-shows .cc-home-shows-grid .cc-show-card-actions > a {
    justify-content: center;
    text-align: center;
  }
}
