.blog_main {
  background: url(../img/blog-bg.jpg) no-repeat top center;
  background-size: 100% auto;
  padding: 110px 0;
}
.blog_main .head h1 {
  margin-top: 13px;
}
.blog_main .nav {
  margin-top: 108px;
}
.blog_main .nav ul {
  display: flex;
  gap: 2rem 55px;
  flex-wrap: wrap;
}
.blog_main .nav ul li a {
  color: var(--title_color);
  border-bottom: 3px solid transparent;
  transition: all 0.3s;
  opacity: 0.6;
  font-size: 18px;
  font-weight: 400;
  display: block;
  padding-bottom: 10px;
}
.blog_main .nav ul li.active a,
.blog_main .nav ul li:hover a {
  border-color: var(--theme_color);
  opacity: 1;
}
.blog_main .main {
  margin-top: 3rem;
}
.blog_main .main ul {
  display: grid;
  margin-bottom: 118px;
  gap: 28px;
  grid-template-columns: repeat(3, 1fr);
}
.posts .post {
  background-color: #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}
.posts .post:hover i {
  background-color: var(--theme_color);
  color: #fff;
}
.posts .post:hover img {
  transform: scale(1.1);
}
.posts .post .img {
  height: 286px;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
  padding-bottom: 20px;
}
.posts .post .img::after {
  content: '';
  display: block;
  width: 120%;
  height: 19%;
  background-color: #fff;
  z-index: 2;
  position: absolute;
  right: -10%;
  bottom: -18px;
  transform: rotate(-6.5deg);
}
.posts .post .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s;
}
.posts .post .img strong {
  z-index: 3;
  width: 112px;
  height: 112px;
  position: absolute;
  bottom: 0;
  right: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 50%;
  border: 10px solid #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  background-color: #f6f6f6;
  text-align: center;
  color: var(--theme_color);
  font-size: 35px;
  font-weight: 500;
  transition: all 0.3s;
  line-height: 1;
}
.posts .post .img strong span {
  color: #333333;
  font-size: 20px;
  display: block;
  margin-top: 5px;
}
.posts .post .info {
  padding: 22px 6.7% 38px;
}
.posts .post h3 {
  min-height: 64px;
  font-size: 23px;
  line-height: 2rem;
  font-weight: 500;
  color: var(--title_color);
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.posts .post p {
  min-height: 78px;
  margin: 20px 0 30px;
  color: #8a8a8a;
  font-size: 17px;
  line-height: 26px;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.posts .post i {
  display: inline-block;
  font-weight: 500;
  background-color: #edeef0;
  border-radius: 4px;
  color: var(--title_color);
  transition: all 0.3s;
  padding: 10px 45px;
}
body .wpcf7 form.invalid .wpcf7-response-output{
  text-align: right;
  margin-right: 0;
}