._title {
  width: 96%;
  margin: auto;
}

.photo_grid {
  margin-bottom: 35px;
  gap: 15px;
  height: 80vh;
  display: grid;
  min-height: 460px;
  place-content: center;
  padding: max(2vh, 1.5rem);
  grid-template-rows: 50% 50%;
  grid-template-columns: 25% 30% 15% 25%;
}
.photo_grid img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
}
@media screen and (max-width: 690px) {
  .photo_grid {
    height: 65vh;
  }
}
@media screen and (max-width: 470px) {
  .photo_grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 35%);
  }
}
.photo_grid .card {
  border-radius: 25px;
  box-shadow: -2px 4px 15px rgba(0, 0, 0, 0.26);
}
@media screen and (max-width: 470px) {
  .photo_grid .card {
    grid-column: span 1;
  }
}
.photo_grid .card:nth-child(2) {
  grid-column: 2/3;
  grid-row: span 2;
}
@media screen and (max-width: 690px) {
  .photo_grid .card:nth-child(2) {
    grid-column: span 1;
    grid-row: span 1;
  }
}
.photo_grid .card:nth-child(3) {
  grid-column: span 2;
}
@media screen and (max-width: 690px) {
  .photo_grid .card:nth-child(3) {
    grid-column: 2/4;
    grid-row: 1/2;
  }
}
@media screen and (max-width: 690px) {
  .photo_grid .card:nth-child(6) {
    grid-column: 2/4;
    grid-row: 2/3;
  }
}
@media screen and (max-width: 470px) {
  .photo_grid .card:nth-child(5) {
    grid-column: span 2;
  }
}
.photo_grid .card p {
  font-size: clamp(0.9rem, 0.875rem + 0.125vw, 1rem);
  line-height: 1.4;
}
.photo_grid .card img {
  border-radius: 25px;
}
.photo_grid .card .card__img {
  position: relative;
  height: 100%;
}
.photo_grid .card .card__img .card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  color: #fff;
  padding: clamp(0.938rem, 5vw, 1.563rem);
  background: rgb(2, 2, 46);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.57) 0%, rgba(255, 255, 255, 0) 100%);
  width: 100%;
  height: 100%;
  border-radius: 25px;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
}
.photo_grid .card .card__img span {
  position: absolute;
  top: 25px;
  left: min(2vmax, 1.563rem);
  color: #ff7b29;
  background: #fff;
  border-radius: 50px;
  padding: 2px 8px 2px 6px;
  display: flex;
  box-shadow: 0px 1px 20px rgba(0, 0, 0, 0.168627451);
}
@media screen and (max-width: 690px) {
  .photo_grid .card .card__img span {
    top: 20px;
  }
}
@media screen and (max-width: 470px) {
  .photo_grid .card .card__img span {
    top: 15px;
  }
}
.photo_grid .card .card__img span svg {
  fill: #ff7b29;
  width: 20px;
  margin-right: 2px;
}/*# sourceMappingURL=home_grid.css.map */