/* Blog article.
   Tailwind → semantic translation; tokens only.
   FIDELITY NOTE: `.prose-blog` had NO styles in the original design (the class
   existed in the original markup but was defined nowhere; Tailwind preflight
   rendered the article body as an unstyled wall of text). The article
   typography below is authored here — minimal, on-system (display headings,
   16/1.75 body, restored list markers) — so the result is readable. */

/* Section had className="pt-12 md:pt-16" */
.p-blog-post .p-blog-post__section { padding-top: 48px; }
@media (min-width: 768px) {
  .p-blog-post .p-blog-post__section { padding-top: 64px; }
}

/* ---------- Layout: article column + sticky rail ---------- */

.p-blog-post__layout {
  margin-inline: auto;
  max-width: 1120px;
}
@media (min-width: 1024px) {
  .p-blog-post__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 80px; /* lg:gap-20 */
  }
}

.p-blog-post__main {
  min-width: 0;
  max-width: 760px;
}

.p-blog-post__aside { display: none; }
@media (min-width: 1024px) {
  .p-blog-post__aside { display: block; }
}

.p-blog-post__rail {
  position: sticky;
  top: 96px; /* top-24 */
}
.p-blog-post__rail > * + * { margin-top: 32px; } /* space-y-8 */

.p-blog-post__rail-label {
  font-size: var(--fs-xs);
  line-height: 16px;
  font-weight: 500;
  letter-spacing: var(--track-wide); /* tracking-wider */
  color: var(--color-grey-on-white);
}
.p-blog-post__rail-share { margin-top: 12px; }

/* ---------- Header block ---------- */

.p-blog-post__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  line-height: 20px;
  font-weight: 500;
  color: var(--color-grey-on-white);
  transition: color 0.2s;
}
.p-blog-post__back:hover { color: var(--color-blue); }

.p-blog-post__hero {
  margin-top: 40px;
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  border-radius: 16px; /* rounded-2xl */
  border: 1px solid var(--color-border-light);
}
.p-blog-post__hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-blog-post__meta {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-xs);
  line-height: 16px;
  font-weight: 500;
  color: var(--color-grey-on-white);
}

.p-blog-post__pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--color-blue-100);
  padding: 4px 10px;
  color: var(--color-blue);
}

.p-blog-post__time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.p-blog-post__title {
  margin-top: 24px;
  font-size: 30px;
  line-height: 1.15; /* leading-[1.15] */
}
@media (min-width: 768px) {
  .p-blog-post__title { font-size: 36px; }
}

.p-blog-post__lead {
  margin-top: 28px;
  font-size: var(--fs-xl);
  line-height: var(--leading-body); /* leading-relaxed */
  color: var(--color-grey-on-white);
}

/* ---------- Byline bar ---------- */

.p-blog-post__byline {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
  padding-block: 20px;
}

.p-blog-post__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.p-blog-post__avatar {
  display: flex;
  height: 44px;
  width: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--color-border-light);
  background: var(--color-blue-100);
  font-size: var(--fs-sm);
  line-height: 20px;
  font-weight: 600;
  color: var(--color-blue);
}
.p-blog-post__avatar--lg {
  height: 56px;
  width: 56px;
  flex-shrink: 0;
  font-size: var(--fs-body);
  line-height: 24px;
}

.p-blog-post__author-meta {
  display: flex;
  flex-direction: column;
}
.p-blog-post__author-name {
  font-size: var(--fs-sm);
  line-height: 20px;
  font-weight: 500;
  color: var(--color-foreground);
}
.p-blog-post__author-date {
  font-size: var(--fs-xs);
  line-height: 16px;
  color: var(--color-grey-on-white);
}

/* ---------- Article body ---------- */

.p-blog-post__body { margin-top: 64px; }

/* Authored article typography (see fidelity note at top of file) */
.prose-blog + .prose-blog { margin-top: 40px; }

.prose-blog > * + * { margin-top: 20px; }

.prose-blog h2 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: var(--track-tighter);
  font-size: 24px;
  line-height: 1.3;
  color: var(--color-black);
}
@media (min-width: 768px) {
  .prose-blog h2 { font-size: 28px; }
}

.prose-blog p {
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--color-foreground);
}

.prose-blog p.lead {
  font-size: var(--fs-xl);
  line-height: var(--leading-body);
}

.prose-blog ol {
  list-style: decimal;
  padding-left: 24px;
}
.prose-blog ul {
  list-style: disc;
  padding-left: 24px;
}
.prose-blog li {
  font-size: var(--fs-body);
  line-height: 1.75;
}
.prose-blog li + li { margin-top: 8px; }

.prose-blog strong {
  font-weight: 600;
  color: var(--color-foreground);
}

/* ---------- Image placeholder figure ---------- */

.p-blog-post__figure { margin-block: 56px; } /* my-14 */

.p-blog-post__figure-frame {
  display: flex;
  aspect-ratio: 16 / 9;
  width: 100%;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg); /* rounded-xl */
  border: 1px dashed var(--color-border-light);
  background: color-mix(in srgb, var(--color-grey-100) 60%, transparent);
  color: color-mix(in srgb, var(--color-grey-on-white) 50%, transparent);
}

.p-blog-post__figure figcaption {
  margin-top: 16px;
  text-align: center;
  font-size: var(--fs-xs);
  line-height: 16px;
  color: var(--color-grey-on-white);
}

/* ---------- Results box ---------- */

.p-blog-post__results {
  margin-block: 56px; /* my-14 */
  border-radius: 16px; /* rounded-2xl */
  border: 1px solid var(--color-border-light);
  background: color-mix(in srgb, var(--color-grey-100) 50%, transparent);
  padding: 32px;
}
@media (min-width: 768px) {
  .p-blog-post__results { padding: 40px; }
}

.p-blog-post__results-label {
  font-size: var(--fs-xs);
  line-height: 16px;
  font-weight: 500;
  letter-spacing: var(--track-wide);
  color: var(--color-grey-on-white);
}

.p-blog-post__results-grid {
  margin-top: 24px;
  display: grid;
  gap: 28px;
}
@media (min-width: 640px) {
  .p-blog-post__results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
}

.p-blog-post__result {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.p-blog-post__result-stat {
  font-size: 30px;
  line-height: 1;
  color: var(--color-blue);
}

.p-blog-post__result-label {
  font-size: var(--fs-body);
  line-height: var(--leading-body);
  color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
}

/* ---------- Author box ---------- */

.p-blog-post__author-box {
  margin-top: 64px;
  border-radius: 16px;
  border: 1px solid var(--color-border-light);
  background: color-mix(in srgb, var(--color-grey-100) 40%, transparent);
  padding: 32px;
}
@media (min-width: 768px) {
  .p-blog-post__author-box { padding: 40px; }
}

.p-blog-post__author-box-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 640px) {
  .p-blog-post__author-box-inner {
    flex-direction: row;
    align-items: flex-start;
  }
}

.p-blog-post__author-box-body { flex: 1; }

.p-blog-post__author-box-name {
  margin-top: 4px;
  font-size: var(--fs-xl);
  line-height: 28px;
}

.p-blog-post__author-bio {
  margin-top: 8px;
  font-size: var(--fs-sm);
  line-height: var(--leading-body);
  color: var(--color-grey-on-white);
}

.p-blog-post__author-links {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: var(--fs-sm);
  line-height: 20px;
}

.p-blog-post__more-posts {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: var(--color-blue);
  transition: color 0.2s;
}
.p-blog-post__more-posts:hover { color: var(--color-blue-500); }

/* ---------- Bottom CTA ---------- */

.p-blog-post__cta {
  margin-top: 48px;
  border-radius: 16px;
  border: 1px solid var(--color-border-light);
  background: var(--color-background);
  padding: 40px;
  text-align: center;
}
@media (min-width: 768px) {
  .p-blog-post__cta { padding: 48px; }
}

.p-blog-post__cta-title {
  font-size: 24px;
  line-height: 32px;
}
@media (min-width: 768px) {
  .p-blog-post__cta-title { font-size: 30px; line-height: 36px; }
}

.p-blog-post__cta-btn { margin-top: 28px; } /* mt-7 */

/* ---------- Migrated CMS body media (appended 2026-07-29) ----------
   The Webflow-migrated collection bodies carry raw HTML — <img>, <figure>,
   <blockquote>, <table>, <iframe> (YouTube embeds) — inside .prose-blog.
   Minimal on-system rules so they render cleanly. */

.p-blog-post .prose-blog img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.p-blog-post .prose-blog figure {
  margin-block: 32px;
  max-width: 100%;
}
.p-blog-post .prose-blog figure img { margin-inline: auto; }
.p-blog-post .prose-blog figcaption {
  margin-top: 12px;
  font-size: var(--fs-sm);
  line-height: var(--leading-snug);
  color: var(--color-grey-on-white);
  text-align: center;
}

.p-blog-post .prose-blog blockquote {
  margin-block: 32px;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--color-blue);
  color: var(--color-foreground);
}
.p-blog-post .prose-blog blockquote p {
  font-size: var(--fs-xl);
  line-height: var(--leading-body);
}

.p-blog-post .prose-blog table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  margin-block: 32px;
  border-collapse: collapse;
  font-size: var(--fs-sm);
  line-height: var(--leading-snug);
}
.p-blog-post .prose-blog th,
.p-blog-post .prose-blog td {
  padding: 10px 14px;
  border: 1px solid var(--color-border-light);
  text-align: left;
  vertical-align: top;
}
.p-blog-post .prose-blog th {
  font-weight: 600;
  background: color-mix(in oklab, var(--color-grey-100) 60%, transparent);
  color: var(--color-black);
}

.p-blog-post .prose-blog iframe {
  display: block;
  max-width: 100%;
  border: 0;
  border-radius: var(--radius-md);
  margin-block: 32px;
}
/* YouTube embeds arrive with fixed width/height attrs — keep 16:9 as they shrink */
.p-blog-post .prose-blog iframe[src*="youtube.com"],
.p-blog-post .prose-blog iframe[src*="youtube-nocookie.com"],
.p-blog-post .prose-blog iframe[src*="youtu.be"] {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
}

/* Webflow richtext video figures carry the runtime's intrinsic-ratio hack as an
   inline padding-bottom (% of the richtext column, assuming a 60%-wide figure for
   align-center) — the runtime CSS that resolved it was never ported. All migrated
   embeds are 16:9 players, so the figure owns the ratio and the inline padding is
   neutralized; the inner div is the fill target so iframes that arrive with their
   own inline position:absolute (Vimeo) land in the same box. */
.p-blog-post .prose-blog figure[data-rt-type="video"] {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  padding-bottom: 0 !important;
  overflow: hidden;
  border-radius: var(--radius-md);
}
.p-blog-post .prose-blog figure[data-rt-type="video"] > div {
  position: absolute;
  inset: 0;
}
.p-blog-post .prose-blog figure[data-rt-type="video"] iframe {
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
}
