.blog-shell {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem 1rem 4rem;
}

.blog-shell--post {
  max-width: 60rem;
}

.blog-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #2a9d8f;
}

.blog-back-link:hover {
  color: #115245;
}

.blog-hero {
  margin-top: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(42, 157, 143, 0.12);
  border-radius: 2rem;
  background: linear-gradient(180deg, #ffffff 0%, #f4fbfa 100%);
  box-shadow: 0 18px 50px -30px rgba(17, 24, 39, 0.35);
}

.blog-hero__eyebrow,
.blog-section-heading__eyebrow {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #2a9d8f;
}

.blog-hero__title {
  margin-top: 0.75rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
  font-weight: 800;
  color: #111827;
}

.blog-hero__subtitle {
  margin-top: 1rem;
  max-width: 46rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4b5563;
}

.blog-hero__summary {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
  padding: 1.25rem;
  border: 1px solid rgba(42, 157, 143, 0.12);
  border-radius: 1.5rem;
  background: #ffffff;
}

.blog-hero__summary-title {
  font-size: 1.2rem;
  line-height: 1.45;
  font-weight: 800;
  color: #111827;
}

.blog-hero__summary-text {
  margin-top: 0.5rem;
  font-size: 0.98rem;
  line-height: 1.8;
  color: #4b5563;
}

.blog-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.blog-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.blog-button--primary {
  color: #ffffff;
  background: #2a9d8f;
  box-shadow: 0 12px 24px -16px rgba(42, 157, 143, 0.85);
}

.blog-button--primary:hover {
  background: #115245;
}

.blog-button--secondary {
  color: #2a9d8f;
  background: #ffffff;
  border: 1px solid rgba(42, 157, 143, 0.25);
}

.blog-button--secondary:hover {
  background: #ecf8f8;
}

.blog-index-section {
  margin-top: 2.5rem;
}

.blog-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.blog-section-heading__title {
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 800;
  color: #111827;
}

.blog-section-heading__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: #ecf8f8;
  color: #2a9d8f;
  font-weight: 800;
}

.blog-card-grid {
  display: grid;
  gap: 1rem;
}

.blog-card-grid--compact {
  grid-template-columns: 1fr;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.4rem;
  border: 1px solid rgba(42, 157, 143, 0.12);
  border-radius: 1.5rem;
  background: #ffffff;
  box-shadow: 0 12px 30px -28px rgba(17, 24, 39, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-2px);
  border-color: rgba(42, 157, 143, 0.28);
  box-shadow: 0 18px 40px -28px rgba(17, 24, 39, 0.45);
}

.blog-card--featured {
  background: linear-gradient(180deg, #ffffff 0%, #f6fbf7 100%);
}

.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.blog-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #ecf8f8;
  color: #2a9d8f;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.blog-card__type,
.homepage-blog-feature__type {
  font-size: 0.8rem;
  font-weight: 700;
  color: #6b7280;
}

.blog-card__title {
  font-size: 1.35rem;
  line-height: 1.4;
  font-weight: 800;
  color: #111827;
}

.blog-card__title--compact {
  font-size: 1.08rem;
  line-height: 1.45;
}

.blog-card__title a:hover,
.homepage-blog-feature__title a:hover,
.homepage-blog-list__title a:hover,
.blog-quick-nav__list a:hover {
  color: #115245;
}

.blog-card__excerpt {
  font-size: 0.98rem;
  line-height: 1.8;
  color: #4b5563;
}

.blog-card__excerpt--compact {
  font-size: 0.92rem;
  line-height: 1.65;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  font-size: 0.92rem;
  font-weight: 800;
  color: #2a9d8f;
}

.blog-card__link:hover {
  color: #115245;
}

.blog-post {
  margin-top: 1.5rem;
}

.blog-post__hero {
  padding: 2rem;
  border: 1px solid rgba(42, 157, 143, 0.12);
  border-radius: 2rem;
  background: #ffffff;
  box-shadow: 0 18px 50px -30px rgba(17, 24, 39, 0.35);
}

.blog-post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.blog-post__type {
  font-size: 0.85rem;
  font-weight: 700;
  color: #6b7280;
}

.blog-post__title {
  margin-top: 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  font-weight: 800;
  color: #111827;
}

.blog-post__subtitle {
  margin-top: 1rem;
  font-size: 1.02rem;
  line-height: 1.85;
  color: #4b5563;
}

.blog-quick-nav {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid #e5e7eb;
  border-radius: 1.25rem;
  background: #f8fafc;
}

.blog-quick-nav__title {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2a9d8f;
}

.blog-quick-nav__list {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.blog-quick-nav__list a {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #374151;
}

.blog-article-body {
  margin-top: 1.25rem;
  padding: 1.75rem 2rem;
  border-radius: 2rem;
  background: #ffffff;
  box-shadow: 0 18px 50px -34px rgba(17, 24, 39, 0.32);
}

.blog-article-section + .blog-article-section {
  margin-top: 2.2rem;
}

.blog-article-section__title {
  font-size: 1.45rem;
  line-height: 1.4;
  font-weight: 800;
  color: #111827;
}

.blog-article-section__paragraph {
  margin-top: 0.9rem;
  font-size: 1rem;
  line-height: 1.95;
  color: #374151;
}

.blog-app-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 2.4rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(42, 157, 143, 0.16);
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #ecf8f8 0%, #f8fbff 100%);
}

.blog-app-cta__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #111827;
}

.blog-app-cta__text {
  margin-top: 0.35rem;
  font-size: 0.96rem;
  line-height: 1.75;
  color: #4b5563;
}

.blog-rail-section {
  margin-top: 2.4rem;
}

.blog-faq-grid {
  display: grid;
  gap: 1rem;
}

.blog-faq-card {
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(42, 157, 143, 0.12);
  border-radius: 1.25rem;
  background: #ffffff;
}

.blog-faq-card__question {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.5;
  color: #111827;
}

.blog-faq-card__answer {
  margin-top: 0.5rem;
  font-size: 0.96rem;
  line-height: 1.75;
  color: #4b5563;
}

.blog-home-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  padding: 3rem 1rem 0;
}

.blog-home-header__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.blog-home-header__title {
  margin-top: 0.75rem;
  font-size: 1.9rem;
  line-height: 1.25;
  font-weight: 800;
  color: #111827;
}

.blog-home-body {
  margin-top: 2rem;
}

.homepage-blog-grid {
  display: grid;
  gap: 1rem;
}

.homepage-blog-feature {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.5rem;
  border: 1px solid rgba(42, 157, 143, 0.12);
  border-radius: 1.75rem;
  background: linear-gradient(180deg, #ffffff 0%, #f4fbfa 100%);
  box-shadow: 0 18px 42px -30px rgba(17, 24, 39, 0.35);
}

.homepage-blog-feature__meta,
.homepage-blog-list__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.homepage-blog-feature__title {
  font-size: 1.45rem;
  line-height: 1.4;
  font-weight: 800;
  color: #111827;
}

.homepage-blog-feature__excerpt {
  font-size: 1rem;
  line-height: 1.8;
  color: #4b5563;
}

.homepage-blog-list {
  display: grid;
  gap: 1rem;
}

.homepage-blog-list__item {
  padding: 1.2rem 1.15rem;
  border: 1px solid rgba(42, 157, 143, 0.12);
  border-radius: 1.25rem;
  background: #ffffff;
  box-shadow: 0 10px 28px -28px rgba(17, 24, 39, 0.5);
}

.homepage-blog-list__title {
  margin-top: 0.55rem;
  font-size: 1.02rem;
  line-height: 1.55;
  font-weight: 800;
  color: #111827;
}

.homepage-blog-list__excerpt {
  margin-top: 0.45rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #6b7280;
}

@media (min-width: 768px) {
  .blog-shell {
    padding: 4rem 1.5rem 5rem;
  }

  .blog-hero {
    padding: 2.5rem;
  }

  .blog-hero__summary {
    grid-template-columns: minmax(0, 1.6fr) auto;
    align-items: end;
  }

  .blog-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-card--featured {
    grid-column: span 2;
  }

  .homepage-blog-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: start;
  }

  .blog-home-header {
    flex-direction: row;
    align-items: end;
    justify-content: space-between;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .blog-app-cta {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .blog-shell,
  .blog-shell--post {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .blog-post__hero,
  .blog-article-body {
    padding: 2.5rem 3rem;
  }

  .blog-card-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .homepage-blog-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
