.article-posts {
  background-color: var(--gray);
}
.article-posts > .wrap {
  max-width: 1440px;
  padding: 140px 80px;
  margin: 0 auto;
}
.article-posts__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 40px;
  grid-row-gap: 43px;
}
.article-posts .card {
  position: relative;
  padding: 0 0 65px;
  background: var(--white);
  border: unset;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2509803922);
}
.article-posts .card * {
  pointer-events: none;
}
.article-posts .card:hover {
  box-shadow: 4px 4px 5px rgba(255, 255, 255, 0.2);
  transform: scale(1.02);
}
.article-posts .card:before {
  content: unset;
}
.article-posts .card__image {
  display: block;
  width: 100%;
  height: 292px;
  margin-bottom: 40px;
  object-fit: cover;
  border-radius: 30px;
}
.article-posts .card__info {
  width: fit-content;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  white-space: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 23px;
  text-transform: capitalize;
  color: var(--black);
  padding-left: 30px;
  padding-right: 30px;
  margin-bottom: 12px;
}
.article-posts .card__date {
  color: var(--black);
}
.article-posts .card__tags {
  color: var(--primary--color);
  flex-basis: 100%;
}
.article-posts .card__tags-separator {
  color: var(--black);
}
.article-posts .card__title {
  color: var(--black);
  height: unset !important;
  padding: 0 30px;
  margin-bottom: 64px;
  font-size: 24px;
  line-height: 31px;
  font-weight: 400;
}
.article-posts .card .card__author > div {
  display: flex;
  align-items: center;
}
.article-posts .card__author {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 30px;
  bottom: 29px;
}
.article-posts .card__author-image {
  width: 50px;
  height: 50px;
  overflow: hidden;
  border-radius: 50%;
  margin-right: 14px;
}
.article-posts .card__author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-posts .card__author-name {
  font-weight: 700;
  color: var(--black);
}
.article-posts .card__author-position {
  font-weight: 400;
  font-size: 18px;
  line-height: 23px;
  color: #111111;
}
.article-posts .card__learn-more {
  position: absolute;
  left: 30px;
  bottom: 40px;
}
@media only screen and (max-width: 991.98px) {
  .article-posts > .wrap {
    max-width: 100%;
    padding-left: 45px;
    padding-right: 45px;
  }
  .article-posts__list {
    display: grid;
    grid-template-columns: repeat(2, calc((100% - 30px) / 2));
    grid-column-gap: 30px;
    grid-row-gap: 40px;
  }
  .article-posts__item:first-child .card {
    background: #EDECF1;
  }
  .article-posts__item:first-child .card__title {
    color: #413F4D;
  }
  .article-posts__item:first-child .card__date, .article-posts__item:first-child .card__author-position, .article-posts__item:first-child .card__tags-separator {
    color: #656565;
  }
}
@media only screen and (max-width: 767px) {
  .article-posts > .wrap {
    padding: 100px 18px;
  }
  .article-posts__list {
    display: grid;
    grid-template-columns: 100%;
    grid-row-gap: 34px;
  }
  .article-posts__item:last-child {
    display: block;
  }
}

.wp-block-image {
  margin: 40px 0 70px;
}

.article-form .wpcf7-spinner {
  display: none;
}
.article-form .category-form__submit {
  width: 100%;
}
.article-form form.submitting .wpcf7-spinner {
  display: inline-block;
}

@media only screen and (max-width: 991.98px) {
  .wp-block-image {
    margin: 0 0 1em;
  }
}