:root {
  --orange: #f69220;
  --ink: #1f2630;
  --muted: #667085;
  --paper: #fffaf6;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(31, 38, 48, 0.14);
}

* {
  box-sizing: border-box;
}

.recipes-page {
  background:
    radial-gradient(circle at top left, rgba(246, 146, 32, 0.12), transparent 32rem),
    linear-gradient(180deg, #fffaf6 0%, #ffffff 42%, #ffffff 100%);
  color: var(--ink);
  font-family: "Roboto", sans-serif;
  padding-top: 126px;
}

button {
  font: inherit;
}

.recipes-hero {
  padding: 54px 16px 70px;
  text-align: center;
}

.recipes-hero__inner {
  width: min(860px, 100%);
  margin: 0 auto;
}

.recipes-eyebrow {
  margin: 0 0 8px;
  color: var(--orange);
  font-family: "Roboto", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
}

.recipes-page h1 {
  margin: 0;
  color: #111827;
  font-family: "Poppins", sans-serif;
  font-size: clamp(2.55rem, 8vw, 5.65rem);
  font-weight: 900;
  line-height: 0.96;
}

.recipes-intro {
  width: min(720px, 100%);
  margin: 22px auto 0;
  color: #505a68;
  font-family: "Roboto", sans-serif;
  font-size: clamp(1rem, 2.7vw, 1.2rem);
  line-height: 1.7;
}

.recipes-section {
  padding: 48px 0 450px;
}

.recipes-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin: 0 0 38px;
}

.recipes-filter button {
  border: 0;
  background: transparent;
  color: #505a68;
  cursor: pointer;
  font-family: "Roboto", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 8px 0;
  text-transform: none;
  transition: color 0.3s ease;
}

.recipes-filter button:hover,
.recipes-filter button.is-active {
  color: var(--orange);
}

.recipes-mobile-filter {
  display: none;
  margin: 0 0 34px;
}

.recipes-mobile-filter label {
  display: block;
  margin-bottom: 8px;
  color: #505a68;
  font-family: "Roboto", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.recipes-mobile-filter select {
  width: 100%;
  min-height: 50px;
  padding: 0 44px 0 18px;
  border: 1px solid #ddd7d0;
  border-radius: 6px;
  background-color: #ffffff;
  color: #1f2630;
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  outline: none;
}

.recipes-mobile-filter select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(246, 146, 32, 0.16);
}

.recipes-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.recipe-card {
  display: block;
  width: 100%;
  padding: 15px;
  background: transparent;
  color: inherit;
  outline: none;
  text-decoration: none;
}

.recipe-card:hover,
.recipe-card:focus {
  color: inherit;
  text-decoration: none;
}

.recipe-card[hidden] {
  display: none;
}

.recipe-card__image {
  display: block;
  overflow: hidden;
  background: #ffffff;
}

.recipe-card__image img {
  display: block;
  width: 100%;
  aspect-ratio: 372 / 260;
  object-fit: cover;
  transition: all 0.3s ease;
}

.recipe-card:hover .recipe-card__image img,
.recipe-card:focus .recipe-card__image img {
  transform: scale(1.3);
}

.recipe-card__body {
  display: block;
  padding: 20px 0 0;
  text-align: left;
}

.recipe-card h2 {
  margin: 0 0 7px;
  color: #000000;
  font-size: 1.25rem;
  line-height: 1.4;
  transition: all 0.3s ease;
}

.recipe-card:hover h2,
.recipe-card:focus h2 {
  color: var(--orange);
}

.recipe-card__meta,
.recipe-card__type {
  display: inline;
  color: #797979;
  font-family: "Roboto", sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
}

.recipe-card__meta::after {
  content: " - ";
}

.recipes-load-more {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

.load-more-btn {
  min-height: 50px;
  padding: 14px 36px;
  border: 0;
  border-radius: 50px;
  background: var(--orange);
  color: var(--white);
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: background 0.3s ease;
}

.load-more-btn:hover,
.load-more-btn:focus {
  background: #111827;
}

@media (max-width: 991px) {
  .recipes-page {
    padding-top: 82px;
  }
}

@media (max-width: 575px) {
  .recipes-hero {
    padding: 46px 16px 54px;
  }

  .recipes-section {
    padding-bottom: 260px;
  }

  .recipes-page h1 {
    font-size: 3rem;
  }

  .recipes-filter {
    display: none;
  }

  .recipes-mobile-filter {
    display: block;
  }
}

@media (min-width: 768px) {
  .recipe-card {
    width: calc(100% / 2);
  }
}

@media (min-width: 1200px) {
  .recipe-card {
    width: calc(100% / 3);
  }
}
