:root {
  --blog-green: #043f2e;
  --blog-green-deep: #022a20;
  --blog-green-soft: #0d5f45;
  --blog-gold: #f2c94c;
  --blog-gold-deep: #c99612;
  --blog-cream: #fff9e8;
  --blog-surface: #ffffff;
  --blog-text: #18221e;
  --blog-muted: #65726d;
  --blog-border: rgba(4, 63, 46, 0.12);
  --blog-shadow: 0 18px 44px rgba(2, 42, 32, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--blog-text);
  background:
    radial-gradient(circle at top left, rgba(242, 201, 76, 0.34), transparent 28rem),
    linear-gradient(180deg, #fffdf5 0%, #eef7f1 46%, #f8fbf6 100%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.blog-shell {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
}

.blog-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(255, 253, 245, 0.88);
  border-bottom: 1px solid var(--blog-border);
}

.blog-nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.blog-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.blog-logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blog-green) 0%, var(--blog-green-soft) 100%);
  color: var(--blog-gold);
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(4, 63, 46, 0.2);
}

.blog-brand strong {
  display: block;
  font-size: 1rem;
  line-height: 1.1;
}

.blog-brand span {
  color: var(--blog-muted);
  font-size: 0.82rem;
}

.back-store-link,
.blog-cta-link,
.read-more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.back-store-link {
  padding: 0 16px;
  background: var(--blog-green);
  color: #fff;
}

.blog-hero {
  padding: 34px 0 18px;
}

.blog-eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(242, 201, 76, 0.26);
  color: var(--blog-green);
  font-weight: 900;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.blog-hero h1,
.article-hero h1 {
  margin: 14px 0 12px;
  max-width: 820px;
  color: var(--blog-green-deep);
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

.blog-hero p,
.article-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--blog-muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  padding: 18px 0 48px;
}

.post-card {
  overflow: hidden;
  border: 1px solid var(--blog-border);
  border-radius: 16px;
  background: var(--blog-surface);
  box-shadow: 0 10px 24px rgba(2, 42, 32, 0.08);
}

.post-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--blog-cream);
}

.post-card-body {
  padding: 14px;
}

.post-card h2 {
  margin: 0 0 8px;
  color: var(--blog-green-deep);
  font-size: 1.05rem;
  line-height: 1.25;
}

.post-card p {
  margin: 0 0 12px;
  color: var(--blog-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.read-more-link {
  min-height: 38px;
  padding: 0 14px;
  background: var(--blog-gold);
  color: var(--blog-green-deep);
  font-size: 0.92rem;
}

.article-shell {
  width: min(860px, calc(100% - 28px));
  margin: 0 auto;
  padding-bottom: 56px;
}

.article-hero {
  padding: 42px 0 24px;
}

.article-meta {
  margin-top: 14px;
  color: var(--blog-muted);
  font-size: 0.94rem;
}

.blog-engagement {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 14px 0 0;
  padding: 9px 10px 9px 14px;
  border: 1px solid var(--blog-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--blog-green-deep);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(2, 42, 32, 0.08);
}

.blog-engagement button {
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  background: var(--blog-green);
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.featured-image {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--blog-border);
  box-shadow: var(--blog-shadow);
  margin: 8px 0 34px;
}

.featured-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-content {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--blog-border);
  padding: clamp(22px, 5vw, 42px);
  box-shadow: 0 14px 34px rgba(2, 42, 32, 0.08);
}

.article-content h2 {
  margin: 30px 0 10px;
  color: var(--blog-green);
  font-size: clamp(1.45rem, 4vw, 2rem);
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content p,
.article-content li {
  color: #30413a;
  font-size: 1.03rem;
  line-height: 1.75;
}

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

.article-inline-image {
  margin: 28px 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--blog-border);
}

.blog-cta {
  margin: 34px 0;
  padding: 28px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--blog-green) 0%, var(--blog-green-soft) 100%);
  color: #fff;
}

.blog-cta h2 {
  margin: 0 0 10px;
  color: #fff;
}

.blog-cta p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.82);
}

.blog-cta-link {
  padding: 0 20px;
  background: var(--blog-gold);
  color: var(--blog-green-deep);
}

.related-posts {
  margin-top: 26px;
}

.related-posts h2 {
  color: var(--blog-green-deep);
}

.related-list {
  display: grid;
  gap: 12px;
}

.related-list a {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--blog-border);
  background: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 720px) {
  .blog-shell {
    width: min(100% - 20px, 560px);
  }

  .blog-nav {
    min-height: 62px;
  }

  .blog-brand span {
    display: none;
  }

  .back-store-link {
    padding: 0 13px;
    font-size: 0.9rem;
  }

  .blog-hero,
  .article-hero {
    padding-top: 24px;
  }

  .blog-hero {
    padding-bottom: 10px;
  }

  .blog-hero h1,
  .article-hero h1 {
    font-size: clamp(1.85rem, 10vw, 2.65rem);
    line-height: 1.04;
  }

  .blog-hero p,
  .article-hero p {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .post-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 10px;
  }

  .post-card {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    min-height: 128px;
    border-radius: 14px;
  }

  .post-card img {
    height: 100%;
    min-height: 128px;
    aspect-ratio: auto;
  }

  .post-card h2 {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.98rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .post-card p {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 10px;
    font-size: 0.84rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .post-card-body {
    padding: 10px 11px;
  }

  .read-more-link {
    min-height: 32px;
    padding: 0 12px;
    font-size: 0.82rem;
  }
}
