a.read-more-btn {
  padding: 8px 40px 10px;
  background: #fab333;
  border: 1px solid #fab333;
  color: #fff;
  font-family: "Bree Serif", serif;
  font-size: 16px;
  text-decoration: unset;
  white-space: nowrap;
  font-weight: 400;
  text-transform: uppercase;
  margin-top: 5px;
  display: inline-block;
}

.titlebar_section {
  background-image: url(https://kratomspot.com/img/kratom/titlebar_bg.webp);
  background-size: cover;
  background-position: 50%;
  padding-bottom: 140px;
  padding-top: 80px;
}

.titlebar_section h1 {
  color: #fff;
  font-size: 50px;
  font-family: "Bree Serif", serif;
  text-transform: uppercase;
  text-shadow: -3px 3px 5px rgba(0, 0, 0, .8);
  margin-bottom: 0;
  margin-top: 0;
}

.after_banner img {
  width: 100%;
  margin-top: -125px;
  max-width: unset;
  height: auto;
}

body #content.site-main{
  max-width: 1440px !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  margin-left:auto;
  margin-right:auto;
  padding-top: 50px;
}

.page-content{
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
}

article.post {
  background: #fff;
  float: left;
  box-shadow: 0 3px 5px rgba(85, 85, 85, .2);
  position: relative;
}

.post {
  display: flex;
  flex-direction: column;
}

.post > a img {
  order: 1;
  display: block;
}

.entry-title {
  order: 2;
  padding: 0px 20px 0px 20px;
}

.post > p {
  order: 3;
  padding: 5px 20px 5px 20px;
  line-height: 28px;
  font-size: 16px;
  margin: 0 0 10px;
  color: #666;
}

.post .wp-post-image{
  height: 224px;
}

.post .entry-title a {
  text-decoration: none;
  color: #333;
  font-size: 22px;
  font-weight: 500;
  margin: 10px 0 0 0;
  font-family: "Bree Serif";
  line-height: 1.2;
  display: inline-block;
  width: 100%;
}

a.read-more-btn {
  padding: 8px 40px 10px;
  background: #fab333;
  border: 1px solid #fab333;
  color: #fff;
  font-family: "Bree Serif", serif;
  font-size: 16px;
  text-decoration: unset;
  white-space: nowrap;
  font-weight: 400;
  text-transform: uppercase;
  margin-top: 5px;
  display: inline-block;
  
}

a.read-more-btn:hover {
  color: #fff;
  background-color: #35492d;
  border-color: #35492d;
}

.button-container{
  order: 4;
  padding: 0px 0 20px 20px;
}

span.date {
  color: #333;
  display: inline-block;
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 1;
  list-style: none outside none;
  margin: 0 17px 0 0;
  position: relative;
  text-transform: uppercase;
  font-weight: 400;
  padding: 30px 0 10px 20px;
}

span.date img {
  margin-right: 10px;
  margin-top: -5px;
}


/* Pagination Container */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  font-family: 'Arial', sans-serif;
  font-size: 14px;
  padding-bottom: 30px;
}

.pagination ul.page-numbers {
  padding: 0;
}

.pagination ul li {
  display: inline-block;
  margin: 4px;
}
a.page-numbers:hover {
  background-color: #f8f9fa;
}

span.page-numbers {
  border: none;
  border-radius: 100%;
  box-shadow: 0 0 12px .8px rgba(0, 0, 0, .1);
  color: #35492d;
  display: block;
  font-size: 16px;
  height: 43px;
  line-height: 43px;
  padding: 0;
  text-align: center;
  width: 43px;
}

a.page-numbers {
  border: none;
  border-radius: 100%;
  box-shadow: 0 0 12px .8px rgba(0, 0, 0, .1);
  color: #35492d;
  display: block;
  font-size: 16px;
  height: 43px;
  line-height: 43px;
  padding: 0;
  text-align: center;
  width: 43px;
}

span.page-numbers.current {
  background-color: #35492d;
  color: #fff;
}

/* Style ONLY the featured image on single post pages */
.site-main .post-thumbnail {
  margin-bottom: 20px;
  border-radius: 8px;
}

.site-main .post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.single .page-content {
  font-family: Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #444;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0;
  padding-bottom: 60px;
  display: inline-block;
}

img.attachment-full.size-full.wp-post-image {
  max-height: 500px !important;
  object-fit: cover;
  border-radius: 12px;
  height: auto;
  margin-bottom:30px;
  height: auto;
}

.single p {
  margin-bottom: 25px;
  font-size: 18px;
  letter-spacing: unset;
  line-height: 28px;
  color: #6a6a6a;
}

.single .page-content {
display:inline-block;
  
}

.single h2 {
  margin: 1.5rem 0 1rem;
}

.page-content li {
  margin-bottom: 8px;
}

.single-post .page-content a {
  color: #0044cc;
  text-decoration: underline;
}

.single-post .page-content ul li::marker {
  color: #fab333;
  font-size: 1.2em;
}

.single-post .page-content ul {
  list-style: disc outside !important;
  padding-left: 1.5rem;
  margin: 0 0 25px 15px;
}

.single-post .page-content h3 {
  font-family: "Bree Serif", serif;
  font-size: 26px;
  color: #000;
  font-weight: 300;
  margin: 1rem 0 1rem;
}

.link_product_popup {
  background: #fff;
  border: 1px solid #f5f5f5;
  bottom: 100%;
  box-shadow: 0 4px 12px #0000001a;
  height: auto;
  left: 50%;
  margin-left: -90px;
  padding: 10px;
  position: absolute;
  text-align: center;
  width: 180px;
  z-index: 999;
}
.single-post .entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.5rem auto;
  display: block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.link_product_popup.product-category img {
  padding: 15px;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 0rem auto;
  display: block;
}

.single-post .page-content .link_product_popup a {
  text-decoration: unset;
}

.link_product_popup a {
  background: #35492d;
  color: #fff !important;
  display: inline-block;
  padding: 5px 10px;
  text-decoration: unset;
  width: 100%;
}

li a.link_with_popup, 
p a.link_with_popup {
 position: relative;
}

h4 {
  font-size: 18px;
}

@media only screen and (max-width: 1140px) {
  .page-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media only screen and (max-width : 991px) {
  .after_banner img{
    margin-top: -95px;
  }
  .page-content {
    grid-template-columns: repeat(2, 1fr);
  }
}
  
  
@media only screen and (max-width : 767px) {
  .titlebar_section {
    padding-bottom: 25px;
    padding-top: 25px;
  }
  .titlebar_section h1 {
    font-size: 24px;
  }
  body #content.site-main{
    padding-top:20px;
  }
  .page-content {
    grid-template-columns: repeat(1, 1fr);
  }
}