/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

.legal-content {
  font-size: 1rem;
  line-height: 1.75;
  color: #374151;
}

.legal-content h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: #111827;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #E5E7EB;
  line-height: 1.3;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1F2937;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.legal-content > strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1F2937;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.legal-content p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

.legal-content p > strong:only-child {
  display: block;
  font-size: 1.05rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #1f2937;
}

.legal-content ul,
.legal-content ol {
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
  padding-left: 1.75rem;
}

.legal-content ul {
  list-style-type: disc;
}

.legal-content ol {
  list-style-type: decimal;
}

.legal-content li {
  margin-bottom: 0.5rem;
  line-height: 1.65;
  padding-left: 0.25rem;
}

.legal-content li > ul,
.legal-content li > ol {
  margin-top: 0.375rem;
  margin-bottom: 0.375rem;
}

.legal-content li strong {
  color: #111827;
}

.legal-content strong {
  font-weight: 700;
  color: #111827;
}

.legal-content a {
  color: #0077BE;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: #005A8C;
}

.legal-content br + br {
  display: none;
}

.legal-content > *:first-child {
  margin-top: 0;
}
