/* Legal Pages - Simplified Document Style */

/*
  The page header (h1 and paragraph) is styled in main.css.
  This file handles the styling for the main content area of legal pages.
*/

.legal-content {
  padding: 60px 0;
  background-color: var(--white);
}

/*
  The .legal-document class is used on the Terms page to wrap all sections,
  while .legal-section is used for individual sections on all legal pages.
*/
.legal-document,
.legal-section {
  margin-bottom: 40px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark-blue);
  margin-top: 40px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--light-gray);
}

.legal-content .legal-section:first-child h2,
.legal-content .legal-document > .legal-section:first-child h2 {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--dark-blue);
  margin-top: 30px;
  margin-bottom: 15px;
}

.legal-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--black);
  margin-bottom: 15px;
}

.legal-content ul,
.legal-content ol {
  padding-left: 20px;
  margin-bottom: 20px;
}

.legal-content ul {
  list-style-type: disc;
}

.legal-content ol {
  list-style-type: decimal;
}

.legal-content li {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--black);
  margin-bottom: 10px;
}

.legal-content a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px dashed var(--primary);
}

.legal-content a:hover {
  color: var(--secondary);
  border-bottom-style: solid;
}

.legal-content address {
  font-style: normal;
  background-color: var(--light-gray);
  padding: 20px;
  margin-top: 20px;
  border-left: 3px solid var(--secondary);
}

.last-updated {
  font-size: 0.9rem;
  color: var(--mid-gray);
  margin-bottom: 30px;
  text-align: left;
}
