/* Shared family video band. Keep article spacing everywhere else. */
main > section.apz-family-story.apz-family-story--seamless {
  margin-top: 0;
}

.apz-family-story,
.apz-family-story * {
  box-sizing: border-box;
}

.apz-family-story {
  --family-ink: #132b44;
  --family-blue: #236584;
  width: 100%;
  margin: 0;
  padding: clamp(1.5rem, 3vw, 2.75rem) clamp(1rem, 4vw, 2rem);
  background: #dbe8f1;
  color: var(--family-ink);
}

.apz-family-story--inset {
  margin-block: 1.5rem 0;
  border-radius: 1rem;
}

.apz-family-story__inner {
  max-width: 1180px;
  margin-inline: auto;
}

.apz-family-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(1.5rem, 3.7vw, 3.25rem);
  align-items: center;
  padding-inline: clamp(0rem, 2.6vw, 2.75rem);
}

.apz-family-story__media {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 1rem;
  aspect-ratio: 2 / 1;
  background: #1c4e65;
  color: #fff;
}

button.apz-family-story__media {
  cursor: pointer;
}

.apz-family-story__poster {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.apz-family-story__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: clamp(3rem, 4.7vw, 4rem);
  height: clamp(3rem, 4.7vw, 4rem);
  margin: auto;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--family-blue);
  box-shadow: 0 2px 8px #132b4452;
}
.apz-family-story__play::before {
  content: "";
  margin-left: .2rem;
  border-block: .47rem solid transparent;
  border-left: .8rem solid #fff;
}
.apz-family-story__media:hover .apz-family-story__play {
  background: #164b67;
}

.apz-family-story__copy::before {
  content: "";
  display: block;
  width: 3.75rem;
  height: .3rem;
  margin-bottom: clamp(.65rem, 1.1vw, 1.1rem);
  border-radius: 2px;
  background: #d3a14c;
}

.apz-family-story .apz-family-story__title {
  max-width: 19ch;
  margin: 0;
  color: var(--family-ink);
  font-size: clamp(1.6rem, 3.1vw, 2.65rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.025em;
  text-transform: none;
}

.apz-family-story .apz-family-story__text {
  margin: .9rem 0 0;
  color: var(--family-ink);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.5;
}

.apz-family-story .apz-family-story__link {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-top: .8rem;
  min-height: 44px;
  color: var(--family-ink);
  font-weight: 700;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  text-underline-offset: .18em;
}

.apz-family-story__link span:first-child {
  text-decoration: underline;
}

.apz-family-story :is(a, button):focus-visible {
  outline: 3px solid #164b67;
  outline-offset: 4px;
}

.apz-family-story .apz-family-story__points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(1.15rem, 2.4vw, 1.9rem) 0 0;
  padding: clamp(.9rem, 1.6vw, 1.25rem) 0 0;
  border-top: 1px solid #99b9cc;
  list-style: none;
}

.apz-family-story__points li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding-inline: .65rem;
  font-size: clamp(.95rem, 1.5vw, 1.15rem);
  font-weight: 650;
  line-height: 1.3;
}

.apz-family-story__points li + li {
  border-inline-start: 1px solid #99b9cc;
}

.apz-family-story__check {
  display: grid;
  flex: 0 0 1.4rem;
  place-items: center;
  height: 1.4rem;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  color: var(--family-blue);
}
.apz-family-story__check::before {
  content: "";
  width: .59rem;
  height: .33rem;
  margin-top: -.12rem;
  transform: rotate(-45deg);
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
}

@media (max-width: 700px) {
  .apz-family-story__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.1rem;
    padding: 0;
  }
  .apz-family-story__media {
    max-width: 34rem;
  }
}

@media (max-width: 540px) {
  .apz-family-story .apz-family-story__points {
    grid-template-columns: minmax(0, 1fr);
    gap: .65rem;
  }
  .apz-family-story__points li {
    justify-content: flex-start;
    padding: 0;
  }
  .apz-family-story__points li + li {
    border-inline-start: 0;
  }
}

/* Meet Our Family uses two independent actions per team card. */
.bios-team-grid--with-intros {
  --team-blue: #183b55;
  --team-teal: #007681;
}

.bios-team-grid--with-intros .bios-team-card__photo {
  width: clamp(5.25rem, 9.5vw, 9rem);
  height: clamp(5.25rem, 9.5vw, 9rem);
  border-radius: 50%;
}

.bios-team-grid--with-intros .bios-team-card__name {
  color: var(--team-blue);
  overflow-wrap: anywhere;
}

.bios-team-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  margin-top: .9rem;
}

.bios-team-card__actions :is(.bios-team-card__cta, .bios-team-card__intro) {
  box-sizing: border-box;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  width: auto;
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  margin: 0;
  padding: .55rem .75rem;
  border: 1px solid var(--team-blue);
  border-radius: .5rem;
  background: #fff;
  color: var(--team-blue);
  font-family: inherit;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
}

.bios-team-card__actions .bios-team-card__cta::after {
  content: "→";
  position: static;
  display: inline;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: 1.05rem;
  transform: none;
}

.bios-team-card__actions .bios-team-card__cta:hover {
  background: #eaf3f8;
}

.bios-team-card__actions .bios-team-card__intro {
  border-color: var(--team-teal);
  background: var(--team-teal);
  color: #fff;
  cursor: pointer;
}

.bios-team-card__actions .bios-team-card__intro:hover {
  border-color: #005962;
  background: #005962;
}

.bios-team-card__play-icon {
  width: 0;
  height: 0;
  border-block: .34rem solid transparent;
  border-left: .52rem solid currentColor;
}

.bios-team-card__actions :is(a, button):focus-visible {
  outline: 3px solid var(--team-blue);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .bios-team-grid.bios-team-grid--with-intros {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767.98px) {
  .bios-team-grid--with-intros .bios-team-card__photo {
    width: 7rem;
    height: 7rem;
  }

  .bios-team-grid--with-intros .bios-team-card__copy {
    align-items: center;
  }

  .bios-team-card__actions {
    justify-content: center;
  }
}

/* The cream editorial intro shares the team grid's horizontal alignment. */
.apz-family-intro {
  width: 100%;
  margin: 0;
  background: #f7f4ec;
  color: #132b44;
}

.apz-family-intro .bios-section-inner {
  padding-block: clamp(1.5rem, 3.2vw, 2.4rem);
}

.apz-family-intro .apz-family-intro__eyebrow {
  margin: 0;
  font-size: .825rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.apz-family-intro .apz-family-intro__title {
  margin: .4rem 0 0;
  color: inherit;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  text-transform: none;
}

.apz-family-intro__title::after {
  content: "";
  display: block;
  width: clamp(3.75rem, 6vw, 5.25rem);
  height: .25rem;
  margin-top: .8rem;
  border-radius: 999px;
  background: #007681;
}

.apz-family-intro .apz-family-intro__copy {
  max-width: 70rem;
  margin: .8rem 0 0;
  color: inherit;
  font-size: clamp(.98rem, 1.4vw, 1.1rem);
  line-height: 1.55;
}

/* Lightweight page-specific content immediately below the existing heroes. */
.apz-quick-bits {
  color: #132b44;
  background: #f7f4ec;
  padding: clamp(1.3rem, 3vw, 2.25rem) clamp(1rem, 4.2vw, 2.75rem);
  margin: 0;
}

.apz-quick-bits__inner {
  max-width: 1180px;
  margin-inline: auto;
}

.apz-quick-bits h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(1.45rem, 2.7vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
}

.apz-quick-bits h2 + p {
  margin: .65rem 0 0;
  max-width: 68ch;
  color: inherit;
  font-size: clamp(.98rem, 1.3vw, 1.1rem);
  line-height: 1.55;
}

.apz-quick-bits__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem 1.6rem;
  margin: .5rem 0 0;
  padding: 0;
  list-style: none;
}

.apz-quick-bits__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  color: #145871;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.apz-quick-bits__nav a:hover {
  color: #007681;
}

.apz-quick-bits__nav a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 2px;
}

.apz-quick-bits__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: .8rem 1.8rem;
  margin: 1rem 0 0;
}

.apz-quick-bits__stats > div {
  min-width: 0;
  padding-inline-start: .75rem;
  border-inline-start: 2px solid #9eb7bb;
}

.apz-quick-bits__stats dt {
  font-size: .9rem;
  line-height: 1.35;
}

.apz-quick-bits__stats dd {
  margin: .15rem 0 0;
  font-weight: 750;
  font-size: clamp(1.05rem, 2vw, 1.42rem);
  line-height: 1.25;
}

.apz-size-home-fit {
  margin-top: .65rem;
  line-height: 1.55;
}

#parent-health-records {
  scroll-margin-top: calc(var(--site-header-offset, 10rem) + .75rem);
}

/* The cream intro touches the next colored band without the article spacer. */
main > .apz-quick-bits + section.site-band--tent,
main > .apz-quick-bits + #growth-gallery + section.site-band--tent {
  margin-top: 0;
}

/* Shared, compact navigation for existing Helpful Next Steps sections. */
section.apz-next-steps[data-helpful-next-steps] {
  padding: clamp(1.25rem, 2.6vw, 2.1rem) clamp(1rem, 4.2vw, 2.75rem);
}

.apz-next-steps__inner {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
}

.apz-next-steps .apz-next-steps__inner > h2 {
  margin: 0;
  color: #132b44;
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
}

.apz-next-steps .apz-next-steps__links {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .65rem;
  padding: 0;
  margin: .9rem 0 0;
  list-style: none;
}

.apz-next-steps .apz-next-steps__links li {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.apz-next-steps .apz-next-steps__links a {
  box-sizing: border-box;
  display: flex;
  gap: .75rem;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  height: 100%;
  padding: .65rem .85rem;
  border: 1px solid #c3d1d9;
  border-radius: .6rem;
  background: #fff;
  color: #145871;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.25;
}

.apz-next-steps .apz-next-steps__links a:hover {
  border-color: #236584;
  background: #edf5f9;
}

.apz-next-steps .apz-next-steps__links a.apz-next-steps__primary {
  border-color: #236584;
  background: #236584;
  color: #fff;
}

.apz-next-steps .apz-next-steps__links a.apz-next-steps__primary:hover {
  border-color: #164a61;
  background: #164a61;
}

.apz-next-steps .apz-next-steps__links a:focus-visible {
  outline: 2px solid #145871;
  outline-offset: 3px;
}

.apz-next-steps .apz-next-steps__links [aria-hidden] {
  flex: 0 0 auto;
  font-size: 1.15em;
}

@media (min-width: 38rem) {
  .apz-next-steps .apz-next-steps__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .apz-next-steps .apz-next-steps__links {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
