.baby-food-class {
  --class-blue: #4bb9e8;
  --class-blue-dark: #1764a8;
  color: #3f4a50;
}

/* The hero is the page's one distinctive component.
   Content below it reuses the standard medical-page components. */
.bfc-hero {
  display: flex;
  align-items: center;
  gap: 36px;
  overflow: hidden;
  margin-bottom: 50px;
  padding: 34px 40px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 20px 20px, rgba(255, 255, 255, 0.85) 0 7px, transparent 8px) 0 0 / 52px 52px,
    #e9f7fd;
}

.bfc-hero-copy {
  flex: 1;
}

.bfc-eyebrow {
  margin-bottom: 10px;
  color: var(--class-blue);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.bfc-hero-title {
  margin-bottom: 18px;
  color: var(--class-blue-dark);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.bfc-hero-image {
  flex: 0 0 260px;
  width: 260px;
  height: 260px;
  overflow: hidden;
  border: 6px solid #fff;
  border-radius: 50%;
}

.bfc-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bfc-purpose {
  padding: 24px 32px;
}

.bfc-purpose .title-h4 {
  margin-bottom: 18px;
  padding-bottom: 12px;
}

.bfc-course {
  padding: 28px 24px;
}

.bfc-course-meta,
.bfc-course-age {
  color: var(--class-blue-dark);
  font-weight: 700;
  text-align: center;
}

.bfc-course-meta {
  margin-bottom: 8px;
  color: var(--class-blue);
  letter-spacing: 0.08em;
}

.bfc-course-age {
  margin: -8px 0 18px;
}

.bfc-course ul {
  margin-bottom: 0;
  padding-left: 1.25rem;
}

.bfc-flow {
  max-width: 720px;
  margin: 0 auto;
}

.bfc-flow-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 16px 8px;
  border-bottom: 1px solid #ddd;
  line-height: 1.7;
}

.bfc-flow-row time {
  color: var(--class-blue-dark);
  font-weight: 700;
}

.bfc-flow-break {
  display: block;
  color: #777;
  font-weight: 700;
  text-align: center;
}

.bfc-voice {
  position: relative;
  padding: 34px 26px 28px;
  border-radius: 8px;
  background: #edf8fc;
  line-height: 1.85;
}

.bfc-voice::before {
  position: absolute;
  top: 4px;
  left: 18px;
  color: var(--class-blue);
  content: "“";
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.bfc-voice::after {
  position: absolute;
  bottom: -12px;
  left: 30px;
  border-top: 14px solid #edf8fc;
  border-right: 14px solid transparent;
  content: "";
}

.bfc-info-list dt,
.bfc-info-list dd {
  margin-bottom: 0;
  padding: 12px 0;
  border-bottom: 1px dotted #bbb;
}

.bfc-info-list dt {
  flex: 0 0 24%;
  max-width: 24%;
  color: var(--class-blue-dark);
}

.bfc-info-list dd {
  flex: 0 0 76%;
  max-width: 76%;
}

.bfc-phone {
  color: #3f4a50;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.bfc-phone a {
  color: inherit;
}

@media screen and (max-width: 767px) {
  .bfc-hero {
    flex-direction: column;
    gap: 22px;
    margin-bottom: 38px;
    padding: 28px 20px;
    text-align: center;
  }

  .bfc-hero-title {
    font-size: 1.8rem;
  }

  .bfc-hero-image {
    flex-basis: 210px;
    width: 210px;
    height: 210px;
  }

  .bfc-course {
    padding: 25px 20px;
  }

  .bfc-purpose {
    padding: 24px 20px;
  }

  .bfc-info-list {
    display: block;
    margin-right: 0;
    margin-left: 0;
  }

  .bfc-info-list dt,
  .bfc-info-list dd {
    max-width: none;
  }

  .bfc-info-list dt {
    padding-bottom: 2px;
    border-bottom: 0;
  }

  .bfc-info-list dd {
    padding-top: 2px;
  }

  .bfc-phone {
    font-size: 1.8rem;
  }
}
