.blog #main .ast-article-inner {
  border: 0.0625rem solid var(--wp--preset--color--divider);
  box-shadow: var(--shadow-md);
}

@media (max-width: 40rem) {
  .blog #main > .ast-row > article.post + article.post::before {
    content: "";
    position: absolute;
    top: -1rem;
    left: 12.5%;
    width: 75%;
    border-top: 0.0625rem solid var(--wp--preset--color--divider);
  }
}

body.single-post,
.single-post .site-content {
  background: var(--white);
}

.single-post .site-content > .ast-container {
  display: block;
  max-width: none;
  padding: 0;
}

.single-post #primary {
  width: 100%;
  margin: 0;
}

.single-post article.post {
  margin: 0;
  background: var(--white);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.single-post article.post .entry-content {
  margin: 0;
  padding-bottom: 5.5rem;
  color: var(--text-medium);
}

.single-post .entry-content > * {
  width: min(60rem, calc(100% - 3rem));
  margin-right: auto;
  margin-left: auto;
}

.single-post .entry-content > .alignwide {
  width: min(72rem, calc(100% - 3rem));
  max-width: none;
}

.single-post .entry-content > .alignfull,
.single-post .entry-content > .btfp-article-header {
  width: 100%;
  max-width: none;
}

.btfp-article-header {
  margin-bottom: 4.5rem;
  padding: 5.5rem 3rem 4.5rem;
  text-align: center;
  background: linear-gradient(135deg, var(--brand-purple-tint) 0%, var(--primary-cta-tint-md) 100%);
  border-bottom: 0.0625rem solid var(--border);
}

.btfp-article-header__category {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--brand-purple-dark);
  font-size: 0.75rem;
  font-weight: 500;
  text-decoration: none;
}

.btfp-article-header__title {
  max-width: 68rem;
  margin: 0 auto;
  color: var(--brand-bright-purple);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 400 !important;
  line-height: 1.12;
  text-wrap: balance;
}

.btfp-article-header__excerpt {
  max-width: 54rem;
  margin: 1.75rem auto 0;
  color: var(--text-medium);
  font-size: 1.125rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.btfp-article-header__meta {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  color: var(--text-light);
  font-size: 0.8125rem;
  font-weight: 500;
}

.btfp-article-header__image {
  position: relative;
  max-width: 68rem;
  margin: 2.5rem auto -6.5rem;
}

.btfp-article-header__image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-md);
}

.btfp-article-header:has(.btfp-article-header__image) {
  margin-bottom: 7rem;
}

.single-post .entry-content > p {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.85;
}

.single-post .entry-content > .btfp-drop-cap::first-letter {
  float: none;
  margin-right: 0.12em;
  color: var(--brand-purple);
  font-size: 4rem;
  font-weight: 600;
  line-height: 0.8;
  vertical-align: baseline;
}

.single-post .entry-content > h2 {
  margin-top: 3.5rem;
  margin-bottom: 1.25rem;
  color: var(--text-dark);
  font-size: clamp(1.625rem, 3vw, 2.125rem);
  font-weight: 500 !important;
  line-height: 1.25;
}

.single-post .entry-content > h3 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-left: 1rem;
  color: var(--text-dark);
  font-size: 1.375rem;
  font-weight: 500 !important;
  border-left: 0.1875rem solid var(--brand-purple);
}

.single-post .entry-content > :is(ul, ol) {
  margin-top: 0;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.single-post .entry-content li + li {
  margin-top: 0.5rem;
}

.single-post .entry-content blockquote {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem 1.75rem;
  color: var(--text-dark);
  background: var(--brand-pale-purple);
  border-left: 0.25rem solid var(--brand-purple);
}

.single-post .entry-content a:not(.btn) {
  color: var(--brand-bright-purple);
  text-decoration: underline;
  text-decoration-thickness: 0.0625rem;
  text-underline-offset: 0.18em;
}

.single-post .entry-content hr {
  margin-top: 3rem;
  margin-bottom: 3rem;
  border-color: var(--border-light);
}

.single-post .entry-content figcaption {
  margin-top: 0.75rem;
  color: var(--text-light);
  font-size: 0.8125rem;
  text-align: center;
}

.single-post .entry-content .btfp-article-header__caption {
  position: absolute;
  top: calc(100% + 0.75rem);
  width: 100%;
  margin: 0;
}

.btfp-article-header__caption > p {
  margin: 0;
  font-size: inherit !important;
  line-height: 1.5;
}

.btfp-article-after {
  display: grid;
  gap: 0;
  margin-top: 0;
}

.btfp-article-cta {
  padding: 5rem 1.5rem;
  text-align: center;
  background: var(--brand-pale-purple);
  border-top: 0.0625rem solid var(--border);
  border-bottom: 0.0625rem solid var(--border);
}

.btfp-article-cta h2,
.btfp-related-posts > h2 {
  margin: 0;
  color: var(--text-dark);
  font-weight: 500 !important;
}

.btfp-article-cta h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.btfp-article-cta__body {
  max-width: 44rem;
  margin: 1rem auto 1.5rem;
  color: var(--text-medium);
  font-size: 1rem;
  line-height: 1.7;
}

.btfp-related-posts > h2 {
  width: min(80rem, 100%);
  margin: 0 auto 1.5rem;
  font-size: 1.75rem;
  text-align: center;
}

.btfp-related-posts {
  padding: 4.5rem 1.5rem 5.5rem;
  background: var(--brand-off-white);
}

.btfp-related-posts__grid {
  display: grid;
  width: min(80rem, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.btfp-related-posts__grid:has(> :only-child) {
  grid-template-columns: minmax(0, 22rem);
  justify-content: center;
}

.btfp-related-post {
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background: var(--white);
  border: 0.0625rem solid var(--border);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btfp-related-post:hover {
  color: inherit;
  transform: translateY(-0.125rem);
  box-shadow: var(--shadow-md);
}

.btfp-related-post__image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.btfp-related-post__body {
  padding: 1.25rem;
}

.btfp-related-post h3 {
  margin: 0;
  color: var(--text-dark);
  font-size: 1.0625rem;
  font-weight: 500 !important;
  line-height: 1.4;
}

.btfp-related-post p {
  margin: 0.75rem 0;
  color: var(--text-medium);
  font-size: 0.875rem;
  line-height: 1.6;
}

.btfp-related-post time {
  color: var(--text-light);
  font-size: 0.75rem;
}

.single-post .comments-area {
  width: min(60rem, calc(100% - 3rem));
  margin: 4.5rem auto;
}

@media (max-width: 48rem) {
  .single-post .site-content > .ast-container {
    padding: 0;
  }

  .btfp-article-header {
    margin-bottom: 3.25rem;
    padding: 3.5rem 1.25rem 3.25rem;
  }

  .btfp-article-header__title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .btfp-article-header__excerpt {
    font-size: 1rem;
  }

  .single-post .entry-content > * {
    width: min(calc(100% - 2.5rem), 60rem);
  }

  .single-post .entry-content > .alignwide {
    width: min(calc(100% - 2rem), 72rem);
  }

  .single-post article.post .entry-content {
    padding-bottom: 3.5rem;
  }

  .btfp-article-cta {
    padding: 3.5rem 1.25rem;
  }

  .btfp-related-posts {
    padding: 3.5rem 1rem 4rem;
  }

  .btfp-related-posts__grid {
    grid-template-columns: 1fr;
  }
}
