.grid-post {
  margin: -15px;
}
.post-card {
  background-color: #fff;
  border: 1px solid #eee;
  box-shadow: 0 1px 5px rgb(0 0 0/20%);
}
.post-card .post-thumb {
  position: relative;
}
.post-content-wrap {
  padding: 30px;
}
.post-meta {
  margin-bottom: 10px;
}
.post-meta li {
  font-family: space grotesk, sans-serif;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  text-transform: capitalize;
  color: #666;
  display: inline-flex;
  align-items: center;
}
.post-meta li:not(:last-of-type) {
  margin-right: 10px;
}
.post-meta li i {
  color: var(--bgcolor);
  font-size: 15px;
  margin-right: 5px;
}
.post-card .post-content h3 {
  font-family: space grotesk, sans-serif;
  font-size: 24px;
  line-height: 30px;
  font-weight: 700;
  color: #222;
  letter-spacing: -0.5px;
  transition: all 0.3s ease;
  text-transform: capitalize;
}
.post-card .post-content h3 a {
  background: linear-gradient(#ff9900 0%, #ff9900 98%);
  background-size: 0 3px;
  background-repeat: no-repeat;
  background-position: left 100%;
}
.post-card .post-content h3 a:hover {
  background-size: 100% 3px;
}
.post-card .post-content h3 a {
  color: #222;
}
.post-card .post-content .read-more {
  font-family: space grotesk, sans-serif;
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
  text-transform: capitalize;
  color: #666;
  position: relative;
  padding-left: 30px;
}
.post-card .post-content .read-more:before {
  background-color: var(--bgbackg);
  position: absolute;
  content: "";
  width: 25px;
  height: 3px;
  left: 0;
  top: calc(50% - 1px);
}
.post-card .post-content .read-more:hover {
  color: var( --bgcolor);
}
.classic-post .post-card .post-thumb {
  min-height: 350px;
}
.classic-post .post-card .post-thumb img {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  object-fit: cover;
  object-position: center;
}
.classic-post .post-card:not(:last-of-type) {
  margin-bottom: 30px;
}
.post-category {
  background-color: var(--bgbackg);
  clip-path: polygon(85% 0%, 100% 30%, 100% 100%, 0 100%, 0 0);
  position: absolute;
  left: 0;
  bottom: 0;
  font-family: space grotesk, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
  height: 35px;
  line-height: 37px;
  padding: 0 30px;
  cursor: pointer;
}
.post-category:hover {
  color: #fff;
}
.post-details .post-thumb {
  min-height: 350px;
  position: relative;
  margin-bottom: 40px;
}
.post-details .post-thumb img {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  object-fit: cover;
  object-position: center;
}
.post-details p {
  font-size: 20px;
  line-height: 30px;
  margin-bottom: 40px;
}
blockquote {
  background-color: #fff;
  padding: 40px;
  border: 1px solid #eee;
  border-left: 3px solid var(--bgboder);
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  color: #222;
  display: block;
  margin: 0;
  margin-bottom: 40px;
}
blockquote i.fas {
  color: var(--bgcolor);
  display: block;
  margin-bottom: 20px;
}
blockquote span {
  font-family: space grotesk, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #666;
  display: block;
  margin-top: 10px;
}
.post-details-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 10px;
  margin: 40px 0;
}
.post-details .tags li a {
  background-color: #fff;
  border: 1px solid #eee;
  margin: 0;
}
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 50px;
  align-items: center;
  margin: 40px 0;
}
.post-navigation li:last-child {
  text-align: right;
}
.post-navigation li a {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  color: #222;
  letter-spacing: -0.5px;
}
.post-navigation li a:hover {
  text-decoration: underline;
}
.post-navigation li a:hover > span {
  text-decoration: none;
}
.post-navigation li a span {
  font-family: space grotesk, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #a5a6aa;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
  text-decoration: none;
}
.post-navigation li a span i {
  color: #a5a6aa;
  margin-right: 5px;
}
.post-navigation li:last-child a span i {
  margin-left: 5px;
  margin-right: auto;
}
.author-box {
  background-color: #fff;
  padding: 40px;
  border: 1px solid #eee;
  display: grid;
  align-items: center;
  grid-template-columns: 80px 1fr;
  grid-column-gap: 20px;
  line-height: 1;
  margin-bottom: 40px;
}
.social-icon li {
  display: inline-block;
}
.social-icon li a:hover {
  color: var(--bgcolor);
}
.social-icon li:not(:last-of-type) {
  margin-right: 10px;
}
.comments-box {
  margin-bottom: 40px;
}
.comment-title {
  font-weight: 600;
  color: #222;
  display: inline-block;
  padding-bottom: 10px;
  position: relative;
  margin-bottom: 30px;
  line-height: 1;
}
.comment-title:before {
  background-color: var(--bgbackg);
  width: 50%;
  height: 4px;
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
}
.comments-box .comment-inner {
  display: grid;
  grid-template-columns: 60px 1fr;
  grid-column-gap: 20px;
}
.comments-box .comment {
  margin-bottom: 40px;
}
.comments-box .children {
  margin-left: 50px;
  margin-top: 40px;
}
.comments-box .comment-thumb img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-top: 5px;
}
.comments-meta h4 {
  font-size: 20px;
  font-weight: 500;
  display: block;
}
.comments-meta h4 span {
  font-family: space grotesk, sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: #666;
  display: block;
}
.comment-area p {
  font-size: 17px;
  line-height: 27px;
  margin-bottom: 10px;
}
.comment-area .reply {
  font-family: space grotesk, sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: #666;
}
.comment-form {
  margin-top: -15px;
}
.comment-form .form-control {
  background-color: #fff;
  height: 50px;
  border-radius: 0;
  border: 1px solid #eee;
  box-shadow: none;
  outline: none;
}
.comment-form .form-control.comment {
  height: 150px;
}
#form-messages {
  display: none;
  margin-top: 15px;
  margin-bottom: 0;
}
#form-messages.alert-danger,
#form-messages.alert-success {
  display: block;
}
.sidebar-widget {
  background-color: #fff;
  border: 1px solid #eee;
  padding: 30px;
}
.sidebar-widget:not(:last-of-type) {
  margin-bottom: 30px;
}
.sidebar-widget .search-form {
  position: relative;
}
.sidebar-widget .search-form .form-control {
  background-color: #fff;
  border-radius: 2px;
  box-shadow: none;
  outline: none;
  height: 50px;
  border: 1px solid #eee;
  padding-right: 40px;
}
.sidebar-widget .search-form .search-btn {
  position: absolute;
  right: 0;
  top: 0;
  width: 50px;
  height: 100%;
  font-size: 15px;
  color: #666;
}
.widget-title {
  display: block;
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}
.widget-title h3 {
  font-weight: 600;
  color: #222;
  display: inline-block;
  padding-bottom: 10px;
  position: relative;
  margin: 0;
  line-height: 1;
}
.widget-title h3:before {
  background-color: var(--bgbackg);
  width: 50%;
  height: 4px;
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
}
.category-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}
.category-list li:not(:last-of-type) {
  margin-bottom: 10px;
}
.category-list li a {
  color: #666;
}
.category-list li a:hover {
  color: #222;
  text-decoration: underline;
}
.category-list li span {
  border: 1px solid #eee;
  font-size: 14px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
}
.category-list li:hover span {
  background-color: var(--bgbackg);
  color: #fff;
  transition: all 0.3s ease;
}
.thumb-post li {
  display: inline-flex;
  align-items: flex-start;
  justify-content: space-between;
}
.thumb-post li:not(:last-of-type) {
  margin-bottom: 20px;
}
.thumb-post li .thumb {
  flex-shrink: 0;
  width: 80px;
  height: 70px;
  margin: 0 15px 0 0;
  position: relative;
  display: inline-block;
  vertical-align: top;
  max-width: 100%;
  overflow: hidden;
}
.thumb-post .thumb-post-info {
  position: relative;
  display: inline-block;
  width: 100%;
  vertical-align: top;
}
.thumb-post .thumb-post-info h3 {
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
}
.thumb-post .thumb-post-info h3 a {
  color: #222;
}
.thumb-post .thumb-post-info h3 a:hover {
  text-decoration: underline;
}
.thumb-post .thumb-post-info .date {
  font-weight: 600;
  font-size: 12px;
  font-family: space grotesk, sans-serif;
  text-transform: uppercase;
  color: #666;
  display: flex;
  align-items: center;
  line-height: 1;
}
.thumb-post .thumb-post-info .date i {
  color: var(--bgcolor);
  margin-right: 5px;
}
.tags li {
  display: inline-block;
}
.tags li a {
  background-color: #eee;
  display: inline-block;
  font-family: space grotesk, sans-serif;
  text-transform: capitalize;
  font-size: 14px;
  color: #666;
  padding: 3px 15px;
  margin: 0 3px 10px 0;
}
.tags li a:hover {
  background-color: var(--bgbackg);
  color: #fff;
}
.sidebar-widget.banner {
  background-color: #222;
  background-image: url(../img/texture.png);
  background-repeat: repeat;
  background-size: cover;
  border-radius: 3px;
  padding: 60px 30px;
}
.banner-info .logo {
  width: 70%;
  margin-bottom: 20px;
}
.banner-info h3 {
  color: #fff;
}
.banner-info h3 span {
  color: var(--bgcolor);
}
.banner-info p {
  color: #ddd;
}
.banner-info .discount {
  color: #fff;
  margin-bottom: 20px;
}
.banner-info .discount span {
  color: var(--bgcolor);
  font-size: 50px;
}
.banner-info .default-btn:hover {
  color: #222;
}
.banner-info .default-btn:after,
.banner-info .default-btn:before {
  background-color: #fff;
}
.pagination-wrap li {
  display: inline-block;
  margin: 0 10px 0 0;
}
.pagination-wrap li a {
  background-color: #fff;
  border: 1px solid #eee;
  color: #666;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  display: inline-block;
  cursor: pointer;
}
.pagination-wrap li a:hover,
.pagination-wrap li a.active {
  background-color: var(--bgbackg);
  border: 1px solid var(--bgcolor);
  color: #fff;
}
@media (max-width: 992px) {
  .padding {
    padding: 50px 0;
  }
  .sm-padding {
    padding: 15px;
  }
  p br {
    display: none;
  }
  span br {
    display: none;
  }
  .default-btn {
    padding: 0 30px;
  }
  .post-card .post-content h3 {
    font-size: 20px;
    line-height: 26px;
  }
}
@media all and (max-width: 768px) {
  .padding {
    padding: 50px 0;
  }
  .xs-padding {
    padding: 15px;
  }
  p br {
    display: none;
  }
}
@media all and (max-width: 580px) {
  #scrollup {
    bottom: 20px;
    right: 20px;
  }
}
