.carousel-control-prev-icon,
.carousel-control-next-icon {
  font-size: 2em;
  color: var(--primary-color, #0d6dfd);
}

.gallerie,
.gallerie .card {
  margin-bottom: 20px;
}

.gallerie-card {
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  cursor: pointer;
  border-radius: 0.5rem;
}

.gallerie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.gallerie .card .card-img {
  position: relative;
  aspect-ratio: 16/9;
  /* height: max(12rem, min(18vh, 18vmin, 18rem)); */
  overflow: hidden;
  border-radius: 0.5rem 0.5rem 0 0;
}

.gallerie img,
.gallerie video {
  width: 100%;
  /* height: 100%; */
  object-fit: cover;
  transition: transform 0.5s ease-in-out;
}

.gallerie-card:hover img {
  transform: scale(1.05);
}


#media-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#media-content .embed-responsive {
  aspect-ratio: 16 / 9;
  min-height: 400px;
}

#media-content .embed-responsive-item {
  width: 100%;
  height: 100%;
}


@supports not(aspect-ratio: 1/1) {
  .card .card-img {
    position: relative;
    width: 100%;
    height: 0;
    padding: 56.25%;
    overflow: hidden;
  }

  .card-img > * {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}