.header--legal .header__main-inner {
  min-height: 76px;
}

.header--legal + .legal-page {
  padding-top: 116px;
}

.legal-page {
  min-height: 0;
}

.legal-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  color: #939394;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
}

.legal-breadcrumbs a,
.legal-breadcrumbs [aria-current] {
  padding: 4px;
}

.legal-breadcrumbs__mobile {
  display: none;
}

.legal-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 24px;
  padding-bottom: 140px;
}

.legal-content h1 {
  color: #181818;
  font-size: 30px;
  font-weight: 600;
  line-height: 32px;
  text-transform: uppercase;
}

.legal-page .accordion {
  gap: 32px;
  margin-top: 0;
}

.legal-page .accordion-trigger {
  gap: 12px;
}

.legal-page .accordion-trigger::after {
  width: 16px;
  height: 16px;
  background: url(/assets/image/legal-accordion-arrow.svg) center / 14.1468px 7.0554px no-repeat;
  border-radius: 0;
  transform: rotate(180deg);
  transition: transform 0.25s ease;
}

.legal-page .accordion-trigger[aria-expanded="true"]::after {
  background-color: transparent;
  background-blend-mode: normal;
  filter: none;
  transform: rotate(0deg);
}

.legal-page .accordion-trigger-text,
.legal-page .accordion-trigger-text::before {
  color: #181818;
  font-size: 12px;
  font-weight: 600;
  line-height: 12px;
  letter-spacing: 0.12px;
}

.legal-page .accordion-trigger:hover .accordion-trigger-text,
.legal-page .accordion-trigger:hover .accordion-trigger-text::before {
  color: #181818;
}

.legal-page .accordion-content__inner {
  gap: 16px;
}

.legal-page .accordion-content__inner * {
  color: #181818;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
}

.footer--legal {
  min-height: 378px;
  background: #ffffff;
}

.footer--legal .footer__body {
  flex: 0 0 378px;
}

@media (max-width: 1023px) {
  .header--legal .header__topbar {
    display: none;
  }

  .header--legal .header__main-inner {
    min-height: 76px;
  }

  .header--legal .header__logo {
    width: 86px;
    height: 40px;
  }

  .header--legal + .legal-page {
    padding-top: 76px;
  }

  .legal-content {
    padding-top: 16px;
    padding-bottom: 100px;
  }

  .footer--legal {
    min-height: 270px;
  }

  .footer--legal .footer__body {
    flex-basis: 270px;
    border-radius: 0 150px 0 0;
  }

  .footer--legal .footer__body .wrapper {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .footer--legal .footer__nav {
    display: flex;
    gap: 24px;
  }

  .footer--legal .footer__about {
    display: none;
  }

  .footer--legal .footer__nav > :nth-child(2) {
    width: 156px;
  }

  .footer--legal .footer__legal-links {
    gap: 12px;
  }

  .footer--legal .footer__legal-links a {
    min-height: 24px;
    font-size: 10px;
    line-height: 10px;
  }

  .footer--legal .footer__line {
    margin: 32px 0 16px;
  }
}

@media (max-width: 767px) {
  .header--legal .header__main-inner {
    min-height: 58px;
  }

  .header--legal .header__logo {
    width: 69px;
    height: 32px;
  }

  .header--legal + .legal-page {
    padding-top: 58px;
  }

  .legal-breadcrumbs {
    gap: 0;
    height: 48px;
    overflow: visible;
    font-size: 12px;
    line-height: 14px;
  }

  .legal-breadcrumbs .legal-breadcrumbs__desktop {
    display: none;
  }

  .legal-breadcrumbs__mobile {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 24px;
    padding: 0;
  }

  .legal-breadcrumbs__mobile img {
    width: 16px;
    height: 16px;
  }

  .legal-content {
    gap: 24px;
    padding-top: 12px;
    padding-bottom: 68px;
  }

  .legal-content h1 {
    font-size: 18px;
    line-height: 22px;
  }

  .legal-page .accordion {
    gap: 24px;
  }

  .legal-page .accordion-trigger-text,
  .legal-page .accordion-trigger-text::before {
    font-size: 10px;
    line-height: 10px;
  }

  .legal-page .accordion-trigger {
    gap: 8px;
  }

  .legal-page .accordion-trigger::after {
    width: 12px;
    height: 12px;
    background-size: 11.86px 5.98px;
  }

  .legal-page .accordion-content__inner * {
    font-size: 12px;
    line-height: 16px;
  }

  .footer--legal .footer__body {
    flex-basis: auto;
    border-radius: 0 40px 0 0;
  }

  .footer--legal .footer__nav {
    display: grid;
    gap: 20px;
  }

  .footer--legal .footer__nav > :nth-child(2) {
    width: auto;
  }
}