.mol-info-embed--parenthood {
  --mol-link-hover: #fff5d3;
  color: #1a1a1a;
  background: #fef1e3;
}

.mol-info-embed--parenthood .mol-info-embed__stage {
  position: relative;
  isolation: isolate;
  /* The frame spans the embed; mobile artwork and spacing follow its width. */
  padding-top: 40cqw;
  padding-bottom: 42.666667cqw;
}

.mol-info-embed--parenthood .mol-info-embed__bg-desktop,
.mol-info-embed--parenthood .mol-info-embed__bg-top,
.mol-info-embed--parenthood .mol-info-embed__bg-bottom {
  position: absolute;
  left: 0;
  z-index: -1;
  width: 100%;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
  user-select: none;
}

.mol-info-embed--parenthood .mol-info-embed__bg-desktop {
  display: none;
}

.mol-info-embed--parenthood .mol-info-embed__bg-top {
  top: 0;
  height: 69.333333cqw;
  background-image: url("images/bg-mobile-top.webp");
}

.mol-info-embed--parenthood .mol-info-embed__bg-bottom {
  bottom: 0;
  height: 80cqw;
  background-image: url("images/bg-mobile-bottom.webp");
}

.mol-info-embed--parenthood .mol-parenthood-cards {
  /* The shared content wrapper caps mobile cards at 480px without capping art. */
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-inline: 16px;
}

.mol-info-embed--parenthood .mol-card {
  --mol-card-fill: #feefec;
  --mol-card-border: #f58e9f;
  --mol-card-text: #e86a81;
  position: relative;
  isolation: isolate;
  padding-bottom: 10.62px;
}

.mol-info-embed--parenthood .mol-card::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  top: auto;
  bottom: 0;
  height: calc(100% - (100cqw - 32px) * 102 / 343);
  border-radius: 4px;
  background: var(--mol-card-fill);
  content: "";
}

.mol-info-embed--parenthood .mol-card--birth {
  --mol-card-fill: #edf4fa;
  --mol-card-border: #468bc8;
  --mol-card-text: #2777b5;
}

.mol-info-embed--parenthood .mol-card--childcare {
  --mol-card-fill: #f0f7d6;
  --mol-card-border: #58813b;
  --mol-card-text: #58823c;
}

.mol-info-embed--parenthood .mol-card__heading {
  margin: 0;
  padding: 0;
  line-height: 1;
}

.mol-info-embed--parenthood .mol-card__heading img {
  width: 100%;
  height: auto;
}

.mol-info-embed--parenthood .mol-card__body {
  padding: 0 20px 14px;
}

.mol-info-embed--parenthood .mol-links {
  display: grid;
  gap: 12px;
}

.mol-info-embed--parenthood .mol-link {
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 0 10px;
  border: 2px solid var(--mol-card-border);
  border-radius: 8px;
  background-color: #fff;
  color: var(--mol-card-text);
  font-size: 1em;
  font-weight: 500;
  line-height: 1.2;
}

.mol-info-embed--parenthood .mol-link img {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
}

.mol-info-embed--parenthood .mol-link span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.mol-info-embed--parenthood .mol-card__toggle {
  margin-top: 6px;
}

@container mol-info (min-width: 769px) {
  .mol-info-embed--parenthood .mol-info-embed__stage {
    min-height: 98.607889cqw;
    padding-top: 23.665893cqw;
    padding-bottom: 19.489559cqw;
  }

  .mol-info-embed--parenthood .mol-info-embed__bg-desktop {
    display: block;
    top: 0;
    height: 100%;
    background-image: url("images/bg-desktop.webp");
  }

  .mol-info-embed--parenthood .mol-info-embed__bg-top,
  .mol-info-embed--parenthood .mol-info-embed__bg-bottom {
    display: none;
    background-image: none;
  }

  .mol-info-embed--parenthood .mol-parenthood-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 0.928074cqw;
    margin-inline: 2.436195cqw;
  }

  .mol-info-embed--parenthood .mol-card {
    padding-bottom: 0;
  }

  .mol-info-embed--parenthood .mol-card::before {
    top: 9.280742cqw;
    height: auto;
  }

  .mol-info-embed--parenthood .mol-card__body {
    padding: 0 12px 24px;
  }
}
