/* -------------------------------------------------------------------------
   Yeast — Figma 2587:254
   Same 1160×453 rounded split as Spring Water; stacked with 42px card gap
   (water pad-bottom already provides the gap → yeast pad-top: 0).
   ------------------------------------------------------------------------- */
.vp-method-yeast {
  box-sizing: border-box;
  width: 100%;
  padding: 0 var(--vp-method-water-pad-x) var(--vp-method-water-pad-bottom);
  background: var(--vp-method-water-page-bg);
  color: var(--vp-method-water-text);
}

.vp-method-yeast__card {
  display: grid;
  grid-template-columns: var(--vp-method-water-media-w) minmax(0, 1fr);
  align-items: stretch;
  width: min(100%, var(--vp-method-water-max));
  min-height: var(--vp-method-water-height);
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--vp-method-water-radius);
  background: var(--vp-method-water-card-bg);
}

.vp-method-yeast__media {
  position: relative;
  min-width: 0;
  min-height: var(--vp-method-water-height);
  overflow: hidden;
  background: var(--vp-method-water-media-bg);
}

.vp-method-yeast__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  animation: vp-method-water-image-in 900ms var(--vp-menu-ease) both;
}

.vp-method-yeast__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  min-width: 0;
  padding: var(--vp-method-water-content-pad-y) var(--vp-method-water-content-pad-x);
}

.vp-method-yeast__header {
  max-width: var(--vp-method-water-copy-max);
  animation: vp-method-water-fade-up 700ms var(--vp-menu-ease) both;
}

.vp-method-yeast__title {
  margin: 0;
  font-family: "Catamaran", sans-serif;
  font-size: var(--vp-method-water-title-size);
  font-weight: 600;
  line-height: var(--vp-method-water-title-lh);
  letter-spacing: 0;
  color: var(--vp-method-water-text);
}

.vp-method-yeast__subtitle {
  margin: 0;
  font-family: "Catamaran", sans-serif;
  font-size: var(--vp-method-water-subtitle-size);
  font-weight: 500;
  line-height: var(--vp-method-water-subtitle-lh);
  letter-spacing: 0;
  color: var(--vp-method-water-text);
}

.vp-method-yeast__body {
  max-width: var(--vp-method-water-copy-max);
  margin: var(--vp-method-water-gap-header-body) 0 0;
  font-family: "Catamaran", sans-serif;
  font-size: var(--vp-method-water-body-size);
  font-weight: 400;
  line-height: var(--vp-method-water-body-lh);
  color: #6b6b6b;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  animation: vp-method-water-fade-up 700ms var(--vp-menu-ease) 80ms both;
}

.vp-method-yeast__body p {
  margin: 0;
}

.vp-method-yeast__body p + p {
  margin-top: 0;
}

@media (max-width: 768px) {
  .vp-method-yeast {
    padding-top: var(--vp-method-water-pad-bottom);
  }

  .vp-method-yeast__card {
    grid-template-columns: 1fr;
  }

  .vp-method-yeast__media {
    min-height: 280px;
    aspect-ratio: 497 / 453;
  }

  .vp-method-yeast__body {
    text-align: left;
    hyphens: manual;
  }
}

@media (max-width: 430px) {
  .vp-method-yeast__media {
    min-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vp-method-yeast__image,
  .vp-method-yeast__header,
  .vp-method-yeast__body {
    animation: none;
  }

  .vp-method-yeast__image {
    transform: none;
  }
}
