.family-service {
  color: var(--smp-grey-700);
}

/* Block: hero */
.hero {
  background-image: url("/wp-content/plugins/simpli-wp-propaganda/Widgets/FamilyService/Views/images/family-service-hero.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: var(--smp-white);
  padding: 24px 16px;
}

.hero__content {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.6);
  text-align: center;
  padding: 40px 16px;
}

.family-service h1.hero__title {
  margin-bottom: 16px;
}

.hero__subtitle {
  color: var(--smp-white);
}

.title-container {
  color: var(--smp-grey-700);
  padding: 40px 16px;
  background: #e5e5e5;
}

/* Block: section */
.section {
  display: grid;
  grid-template-columns: 1fr;
}

.section__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 500px;
}

.section__image {
  background: #edeffd;
}

.section__image.section__image--sam {
  background: #f7f6f2;
}

.section__image__img.section__image__img--sam {
  max-height: unset;
}

.section__image.section__image--dad img {
  height: 100%;
}

.section__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 24px 16px;
}

.section .section__list {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
}

/* Responsive */
@media only screen and (min-width: 768px) {
  .hero__content {
    padding: 40px;
  }

  .section--reverse .section__image {
    order: -1;
  }

  .section__image {
    display: inline-flex;
    align-items: center;
  }

  .section {
    grid-template-columns: 50% 50%;
  }
  .title-container {
    padding: 40px;
  }

  .section__text {
    padding: 48px 40px;
  }

  .section__image.section__image--dad img {
    max-height: unset;
  }
}

@media only screen and (min-width: 1200px) {
  .section__image.section__image--dad img {
    max-height: 500px;
  }
}
