/* CSS Document */
/* ===== RECEPTY: tělo stránky ===== */

.recipe-page {
  max-width: 1100px;
  margin: 32px auto 48px;
  padding: 0;
}

.recipe-inner {
  background: #ffffff;
  border: 1px solid #e7e7e7;
  border-radius: 28px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
  padding: 28px;
}

.recipe-hero {
  display: grid;
  grid-template-columns: minmax(320px, 420px) 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 28px;
}

.hero-image {
  width: 100%;
  display: block;
  border-radius: 22px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  background: #f3f3f3;
}

.hero-text {
  min-width: 0;
}

.recipe-title {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  font-weight: 800;
  color: #1d1d1d;
}

.recipe-annotation {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4d4d4d;
  max-width: 60ch;
}

.recipe-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: start;
}

.panel {
  background: #fafafa;
  border: 1px solid #ececec;
  border-radius: 22px;
  padding: 22px;
}

.panel-title {
  margin: 0 0 16px;
  font-size: 1.2rem;
  line-height: 1.2;
  font-weight: 700;
  color: #1d1d1d;
}

.ingredients-section + .ingredients-section {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e5e5e5;
}

.ingredients-name {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #777;
}

.ingredients-list {
  margin: 0;
  padding-left: 20px;
}

.ingredients-list li {
  margin-bottom: 8px;
  line-height: 1.5;
  color: #2f2f2f;
}

.step + .step {
  margin-top: 14px;
}

.step {
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 18px;
  padding: 16px;
}

.step-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #2d2d2d;
  white-space: pre-line;
}

.step-image {
  display: block;
  width: 100%;
  margin-top: 12px;
  border-radius: 14px;
  object-fit: cover;
  max-height: 260px;
  background: #f3f3f3;
}

/* Nadpis ze šablony, pokud ho chcete zachovat */
.galerie-nadpis {
  max-width: 1100px;
  margin: 24px auto 10px;
  padding: 0 4px;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.1;
  font-weight: 800;
  color: #1d1d1d;
}

/* Mobil */
@media (max-width: 920px) {
  .recipe-page {
    margin: 20px auto 36px;
  }

  .recipe-inner {
    padding: 20px;
    border-radius: 22px;
  }

  .recipe-hero,
  .recipe-grid {
    grid-template-columns: 1fr;
  }

  .hero-image {
    max-height: 340px;
  }
}

/* Menší mobil */
@media (max-width: 640px) {
  .recipe-inner {
    padding: 16px;
  }

  .panel {
    padding: 16px;
    border-radius: 18px;
  }

  .recipe-title {
    font-size: 1.8rem;
  }

  .recipe-annotation,
  .step-text,
  .ingredients-list li {
    font-size: 0.98rem;
  }

  .step-image {
    max-height: 220px;
  }
}