.gallery {
  background-color: #fff;
  padding-top: 4.25rem;
  padding-bottom: 3.25rem;
}
@media (max-width: 992px) {
  .gallery {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}
.gallery__title {
  font-weight: 500;
  font-size: 1.25rem;
  color: #919191;
  margin-bottom: 2.56rem;
}
.gallery__wrapper .view-content {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
@media (max-width: 992px) {
  .gallery__wrapper .view-content {
    flex-direction: column;
  }
}
.gallery__item {
  flex: 1 1 calc(100% / 3 - 3rem);
  border-radius: 2rem;
  overflow: hidden;
}
@media (max-width: 992px) {
  .gallery__item {
    width: 100%;
    border-radius: 1rem;
  }
}
.gallery__subtitle {
  position: absolute;
  width: 100%;
  bottom: 5%;
  left: 0;
}
.gallery__subtitle div {
  padding: 0 1.25rem;
  display: flex;
  justify-content: center;
}
.gallery__subtitle a {
  display: block;
  font-weight: 500;
  font-size: 1rem;
  color: #000;
  background-color: #fff;
  border-radius: 0.8100000000000001rem;
  padding: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  text-align: center;
  width: 74%;
}
.gallery .more-link a {
  border-color: #000;
  color: #000;
}
.gallery .more-link a:hover {
  background-color: #000;
  color: #fff;
}
.field--name-field-gallery a {
  display: block;
  width: 100%;
  height: 0;
  padding-top: 73%;
  position: relative;
}
.field--name-field-gallery a img {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  object-fit: cover;
  object-position: center;
}
.body-view--fotogalereya .gallery__wrapper {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2rem;
}
.body-view--fotogalereya .more-link {
  display: none;
}
