.h2o-recipe {
  max-width: 1140px;
  margin: 0 auto;
  padding: 24px 22px 56px;
  box-sizing: border-box;
}

.h2o-recipe h2,
.h2o-recipe h3 {
  margin: 0;
  color: #0b3446 !important;
  font-family: "Barlow Semi Condensed", sans-serif !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
}

.h2o-recipe h2 {
  margin-bottom: 20px !important;
  font-size: 34px !important;
}

.h2o-recipe__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.h2o-recipe__top--text {
  grid-template-columns: minmax(0, 1fr);
  max-width: 820px;
}

.h2o-recipe__photo {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #dfe8ec;
  aspect-ratio: 4 / 3;
}

.h2o-recipe__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.h2o-recipe__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.h2o-recipe__eyebrow {
  display: inline-flex;
  padding: 5px 14px;
  border-radius: 16px;
  background: #eaf4f7;
  color: #12708c;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.h2o-recipe__lead p {
  margin: 0 0 12px;
  color: #26343b;
  font-size: 19px;
  line-height: 1.7;
}

.h2o-recipe__lead p:last-child {
  margin-bottom: 0;
}

.h2o-recipe__jump {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 21px;
  background: #0b3446;
  color: #fff !important;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none !important;
  transition: background .2s ease;
}

.h2o-recipe__jump:hover {
  background: #12708c;
}

.h2o-recipe__body {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  margin-top: 56px;
}

.h2o-recipe__body--full {
  grid-template-columns: minmax(0, 820px);
}

.h2o-recipe__ingredients {
  position: sticky;
  top: 110px;
  padding: 28px;
  border-radius: 22px;
  background: #eaf4f7;
  scroll-margin-top: 110px;
}

.h2o-recipe__ingredients h2 {
  font-size: 28px !important;
}

.h2o-recipe__ingredients ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.h2o-recipe__ingredients li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0;
  padding: 11px 0;
  border-bottom: 1px dashed #bcd5dd;
  color: #26343b;
  font-size: 16px;
  line-height: 1.45;
}

.h2o-recipe__ingredients li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.h2o-recipe__amount {
  color: #12708c;
  font-weight: 800;
  white-space: nowrap;
}

.h2o-recipe__steps {
  min-width: 0;
}

.h2o-recipe__text p {
  margin: 0 0 16px;
  color: #26343b;
  font-size: 18px;
  line-height: 1.75;
}

.h2o-recipe__text h3,
.h2o-recipe__heading {
  margin: 28px 0 12px !important;
  font-size: 24px !important;
}

.h2o-recipe__list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: h2o-step;
}

.h2o-recipe__list > .h2o-recipe__step {
  position: relative;
  margin: 0 0 28px;
  padding-left: 58px;
  counter-increment: h2o-step;
}

.h2o-recipe__list > .h2o-recipe__step::before {
  content: counter(h2o-step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #3fb3c9;
  color: #0b3446;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.h2o-recipe__list > .h2o-recipe__section {
  margin: 0;
}

.h2o-recipe__step-img {
  margin: 0 0 16px;
  overflow: hidden;
  border-radius: 16px;
}

.h2o-recipe__step-img img {
  display: block;
  width: 100%;
  height: auto;
}

.h2o-recipe__gallery {
  margin-top: 48px;
}

.h2o-recipe__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.h2o-recipe__grid a {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 1;
  background: #dfe8ec;
}

.h2o-recipe__grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.h2o-recipe__grid a:hover img {
  transform: scale(1.05);
}

.h2o-recipe__back {
  color: #12708c !important;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none !important;
}

.h2o-recipe__back:hover {
  color: #0b3446 !important;
}

.h2o-recipes__intro {
  max-width: 760px;
  margin: 8px 0 32px;
  color: #3d4b53;
  font-size: 18px;
  line-height: 1.6;
}

.h2o-recipe-card__placeholder {
  display: grid !important;
  place-items: center;
  background: linear-gradient(135deg, #eaf4f7 0%, #cfe6ec 100%) !important;
  color: #12708c;
}

@media (max-width: 1024px) {
  .h2o-recipe__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .h2o-recipe__top,
  .h2o-recipe__body {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .h2o-recipe__body {
    margin-top: 36px;
  }

  .h2o-recipe__ingredients {
    position: static;
  }
}

@media (max-width: 640px) {
  .h2o-recipe {
    padding: 16px 16px 44px;
  }

  .h2o-recipe h2 {
    font-size: 28px !important;
  }

  .h2o-recipe__lead p {
    font-size: 17px;
  }

  .h2o-recipe__text p {
    font-size: 17px;
  }

  .h2o-recipe__ingredients {
    padding: 22px;
  }

  .h2o-recipe__list > .h2o-recipe__step {
    padding-left: 0;
    padding-top: 52px;
  }

  .h2o-recipe__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}
