._only-mobile .header__logo__full {
  filter: brightness(1) invert(1);
}

.header:has(+ .page--legal):not(._header-scroll) .menu__icon {
  --white: var(--main-color);
}

.header:has(+ .page--legal):not(._header-scroll) .header__logo img:first-child {
  display: none;
}

.header:has(+ .page--legal):not(._header-scroll) .header__logo img:last-child {
  display: inline-block;
}

.legal-page__top-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
}
.legal-page__title {
  line-height: 105%;
  letter-spacing: 0.01em;
  border: 1px solid var(--main-color);
}

.legal-page__content {
  display: -ms-grid;
  display: grid;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
  -ms-flex-line-pack: start;
  align-content: start;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.01em;
  font-weight: 300;
  overflow-x: auto;
}
.legal-page__content table {
  width: 100%;
  max-width: 95vw;
  border-collapse: collapse;
  margin-bottom: 1em;
}

.legal-page__content table th,
.legal-page__content table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

.legal-page__content table th {
  background-color: #f2f2f2;
  font-weight: bold;
}

@media screen and (max-width: 600px) {
  .legal-page__content table {
    font-size: 14px;
  }

  .legal-page__content table th,
  .legal-page__content table td {
    padding: 6px;
    display: block;
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .legal-page__content table th {
    text-align: center;
  }

  .legal-page__content table td::before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }

  .legal-page__content table tr {
    margin-bottom: 10px;
    display: block;
    border: 1px solid #ddd;
  }
}
.legal-page__content b,
.legal-page__content h2,
.legal-page__content h3,
.legal-page__content h4,
.legal-page__content h5 {
  font-weight: 500;
}

.legal-page__content a {
  text-decoration: underline;
}

.sidebar-legal__list {
  display: -ms-grid;
  display: grid;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
  -ms-flex-line-pack: start;
  align-content: start;
  gap: 46px;
}

.sidebar-legal__list li {
  font-size: 24px;
  line-height: 90%;
  letter-spacing: 0.01em;
  color: #bfbfbf;
  -webkit-transition: color 0.4s ease, opacity 0.4s ease;
  transition: color 0.4s ease, opacity 0.4s ease;
  cursor: pointer;
}

.sidebar-legal__list li.current-menu-item {
  color: var(--main-color);
}

@media all and (hover: hover) {
  .sidebar-legal__list li:hover {
    color: var(--main-color);
  }
}

.swiper {
  overflow: hidden;
}

.swiper-initialized {
  -ms-touch-action: pan-y;
  touch-action: pan-y;
}

.swiper-initialized.swiper-vertical {
  -ms-touch-action: pan-x;
  touch-action: pan-x;
}

.swiper-wrapper {
  width: 100%;
  height: 100%;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
}

.swiper-vertical .swiper-wrapper {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.swiper-autoheight .swiper-wrapper {
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

.swiper-initialized .swiper-slide {
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.swiper-android .swiper-slide,
.swiper-android .swiper-wrapper {
  -webkit-transform: translate3d(0px, 0, 0);
  transform: translate3d(0px, 0, 0);
}

.swiper-button-lock {
  display: none !important;
}

.swiper-button-disabled {
  opacity: 0.2;
  cursor: auto;
}

.swiper-pagination-bullets:not(.swiper-pagination-lock) {
  margin: toRem(25) 0 0 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.swiper-pagination-bullets:not(.swiper-pagination-lock) span {
  width: 10px;
  height: 10px;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 10px;
  flex: 0 0 10px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  -webkit-transition: background-color 0.3s ease 0s;
  transition: background-color 0.3s ease 0s;
}

.swiper-pagination-bullets:not(.swiper-pagination-lock) span:not(:last-child) {
  margin: 0 toRem(10) 0 0;
}

.swiper-pagination-bullets:not(.swiper-pagination-lock)
  span.swiper-pagination-bullet-active {
  background-color: var(--add-color);
}

@media (min-width: 29.99875em) {
  :root {
    --main-offsize: 1.0625rem;
    --border-radius: 1.875rem;
  }

  .legal-page__top-row svg {
    height: auto;
    -o-object-fit: cover;
    object-fit: cover;
  }
}

@media (min-width: 47.99875em) {
  .legal-page__top-row {
    margin-bottom: 57px;
    gap: 26px;
  }

  .legal-page__top-row svg {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 33px;
    flex: 0 0 33px;
  }

  .legal-page__title {
    padding: 15px 35px;
    border-radius: 60px;
  }

  .legal-page__content {
    gap: 18px;
  }
}

@media (min-width: 61.99875em) {
  :root {
    --title-offsize: 64px;
  }

  .legal-page {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: start;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 40px;
  }

  .legal-page__sidebar {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    padding-top: 125px;
    position: sticky;
    top: 15px;
  }

  .legal-page__body {
    -webkit-box-flex: 0;
    -ms-flex: 0 1 800px;
    flex: 0 1 800px;
  }
}

.page--legal {
  padding-block: 140px;
}

@media (min-width: 87.5em) {
  .page--legal {
    padding-bottom: 8.75rem;
  }

  .page--legal {
    padding-top: 13.125rem;
  }

  .legal-page__title {
    font-size: 3.4375rem;
  }
}

@media (max-width: 20em) {
  .page--legal {
    padding-bottom: 3.125rem;
  }

  .page--legal {
    padding-top: 5.9375rem;
  }

  .legal-page__title {
    font-size: 1.75rem;
  }
}

@media (max-width: 61.99875em) {
  .legal-page__sidebar {
    display: none;
  }
}

@media (max-width: 47.99875em) {
  .legal-page__top-row {
    margin-bottom: 30px;
    gap: 16px;
  }

  .legal-page__title {
    padding: 14px;
    border-radius: 24px;
  }

  .legal-page__content {
    gap: 12px;
  }
}

@media (max-width: 29.99875em) {
  :root {
    --main-offsize: 0.875rem;
    --title-offsize: 1.5625rem;
    --border-radius: 1.375rem;
  }

  .legal-page__top-row {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .legal-page__top-row svg {
    display: none;
  }
}

@media (min-width: 29.99875em) and (max-width: 61.99875em) {
  :root {
    --title-offsize: 3rem;
  }
}

@media (min-width: 20em) and (max-width: 87.5em) {
  @supports (
    padding-bottom: clamp(3.125rem, 1.4583333333rem + 8.3333333333vw, 8.75rem)
  ) {
    .page--legal {
      padding-bottom: clamp(
        3.125rem,
        1.4583333333rem + 8.3333333333vw,
        8.75rem
      );
    }
  }

  @supports not (
    padding-bottom: clamp(3.125rem, 1.4583333333rem + 8.3333333333vw, 8.75rem)
  ) {
    .page--legal {
      padding-bottom: calc(3.125rem + 5.625 * (100vw - 20rem) / 67.5);
    }
  }

  @supports (
    padding-top: clamp(5.9375rem, 3.8078703704rem + 10.6481481481vw, 13.125rem)
  ) {
    .page--legal {
      padding-top: clamp(
        5.9375rem,
        3.8078703704rem + 10.6481481481vw,
        13.125rem
      );
    }
  }

  @supports not (
    padding-top: clamp(5.9375rem, 3.8078703704rem + 10.6481481481vw, 13.125rem)
  ) {
    .page--legal {
      padding-top: calc(5.9375rem + 7.1875 * (100vw - 20rem) / 67.5);
    }
  }

  @supports (font-size: clamp(1.75rem, 1.25rem + 2.5vw, 3.4375rem)) {
    .legal-page__title {
      font-size: clamp(1.75rem, 1.25rem + 2.5vw, 3.4375rem);
    }
  }

  @supports not (font-size: clamp(1.75rem, 1.25rem + 2.5vw, 3.4375rem)) {
    .legal-page__title {
      font-size: calc(1.75rem + 1.6875 * (100vw - 20rem) / 67.5);
    }
  }
}

@media (min-width: 29.99875em) and (max-width: 47.99875em) {
  .legal-page__top-row svg {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 24px;
    flex: 0 0 24px;
  }
}

@media (any-hover: hover) {
  .legal-page__content a:hover {
    text-decoration: none;
  }

  .sidebar-legal__item-list:hover {
    color: var(--main-color);
  }
}
