/**
 * Froala content – Bootstrap default typography (scoped)
 *
 * Use this file to style Froala/WYSIWYG output when the page also uses Tailwind.
 * Tailwind preflight resets lists, headings, etc.; this restores Bootstrap-like
 * content styling only inside elements with class .froala-content.
 *
 * Usage: wrap Froala HTML in <div class="froala-content">...</div>
 * and load this CSS after Tailwind (e.g. in Brisbane layout).
 *
 * Based on Bootstrap 4 typography / Reboot defaults.
 */

.froala-content {
  font-size: 1rem;
  line-height: 1.5;
  color: #212529;
}

.froala-content h1,
.froala-content h2,
.froala-content h3,
.froala-content h4,
.froala-content h5,
.froala-content h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}

.froala-content h1 { font-size: 2.5rem; }
.froala-content h2 { font-size: 2rem; }
.froala-content h3 { font-size: 1.75rem; }
.froala-content h4 { font-size: 1.5rem; }
.froala-content h5 { font-size: 1.25rem; }
.froala-content h6 { font-size: 1rem; }

.froala-content p {
  margin-top: 0;
  margin-bottom: 1rem;
}

.froala-content strong,
.froala-content b {
  font-weight: 700;
}

.froala-content ul,
.froala-content ol {
  margin-top: 0;
  margin-bottom: 1rem;
  padding-left: 2rem;
}

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

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

.froala-content li {
  display: list-item;
  margin-bottom: 0.25rem;
}

.froala-content li p {
  margin-bottom: 0.25rem;
}

.froala-content hr {
  display: block;
  margin: 1rem 0;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  height: 0;
  overflow: visible;
}

.froala-content a {
  color: #007bff;
  text-decoration: none;
  background-color: transparent;
}

.froala-content a:hover {
  color: #0056b3;
  text-decoration: underline;
}

.froala-content blockquote {
  margin: 0 0 1rem;
  padding: 0.5rem 1rem;
  border-left: 4px solid #dee2e6;
  color: #6c757d;
}

.froala-content img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.froala-content table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1rem;
}

.froala-content th,
.froala-content td {
  padding: 0.75rem;
  border: 1px solid #dee2e6;
}

.froala-content th {
  font-weight: 600;
  text-align: left;
}
