.list {
    width: 50%;
    justify-self: center;
}

.list-title {
    font-family: var(--title-font);
    font-size: 3rem;
    text-align: center;
}
/*************
  ENTRY LAYOUT
*************/
.entry {
  display: flex;
  flex-direction: column;
  gap: 16px;           /* space between top row and summary */
  margin-bottom: 40px;
}

/* Top row holds artwork + rank/title/artist */
.top-row {
  display: flex;
  gap: 20px;
  align-items: center;
}

/*************
  ARTWORK + OVERLAY
*************/
.art-link {
  position: relative;
  display: inline-block;
  width: 300px;
  height: 300px;
  flex: 0 0 300px;
}

.artwork {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  transition: opacity 0.25s ease;
}

/* Hover fade */
.entry.album .art-link:hover .artwork {
  opacity: 0.6;
}

/* Bottom-left overlay */
.overlay {
  position: absolute;
  left: 0.5rem;
  bottom: 0.5rem;
  opacity: 0;
  padding: 0.25rem 0.5rem;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.85rem;
  font-weight: bold;
  border-radius: 4px;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.art-link:hover .overlay {
  opacity: 1;
}

/*************
  TEXT (rank + title + artist)
*************/
.text-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rank {
  font-size: 2rem;
  font-weight: 300;
  color: var(--dark-slate, #FFA500);
  font-family: var(--title-font)
}

.title {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  font-style: italic;
  font-family: var(--title-font)
}

.artist {
  font-size: 1rem;
  opacity: 0.85;
}

/*************
  SUMMARY — full width below
*************/
.summary {
  margin: 0;
  line-height: 1.55;
  color: var(--dark-slate, #2F4F4F);
  text-indent: 50px;
}

/*************
  RESPONSIVE
*************/
@media (max-width: 768px) {
  .top-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .art-link {
    width: 220px;
    height: 220px;
    flex: 0 0 220px;
  }

  .text-block {
    align-items: center;
  }

  .list {
    width: 90%;
    justify-self: center;
    padding: 50px;
}
.summary {
    padding: 25px;
}
}

.youtube {
  justify-self: center;
}


/* For song entries the same .entry and .details rules apply.
   If you want visual difference, e.g. remove overlay behavior, ensure .entry.song does not use .art-link. */

.entry.song .artwork { width:150px; height:150px; object-fit:cover; border-radius:6px; }
@media (max-width:600px) {
  .entry.song .artwork { width:220px; height:220px; }
}
