.blog-details .img_box {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 40px;
}

.blog-details {
  padding: 65px 0;
}

.blog-details .img_box img, .single-update img {
  max-width: 100%;
  border-radius: 10px;
}

.blog-details h1, .blog_wrap .page-title, .thank-you .wrapper-page h1 {
  color: #28333E;
  font-size: 47px;
  letter-spacing: -0.2px;
  font-family: "Marcellus", serif;
  font-weight: 400;
  margin-bottom: 25px;
}
.blog-details h1.heading, .blog_wrap .page-title  {
  margin-bottom: 35px;
}
.blog-details h2,
.blog-details h3 {
  color: #343A42;
  font-size: 30px;
  margin-bottom: 20px;
  font-weight: 400;
  letter-spacing: -0.1px;
  font-family: "Marcellus", serif;
}
.blog-details ol {
  padding: 0;
  margin-left: 15px;
  margin-bottom: 0 !important;
}
.blog-details h2 a, 
.blog-details ol li a, 
.blog-details ul li a {
  text-decoration: none;
  color: #237c31;
  transition: color 0.3s ease;
}
.blog-details h2 a:hover, 
.blog-details ul li a:hover,  
.blog-details ol li a:hover {
  color: #0b4a15;
}
.blog-details h3 {
  font-size: 25px;
}

.thank-you .wrapper-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 18px;
  text-align: left;
  color: #5A5F64;
  font-family: "Urbanist", sans-serif;
}

.thank-you .wrapper-page thead {
  background-color: #f2f2f2;
}

.thank-you .wrapper-page th {
  padding: 12px 15px;
  border: 1px solid #ddd;
}

.thank-you .wrapper-page th {
  background-color: #3aad4f;
  color: white;
}

.thank-you .wrapper-page tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.thank-you .wrapper-page tbody tr:hover {
  background-color: #f1f1f1;
}

.thank-you .wrapper-page input[type="checkbox"] {
  transform: scale(1.2);
}

.thank-you .wrapper-page tbody td {
  vertical-align: middle;
}


.blog-details p,
.blog-details ul li, 
.blog-details ol li,
footer.entry-footer span, 
.thank-you .wrapper-page p {
  font-size: 18px;
  line-height: 30px;
  color: #5A5F64;
  font-family: "Urbanist", sans-serif;
  margin-bottom: 30px;
}
.blog-details ul li.parsley-required, 
.blog_wrap ul li.parsley-required {
  color: #ff0000;
  font-size: 14px;
  line-height: 1em;
}
.thank-you .wrapper-page p {
  margin: 0;
}
.blog-details p a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}
.blog-details p a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}
.blog-details ul li, 
.blog-details ol li {
  margin-bottom: 15px;
}
.tea-box .blog-details ol li {
  margin-bottom: 10px !important;
}
.blog-details p:last-child {
  margin-bottom: 10px;
}
footer.entry-footer span {
  margin-bottom: 0;
  font-weight: 600;
}
footer.entry-footer {
  margin-bottom: 30px;
}

.blog-details ul li {
  margin-bottom: 5px;
}

.blog-details .blog-author {
  margin-bottom: 40px;
}

.blog-details .blog-author p,
.blog-details .blog-author p a {
  font-size: 16px;
  color: #82888F;
  font-weight: 500;
  margin: 0;
}

.blog-details .blog-author p a {
  color: #343A42;
  transition: color 0.3s ease;
  text-decoration: none;
}

.blog-details .blog-author p a:hover {
  color: #07a752;
}

@media (max-width: 1199px) {
  .blog-details {
    padding: 55px 0;
  }

  .blog-details h1, .blog_wrap .page-title, .thank-you .wrapper-page h1 {
    font-size: 35px;
    margin-bottom: 20px;
  }

  .blog-details .blog-author {
    margin-bottom: 20px;
  }

  .blog-details h2{
    font-size: 25px;
  }
  .blog-details h3 {
    font-size: 22px;
  }

  .blog-details p,
  .blog-details ul li, 
  .thank-you .wrapper-page p {
    font-size: 16px;
    line-height: 25px;
  }
}

@media (max-width: 767px) {
  .blog-details {
    padding: 45px 0;
  }

  .blog-details h1, .blog_wrap .page-title, .thank-you .wrapper-page h1 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .blog-details .blog-author,
  .blog-details p,
  .blog-details ul li {
    margin-bottom: 15px;
  }

  .blog-details h2,
  .blog-details h3 {
    font-size: 20px;
    margin-bottom: 15px;
  }
  .blog-details h3 {
    font-size: 18px;
  }

  .blog-details p,
  .blog-details ul li, 
  .thank-you .wrapper-page p {
    font-size: 14px;
    line-height: 22px;
  }
}

/* =====================================================
   Blog Details - 3-column layout + Table of Contents
   ===================================================== */

/* Header: title on top, centred */
.blog-details-header {
  text-align: center;
  margin-bottom: 35px;
}

.blog-details-header .blog-details-title {
  margin-bottom: 15px;
}

.blog-details-header .blog-author {
  justify-content: center;
  margin-bottom: 0;
}

/* Hero image: full-width and more prominent */
.blog-details-hero {
  margin-bottom: 45px;
}

.blog-details-hero img {
  width: 100%;
  display: block;
}

/* Cap the featured image height on desktop so the article content is
   visible without excessive scrolling. Mobile keeps the natural ratio. */
@media (min-width: 992px) {
  .blog-details-hero img {
    max-height: 600px;
    object-fit: contain;
    object-position: center;
  }
}

/* Main row - columns stretch to full row height so the sticky
   TOC / sidebar have room to move while the article scrolls */
.blog-details-row {
  align-items: stretch;
}

/* Table of contents - left column */
.col-toc {
  position: relative;
}

.blog-toc {
  background: #F7FAF7;
  border: 1px solid #E6ECE6;
  border-radius: 12px;
  padding: 22px 20px 16px;
  margin-bottom: 30px;
}

.blog-toc__title {
  display: block;
  font-family: "Urbanist", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #237c31;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E6ECE6;
}

.blog-toc__nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-toc__nav ul ul {
  padding-left: 14px;
  margin: 2px 0 6px;
}

.blog-toc__item + .blog-toc__item {
  margin-top: 2px;
}

.blog-toc__item a {
  display: block;
  text-decoration: none;
  color: #5A5F64;
  font-family: "Urbanist", sans-serif;
  font-size: 14px;
  line-height: 1.45;
  padding: 6px 8px 6px 12px;
  border-left: 2px solid transparent;
  border-radius: 4px;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.blog-toc__item--h2 > a {
  font-weight: 600;
  color: #343A42;
  font-size: 15px;
}

.blog-toc__item--h3 a {
  font-size: 13px;
  font-weight: 500;
}

.blog-toc__item a:hover,
.blog-toc__item a:focus,
.blog-toc__item a.is-active {
  color: #237c31;
  border-left-color: #237c31;
  background-color: #EFF6EF;
}

/* Sticky side columns - only the middle article scrolls */
@media (min-width: 768px) {
  .blog-toc {
    position: sticky;
    top: 24px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
  }
}

/* Right sidebar sticks on lg+ when it becomes the 3rd column.
   No internal scroll - the recent posts widget is rendered at the
   bottom of the post so the sidebar stays short enough to fit. */
@media (min-width: 992px) {
  .blog-details-row .side-wrapper__inner {
    position: sticky;
    top: 24px;
  }
}

/* Offset anchor jumps so headings are not hidden behind sticky elements */
.blog-details .article-body h2,
.blog-details .article-body h3 {
  scroll-margin-top: 100px;
}

/* Between md and lg the sidebar stacks full-width below the article */
@media (min-width: 768px) and (max-width: 991.98px) {
  .blog-details-row .side-wrapper {
    margin-top: 45px;
  }
}

/* =====================================================
   Recent posts - moved out of the sidebar, rendered
   horizontally at the bottom of the post
   ===================================================== */
.blog-recent-bottom {
  margin-top: 55px;
  padding-top: 45px;
  border-top: 1px solid #E6ECE6;
}

.blog-recent-bottom .latest-post {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-recent-bottom .latest-post h2 {
  grid-column: 1 / -1;
  color: #343A42;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.1px;
  font-family: "Marcellus", serif;
  margin-bottom: 10px;
}

.blog-recent-bottom .image-container img {
  width: 100%;
  display: block;
}

.blog-recent-bottom .blog-info h3 {
  margin-bottom: 6px;
}

.blog-recent-bottom .blog-info p {
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  .blog-recent-bottom .latest-post {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .blog-recent-bottom .latest-post {
    grid-template-columns: 1fr;
  }
}