.legal-mobile-nav {
  display: none;
}

@media (max-width: 770px) {
  html,
  body.legal-page {
    width: 100%;
    min-height: 100%;
    height: auto !important;
    margin: 0;
    padding: 0;
    display: block !important;
    overflow-x: hidden;
    background: #f6f5f3 !important;
    color: #172342;
    font-family: 'Manrope', 'Clear Sans', Arial, sans-serif;
    text-align: left;
  }

  .legal-mobile-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: stretch;
    width: 100%;
    min-height: 66px;
    border-bottom: 1px solid #9aa0aa;
    background: rgba(246, 245, 243, .97);
  }

  .legal-home,
  .legal-language > summary {
    display: flex;
    align-items: center;
    min-height: 66px;
    box-sizing: border-box;
    color: #172342;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    text-decoration: none;
  }

  .legal-home {
    gap: 9px;
    padding: 0 20px;
  }

  .legal-home span {
    font-size: 20px;
    font-weight: 400;
  }

  .legal-language {
    position: relative;
    min-width: 92px;
    border-left: 1px solid #9aa0aa;
  }

  .legal-language > summary {
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    cursor: pointer;
    list-style: none;
  }

  .legal-language > summary::-webkit-details-marker {
    display: none;
  }

  .legal-language img {
    width: 29px;
    height: 29px;
    object-fit: contain;
  }

  .legal-language-options {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    display: grid;
    width: 92px;
    border: 1px solid #9aa0aa;
    border-top: 0;
    background: #f6f5f3;
    box-shadow: 0 8px 18px rgba(23, 35, 66, .12);
  }

  .legal-language-options a,
  .legal-language-options span {
    padding: 12px 16px;
    color: #172342;
    font-size: 13px;
    text-align: center;
    text-decoration: none;
  }

  .legal-language-options [aria-current='page'] {
    color: #d32727;
    font-weight: 700;
  }

  body.legal-page .mentions-container {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 30px 20px 42px;
    box-sizing: border-box;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #172342;
    text-align: left;
    line-height: 1.52;
  }

  body.legal-page .legal-copy,
  body.legal-page .legal-actions {
    display: contents;
  }

  body.legal-page h1 {
    margin: 0 0 26px;
    color: #172342;
    font-family: 'Manrope', 'Clear Sans', Arial, sans-serif;
    font-size: clamp(1.45rem, 6.5vw, 1.8rem);
    font-weight: 500;
    line-height: 1.2;
    text-align: left;
    letter-spacing: 0;
  }

  body.legal-page p {
    margin: 0 0 19px;
    color: #313c56;
    font-size: clamp(.86rem, 3.65vw, 1rem);
    line-height: 1.52;
    letter-spacing: 0;
  }

  body.legal-page .return-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    margin: 30px 0 0;
    padding: 0 16px;
    box-sizing: border-box;
    border: 1px solid #1d1fd2;
    border-radius: 7px;
    background: transparent;
    color: #1d1fd2;
    font-size: 14px;
    font-weight: 500;
  }

  body.legal-page .cookie-info {
    margin-top: 24px;
    color: #777d89;
    font-size: 11px;
    line-height: 1.4;
    text-align: left;
  }
}
