#places-block .places__list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
#places-block .places__item {
  display: flex;
  gap: 40px;
  padding: 30px;
  background: var(--bgSecondary);
  border-radius: 20px;
}
#places-block .places__item-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 30px;
  flex-basis: 100%;
  max-width: 1000px;
  width: 100%;
  max-height: 270px;
}
#places-block .places__item-num {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--bg);
  z-index: 2;
  text-align: center;
}
#places-block .places__item-img {
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  z-index: 0;
}
#places-block .places__item-img.hidden {
  display: none;
}
#places-block .places__item-img.last::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
#places-block .places__item-img:first-child {
  grid-area: 1/1/3/3;
}
#places-block .places__item-img:nth-child(2) {
  grid-area: 1/3/3/5;
}
#places-block .places__item-img:nth-child(3) {
  grid-area: 1/5/2/6;
}
#places-block .places__item-img:nth-child(4) {
  grid-area: 2/5/3/6;
}
#places-block .places__item-right {
  max-width: 420px;
}
#places-block .places__item-title {
  margin-bottom: 20px;
}
#places-block .places__item-descr {
  color: var(--mainTextPrimary);
}

@media screen and (max-width: 1250px) {
  #places-block .places__item-gallery {
    gap: 10px;
  }
  #places-block .places__item {
    gap: 20px;
  }
}
@media screen and (max-width: 1010px) {
  #places-block .places__item {
    flex-direction: column;
  }
  #places-block .places__item-right {
    max-width: 100%;
  }
}
@media screen and (max-width: 600px) {
  #places-block .places__item-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: unset;
    overflow: hidden;
    max-height: unset;
  }
  #places-block .places__item-img {
    grid-area: unset !important;
  }
}
@media screen and (max-width: 400px) {
  #places-block .places__item {
    padding: 15px;
  }
}/*# sourceMappingURL=block.css.map */