.recipe-card {
  border-radius: var(--bs-border-radius-lg);
  overflow: hidden;
}

.recipe-card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.recipe-card__img--placeholder {
  background: var(--bs-tertiary-bg);
}

.recipe-card .card-title {
  line-height: 1.3;
}

.recipe-single__img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.recipe-single .entry-content {
  font-size: 1.05rem;
  line-height: 1.8;
}

.recipe-single .entry-content h2,
.recipe-single .entry-content h3 {
  margin-top: 1.5rem;
}

/* =========================================================
   Recipe → Linked Products ("Handla till receptet")
   ========================================================= */
.ff-recipe-products {
  border-top: 1px solid var(--bs-border-color);
}

.ff-recipe-products__title,
.ff-more-recipes__title {
  font-family: 'DM Serif Text', serif;
  font-size: 1.5rem;
  color: #102944;
  margin-bottom: 1.25rem;
}

.ff-recipe-products__title i,
.ff-more-recipes__title i {
  color: var(--bs-primary);
}

/* ---- Product mini cards ---- */
.ff-rp-card {
  display: block;
  text-decoration: none !important;
  color: inherit;
  border-radius: var(--bs-border-radius);
  overflow: hidden;
  border: 1px solid var(--bs-border-color);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ff-rp-card:hover {
  color: inherit;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.ff-rp-image img,
.ff-rp-image .ff-rp-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.ff-rp-info {
  padding: 0.75rem 0.85rem;
}

.ff-rp-name {
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 0.25rem;
  color: #1a1a1a;
}

.ff-rp-price {
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
  margin: 0;
}

/* =========================================================
   Recipe → More Recipes ("Fler recept")
   ========================================================= */
.ff-more-recipes {
  border-top: 1px solid var(--bs-border-color);
}

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

.ff-recipe-card-link:hover {
  color: inherit;
}

.ff-recipe-card {
  border-radius: var(--bs-border-radius);
  overflow: hidden;
  border: 1px solid var(--bs-border-color);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ff-recipe-card-link:hover .ff-recipe-card {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.ff-recipe-card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.ff-recipe-card__img--placeholder {
  background: var(--bs-tertiary-bg);
  min-height: 160px;
}

.ff-recipe-card__body {
  padding: 1rem;
}

.ff-recipe-card__name {
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 0.35rem;
  color: #102944;
}

.ff-recipe-card__excerpt {
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  color: var(--bs-secondary-color);
  margin: 0;
  line-height: 1.5;
}
