/* Blog Styles - For both Post and Listing templates */
/* Color variables */
:root {
  /* Colors - remain constant regardless of screen size */
  --neutrals-grey-0: #fffffb;
  --neutrals-grey-100: #f4f4f4;
  --neutrals-grey-200: #dddddd;
  --neutrals-grey-400: #999999;
  --neutrals-grey-500: #86868b;
  --neutrals-grey-600: #707070;
  --neutrals-grey-700: #5a5a5a;
  --neutrals-grey-900: #1e1e1f;
  --color-bg: #fdfdfc;

  /* Responsive spacing - adapts based on screen size */
  --spacing: 32px; /* Default to desktop spacing */
  --padding: 24px;
  --h2-spacing: 32px;
  --h3-spacing: 24px;
}

/* Responsive spacing adjustments */
@media (max-width: 768px) {
  :root {
    --spacing: 16px; /* Smaller spacing for mobile */
    --padding: 16px;
    --h2-spacing: 24px;
    --h3-spacing: 16px;
  }
}

/* Base styles */
body {
  margin: 0;
  padding: 0;
  background: #fdfdfc;
  font-family: "Rethink Sans", Arial, sans-serif;
}

/* Blog Hero Banner - inspired by blog-post-banner.module */
.blog-hero {
  width: 100%;
  height: 500px;
  margin: 0;
  padding: 0;
  display: block;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1; /* Ensure it's below the sticky TOC */
}

/* Base styles scoped to blog post */
.body-container--blog-post {
  font-family: "Rethink Sans", Arial, sans-serif;
  color: var(--neutrals-grey-900);
  line-height: 1.6;
  max-width: 1140px;
  margin: var(--spacing) auto;
  padding: 0 16px;
  display: flex;
  gap: 40px;
  position: relative;
  z-index: 1;
}

/* Blog post content area */
.blog-post__content {
  flex: 1;
  max-width: calc(100% - 340px);
}

/* Header section */
/* Article Title */
.blog-post__title {
  color: var(--neutrals-grey-900);
  font-size: 72px;
  font-family: "Rethink Sans", Arial, sans-serif;
  font-weight: 700;
  line-height: 80px;
  word-wrap: break-word;
  margin-bottom: var(--spacing);
}

/* Author card */
.blog-post__author-card {
  padding: var(--padding);
  background: var(--neutrals-grey-100);
  border-radius: 20px;
}

.blog-post__author-card-inner {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.blog-post__author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
}

.blog-post__author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-post__author-info {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.blog-post__author-name {
  color: var(--neutrals-grey-900);
  font-size: 20px;
  font-family: "Rethink Sans", Arial, sans-serif;
  font-weight: 600;
  line-height: 26px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Meta information */
.blog-post__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-post__meta-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
}

.blog-post__meta-time-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.blog-post__meta-read-time {
  color: var(--neutrals-grey-500);
  font-size: 14px;
  font-family: "Rethink Sans", sans-serif;
  font-weight: 600;
  line-height: 21px;
  word-wrap: break-word;
}

.blog-post__meta-text {
  color: var(--neutrals-grey-500);
  font-size: 14px;
  font-family: "Rethink Sans", Arial, sans-serif;
  font-weight: 600;
  line-height: 21px;
}

.blog-post__meta-separator {
  color: var(--neutrals-grey-500);
  font-size: 14px;
  font-family: "Rethink Sans", Arial, sans-serif;
  font-weight: 600;
  line-height: 21px;
}

.blog-post__meta-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 50px;
  border: 1px solid var(--neutrals-grey-500);
  color: var(--neutrals-grey-500);
  font-size: 14px;
  font-family: "Rethink Sans", Arial, sans-serif;
  font-weight: 600;
  line-height: 21px;
}

/* Article body content */
.blog-post__body {
  color: var(--neutrals-grey-700);
  padding-top: var(--spacing);
  padding-bottom: var(--spacing);
}

.blog-post__body h2 {
  color: var(--neutrals-grey-900);
  font-size: 36px;
  font-weight: 700;
  line-height: 44px;
  margin: var(--h2-spacing) 0 16px;
  scroll-margin-top: 110px; /* Ensures proper scrolling with fixed headers */
}

.blog-post__body h3 {
  color: var(--neutrals-grey-700);
  font-size: 26px;
  font-weight: 700;
  line-height: 32px;
  margin: var(--h3-spacing) 0 16px;
  scroll-margin-top: 110px; /* Ensures proper scrolling with fixed headers */
}

.blog-post__body p {
  color: var(--neutrals-grey-700);
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  margin-bottom: 16px;
}

.blog-post__body blockquote {
  padding: var(--padding);
  background: var(--neutrals-grey-100);
  border-radius: 20px;
  margin: var(--spacing) 0;
  border-left: none;
  font-style: normal;
}

.blog-post__body blockquote p {
  color: var(--neutrals-grey-700);
  font-size: 22px;
  font-weight: 600;
  line-height: 34px;
  margin: 0;
}

.blog-post__body img {
  width: 100%;
  border-radius: 20px;
}

.blog-post__body .content-wrapper {
  padding: 0;
}

.blog-post__body .baseModuleStyle {
  padding: 0;
}

/* Footer sections */
.blog-post__footer {
  display: flex;
  flex-direction: column;
  gap: var(--spacing);
  border-bottom: 2px solid var(--neutrals-grey-200);
  padding-bottom: var(--spacing);
}

/* Tags section */
.blog-post__tags {
  border-top: 2px solid var(--neutrals-grey-200);
  padding-top: var(--spacing);
}

.blog-post__tags-title {
  color: var(--neutrals-grey-900);
  font-size: 26px;
  font-family: Rethink Sans;
  font-weight: 700;
  line-height: 32px;
  word-wrap: break-word;
  margin-bottom: 16px;
}

.blog-post__tags-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.blog-post__tag {
  padding: 4px 10px;
  border-radius: 50px;
  border: 1px solid var(--neutrals-grey-500);
  color: var(--neutrals-grey-500);
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  background: transparent;
  margin: 0;
}

/* Author bio section */
.blog-post__author-bio {
  border-top: 2px solid var(--neutrals-grey-200);
  padding-top: var(--spacing);
}

.blog-post__author-bio-title {
  color: var(--neutrals-grey-900);
  font-size: 26px;
  font-family: Rethink Sans;
  font-weight: 700;
  line-height: 32px;
  word-wrap: break-word;
  margin-bottom: 16px;
}

.blog-post__author-description {
  color: var(--neutrals-grey-500);
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  margin-top: 4px;
}

.blog-post__author-social {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.blog-post__author-social-link {
  width: 40px;
  height: 40px;
  border: 1.6px solid var(--neutrals-grey-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-post__author-social-link a {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Related posts section */
.related-articles-container {
  padding-top: var(--spacing);
  width: 100%;
  height: 100%;
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 16px;
}

.related-articles-title {
  align-self: stretch;
  color: var(--neutrals-grey-900);
  font-size: 26px;
  font-family: "Rethink Sans", sans-serif;
  font-weight: 700;
  line-height: 32px;
  word-wrap: break-word;
}

.related-articles-grid {
  align-self: stretch;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 20px;
  max-width: 100%;
}

.related-article-card {
  height: 448px;
  background: var(--neutrals-grey-100);
  overflow: hidden;
  border-radius: 20px;
  display: flex;
}

.related-article-content {
  flex: 1 1 0;
  align-self: stretch;
  padding: var(--padding);
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
}

.related-article-image {
  align-self: stretch;
  height: 200px;
  border-radius: 10px;
}

.related-article-info {
  align-self: stretch;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.related-article-header {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 4px;
}

.related-article-title a {
  color: var(--neutrals-grey-900);
  font-size: 26px;
  font-family: "Rethink Sans", sans-serif;
  font-weight: 700;
  line-height: 32px;
  word-wrap: break-word;
}

.related-article-excerpt {
  align-self: stretch;
  color: var(--neutrals-grey-900);
  font-size: 18px;
  font-family: "Rethink Sans", sans-serif;
  font-weight: 400;
  line-height: 30px;
  word-wrap: break-word;
}

.related-article-meta {
  align-self: stretch;
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
}

.related-article-author-image {
  width: 29px;
  height: 29px;
}

.related-article-author-image-placeholder {
  width: 29px;
  height: 29px;
  object-fit: none;
}

.related-article-meta-item {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 4px;
}

.related-article-meta-separator {
  color: var(--neutrals-grey-500);
  font-size: 14px;
  font-family: "Rethink Sans", sans-serif;
  font-weight: 600;
  line-height: 21px;
  word-wrap: break-word;
}

.related-article-time-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.related-article-read-time {
  color: var(--neutrals-grey-500);
  font-size: 14px;
  font-family: "Rethink Sans", sans-serif;
  font-weight: 600;
  line-height: 21px;
  word-wrap: break-word;
}

.related-article-tag {
  padding: 4px 10px;
  border-radius: 50px;
  border: 1px solid var(--neutrals-grey-500);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.related-article-tag-text {
  color: var(--neutrals-grey-500);
  font-size: 14px;
  font-family: "Rethink Sans", sans-serif;
  font-weight: 600;
  line-height: 21px;
  word-wrap: break-word;
}

/* .hs-video-wrapper[style*="padding-bottom: 177.78%"] {
    padding-bottom: 122% !important;
} */

/* Blog post sidebar styles */
.blog-post__sidebar {
  width: 300px;
  flex-shrink: 0;
  position: sticky;
  top: 113px;
  align-self: flex-start;
}

.blog-post__sidebar-container {
  width: 100%;
  height: 100%;
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 16px;
}

/* Table of contents */

/* Mobile TOC visibility controls */
.mobile-toc-wrapper {
  display: none; /* Hidden by default on desktop */
}

.toc-container {
  align-self: stretch;
  padding: var(--padding);
  background: var(--neutrals-grey-100);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 16px;
}

.toc-header {
  align-self: stretch;
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.toc-icon {
  width: 24px;
  height: 24px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toc-chevron {
  margin-left: auto;
  transition: transform 0.3s ease;
  display: none;
}

.toc-chevron.active {
  transform: rotate(180deg);
}

.toc-title {
  color: var(--neutrals-grey-900);
  font-size: 20px;
  font-family: Rethink Sans, sans-serif;
  font-weight: 600;
  line-height: 26px;
  word-wrap: break-word;
}

.toc-list {
  width: 100%;
  padding-left: 20px;
  margin: 0;
  list-style-type: disc;
  list-style-position: outside;
  padding: 0 0 0 28px;
}

.toc-item {
  margin: 0 0 8px 0;
  color: var(--neutrals-grey-600);
}

.toc-link {
  color: var(--neutrals-grey-600);
  font-size: 18px;
  font-family: Rethink Sans, sans-serif;
  font-weight: 400;
  line-height: 30px;
  word-wrap: break-word;
  text-decoration: none;
  transition: color 0.2s ease;
}

.toc-link:hover,
.toc-link:focus {
  color: var(--neutrals-grey-900);
}

/* Share section */
.share-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 16px;
}

.share-title {
  color: var(--neutrals-grey-900);
  font-size: 20px;
  font-family: Rethink Sans, sans-serif;
  font-weight: 600;
  line-height: 26px;
  word-wrap: break-word;
}

.share-links {
  align-self: stretch;
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.share-button {
  width: 40px;
  height: 40px;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease;
  border: 1.6px var(--neutrals-grey-500) solid;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.share-button:hover {
  transform: translateY(-2px);
}

.share-icon {
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Breadcrumbs Styles */
.blog-breadcrumbs {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
  max-width: 1140px;
  margin: 16px auto;
  padding: 0 16px;
}

.blog-breadcrumbs__list {
  align-self: stretch;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
}

.blog-breadcrumbs__icon {
  padding: 0.69px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0.69px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.blog-breadcrumbs__icon:hover {
  opacity: 0.8;
}

.blog-breadcrumbs__separator {
  text-align: center;
  color: var(--neutrals-grey-500, #86868b);
  font-size: 16px;
  font-family: "Rethink Sans", Arial, sans-serif;
  font-weight: 600;
}

.blog-breadcrumbs__item {
  text-align: center;
  color: var(--neutrals-grey-500, #86868b);
  font-size: 13px;
  font-family: "Rethink Sans", Arial, sans-serif;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-breadcrumbs__item:hover {
  color: var(--neutrals-grey-900, #1e1e1f);
}

.blog-breadcrumbs__item--active {
  color: var(--neutrals-grey-900, #1e1e1f);
}

/* Blog listing styles */

/* Blog listing banner */
.blog-listing-banner {
  position: relative;
  height: 360px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/* Page Title */
.blog-listing-title {
  width: 1200px;
  max-width: 90%;
  position: absolute;
  left: 50%;
  top: 230px;
  transform: translateX(-50%);
  color: var(--neutrals-grey-900);
  font-size: 72px;
  font-family: "Rethink Sans", sans-serif;
  font-weight: 700;
  line-height: 80px;
}

/* Blog Listing Container */
.blog-listing-container {
  width: 100%;
  background: var(--color-bg);
  overflow: hidden;
}

/* Blog Content */
.blog-content {
  width: 1200px;
  max-width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* Blog Tags */
.blog-tags {
  width: 100%;
  height: 138px;
  background: var(--neutrals-grey-100);
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.blog-tag {
  padding: 4px 10px;
  border-radius: 50px;
  outline: 1px var(--neutrals-grey-500) solid;
  outline-offset: -1px;
  color: var(--neutrals-grey-500);
  font-size: 14px;
  font-family: "Rethink Sans", sans-serif;
  font-weight: 600;
  line-height: 21px;
  text-decoration: none;
}

/* Featured Blog */
.featured-blog {
  width: 100%;
  padding: 32px 0;
  position: relative;
}

.featured-blog-content {
  width: 100%;
  height: 400px;
  background: var(--neutrals-grey-100);
  overflow: hidden;
  border-radius: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px;
}

.featured-blog-tag {
  position: relative;
  margin-bottom: -15px;
  margin-left: 26px;
  display: inline-block;
  padding: 4px 10px;
  background: white;
  border-radius: 50px;
  outline: 1px var(--neutrals-grey-500) solid;
  outline-offset: -1px;
  color: var(--neutrals-grey-500);
  font-size: 14px;
  font-family: "Rethink Sans", sans-serif;
  font-weight: 600;
  line-height: 21px;
  z-index: 2;
}

.featured-blog-image {
  flex: 1;
  height: 100%;
  padding: 4px 6px;
  border-radius: 10px;
  object-fit: cover;
}

.featured-blog-text {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-left: 24px;
}

.featured-blog-header h2 {
  color: var(--neutrals-grey-900);
  font-size: 36px;
  font-family: "Rethink Sans", sans-serif;
  font-weight: 700;
  line-height: 44px;
  margin-bottom: 4px;
}

.featured-blog-header p {
  color: var(--neutrals-grey-900);
  font-size: 18px;
  font-family: "Rethink Sans", sans-serif;
  font-weight: 400;
  line-height: 30px;
}

.featured-blog-header h2 a {
  color: inherit;
  text-decoration: none;
}

.featured-blog-header h2 a:hover {
  text-decoration: underline;
}

/* Blog Meta Components */
.blog-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-meta img {
  width: 28.83px;
  height: 29px;
  object-fit: cover;
  border-radius: 50%;
}

.separator {
  color: var(--neutrals-grey-500);
  font-size: 16px;
  font-family: "Rethink Sans", sans-serif;
  font-weight: 600;
  text-align: center;
}

.read-time {
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.clock-icon {
  width: 15px;
  height: 15px;
  background: var(--neutrals-grey-500);
  position: relative;
  border-radius: 50%;
}

.clock-icon:after {
  content: "";
  position: absolute;
  width: 4px;
  height: 8.01px;
  top: 3px;
  left: 7px;
  background: var(--neutrals-grey-500);
}

.read-time span {
  color: var(--neutrals-grey-500);
  font-size: 14px;
  font-family: "Rethink Sans", sans-serif;
  font-weight: 600;
  line-height: 21px;
}

/* Blog Section */
.blog-section {
  width: 100%;
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-title {
  color: var(--neutrals-grey-900);
  font-size: 36px;
  font-family: "Rethink Sans", sans-serif;
  font-weight: 700;
  line-height: 44px;
}

.blog-cards {
  width: 100%;
  display: flex;
  gap: 20px;
}

.blog-card {
  flex: 1;
  height: 448px;
  background: var(--neutrals-grey-100);
  overflow: hidden;
  border-radius: 20px;
}

.blog-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card-image {
  width: 100%;
  height: 200px;
  padding: 4px 6px;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 10px;
}

.blog-card-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-card-header h3 {
  color: var(--neutrals-grey-900);
  font-size: 26px;
  font-family: "Rethink Sans", sans-serif;
  font-weight: 700;
  line-height: 32px;
  margin-bottom: 4px;
}

.blog-card-header p {
  color: var(--neutrals-grey-900);
  font-size: 18px;
  font-family: "Rethink Sans", sans-serif;
  font-weight: 400;
  line-height: 30px;
}

.blog-card-header h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-card-header h3 a:hover {
  text-decoration: underline;
}

/* Show More Link */
.show-more {
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: 4.5px;
}

.show-more a {
  display: flex;
  align-items: center;
  gap: 4.5px;
  text-decoration: none;
  color: var(--neutrals-grey-900);
}

.show-more span {
  color: var(--neutrals-grey-900);
  font-size: 14px;
  font-family: "Rethink Sans", sans-serif;
  font-weight: 600;
  line-height: 21px;
}

.arrow-icon {
  width: 7.21px;
  height: 13.51px;
  background: black;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* Category Cards */
.category-cards {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.category-card {
  flex: 1;
  background: var(--neutrals-grey-100);
  border-radius: 20px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.category-card h3 {
  color: var(--neutrals-grey-900);
  font-size: 24px;
  font-family: "Rethink Sans", sans-serif;
  font-weight: 700;
}

.category-card p {
  color: var(--neutrals-grey-500);
  font-size: 16px;
  font-family: "Rethink Sans", sans-serif;
  margin-bottom: 15px;
}

.category-card a {
  color: #d40000;
  font-size: 16px;
  font-family: "Rethink Sans", sans-serif;
  font-weight: 600;
  text-decoration: none;
}

.category-card a:hover {
  text-decoration: underline;
}

/* HubSpot Default Blog Module Styling */
.hs-featured-image-wrapper {
  margin-bottom: 20px;
}

.hs-featured-image {
  max-width: 100%;
  border-radius: 10px;
  height: auto;
}

.hs-blog-listing .post-item {
  background: var(--neutrals-grey-100);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 30px;
  overflow: hidden;
}

.hs-blog-listing .post-item .post-header h2 {
  color: var(--neutrals-grey-900);
  font-size: 26px;
  font-family: "Rethink Sans", sans-serif;
  font-weight: 700;
  line-height: 32px;
  margin-bottom: 10px;
}

.hs-blog-listing .post-item .post-header h2 a {
  color: var(--neutrals-grey-900);
  text-decoration: none;
}

.hs-blog-listing .post-item .post-header h2 a:hover {
  text-decoration: underline;
}

.hs-blog-listing .post-item .post-description {
  color: var(--neutrals-grey-900);
  font-size: 18px;
  font-family: "Rethink Sans", sans-serif;
  font-weight: 400;
  line-height: 30px;
}

.hs-blog-listing .post-item .author-card {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.hs-blog-listing .post-item .post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  color: var(--neutrals-grey-500);
  font-size: 14px;
  font-family: "Rethink Sans", sans-serif;
  font-weight: 600;
}

.hs-featured-post-wrapper {
  background: var(--neutrals-grey-100);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 30px;
  position: relative;
}

.hs-featured-post-label {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  background: white;
  border-radius: 50px;
  outline: 1px var(--neutrals-grey-500) solid;
  outline-offset: -1px;
  color: var(--neutrals-grey-500);
  font-size: 14px;
  font-family: "Rethink Sans", sans-serif;
  font-weight: 600;
  line-height: 21px;
  z-index: 2;
}

.hs-blog-pagination {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.hs-blog-pagination a {
  color: var(--neutrals-grey-900);
  text-decoration: none;
  padding: 8px 16px;
  margin: 0 5px;
  border-radius: 4px;
}

.hs-blog-pagination a.active {
  background: var(--neutrals-grey-500);
  color: white;
}

.hs-blog-pagination a:hover:not(.active) {
  background: var(--neutrals-grey-100);
}

/* Blog filter styling */
.blog-filter-wrapper {
  padding: 20px 0;
}

.blog-filter-button {
  padding: 4px 10px;
  border-radius: 50px;
  outline: 1px var(--neutrals-grey-500) solid;
  outline-offset: -1px;
  color: var(--neutrals-grey-500);
  font-size: 14px;
  font-family: "Rethink Sans", sans-serif;
  font-weight: 600;
  line-height: 21px;
  background: transparent;
  margin-right: 8px;
  margin-bottom: 8px;
  cursor: pointer;
}

.blog-filter-button.active {
  background: var(--neutrals-grey-500);
  color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .blog-hero {
    height: 300px;
  }

  .body-container--blog-post {
    flex-direction: column;
    padding: 0 16px;
  }

  .blog-post__content {
    max-width: 100%;
  }

  .blog-post__sidebar {
    width: 100%;
    position: relative;
    top: 0;
  }

  /* Blog Listing Responsive */
  .blog-cards {
    flex-direction: column;
  }

  .blog-card {
    height: auto;
  }

  .featured-blog-content {
    flex-direction: column;
    height: auto;
  }

  .featured-blog-image,
  .featured-blog-text {
    width: 100%;
    padding-left: 0;
    margin-bottom: 16px;
  }

  .blog-listing-title {
    font-size: 40px;
    line-height: 48px;
    top: 180px;
  }

  .blog-listing-banner {
    height: 300px;
  }

  .category-cards {
    flex-direction: column;
  }

  .blog-tags {
    height: auto;
    padding: 16px 0;
  }