
/* gallery.css – Page-specific layout for gallery.php
   Depends on: base.css, layout.css, side-menu.css
*/

.gallery-container {
  padding-top: 80px;
  padding-bottom: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1rem;
}

@media (min-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}


.character-tile {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  color: var(--accent);
  box-shadow: 0 4px 12px rgba(36,39,46,0.07);
  transition: transform 0.2s;
}

.character-tile:hover {
  transform: scale(1.03);
}

.character-tile img {
  width: 100%;
  height: auto;
  display: block;
}

.char-info {
  padding: 1rem;
}

.char-info h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
}
.character-tile-fixed {
  max-width: 500px;
  margin: 3rem auto;
  padding-bottom: 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(36,39,46,0.07);
  border-radius: 1rem;
  background: #fff;
}

.character-tile-fixed img {
  width: 100%;
  border-radius: 1rem 1rem 0 0;
}

.character-tile-fixed:hover {
  transform: none;
  box-shadow: 0 4px 12px rgba(36,39,46,0.07); /* no scale on hover */
}
