/*========== Blog listing & single post (follows style.less variables: green #81b924, gap 15px) ==========*/
.blog-list {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 15px;
}
.blog-list .item {
  display: block;
  text-decoration: none;
  color: #333;
  background-color: #fff;
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
}
.blog-list .item:hover {
  background-color: #81b924;
  color: #fff;
  transform: scale(1.03);
}
.blog-list .item .head {
  position: relative;
}
.blog-list .item .head img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}
.img-placeholder {
  width: 100%;
  aspect-ratio: 3 / 2;
  background-color: #e9ecef;
  border: 2px dashed #bdc3c7;
  box-sizing: border-box;
  color: #7f8c8d;
  font-family: 'Comfortaa', cursive;
  font-size: .95em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-placeholder,
.post-figure .img-placeholder {
  aspect-ratio: 16 / 9;
  max-height: 400px;
}
.blog-list .item:hover .img-placeholder {
  background-color: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .7);
  color: #fff;
}
.blog-list .item .body {
  padding: 15px;
}
.blog-list .item time {
  font-size: .8em;
  opacity: .7;
}
.blog-list .item h2,
.blog-list .item h3 {
  font-family: 'Comfortaa', cursive;
  font-size: 1.1em;
  margin: 5px 0 10px;
}
.price .cta-heading {
  font-size: 1.5em;
  font-weight: bold;
  margin: 0 0 15px 0;
}
.blog-list .item p {
  margin: 0 0 10px;
}
.blog-list .item .read-more {
  font-weight: bold;
  color: #6a9a1d;
}
.blog-list .item:hover .read-more {
  color: #fff;
}
.blog-list + .price,
.blog-post + .price {
  text-align: center;
}

/* Single SEO Blog Post */
.blog-post {
  background-color: #fff;
  padding: 20px 15px;
  margin: 30px auto;
  max-width: 860px;
  line-height: 1.7;
}
.blog-post .post-nav,
.blog-post .post-footer-nav {
  margin-bottom: 15px;
}
.blog-post .post-footer-nav {
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid #e0e0e0;
  margin-bottom: 0;
}
.blog-post .post-nav a,
.blog-post .post-footer-nav a,
.blog-post .post-content a {
  color: #6a9a1d;
  font-weight: 600;
  text-decoration: none;
}
.blog-post .post-nav a:hover,
.blog-post .post-footer-nav a:hover,
.blog-post .post-content a:hover {
  text-decoration: underline;
}
.blog-post h1 {
  font-size: 1.6em;
  line-height: 1.35;
  margin: 0 0 10px;
}
.blog-post .post-meta {
  font-size: .85em;
  color: #7f8c8d;
  margin-bottom: 15px;
}
.blog-post .post-hero,
.blog-post .post-figure {
  margin: 0 0 20px;
}
.blog-post .post-figure {
  margin: 20px 0;
}
.blog-post .post-hero img,
.blog-post .post-figure img {
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: cover;
  display: block;
}
.blog-post .post-content h2 {
  font-family: 'Comfortaa', cursive;
  font-size: 1.25em;
  margin: 28px 0 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid #e5e8e8;
}
.blog-post .post-content p {
  margin: 0 0 14px;
}
.blog-post .post-content ul,
.blog-post .post-content ol {
  margin: 0 0 16px;
  padding-left: 22px;
}
.blog-post .post-content li {
  margin-bottom: 6px;
}
.blog-post .table-wrap {
  overflow-x: auto;
  margin: 15px 0 20px;
}
.blog-post table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95em;
}
.blog-post th,
.blog-post td {
  border: 1px solid #dcdde1;
  padding: 10px 12px;
  text-align: left;
}
.blog-post th {
  background-color: #f5f8ee;
  color: #333;
}
.blog-post .post-cta-line {
  background-color: #f5f8ee;
  border-left: 4px solid #81b924;
  padding: 12px 15px;
  margin-top: 15px;
}

/* Tablet */
@media (min-width: 768px) {
  .blog-list {
    grid-template-columns: repeat(2, 1fr);
    margin: 60px 0;
  }
  .blog-post {
    padding: 35px 45px;
    margin: 50px auto 30px;
  }
  .blog-post h1 {
    font-size: 2em;
  }
}

/* Desktop */
@media (min-width: 1280px) {
  .blog-list {
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 30px;
  }
  .blog-list .item:nth-child(4n + 1):nth-last-child(2) {
    grid-column: 2;
  }
  .blog-post {
    margin-top: 80px;
  }
}
