/* =================================== */
/* SPECIFICKÉ STYLY PRO GALERII
/* =================================== */

#gallery-grid {
  display: grid;
  gap: 15px;
  padding-bottom: 50px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.gallery-item {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
  cursor: pointer;
  text-decoration: none;
  background: white;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

/* Wrapper pro blur efekt */
.gallery-item .image-wrapper-blur {
  position: relative;
  overflow: hidden;
  height: 150px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  border-radius: 10px 10px 0 0;
  background-color: #333;
}

.gallery-item .image-wrapper-blur::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  filter: blur(10px) brightness(0.9);
  transform: scale(1.1);
  z-index: 0;
}

.gallery-item img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.gallery-info {
  padding: 10px 12px;
  flex-grow: 1;
  text-align: left;
}

.gallery-info strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin-bottom: 3px;
}

.gallery-info span {
  font-size: 12px;
  color: #666;
}

@media (min-width: 600px) {
  #gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (min-width: 900px) {
  #gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}