/* An album's card (a .place-card), taller than it's wide: a square cover, with the album's name and size below it */
.album-card {
  height: 100%;
  padding: var(--space-2) var(--space-2) var(--space-3);

  > :not(.album-cover) {
    padding: 0 var(--space-1);
  }

  .album-cover {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    margin-bottom: var(--space-1);
    overflow: hidden;
    border-radius: var(--radius-s);
    background-color: var(--bg-color);
    color: var(--meta-text-color);

    img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .icon svg {
      width: 3rem;
      height: 3rem;
    }

    /* How many items are new to the user */
    .count-badge {
      position: absolute;
      top: var(--space-2);
      right: var(--space-2);
    }
  }
}
