/* About Mama&kids — UB collaboration block */
.about-ub {
  max-width: 100%;
  margin: 0 auto;
  padding: 8px 0 40px;
}

.about-ub__head {
  text-align: center;
  margin: 0 0 28px;
}

.about-ub__title {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.35;
  color: #222;
  letter-spacing: 0.02em;
}

.about-ub__sub {
  margin: 10px 0 0;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.5;
  color: #3b6ea5;
}

.about-ub__hero {
  margin: 0 0 36px;
}

.about-ub__hero img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.about-ub__row {
  display: flex;
  align-items: flex-start;
  gap: 36px;
}

.about-ub__copy {
  flex: 1 1 0;
  min-width: 0;
}

.about-ub__lead {
  margin: 0 0 1.2em;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.5;
  color: #222;
}

.about-ub__copy p {
  margin: 0 0 1.4em;
  font-size: 1.4rem;
  line-height: 1.9;
  color: #333;
  text-align: justify;
}

.about-ub__copy p:last-child {
  margin-bottom: 0;
}

.about-ub__portrait {
  flex: 0 0 38%;
  max-width: 340px;
  margin: 0;
}

.about-ub__portrait img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

@media screen and (max-width: 800px) {
  .about-ub__title {
    font-size: 2rem;
  }

  .about-ub__sub {
    font-size: 1.35rem;
  }

  .about-ub__row {
    flex-direction: column;
    gap: 24px;
  }

  .about-ub__portrait {
    flex: none;
    max-width: 320px;
    width: 100%;
    margin: 0 auto;
  }

  .about-ub__copy p {
    text-align: left;
  }
}

@media screen and (max-width: 600px) {
  .about-ub {
    padding: 0 12px 28px;
  }

  .about-ub__head {
    margin-bottom: 18px;
  }

  .about-ub__title {
    font-size: 1.8rem;
  }

  .about-ub__sub {
    font-size: 1.25rem;
  }

  .about-ub__hero {
    margin-bottom: 22px;
  }

  .about-ub__copy p {
    font-size: 1.35rem;
    line-height: 1.8;
  }
}
