:root {
  --blue: #376177;
}

.place-main {
  background: var(--blue);
}

.place-list {
  padding: 188px var(--main-pad) 124px;
}

.place-list .lower-heading {
  margin-bottom: 86px;
}

.place-lead {
  margin: 0 auto 58px;
  font-size: 16px;
  line-height: 2;
  -webkit-margin-before: 0;
          margin-block-start: 0;
}

.place-card {
  margin-bottom: 30px;
}

.place-card__new {
  background: #F7B82A;
}

.estate-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: minmax(0, 1fr) 30px minmax(0, 1fr) 30px minmax(0, 1fr);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.estate-contact {
  padding: 0 0 0;
}

.estate-contact h2 {
  margin: 0 0 70px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  position: relative;
}

.estate-contact h2:before {
  content: "";
  position: absolute;
  bottom: -15px;
  display: inline-block;
  width: 26px;
  height: 1px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #FFF;
  border-radius: 2px;
}

.estate-contact__grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[3];
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  background: #d3b861;
  border-top: 0;
  border-bottom: 0;
}

.estate-contact__grid a {
  position: relative;
  display: -ms-grid;
  display: grid;
  place-items: center;
  min-height: 225px;
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 24px;
  text-align: center;
}

.estate-contact__grid a:after {
  content: "";
  width: 30px;
  height: 30px;
  background: url("../assets/figma/right-arrow.png") 0 0 no-repeat;
  display: inline-block;
  background-size: contain;
  position: absolute;
  bottom: 0px;
  right: 0;
}

.estate-contact__grid a:first-child {
  border-left: 0;
}

.estate-contact__grid small,
.estate-contact__grid span {
  display: block;
  font-family: var(--latin);
}

.estate-contact__grid small {
  position: absolute;
  left: 0;
  font-size: 12px;
  top: 0;
  padding: 2px 10px;
  background: var(--white);
  color: #d3b861;
  text-align: left;
}

.name {
  margin-top: -20px;
}

.tel {
  font-size: 36px;
  padding-bottom: 15px;
}

.time {
  display: block;
  font-size: 14px;
  margin-top: -30px;
}

.estate-contact__grid img {
  padding-top: 20px;
}

@media (max-width: 780px) {
  .place-list {
    padding: 70px 20px 92px;
  }
  .estate-grid {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
  .place-lead {
    font-size: 13px;
    margin-bottom: 40px;
  }
  .place-list .lower-heading {
    margin-bottom: 54px;
  }
  .estate-contact__grid {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
  .estate-contact__grid img {
    padding-top: 0;
  }
  .estate-contact h2 {
    font-size: 18px;
    margin-bottom: 20px;
  }
  .estate-contact__grid {
    margin-top: 60px;
  }
  .estate-contact__grid a p {
    -webkit-margin-before: 0em;
            margin-block-start: 0em;
    -webkit-margin-after: 0em;
            margin-block-end: 0em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .estate-contact__grid a p .name {
    margin: 0;
  }
  .estate-contact__grid a {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    min-height: 140px;
    font-size: 16px;
  }
  .estate-contact__grid a .tel {
    font-size: 20px;
  }
  .estate-contact__grid a .icon img {
    width: 150px;
  }
  .estate-contact__grid a .time {
    display: block;
    font-size: 11px;
    margin-top: -10px;
  }
}