/* Legal page styles */
.legal-page {
  background-color: #FFFFFF;
  min-height: 100vh;
}

/* Override footer to be static (not fixed) on legal pages */
.site-footer {
  position: static;
}

.legal-page-content {
  max-width: 100%;
  padding: 96px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.legal-title {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.legal-title h1 {
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 30px;
  color: #0b0f16;
  margin: 0;
  white-space: pre;
}

.legal-effective-date {
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 12px;
  color: #0b0f16;
  margin: 0;
}

.legal-intro {
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #0b0f16;
}

.legal-intro p {
  margin: 0 0 12px 0;
}

.legal-intro p:last-child {
  margin-bottom: 0;
}

.legal-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
}

.legal-section h2 {
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: #004580;
  margin: 0;
  width: 100%;
}

.legal-section-content {
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #0b0f16;
  width: 100%;
}

.legal-section-content p {
  margin: 0 0 12px 0;
}

.legal-section-content p:last-child {
  margin-bottom: 0;
}

.legal-italic {
  font-style: italic;
  font-family: Montserrat, Helvetica, Arial, sans-serif;
}

.legal-section-content ul {
  list-style-type: disc;
  margin: 0 0 12px 0;
  padding-left: 1.5em;
}

.legal-section-content ul:last-child {
  margin-bottom: 0;
}

.legal-section-content li {
  margin: 0 0 0 0;
  padding-left: 0;
}

.legal-section-content li:last-child {
  margin-bottom: 0;
}

.legal-section-content a {
  color: #004580;
  text-decoration: underline;
  text-underline-position: from-font;
  cursor: pointer;
}

.legal-section-content a:hover {
  opacity: 0.8;
}

.legal-subheading {
  font-family: Montserrat, Helvetica, Arial, sans-serif;
  font-weight: 500;
  margin-top: 12px;
}

/* Responsive styles */
@media (max-width: 1279px) {
  .legal-page-content {
    padding: 48px 24px;
  }
}

@media (max-width: 799px) {
  .legal-page-content {
    padding: 48px 24px;
  }

  .legal-title h1 {
    font-size: 48px;
    line-height: 60px;
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 16px;
    row-gap: 12px;
  }
}

