.recipe-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;

  display: flex;
  flex-direction: column;
  height: 100%;
}

.recipe-card:hover {
  transform: translateY(-4px);
  border-color: #e6e0cf;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

/* =========================
   META
========================= */

.recipe-card__meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

/* =========================
   TÍTULO
========================= */

.recipe-card__title {
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 10px;
  color: var(--black);
  font-family: var(--font-title);
}

.recipe-card__title a {
  text-decoration: none;
  color: inherit;
}

/* =========================
   TEXTO
========================= */

.recipe-card__excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  opacity: 0.95;
  min-height: 44px;
  font-family: var(--font-main);
}

/* =========================
   FOOTER
========================= */

.recipe-card__footer {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  justify-content: flex-start;
}

/* =========================
   IMAGEN
========================= */

.recipe-card__image {
  display: block;
  width: 100%;
  height: 180px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--soft);
  text-decoration: none;
}

.recipe-card__image .recipe-image-tooltip {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.recipe-card__image .recipe-image-tooltip img,
.recipe-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.recipe-card:hover .recipe-card__image .recipe-image-tooltip img,
.recipe-card:hover .recipe-card__image img {
  transform: scale(1.05);
}

/* Placeholder elegante */
.recipe-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 22px;
  color: var(--gold);
  background: linear-gradient(135deg, #111, #1f1f1f);
}

/* =========================
   BODY
========================= */

.recipe-card__body {
  padding-top: 4px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* =========================
   ACCESIBILIDAD
========================= */

.recipe-card a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}