/*
 * Vida Vertical 2.0
 * Recipe Card
 */

.vv-recipe-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vv-recipe-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.vv-recipe-card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #f2f2f2;
}

.vv-recipe-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vv-recipe-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
}

.vv-recipe-card-category {
  margin-bottom: 8px;
  color: #2e7d32;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vv-recipe-card-category a {
  color: inherit;
  text-decoration: none;
}

.vv-recipe-card-title {
  margin: 0 0 12px;
  color: #1b5e20;
  font-size: 1.2rem;
  line-height: 1.35;
}

.vv-recipe-card-title a {
  color: inherit;
  text-decoration: none;
}

.vv-recipe-card-summary {
  margin-bottom: 18px;
  color: #555555;
  font-size: 0.95rem;
  line-height: 1.55;
}

.vv-recipe-card-summary p {
  margin: 0;
}

.vv-recipe-card-button {
  display: block;
  margin-top: auto;
  padding: 11px 18px;
  background: #2e7d32;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.vv-recipe-card-button:hover {
  background: #1b5e20;
  color: #ffffff;
}

/* =========================================================
   RECIPE LIST HEADER
   ========================================================= */

.vv-recipe-list-header {
  margin: 34px 0 22px;
}

.vv-recipe-list-header-inner {
  max-width: 820px;
}

.vv-recipe-list-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: #2e7d32;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.vv-recipe-list-title {
  margin: 0 0 14px;
  color: #1b5e20;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.1;
}

.vv-recipe-list-intro {
  max-width: 760px;
  margin: 0;
  color: #555555;
  font-size: 1.05rem;
  line-height: 1.65;
}

/* =========================================================
   RECIPE FILTER
   ========================================================= */

#views-exposed-form-kochen-page-1 {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 30px;
  padding: 18px 20px;
  background: #f5f8f5;
  border-radius: 14px;
}

#views-exposed-form-kochen-page-1 .form-item {
  margin: 0;
}

#views-exposed-form-kochen-page-1 .form-item label {
  display: block;
  margin-bottom: 6px;
  color: #1b5e20;
  font-size: 0.85rem;
  font-weight: 700;
}

#views-exposed-form-kochen-page-1 select.form-select {
  min-width: 230px;
  min-height: 42px;
  padding: 8px 36px 8px 12px;
  border: 1px solid #b7c9b9;
  border-radius: 10px;
  background: #ffffff;
  color: #333333;
  font-size: 0.95rem;
}

#views-exposed-form-kochen-page-1 .form-actions {
  margin: 0;
}

#views-exposed-form-kochen-page-1 .form-submit {
  min-height: 42px;
  padding: 9px 20px;
  border: 0;
  border-radius: 999px;
  background: #2e7d32;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

#views-exposed-form-kochen-page-1 .form-submit:hover {
  background: #1b5e20;
}

/* Abstand zwischen Filter und Karten */
ul.blog-teaser-grid {
  margin-top: 0;
}

@media (max-width: 600px) {
  .vv-recipe-list-header {
    margin: 24px 0 20px;
  }

  .vv-recipe-list-title {
    font-size: 2rem;
  }

  .vv-recipe-list-intro {
    font-size: 1rem;
  }

  #views-exposed-form-kochen-page-1 {
    display: block;
    padding: 16px;
  }

  #views-exposed-form-kochen-page-1 .form-item {
    margin-bottom: 12px;
  }

  #views-exposed-form-kochen-page-1 select.form-select,
  #views-exposed-form-kochen-page-1 .form-submit {
    width: 100%;
  }
}

/* =========================================================
   RECIPE CATEGORY NAVIGATION
   ========================================================= */

#views-exposed-form-kochen-page-1 {
  display: none;
}

.vv-recipe-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 30px;
}

.vv-recipe-category-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 20px;
  border: 1px solid #2e7d32;
  border-radius: 999px;
  background: #ffffff;
  color: #1b5e20;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.vv-recipe-category-nav a:hover {
  background: #2e7d32;
  color: #ffffff;
  transform: translateY(-1px);
}

.vv-recipe-category-nav a.is-active {
  border-color: #2e7d32;
  background: #2e7d32;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(46, 125, 50, 0.2);
}

.vv-recipe-category-nav--detail {
  margin-top: 0;
  padding-bottom: 24px;
  border-bottom: 1px solid #dce8de;
}

@media (max-width: 600px) {
  .vv-recipe-category-nav {
    gap: 8px;
  }

  .vv-recipe-category-nav a {
    padding: 8px 14px;
    font-size: 0.9rem;
  }
}
