.blog-post-container {
  max-width: 880px;
  margin: 0 auto;
  padding: 9.5rem 1.25rem 6rem;
}

.post-breadcrumbs {
  display: flex;
  gap: .55rem;
  margin-bottom: 2rem;
  align-items: center;
  color: #5b6f6a;
  font-size: .8rem;
  font-weight: 700;
}

.post-breadcrumbs a { color: var(--teal); }
.post-header { margin-bottom: 2rem; }
.post-header .article-kicker { margin-bottom: 1rem; color: var(--teal); }

.blog-post-container h1 {
  max-width: 840px;
  margin-bottom: 1.2rem;
  font-size: clamp(2.8rem, 7vw, 5.3rem);
  letter-spacing: -.06em;
}

.post-dek {
  max-width: 760px;
  margin-bottom: 1.4rem;
  color: var(--ink-soft);
  font-size: clamp(1.12rem, 2vw, 1.3rem);
  line-height: 1.55;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1.3rem;
  color: #5b6f6a;
  font-size: .78rem;
  font-weight: 650;
}

.post-hero-image {
  overflow: hidden;
  margin: 0 0 2.2rem;
  aspect-ratio: 16 / 9;
  background: var(--soft);
  border: 1px solid rgba(11, 118, 110, .12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
}

.post-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.answer-box,
.key-points,
.post-toc,
.author-note {
  margin: 2rem 0;
  padding: clamp(1.4rem, 4vw, 2rem);
  background: linear-gradient(145deg, rgba(255, 255, 255, .82), rgba(237, 248, 245, .68));
  border: 1px solid rgba(11, 118, 110, .16);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px);
}

.post-meta a,
.author-note a {
  color: inherit;
  text-decoration-color: rgba(11, 118, 110, 0.35);
  text-underline-offset: 0.18em;
}

.post-meta a:hover,
.author-note a:hover {
  color: var(--teal);
}

.source-note,
.article-sources {
  margin: 2rem 0;
  padding: 1.35rem 1.5rem;
  border: 1px solid rgba(11, 118, 110, 0.18);
  border-radius: 1rem;
  background: rgba(235, 247, 244, 0.72);
}

.source-note p,
.article-sources p,
.article-sources li {
  font-size: 0.96rem;
}

.source-note p:last-child,
.article-sources p:last-child,
.article-sources ul:last-child {
  margin-bottom: 0;
}

.source-note a,
.article-sources a {
  font-weight: 700;
}

.example-box,
.formula-box {
  margin: 1.75rem 0;
  padding: 1.4rem 1.5rem;
  border-left: 4px solid var(--teal);
  border-radius: 0 1rem 1rem 0;
  background: #f5f9f8;
}

.example-box h3,
.formula-box h3 {
  margin-top: 0;
}

.prompt-block {
  overflow-x: auto;
  margin: 1.5rem 0;
  padding: 1.25rem;
  border-radius: 0.85rem;
  background: #0d2521;
  color: #e9f7f4;
  font: 0.92rem/1.65 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  white-space: pre-wrap;
}

.answer-box { border-left: 5px solid var(--teal); }
.answer-label,
.post-toc > p {
  margin-bottom: .7rem;
  color: var(--teal);
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.answer-box h2,
.key-points h2,
.author-note h2 {
  margin: 0 0 .75rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.answer-box p:last-child,
.author-note p:last-child { margin-bottom: 0; }
.key-points ul { margin: 0; }
.post-toc { background: rgba(244, 250, 248, .76); }
.post-toc ol { display: grid; margin: 0; padding-left: 1.25rem; gap: .5rem; }
.post-toc a { color: var(--ink); font-weight: 700; }

.youtube-embed {
  position: relative;
  overflow: hidden;
  margin: 2.5rem 0 3.5rem;
  padding-bottom: 56.25%;
  background: var(--night);
  border-radius: var(--radius);
  box-shadow: var(--shadow-float);
}

.youtube-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder { padding-bottom: 0; aspect-ratio: 16 / 9; }
.video-load { position: absolute; inset: 0; overflow: hidden; width: 100%; height: 100%; padding: 0; background: var(--night); border: 0; cursor: pointer; }
.video-load img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .84; transition: transform .25s, opacity .25s; }
.video-load:hover img { transform: scale(1.02); opacity: .96; }
.video-play { position: absolute; top: 50%; left: 50%; display: grid; width: 4.4rem; height: 4.4rem; padding-left: .25rem; place-items: center; color: #fff; background: rgba(5, 35, 31, .9); border: 2px solid rgba(255, 255, 255, .86); border-radius: 50%; box-shadow: 0 16px 34px rgba(0, 0, 0, .28); transform: translate(-50%, -50%); font-size: 1.35rem; }
.video-load:focus-visible { outline: 3px solid var(--lime); outline-offset: -5px; }
.video-placeholder noscript { position: absolute; inset: auto 1rem 1rem; z-index: 2; }
.blog-post-container h2 { margin: 3.5rem 0 1rem; font-size: clamp(1.9rem, 4vw, 2.8rem); scroll-margin-top: 7rem; }
.blog-post-container h3 { margin: 2rem 0 .6rem; font-size: 1.35rem; scroll-margin-top: 7rem; }
.blog-post-container p,
.blog-post-container li,
.blog-post-container td,
.blog-post-container th { color: var(--ink-soft); font-size: 1.04rem; line-height: 1.72; }
.blog-post-container p { margin-bottom: 1.1rem; }
.blog-post-container ul,
.blog-post-container ol { margin: 1rem 0 1.5rem; padding-left: 1.35rem; }
.blog-post-container li { margin: .55rem 0; padding-left: .2rem; }
.blog-post-container strong { color: var(--ink); }
.blog-post-container a:not(.button):not(.related-post-card):not(.post-breadcrumbs a) { color: var(--teal); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.blog-post-container blockquote,
.editorial-note {
  margin: 2rem 0;
  padding: 1.4rem 1.5rem;
  color: var(--ink);
  background: var(--soft);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.comparison-table { overflow-x: auto; margin: 1.5rem 0 2.3rem; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.comparison-table table { width: 100%; border-collapse: collapse; background: rgba(255, 255, 255, .72); }
.comparison-table th,
.comparison-table td { padding: .9rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison-table th { color: var(--ink); background: var(--soft); font-size: .82rem; }
.comparison-table tr:last-child td { border-bottom: 0; }

.post-faq { margin-top: 4rem; }
.faq-item { overflow: hidden; margin-bottom: .7rem; background: rgba(255, 255, 255, .72); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq-item summary { padding: 1rem 1.15rem; color: var(--ink); cursor: pointer; font-weight: 750; list-style-position: inside; }
.faq-item p { margin: 0; padding: 0 1.15rem 1.15rem; }

.related-posts { margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.related-posts > h2 { margin-top: 0; }
.related-post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.related-post-card { display: block; padding: 1.3rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .2s, border-color .2s; }
.related-post-card:hover { transform: translateY(-3px); border-color: var(--teal); }
.related-post-card span { display: block; margin-bottom: .45rem; color: var(--teal); font-family: var(--mono); font-size: .67rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.related-post-card strong { display: block; font-size: 1.08rem; line-height: 1.35; }

.author-note { margin-top: 3rem; }
.blog-end-cta { margin-top: 3rem; padding: clamp(2rem, 5vw, 3.5rem); color: #fff; background: radial-gradient(circle at 90% 10%, rgba(31, 180, 164, .28), transparent 35%), var(--teal-dark); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-lg); box-shadow: var(--shadow-float); text-align: center; }
.blog-end-cta h2 { margin-top: 0; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.blog-end-cta p { color: #c6d9d5; }
.blog-end-cta .button { display: inline-flex; min-height: 3rem; padding: .8rem 1.15rem; align-items: center; justify-content: center; color: var(--night); background: var(--lime); border-radius: 999px; font-weight: 750; text-decoration: none; }

@media (max-width: 640px) {
  .blog-post-container { padding: 7.5rem 1rem 4.5rem; }
  .post-breadcrumbs { margin-bottom: 1.4rem; }
  .blog-post-container h1 { font-size: clamp(2.55rem, 12vw, 3.6rem); }
  .post-hero-image { border-radius: var(--radius); }
  .answer-box,
  .key-points,
  .post-toc,
  .author-note { backdrop-filter: blur(8px); }
  .related-post-grid { grid-template-columns: 1fr; }
  .comparison-table th,
  .comparison-table td { min-width: 150px; padding: .75rem; }
}
