/* ============================================================
   TripleSupport - Tongshan Zhenfusan Trading Co., Ltd.
   Legal pages stylesheet (privacy / terms-of-service)
   LIGHT trade-olive theme. Loaded ONLY by the legal pages.
   ============================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.legal-page {
  background-color: #F7F4EC;
  color: #2E3324;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.legal-page .container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- legal header ---------- */

.legal-header {
  background-color: #4A5430;
  border-bottom: 4px solid #6E7A3E;
  padding: 22px 0;
}

.legal-header-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.legal-brand {
  color: #F7F4EC;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
}

.legal-brand:hover {
  color: #FFFFFF;
}

.legal-home {
  color: #EFF1DE;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
}

.legal-home:hover {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* ---------- title area ---------- */

.legal-title-area {
  text-align: center;
  padding: 60px 0 24px;
}

.legal-title-area h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1.2;
  color: #4A5430;
}

.legal-title-area p {
  color: #8B9076;
  margin-top: 12px;
  font-size: 15px;
}

/* ---------- table of contents ---------- */

.toc {
  background-color: #FFFFFF;
  border: 1px solid #E9EBD9;
  border-left: 4px solid #6E7A3E;
  padding: 26px 30px;
  margin: 26px 0 8px;
}

.toc h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  color: #4A5430;
  margin-bottom: 14px;
}

.toc ul {
  list-style: none;
  margin: 0;
  columns: 2;
  column-gap: 36px;
}

.toc li {
  margin-bottom: 8px;
}

.toc a {
  color: #6E7A3E;
  text-decoration: none;
  font-size: 15px;
}

.toc a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- legal content ---------- */

.legal-content {
  padding-bottom: 40px;
}

.legal-content .container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-page .legal-content section {
  background-color: transparent !important;
}

.legal-content h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1.35;
  color: #4A5430;
  margin: 52px 0 16px;
  padding-top: 22px;
  border-top: 1px solid #E9EBD9;
  scroll-margin-top: 30px;
}

.legal-content h3 {
  color: #4A5430;
  font-size: 19px;
  margin: 26px 0 8px;
}

.legal-content p {
  color: #3E4436;
  margin-bottom: 15px;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 16px 26px;
  color: #3E4436;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content a {
  color: #6E7A3E;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-content a:hover {
  color: #4A5430;
}

.legal-content strong {
  color: #4A5430;
}

.updated-note {
  color: #8B9076;
  font-size: 14px;
}

/* ---------- legal footer ---------- */

.legal-footer {
  background-color: #4A5430;
  border-top: 4px solid #6E7A3E;
  padding: 28px 0;
  text-align: center;
}

.legal-footer .container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-footer p {
  color: #F7F4EC;
  font-size: 13px;
  line-height: 2;
  margin: 0;
}

.legal-footer a {
  color: #EFF1DE;
  text-decoration: none;
}

.legal-footer a:hover {
  color: #B9C281;
  text-decoration: underline;
}

.legal-footer .footer-sep {
  color: #8B9076;
  margin: 0 8px;
}

/* ---------- responsive ---------- */

@media (max-width: 720px) {
  .legal-title-area h1 {
    font-size: 32px;
  }

  .toc ul {
    columns: 1;
  }

  .legal-content h2 {
    font-size: 22px;
  }
}
