/* Блок «О нас» на главной. Фотография — /blocks/about/images/couple.jpg */
/* Фон блока прозрачный намеренно: сквозь него виден общий градиентный фон
страницы (.page__background из block.css). position + z-index обязательны —
без них статичный блок уходит под фиксированный фон и исчезает. */
.about {
  position: relative;
  z-index: 1;
  color: var(--color-white, #ffffff);
  border-color: var(--color-gray, #585858);
  border-width: 1px 0 0 0;
  border-style: solid;
  width: 100%;
}

.about__inner {
  padding-top: 70px;
  padding-bottom: 70px;
  box-sizing: border-box;
}

.about__title {
  margin: 0;
  text-align: center;
}

.about__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  max-width: 1050px;
  margin: auto;
}

.about__content-left {
  width: 100%;
  max-width: 380px;
  flex-shrink: 2;
}

.about__image {
  position: relative;
  width: 45%;
  flex-shrink: 0;
}

/* Растушёвка краёв — тот же приём, что у фото в блоке «Команда»
(team.css, .team__human-image img): маска делает края САМОЙ картинки
прозрачными, а не рисует поверх неё тень сплошным цветом.

Через box-shadow inset это не работает: сплошная тень красит края
в #1f1f1f и видна как чёткий серый прямоугольник поверх градиентного
фона страницы. Сквозь прозрачные края маски виден любой фон позади. */
.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  mask-image:
    linear-gradient(to bottom, transparent 0%, #000 15%, #000 85%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, #000 15%, #000 85%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
}

@media (width < 950px) {
  .about__inner {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .about__content {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .about__image {
    width: 100%;
    max-width: 400px;
  }
}