/* Blog */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem;
}

.blog-pagination {
  display: flex;
  justify-content: center;
  margin-top: 5rem;
}

.blog-image-wrap img {
  min-height: 25rem;
  max-height: 25rem;
  object-fit: cover;
  width: 100%;
}

.blog .page-numbers.current {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background: #90cc84;
  color: white;
  border-radius: 100%;
  height: 3rem;
  width: 3rem;
}

.single-post .entry-content {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.single-post .entry-content .inner > * + * {
  margin-top: 4rem;
}

.single-post .entry-content.container {
  max-width: 80rem;
  margin: 0 auto;
}

.related-posts-block {
  padding-bottom: 5rem;
}

.related-posts-block .blog-link {
  margin-top: 2rem;
}

.related-posts-block h3 {
  margin-bottom: 3rem;
}

.profile-wrapper-block .container .inner {
  background: #f7f8fa;
  padding: 4rem;
}

.single-post .related-posts-block .container,
.single-post .profile-wrapper-block .container {
  max-width: 1320px;
  margin: 0 auto;
}

.blog-title-wrap {
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.blog .nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.blog-link {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.blog .blog-link-wrap,
.single-post .blog-link-wrap {
  text-decoration: none;
  display: block;
  margin-top: 2rem;
}

.blog-cat {
  color: #90cc84;
}

.blog-title {
  font-family: Montserrat;
  font-size: 20px;
  font-weight: bold;
  font-stretch: normal;
  text-transform: uppercase;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #022a4c;
}

.blog-container {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.blog-excerpt-wrap p {
  font-family: Montserrat;
  font-size: 16px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.38;
  letter-spacing: normal;
  color: #022a4c;
}

.blog-link-wrap {
  font-family: Montserrat;
  font-size: 16px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.38;
  letter-spacing: normal;
  color: #022a4c;
}

@media only screen and (max-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

/* End Blog */

.greyed {
  opacity: 0.5;
}

.profile-wrapper {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 4rem;
}

.profile-wrapper .flexer {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.profile-wrapper.bottom {
  justify-content: left;
	display: block;
  margin-bottom: 0rem;
}

.profile-wrapper-grid {
  display: grid;
  align-items: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-wrapper img {
  border-radius: 999px;
  object-fit: cover;
  width: 6rem;
  height: 6rem;
}

.author-name {
  font-family: Montserrat;
  font-size: 20px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #022a4c;
}

.author-tagline {
  font-family: Montserrat;
  font-size: 15px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.73;
  letter-spacing: normal;
  color: #022a4c;
}

.author-about {
  font-family: Montserrat;
  font-size: 25px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: -0.68px;
  color: #022a4c;
  margin-bottom: 1rem;
}

.profile-wrapper.bottom img {
  width: 12rem;
  height: 12rem;
}

.blog .hero,
.single .hero {
  position: relative;
  min-height: 405px;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.blog .hero .inner,
.single .hero .inner {
  width: 100%;
}

.blog .hero .heading,
.single .hero .heading {
  color: #fff;
  margin-bottom: 46px;
}

.blog .hero .background-image,
.single .hero .background-image {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: -1;
  width: 100%;
  height: 100%;
}

.blog .hero .background-image img,
.blog .hero .background-image picture,
.single .hero .background-image img,
.single .hero .background-image picture {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

@media only screen and (max-width: 768px) {
  .blog .hero,
  .single .hero {
    min-height: 280px;
    padding: 25px 0;
  }

  .profile-wrapper-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
  }

  .blog .hero .heading,
  .single .hero .heading {
    margin-bottom: 17px;
  }
}

@media only screen and (max-width: 470px) {
  .blog .hero,
  .single .hero {
    padding: 25px 0;
  }
}
