.nordic-recipes-page h1,
.nordic-recipes-page h2,
.nordic-recipes-page h3,
.nordic-recipes-page h4,
.nordic-recipes-page h5,
.nordic-recipes-page h6 {
  font-family: "Farro", sans-serif;
  font-weight: 700;
}

.nordic-recipes-page {
  font-family: "Fira Sans", sans-serif;
  font-weight: 400;
  width: 100%;
  padding: 28px 0 68px;
}

.nordic-recipes-page p,
.nordic-recipes-page a,
.nordic-recipes-page button {
  font-family: "Fira Sans", sans-serif;
  font-weight: 400;
}

.nordic-recipes-page button {
  font-weight: 500;
}

.recipes-hero {
  width: min(1240px, 100% - 32px);
  margin: 0 auto 24px;
  padding: 34px clamp(20px, 4vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(14, 39, 26, 0.96), rgba(30, 82, 54, 0.9)),
    url("https://images.unsplash.com/photo-1505576399279-565b52d4ac71?w=1600&q=80&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  color: #fff;
  box-shadow: 0 24px 40px rgba(16, 34, 23, 0.24);
  position: relative;
  overflow: hidden;
}

.recipes-hero__texture {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(230, 186, 64, 0.24), transparent 32%),
    radial-gradient(circle at left center, rgba(255, 255, 255, 0.1), transparent 30%),
    repeating-linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 2px,
      transparent 2px,
      transparent 16px
    );
  pointer-events: none;
}

.recipes-hero__inner {
  position: relative;
  z-index: 1;
}

.recipes-hero__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.recipes-hero__kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  opacity: 0.95;
}

.recipes-hero__count {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 12px;
  border: 1px solid rgba(230, 186, 64, 0.45);
  border-radius: 999px;
  background: rgba(230, 186, 64, 0.16);
  color: #f7d77a;
  font-family: "Farro", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.recipes-hero h1 {
  margin: 14px 0 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  font-weight: 700;
  max-width: 12ch;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.recipes-hero p {
  margin: 12px 0 0;
  max-width: 56ch;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.recipes-grid-section {
  width: min(1240px, 100% - 32px);
  margin: 0 auto;
}

.recipes-breadcrumb-wrap {
  width: min(1240px, 100% - 32px);
  margin: 20px auto 30px;
}

.recipes-breadcrumb {
  margin: 0;
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 8px;
  row-gap: 4px;
  color: rgba(34, 57, 71, 0.82);
  font-size: 16px;
  line-height: 1.45;
}

.recipes-breadcrumb a {
  color: var(--brand-deep, #223947);
  text-decoration: none;
  font-weight: 500;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.recipes-breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.recipes-breadcrumb span[aria-hidden="true"] {
  color: rgba(34, 57, 71, 0.82);
  flex: 0 0 auto;
}

.recipes-breadcrumb .is-current {
  color: var(--brand-heading, #4d2000);
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.recipes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.recipe-card {
  background: #ffffff;
  border: 1px solid #e6e8ec;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  animation: recipeCardReveal 440ms ease both;
  animation-delay: calc(var(--delay, 0) * 40ms);
  box-shadow: 0 14px 28px rgba(28, 39, 54, 0.08);
}

.recipe-card__link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
}

.recipe-card__link--add {
  cursor: pointer;
}

.recipe-card__media {
  padding: 0;
}

.recipe-card__media-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  border-radius: 0;
  background: linear-gradient(180deg, #eef3f8, #f7fafc);
  border: 0;
  display: grid;
  place-items: center;
}

.recipe-card__media-frame--add {
  border: 1px dashed #c3cedb;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.95), rgba(238, 242, 246, 0.9)),
    linear-gradient(180deg, #eef2f6, #f4f7fa);
}

.recipe-card__media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
  transition: transform 250ms ease;
}

.recipe-card__add-icon {
  font-size: 48px;
  line-height: 1;
  font-weight: 700;
  color: #283341;
}

.recipe-card__tag {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e8f5ec;
  color: #2d8a57;
  font-size: 11px;
  line-height: 1;
  font-weight: 500;
}

.recipe-card__name {
  margin: 14px 24px 0;
  min-height: 0;
  font-family: "Farro", sans-serif;
  font-size: 18px;
  text-align: left;
  text-transform: uppercase;
  line-height: 1.18;
  letter-spacing: 0.03em;
  font-weight: 700;
  color: #1c2738;
  transition: color 180ms ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recipe-card__desc {
  margin: 12px 24px 0;
  color: #6a7280;
  font-size: 13px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recipe-card__cta {
  margin: 16px 24px 22px;
  color: #223947;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 180ms ease;
}

.recipe-card:hover,
.recipe-card:focus-within,
.recipe-card.focused {
  transform: translateY(-4px);
  border-color: #d8dee8;
  box-shadow: 0 18px 32px rgba(20, 30, 42, 0.12);
}

.recipe-card:hover .recipe-card__media-frame img,
.recipe-card.focused .recipe-card__media-frame img,
.recipe-card:focus-within .recipe-card__media-frame img {
  transform: scale(1.04);
}

.recipe-card:hover .recipe-card__name,
.recipe-card.focused .recipe-card__name,
.recipe-card:focus-within .recipe-card__name {
  color: #17354d;
}

.recipe-card:hover .recipe-card__cta,
.recipe-card.focused .recipe-card__cta,
.recipe-card:focus-within .recipe-card__cta {
  color: #e6ba40;
}

@keyframes recipeCardReveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1360px) {
  .recipes-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .recipe-card__name {
    font-size: 17px;
  }

  .recipe-card__desc,
  .recipe-card__cta {
    font-size: 14px;
  }
}

@media (max-width: 980px) {
  .recipes-breadcrumb-wrap,
  .recipes-grid-section {
    width: min(1240px, 100% - 20px);
  }

  .recipes-breadcrumb-wrap {
    margin: 8px auto 16px;
  }

  .recipes-breadcrumb {
    font-size: 13px;
    gap: 6px;
    line-height: 1.45;
  }

  .recipes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .recipes-hero {
    margin-bottom: 16px;
    padding: 24px 16px;
  }

  .recipe-card__media {
    padding: 0;
  }

  .recipe-card__name {
    margin: 12px 14px 0;
    font-size: 18px;
    letter-spacing: 0.025em;
  }

  .recipe-card__desc {
    margin: 8px 14px 0;
    font-size: 13px;
  }

  .recipe-card__cta {
    margin: 12px 14px 14px;
    font-size: 13px;
    gap: 6px;
  }
}

@media (max-width: 640px) {
  .recipes-breadcrumb-wrap {
    margin: 6px auto 12px;
  }

  .recipes-breadcrumb {
    font-size: 12px;
    gap: 5px;
    line-height: 1.5;
  }

  .recipes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .recipe-card {
    border-radius: 12px;
  }

  .recipe-card__name {
    margin: 8px 8px 0;
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: 0.02em;
  }

  .recipe-card__desc {
    display: none;
  }

  .recipe-card__cta {
    margin: 8px 8px 10px;
    font-size: 11px;
    gap: 4px;
  }
}
