.edr-recettes-section,
.edr-recettes-section * {
  box-sizing: border-box;
}

.edr-recettes-section {
  position: relative;
  overflow: hidden;
  padding: 70px 20px 80px;
  background:
    radial-gradient(circle at 16% 0%, rgba(214, 168, 59, .11), transparent 35%),
    linear-gradient(180deg, #fffaf2 0%, #fffdf8 52%, #fbf2e7 100%);
  --edr-blue: #05286b;
  --edr-gold: #d6a83b;
  --edr-text: #27384e;
  --edr-card-bg: rgba(255, 255, 255, .82);
  --edr-gap: 30px;
  --edr-per-view: 3;
  isolation: isolate;
}

.edr-recettes-container {
  max-width: 1420px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.edr-recettes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.edr-title-block {
  position: relative;
  max-width: 820px;
}

.edr-decor-icon {
  color: var(--edr-gold);
  font-size: 46px;
  line-height: 1;
  margin-bottom: -8px;
  transform: rotate(-22deg);
  width: max-content;
}

.edr-title {
  margin: 0;
  color: var(--edr-blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(56px, 6.4vw, 112px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: .88;
}

.edr-title-sep {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 14px;
  color: var(--edr-gold);
}

.edr-title-sep span {
  display: block;
  width: 160px;
  max-width: 22vw;
  height: 1px;
  background: currentColor;
}

.edr-title-sep i {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  color: currentColor;
  transform: rotate(-26deg);
}

.edr-title-sep i::before,
.edr-title-sep i::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  width: 2px;
  height: 18px;
  background: currentColor;
  border-radius: 8px;
}

.edr-title-sep i::after {
  transform: rotate(72deg);
}

.edr-subtitle {
  margin: 0;
  color: var(--edr-text);
  font-family: inherit;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.45;
}

.edr-header-action {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  flex: 0 0 auto;
  padding-top: 48px;
}

.edr-all-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 58px;
  padding: 14px 28px;
  color: #fff;
  background: var(--edr-blue);
  border: 1.5px solid var(--edr-gold);
  border-radius: 34px;
  box-shadow: 0 14px 28px rgba(5, 40, 107, .15);
  text-decoration: none !important;
  font-size: 17px;
  line-height: 1;
  transition: transform .28s ease, box-shadow .28s ease;
}

.edr-all-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(5, 40, 107, .22);
  color: #fff;
}

.edr-button-arrow {
  color: var(--edr-gold);
  font-size: 34px;
  line-height: 0;
  transform: translateY(-1px);
}

.edr-carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.edr-recettes-track {
  display: flex;
  gap: var(--edr-gap);
  will-change: transform;
  transition: transform .45s cubic-bezier(.22, .7, .2, 1);
}

.edr-recette-card {
  flex: 0 0 calc((100% - (var(--edr-gap) * (var(--edr-per-view) - 1))) / var(--edr-per-view));
  overflow: hidden;
  border-radius: 16px;
  background: var(--edr-card-bg);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: 0 16px 34px rgba(5, 40, 107, .12);
  transform: translateZ(0);
  transition: transform .35s ease, box-shadow .35s ease;
}

.edr-recette-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 26px 46px rgba(5, 40, 107, .18);
}

.edr-card-full-link {
  display: block;
  color: inherit;
  text-decoration: none !important;
}

.edr-card-image {
  position: relative;
  height: 395px;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 12%, rgba(214, 168, 59, .12), transparent 32%),
    #f5efe6;
}

.edr-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform .6s ease;
}

.edr-recette-card:hover .edr-card-image img {
  transform: scale(1.055);
}

.edr-card-image-placeholder::after {
  content: "Recette";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(5, 40, 107, .32);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
}

.edr-card-body {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 28px 28px;
  min-height: 164px;
  background:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,.96), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,251,244,.92));
}

.edr-icon-badge {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--edr-gold);
  background: rgba(255,255,255,.9);
  box-shadow: 0 8px 20px rgba(5, 40, 107, .11);
}

.edr-icon-badge svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.edr-icon-text {
  font-size: 24px;
  line-height: 1;
}

.edr-card-text {
  min-width: 0;
  padding-right: 72px;
}

.edr-card-label {
  margin: 2px 0 10px;
  color: #d29a24;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
}

.edr-card-title {
  margin: 0 0 26px;
  color: var(--edr-blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.edr-card-link {
  position: relative;
  display: inline-block;
  color: var(--edr-blue);
  font-size: 18px;
  line-height: 1.15;
}

.edr-card-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 1px;
  background: var(--edr-gold);
  transform-origin: left;
  transition: transform .28s ease;
}

.edr-recette-card:hover .edr-card-link::after {
  transform: scaleX(.72);
}

.edr-round-arrow {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--edr-gold);
  background: var(--edr-blue);
  font-size: 34px;
  font-family: Arial, sans-serif;
  line-height: 1;
  transition: transform .28s ease;
}

.edr-recette-card:hover .edr-round-arrow {
  transform: translateX(4px);
}

.edr-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 36px;
}

.edr-carousel-line {
  width: 48px;
  height: 1px;
  background: var(--edr-gold);
}

.edr-carousel-dots {
  display: flex;
  align-items: center;
  gap: 15px;
}

.edr-carousel-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1.5px solid var(--edr-gold);
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.edr-carousel-dot.is-active {
  background: var(--edr-blue);
  border-color: var(--edr-gold);
}

.edr-carousel-nav {
  width: 36px;
  height: 36px;
  display: none;
  border: 1px solid rgba(214, 168, 59, .7);
  border-radius: 50%;
  background: rgba(255,255,255,.65);
  color: var(--edr-blue);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.edr-empty-state {
  padding: 28px;
  border-radius: 14px;
  background: rgba(255,255,255,.74);
  color: var(--edr-blue);
  box-shadow: 0 12px 28px rgba(5, 40, 107, .08);
}

.edr-wheat-bg {
  --edr-decor-color: #d6a83b;
  position: absolute;
  width: 340px;
  height: 520px;
  opacity: .18;
  pointer-events: none;
  z-index: 1;
  background:
    repeating-linear-gradient(114deg, transparent 0 18px, var(--edr-decor-color) 19px, transparent 20px 36px);
  -webkit-mask-image: radial-gradient(ellipse, #000 0 38%, transparent 68%);
  mask-image: radial-gradient(ellipse, #000 0 38%, transparent 68%);
}

.edr-wheat-bg-left {
  left: -155px;
  top: 55px;
  transform: rotate(-18deg);
}

.edr-wheat-bg-right {
  right: -90px;
  top: -40px;
  transform: rotate(28deg);
}

@media (max-width: 1024px) {
  .edr-recettes-section {
    --edr-per-view: 2;
  }

  .edr-recettes-header {
    align-items: flex-start;
  }

  .edr-header-action {
    padding-top: 30px;
  }

  .edr-card-image {
    height: 330px;
  }
}

@media (max-width: 767px) {
  .edr-recettes-section {
    --edr-per-view: 1;
    padding: 52px 16px 62px;
  }

  .edr-recettes-header {
    display: block;
  }

  .edr-header-action {
    padding-top: 22px;
    justify-content: flex-start;
  }

  .edr-all-link {
    min-height: 50px;
    padding: 12px 22px;
    font-size: 15px;
  }

  .edr-title-sep span {
    width: 96px;
  }

  .edr-card-image {
    height: 285px;
  }

  .edr-card-body {
    gap: 16px;
    padding: 20px;
  }

  .edr-icon-badge {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .edr-card-text {
    padding-right: 54px;
  }

  .edr-card-title {
    margin-bottom: 22px;
  }

  .edr-round-arrow {
    width: 46px;
    height: 46px;
    right: 18px;
    bottom: 22px;
    font-size: 29px;
  }

  .edr-carousel-nav {
    display: grid;
    place-items: center;
  }

  .edr-carousel-line {
    width: 24px;
  }

  .edr-wheat-bg-left,
  .edr-wheat-bg-right {
    display: none;
  }
}

/* Single recette detail widget */
.edr-single-recette-section,
.edr-single-recette-section * {
  box-sizing: border-box;
}

.edr-single-recette-section {
  position: relative;
  overflow: hidden;
  padding: 76px 20px 88px;
  background:
    radial-gradient(circle at 12% 2%, rgba(214, 168, 59, .12), transparent 34%),
    linear-gradient(180deg, #fffaf2 0%, #fffdf8 52%, #fbf2e7 100%);
  --edr-blue: #05286b;
  --edr-gold: #d6a83b;
  --edr-text: #2d3d55;
  isolation: isolate;
}

.edr-single-container {
  max-width: 1420px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.edr-single-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 34px;
}

.edr-single-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 12px 22px;
  color: #fff;
  background: var(--edr-blue);
  border: 1.5px solid var(--edr-gold);
  border-radius: 34px;
  box-shadow: 0 14px 28px rgba(5, 40, 107, .14);
  text-decoration: none !important;
  font-size: 16px;
  line-height: 1;
  transition: transform .28s ease, box-shadow .28s ease;
}

.edr-single-back-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(5, 40, 107, .2);
  color: #fff;
}

.edr-single-back-link span {
  color: var(--edr-gold);
  font-size: 23px;
  line-height: 1;
}

.edr-single-page-mark {
  color: rgba(5, 40, 107, .5);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.edr-single-hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr);
  gap: clamp(34px, 5vw, 80px);
  align-items: center;
  margin-bottom: 46px;
}

.edr-single-overline,
.edr-single-section-eyebrow {
  color: var(--edr-gold);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.edr-single-overline {
  margin-bottom: 18px;
}

.edr-single-title {
  margin: 0;
  color: var(--edr-blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(56px, 7.2vw, 118px);
  line-height: .88;
  font-weight: 700;
  letter-spacing: -.045em;
}

.edr-single-title-sep {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 26px 0 22px;
  color: var(--edr-gold);
}

.edr-single-title-sep span {
  display: block;
  width: 128px;
  max-width: 20vw;
  height: 1px;
  background: currentColor;
}

.edr-single-title-sep i {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  color: currentColor;
  transform: rotate(-26deg);
}

.edr-single-title-sep i::before,
.edr-single-title-sep i::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  width: 2px;
  height: 18px;
  background: currentColor;
  border-radius: 8px;
}

.edr-single-title-sep i::after {
  transform: rotate(72deg);
}

.edr-single-intro {
  max-width: 610px;
  margin: 0;
  color: var(--edr-text);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.55;
}

.edr-single-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
  max-width: 660px;
}

.edr-single-meta-item {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 12px;
  row-gap: 4px;
  align-items: center;
  padding: 17px 18px;
  background: rgba(255, 255, 255, .84);
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 17px;
  box-shadow: 0 16px 34px rgba(5, 40, 107, .09);
}

.edr-single-meta-icon {
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(214, 168, 59, .35);
  color: var(--edr-gold);
  box-shadow: 0 10px 22px rgba(5, 40, 107, .08);
  font-size: 20px;
}

.edr-single-meta-label {
  color: rgba(45, 61, 85, .7);
  font-size: 13px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.edr-single-meta-value {
  color: var(--edr-blue);
  font-size: 20px;
  line-height: 1.15;
}

.edr-single-hero-media {
  position: relative;
}

.edr-single-hero-media::before {
  content: "";
  position: absolute;
  inset: -18px -18px 38px 44px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(214, 168, 59, .22), rgba(5, 40, 107, .08));
  z-index: -1;
}

.edr-single-hero-image {
  position: relative;
  overflow: hidden;
  height: 560px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 25% 12%, rgba(214, 168, 59, .16), transparent 32%),
    #f5efe6;
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: 0 28px 60px rgba(5, 40, 107, .16);
}

.edr-single-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}

.edr-single-hero-placeholder::after {
  content: "Recette";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(5, 40, 107, .32);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 54px;
}

.edr-single-content-grid {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: start;
}

.edr-single-content-card {
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(255, 255, 255, .84);
  border-radius: 22px;
  box-shadow: 0 18px 38px rgba(5, 40, 107, .10);
  padding: clamp(28px, 3vw, 42px);
  overflow: hidden;
}

.edr-single-steps-card {
  min-height: 100%;
}

.edr-single-tip-card {
  grid-column: 1 / -1;
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,250,242,.86)),
    radial-gradient(circle at 8% 0%, rgba(214, 168, 59, .14), transparent 32%);
}

.edr-single-content-card h2 {
  margin: 10px 0 24px;
  color: var(--edr-blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(31px, 3vw, 48px);
  line-height: 1;
  letter-spacing: -.03em;
}

.edr-single-list,
.edr-single-rich-text {
  color: var(--edr-text);
  font-size: 18px;
  line-height: 1.75;
}

.edr-single-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.edr-single-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
}

.edr-single-list li:last-child {
  margin-bottom: 0;
}

.edr-single-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .73em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--edr-gold);
  box-shadow: 0 0 0 5px rgba(214, 168, 59, .12);
}

ol.edr-single-list {
  counter-reset: edr-step;
}

ol.edr-single-list li {
  counter-increment: edr-step;
  padding-left: 54px;
  margin-bottom: 22px;
}

ol.edr-single-list li::before {
  content: counter(edr-step);
  top: .1em;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--edr-blue);
  color: #fff;
  box-shadow: 0 10px 20px rgba(5, 40, 107, .13);
  font-weight: 700;
  font-size: 15px;
}

.edr-single-rich-text p {
  margin: 0 0 14px;
}

.edr-single-rich-text p:last-child {
  margin-bottom: 0;
}

.edr-single-wheat-bg {
  position: absolute;
  width: 410px;
  height: 410px;
  color: var(--edr-gold);
  opacity: .18;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      115deg,
      transparent 0 14px,
      currentColor 15px,
      transparent 16px 30px
    );
  mask-image: radial-gradient(circle, #000 0 42%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, #000 0 42%, transparent 70%);
}

.edr-single-wheat-bg-left {
  top: 90px;
  left: -180px;
  transform: rotate(-28deg);
}

.edr-single-wheat-bg-right {
  top: -80px;
  right: -140px;
  transform: rotate(35deg);
}

@media (max-width: 1180px) {
  .edr-single-hero {
    grid-template-columns: 1fr;
  }

  .edr-single-hero-image {
    height: 480px;
  }
}

@media (max-width: 767px) {
  .edr-single-recette-section {
    padding: 48px 16px 64px;
  }

  .edr-single-topbar {
    align-items: flex-start;
    flex-direction: column-reverse;
  }

  .edr-single-page-mark {
    font-size: 15px;
  }

  .edr-single-title {
    font-size: clamp(46px, 16vw, 68px);
  }

  .edr-single-title-sep span {
    width: 78px;
  }

  .edr-single-meta-grid,
  .edr-single-content-grid {
    grid-template-columns: 1fr;
  }

  .edr-single-hero-image {
    height: 340px;
    border-radius: 20px;
  }

  .edr-single-hero-media::before {
    inset: -10px -8px 28px 22px;
    border-radius: 24px;
  }

  .edr-single-content-card {
    border-radius: 18px;
  }

  .edr-single-tip-card {
    grid-column: auto;
  }
}
