/* ── Site Banner ─────────────────────────────────────── */
.site-banner {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  max-height: 1080px;
  overflow: hidden;
  line-height: 0;
  margin-bottom: 0;
}

.site-banner img {
  width: 100%;
  max-height: 1080px;
  object-fit: cover;
  display: block;
}

/* ── Gallery Grid ────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 12px;
  padding: 12px calc(12px + (100vw - 100%) / 2);
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  background: #eee;
  position: relative;
  border-radius: 10px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  opacity: 0.85;
}

/* ── Albums Grid ─────────────────────────────────────── */
.albums-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.album-card {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s;
  text-decoration: none;
}

.album-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.album-card img,
.album-card-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  background: #ddd;
  border-radius: 12px 12px 0 0;
}

.album-card-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem 0.8rem;
  background: #fff;
  color: var(--text);
}

.album-name { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--red); font-weight: 600; }
.album-count { font-size: 0.8rem; color: #999; }
