/** Styles blog Maïté — sync Figma blog-maite 8272:2770 + recipe-tip 8279:1450 */

:root {
  --g: #FF8559;
  --gl: rgba(255, 133, 89, 0.1);
  --gd: #FF8559;
  --t: #1E1F20;
  --tm: #787D8A;
  --ts: #AFB4BF;
  --b: #E4E4E4;
  --w: #FFFFFF;
  --grey1: #F8F8F8;
  --blog-px: clamp(20px, 5.5vw, 80px);
  --blog-article-px: clamp(20px, 12.5vw, 180px);
  --blog-article-max: 1080px;
  --blog-article-card-pad: clamp(28px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.blog-page-body,
.blog-article-body {
  font-family: var(--ds-font);
  background: var(--w);
  color: var(--t);
  letter-spacing: -0.03em;
  min-height: 100%;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ── Navbar ── */
.blog-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px clamp(16px, 3vw, 24px);
}

.blog-nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  transition: opacity 0.15s;
}

.blog-nav-logo:hover { opacity: 0.85; }

.blog-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.blog-nav-links a {
  font-size: var(--ds-l-size);
  font-weight: var(--ds-l-weight);
  letter-spacing: var(--ds-l-ls);
  line-height: var(--ds-l-lh);
  color: var(--tm);
  transition: color 0.15s;
}

.blog-nav-links a:hover { color: var(--t); }

.blog-nav-links a.is-active {
  color: var(--t);
  font-weight: var(--ds-h3-weight);
}

.blog-nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--g);
  color: #fff;
  font-size: var(--ds-m-size);
  font-weight: var(--ds-h3-weight);
  white-space: nowrap;
  transition: opacity 0.15s;
}

.blog-nav-cta:hover { opacity: 0.9; }

/* ── Navbar article sur hero (Figma 8267:2016) ── */
.blog-article-nav-zone {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  pointer-events: none;
}

.blog-nav--hero {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 24px;
  background: transparent;
  border: none;
  pointer-events: auto;
}

.blog-nav--hero .blog-nav-logo img.logo-wordmark {
  filter: brightness(0) invert(1);
}

.blog-nav--hero .blog-nav-links a {
  color: #fff;
  font-size: var(--ds-l-size);
  font-weight: var(--ds-l-weight);
  letter-spacing: var(--ds-l-ls);
  line-height: var(--ds-l-lh);
}

.blog-nav--hero .blog-nav-links a:hover,
.blog-nav--hero .blog-nav-links a.is-active {
  color: #fff;
  opacity: 1;
}

.blog-nav--hero .blog-nav-links a.is-active {
  font-weight: var(--ds-h3-weight);
}

.blog-nav-user {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 100px;
  background: var(--grey1);
  color: #131314;
  font-size: var(--ds-m-size);
  font-weight: var(--ds-m-weight);
  letter-spacing: var(--ds-m-ls);
  line-height: var(--ds-m-lh);
  flex-shrink: 0;
  transition: opacity 0.15s;
  white-space: nowrap;
}

.blog-nav-user:hover { opacity: 0.92; }

.blog-nav-user-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--g);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.blog-nav-user-avatar svg {
  display: block;
  width: 12px;
  height: 12px;
}

.blog-nav-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.58) 0%,
    rgba(0, 0, 0, 0.32) 45%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* ── Hero section ── */
.blog-hero-section {
  position: relative;
  background: var(--gl);
  padding: 100px var(--blog-px) 30px;
  overflow: visible;
}

.blog-hero-zigouigoui {
  position: absolute;
  right: -100px;
  top: 42%;
  width: clamp(260px, 28vw, 380px);
  height: auto;
  transform: translateY(-50%) rotate(30deg);
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.blog-hero-section-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.blog-categories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.blog-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.5px;
  line-height: 1.4;
  color: var(--g);
  cursor: pointer;
  transition: opacity 0.15s, color 0.15s;
  white-space: nowrap;
}

.blog-cat-btn:hover { opacity: 0.75; }

.blog-cat-btn.is-active {
  color: var(--t);
  font-weight: 700;
}

.blog-cat-emoji { font-size: 16px; line-height: 1; }

.blog-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.blog-search-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 100px;
  background: transparent;
  color: var(--g);
  cursor: pointer;
  transition: opacity 0.15s, color 0.15s, background 0.15s;
}

.blog-search-btn:hover { opacity: 0.75; }

.blog-search-btn.is-active,
.blog-search.is-open .blog-search-btn {
  color: var(--t);
  background: var(--grey1);
}

.blog-search-btn:focus-visible {
  outline: 2px solid var(--g);
  outline-offset: 2px;
}

.blog-search-btn svg { display: block; flex-shrink: 0; }

.blog-search-input {
  box-sizing: border-box;
  width: min(220px, 42vw);
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--b);
  border-radius: 100px;
  background: var(--w);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.3px;
  color: var(--t);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.blog-search-input::placeholder { color: var(--ts); }

.blog-search-input:focus {
  border-color: var(--g);
  box-shadow: 0 0 0 3px var(--gl);
}

.blog-search-input[hidden] { display: none !important; }

.blog-hero-inner {
  display: flex;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  color: inherit;
  height: 500px;
}

.blog-hero-inner:hover .blog-hero-cta { opacity: 0.8; }

.blog-hero-text {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.blog-hero-title {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--t);
}

.blog-hero-excerpt {
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.5px;
  color: var(--tm);
}

.blog-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.4;
  color: var(--gd);
  transition: opacity 0.15s;
  width: fit-content;
}

.blog-hero-cta img { display: block; flex-shrink: 0; width: 16px; height: 16px; }

.blog-hero-visual {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 4vw, 60px);
  height: 100%;
  align-self: stretch;
}

.blog-hero-img-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
}

.blog-hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Main / grid ── */
.blog-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px var(--blog-px) 80px;
}

.blog-section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
}

.blog-section-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.5px;
  text-align: center;
  color: var(--t);
}

.blog-section-bar {
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: var(--g);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 60px;
  column-gap: 20px;
}

.blog-card {
  width: 100%;
  min-width: 0;
  background: var(--w);
  border: 1px solid var(--b);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}

.blog-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
}

.blog-card-img {
  height: 220px;
  overflow: hidden;
  background: var(--grey1);
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}

.blog-card:hover .blog-card-img img { transform: scale(1.03); }

.blog-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--grey1);
  font-size: var(--ds-m-size);
  font-weight: var(--ds-m-weight);
  letter-spacing: -0.5px;
  line-height: 1.4;
  color: var(--tm);
  white-space: nowrap;
}

.blog-card-tag-emoji { line-height: 1; }

.blog-card-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.5px;
  color: var(--t);
}

.blog-card-excerpt {
  font-size: var(--ds-l-size);
  font-weight: var(--ds-l-weight);
  line-height: 1.4;
  letter-spacing: -0.5px;
  color: var(--tm);
}

.blog-card-meta {
  font-size: var(--ds-l-size);
  font-weight: var(--ds-l-weight);
  line-height: 1.4;
  letter-spacing: -0.5px;
  color: var(--ts);
}

.blog-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--tm);
  font-size: var(--ds-m-size);
}

.blog-load-wrap {
  display: flex;
  justify-content: center;
  padding-top: 64px;
  padding-bottom: 32px;
}

.blog-load-more {
  padding: 16px 40px;
  border: none;
  border-radius: 100px;
  background: var(--g);
  color: #fff;
  font-family: inherit;
  font-size: var(--ds-m-size);
  font-weight: var(--ds-m-weight);
  letter-spacing: -0.5px;
  line-height: 1.4;
  cursor: pointer;
  box-shadow: 0 8px 8px rgba(255, 133, 89, 0.14);
  transition: opacity 0.15s, transform 0.15s;
}

.blog-load-more:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* ── Article page (Figma 8261:668) ── */
.blog-article-hero-banner {
  position: relative;
  height: clamp(360px, 40vw, 500px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 var(--blog-article-px) 0;
  overflow: visible;
}

.blog-article-hero-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.blog-article-hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 57.6%);
  pointer-events: none;
}

/* Bouton retour — même langage que .recipe-hero-back (fiche recette) */
.blog-article-hero-back {
  position: absolute;
  top: calc(72px + env(safe-area-inset-top, 0px));
  left: 24px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--t);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
  box-sizing: border-box;
  transition: background 0.15s, box-shadow 0.15s;
  z-index: 5;
  padding: 0;
}

.blog-article-hero-back:hover {
  background: #fff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.26);
}

.blog-article-hero-back svg {
  width: 24px;
  height: 24px;
  display: block;
}

.blog-article-hero-card {
  position: relative;
  z-index: 2;
  width: min(var(--blog-article-max), 100%);
  max-width: var(--blog-article-max);
  margin-bottom: -100px;
  background: var(--w);
  border-radius: 24px;
  padding: var(--blog-article-card-pad);
  box-shadow: 0 16px 16px rgba(20, 20, 43, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}

.blog-article-hero-card .blog-article-title {
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--t);
  margin: 0;
  max-width: 900px;
}

.blog-article-line {
  width: 30px;
  height: 2px;
  background: var(--g);
  border-radius: 1px;
  flex-shrink: 0;
}

.blog-article-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: var(--ds-l-size);
  font-weight: var(--ds-l-weight);
  letter-spacing: var(--ds-l-ls);
  line-height: var(--ds-l-lh);
}

.blog-article-author {
  font-weight: 700;
  color: #4a5a50;
}

.blog-article-author strong {
  color: #14142b;
  font-weight: 700;
}

.blog-article-meta-sep {
  width: 1px;
  height: 16px;
  background: var(--b);
  flex-shrink: 0;
}

.blog-article-hero-meta time {
  font-weight: 500;
  color: #4a5a50;
}

.blog-article-content {
  width: min(var(--blog-article-max), calc(100vw - 2 * var(--blog-article-px)));
  max-width: var(--blog-article-max);
  margin-left: auto;
  margin-right: auto;
  padding: clamp(120px, 14vw, 150px) var(--blog-article-card-pad) 80px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.blog-article-lead {
  font-size: var(--ds-l-size);
  font-weight: var(--ds-l-weight);
  line-height: var(--ds-l-lh);
  letter-spacing: var(--ds-l-ls);
  color: #4a5a50;
  text-align: center;
}

.blog-article-lead--left { text-align: left; }

.blog-article-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-article-section h2 {
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.5px;
  color: #212621;
  margin: 0;
}

.blog-article-section > p,
.blog-article-prose p,
.blog-article-prose li {
  font-size: var(--ds-l-size);
  font-weight: var(--ds-l-weight);
  line-height: var(--ds-l-lh);
  letter-spacing: var(--ds-l-ls);
  color: #4a5a50;
  margin: 0;
}

.blog-article-prose p + p { margin-top: 1em; }

.blog-article-prose ol,
.blog-article-prose ul {
  margin: 0;
  padding-left: 1.25em;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.blog-article-prose .text-coral,
.blog-article-content .text-coral { color: var(--g); }

.blog-article-tips {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.blog-article-tip {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.blog-article-tip-icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--gl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--g);
}

.blog-article-tip-icon svg {
  width: 26px;
  height: 26px;
}

.blog-article-tip-body {
  flex: 1;
  min-width: 0;
}

.blog-article-tip h3 {
  font-size: var(--ds-h2-size);
  font-weight: var(--ds-h2-weight);
  line-height: var(--ds-h2-lh);
  letter-spacing: var(--ds-h2-ls);
  color: #212621;
  margin: 0 0 12px;
}

.blog-article-tip p {
  font-size: var(--ds-l-size);
  font-weight: var(--ds-l-weight);
  line-height: var(--ds-l-lh);
  letter-spacing: var(--ds-l-ls);
  color: #4a5a50;
  margin: 0;
}

.blog-breadcrumb {
  width: min(var(--blog-article-max), calc(100vw - 2 * var(--blog-article-px)));
  max-width: var(--blog-article-max);
  margin: 0 auto;
  padding: clamp(16px, 3vw, 28px) var(--blog-article-card-pad) 0;
}

.blog-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: var(--tm);
  line-height: 1.4;
}

.blog-breadcrumb li {
  display: inline-flex;
  align-items: center;
}

.blog-breadcrumb li + li::before {
  content: '/';
  margin: 0 10px;
  color: var(--ts);
}

.blog-breadcrumb a {
  color: var(--tm);
  text-decoration: none;
}

.blog-breadcrumb a:hover { color: var(--gd); }

.blog-breadcrumb [aria-current="page"] {
  color: var(--t);
  font-weight: 500;
}

/* Figma 8279:1591 — Articles liés avec image */
.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 4px;
  align-items: stretch;
}

.blog-related-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e4e4e4;
  border-radius: 12px;
  overflow: hidden;
  background: var(--w);
  min-width: 0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.blog-related-card:hover {
  border-color: var(--g);
  box-shadow: 0 4px 20px rgba(255, 133, 89, 0.12);
}

.blog-related-card-img {
  height: 220px;
  overflow: hidden;
  background: var(--grey1, #f8f8f8);
  flex-shrink: 0;
}

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

.blog-related-card-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  flex: 1;
}

.blog-related-card h3 {
  font-family: var(--ds-font);
  font-size: var(--ds-h2-size);
  font-weight: var(--ds-h2-weight);
  margin: 0;
  line-height: var(--ds-h2-lh);
  letter-spacing: var(--ds-h2-ls);
  color: #1e1f20;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-related-card p {
  font-size: var(--ds-l-size);
  font-weight: var(--ds-l-weight);
  color: #787d8a;
  margin: 0;
  line-height: var(--ds-l-lh);
  letter-spacing: var(--ds-l-ls);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-hub-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-hub-links--secondary {
  margin-top: 12px;
}

.blog-hub-links a {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--gl);
  color: var(--gd);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  transition: background 0.15s ease;
}

.blog-hub-links a:hover { background: rgba(255, 133, 89, 0.18); }

.blog-article-recipes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.blog-recipe-card {
  flex: 1 1 240px;
  min-width: min(100%, 240px);
  background: var(--w);
  border: 1px solid var(--b);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}

.blog-recipe-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
}

.blog-recipe-card-img {
  height: 160px;
  position: relative;
  overflow: hidden;
  background: var(--grey1);
}

.blog-recipe-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-recipe-card-actions {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  padding: 16px;
  z-index: 1;
  pointer-events: none;
}

.blog-recipe-card-action {
  width: 36px;
  height: 36px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.blog-recipe-card-action svg {
  display: block;
  width: 16px;
  height: 16px;
}

.blog-recipe-card-action--plan {
  background: var(--g);
  color: #fff;
}

.blog-recipe-card-action--view {
  background: var(--w);
  color: var(--g);
}

.blog-recipe-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.blog-recipe-card-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.5px;
  color: var(--t);
}

.blog-recipe-card-time {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ts);
  letter-spacing: -0.5px;
}

.blog-recipe-card-time svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

/* Figma 8279:1450 — recette à gauche, édito numéroté (step-num) à droite */
.blog-article-recipe-tips {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: blog-recipe-tip;
}

.blog-article-recipe-tip {
  display: flex;
  align-items: center;
  gap: 60px;
  counter-increment: blog-recipe-tip;
}

.blog-article-recipe-tip .blog-recipe-card {
  flex: 0 0 340px;
  width: 340px;
  min-width: 0;
  align-self: stretch;
}

.blog-article-recipe-tip-text {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

/* Pastille 1/2/3 — même langage que .step-num des étapes recette (Figma 40px) */
.blog-article-recipe-tip-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 100px;
  background: var(--gl);
  color: var(--g);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-article-recipe-tip-num::before {
  content: counter(blog-recipe-tip);
}

.blog-article-recipe-tip-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  width: 100%;
}

.blog-article-recipe-tip-body h3 {
  font-size: var(--ds-h2-size);
  font-weight: var(--ds-h2-weight);
  line-height: var(--ds-h2-lh);
  letter-spacing: var(--ds-h2-ls);
  color: #212621;
  margin: 0;
}

.blog-article-recipe-tip-body p {
  font-size: var(--ds-l-size);
  font-weight: var(--ds-l-weight);
  line-height: var(--ds-l-lh);
  letter-spacing: var(--ds-l-ls);
  color: #4a5a50;
  margin: 0;
}

.blog-article-recipe-tip-body p + p {
  margin-top: 1em;
}

/* Figma 8279:1487 — actions sous le tip éditorial (Ajouter + Recette) */
.blog-article-recipe-tip-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.blog-article-recipe-tip-plan,
.blog-article-recipe-tip-recipe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: var(--ds-h3-size);
  font-weight: var(--ds-h3-weight);
  line-height: var(--ds-h3-lh);
  letter-spacing: var(--ds-h3-ls);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.blog-article-recipe-tip-plan {
  background: var(--g);
  color: #fff;
}

.blog-article-recipe-tip-plan svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: block;
}

.blog-article-recipe-tip-plan:hover {
  background: #f07448;
  transform: translateY(-1px);
}

.blog-article-recipe-tip-recipe {
  background: var(--w);
  color: var(--g);
}

.blog-article-recipe-tip-recipe:hover {
  background: #fff;
  transform: translateY(-1px);
}

.blog-article-recipe-tip-plan:focus-visible,
.blog-article-recipe-tip-recipe:focus-visible {
  outline: 2px solid var(--g);
  outline-offset: 2px;
}

/* Figma 8279:1822 — CTA « À vous de jouer » */
.blog-article-play {
  box-sizing: border-box;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 60px clamp(20px, 4vw, 40px);
  background: rgba(255, 133, 89, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}

.blog-article-play-inner {
  width: min(1080px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.blog-article-play h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.5px;
  color: #212621;
  margin: 0;
  max-width: 1080px;
}

.blog-article-play p {
  font-size: var(--ds-xl-size);
  font-weight: var(--ds-xl-weight);
  line-height: var(--ds-xl-lh);
  letter-spacing: var(--ds-xl-ls);
  color: #4a5a50;
  margin: 0;
  max-width: 1080px;
}

.blog-article-play-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.blog-article-play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: var(--ds-h3-size);
  font-weight: var(--ds-h3-weight);
  line-height: var(--ds-h3-lh);
  letter-spacing: var(--ds-h3-ls);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.blog-article-play-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: block;
}

.blog-article-play-btn--primary {
  background: var(--g);
  color: #fff;
}

.blog-article-play-btn--primary:hover {
  background: #f07448;
  transform: translateY(-1px);
}

.blog-article-play-btn--secondary {
  background: var(--w);
  color: var(--g);
}

.blog-article-play-btn--secondary:hover {
  background: #fff;
  transform: translateY(-1px);
}

.blog-article-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--b);
  border-radius: 16px;
  -webkit-overflow-scrolling: touch;
}

.blog-article-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 16px;
  letter-spacing: -0.3px;
}

.blog-article-table thead th {
  background: var(--t);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.3px;
  text-align: left;
  padding: 16px 20px;
  white-space: nowrap;
}

.blog-article-table thead th:first-child {
  border-top-left-radius: 15px;
}

.blog-article-table thead th:last-child {
  border-top-right-radius: 15px;
}

.blog-article-table tbody th {
  text-align: left;
  font-weight: 700;
  color: var(--t);
  padding: 16px 20px;
  vertical-align: top;
  white-space: nowrap;
}

.blog-article-table tbody td {
  text-align: left;
  font-weight: 500;
  color: var(--tm);
  line-height: 1.45;
  padding: 16px 20px;
  vertical-align: top;
  border-top: 1px solid var(--b);
}

.blog-article-table tbody th {
  border-top: 1px solid var(--b);
}

.blog-article-table tbody tr:nth-child(even) td,
.blog-article-table tbody tr:nth-child(even) th {
  background: var(--grey1);
}

.blog-article-table tbody td.is-winner {
  color: var(--gd);
  font-weight: 700;
}

.blog-article-table--family {
  font-size: 15px;
}

.blog-article-table--family thead th:nth-child(2),
.blog-article-table--family thead th:nth-child(3) {
  text-align: center;
}

.blog-article-table--family tbody td:nth-child(2),
.blog-article-table--family tbody td:nth-child(3) {
  text-align: center;
  vertical-align: middle;
}

.blog-article-table--family tbody td:last-child {
  font-size: 14px;
  font-weight: 500;
  color: var(--tm);
  text-align: left;
  line-height: 1.45;
}

.blog-article-table--family .blog-stars {
  display: block;
  letter-spacing: 1px;
  line-height: 1.3;
}

.blog-article-table--family .blog-stars-meta {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--t);
  letter-spacing: -0.03em;
}

.blog-article-table--family tfoot td:last-child {
  font-size: 14px;
  font-weight: 600;
  color: var(--g);
  text-align: left;
}

@media (max-width: 720px) {
  .blog-article-table--family thead th:last-child,
  .blog-article-table--family tbody td:last-child,
  .blog-article-table--family tfoot td:last-child {
    display: none;
  }
}

.blog-article-table-check {
  display: inline-flex;
  margin-right: 6px;
}

.blog-article-table tfoot th,
.blog-article-table tfoot td {
  padding: 16px 20px;
  border-top: 2px solid var(--b);
  font-weight: 700;
  color: var(--t);
}

/* —— Shopping list comparatif (box vs Maïté) —— */
.blog-shop-comparatif {
  width: 100%;
  margin: 8px 0 0;
  padding: 28px 24px 24px;
  border: 1px solid var(--b);
  border-radius: 16px;
  background: var(--w);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.blog-shop-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.blog-shop-title {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--t);
  line-height: 1.25;
}

.blog-shop-sub {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--tm);
}

.blog-shop-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.blog-shop-tab {
  border: 1.5px solid var(--b);
  background: var(--w);
  color: var(--tm);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.03em;
  cursor: pointer;
  transition: background .12s, color .12s, border-color .12s;
}

.blog-shop-tab:hover {
  border-color: var(--g);
  color: var(--g);
}

.blog-shop-tab.is-active {
  background: var(--gl);
  border-color: var(--g);
  color: var(--g);
}

.blog-shop-tagline {
  margin: 0;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--t);
}

.blog-shop-shared {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.blog-shop-shared-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--tm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blog-shop-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--grey1);
  color: var(--t);
  font-size: 12px;
  font-weight: 600;
}

.blog-shop-batch-note {
  margin: -4px 0 0;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--g);
  letter-spacing: -0.03em;
}

.blog-shop-batch-note[hidden] {
  display: none !important;
}

.blog-shop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.blog-shop-col-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--tm);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.blog-shop-col--list {
  border: 1.5px dashed #5B8DEF;
  border-radius: 14px;
  padding: 18px 16px 14px;
  background: #fff;
}

.blog-shop-col--box {
  border-radius: 14px;
  padding: 18px 16px 14px;
  background: var(--grey1);
}

.blog-shop-recipes {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blog-shop-recipes li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.blog-shop-recipe-num {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gl);
  color: var(--g);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.blog-shop-recipes a {
  color: var(--t);
  text-decoration: none;
}

.blog-shop-recipes a:hover {
  color: var(--g);
  text-decoration: underline;
}

.blog-shop-cat + .blog-shop-cat {
  margin-top: 16px;
}

.blog-shop-cat-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--t);
}

.blog-shop-cat-emo {
  font-size: 18px;
  line-height: 1;
}

.blog-shop-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-shop-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--b);
  font-size: 14px;
  font-weight: 500;
}

.blog-shop-item:last-child {
  border-bottom: none;
}

.blog-shop-item-name {
  color: var(--t);
  min-width: 0;
}

.blog-shop-item-price {
  flex-shrink: 0;
  color: var(--tm);
  font-variant-numeric: tabular-nums;
}

.blog-shop-box {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.blog-shop-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1.5px solid var(--b);
  font-size: 16px;
  font-weight: 700;
  color: var(--t);
}

.blog-shop-total strong {
  color: var(--g);
  font-size: 28px;
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
}

.blog-shop-verdict {
  margin: 0;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--t);
  line-height: 1.45;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--gl);
}

.blog-shop-verdict strong {
  color: var(--g);
  font-weight: 700;
}

.blog-shop-list-module .blog-shop-col--solo {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

/* Figma 8282:2431 — 3 mini cartes recettes en haut de la shopping list */
.blog-shop-mini-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.blog-shop-mini-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  background: var(--w);
  border: 1px solid var(--b);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.blog-shop-mini-card:hover {
  border-color: var(--g);
  box-shadow: 0 4px 16px rgba(255, 133, 89, 0.12);
}

.blog-shop-mini-card-img {
  position: relative;
  height: 90px;
  background: var(--grey1);
  overflow: hidden;
  flex-shrink: 0;
}

.blog-shop-mini-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-shop-mini-card-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.blog-shop-mini-card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 10px;
  flex: 1;
  min-width: 0;
}

.blog-shop-mini-card-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.5px;
  color: #000;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.blog-shop-mini-card-time {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.5px;
  color: var(--ts);
}

.blog-shop-mini-card-time-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  color: var(--ts);
}

@media (max-width: 640px) {
  .blog-shop-mini-cards {
    gap: 10px;
  }
  .blog-shop-mini-card-title {
    font-size: 13px;
    -webkit-line-clamp: 4;
  }
  .blog-shop-mini-card-body {
    gap: 10px;
    padding: 8px;
  }
  .blog-shop-mini-card-time {
    font-size: 12px;
  }
}

@media (max-width: 820px) {
  .blog-shop-grid {
    grid-template-columns: 1fr;
  }
  .blog-shop-comparatif {
    padding: 22px 16px 18px;
  }
}

.blog-article-table-caption {
  font-size: 14px;
  color: var(--ts);
  letter-spacing: -0.3px;
  margin-top: 12px;
}

@media (max-width: 640px) {
  .blog-article-table { font-size: 14px; }
  .blog-article-table thead th,
  .blog-article-table tbody th,
  .blog-article-table tbody td { padding: 12px 14px; }
}

/* ── Fiches commerçants (liste éditoriale) ── */
.blog-merchant-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.blog-merchant {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.blog-merchant-photo {
  width: 220px;
  min-width: 220px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--grey1);
}

.blog-merchant-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-merchant-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 4px 0;
}

.blog-merchant-name {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.5px;
  color: var(--t);
}

.blog-merchant-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--tm);
}

.blog-merchant-rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #C47A0C;
  font-weight: 700;
}

.blog-merchant-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ts);
  flex-shrink: 0;
}

.blog-merchant-text {
  font-size: var(--ds-l-size, 18px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.3px;
  color: #4a5a50;
}

.blog-merchant-note {
  font-size: 14px;
  font-style: italic;
  color: var(--tm);
  line-height: 1.5;
}

@media (max-width: 640px) {
  .blog-merchant { flex-direction: column; gap: 14px; }
  .blog-merchant-photo { width: 100%; min-width: 0; height: 180px; }
}

/* ── Mini carte commerçants ── */
.blog-merchant-map {
  width: 100%;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--grey1);
  border: 1px solid var(--b);
}

.blog-map-pin {
  width: 30px;
  height: 30px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .25);
  border: 2px solid rgba(255, 255, 255, .85);
}

.blog-map-pin span {
  transform: rotate(45deg);
  font-size: 15px;
  line-height: 1;
  display: block;
}

.blog-map-popup { font-family: var(--ds-font); }
.blog-map-popup strong { font-size: 13px; color: var(--t); }

@media (max-width: 640px) {
  .blog-merchant-map { height: 240px; }
}

/* ── Footer blog ── */
.blog-footer {
  background: #14142b;
  color: #e2e8f0;
  padding: 60px clamp(24px, 5.5vw, 80px) 40px;
}

.blog-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.blog-footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.blog-footer-brand {
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.blog-footer-logo:hover { opacity: 0.9; }

.blog-footer-brand p {
  font-size: 14px;
  line-height: 1.5;
  color: #e2e8f0;
}

.blog-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 5vw, 64px);
}

.blog-footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-footer-col strong {
  font-size: 14px;
  color: #fff;
}

.blog-footer-col a {
  font-size: 13px;
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.15s;
}

.blog-footer-col a:hover { color: #fff; }

.blog-footer-rule {
  height: 1px;
  background: rgba(226, 232, 240, 0.2);
}

.blog-footer-copy {
  font-size: 13px;
  opacity: 0.6;
}

@media (max-width: 1100px) {
  .blog-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .blog-hero-inner { flex-direction: column; height: auto; }
  .blog-hero-visual { height: auto; padding: 0; width: 100%; }
  .blog-hero-img-wrap { min-height: 240px; }
  .blog-hero-zigouigoui { right: -70px; width: 200px; top: 55%; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-article-hero-card { margin-bottom: -60px; }
  .blog-article-content { padding-top: 100px; }
  .blog-article-recipe-tip {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .blog-article-recipe-tip .blog-recipe-card {
    flex: 0 0 auto;
    width: min(100%, 340px);
  }
  .blog-article-play {
    padding: 48px 20px;
  }
  .blog-article-play-actions {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  .blog-article-play-btn {
    width: 100%;
    max-width: 360px;
  }
  .blog-related-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .blog-related-card-img {
    height: 180px;
  }
  .blog-related-card h3 {
    font-size: var(--ds-h2-size);
  }
}

@media (max-width: 640px) {
  .blog-nav-links { display: none; }
  .blog-nav--hero { padding: 12px 16px; }
  .blog-nav-user-label { display: none; }
  .blog-nav-user { padding: 8px; }
  .blog-article-hero-back {
    top: calc(64px + env(safe-area-inset-top, 0px));
    left: 16px;
    width: 40px;
    height: 40px;
  }
  .blog-article-hero-back svg {
    width: 22px;
    height: 22px;
  }
  .blog-filters { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; gap: 20px; }
  .blog-filters::-webkit-scrollbar { display: none; }
  .blog-categories { justify-content: flex-start; flex-wrap: nowrap; gap: 20px; }
  .blog-cat-btn { font-size: 16px; flex-shrink: 0; }
  .blog-search-input { width: min(180px, 55vw); }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-article-hero-meta { gap: 12px; font-size: var(--ds-m-size); }
  .blog-article-meta-sep { display: none; }
}
