/* Group page */
.group-heading {
  padding: 27px 40px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .08);
}

.group-heading h1 {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
  font-size: 32px;
  font-weight: 400;
  line-height: 2;
}

.group-section {
  padding: 48px 24px 95px;
  background: #fff;
}

.group-container {
  width: min(1200px, 100%);
  margin-inline: auto;
}

.group-section h2 {
  margin: 0 0 28px;
  text-align: center;
  font-size: 27px;
  font-weight: 400;
}

.group-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
}

.group-card + .group-card {
  margin-top: 20px;
}

.group-card-reverse .group-photo {
  order: 2;
}

.group-photo img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.group-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 45px 10%;
}

.group-copy h3 {
  margin: 0 0 22px;
  text-align: center;
  font-size: 20px;
  font-weight: 400;
}

.group-copy p {
  margin: 0;
  line-height: 2;
}

@media (max-width: 700px) {
  .group-heading {
    padding: 25px 24px;
  }

  .group-heading h1 {
    font-size: 26px;
    line-height: 1.8;
  }

  .group-section {
    padding: 38px 20px 65px;
  }

  .group-section h2 {
    margin-bottom: 22px;
    font-size: 24px;
  }

  .group-card {
    grid-template-columns: 1fr;
  }

  .group-card-reverse .group-photo {
    order: 0;
  }

  .group-copy {
    padding: 30px 24px 34px;
  }

  .group-copy h3 {
    margin-bottom: 16px;
    font-size: 19px;
  }

  .group-copy p {
    line-height: 1.9;
  }
}
