/* Single blog post template */
.blog-post {
  --ba-space: #212133;
  --ba-muted: #657691;
  --ba-line: #d1d6e0;
  --ba-accent: #f69c00;
  --ba-gradient: linear-gradient(89deg, #fda80b 33.6%, #ff5a5a 82.8%);
  --ba-radius: 10px;
  --ba-shadow: 0 4px 34px -6px rgba(33, 33, 51, 0.15);
  --ba-gap: 24px;
  --bp-header-offset: 88px;
  color: var(--ba-space);
  padding: 54px 0 0;
}

.blog-post-hero {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 32px;
}
.blog-post-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.blog-post-hero__tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border: 1px solid #8ca0b1;
  border-radius: 10px;
  font-size: 14px;
  line-height: 18px;
  color: var(--ba-muted);
  box-sizing: border-box;
}
.blog-post-hero__title {
  margin: 0 0 8px;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--ba-space);
}
.blog-post-hero__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.blog-post-hero__byline {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  line-height: 24px;
  color: var(--ba-space);
}
.blog-post-hero__dot {
  font-weight: 600;
  color: #1a1a26;
}
.blog-post-hero__share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  cursor: pointer;
}
.blog-post-hero__share img {
  display: block;
  width: 14px;
  height: 14px;
}
.blog-post-hero__share:hover {
  opacity: 0.7;
}
.blog-post-hero__share:focus-visible {
  outline: 2px solid var(--ba-accent);
  outline-offset: 2px;
}
.blog-post-hero__media {
  margin: 5px 0 0;
  border-radius: 10px;
  overflow: hidden;
}
.blog-post-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.blog-post__layout {
  display: grid;
  grid-template-columns: 302px minmax(0, 1fr) 302px;
  gap: 40px 24px;
  align-items: start;
  padding-bottom: 64px;
}

.blog-post__toc-col {
  position: sticky;
  top: calc(var(--bp-header-offset) + 16px);
  align-self: start;
}

.blog-post__content-col {
  min-width: 0;
  width: 100%;
}

.blog-post__aside-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: calc(var(--bp-header-offset) + 16px);
  align-self: start;
}
.blog-post__aside-col .blog-archive-subscribe {
  gap: 16px;
}
.blog-post__aside-col .blog-archive-subscribe .legal-consent-container .hs-form-booleancheckbox-display > span {
  margin-inline-start: 0;
}
.blog-post__aside-col .blog-archive-subscribe__title {
  font-size: 22px;
  line-height: 1.27;
  margin: 0;
}

/* TOC
   ========================================================================== */
.blog-post-toc__label {
  margin: 0 0 7px;
  font-size: 15px;
  line-height: 20px;
  color: var(--ba-muted);
}
.blog-post-toc__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0px;
  max-width: 282px;
}
.blog-post-toc__list li {
  padding: 14px 0;
}
.blog-post-toc__list li:not(:first-child) {
  border-top: 1px solid #D1D6E0;
}
.blog-post-toc__link {
  display: block;
  font-size: 18px;
  line-height: 1.33;
  color: #212133;
  text-decoration: none;
}
.blog-post-toc__link:hover {
  color: var(--ba-space);
}
.blog-post-toc__link.is-active {
  color: var(--ba-accent);
  font-weight: 600;
}
.blog-post-toc--desktop {
  display: block;
}
.blog-post-toc--mobile {
  display: none;
  margin: 0 0 24px;
}

.blog-post-toc--mobile .blog-post-toc__sticky {
  position: relative;
}
.blog-post-toc--mobile .blog-post-toc__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  height: 42px;
  padding: 8px 12px 8px 16px;
  border: 1px solid var(--ba-line);
  border-radius: 9999px;
  background: #ffffff;
  font-family: inherit;
  font-size: 18px;
  line-height: 24px;
  color: var(--ba-space);
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
}
.blog-post-toc--mobile .blog-post-toc__current {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.blog-post-toc--mobile .blog-post-toc__chevron {
  flex: 0 0 auto;
  width: 12px;
  height: 7px;
  transition: transform 0.2s ease;
}
.blog-post-toc--mobile .blog-post-toc__trigger[aria-expanded=true] .blog-post-toc__chevron {
  transform: rotate(180deg);
}
.blog-post-toc--mobile .blog-post-toc__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 30;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #ffffff;
  border: 1px solid var(--ba-line);
  border-radius: 16px;
  box-shadow: var(--ba-shadow);
  max-height: min(60vh, 360px);
  overflow: auto;
}
.blog-post-toc--mobile .blog-post-toc__panel .blog-post-toc__link {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 16px;
  line-height: 22px;
}
.blog-post-toc--mobile .blog-post-toc__panel .blog-post-toc__link.is-active,
.blog-post-toc--mobile .blog-post-toc__panel .blog-post-toc__link:hover {
  background: #f4f5f9;
}
.blog-post-toc--mobile.is-stuck .blog-post-toc__sticky {
  position: fixed;
  top: var(--bp-header-offset);
  left: 20px;
  right: 20px;
  z-index: 40;
}
.blog-post-toc--mobile.is-stuck .blog-post-toc__trigger {
  box-shadow: var(--ba-shadow);
}

/* Related
   ========================================================================== */
.blog-post-related {
  background: #F4F5F9;
  border-radius: var(--ba-radius);
  padding: 20px;
}
.blog-post-related__label {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 20px;
  color: var(--ba-muted);
}
.blog-post-related__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.blog-post-related__item:not(:last-child) {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ba-line);
}
.blog-post-related__link {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ba-space);
  text-decoration: none;
}
.blog-post-related__link:hover .blog-post-related__title {
  color: var(--ba-accent);
}
.blog-post-related__title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 18px;
  line-height: 24px;
}
.blog-post-related__icon {
  flex: 0 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}
.blog-post-related__icon img {
  display: block;
  width: 16px;
  height: 16px;
}

.blog-post .blog-archive-subscribe {
  width: 100%;
  min-height: 0;
}

/* Entry content
   ========================================================================== */
.blog-post .entry-content {
  font-size: 18px;
  line-height: 24px;
  color: var(--ba-space);
}
.blog-post .entry-content > *:first-child {
  margin-top: 0;
}
.blog-post .entry-content > *:last-child {
  margin-bottom: 0;
}
.blog-post .entry-content p {
  margin: 0 0 20px;
}
.blog-post .entry-content h2 {
  margin: 32px 0 27px;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  scroll-margin-top: calc(var(--bp-header-offset) + 72px);
}
.blog-post .entry-content h3 {
  margin: 28px 0 12px;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  scroll-margin-top: calc(var(--bp-header-offset) + 72px);
}
.blog-post .entry-content a {
  color: var(--ba-space);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.blog-post .entry-content a:hover {
  color: var(--ba-accent);
}
.blog-post .entry-content ul,
.blog-post .entry-content ol {
  margin: 0 0 20px;
  padding-left: 0;
  list-style: none;
}
.blog-post .entry-content li {
  position: relative;
  padding: 12px 0 12px 34px;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  color: var(--ba-space);
}
.blog-post .entry-content li p {
  margin: 0;
}
.blog-post .entry-content li > ul,
.blog-post .entry-content li > ol {
  margin: 12px 0 0 -10px;
  padding-left: 0;
}
.blog-post .entry-content li:has(> ul),
.blog-post .entry-content li:has(> ol) {
  padding-bottom: 0;
}
.blog-post .entry-content ul > li::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.blog-post .entry-content ul ul > li::before {
  background: transparent;
  border: 1.5px solid currentColor;
  box-sizing: border-box;
}
.blog-post .entry-content ol {
  counter-reset: bp-ol;
}
.blog-post .entry-content ol > li {
  counter-increment: bp-ol;
}
.blog-post .entry-content ol > li::before {
  content: counter(bp-ol) ".";
  position: absolute;
  left: 0;
  top: 12px;
  min-width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  color: inherit;
}
.blog-post .entry-content ul.is-style-checkmarks > li::before,
.blog-post .entry-content ul.is-style-checkmarks ul > li::before,
.blog-post .entry-content ul.is-style-checkmarks ol > li::before,
.blog-post .entry-content ol.is-style-checkmarks > li::before,
.blog-post .entry-content ol.is-style-checkmarks ul > li::before,
.blog-post .entry-content ol.is-style-checkmarks ol > li::before {
  content: "";
  left: 0;
  top: 12px;
  width: 24px;
  height: 24px;
  min-width: 24px;
  border: 0;
  border-radius: 50%;
  background-color: var(--ba-accent);
  background-image: url("../assets/blog-post/check.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 8px;
}
.blog-post .entry-content .wp-block-quote {
  position: relative;
  margin: 28px 0;
  padding: 24px 24px 24px 28px;
  border: 0;
  border-radius: var(--ba-radius);
  background: #f4f5f9;
}
.blog-post .entry-content .wp-block-quote::before {
  content: "";
  display: block;
  width: 42px;
  height: 36px;
  margin-bottom: 16px;
  background: url("../assets/blog-post/quote-mark.svg") center/contain no-repeat;
}
.blog-post .entry-content .wp-block-quote p {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: -0.005em;
}
.blog-post .entry-content .wp-block-quote cite {
  display: block;
  margin-top: 16px;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  color: var(--ba-muted);
}
.blog-post .entry-content .wp-block-image {
  margin: 24px 0;
}
.blog-post .entry-content .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.blog-post .entry-content .wp-block-image figcaption {
  margin-top: 8px;
  font-size: 14px;
  line-height: 20px;
  color: var(--ba-muted);
}
.blog-post .entry-content img {
  max-width: 100%;
  height: auto;
}
.blog-post .entry-content .wp-block-table {
  margin: 24px 0;
  overflow-x: auto;
}
.blog-post .entry-content table {
  width: 100%;
  margin: 24px 0;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  color: var(--ba-space);
}
.blog-post .entry-content .wp-block-table table {
  margin: 0;
}
.blog-post .entry-content th,
.blog-post .entry-content td {
  padding: 12px;
  border: 0;
  border-bottom: 1px solid var(--ba-line);
  text-align: left;
  vertical-align: middle;
}
.blog-post .entry-content th {
  background: rgba(33, 33, 51, 0.05);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-transform: uppercase;
  border-bottom: 0;
}
.blog-post .entry-content th strong {
  font-weight: inherit;
}
.blog-post .entry-content thead th:first-child,
.blog-post .entry-content tr:first-child th:first-child {
  border-top-left-radius: 10px;
}
.blog-post .entry-content thead th:last-child,
.blog-post .entry-content tr:first-child th:last-child {
  border-top-right-radius: 10px;
}
.blog-post .entry-content hr {
  margin: 28px 0;
  border: 0;
  border-top: 1px solid var(--ba-line);
}
.blog-post .entry-content .wp-block-separator {
  margin: 28px 0;
  border: 0;
  border-top: 1px solid var(--ba-line);
}
.blog-post .entry-content .wp-block-group.has-background {
  padding: 24px;
  border-radius: var(--ba-radius);
  margin: 24px 0;
}
.blog-post .entry-content .wp-block-group.has-background.has-dark-background,
.blog-post .entry-content .wp-block-group.has-background[style*="background-color:#212133"],
.blog-post .entry-content .wp-block-group.has-background[style*="background-color: #212133"] {
  color: #ffffff;
}

@media only screen and (max-width: 1200px) {
  .blog-post__layout--with-toc.blog-post__layout--with-aside {
    grid-template-columns: 180px minmax(0, 1fr) 260px;
  }
  .blog-post-hero__title {
    font-size: 36px;
  }
}
@media only screen and (max-width: 1024px) {
  .blog-post__layout,
  .blog-post__layout--with-toc.blog-post__layout--with-aside,
  .blog-post__layout--with-toc:not(.blog-post__layout--with-aside),
  .blog-post__layout--with-aside:not(.blog-post__layout--with-toc) {
    grid-template-columns: minmax(0, 1fr);
  }
  .blog-post__toc-col {
    display: none;
  }
  .blog-post-toc--mobile {
    display: block;
  }
  .blog-post__aside-col {
    position: static;
  }
}
@media only screen and (max-width: 767px) {
  .blog-post {
    --bp-header-offset: 72px;
    padding-top: 24px;
  }
  .blog-post-hero {
    margin-bottom: 24px;
  }
  .blog-post-hero__title {
    font-size: 28px;
    line-height: 1.2;
  }
  .blog-post-hero__byline {
    font-size: 16px;
    gap: 8px;
  }
  .blog-post .entry-content h2 {
    font-size: 24px;
    scroll-margin-top: calc(var(--bp-header-offset) + 56px);
  }
  .blog-post .entry-content h3 {
    font-size: 20px;
  }
  .blog-post .entry-content .wp-block-quote p {
    font-size: 18px;
    line-height: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .blog-post-toc--mobile .blog-post-toc__chevron {
    transition: none;
  }
}
/* Pre-footer newsletter CTA (footer-cta markup + HubSpot form)
   ========================================================================== */
.footer-cta--newsletter .footer-cta__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
}
.footer-cta--newsletter .footer-cta__title {
  margin-bottom: 0;
}
.footer-cta--newsletter .footer-cta__form {
  width: 100%;
  max-width: 437px;
}
.footer-cta--newsletter .footer-cta__form .hs-form,
.footer-cta--newsletter .footer-cta__form form.hs-form {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px;
}
.footer-cta--newsletter .footer-cta__form .hs-form-field,
.footer-cta--newsletter .footer-cta__form .hs-dependent-field {
  flex: 1 1 200px;
  width: auto;
  min-width: 0;
}
.footer-cta--newsletter .footer-cta__form .hs-submit,
.footer-cta--newsletter .footer-cta__form .actions {
  flex: 0 0 auto;
  width: auto;
  margin: 0;
}
.footer-cta--newsletter .footer-cta__form .hs-input:not([type=checkbox]):not([type=radio]):not(select),
.footer-cta--newsletter .footer-cta__form input[type=email],
.footer-cta--newsletter .footer-cta__form input[type=text] {
  height: 42px;
  padding: 8px 16px;
  font-size: 18px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.9);
}
.footer-cta--newsletter .footer-cta__form .hs-input:not([type=checkbox]):not([type=radio]):not(select)::placeholder,
.footer-cta--newsletter .footer-cta__form input[type=email]::placeholder,
.footer-cta--newsletter .footer-cta__form input[type=text]::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
.footer-cta--newsletter .footer-cta__form .hs-button,
.footer-cta--newsletter .footer-cta__form input[type=submit],
.footer-cta--newsletter .footer-cta__form button[type=submit] {
  width: auto;
  min-width: 120px;
  height: 42px;
  margin: 0;
  padding: 8px 16px;
}
.footer-cta--newsletter .footer-cta__form .legal-consent-container {
  flex: 1 1 100%;
}

@media only screen and (max-width: 991px) {
  .footer-cta--newsletter .footer-cta__heading {
    align-items: center;
    text-align: center;
  }
  .footer-cta--newsletter .footer-cta__form {
    max-width: none;
  }
  .footer-cta--newsletter .footer-cta__form .hs-form,
  .footer-cta--newsletter .footer-cta__form form.hs-form {
    flex-direction: column;
    gap: 12px;
  }
  .footer-cta--newsletter .footer-cta__form .hs-form-field,
  .footer-cta--newsletter .footer-cta__form .hs-dependent-field,
  .footer-cta--newsletter .footer-cta__form .hs-submit,
  .footer-cta--newsletter .footer-cta__form .actions {
    flex: 1 1 auto;
    width: 100%;
  }
  .footer-cta--newsletter .footer-cta__form .hs-button,
  .footer-cta--newsletter .footer-cta__form input[type=submit],
  .footer-cta--newsletter .footer-cta__form button[type=submit] {
    width: 100%;
  }
}

/*# sourceMappingURL=blog-post.css.map */
