.blog-post-page {
  background: #f8f9fa;
  color: #191c1d;
}

.reading-progress-bar {
  position: fixed;
  top: 80px;
  left: 0;
  z-index: 90;
  width: 0%;
  height: 4px;
  background: #4a6549;
  transition: width 0.12s ease-out;
}

.blog-post-shell {
  padding: 56px 0 80px;
}

.blog-post-container {
  width: min(1200px, calc(100% - 96px));
  margin: 0 auto;
}

.blog-post-hero {
  max-width: 900px;
  margin: 0 auto 48px;
  text-align: center;
}

.blog-post-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #dde5dd;
  color: #161d19;
  font: 700 12px/18px "DM Sans", Inter, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.blog-post-title {
  margin: 0 0 24px;
  color: #061b0e;
  font-family: "DM Sans", Inter, sans-serif;
  font-size: clamp(36px, 5vw, 62px);
  line-height: .98;
  letter-spacing: -.035em;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.blog-post-dek {
  max-width: 760px;
  margin: 0 auto 28px;
  color: #434843;
  font-size: 19px;
  line-height: 1.65;
}

.blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: #434843;
  font-size: 15px;
}

.blog-post-author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #191c1d;
  font-weight: 700;
}

.blog-post-author img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #c3c8c1;
  background: #fff;
  object-fit: cover;
}

.blog-post-dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #c3c8c1;
}

.blog-post-feature {
  max-width: 980px;
  margin: 0 auto 72px;
  padding: 18px;
  border: 1px solid rgba(195, 200, 193, .42);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 50px -32px rgba(27, 48, 34, .28);
}

.blog-post-feature img {
  display: block;
  width: 100%;
  aspect-ratio: 1200 / 630;
  height: auto;
  min-height: 0;
  border-radius: 10px;
  object-fit: contain;
  background: #f6faf7;
}

.blog-post-layout {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(300px, 4fr);
  gap: 32px;
  align-items: start;
}

.blog-post-content {
  min-width: 0;
  color: #434843;
  font-size: 18px;
  line-height: 1.75;
}

.blog-post-content > *:first-child {
  margin-top: 0;
}

.blog-post-content p,
.blog-post-content ul,
.blog-post-content ol,
.blog-post-content blockquote {
  margin: 0 0 24px;
}

.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4 {
  margin: 48px 0 16px;
  color: #061b0e;
  font-family: "DM Sans", Inter, sans-serif;
  line-height: 1.15;
  letter-spacing: -.015em;
}

.blog-post-content h2 {
  font-size: clamp(28px, 3vw, 38px);
}

.blog-post-content h3 {
  font-size: 25px;
}

.blog-post-content h4 {
  font-size: 20px;
}

.blog-post-content a {
  color: #061b0e;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(74, 101, 73, .35);
  text-underline-offset: 4px;
}

.blog-post-content img,
.blog-post-content iframe,
.blog-post-content table {
  max-width: 100%;
}

.blog-post-content img {
  height: auto;
  border-radius: 10px;
  box-shadow: 0 16px 40px -28px rgba(27, 48, 34, .28);
}

.blog-post-content ul,
.blog-post-content ol {
  padding-left: 1.25rem;
}

.blog-post-content li {
  margin-bottom: 10px;
}

.blog-post-content blockquote {
  position: relative;
  margin: 44px 0;
  padding: 24px 30px;
  border-left: 4px solid #4a6549;
  background: #fff;
  color: #061b0e;
  border-radius: 0 10px 10px 0;
  font-family: "DM Sans", Inter, sans-serif;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
  box-shadow: 0 10px 30px -24px rgba(27, 48, 34, .3);
}

.blog-author-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-top: 80px;
  padding: 28px;
  border: 1px solid rgba(195, 200, 193, .5);
  border-radius: 12px;
  background: #f3f4f5;
}

.blog-author-card img {
  width: 96px;
  height: 96px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 4px solid #fff;
  object-fit: cover;
  box-shadow: 0 14px 26px -22px rgba(27, 48, 34, .45);
}

.blog-author-card h3 {
  margin: 0 0 4px;
  color: #061b0e;
  font-size: 24px;
}

.blog-author-card .role {
  margin: 0 0 12px;
  color: #4a6549;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.blog-author-card p {
  margin: 0;
  color: #434843;
  font-size: 15px;
  line-height: 1.65;
}

.blog-post-sidebar {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 24px;
}

.blog-sidebar-card {
  padding: 28px;
  border: 1px solid rgba(195, 200, 193, .55);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 30px -24px rgba(27, 48, 34, .35);
}

.blog-sidebar-card h2,
.blog-sidebar-card h3 {
  margin: 0 0 18px;
  color: #061b0e;
  font-family: "DM Sans", Inter, sans-serif;
  font-size: 24px;
  line-height: 1.2;
}

.blog-recommended-list {
  display: grid;
  gap: 18px;
}

.blog-recommended-list a {
  display: block;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(195, 200, 193, .5);
  color: #061b0e;
  text-decoration: none;
}

.blog-recommended-list a:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.blog-recommended-list span {
  display: block;
  margin-bottom: 6px;
  color: #4a6549;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.blog-recommended-list strong {
  display: block;
  font-size: 18px;
  line-height: 1.35;
}

.blog-snapshot-card {
  position: relative;
  overflow: hidden;
  border: 0;
  background: #061b0e;
  color: #fff;
}

.blog-snapshot-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(74, 101, 73, .35);
  filter: blur(34px);
}

.blog-snapshot-card > * {
  position: relative;
  z-index: 1;
}

.blog-snapshot-card h3 {
  color: #d0e9d4;
}

.blog-snapshot-card p {
  margin: 0 0 22px;
  color: #b4cdb8;
  line-height: 1.6;
}

.blog-snapshot-card form {
  display: grid;
  gap: 12px;
}

.blog-snapshot-card input {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  color: #061b0e;
  font: inherit;
}

.blog-snapshot-card button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: #ccebc7;
  color: #07200b;
  font-weight: 800;
  cursor: pointer;
}

.blog-related {
  margin-top: 80px;
}

.blog-related h2 {
  margin: 0 0 30px;
  color: #061b0e;
  text-align: center;
  font-family: "DM Sans", Inter, sans-serif;
  font-size: clamp(28px, 3vw, 38px);
}

.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.blog-related-card {
  overflow: hidden;
  border: 1px solid rgba(195, 200, 193, .55);
  border-radius: 12px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 30px -24px rgba(27, 48, 34, .35);
  transition: transform .2s ease, box-shadow .2s ease;
}

.blog-related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px -28px rgba(27, 48, 34, .45);
}

.blog-related-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.blog-related-card div {
  padding: 20px;
}

.blog-related-card span {
  display: block;
  margin-bottom: 8px;
  color: #4a6549;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.blog-related-card strong {
  display: block;
  color: #061b0e;
  font-size: 19px;
  line-height: 1.25;
}

@media (max-width: 980px) {
  .blog-post-container {
    width: min(100% - 40px, 760px);
  }

  .blog-post-layout,
  .blog-related-grid {
    grid-template-columns: 1fr;
  }

  .blog-post-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .reading-progress-bar {
    top: 72px;
  }

  .blog-post-shell {
    padding-top: 36px;
  }

  .blog-post-container {
    width: min(100% - 32px, 390px);
  }

  .blog-post-hero {
    margin-bottom: 34px;
  }

  .blog-post-title {
    font-size: 34px;
    line-height: 1.05;
  }

  .blog-post-dek {
    font-size: 16px;
  }

  .blog-post-meta {
    gap: 8px 10px;
    font-size: 13px;
  }

  .blog-post-dot {
    display: none;
  }

  .blog-post-feature {
    margin-bottom: 48px;
    padding: 10px;
    border-radius: 12px;
  }

  .blog-post-feature img {
    border-radius: 10px;
  }

  .blog-post-content {
    font-size: 16px;
    line-height: 1.72;
  }

  .blog-post-content blockquote {
    padding: 20px;
    font-size: 20px;
  }

  .blog-author-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 56px;
  }

  .blog-sidebar-card {
    padding: 22px;
  }
}
