.blog {
  background: url("images/bg.png") repeat-y center/150%;
}

/* Post cards*/

.post-card {
  margin-bottom: 90px;
}

.post-card a {
  display:  block;
  position: relative;
  height:   100%;
}

.post-card a::after {
  content:          '';
  display:          block;
  position:         absolute;
  left:             0;
  bottom:           0;
  width:            100%;
  height:           100%;
  max-height:       50%;
  background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8), #fff);
  filter:           drop-shadow(20px 20px 24px rgba(202, 202, 202, 0.75));
  transition:       300ms all ease-in;
}

.droplet-path {
  fill:   rgba(255, 255, 255, 0.8);
}

.post-card a svg {
  position:         absolute;
  top:              100%;
  left:             0;
  z-index:          1;
  filter:           drop-shadow(20px 20px 24px rgba(202, 202, 202, 0.75));
  transform:        scaleY(0);
  transform-origin: 0 0;
  transition:       300ms all ease;
}

.post-card img {
  object-fit: cover;
  height:     100%;
  width:      100%;
}

.post-card .post-card_content {
  position:   absolute;
  bottom:     5px;
  left:       10px;
  right:      10px;
  text-align: center;
  z-index:    2;
}

.post-card .post-card_title {
  color:         #0d1e42;
  margin-bottom: 5px;
  font-size:     17px;
  font-weight:   400;
}

.post-card_big .post-card_content {
  bottom: 30px;
  left:   30px;
  right:  30px;
}

.post-card_big .post-card_title {
  margin-bottom: 0;
  font-size:     45px;
}

@media screen and (min-width: 992px) {
  .post-card:hover a::after {
    max-height: 100%;
  }

  .post-card:hover a svg {
    transform: scaleY(1);
  }
}

@media screen and (max-width: 1199px) {
  .post-card_big .post-card_title {
    font-size: 36px;
  }
}

@media screen and (max-width: 991px) {
  .post-card_big .post-card_title {
    font-size: 30px;
  }
}

@media screen and (max-width: 767px) {
  .post-card {
    margin-bottom: 45px;
  }

  .post-card_big .post-card_content {
    bottom: 10px;
    left:   15px;
    right:  15px;
  }

  .post-card_big .post-card_title {
    font-size: 17px;
  }
}

/* Featured posts*/

.featured_cards {
  min-height: 300px;
}

.featured_cards a::after {
  max-height: 70%;
}

.featured_cards .featured-label {
  position:         absolute;
  top:              30px;
  left:             -15px;
  background-color: #9bcb4e;
  color:            #fff;
  text-transform:   uppercase;
  font-size:        17px;
  padding:          0 20px;
}

.featured_cards .featured-label::before {
  content:    '';
  display:    block;
  position:   absolute;
  top:        100%;
  left:       0;
  background: #cacaca;
  width:      15px;
  height:     5px;
  clip-path:  polygon(0% 0%, 100% 0%, 100% 100%, 0 0%);
}

@media screen and (max-width: 991px) {
  .featured_cards {
	min-height: 200px;
  }
}

/* Single post*/

.single-post_title {
  margin-bottom: 60px;
}

.single-post_image {
  margin-bottom: 20px;
}

.section-labels {
  border:        1px solid #9bcb4e;
  padding:       30px 30px 30px 60px;
  margin-bottom: 60px;
}

.section-labels p {
  margin-bottom:  30px;
  font-size:      21px;
  text-transform: uppercase;
  line-height:    1;
  font-weight:    500;
}

.section-labels a {
  display:       block;
  font-size:     18px;
  line-height:   32px;
  margin-bottom: 10px;
  transition:    300ms all ease;
  position:      relative;
}

.section-labels a::before {
  content:          '';
  display:          block;
  position:         absolute;
  top:              10px;
  left:             -30px;
  transition:       300ms all ease;
  width:            8px;
  height:           13px;
  background-color: #c6c6c5;
  mask:             url("images/Bulleting.svg") no-repeat center/8px;
  -webkit-mask:     url("images/Bulleting.svg") no-repeat center/8px;
}

.single-post_content h2 {
  margin-top: 60px;
}

.single-post_content p {
  margin-bottom: 50px;
}

.single-post_content img {
  margin-bottom: 30px;
  width:         100% !important;
  height:        auto !important;
  max-width:     100% !important;
}

.single-post_content ul,
.single-post_content ol {
  padding-left: 65px;
}

.single-post_content ul {
  margin-bottom: 60px;
}

.single-post_content ol {
  margin-bottom: 30px;
}

.single-post_content ul li:not(:last-of-type) {
  margin-bottom: 30px;
}

.single-post_content blockquote {
  margin-bottom: 60px;
  border:        1px solid #0d1e42;
  border-radius: 13px;
  margin-left:   -60px;
  padding:       30px 40px 30px 60px;
  position:      relative;
}

.single-post_content blockquote::before,
.single-post_content blockquote::after {
  content:  '';
  display:  block;
  position: absolute;
}

.single-post_content blockquote::before {
  width:      130px;
  height:     150px;
  background: url(images/blockqoute.svg) no-repeat center/85px;
  top:        -50px;
  left:       -70px;
  z-index:    2;
}

.single-post_content blockquote::after {
  width:         60px;
  height:        100px;
  top:           -1px;
  left:          -1px;
  z-index:       1;
  border-radius: 13px;
  border-left:   1px solid #fff;
  border-top:    1px solid #fff;
}

.single-post_content blockquote p {
  color:     #0d1e42;
  font-size: 18px;
}

.single-post_content blockquote .quote {
  font-weight:   700;
  font-style:    italic;
  margin-bottom: 30px;
  line-height:   36px;
}

.single-post_content blockquote p:last-of-type {
  margin: 0;
}

.single-post_content blockquote p:last-of-type span {
  color: #5c5c5c;
}

@media screen and (min-width: 992px) {
  .section-labels a:hover {
	box-shadow: 20px 20px 10px 0 rgba(202, 202, 202, 0.5);
  }

  .section-labels a:hover::before {
	background-color: #9bcb4e;
  }
}

@media screen and (max-width: 767px) {
  .single-post_title {
	font-size:  32px;
	text-align: left;
  }

  .single-post_content blockquote {
	margin-left: 0;
	padding:     30px;
  }

  .single-post_content blockquote::before {
	width:           70px;
	height:          90px;
	background-size: 70px;
	top:             -32px;
	left:            -48px;
  }
}

@media screen and (max-width: 575px) {
  .single-post_image {
	padding:       0;
	margin-bottom: 15px;
  }

  .single-post_title {
	margin-bottom: 30px;
  }

  .section-labels {
	padding:      15px 30px 15px 40px;
	border-right: none;
	border-left:  none;
	margin:       0 -15px 30px;
  }

  .section-labels p {
	font-size: 16px;
  }

  .section-labels a {
	font-size: 16px;
  }

  .section-labels a::before {
	left: -25px;
  }

  .single-post_content ul,
  .single-post_content ol {
	padding-left: 30px;
  }

  .single-post_content ul li::before,
  .single-post_content ol li::before {
	left: -20px;
  }

  .single-post_content blockquote p {
	font-size: 16px;
  }
}

/* Related posts cards*/
.related-posts .post-card {
  margin-bottom: 0;
}

.related-posts h4 {
  text-align: center;
  text-transform: uppercase;
}

@media screen and (max-width: 991px) {
  .related-posts .post-card .post-card_title {
    font-size: 14px;
  }
}

@media screen and (max-width: 767px) {
  .related-posts .post-card {
    margin-bottom: 30px;
  }

  .related-posts .post-card .post-card_title {
    font-size: 17px;
  }
}

/* Pagination */
.pagination-container {
  margin-bottom: 40px;
}

.pagination {
  justify-content: center;
  box-shadow: 1px 1px 15px 0 rgba(0, 0, 0, 0.3);
  border-radius: 0;
  max-width: 320px;
  margin: 0 auto;
  padding: 15px 0;
}

.pagination .pagination-link {
  display: block;
  padding: 5px;
  font-size: 14px;
  color: #231f20;
  font-weight: 300;
}

.pagination .pagination-link.active {
  color: #9bcb4e;
  font-weight: 700;
  position: relative;
}

.pagination .pagination-link.active::after {
  content: '';
  display: block;
  height: 40px;
  border-left: 1px solid #231f20;
  position: absolute;
  top: -40px;
  left: 50%;
}

.pagination-arrows {
  max-width: 100px;
  margin: -10px auto 0;
  height: 40px;
  background: #0d1e42;
  align-items: center;
  justify-content: center;
}

.pagination-arrows .pagination-link {
  flex: 1 0 49%;
  height: 40px;
  display: block;
  position: relative;
}

.pagination-arrows .pagination-link::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-bottom: 2px solid #fff;
  position: absolute;
  top: 50%;
  left: 50%;
}

.pagination-arrows .pagination-link:nth-of-type(1)::after {
  border-left: 2px solid #fff;
  transform: translate(-50%, -50%) rotate(45deg) skew(-10deg, -10deg);
}

.pagination-arrows .pagination-link:nth-of-type(2)::after {
  border-right: 2px solid #fff;
  transform: translate(-50%, -50%) rotate(-45deg) skew(10deg, 10deg);
}

.pagination-arrows .divider {
  height: 15px;
  width: 0;
  border-right: 2px solid #fff;
}