.associationItem {
  --item-height: 10rem;
  position: relative;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: flex-start;
  column-gap: 1rem;
  row-gap: var(--spacing-gap-row);
  padding: var(--spacing-s);
  background: var(--color-background-secondary);
}

.image {
  order: 2;
  width: 6rem;
  padding-top: 100%;
  position: relative;

  img {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

.text {
  order: 1;
  padding: 0;
  height: var(--item-height);
  overflow: hidden;
  position: relative;
  &:after {
    content: "";
    background-image: linear-gradient(to top, var(--color-background-secondary), transparent);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4rem;
    pointer-events: none;
  }
}

.title {
  margin-bottom: var(--spacing-s);
  font-size: 1.1rem;
}

.excerpt {
  font-size: var(--font-size-caption);
}

.details {
  font-family: var(--font-serif);
}