/* Page-local layout: do not reuse the legacy overlay hero's .text rules. */
.aboutPage {
  color: #181c1d;
  background: #fff;
}

.aboutPage .aboutPage-head--block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: #12282a;
  color: #fff;
}

.aboutPage-head--block .photo {
  min-width: 0;
  height: auto;
  min-height: 480px;
}

.aboutPage-head--block .photo img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.aboutPage-head--block .content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: clamp(24px, 4vw, 64px);
}

.aboutPage .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: #d6e2e2;
}

.aboutPage .breadcrumbs a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.aboutPage-intro {
  display: grid;
  gap: 32px;
  margin-block: auto;
}

.aboutPage .aboutPage-header {
  margin: 0;
  font-size: clamp(28px, 2.7vw, 48px);
  font-weight: 500;
  line-height: 1.18;
  color: #fff;
  overflow-wrap: anywhere;
}

.aboutPage-head--block .btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.aboutPage-head--block .btns .btn {
  max-width: 100%;
  min-height: 52px;
  height: auto;
  padding: 16px 28px;
  white-space: normal;
  font-size: 16px;
  line-height: 1.35;
}

.aboutPage .aboutPage-about {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  padding-block: clamp(36px, 5vw, 72px);
}

.aboutPage-about .text {
  display: grid;
  align-content: start;
  gap: 24px;
  min-width: 0;
}

.aboutPage-about h2 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.aboutPage-about p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

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

.aboutPage .aboutPage-legal {
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid #d6dfdf;
}

.aboutPage-legal .text {
  max-width: 900px;
}

.aboutPage-legal a {
  color: #126b68;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 991.98px) {
  .aboutPage .aboutPage-head--block {
    grid-template-columns: minmax(0, 1fr);
  }

  .aboutPage-head--block .content {
    grid-row: 1;
    gap: 28px;
  }

  .aboutPage-head--block .photo {
    min-height: 0;
    aspect-ratio: 1280 / 807;
  }

}

@media (max-width: 575.98px) {
  .aboutPage-head--block .content {
    padding: 24px 20px 32px;
  }

  .aboutPage-head--block .btns .btn {
    width: 100%;
  }

}
