


.gallery-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  padding: 1.5rem 0;
}

.gallery-tile {
  margin: 0;
  background: #111;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-tile a {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.gallery-tile img,
.gallery-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.gallery-placeholder {
  background: radial-gradient(circle at top, #444, #111);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ddd;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.gallery-tile figcaption {
  padding: 0.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f5f5f5;
  background: linear-gradient(to bottom, #1a1a1a, #101010);
}

.gallery-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.5);
}

/* ------------------------------------------------------------
 * Galerieauswahl – Gruppierung
 * ------------------------------------------------------------ */

.gallery-category {
    margin: 2rem 0 2.5rem;
}

.gallery-category-title {
    margin: 0 0 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3db2e2;
}

/* ------------------------------------------------------------
 * Galerieauswahl – Lizensierung
 * ------------------------------------------------------------ */
.gallery-license {
    margin: 1rem 0;
    padding: 0.2rem 1.25rem;
    border-left: 4px solid #3db2e2;
    background: rgba(61, 178, 226, 0.08);
    border-radius: 10px;
}

.gallery-license .subh4 {
    display: block;
    margin-bottom: 0.1rem;
}

.gallery-license p {
    margin: 0.1rem 0;
}

.gallery-license .license-link {
    margin-top: 0.2rem;
}
