.header-wrap .header__nav .resources-link {
  color: #cdfb3e;
  position: relative;
}

.header-wrap .header__nav .resources-link::after {
  content: "";
  bottom: -3px;
  left: -8px;
  position: absolute;
  background-color: #cdfb3e;
  width: 98px;
  height: 3px;
  border-radius: 0px 0px 8px 8px;
}

@media screen and (max-width: 1325px) {
  .header-wrap .header__nav .resources-link::after {
    display: none;
  }
}

body main#main-scrollbar {
  background-color: #fff;
}
body .blog-main .container {
  font-family: "Source Serif Pro", serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}
body .container {
  margin: 0 auto;
}
.blog-template-top {
  background: #4c75e6;
  padding-top: 72px;
  padding-bottom: 70px;
}
.blog-template-top-header {
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  padding-top: 50px;
  padding-bottom: 50px;
  align-items: center;
  position: relative;
  flex-wrap: wrap;
}
.review-block {
  margin: 0px auto -160px;
}
.review-block-2 {
  margin: 0px auto -235px;
}
.faq {
  padding-top: 28.5rem;
}
.blog-template-top h1.blog-template-header {
  margin: 0 auto;
  padding-bottom: 32px;
  font-family: "Source Serif Pro", serif;
  font-style: normal;
  font-weight: bold;
  font-size: 72px;
  line-height: 80px;
  text-align: center;
  letter-spacing: 0.04em;
  color: #dafd6e;
}
.blog-template-top-header h1.blog-template-header,
.blog-template-top-header .blog-template-header.post-header {
  font-family: "Kanit", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 64px;
  text-align: center;
  color: #4c75e6;
  flex-basis: 33.3%;
  display: flex;
  justify-content: center;
}
div.blog-template-header {
  flex-basis: 33.3%;
  display: flex;
  justify-content: flex-end;
}
h2.blog-template-header-h2 {
  flex-basis: 100%;
  font-family: "Open Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  color: #333333;
  max-width: 514px;
  margin: 0 auto;
  padding-top: 14px;
  order: 4;
}
.container .blog-template-breadcrumbs {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.container .blog-template-breadcrumbs img {
  width: 20px;
  margin: 0 16px;
}
.container .blog-template-breadcrumbs a {
  font-family: "Source Serif Pro", serif;
  font-style: normal;
  font-weight: 600;
  font-size: 19px;
  line-height: 32px;
  text-decoration: none;
  color: #cdfb3e;
  letter-spacing: 0.1px;
  transition: all 0.3s ease;
}
.container .blog-template-breadcrumbs a.blog-template-item:hover {
  background-color: #cdfb3e;
  color: #4c75e6;
}
.container .blog-template-breadcrumbs p {
  font-family: "Source Serif Pro", serif;
  font-style: normal;
  font-weight: 600;
  font-size: 19px;
  line-height: 32px;
  color: #fff;
  margin: 0;
  letter-spacing: 0.1px;
}
nav.blog-breadcrumbs {
  display: flex;
  align-items: center;
  flex-basis: 33.3%;
}
.blog-breadcrumb {
  font-family: "Kanit", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 39px;
  color: #4c75e6;
  text-decoration: none;
}
img.blog-breadcrumb {
  height: 10px;
  margin-left: 8px;
  margin-right: 8px;
}

/* categories  */
.blog-categories-button {
  border: 0;
  background-color: #4c75e6;
  color: #fff;
  font-family: "Kanit", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  border-radius: 7px;
  width: 149px;
}
.blog-categories-arrow {
  margin-left: 10px;
}
.categories-section {
  width: 149px;
  display: none;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 43px;
  right: 0px;
  background: #4c75e6;
  border-radius: 0px 0px 8px 8px;
  color: #fff;
  text-decoration: none;
  list-style-type: none;
  z-index: 3;
  font-size: 0;
  transition: all 0.7s ease;
}
.blog-categories-button-section {
  position: relative;
}
.categories-section.visible-categories {
  display: block;
  visibility: visible;
  opacity: 1;
}

.categories-section li.categories ul {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  color: #fff;
  font-family: "Kanit", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 32px;
  text-align: center;
  padding: 16px;
  margin: 0;
}
.categories-section li.categories ul .cat-item {
  list-style-type: none;
  font-family: "Kanit", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
  text-align: left;
}
.categories-section li.categories ul .cat-item a {
  text-decoration: none;
  color: #fff;
}
.categories-section li.categories ul .cat-item a:hover {
  color: #cdfb3e;
}

.content-wrapper {
  max-width: 1470px;
  padding-right: 44px;
  padding-left: 44px;
  margin: 0 auto;
}
.blog-main .blog-content {
  display: flex;
  justify-content: space-between;
}
.blog-main-category .blog-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.blog-main .blog-content .social-media-block {
  flex-basis: 5%;
  margin-right: 35px;
  position: relative;
}
.blog-main .blog-content .social-media-content {
  position: sticky;
  top: 144px;
}
.blog-main .blog-content .empty-after-block {
  width: 1px;
  height: 1000px;
}
.blog-main .blog-content .social-media-header {
  position: sticky;
  font-family: "Kanit", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 22px;
  line-height: 32px;
  letter-spacing: 0;
  color: #4c75e6;
  margin-bottom: 21px;
}
.blog-main .blog-content .social-media-list {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin: 0;
}
.blog-main .blog-content .social-media-list-mobile {
  display: none;
}
.blog-main .blog-content .social-media-item {
  list-style-type: none;
  margin-bottom: 16px;
  width: 24px;
  height: 24px;
}
svg path {
  stroke: inherit;
  stroke-width: inherit;
  fill: inherit;
  transition: all 0.3s ease;
}
.blog-main .blog-content .social-media-item a:hover svg path {
  fill: #f63d7e;
}
.blog-main {
  padding-top: 0px;
  padding-bottom: 38px;
}
.blog-main .blog-content .all-content {
  flex-basis: 91.6%;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 32px;
  grid-template-areas:
    "post1 post2"
    "post1 post3"
    "post1 post4"
    "post5 post8"
    "post6 post8"
    "post7 post8";
}

.article-block {
  background: #f3f6f8;
  border: 3px solid #f1f3f6;
  z-index: 0;
  padding: 0;
  position: relative;
}
.article-block.pop-post {
  border: 3px solid #e2e9ed;
}
.article-block p {
  font-family: "Open Sans", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 24px;
  line-height: 40px;
  color: #333333;
}
.link_to {
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  height: 100%;
  letter-spacing: 0;
}
.category-item .tag-block {
  background: #f3f6f8;
}
.blog-excerpt {
  display: none;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  cursor: pointer;
  -ms-word-wrap: break-word;
  word-wrap: break-word;
  padding-bottom: 36px;
}
.blog-excerpt p {
  font-family: "Open Sans", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 24px;
  line-height: 40px;
  color: #333333;
  position: relative;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.post1 {
  grid-area: post1;
  margin-right: 60px;
}
.post2 {
  grid-area: post2;
  margin-left: -60px;
  border: none;
}
.post3 {
  grid-area: post3;
  margin-left: -60px;
  border: none;
}
.post4 {
  grid-area: post4;
  margin-left: -60px;
  border: none;
}
.post5 {
  grid-area: post5;
  margin-right: -60px;
  border: none;
}
.post6 {
  grid-area: post6;
  margin-right: -60px;
  border: none;
}
.post7 {
  grid-area: post7;
  margin-right: -60px;
  border: none;
}
.post8 {
  grid-area: post8;
  margin-left: 60px;
}
.post9 {
  grid-area: post9;
  margin-right: 60px;
}
.post10 {
  grid-area: post10;
  margin-left: -60px;
  border: none;
}
.post11 {
  grid-area: post11;
  margin-left: -60px;
  border: none;
}
.post12 {
  grid-area: post12;
  margin-left: -60px;
  border: none;
}
.post13 {
  grid-area: post13;
  margin-right: -60px;
  border: none;
}
.post14 {
  grid-area: post14;
  margin-right: -60px;
  border: none;
}
.post15 {
  grid-area: post15;
  margin-right: -60px;
  border: none;
}
.post16 {
  grid-area: post16;
  margin-left: 60px;
}
.post17 {
  grid-area: post17;
  margin-right: 60px;
}
.post18 {
  grid-area: post18;
  margin-left: -60px;
  border: none;
}
.post19 {
  grid-area: post19;
  margin-left: -60px;
  border: none;
}
.post20 {
  grid-area: post20;
  margin-left: -60px;
  border: none;
}

.post1 .link_to,
.post8 .link_to,
.post9 .link_to,
.post16 .link_to,
.post17 .link_to {
  flex-direction: column;
}
.post1 .blog-excerpt,
.post8 .blog-excerpt {
  display: flex;
  order: 4;
  padding: 0 32px 32px;
  flex-basis: 29%;
  flex-direction: column;
  justify-content: space-between;
}
.category-item .title-container,
.article-block .title-container {
  border: 3px #f1f3f6 solid;
  border-right: none;
  flex-basis: 53%;
}
.article-block.pop-post .title-container {
  border: none;
  flex-basis: 50%;
}
.category-item .blog-title,
.article-block .blog-title {
  margin-left: 33px;
  font-family: "Kanit", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 28px;
  line-height: 40px;
  color: #333333;
  margin-right: 32px;
  position: relative;
  margin-top: 13px;
}
.article-block.pop-post .blog-title {
  font-size: 24px;
  line-height: 36px;
  margin: -5px 15px 13px;
}
.blog-title span {
  color: #333;
}
.post1 .title-container,
.post8 .title-container {
  flex-basis: 1%;
  border: 6px solid #4c75e6;
  margin: -62px 32px 0px 32px;
  background: #fff;
  z-index: 1;
  order: 2;
}
.post1 .blog-title,
.post8 .blog-title {
  font-family: "Kanit", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 44px;
  line-height: 56px;
  margin-left: -6px;
  margin-top: 0;
  margin-bottom: 10px;
}
.post1 .img-block,
.post8 .img-block {
  flex-basis: 70%;
  width: 101.2%;
  height: 100%;
  margin-left: -3px;
  margin-right: -3px;
  margin-top: -3px;
  max-width: 558px;
  max-height: 418px;
  order: 1;
  border-left: none;
}
.post1 .link_to .blog-title .arrow-header,
.post8 .link_to .blog-title .arrow-header {
  display: none;
}

.post1 .blog-excerpt .arrow-header,
.post8 .blog-excerpt .arrow-header {
  background: url(/wp-content/themes/mightycall2021/img/page-blog/arrow-link.svg)
    no-repeat;
  height: 10px;
  width: 20px;
  display: block;
}
.category-item .blog-title .arrow-header,
.post2 .blog-title .arrow-header,
.post3 .blog-title .arrow-header,
.post4 .blog-title .arrow-header,
.post5 .blog-title .arrow-header,
.post6 .blog-title .arrow-header,
.post7 .blog-title .arrow-header {
  margin-top: 32px;
  background: url(/wp-content/themes/mightycall2021/img/page-blog/arrow-link.svg)
    no-repeat;
  height: 10px;
  width: 20px;
}
.pop-post .arrow-header {
  margin: 18px;
  background: url(/wp-content/themes/mightycall2021/img/page-blog/arrow-link.svg)
    no-repeat;
  height: 10px;
  width: 20px;
}
.category-item:hover .arrow-header,
.pop-post:hover .arrow-header,
.article-block .link_to:hover .arrow-header {
  animation-name: hvr-wobble-horizontal;
  -webkit-animation-name: hvr-wobble-horizontal;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
}

.post1 .blog-title span,
.post8 .blog-title span {
  color: #333333;
}

.blog-item .blog-title a {
  text-decoration: none;
  color: #333333;
  font-family: "Source Serif Pro", serif;
  font-style: normal;
  font-weight: 600;
  font-size: 28px;
  line-height: 40px;
}
.img-block {
  max-width: 322px;
  height: 100%;
  max-height: 400px;
  position: relative;
  overflow: hidden;
  /* border-left: 3px solid #f1f3f6; */
  flex-basis: 48%;
}
.pop-post .img-block {
  max-width: 100%;
  flex-basis: 43%;
}
.img-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.post-categories {
  position: absolute;
  top: 16px;
  right: 0px;
  font-size: 11px;
  line-height: 1;
  margin-top: 0;
  margin-bottom: 3px;
  padding: 0;
  background: #333333;
  color: #cdfb3e;
  z-index: 2;
  padding: 0px 4px 0px 16px;
  font-family: "Kanit", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  transition: all 0.3s ease;
}
.pop-post .post-categories {
  font-size: 14px;
}
.post1 .post-categories,
.post8 .post-categories {
  right: -3px;
}
.post-categories li {
  list-style-type: none;
}
.blog-content .post-categories a {
  text-decoration: none;
  color: #cdfb3e;
  letter-spacing: 0;
  transition: all 0.3s ease;
}
.post-categories:focus,
.post-categories:hover {
  background-color: #cdfb3e;
  cursor: pointer;
}
.post-categories.page-category:focus,
.post-categories.page-category:hover {
  background-color: #333333;
}
.post-categories:focus a,
.post-categories:hover a {
  color: #333;
  cursor: pointer;
}
/* author block */
.author-block {
  display: flex;
  align-items: center;
  order: 3;
  justify-content: space-between;
  padding-left: 33px;
  padding-right: 30px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.category-item .author,
.article-block .author {
  display: flex;
  align-items: center;
}
.author-block-large,
.author-block-small {
  display: none;
}
.post1 .author-block-large,
.post8 .author-block-large {
  display: flex;
}
.post2 .author-block-small,
.post3 .author-block-small,
.post4 .author-block-small,
.post5 .author-block-small,
.post6 .author-block-small,
.post7 .author-block-small {
  display: flex;
}
.author-photo {
  object-fit: cover;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  margin-right: 16px;
}
.author-name {
  font-family: "Open Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  color: #112336;
}
.pop-post .author-block {
  padding-left: 15px;
  padding-right: 15px;
}
.pop-post .author-name {
  font-size: 12px;
}
.pop-post .article__time {
  font-size: 12px;
}
.author-block .publication-date {
  font-size: 12px;
}
/* Pagination style  */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  padding-bottom: 193px;
}
.pagination-section {
  z-index: 0;
  display: flex;
  flex-basis: 100%;
  justify-content: center;
}
.pagination {
  display: flex;
  justify-content: center;
  position: relative;
  margin: 61px 0 0px;
  padding-left: 0;
  list-style-type: none;
  text-align: center;
  border: none;
}
.pagination li,
.pagination--single li {
  margin-bottom: 0;
}
.page-numbers.next,
.page-numbers.prev {
  z-index: 0;
  top: 0;
  color: #1a1919;
  display: flex;
  align-items: center;
}
.pagination li a,
.pagination li span,
.pagination--single li a,
.pagination--single li span {
  position: relative;
  z-index: 0;
  padding: 6px 12px;
  -webkit-transition: all 0.15s linear;
  transition: all 0.15s linear;
  text-transform: uppercase;
  border: 1px solid transparent;
  background: #fff;
  font-family: "Open Sans", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 24px;
  line-height: 40px;
  color: #333333;
  transition: all 0.3s ease;
}
.pagination li .page-numbers:hover {
  color: #cdfb3e;
}
.pagination li .page-numbers.dots {
  color: #333333;
}

.nav > li,
.nav > li a {
  display: flex;
  align-items: center;
  zoom: 1;
  text-decoration: none;
}
.page-numbers.next.disabled,
.page-numbers.prev.disabled {
  pointer-events: none;
  color: #f0f0f0 !important;
}
.pagination li span.current,
.pagination li span.current:hover,
.pagination--single li span.current {
  background-color: #333333;
  color: #cdfb3e;
}
.page-numbers.prev:before {
  margin-right: 12px;
  content: "";
  background: url(/wp-content/themes/mightycall2021/img/page-blog/arrow-prev.svg)
    no-repeat;
  display: block;
  width: 51px;
  height: 16px;
}
.page-numbers.next:after {
  margin-left: 12px;
  content: "";
  background: url(/wp-content/themes/mightycall2021/img/page-blog/arrow-next.svg)
    no-repeat;
  display: block;
  width: 51px;
  height: 16px;
}

/* popular & related posts styles*/
.popular-posts-section,
.related-posts-section {
  padding-bottom: 190px;
}
.gray {
  background: #f3f6f8;
  padding-top: 56px;
  padding-bottom: 145px;
}
.related-posts-header,
.popular-posts-header {
  font-family: "Kanit", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 36px;
  line-height: 64px;
  color: #4c75e6;
  padding-bottom: 33px;
}
.popular-posts-block {
  display: flex;
  justify-content: space-between;
}
.pop-post {
  flex-basis: 23.5%;
  text-decoration: none;
  background-color: #fff;
}
.pop-post-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  justify-content: space-between;
  height: 100%;
}
.pop-post .post-categories a {
  text-decoration: none;
  color: #cdfb3e;
}
.pop-post .post-categories a:hover {
  color: #333;
}
.no-posts {
  font-family: "Open Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 40px;
  color: #112336;
}

@media screen and (max-width: 1272px) {
  .blog-template-top-header {
    padding-top: 24px;
    padding-bottom: 46px;
  }
  nav.blog-breadcrumbs {
    order: 3;
    flex-basis: 100%;
  }
  .blog-template-top-header h1.blog-template-header,
  .blog-template-top-header .blog-template-header.post-header {
    flex-basis: 48%;
    display: flex;
    justify-content: flex-start;
  }
  .post-categories {
    right: -3px;
    background-color: #112336;
    font-size: 14px;
  }
  .review-block,
  .review-block-2 {
    margin: 0px auto;
  }
  .faq {
    padding-top: 7.5rem;
  }
  h2.blog-template-header-h2 {
    text-align: left;
    margin: 0;
    max-width: 514px;
  }
  .blog-main .blog-content .all-content {
    flex-basis: 82%;
    gap: 32px 32px;
    grid-template-areas:
      "post1 post1"
      "post2 post3"
      "post4 post5"
      "post6 post7"
      "post8 post8";
  }
  .article-block {
    margin-left: 0;
    margin-right: 0;
    border: 3px solid #f1f3f6;
  }
  .article-block .link_to {
    flex-direction: column;
    justify-content: flex-start;
    height: fit-content;
  }
  .category-item .link_to.category-block {
    flex-direction: column-reverse;
    border: 3px solid #f1f3f6;
  }
  .blog-content .blog-item.category-item {
    flex-basis: 32%;
    margin-bottom: 30px;
  }
  .blog-item.category-item .img-block {
    max-width: none;
    flex-basis: content;
  }
  .category-item .title-container {
    border: none;
    flex-basis: 59%;
  }
  .post1 .link_to,
  .post8 .link_to {
    height: fit-content;
  }
  .article-block .blog-title span {
    color: #333333;
  }
  .post1 .blog-title span,
  .post6 .blog-title span {
    color: #333;
  }
  .article-block .img-block {
    flex-basis: 60%;
    order: 1;
    max-width: 100%;
    max-height: 100%;
    border: none;
  }
  .article-block .title-container {
    order: 2;
    flex-basis: 40%;
    border: none;
    margin: 16px 0;
  }
  .article-block .blog-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 36px;
    margin: 19px 19px;
  }

  .post1 .title-container,
  .post8 .title-container {
    flex-basis: 10%;
    border: 6px solid #4c75e6;
    margin: -130px 29px 0px 29px;
    z-index: 1;
    order: 2;
    background: #fff;
  }

  .article-block.pop-post .blog-title,
  .category-item .blog-title,
  .article-block .blog-title {
    margin-left: 21px;
    font-size: 18px;
    line-height: 32px;
  }

  .post1 .blog-title,
  .post8 .blog-title {
    font-family: "Kanit", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 44px;
    line-height: 56px;
    margin-top: 13px;
  }
  .article-block.pop-post .blog-title {
    margin-left: 17px;
  }
  .author-block {
    padding-left: 22px;
    padding-right: 22px;
  }
  .post1 .author-block-large,
  .post8 .author-block-large {
    display: flex;
    padding-left: 29px;
    padding-right: 29px;
  }
  .post1 .link_to .blog-title .arrow-header,
  .post8 .link_to .blog-title .arrow-header {
    display: none;
  }
  .post1 .blog-excerpt .arrow-header,
  .post8 .blog-excerpt .arrow-header {
    background: url(/wp-content/themes/mightycall2021/img/page-blog/arrow-link.svg)
      no-repeat;
    height: 10px;
    width: 20px;
    display: block;
  }
  .post1 .img-block,
  .post8 .img-block {
    margin: 0;
  }
  .article-block .blog-excerpt {
    display: none;
    order: 3;
    padding: 29px;
  }
  .post1 .blog-excerpt,
  .post8 .blog-excerpt {
    display: flex;
    flex-direction: column;
    padding-top: 0;
    flex-basis: 25%;
  }
  .blog-excerpt p {
    margin-top: 32px;
  }
  .post1 .blog-excerpt p,
  .post8 .blog-excerpt p {
    margin-top: 0;
  }
  .post2 .author-block-small,
  .post3 .author-block-small,
  .post4 .author-block-small,
  .post5 .author-block-small,
  .post6 .author-block-small,
  .post7 .author-block-small {
    padding-top: 0;
    padding-bottom: 0;
  }
  .pagination {
    margin: 0;
  }
  .pagination-wrapper {
    padding-bottom: 64px;
  }
  /* popular posts styles  */
  .article-block.pop-post:last-child {
    display: none;
  }
  .pop-post {
    flex-basis: 32%;
  }
  .pop-post .arrow-header {
    order: 4;
    flex-basis: 3%;
  }
  .pop-post .img-block {
    margin: 0;
    flex-basis: 48%;
  }
  .tag-block .author-block,
  .category-block .author-block,
  .pop-post .author-block {
    flex-wrap: wrap;
  }
  .author-name {
    font-size: 12px;
  }
  .post1 .author-name,
  .post8 .author-name {
    font-size: 14px;
  }
  .tag-block .author,
  .category-block .author,
  .pop-post .author {
    flex-basis: 100%;
    align-items: flex-start;
  }
  .author-block .article__time {
    font-size: 12px;
  }
  .post1 .author-block .article__time,
  .post8 .author-block .article__time {
    font-size: 14px;
  }
  .tag-block .author-block .publication-date,
  .category-block .author-block .publication-date,
  .pop-post .author-block .publication-date {
    padding-left: 55px;
    margin-top: -18px;
    font-size: 10px;
  }
  .tag-block {
    flex-direction: column-reverse;
  }
  .tag-block .author-block {
    padding-left: 21px;
    padding-right: 21px;
  }
}
@media screen and (max-width: 959.5px) {
  .page-numbers.next:after,
  .page-numbers.prev:before {
    font-size: 14px;
  }
  .pop-post .img-block {
    margin: 0;
    flex-basis: 32%;
  }
}
@media screen and (max-width: 799px) {
  .blog-template-top-header {
    padding-top: 22px;
    padding-bottom: 22px;
    flex-direction: column;
    align-items: center;
  }
  nav.blog-breadcrumbs {
    order: 1;
  }
  .blog-breadcrumb {
    font-size: 16px;
  }
  .blog-template-top-header h1.blog-template-header,
  .blog-template-top-header .blog-template-header.post-header {
    flex-basis: 100%;
    order: 2;
    font-size: 32px;
    line-height: 57px;
    margin-bottom: 14px;
    justify-content: center;
  }
  div.blog-template-header {
    order: 3;
    flex-basis: 100%;
    display: flex;
    justify-content: flex-end;
  }
  .category div.blog-template-header {
    order: 4;
  }
  .blog-categories-button {
    font-size: 12px;
    line-height: 24px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    border-radius: 7px;
    width: 320px;
    text-align: center;
    justify-content: center;
  }
  h2.blog-template-header-h2 {
    order: 3;
    text-align: center;
    margin: 16px auto;
    padding: 0;
  }
  .categories-section {
    width: 320px;
    top: 35px;
    right: 50%;
    transform: translateX(50%);
  }
  .post-categories {
    display: none;
  }
  .article-block .img-block {
    max-height: 331px;
    flex-basis: 48%;
  }
  .article-block .link_to {
    /* height: 100%; */
  }
  .blog-main-category {
    margin-top: 36px;
  }
  .blog-template-top {
    padding-top: 24px;
    padding-bottom: 70px;
  }
  .blog-template-top h1.blog-template-header {
    font-size: 50px;
    line-height: 64px;
    letter-spacing: 0px;
  }
  .container .blog-template-breadcrumbs p,
  .container .blog-template-breadcrumbs a {
    font-size: 15px;
    line-height: 24px;
    letter-spacing: 0.1px;
  }
  .content-wrapper {
    padding-right: 20px;
    padding-left: 20px;
    margin: 0 auto;
  }
  .post2 .author-block-small,
  .post3 .author-block-small,
  .post4 .author-block-small,
  .post5 .author-block-small,
  .post6 .author-block-small,
  .post7 .author-block-small {
    flex-direction: column;
    flex-wrap: wrap;
    padding: 0px 0px 16px;
  }
  .post2 .author-block-small .author,
  .post3 .author-block-small .author,
  .post4 .author-block-small .author,
  .post5 .author-block-small .author,
  .post6 .author-block-small .author,
  .post7 .author-block-small .author {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
  }
  .post1 .link_to .title-container,
  .post8 .link_to .title-container {
    margin: -33px 32px 0px 26px;
    width: 75%;
  }
  .post1 .link_to .blog-title,
  .post8 .link_to .blog-title {
    font-size: 26px;
    line-height: 32px;
  }
  .blog-main .blog-content .social-media-header {
    font-size: 20px;
    line-height: 24px;
  }
  .blog-excerpt p {
    font-size: 20px;
    line-height: 24px;
    margin-top: 0;
  }
  .pagination li a,
  .pagination li span,
  .pagination--single li a,
  .pagination--single li span {
    font-size: 20px;
    line-height: 24px;
    padding: 0px 6px;
  }
  .page-numbers.prev:before {
    margin-right: 0px;
    width: 35px;
    background-size: contain;
    background-position: center;
  }
  .page-numbers.next:after {
    margin-left: 0px;
    width: 35px;
    background-size: contain;
    background-position: center;
  }
}
@media screen and (max-width: 799px) {
  .blog-main .blog-content {
    flex-direction: column;
  }
  .blog-main-category .blog-content {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .blog-content .blog-item.category-item {
    flex-basis: 48%;
  }
  .blog-main .blog-content .empty-after-block {
    display: none;
  }
  .blog-main .blog-content .social-media-block {
    margin-right: 0;
  }
  .blog-main .blog-content .social-media-content {
    position: static;
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
    align-items: baseline;
  }
  .blog-main .blog-content .social-media-header {
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 0;
  }
  .blog-main .blog-content .social-media-list {
    display: none;
  }
  .blog-main .blog-content .social-media-list-mobile {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 0;
  }
  .blog-main .blog-content .social-media-item {
    margin-left: 24px;
    margin-bottom: 0;
  }
  .container,
  .container-fluid {
    padding-right: 0px;
    padding-left: 0px;
  }
  .blog-main .blog-content .all-content {
    flex-basis: 100%;
    gap: 16px 16px;
    grid-template-columns: 48.4% 48.4%;
  }
  .all-content .review {
    border-right: 0;
  }
  .page-numbers.prev:before {
    margin-right: 0px;
    width: 20px;
    height: 20px;
    background-size: cover;
    background-position: left;
  }
  .page-numbers.next:after {
    margin-left: 0px;
    width: 20px;
    height: 20px;
    background-size: cover;
    background-position: right;
  }
  .blog-excerpt p {
    margin-top: 56px;
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 17px;
  }
  .article-block .post-categories,
  .article-block .post-categories a {
    display: none;
  }
  .post1 .post-categories,
  .post8 .post-categories,
  .post1 .post-categories a,
  .post8 .post-categories a {
    display: block;
  }
  .article-block .blog-excerpt {
    order: 4;
    padding-bottom: 18px;
  }
  .article-block .title-container {
    order: 3;
  }
  .article-block .blog-title {
    margin-top: 0;
  }
  .post1 .title-container,
  .post8 .title-container {
    margin: -35px 32px 0px 26px;
    border: 2px solid #4c75e6;
  }
  .category-item .title-container {
    flex-basis: 75%;
  }
  .post1 .blog-title,
  .post8 .blog-title {
    font-size: 26px;
    line-height: 32px;
  }
  .article-block.pop-post:nth-child(3) {
    display: none;
  }
  .pop-post {
    flex-basis: 48%;
  }
  .pop-post .author-block {
    flex-direction: column;
  }
  .tag-block .blog-title,
  .category-block .blog-title,
  .article-block .blog-title,
  .article-block.pop-post .blog-title {
    font-size: 18px;
    line-height: 20px;
    margin: 16px 9px;
    font-weight: 500;
  }
  .tag-block .author,
  .category-block .author,
  .pop-post.category-item .author,
  .pop-post.article-block .author {
    flex-direction: column;
    align-items: center;
  }
  .author-block .article__time {
    font-size: 10px;
  }
  .tag-block .author-block .publication-date,
  .category-block .author-block .publication-date,
  .pop-post .author-block .publication-date {
    margin: 0 auto;
    padding: 0;
  }
  .pop-post .arrow-header {
    order: 4;
    flex-basis: 3%;
    margin: 16px auto;
  }
  .pagination {
    margin: 0;
  }
  .pagination-wrapper {
    padding-bottom: 72px;
  }
  .gray {
    padding-top: 33px;
    padding-bottom: 123px;
  }
  .related-posts-header,
  .popular-posts-header {
    font-size: 32px;
    padding-bottom: 24px;
  }
  .tag-block .author-block {
    padding-left: 9px;
    padding-right: 9px;
  }
}
@media screen and (max-width: 670px) {
  .pop-post .img-block {
    min-height: 150px;
    max-height: 150px;
  }
}
@media screen and (max-width: 480px) {
  .blog-main-category {
    margin-top: 32px;
  }
  .blog-main .blog-content .social-media-list-mobile {
    padding-left: 0;
    margin: 0;
  }
  .blog-main .blog-content .social-media-item {
    margin-left: 16px;
  }
  .article-block .title-container {
    margin-right: 0;
  }
}
