/* Страница «О нас» — стили для HTML в материале */

.item-page:has(.about-page) > .page-header,
.com-content-article:has(.about-page) > .page-header,
.item-page:has(.about-page) .page-header,
.com-content-article:has(.about-page) .page-header {
  display: none !important;
}

.about-page {
  color: var(--felix-black);
}

.about-page__title {
  margin: 0 0 24px;
  font-family: var(--felix-font-heading), "Bebas Neue", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: var(--felix-black);
}

@media (min-width: 640px) {
  .about-page__title {
    margin-bottom: 32px;
    font-size: 42px;
  }
}

@media (min-width: 1024px) {
  .about-page__title {
    margin-bottom: 40px;
    font-size: 52px;
  }
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .about-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .about-stats {
    gap: 24px;
  }
}

.about-stats .stat-card-value {
  font-family: var(--felix-font-heading), "Bebas Neue", sans-serif;
  font-weight: 700;
}

.about-history {
  margin-top: 24px;
  padding: 28px 20px 24px;
  border-radius: 28px;
  background: var(--felix-milk);
}

@media (min-width: 640px) {
  .about-history {
    margin-top: 32px;
    padding: 36px 32px 32px;
    border-radius: 40px;
  }
}

@media (min-width: 1024px) {
  .about-history {
    margin-top: 40px;
    padding: 47px 37px 40px;
    border-radius: var(--felix-radius-card);
  }
}

.about-history__title {
  margin: 0 0 20px;
  font-family: var(--felix-font-heading), "Bebas Neue", sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: var(--felix-black);
}

@media (min-width: 640px) {
  .about-history__title {
    margin-bottom: 24px;
    font-size: 40px;
  }
}

@media (min-width: 1024px) {
  .about-history__title {
    margin-bottom: 27px;
    font-size: 52px;
  }
}

.about-history__text {
  margin: 0;
  font-family: var(--felix-font), Montserrat, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--felix-black);
}

@media (min-width: 1024px) {
  .about-history__text {
    font-size: 16px;
  }
}

.about-history__text p {
  margin: 0 0 1.4em;
}

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

.about-history__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

@media (min-width: 640px) {
  .about-history__tags {
    gap: 16px;
    margin-top: 28px;
  }
}

@media (min-width: 1024px) {
  .about-history__tags {
    margin-top: 32px;
  }
}

.about-tag {
  display: inline-flex;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--felix-radius-pill);
  font-family: var(--felix-font), Montserrat, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--felix-black);
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .about-tag {
    height: 53px;
    padding: 16px 32px;
    font-size: 16px;
  }
}

.about-tag--brown {
  background: var(--felix-brown);
}

.about-tag--yellow {
  background: var(--felix-yellow);
}

.about-tag--green {
  background: var(--felix-green);
}

.about-team {
  margin-top: 24px;
  overflow: hidden;
  border-radius: 28px;
}

@media (min-width: 640px) {
  .about-team {
    margin-top: 32px;
    border-radius: 40px;
  }
}

@media (min-width: 1024px) {
  .about-team {
    margin-top: 40px;
    height: 546px;
    border-radius: var(--felix-radius-card);
  }
}

.about-team img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  object-position: center 35%;
}

@media (min-width: 1024px) {
  .about-team img {
    max-height: none;
    height: 546px;
  }
}

.about-page .contacts-form-wrap {
  margin-top: 24px;
  margin-bottom: 48px;
}

@media (min-width: 640px) {
  .about-page .contacts-form-wrap {
    margin-top: 32px;
    margin-bottom: 56px;
  }
}

@media (min-width: 1024px) {
  .about-page .contacts-form-wrap {
    margin-top: 45px;
    margin-bottom: 64px;
  }
}

.about-page .contacts-map {
  margin-top: 0;
}
