/*
 * "120 recettes anti-inflammatoires" landing page (post 1338 only).
 * Scoped under .kanteen-landing-recettes (added to <body> only for this post).
 */

.kanteen-landing-recettes {
  --klr-ink: #1f1e1c;
  --klr-ink-soft: #4a453f;
  --klr-taupe: #6b6660;
  --klr-ivory: #faf6f1;
  --klr-sand: #f1e9df;
  --klr-border: #eee7de;
  --klr-border-strong: #e6ddd2;
  --klr-coral: #ff8a65;
  --klr-coral-hover: #ed7752;
  --klr-coral-text: #9c3b22;
  --klr-coral-soft: #ffe9e0;
}

/* Elements the theme still renders for every other article, hidden only here. */
.kanteen-landing-recettes section.autres-articles,
.kanteen-landing-recettes .gbp-card.gbp-card--border,
.kanteen-landing-recettes .comments-area,
.kanteen-landing-recettes .rank-math-breadcrumb {
  display: none;
}

.kanteen-landing-recettes .site-main,
.kanteen-landing-recettes .inside-article {
  margin: 0;
  padding: 0;
}

/* The shared "Template - Single Post" Element wraps the_content in a
   GenerateBlocks section capped at 800px (fine for a reading column on
   every other article) — the landing page needs the full container width.
   Scoped to .inside-article only, so the site's global footer (which
   reuses the same .gbp-section__inner class) keeps its normal boxed width. */
.kanteen-landing-recettes .inside-article .gbp-section__inner {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* GeneratePress floats the header over the page (transparent, light nav
   text) when a post has a featured image, expecting a dark hero photo
   behind it for contrast. We removed that hero band, so give the header
   back a normal solid background and normal flow here. */
.kanteen-landing-recettes .header-wrap {
  background: var(--klr-ivory, #faf6f1);
  position: relative;
}

.kanteen-landing-recettes #primary-menu a,
.kanteen-landing-recettes .main-navigation a,
.kanteen-landing-recettes .site-header .main-nav-title {
  color: #1f1e1c;
}

.kanteen-landing-recettes .entry-content {
  margin: 0;
  max-width: none;
  padding: 0;
}

.kanteen-landing-recettes .klr {
  color: var(--klr-ink);
  font-family: 'Nunito', system-ui, sans-serif;
  line-height: 1.5;
}

.kanteen-landing-recettes .klr :is(h1, h2, h3) {
  font-family: 'Marcellus', 'Nunito', serif;
  font-weight: 400;
  margin: 0;
}

.kanteen-landing-recettes .klr a {
  color: inherit;
}

.kanteen-landing-recettes .klr ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.kanteen-landing-recettes .klr img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kanteen-landing-recettes .klr svg {
  display: block;
  flex-shrink: 0;
}

.kanteen-landing-recettes .klr-ico {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kanteen-landing-recettes .klr-btn {
  align-items: center;
  border: 1.5px solid var(--klr-coral);
  background: var(--klr-coral);
  border-radius: 10px;
  color: var(--klr-ink);
  cursor: pointer;
  display: inline-flex;
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease;
}

.kanteen-landing-recettes .klr-btn:hover {
  background: var(--klr-coral-hover);
  border-color: var(--klr-coral-hover);
  color: var(--klr-ink);
}

.kanteen-landing-recettes .klr-eyebrow {
  color: var(--klr-coral-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---- Hero ---- */
.kanteen-landing-recettes .klr-hero {
  align-items: center;
  display: grid;
  gap: 40px;
  grid-template-columns: 1.05fr 1fr;
  padding: 56px min(6vw, 64px);
}

.kanteen-landing-recettes .klr-hero h1 {
  font-size: 38px;
  line-height: 1.18;
  margin: 12px 0 16px;
}

.kanteen-landing-recettes .klr-hero > div:first-child > p {
  color: var(--klr-ink-soft);
  font-size: 16px;
  margin: 0 0 24px;
}

.kanteen-landing-recettes .klr-check {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
}

.kanteen-landing-recettes .klr-check div {
  align-items: center;
  display: flex;
  font-size: 14px;
  font-weight: 700;
  gap: 10px;
}

.kanteen-landing-recettes .klr-check .klr-ico {
  color: var(--klr-coral-text);
  width: 18px;
  height: 18px;
}

.kanteen-landing-recettes .klr-mockwrap {
  position: relative;
}

.kanteen-landing-recettes .klr-book {
  border-radius: 16px;
  box-shadow: 0 30px 50px -20px rgb(31 30 28 / 35%);
  margin: 0 auto;
  max-width: 360px;
  overflow: hidden;
  position: relative;
  transform: rotate(2deg);
}

.kanteen-landing-recettes .klr-book img {
  /* Match the source photo's real (landscape) ratio: forcing a portrait
     book-cover shape here cropped its edges and cut off text. The generic
     ".klr img { height: 100% }" rule fights aspect-ratio, so override it. */
  aspect-ratio: 1376 / 768;
  height: auto;
}

.kanteen-landing-recettes .klr-ribbon {
  background: var(--klr-coral);
  box-shadow: 0 4px 10px rgb(0 0 0 / 20%);
  color: var(--klr-ink);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 40px;
  position: absolute;
  right: -30px;
  top: 18px;
  transform: rotate(35deg);
}

/* ---- Stats band ---- */
.kanteen-landing-recettes .klr-stats {
  background: var(--klr-ink);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 28px 20px;
  text-align: center;
}

.kanteen-landing-recettes .klr-stats b {
  color: var(--klr-coral);
  display: block;
  font-family: 'Marcellus', serif;
  font-size: 30px;
  font-weight: 400;
}

.kanteen-landing-recettes .klr-stats span {
  color: #e6ddd2;
  font-size: 12.5px;
  letter-spacing: 0.03em;
}

/* ---- Generic section ---- */
.kanteen-landing-recettes .klr-section {
  padding: 56px min(6vw, 64px);
}

.kanteen-landing-recettes .klr-section > h2:first-child,
.kanteen-landing-recettes .klr-section > .klr-h2-center {
  font-size: 28px;
  margin-bottom: 36px;
  text-align: center;
}

/* ---- Category grid ---- */
.kanteen-landing-recettes .klr-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
}

.kanteen-landing-recettes .klr-tile {
  background: #fff;
  border: 1px solid var(--klr-border);
  border-radius: 14px;
  overflow: hidden;
}

.kanteen-landing-recettes .klr-tile .head {
  align-items: center;
  background: var(--klr-coral-soft);
  display: flex;
  gap: 10px;
  padding: 16px 18px;
}

.kanteen-landing-recettes .klr-tile .head .klr-ico {
  color: var(--klr-coral-text);
}

.kanteen-landing-recettes .klr-tile .head b {
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.kanteen-landing-recettes .klr-tile .lead {
  color: var(--klr-taupe);
  font-size: 12.5px;
  line-height: 1.5;
  padding: 12px 18px 0;
}

.kanteen-landing-recettes .klr-tile ul {
  color: var(--klr-ink-soft);
  font-size: 13px;
  line-height: 1.85;
  padding: 10px 18px 18px;
}

.kanteen-landing-recettes .klr-tile li::before {
  color: var(--klr-coral);
  content: '—';
  margin-right: 6px;
}

.kanteen-landing-recettes .klr-tile .more {
  color: var(--klr-coral-text);
  display: block;
  font-size: 12px;
  font-weight: 800;
  padding: 0 18px 16px;
}

/* ---- Pull quote ---- */
.kanteen-landing-recettes .klr-pull {
  padding: 0 min(6vw, 64px) 56px;
  text-align: center;
}

.kanteen-landing-recettes .klr-pull blockquote {
  color: var(--klr-ink);
  font-family: 'Marcellus', serif;
  font-size: 26px;
  line-height: 1.4;
  margin: 0 auto;
  max-width: 680px;
}

.kanteen-landing-recettes .klr-pull blockquote::before {
  color: var(--klr-coral);
  content: '\201C';
}

.kanteen-landing-recettes .klr-pull blockquote::after {
  color: var(--klr-coral);
  content: '\201D';
}

.kanteen-landing-recettes .klr-pull cite {
  color: var(--klr-taupe);
  display: block;
  font-size: 13px;
  font-style: normal;
  margin-top: 14px;
}

/* ---- Full book CTA (single dark card) + free extract reminder ---- */
.kanteen-landing-recettes .klr-book-cta {
  margin: 0 auto;
  max-width: 640px;
  text-align: center;
}

.kanteen-landing-recettes .klr-book-cta > h2 {
  font-size: 26px;
  margin-bottom: 8px;
}

.kanteen-landing-recettes .klr-book-cta > p {
  color: var(--klr-taupe);
  font-size: 14px;
  margin: 0 0 32px;
}

.kanteen-landing-recettes .klr-book-card {
  background: var(--klr-ink);
  border-radius: 18px;
  color: #fff;
  padding: 40px 36px;
  position: relative;
  text-align: left;
}

.kanteen-landing-recettes .klr-book-ribbon {
  background: var(--klr-coral);
  border-radius: 999px;
  color: var(--klr-ink);
  font-size: 12px;
  font-weight: 800;
  left: 50%;
  letter-spacing: 0.04em;
  padding: 7px 20px;
  position: absolute;
  top: -14px;
  transform: translateX(-50%);
  white-space: nowrap;
}

.kanteen-landing-recettes .klr-book-card h3 {
  color: #fff;
  font-size: 24px;
  margin: 8px 0 6px;
}

.kanteen-landing-recettes .klr-book-sub {
  color: #b9b1a6;
  font-size: 13.5px;
  margin-bottom: 22px;
}

.kanteen-landing-recettes .klr-book-card .klr-book-list {
  display: grid;
  gap: 12px;
  margin-bottom: 34px;
}

.kanteen-landing-recettes .klr-book-list li {
  align-items: flex-start;
  display: flex;
  font-size: 14px;
  gap: 10px;
}

.kanteen-landing-recettes .klr-book-list .klr-ico {
  color: var(--klr-coral);
  margin-top: 2px;
  width: 18px;
  height: 18px;
}

.kanteen-landing-recettes .klr-btn-book {
  background: var(--klr-coral);
  border-color: var(--klr-coral);
  width: 100%;
}

.kanteen-landing-recettes .klr-book-extract {
  align-items: center;
  border: 1.5px dashed var(--klr-border-strong);
  border-radius: 12px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin: 20px auto 0;
  padding: 16px 20px;
}

.kanteen-landing-recettes .klr-book-extract span {
  color: var(--klr-ink-soft);
  font-size: 13.5px;
  text-align: left;
}

.kanteen-landing-recettes .klr-book-extract a {
  color: var(--klr-coral-text);
  font-weight: 800;
  font-size: 13.5px;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .kanteen-landing-recettes .klr-book-extract {
    flex-direction: column;
    text-align: center;
  }

  .kanteen-landing-recettes .klr-book-extract span {
    text-align: center;
  }
}

/* ---- Educational content (restructured article body) ---- */
.kanteen-landing-recettes .klr-edu {
  margin: 0 auto;
  max-width: 900px;
}

.kanteen-landing-recettes .klr-edu h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.kanteen-landing-recettes .klr-edu-lead {
  color: var(--klr-ink-soft);
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 20px;
  max-width: 680px;
}

.kanteen-landing-recettes .klr-edu h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 14px;
}

.kanteen-landing-recettes .klr-allies {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, 1fr);
  margin: 0 0 40px;
}

.kanteen-landing-recettes .klr-ally {
  text-align: center;
}

.kanteen-landing-recettes .klr-ally .wrap {
  align-items: center;
  background: var(--klr-coral-soft);
  border-radius: 50%;
  color: var(--klr-coral-text);
  display: flex;
  height: 56px;
  justify-content: center;
  margin: 0 auto 10px;
  width: 56px;
}

.kanteen-landing-recettes .klr-ally b {
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}

.kanteen-landing-recettes .klr-ally span {
  color: var(--klr-taupe);
  font-size: 12px;
  line-height: 1.4;
}

.kanteen-landing-recettes .klr-fact-stats {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 20px;
}

.kanteen-landing-recettes .klr-fact-stat {
  background: var(--klr-sand);
  border-radius: 14px;
  padding: 22px 20px;
}

.kanteen-landing-recettes .klr-fact-stat b {
  color: var(--klr-coral-text);
  display: block;
  font-family: 'Marcellus', serif;
  font-size: 28px;
  font-weight: 400;
}

.kanteen-landing-recettes .klr-fact-stat span {
  color: var(--klr-ink-soft);
  font-size: 13.5px;
  line-height: 1.4;
}

.kanteen-landing-recettes .klr-benefits {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 0 40px;
}

.kanteen-landing-recettes .klr-benefit {
  border: 1px solid var(--klr-border-strong);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.kanteen-landing-recettes .klr-benefit .klr-ico {
  color: var(--klr-coral-text);
  margin: 0 auto 8px;
}

.kanteen-landing-recettes .klr-benefit span {
  color: var(--klr-ink-soft);
  display: block;
  font-size: 13px;
  line-height: 1.4;
}

.kanteen-landing-recettes .klr-tips {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 0 20px;
}

.kanteen-landing-recettes .klr-tip {
  background: #fff;
  border: 1px solid var(--klr-border-strong);
  border-radius: 12px;
  padding: 18px;
}

.kanteen-landing-recettes .klr-tip .num {
  align-items: center;
  background: var(--klr-ink);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 12px;
  font-weight: 800;
  height: 26px;
  justify-content: center;
  margin-bottom: 10px;
  width: 26px;
}

.kanteen-landing-recettes .klr-tip b {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.kanteen-landing-recettes .klr-tip span {
  color: var(--klr-taupe);
  font-size: 13px;
  line-height: 1.5;
}

.kanteen-landing-recettes .klr-pantry-label {
  font-size: 13px;
  font-weight: 800;
  margin: 24px 0 10px;
}

.kanteen-landing-recettes .klr-pantry {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}

.kanteen-landing-recettes .klr-chip {
  background: var(--klr-sand);
  border-radius: 999px;
  color: var(--klr-ink-soft);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
}

.kanteen-landing-recettes .klr-closing {
  border-top: 1px solid var(--klr-border);
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 8px;
  padding-top: 20px;
  text-align: center;
}

.kanteen-landing-recettes .klr-closing .klr-ico {
  color: var(--klr-coral-text);
  margin: 0 auto 8px;
}

.kanteen-landing-recettes .klr-closing span {
  font-size: 13px;
  font-weight: 700;
}

/* ---- FAQ ---- */
.kanteen-landing-recettes .klr-faq {
  display: grid;
  gap: 14px;
  margin: 0 auto;
  max-width: 720px;
}

.kanteen-landing-recettes .klr-faq div {
  border-bottom: 1px solid var(--klr-border);
  padding-bottom: 14px;
}

.kanteen-landing-recettes .klr-faq b {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.kanteen-landing-recettes .klr-faq p {
  color: var(--klr-taupe);
  font-size: 14px;
  margin: 0;
}

/* ---- Final CTA / form ---- */
.kanteen-landing-recettes .klr-final {
  background: var(--klr-ivory);
  border-top: 1px solid var(--klr-border);
  padding: 48px min(6vw, 64px);
}

.kanteen-landing-recettes .klr-final-inner {
  margin: 0 auto;
  max-width: 720px;
  text-align: center;
}

.kanteen-landing-recettes .klr-final-inner h2 {
  font-size: 26px;
  margin-bottom: 8px;
}

.kanteen-landing-recettes .klr-final-inner > p {
  color: var(--klr-taupe);
  font-size: 14px;
  margin: 0 0 24px;
}

.kanteen-landing-recettes .klr-final .wpforms-container {
  margin: 0 auto;
  max-width: 480px;
}

.kanteen-landing-recettes .klr-final .wpforms-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.kanteen-landing-recettes .klr-final .wpforms-field-container {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 10px;
}

.kanteen-landing-recettes .klr-final .wpforms-field {
  flex: 1 1 180px;
  margin: 0 !important;
  padding: 0 !important;
}

.kanteen-landing-recettes .klr-final .wpforms-field label {
  display: none;
}

.kanteen-landing-recettes .klr-final :is(input[type='text'], input[type='email']) {
  border: 1.5px solid var(--klr-border-strong);
  border-radius: 10px;
  box-sizing: border-box;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  height: 50px;
  padding: 0 16px;
  width: 100%;
}

.kanteen-landing-recettes .klr-final .wpforms-submit-container {
  flex: 0 0 auto;
  margin: 0 !important;
}

.kanteen-landing-recettes .klr-final button[type='submit'] {
  background: var(--klr-coral) !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: var(--klr-ink) !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  height: 50px;
  padding: 0 26px !important;
}

.kanteen-landing-recettes .klr-final .wpforms-error {
  font-size: 12.5px;
  width: 100%;
}

.kanteen-landing-recettes .klr-fine {
  color: var(--klr-taupe);
  font-size: 12.5px;
  margin-top: 14px;
}

@media (max-width: 900px) {
  .kanteen-landing-recettes .klr-hero,
  .kanteen-landing-recettes .klr-grid,
  .kanteen-landing-recettes .klr-benefits,
  .kanteen-landing-recettes .klr-tips,
  .kanteen-landing-recettes .klr-allies {
    grid-template-columns: repeat(2, 1fr);
  }

  .kanteen-landing-recettes .klr-plans {
    grid-template-columns: 1fr;
  }

  .kanteen-landing-recettes .klr-plan.left {
    border-bottom: 1px solid var(--klr-border-strong);
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .kanteen-landing-recettes .klr-hero {
    grid-template-columns: 1fr;
    padding: 40px 20px;
    text-align: center;
  }

  .kanteen-landing-recettes .klr-check div {
    justify-content: center;
  }

  .kanteen-landing-recettes .klr-mockwrap {
    order: -1;
  }

  .kanteen-landing-recettes .klr-book {
    max-width: 260px;
  }

  .kanteen-landing-recettes .klr-section {
    padding: 40px 20px;
  }

  .kanteen-landing-recettes :is(.klr-grid, .klr-benefits, .klr-tips, .klr-allies, .klr-fact-stats) {
    grid-template-columns: 1fr;
  }

  .kanteen-landing-recettes .klr-pull {
    padding: 0 20px 40px;
  }

  .kanteen-landing-recettes .klr-pull blockquote {
    font-size: 21px;
  }
}
