/*** CMS - Galeria ***/
#gallery {
  position: relative;
}

#gallery::before {
  position: absolute;
  content: "";
  inset: 0;
  width: 100%;
  height: 25rem;
  background-color: var(--dark);
  z-index: 0;
}

#gallery .section-title {
  position: relative;
  color: var(--white);
  z-index: 10;
}

#gallery .section-title h2 {
  font-size: 2.5rem;
}

#gallery .section-title span {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
}

#gallery .section-title-rrss {
  display: flex;
  justify-content: center;
  column-gap: 1rem;
  margin-top: 0.5rem;
}

#gallery .section-title-rrss i {
  color: var(--white);
  font-size: 1.5rem;
}

.gallery-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 2rem;
  z-index: 10;
}

.gallery-img {
  position: relative;
  overflow: hidden;
}

.gallery-img a img {
  display: block;
  border-radius: 0.25rem;
  transition: 0.1s ease;
}

.gallery-img a:hover img {
  transform: scale(1.05);
}

@media (max-width: 992px) {
  #gallery {
    margin-block: 5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  #gallery .section-title h2 {
    font-size: 1.5rem;
  }
}
