/*============================================================================================
	Start Moment Area
==============================================================================================*/

.moment-grid-wrap {
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  border-top: 2px dashed var(--primary-color);
  border-bottom: 2px dashed var(--primary-color);
  border-left: 2px dashed var(--primary-color);
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}
.moment-single-wrap {
  width: 100%;
  border-right: 2px dashed var(--primary-color);
  padding: 44px 30px 36px;
  display: inline-block;
  text-align: center;
}
.moment-img-wrap {
  margin-bottom: 30px;
  display: inline-block;
}
.moment-img-wrap img {
  max-width: 240px;
  height: auto;
  object-fit: contain;
}
.moment-title {
  text-align: center;
  margin-bottom: 4px;
  font-size: 20px;
  line-height: 120%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.moment-details {
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media only screen and (min-width: 992px) and (max-width: 1400px) {
  .moment-img-wrap img {
    max-width: 180px;
  }
  .moment-single-wrap {
    padding: 24px;
  }
  .moment-title {
    font-size: 18px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991.99px) {
  .moment-grid-wrap {
    grid-template-columns: 1fr 1fr;
  }
}

@media only screen and (max-width: 767.99px) {
  .moment-grid-wrap {
    display: block;
  }
  .moment-single-wrap {
    padding: 24px;
    border-bottom: 2px dashed var(--primary-color);
  }
  .moment-single-wrap:last-child {
    border-bottom: none;
  }
}

/*============================================================================================
	End Moment Area
==============================================================================================*/
