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

.gallery-item {
  overflow: hidden;
  border-radius: 18px;
  position: relative;
  aspect-ratio: 1/1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 55%,
    rgba(23, 43, 104, 0.24) 100%
  );
  pointer-events: none;
}

.gallery-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(23, 43, 104, 0.14);
  background: #0e1b4d;
}

.gallery-track {
  display: flex;
  transition: transform 0.45s ease;
  touch-action: pan-y;
}

.news-slide-gallery {
  min-width: 100%;
  user-select: none;
}
.news-track-gallery {
  display: flex;
  transition: transform 0.45s ease;
  touch-action: pan-y;
}
.news-slide-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.gallery-slide {
  min-width: 100%;
  user-select: none;
}

.gallery-slide img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

#galeria .news-carousel-wrap {
  display: none;
}

/* MOBILE */
@media (max-width: 760px) {
  #galeria .gallery-grid {
    display: none;
  }

  #galeria .news-carousel-wrap {
    display: block;
  }

  img {
    height: 400px;
  }
}
