:root {
  color-scheme: light;
  --paper: #fffdf7;
  --paper-strong: #ffffff;
  --ink: #1c2421;
  --muted: #65736d;
  --line: rgba(28, 36, 33, 0.14);
  --teal: #007a5a;
  --coral: #d85b45;
  --sage: #dfe9df;
  --gold: #f6c453;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(0, 122, 90, 0.08), transparent 34%),
    linear-gradient(180deg, #fffaf0 0%, #f7fbf7 54%, #ffffff 100%);
  color: var(--ink);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--teal);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

img {
  max-width: 100%;
}

.blog-page {
  width: calc(100% - 32px);
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 0 72px;
}

.blog-page.is-post {
  max-width: 880px;
}

.blog-nav {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
  color: var(--ink);
}

.blog-nav div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.blog-nav a {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 780;
  text-decoration: none;
}

.blog-wordmark {
  letter-spacing: 0;
}

.blog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 28px;
  align-items: stretch;
  padding: clamp(26px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(246, 196, 83, 0.22), transparent 28%),
    linear-gradient(160deg, rgba(0, 122, 90, 0.08), transparent 54%),
    var(--paper-strong);
  box-shadow: 0 24px 70px rgba(28, 36, 33, 0.08);
}

.blog-hero-copy {
  align-self: center;
  min-width: 0;
}

.blog-eyebrow,
.blog-meta {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.blog-hero h1,
.blog-post h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.96;
}

.blog-hero p:not(.blog-eyebrow),
.blog-post-header > p,
.blog-card p,
.blog-post-content p,
.blog-post-footer p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.72;
}

.blog-author-card {
  display: grid;
  align-content: center;
  gap: 16px;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fff9;
}

.blog-author-card strong {
  display: block;
  margin-bottom: 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.blog-author-card span {
  color: var(--muted);
  line-height: 1.45;
}

.blog-author-photo {
  width: 118px;
  height: 118px;
  border: 4px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 16px 38px rgba(28, 36, 33, 0.18);
  object-fit: cover;
}

.blog-author-photo.is-small {
  width: 72px;
  height: 72px;
}

.blog-stream {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.blog-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  grid-template-rows: 1fr;
  min-height: 170px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: 0 18px 46px rgba(28, 36, 33, 0.07);
}

.blog-card:first-child {
  grid-column: auto;
  grid-template-columns: 170px minmax(0, 1fr);
  grid-template-rows: 1fr;
}

.blog-card-image {
  display: block;
  grid-column: 1;
  grid-row: 1;
  width: 170px;
  height: 100%;
  min-height: 100%;
  background: var(--sage);
}

.blog-card img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: top center;
}

.blog-card:first-child img {
  max-height: none;
}

.blog-card-body {
  display: grid;
  grid-column: 2;
  grid-row: 1;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: 16px 18px;
}

.blog-card h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  letter-spacing: 0;
  line-height: 1.02;
}

.blog-card h2 a {
  color: inherit;
  text-decoration: none;
}

.blog-card p {
  margin: 0;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.blog-tags span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(0, 122, 90, 0.22);
  border-radius: 999px;
  background: rgba(0, 122, 90, 0.07);
  color: #175846;
  font-size: 0.82rem;
  font-weight: 760;
}

.blog-load-state {
  min-height: 44px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 720;
  text-align: center;
}

.blog-post {
  display: grid;
  gap: 20px;
}

.blog-post-header,
.blog-post-content,
.blog-related,
.blog-post-footer {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: 0 18px 46px rgba(28, 36, 33, 0.06);
}

.blog-post-header {
  overflow: hidden;
  padding: clamp(24px, 5vw, 44px);
}

.blog-post h1 {
  font-size: clamp(2.35rem, 6vw, 4.8rem);
}

.blog-post-header img {
  display: block;
  width: 100%;
  aspect-ratio: 640 / 426;
  max-height: 560px;
  margin-top: 24px;
  border-radius: 8px;
  object-fit: cover;
  object-position: top center;
}

.blog-post-content {
  padding: clamp(22px, 5vw, 42px);
}

.blog-post-content h2,
.blog-related h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  letter-spacing: 0;
  line-height: 1.05;
}

.blog-post-content p {
  margin: 0;
}

.blog-post-content p + p {
  margin-top: 16px;
}

.blog-subsection + .blog-subsection {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.blog-recipe-list-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.72fr);
  gap: 20px;
  margin-top: 32px;
  padding: 22px;
  border: 1px solid rgba(0, 122, 90, 0.2);
  border-radius: 8px;
  background: #fbfff9;
}

.blog-recipe-list-copy {
  display: grid;
  align-content: start;
  gap: 12px;
}

.blog-recipe-list-card h2,
.blog-recipe-list-card p {
  margin: 0;
}

.blog-recipe-list-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-recipe-list-card li {
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 720;
}

.blog-copy-list-button {
  width: fit-content;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: var(--teal);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 820;
  padding: 0 14px;
}

.blog-related {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 22px;
}

.blog-related h2 {
  width: 100%;
  margin-bottom: 4px;
}

.blog-related a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbfff9;
  color: var(--teal);
  font-weight: 780;
  text-decoration: none;
}

.blog-post-footer {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: center;
  padding: 22px;
}

.blog-post-footer p {
  margin: 0;
}

@media (max-width: 820px) {
  .blog-hero {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .blog-page {
    width: calc(100% - 20px);
    padding-top: 14px;
    overflow-x: hidden;
  }

  .blog-recipe-list-card {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .blog-nav,
  .blog-nav div {
    justify-content: flex-start;
  }

  .blog-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .blog-hero {
    padding: 22px;
  }

  .blog-hero h1,
  .blog-post h1 {
    font-size: clamp(2rem, 9.1vw, 2.35rem);
    line-height: 1;
    overflow-wrap: break-word;
  }

  .blog-card h2 {
    font-size: clamp(1.15rem, 6vw, 1.45rem);
    overflow-wrap: break-word;
  }

  .blog-card,
  .blog-card:first-child {
    grid-template-columns: 104px minmax(0, 1fr);
    min-height: 148px;
  }

  .blog-card-image {
    width: 104px;
  }

  .blog-card-body {
    gap: 7px;
    padding: 12px;
  }

  .blog-tags {
    display: none;
  }

  .blog-post-footer {
    grid-template-columns: 1fr;
  }
}
