/* Verze 2 – změna názvu slouží také k bezpečnému obnovení cache prohlížeče. */
/* === Galerie – přehledné kartičky === */

.gallery-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.gallery-card .card-img-top {
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.gallery-card .card-body {
  padding: 1rem;
}

.gallery-card .card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.gallery-card .card-title a {
  color: var(--primary);
  text-decoration: none;
}

.gallery-card .card-title a:hover {
  text-decoration: underline;
}

.gallery-card .card-subtitle {
  font-size: 0.85rem;
  color: #6c757d;
}


/* Responsive spacing between images */
.row.g-3 .col-sm-6,
.row.g-3 .col-md-4,
.row.g-3 .col-lg-3 {
  display: flex;
}

.gallery-thumb {
  display: block;
  width: 100%;
  height: 100%;
}


/* === Galerie Alba – detail === */

/* ==== Galerie: Detail alba ==== */
.album-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid #dee2e6;
  padding-bottom: 1rem;
}

.album-header h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.album-header .text-muted {
  font-size: 0.95rem;
  color: #6c757d;
}

.album-description {
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.6;
}

.gallery-thumb img {
  border-radius: var(--radius);
  transition: transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.gallery-thumb img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

