/* Only the two editorial listings. Reuse the home/header/footer width token;
   never override the theme's shared .col-full, navigation or product grids. */
body:is(.category-recipes,.category-blog,.blog) .shoptimizer-archive > .col-full,
body:is(.category-recipes,.category-blog,.blog) .shoptimizer-archive > .archive-header > .col-full {
  box-sizing: border-box;
  width: var(--zg-page-width, calc(100% - 40px));
  max-width: 1412px !important;
  margin-inline: auto;
  padding-inline: 0 !important;
}
body:is(.category-recipes,.category-blog,.blog) .shoptimizer-archive #primary {
  width: 100%;
  min-width: 0;
  margin: 0;
  float: none;
}
body:is(.category-recipes,.category-blog,.blog) .site-main.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
  padding-bottom: 0;
}
/* Fixed span:3 in the theme creates implicit columns after its mobile breakpoint.
   Both the heading and controls must span the actual grid at every width. */
body:is(.category-recipes,.category-blog,.blog) .site-main.grid > :is(.page-header,.navigation.pagination,.blog-load-more-container) {
  grid-column: 1 / -1 !important;
  min-width: 0;
  margin: 0 !important;
}
body:is(.category-recipes,.category-blog,.blog) .site-main.grid > .page-header .page-title {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.025em;
  text-align: left;
}
body:is(.category-recipes,.category-blog,.blog) .site-main.grid > .post {
  min-width: 0;
  width: auto;
  margin: 0 !important;
  border-radius: 3px !important;
  overflow: hidden;
}
body:is(.category-recipes,.category-blog,.blog) .site-main.grid > .post .post-thumbnail {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  margin: 0;
  border-radius: 3px 3px 0 0;
  overflow: hidden;
}
body:is(.category-recipes,.category-blog,.blog) .site-main.grid > .post .post-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body:is(.category-recipes,.category-blog,.blog) .site-main.grid > .post .entry-header {
  padding: 20px 24px 0 !important;
}
body:is(.category-recipes,.category-blog,.blog) .site-main.grid > .post .entry-title {
  font-size: 18px;
  line-height: 1.35;
  overflow-wrap: break-word;
  margin: 0 0 10px;
}
body:is(.category-recipes,.category-blog,.blog) .site-main.grid > .post .entry-content {
  padding: 0 24px 24px;
  overflow-wrap: break-word;
}
body:is(.category-recipes,.category-blog,.blog) .site-main.grid > .post .entry-content > :last-child {
  margin-bottom: 0;
}
body:is(.category-recipes,.category-blog,.blog) .site-content {
  padding-bottom: 32px;
}
@media (max-width: 1199px) {
  body:is(.category-recipes,.category-blog,.blog) .site-main.grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }
}
@media (max-width: 639px) {
  body:is(.category-recipes,.category-blog,.blog) .site-main.grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 12px;
  }
  body:is(.category-recipes,.category-blog,.blog) .site-main.grid > .post .entry-header {
    padding: 12px 12px 0 !important;
  }
  body:is(.category-recipes,.category-blog,.blog) .site-main.grid > .post .entry-content {
    padding: 0 12px 14px;
    font-size: 13px;
    line-height: 1.45;
  }
  body:is(.category-recipes,.category-blog,.blog) .site-main.grid > .post .entry-title {
    font-size: 14px;
    line-height: 1.35;
    margin-bottom: 8px;
  }
  body:is(.category-recipes,.category-blog,.blog) .site-main.grid > .post .entry-content p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    font-size: inherit;
    line-height: inherit;
  }
  body:is(.category-recipes,.category-blog,.blog) .site-content { padding-bottom: 28px; }
}

/* Match the blog detail breadcrumb on both editorial archives. */
body:is(.category-recipes,.category-blog,.blog) .archive-header .woocommerce-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 24px 0 12px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 400;
  color: #6b6b6b;
}
body:is(.category-recipes,.category-blog,.blog) .archive-header .woocommerce-breadcrumb :is(a,.breadcrumb-current,.breadcrumb-separator) {
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  color: inherit;
}
body:is(.category-recipes,.category-blog,.blog) .archive-header .woocommerce-breadcrumb a {
  text-decoration: none;
}
body:is(.category-recipes,.category-blog,.blog) .archive-header .woocommerce-breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
body:is(.category-recipes,.category-blog,.blog) .archive-header .breadcrumb-separator {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  opacity: 1;
}
body:is(.category-recipes,.category-blog,.blog) .archive-header .breadcrumb-separator svg { display: none; }
body:is(.category-recipes,.category-blog,.blog) .archive-header .breadcrumb-separator::before { content: "/"; }
@media (max-width: 768px) {
  body:is(.category-recipes,.category-blog,.blog) .archive-header .woocommerce-breadcrumb {
    padding-top: 20px;
    padding-bottom: 10px;
  }
}
