/* Страница «О компании». Подключается вместе со school-landing.css. */

.school-landing.company-about .sl-hero__title {
  max-width: 13em;
}

.school-landing.company-about .sl-hero__lead {
  max-width: 38em;
}

.school-landing.company-about .ca-portrait {
  position: relative;
  margin: 8px 0 0;
  overflow: hidden;
  border-radius: 20px;
}

.school-landing.company-about .ca-portrait img {
  display: block;
  width: 100%;
  height: auto;
}

.school-landing.company-about .ca-portrait figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  max-width: calc(100% - 32px);
  margin: 0;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.school-landing.company-about .ca-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.school-landing.company-about .ca-stats li {
  padding: 22px 20px 20px;
  border: 1px solid var(--stroke_black, #3a3a3a);
  border-top: 2px solid var(--theme-base-color, #fd6141);
  border-radius: 0 0 16px 16px;
  background: var(--darkerblack_bg_black, #121212);
}

.school-landing.company-about .ca-stats b {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: clamp(26px, 2.4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.school-landing.company-about .ca-stats span {
  display: block;
  color: #ccc;
  font-size: 15px;
  line-height: 1.4;
}

.school-landing.company-about .ca-steps {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.school-landing.company-about .ca-steps li {
  color: #ddd;
  font-size: 15px;
  line-height: 1.4;
}

.school-landing.company-about .sl-final {
  background:
    linear-gradient(100deg, rgba(12, 12, 12, 0.92), rgba(12, 12, 12, 0.78)),
    url("/upload/iblock/216/ifwd45xa0y18zqm1kpbhzyqzwyn1gnic.jpg") center / cover;
}

.school-landing.company-about .sl-final .sl-list {
  margin-bottom: 4px;
}

.school-landing.company-about .sl-final .sl-list li {
  color: rgba(255, 255, 255, 0.86);
}

.school-landing.company-about .ca-note {
  max-width: 68em;
  margin: 28px 0 0;
  color: #999;
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 1199px) {
  .school-landing.company-about .ca-stats {
    grid-template-columns: 1fr 1fr;
  }

  .school-landing.company-about .ca-steps {
    grid-template-columns: 1fr 1fr;
  }

  .school-landing.company-about .ca-steps li:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .school-landing.company-about .sl-hero--bright .sl-hero__bg:after {
    background: linear-gradient(180deg, rgba(12, 12, 12, 0.15) 0%, rgba(12, 12, 12, 0.78) 22%, rgba(12, 12, 12, 0.94) 48%, rgba(12, 12, 12, 0.96) 100%);
  }

  .school-landing.company-about .ca-stats,
  .school-landing.company-about .ca-steps {
    grid-template-columns: 1fr;
  }

  .school-landing.company-about .ca-steps li:last-child {
    grid-column: auto;
  }

  .school-landing.company-about .ca-portrait figcaption {
    left: 10px;
    right: 10px;
    bottom: 10px;
    max-width: none;
  }
}
