.collection-page {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

.page-title {
  font-size: 42px;
  margin-bottom: 20px;
  font-family: var(--title-font);
}

/* ---- JUMP BAR ---- */
#jump-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

#jump-bar a {
  text-decoration: none;
  font-size: 14px;
  color: #333;
}

#jump-bar a:hover {
  text-decoration: underline;
}

#jump-bar a.inactive {
  opacity: 0.3;
  pointer-events: none;
}

/* ---- LETTER HEADERS ---- */
.letter-anchor {
  font-size: 28px;
  margin: 40px 0 20px;
  grid-column: 1 / -1;
}

/* ---- GRID ---- */
#collection-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 30px;
}

/* ---- CARD ---- */
.album-card {
  cursor: pointer;
  position: relative;
}

.album-card img {
  width: 100%;
    border-radius: 6px;
    transition: opacity 0.3s ease;
    display: block;
}

.album-card:hover .album-hover-info {
  opacity: 1;
}

.album-card:hover img {
    opacity: 0.35;
}

.album-hover-info {
  position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    color: var(--dark-slate);
    font-weight: bold;
    text-align: left;
    line-height: 1.3;
    opacity: 0;
    transition: opacity 0.3s;
    text-shadow: 1px 1px 3px rgba(255,255,255,0.9);
    word-wrap: break-word;
}
