/* Blog Post Wrapper */
.blog-post {
  margin: 0 auto;
  max-width: 960px;
}

/* Blog Post Meta */
.blog-post__meta {
  margin-bottom: 1.4rem;
}
.blog-post__meta a {
  text-decoration: underline;
}
.blog-post__timestamp {
  display: block;
}

/* Blog Tags */
.blog-post__tags svg {
  width: 15px;
  height: auto;
  margin-right: 0.35rem;
}
.blog-post__tag-link {
  font-size: 0.875rem;
}

/* Blog Hero Section */
.blog-hero-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  border: 1px solid #18174D;
  border-radius: 25px;
  overflow: hidden;
  margin: 65px 0px 60px 0px;
}
.hero-image {
  border-radius: 25px;
  margin: 0 auto;
  border: 1px solid #0D2110;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: fill;
  display: block;
}
.hero-meta {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  background-color: #fff;
/*   padding: 60px 70px; */
  padding: 30px;1
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  border-top-right-radius: 24px;
  border-bottom-right-radius: 24px;
}

.blog-post-date {
  display: block;
  font-size: 16px;
  color: #325852;
  margin-bottom: 10px;
  font-weight: 500;
}

/* .blog-post-title .h4 {
font-size: 24px;
font-weight: bold;
line-height: 1.3;
margin-bottom: 20px;
}

.blog-post-title {
font-size: 36px;
font-family: 'Young Serif', serif;
font-weight: 400;
line-height: 1.4;
margin-bottom: 30px;
} */

.blog-post-tags {
  font-size: 16px;
  color: #0D2110;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 0 10px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.blog-post-tags .blog-post-tag {
  position: relative;
  /*   font-weight: 500; */
}
.blog-post-tags .blog-post-tag:not(:last-child)::after {
  content: "|";
  color: #D2C069;
  margin-left: 10px;
  margin-right: 5px;
}

/* Blog Main Body */
.blog-post-main {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  gap: 40px;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding-bottom: 135px;
}
.post-body,
.post-sidebar {
  width: 100%;
}
.blog-post-body ul li {
  margin-bottom: 30px;
}

/* Related Section */
.blog-related-posts.blog-related-posts {
  background-color: #F5F5F0;
  padding: 130px 20px 130px;
  margin-top: 0;
}
.blog-related-posts .content-wrapper {
  max-width: 1152px;
  margin: 0 auto;
}
.blog-related-posts h2 {
  text-align: center;
  color: #0D2110;
  margin-bottom: 50px;
}
.blog-related-posts__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 24px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.related-post-card {
  border: 1px solid #18174D;
  border-radius: 20px;
  padding: 24px;
  background-color: #F5F5F0;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 calc(33.3333% - 24px);
  flex: 0 0 calc(33.3333% - 24px);
}
.related-post-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  -o-object-fit: cover;
  object-fit: cover;
  margin-bottom: 16px;
}
.related-post-content .tag-text {
  color: #0D2110;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 110%; /* 17.6px */
}
.related-title {
  color: #0D2110;
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%; /* 26.4px */
}
.related-title a {
  color: inherit;
}
.related-excerpt {
  margin-bottom: 16px;
  color: #0D2110;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 24px */
}
.related-meta {
  font-size: 13px;
  color: #777;
}
.related-link {
  font-size: 14px;
  color: #3c523c;
  font-weight: 600;
  margin-top: auto;
  text-decoration: none;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 6px;
}
.related-link svg {
  width: 14px;
  height: 14px;
  stroke: #3c523c;
  stroke-width: 2;
  fill: none;
}

/* Related CTA Buttons */
.related-ctas {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

/* Blog Comments */
.blog-comments {
  margin: 0 auto;
  max-width: 680px;
  text-align: center;
}
.blog-comments .hs-submit {
  text-align: center;
}
.blog-comments .comment-reply-to {
  border: none;
}
.blog-comments .comment-reply-to:hover,
.blog-comments .comment-reply-to:focus {
  background-color: transparent;
  text-decoration: underline;
}

/* Author Social Icons */
.author-headshot {
  border-radius: 50%;
}
.author-social-icons {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  gap: 12px;
  margin-top: 12px;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}
.author-social-icons a {
  display: inline-block;
  width: 24px;
  height: 24px;
}
.author-social-icons a img {
  width: 100%;
  height: auto;
}

/* Blockquote override */
.body-container--blog-post .testimonials__slide-quoter-name-name {
  color: #0D2110;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 24px */
}
.body-container--blog-post .testimonials__slide-quote {
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

@media screen and (min-width: 768px) {
  .blog-hero-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .hero-image {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 45%;
    flex: 0 0 45%;
  }
  .hero-meta {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
  }
  .post-body {
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: -1;
    order: -1;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
  }
  .post-sidebar {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
  }
}

/* Mobile Responsive Adjustments */
@media screen and (max-width: 767px) {
  .blog-hero-box {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .hero-meta {
    border-radius: 0 !important;
    width: 100%;
    padding: 30px;
  }
  .hero-image {
    height: auto;
    display: contents;
  }
  .hero-meta {
    padding: 40px 20px;
  }
  .social-icons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 12px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    margin-top: 16px;
  }
  .social-icons a {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #325852;
    text-decoration: none;
    -webkit-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
    transition: color 0.3s ease;
  }
  .social-icons a:hover {
    color: #4F4BFF;
  }
  .social-icons svg,
  .social-icons i {
    fill: currentColor;
  }

  .body-container--blog-post .jump-box {
    background-color: transparent;
    border: none;
    padding: 0;
  }
  .body-container--blog-post .jump-box .jump-label,
  .body-container--blog-post .jump-box > hr {
    display: none;
  }

  /* Stack layout */
  .blog-post-main {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-bottom: 60px;
  }
  .blog-related-posts.blog-related-posts {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .blog-related-posts__list {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

/* Mobile tweaks (smaller than 430px) */
@media screen and (max-width: 430px) {
  .hero-meta {
    gap: 12px;
  }
  .blog-post-date {
    font-size: 14px;
  }
  .blog-post-tags {
    font-size: 14px;
    gap: 8px;
  }
  .related-ctas {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  .related-ctas a {
    width: 100%;
    max-width: 320px;
  }
}