/* Conteúdo gerado pelo RichEditor do Filament no site público. */
.rich-content {
  color: #555;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  width: 100%;
}

.rich-content > :first-child { margin-top: 0; }
.rich-content > :last-child { margin-bottom: 0; }

.rich-content p {
  display: block;
  margin: 0 0 1rem;
}

.rich-content p:empty { min-height: 1em; }

.rich-content h1,
.rich-content h2,
.rich-content h3,
.rich-content h4,
.rich-content h5,
.rich-content h6 {
  color: #444;
  display: block;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  line-height: 1.25;
  margin: 1.5rem 0 0.75rem;
}

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

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

.rich-content em,
.rich-content i:not(.fa):not(.fas):not(.far):not(.fab) { font-style: italic; }

.rich-content u { text-decoration: underline; }
.rich-content s,
.rich-content strike,
.rich-content del { text-decoration: line-through; }

.rich-content sub {
  font-size: 0.75em;
  vertical-align: sub;
}

.rich-content sup {
  font-size: 0.75em;
  vertical-align: super;
}

.rich-content ul,
.rich-content ol {
  display: block;
  margin: 0 0 1rem 1.5rem;
  padding-left: 1.25rem;
}

.rich-content ul { list-style: disc outside; }
.rich-content ol { list-style: decimal outside; }
.rich-content ul ul { list-style-type: circle; }
.rich-content ul ul ul { list-style-type: square; }

.rich-content li {
  display: list-item;
  margin-bottom: 0.35rem;
}

.rich-content li > ul,
.rich-content li > ol {
  margin-bottom: 0;
  margin-top: 0.35rem;
}

.rich-content blockquote {
  border-left: 4px solid #e3722e;
  color: #666;
  font-style: italic;
  margin: 1.25rem 0;
  padding: 0.5rem 1rem;
}

.rich-content a {
  color: #c95618;
  text-decoration: underline;
}

.rich-content a:hover,
.rich-content a:focus {
  color: #8f3d13;
  text-decoration: underline;
}

.rich-content hr {
  border: 0;
  border-top: 1px solid #ddd;
  margin: 1.5rem 0;
  opacity: 1;
}

.rich-content img,
.rich-content video,
.rich-content iframe {
  height: auto;
  max-width: 100%;
}

.rich-content figure {
  margin: 1.5rem 0;
  max-width: 100%;
}

.rich-content figcaption {
  color: #777;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  text-align: center;
}

.rich-content table {
  border-collapse: collapse;
  display: block;
  margin: 1.25rem 0;
  max-width: 100%;
  overflow-x: auto;
  width: 100%;
}

.rich-content th,
.rich-content td {
  border: 1px solid #d7d7d7;
  padding: 0.65rem;
  vertical-align: top;
}

.rich-content th {
  background: #f5f5f5;
  font-weight: 700;
}

.rich-content pre {
  background: #f5f5f5;
  border-radius: 4px;
  margin: 1rem 0;
  overflow-x: auto;
  padding: 1rem;
  white-space: pre-wrap;
}

.rich-content code { font-family: monospace; }
.rich-content .lead { font-size: 1.2rem; }
.rich-content small { font-size: 0.875em; }

/* Classes e atributos produzidos pelo editor Filament/Tiptap. */
.rich-content [style*="text-align: start"] { text-align: left !important; }
.rich-content [style*="text-align: end"] { text-align: right !important; }
.rich-content [style*="text-align: center"] { text-align: center !important; }
.rich-content [style*="text-align: justify"] { text-align: justify !important; }
.rich-content .color { color: var(--color); }

.rich-content .grid-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr));
}

.rich-content .grid-layout-col { min-width: 0; }

@media (max-width: 767.98px) {
  .rich-content { font-size: 15px; }
  .rich-content h1 { font-size: 1.65rem; }
  .rich-content h2 { font-size: 1.45rem; }
  .rich-content h3 { font-size: 1.3rem; }
  .rich-content .grid-layout { grid-template-columns: 1fr; }
}
