/* 
  legal-pages.css
  Standard styles for AusInd Bridge Foundation legal and documentation pages.
*/

.legal-content {
  line-height: 1.8;
  color: #374151;
}

.legal-content h1 {
  font-size: 2.25rem !important;
  font-weight: 800 !important;
  color: #0C2340 !important;
  margin-bottom: 2rem !important;
  letter-spacing: -0.02em !important;
  border-bottom: 3px solid #FF9933;
  padding-bottom: 0.75rem;
  display: inline-block;
}

.legal-content h2 {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: #0C2340 !important;
  margin-top: 2.5rem !important;
  margin-bottom: 1.25rem !important;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.legal-content h2 i {
  color: #FF9933;
  font-size: 1.25rem;
}

.legal-content p {
  margin-bottom: 1.25rem !important;
  font-size: 1rem !important;
}

.legal-content ul, .legal-content ol {
  margin-bottom: 1.5rem !important;
  padding-left: 1.5rem !important;
}

.legal-content li {
  margin-bottom: 0.75rem !important;
  position: relative;
}

.warning-banner {
  background: #fff9f0;
  border-left: 4px solid #FF9933;
  padding: 1.5rem;
  border-radius: 0.75rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 12px rgba(255, 153, 51, 0.1);
}

.warning-banner h2 {
  margin-top: 0 !important;
  font-size: 1.25rem !important;
  margin-bottom: 0.5rem !important;
  color: #c05621 !important;
}

.warning-banner p {
  margin-bottom: 0 !important;
  color: #7b341e !important;
  font-size: 0.95rem !important;
}

.contact-section {
  background: #f8fafc;
  padding: 2.5rem;
  border-radius: 1rem;
  margin-top: 4rem;
  text-align: center;
  border: 1px solid #e2e8f0;
}

.contact-section h2 {
  justify-content: center;
  margin-top: 0 !important;
}

.page-header {
  margin-bottom: 3rem;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 2rem;
}

.page-subtitle {
  font-size: 1.125rem;
  color: #6b7280;
  max-width: 800px;
}

/* Mobile Adjustments */
@media (max-width: 640px) {
  .legal-content h1 {
    font-size: 1.75rem !important;
  }
  .legal-content h2 {
    font-size: 1.25rem !important;
  }
}
/* Full-width white background wrapper */
body {
  background-color: #ffffff;
  min-height: 100vh;
}

/* Remove max-width constraint, let body white show edge to edge */
main.legal-content {
  max-width: 100% !important;
  background-color: #ffffff;
  min-height: calc(100vh - 80px);
  padding: 2rem 0;
}

/* Keep the actual content readable with controlled width */
main.legal-content .page-header,
main.legal-content .legal-content,
main.legal-content section,
main.legal-content .contact-section {
  max-width: 56rem;   /* adjust this — 56rem = ~896px, change to taste */
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}
/* Desktop */
main.legal-content .page-header,
main.legal-content .legal-content,
main.legal-content section,
main.legal-content .contact-section {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Tablet */
@media (max-width: 768px) {
  main.legal-content .page-header,
  main.legal-content .legal-content,
  main.legal-content section,
  main.legal-content .contact-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Mobile */
@media (max-width: 480px) {
  main.legal-content .page-header,
  main.legal-content .legal-content,
  main.legal-content section,
  main.legal-content .contact-section {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}