/* ------------------------------------------------------------------
   BLOG STYLES
   - Homepage blog section
   - Blog listing
   - Blog sidebar
   - Pagination
   - Post page
   - Prev/Next navigation
------------------------------------------------------------------- */

/* ======= HomePage Blog style ======= */
.homepage-blog .img {
  position: relative;
  overflow: hidden;
}
.homepage-blog .img:hover img {
  filter: none;
  transform: scale(1.09, 1.09);
  transition: all 1s ease;
}
.homepage-blog .img img {
  transition: all 0.5s;
}
.homepage-blog .content {
  width: 100%;
  padding: 30px;
}
.homepage-blog .content .date {
  display: table-cell;
  position: relative;
  width: 80px;
  z-index: 2;
}
.homepage-blog .content .date h1 {
  font-size: 48px;
  font-weight: 700;
  color: #18191d;
  margin-bottom: 0px;
  line-height: 1em;
}
.homepage-blog .content .date h6 {
  color: #868a9b;
  letter-spacing: 0px;
  text-transform: none;
  padding-right: 3px;
  font-size: 14px;
  font-family: var(--font-syne), sans-serif;
  font-weight: 400;
}
.homepage-blog .content .cont {
  display: table-cell;
  vertical-align: middle;
  padding-left: 15px;
}
.homepage-blog .content .cont h5 {
  margin-bottom: 20px;
  font-size: 27px;
  color: #18191d;
}
.homepage-blog .content .info h6 {
  font-weight: 400;
  font-size: 14px;
  color: #868a9b;
  margin-bottom: 20px;
  text-transform: none;
  letter-spacing: 0px;
}
.homepage-blog .content .info .tags {
  color: #18191d;
}
@media screen and (max-width: 991px) {
  .homepage-blog .content {
    padding: 0 30px;
    margin-top: 40px;
  }
  .homepage-blog .content .cont h4 {
    line-height: 1.25em;
  }
  .order2 {
    order: 2 !important;
  }
  .order1 {
    order: 1 !important;
  }
}
@media screen and (max-width: 480px) {
  .homepage-blog .content {
    padding: 0 15px;
  }
  .homepage-blog .content .date {
    width: 60px;
  }
  .homepage-blog .content .info .tags {
    margin: 5px 0 0;
  }
  .homepage-blog .content .date h3 {
    font-size: 40px;
  }
}

/* ======= Blog style ======= */
.blog .item {
  margin-bottom: 30px;
}
.blog .post-img {
  position: relative;
  overflow: hidden;
}
.blog .post-img:hover img {
  filter: none;
  transform: scale(1.05, 1.05);
  transition: all 1s ease;
}
.blog .post-img a {
  display: block;
}
.blog .post-img img {
  transition: all 0.5s;
}
.blog .post-img .date {
  display: inline-block;
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #fff;
  border: 1px solid #fff;
  color: #18191d;
  padding: 15px;
  text-align: center;
}
.blog .post-img .date span {
  font-family: var(--font-syne), sans-serif;
  display: block;
  font-size: 12px;
  line-height: 1em;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #18191d;
}
.blog .post-img .date i {
  font-family: var(--font-syne), sans-serif;
  font-style: normal;
  display: block;
  font-size: 30px;
  font-weight: 700;
  color: #18191d;
}
.blog .post-cont {
  padding: 30px 0;
}
.blog .post-cont h4 {
  font-size: 36px;
  margin-bottom: 20px;
}
.blog .post-cont h4 a,
.blog .post-cont h5 a:hover {
  color: #18191d;
}

/* news sidebar */
.blog-sidebar .widget {
  background: #fff;
  padding: 30px;
  margin-bottom: 30px;
  overflow: hidden;
}
.blog-sidebar .widget ul {
  margin-bottom: 0;
  padding: 0;
}
.blog-sidebar .widget ul li {
  margin-bottom: 20px;
  color: #868a9b;
  font-size: 16px;
  line-height: 1.5em;
}
.blog-sidebar .widget ul li a {
  color: #868a9b;
}
.blog-sidebar .widget ul li a.active {
  color: #18191d;
}
.blog-sidebar .widget ul li a:hover {
  color: #18191d;
}
.blog-sidebar .widget ul li:last-child {
  margin-bottom: 0;
}
.blog-sidebar .widget ul li i {
  font-size: 8px;
  margin-right: 10px;
  color: #18191d;
}
.blog-sidebar .widget .recent li {
  display: block;
  overflow: hidden;
}
.blog-sidebar .widget .recent .thum {
  width: 90px;
  overflow: hidden;
  float: left;
}
.blog-sidebar .widget .recent a {
  display: block;
  margin-left: 105px;
}
.blog-sidebar .widget-title {
  margin-bottom: 20px;
}
.blog-sidebar .widget-title h5 {
  padding-bottom: 5px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.04);
  font-size: 24px;
  line-height: 1.75em;
  margin-bottom: 15px;
  color: #18191d;
}
.blog-sidebar .search form {
  position: relative;
}
.blog-sidebar .search form input {
  width: 100%;
  padding: 10px;
  border: 0;
  background: #f4f5f7;
  margin-bottom: 0;
  border-radius: 0px;
}
.blog-sidebar .search form button {
  position: absolute;
  right: 0;
  top: 0;
  background-color: transparent;
  color: #18191d;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.blog-sidebar .tags li {
  margin: 5px !important;
  padding: 10px 20px;
  background-color: #f4f5f7;
  border: none;
  color: #868a9b !important;
  float: left;
}
.blog-sidebar ul.tags li a {
  font-size: 14px;
  color: #868a9b;
}
.blog-sidebar ul.tags li:hover,
.blog-sidebar ul.tags li a:hover {
  background-color: #18191d;
  color: #fff;
}

/* pagination */
.pagination-wrap {
  padding: 0;
  margin: 0;
  text-align: center;
}
.pagination-wrap li {
  display: inline-block;
  margin: 0 5px;
}
.pagination-wrap li a {
  background: transparent;
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 45px;
  text-align: center;
  color: #999;
  font-weight: 400;
  border: 2px solid rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  font-size: 16px;
}
.pagination-wrap li a i {
  font-size: 11px;
}
.pagination-wrap li a:hover {
  opacity: 1;
  text-decoration: none;
  background: #18191d;
  border: 2px solid #18191d;
  color: #fff;
}
.pagination-wrap li a.active {
  background-color: #18191d;
  border: 2px solid #18191d;
  color: #fff;
}
@media screen and (max-width: 768px) {
  .pagination-wrap {
    padding: 0;
    margin: 0;
    text-align: center;
  }
}

/* ======= Post style ======= */
.blog-post-section {
  padding-top: 120px;
}
.blog-comment-section {
  padding-top: 60px;
  margin-bottom: 60px;
}
.blog-comment-section h3 {
  font-size: 21px;
  color: #18191d;
}
.blog-comment-section h3 span {
  font-size: 14px;
  color: #868a9b;
  font-weight: 400;
  margin-left: 15px;
}
.blog-post-caption h1 {
  margin-bottom: 20px;
  font-size: 40px;
  text-transform: uppercase;
}
.blog-post-comment-wrap {
  display: flex;
  margin-bottom: 60px;
}
.blog-post-user-comment {
  margin-right: 30px;
  flex: 0 0 auto;
}
.blog-post-user-comment img {
  border-radius: 100%;
  width: 100px;
}
.blog-post-user-content {
  margin-right: 26px;
}
.blog-post-repay {
  font-size: 14px;
  margin: 0;
  font-weight: 400;
}
.blog-post-categorydate-wrapper {
  display: flex;
  margin-bottom: 10px;
  align-items: center;
  color: #868a9b;
  font-size: 14px;
}
.blog-post-categorydate-wrapper a {
  color: #18191d;
}
.blog-post-categorydate-divider {
  width: 20px;
  height: 2px;
  margin-right: 15px;
  margin-left: 15px;
  background-color: rgba(0, 0, 0, 0.07);
}

/* ======= Prev and Next style ======= */
.nex-prv {
  display: flex;
  background: #fff;
}
.nex-prv span.icon {
  color: #18191d;
  font-size: 27px;
}
.nex-prv .prv h5,
.nex-prv .prv h5 a {
  font-size: 21px;
  color: #18191d;
}
.nex-prv .nxt h5,
.nex-prv .nxt h5 a {
  font-size: 21px;
  color: #18191d;
  text-align: right;
}
.nex-prv .prv span,
.nex-prv .prv span a {
  font-size: 16px;
  color: #868a9b;
}
.nex-prv .nxt span,
.nex-prv .nxt span a,
.nex-prv .nxt p {
  font-size: 16px;
  color: #868a9b;
  text-align: right;
}

@media screen and (max-width: 1025px) {
  .nex-prv {
    padding-top: calc(10px + 1%);
    padding-bottom: calc(10px + 1%);
  }
  .nex-prv .prv h5,
  .nex-prv .prv h5 a,
  .nex-prv .nxt h5,
  .nex-prv .nxt h5 a,
  .nex-prv .prv span,
  .nex-prv .prv span a,
  .nex-prv .nxt span,
  .nex-prv .nxt span a {
    color: #fff;
  }
  .nex-prv .nxt .img:after,
  .nex-prv .prv .img:after {
    opacity: 0;
  }
}

.nex-prv .prv:hover h5,
.nex-prv .prv:hover h5 a,
.nex-prv .prv:hover h5 p,
.nex-prv .nxt:hover h5,
.nex-prv .nxt:hover h5 a,
.nex-prv .nxt:hover h5 p,
.nex-prv .prv:hover span,
.nex-prv .prv:hover span a,
.nex-prv .prv:hover span p,
.nex-prv .nxt:hover span,
.nex-prv .nxt:hover span a,
.nex-prv .nxt:hover span p {
  color: #fff;
}

.nex-prv .nxt .img,
.nex-prv .prv .img {
  padding: 40px;
  background-size: cover;
  background-position: center center;
  position: relative;
  transition: all 0.4s;
}

.nex-prv .nxt .img:hover:after,
.nex-prv .prv .img:hover:after {
  opacity: 0;
}
.nex-prv .nxt .img:after,
.nex-prv .prv .img:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  transition: all 0.4s;
}
.nex-prv .nxt .img .overly,
.nex-prv .prv .img .overly {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #18191d;
  opacity: 0.7;
}
.nex-prv .nxt .img .text-center,
.nex-prv .prv .img .text-center {
  position: relative;
  z-index: 4;
}
.nex-prv .all-works {
  display: block;
  height: 100%;
  padding: 30px;
  background: transparent;
  border-left: 1px solid rgba(0, 0, 0, 0.03);
  border-right: 1px solid rgba(0, 0, 0, 0.03);
}
.prv a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.prv .sub-title p,
.nxt .sub-title p,
.prv .sub-title i,
.nxt .sub-title i {
  margin: 0;
  vertical-align: middle;
}

@media screen and (max-width: 1025px) {
  .prv .sub-title p,
  .nxt .sub-title p,
  .prv .sub-title i,
  .nxt .sub-title i {
    color: #fff;
  }
}
