﻿/* positions.html — футер как на font.html (font-overrides.css + font-index-sync.css) */

html body.page-positions {
  --index-font-logo: 1.08rem;
}

html body.page-positions .site-footer {
  background: linear-gradient(180deg, #0a1219 0%, #143844 100%) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  margin-top: 0 !important;
  padding: 3mm clamp(16px, 3vw, 24px) 3mm !important;
  border-top: none !important;
  position: relative !important;
}

html body.page-positions .site-footer::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 3px !important;
  background: var(--m-gradient, linear-gradient(135deg, #143844 0%, #2a8aad 72%, #5ec4d8 100%)) !important;
}

html body.page-positions .site-footer .footer-container {
  max-width: 1280px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.12fr) minmax(0, 0.98fr) minmax(0, 1.08fr) !important;
  gap: 30px !important;
  align-items: start !important;
}

html body.page-positions .site-footer .footer-col {
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-self: start !important;
}

html body.page-positions .site-footer .footer-col h3 {
  margin-bottom: 18px !important;
  text-transform: uppercase !important;
  white-space: normal !important;
  letter-spacing: 0.01em !important;
}

html body.page-positions .site-footer .footer-col ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body.page-positions .site-footer .footer-col li {
  margin-bottom: 10px !important;
}

html body.page-positions .site-footer .footer-col li:last-child {
  margin-bottom: 0 !important;
}

html body.page-positions .site-footer .footer-col a {
  text-decoration: none !important;
  text-underline-offset: 0 !important;
  transition: 0.2s ease !important;
}

html body.page-positions .site-footer .footer-col a:hover,
html body.page-positions .site-footer .footer-col a:focus-visible,
html body.page-positions .site-footer .footer-col a:active {
  color: #ffffff !important;
  text-decoration: none !important;
}

html body.page-positions .site-footer .footer-col--contacts-placdarm h3 {
  text-transform: uppercase !important;
  letter-spacing: 0.01em !important;
  white-space: normal !important;
}

html body.page-positions .site-footer .footer-col--legal-info h3 {
  letter-spacing: 0 !important;
}

html body.page-positions .site-footer .footer-col--legal-info ul,
html body.page-positions .site-footer .footer-col--legal-info li {
  width: 100% !important;
}

html body.page-positions .site-footer .footer-bottom {
  max-width: 1280px !important;
  margin: 3mm auto 0 !important;
  padding-top: 3mm !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  display: flex !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
}

html body.page-positions .site-footer .footer-bottom > div:first-child {
  flex: 1 1 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  text-align: center !important;
}

html body.page-positions .site-footer .footer-privacy-link {
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
}

html body.page-positions .site-footer .footer-bottom .footer-legal-links {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body.page-positions .site-footer .footer-col--offices,
html body.page-positions .site-footer .footer-col--offices ul {
  align-items: flex-start !important;
  text-align: left !important;
}

html body.page-positions .site-footer .footer-col--offices {
  position: relative !important;
  left: 4mm !important;
}

html body.page-positions .site-footer .footer-col--offices ul {
  display: block !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body.page-positions .site-footer .footer-col--offices li {
  display: block !important;
  margin: 0 0 10px 0 !important;
  line-height: 1.55 !important;
}

html body.page-positions .site-footer .footer-col--offices li:last-child {
  margin-bottom: 0 !important;
}

html body.page-positions .site-footer .footer-col--offices a.office-city-btn {
  display: inline !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #d3d9e4 !important;
  font: inherit !important;
  font-weight: 500 !important;
  line-height: 1.55 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transform: none !important;
  filter: none !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}

html body.page-positions .site-footer .footer-col--offices a.office-city-btn:hover,
html body.page-positions .site-footer .footer-col--offices a.office-city-btn:focus-visible {
  color: #ffffff !important;
  background: transparent !important;
  box-shadow: none !important;
  text-decoration: none !important;
  outline: none !important;
  transform: none !important;
}

html body.page-positions .site-footer .footer-col h3,
html body.page-positions .site-footer .footer-col--offices h3,
html body.page-positions .site-footer .footer-col--contacts-placdarm h3,
html body.page-positions .site-footer .footer-col--legal-info h3,
html body.page-positions .site-footer .footer-col--info h3 {
  font-family: var(--m-font) !important;
  font-size: calc(var(--index-font-logo, 1.08rem) / 1.25) !important;
  font-weight: 700 !important;
  font-style: normal !important;
  line-height: 1.2 !important;
  letter-spacing: 0.01em !important;
  text-transform: uppercase !important;
  white-space: normal !important;
}

html body.page-positions .site-footer .footer-col li,
html body.page-positions .site-footer .footer-col a,
html body.page-positions .site-footer .footer-col .office-city-btn,
html body.page-positions .site-footer .footer-col--contacts-placdarm li,
html body.page-positions .site-footer .footer-col--contacts-placdarm a,
html body.page-positions .site-footer .footer-privacy-link,
html body.page-positions .site-footer .footer-bottom,
html body.page-positions .site-footer .footer-bottom div {
  font-family: var(--m-font) !important;
  font-size: clamp(0.704rem, 1.08vw, 0.768rem) !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
}

html body.page-positions .site-footer .footer-col--offices a.office-city-btn {
  font-weight: 500 !important;
}

@media (min-width: 981px) {
  html body.page-positions .site-footer {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  html body.page-positions .site-footer .footer-container,
  html body.page-positions .site-footer .footer-bottom {
    width: min(1240px, calc(100% - 40px)) !important;
    max-width: min(1240px, calc(100% - 40px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  html body.page-positions .site-footer .footer-container {
    grid-template-columns:
      minmax(0, 0.82fr)
      minmax(0, 1.12fr)
      minmax(250px, 1fr)
      minmax(0, 0.96fr) !important;
    gap: 18px !important;
  }

  html body.page-positions .site-footer .footer-col h3,
  html body.page-positions .site-footer .footer-col--contacts-placdarm h3,
  html body.page-positions .site-footer .footer-col--legal-info h3,
  html body.page-positions .site-footer .footer-col--info h3 {
    font-size: calc(var(--index-font-logo, 1.08rem) / 1.25) !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    text-transform: uppercase !important;
    white-space: normal !important;
  }

  html body.page-positions .site-footer .footer-col--offices {
    grid-column: 1 !important;
    position: relative !important;
    left: 4mm !important;
  }

  html body.page-positions .site-footer .footer-col--contacts-placdarm {
    grid-column: 2 !important;
    position: relative !important;
    left: calc(0.5cm + 2mm) !important;
    min-width: 0 !important;
  }

  html body.page-positions .site-footer .footer-col--legal-info {
    grid-column: 3 !important;
    position: relative !important;
    left: calc(0.5cm + 2mm) !important;
    justify-self: start !important;
    width: max-content !important;
    max-width: 100% !important;
  }

  html body.page-positions .site-footer .footer-col--legal-info h3,
  html body.page-positions .site-footer .footer-col--legal-info ul {
    width: max-content !important;
    max-width: 100% !important;
    justify-self: start !important;
  }

  html body.page-positions .site-footer .footer-col--legal-info li {
    white-space: nowrap !important;
  }

  html body.page-positions .site-footer .footer-col--info {
    grid-column: 4 !important;
    position: relative !important;
    left: calc(1.5cm + 2mm) !important;
  }

  html body.page-positions .site-footer .footer-col--contacts-placdarm li,
  html body.page-positions .site-footer .footer-col--contacts-placdarm a {
    font-size: 0.704rem !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }
}

@media (max-width: 980px) {
  html body.page-positions .site-footer .footer-col--offices {
    order: 1 !important;
  }

  html body.page-positions .site-footer .footer-col--contacts-placdarm {
    order: 2 !important;
  }

  html body.page-positions .site-footer .footer-col--legal-info {
    order: 3 !important;
  }

  html body.page-positions .site-footer .footer-col--info {
    order: 4 !important;
  }

  html body.page-positions .site-footer .footer-container {
    grid-template-columns: 1fr !important;
  }

  html body.page-positions .site-footer .footer-col h3 {
    white-space: normal !important;
  }
}

@media (max-width: 768px) {
  html body.page-positions .site-footer .footer-bottom {
    flex-direction: column !important;
  }
}
