/* ===== Legal Pages ===== */

.document-page {
  max-width: 900px;
  margin: 4rem auto;
  padding: 1rem 1.5rem;
  line-height: 1.7;
  color: #212529;
  font-size: 1rem;
  text-align: justify;
}

/* Main title */
.document-page h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

/* Last updated text */
.document-page .text-muted {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* Section titles */
.document-page h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #e0e0e0;
}

/* Paragraphs */
.document-page p {
  margin-bottom: 1rem;
}

/* Lists */
.document-page ul {
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}

.document-page ul li {
  margin-bottom: 0.4rem;
}

/* Company / contact block */
.document-page p strong {
  font-weight: 600;
}

/* Email links */
.document-page a {
  color: #0d6efd;
  text-decoration: none;
}

.document-page a:hover {
  text-decoration: underline;
}

.document-page a.centered-image-link {
  display: flex;
  justify-content: center;
}

.document-page a.centered-image-link img {
  max-width: 100%;
  height: auto;
}

.logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.logo-row img {
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .document-page {
    font-size: 0.95rem;
  }

  .document-page h1 {
    font-size: 1.8rem;
  }

  .document-page h2 {
    font-size: 1.25rem;
  }
}

.pdf-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid #0d6efd;
  color: #0d6efd;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.pdf-badge:hover {
  background: #0d6efd;
  color: #fff;
}

.pdf-badge .badge {
  background: #dc3545;
  color: #fff;
  font-size: 0.7rem;
  padding: 0.25rem 0.45rem;
  border-radius: 4px;
  font-weight: 700;
}
