body.home-page .home-recipe-collections {
  display: grid;
  gap: clamp(24px, 3.2vw, 40px);
  margin: clamp(22px, 3vw, 38px) 0 clamp(48px, 6vw, 76px);
}

body.home-page .home-carousel {
  min-width: 0;
  overflow: hidden;
  padding: clamp(22px, 3.3vw, 38px);
  border: 1px solid rgba(47, 101, 69, .14);
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 100% 0, rgba(197, 160, 89, .11), transparent 34%),
    linear-gradient(145deg, #f8faf5, #edf4eb);
  box-shadow: 0 16px 38px rgba(34, 68, 43, .07), inset 0 1px rgba(255, 255, 255, .9);
}

body.home-page .home-carousel .carousel-controls {
  display: none;
}

body.home-page .recipes-content {
  width: 100%;
  max-width: none;
}

body.home-page .home-carousel::before {
  display: none;
}

body.home-page .home-carousel-heading {
  position: relative;
  align-items: center;
  gap: 20px;
  margin: 0 0 22px;
}

body.home-page .home-carousel-heading > div:first-child {
  min-width: 0;
}

body.home-page .home-carousel-heading .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 11px;
  padding: 7px 11px;
  border: 1px solid rgba(47, 101, 69, .12);
  border-radius: 999px;
  background: #e8f0e5;
  box-shadow: none;
  color: #42674b;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.2;
  text-shadow: none;
  animation: none;
}

body.home-page .home-carousel-heading .section-kicker {
  display: none;
}

body.home-page .home-carousel-heading .section-kicker::before {
  display: block;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #6b965f;
  content: "";
}

body.home-page .home-carousel-heading h2 {
  margin: 0;
  color: #203b2a;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.15;
}

body.home-page .home-carousel-description {
  max-width: 58ch;
  margin: 8px 0 0;
  color: #586b5c;
  font-size: .94rem;
  line-height: 1.6;
}

body.home-page .carousel-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 9px;
}

body.home-page .carousel-controls button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(47, 101, 69, .18);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(34, 68, 43, .07);
  color: #315a3b;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

body.home-page .carousel-controls button:hover {
  transform: translateY(-2px);
  border-color: #315a3b;
  background: #315a3b;
  box-shadow: 0 8px 18px rgba(34, 68, 43, .16);
  color: #fff;
}

body.home-page .carousel-controls button:focus-visible,
body.home-page .carousel-viewport:focus-visible,
body.home-page .home-recipe-collections .recipe-card-mini:focus-visible {
  outline: 3px solid #879b74;
  outline-offset: 3px;
}

body.home-page .carousel-viewport {
  overflow: hidden;
  margin: 0 -3px;
  padding: 3px;
  cursor: grab;
  touch-action: pan-y;
}

body.home-page .carousel-viewport:active {
  cursor: grabbing;
}

body.home-page .carousel-track {
  display: flex;
  width: max-content;
  gap: 18px;
  padding: 4px 2px 14px;
  transition: none;
  will-change: transform;
}

body.home-page .home-recipe-collections .recipe-card-mini {
  display: flex;
  width: clamp(270px, 26vw, 310px);
  flex: 0 0 clamp(270px, 26vw, 310px);
  height: auto;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(37, 74, 47, .1);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(34, 68, 43, .09);
  color: #263c2d;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

body.home-page .home-recipe-collections .recipe-card-mini:hover {
  transform: translateY(-5px);
  border-color: rgba(47, 101, 69, .23);
  box-shadow: 0 16px 32px rgba(34, 68, 43, .15);
}

body.home-page .home-recipe-collections .recipe-card-mini > .recipe-card-link {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

body.home-page .home-recipe-collections .recipe-card-mini .card-image {
  position: relative;
  height: auto;
  aspect-ratio: 1.42;
  flex: 0 0 auto;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #e4ebdf;
}

body.home-page .home-recipe-collections .recipe-card-mini .card-image > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2, .7, .2, 1);
}

body.home-page .home-recipe-collections .recipe-card-mini:hover .card-image > img {
  transform: scale(1.055);
}

body.home-page .home-recipe-collections .recipe-card-mini .card-meta-badges {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: calc(100% - 24px);
}

body.home-page .home-recipe-collections .recipe-card-mini .card-meta-badge {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 999px;
  background: rgba(27, 47, 32, .78);
  box-shadow: 0 3px 10px rgba(16, 29, 19, .14);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.2;
  backdrop-filter: blur(8px);
}

body.home-page .home-recipe-collections .recipe-card-mini .card-body {
  display: flex;
  min-height: 196px;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  padding: 17px 18px 18px;
  background: #fff;
}

body.home-page .home-recipe-collections .recipe-card-mini .card-body h3 {
  display: -webkit-box;
  min-height: 2.8em;
  overflow: hidden;
  margin: 0 0 9px;
  color: #203b2a;
  font-family: var(--font-ui);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.home-page .home-recipe-collections .recipe-card-mini .card-description {
  display: -webkit-box;
  min-height: 3.15em;
  overflow: hidden;
  margin: 0 0 14px;
  color: #59695d;
  font-size: .86rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.home-page .home-recipe-collections .recipe-card-mini .recipe-tags {
  display: none;
}

body.home-page .home-recipe-collections .recipe-card-mini.is-upcoming {
  border-style: solid;
  border-color: rgba(47, 101, 69, .13);
}

@media (max-width: 700px) {
  body.home-page .home-carousel {
    padding: 22px 17px 16px;
    border-radius: 23px;
  }

  body.home-page .home-carousel-heading {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
  }

  body.home-page .home-carousel-heading h2 {
    font-size: 1.65rem;
  }

  body.home-page .home-carousel-description {
    font-size: .86rem;
  }

  body.home-page .carousel-controls {
    gap: 6px;
    padding-top: 3px;
  }

  body.home-page .carousel-controls button {
    width: 38px;
    height: 38px;
  }

  body.home-page .carousel-track {
    gap: 14px;
  }

  body.home-page .home-recipe-collections .recipe-card-mini {
    width: min(78vw, 310px);
    flex-basis: min(78vw, 310px);
  }

  body.home-page .home-recipe-collections .recipe-card-mini .card-image {
    aspect-ratio: 1.38;
  }

  body.home-page .home-recipe-collections .recipe-card-mini .card-body {
    min-height: 190px;
    padding: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home-page .home-recipe-collections .recipe-card-mini,
  body.home-page .home-recipe-collections .recipe-card-mini .card-image > img,
  body.home-page .carousel-controls button {
    transition: none;
  }
}
