/**
 * Taxonomy categoria_curso – estilos da página de arquivo da categoria de curso.
 * Hero e blocos de texto (repeater ACF).
 */

.taxonomy-categoria_curso .bcn-taxonomy-hero-title {
  color: var(--bcn-heading, #101828);
}

.taxonomy-categoria_curso .bcn-taxonomy-hero-wysiwyg p {
  margin-bottom: 0;
}

.taxonomy-categoria_curso .bcn-taxonomy-hero-wysiwyg p + p {
  margin-top: 1rem;
}

.taxonomy-categoria_curso .bcn-taxonomy-blocos-card {
  background-color: #fff;
}

.taxonomy-categoria_curso .bcn-taxonomy-blocos-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--bcn-gray-text, #747474);
}

.taxonomy-categoria_curso .bcn-taxonomy-blocos-text > * + * {
  margin-top: 0.75rem;
}

.taxonomy-categoria_curso .bcn-taxonomy-blocos-text > *:first-child {
  margin-top: 0;
}

.taxonomy-categoria_curso .bcn-taxonomy-blocos-text p {
  margin-bottom: 0;
}

.taxonomy-categoria_curso .bcn-taxonomy-blocos-text p + p {
  margin-top: 1rem;
}

.taxonomy-categoria_curso .bcn-taxonomy-blocos-text h1,
.taxonomy-categoria_curso .bcn-taxonomy-blocos-text h2,
.taxonomy-categoria_curso .bcn-taxonomy-blocos-text h3,
.taxonomy-categoria_curso .bcn-taxonomy-blocos-text h4,
.taxonomy-categoria_curso .bcn-taxonomy-blocos-text h5,
.taxonomy-categoria_curso .bcn-taxonomy-blocos-text h6 {
  color: var(--bcn-heading, #0C1F59);
  font-weight: 600;
  line-height: 1.3;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.taxonomy-categoria_curso .bcn-taxonomy-blocos-text h1:first-child,
.taxonomy-categoria_curso .bcn-taxonomy-blocos-text h2:first-child,
.taxonomy-categoria_curso .bcn-taxonomy-blocos-text h3:first-child,
.taxonomy-categoria_curso .bcn-taxonomy-blocos-text h4:first-child,
.taxonomy-categoria_curso .bcn-taxonomy-blocos-text h5:first-child,
.taxonomy-categoria_curso .bcn-taxonomy-blocos-text h6:first-child {
  margin-top: 0;
}

.taxonomy-categoria_curso .bcn-taxonomy-blocos-text h1 { font-size: 1.5rem; }
.taxonomy-categoria_curso .bcn-taxonomy-blocos-text h2 { font-size: 32px; }
.taxonomy-categoria_curso .bcn-taxonomy-blocos-text h3 { font-size: 28px; }
.taxonomy-categoria_curso .bcn-taxonomy-blocos-text h4,
.taxonomy-categoria_curso .bcn-taxonomy-blocos-text h5,
.taxonomy-categoria_curso .bcn-taxonomy-blocos-text h6 { font-size: 1.125rem; }

.taxonomy-categoria_curso .bcn-taxonomy-blocos-text a {
  color: var(--bcn-secondary, #3F70C3);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.taxonomy-categoria_curso .bcn-taxonomy-blocos-text a:hover {
  color: var(--bcn-gold, #F6AB00);
}

.taxonomy-categoria_curso .bcn-taxonomy-blocos-text strong {
  font-weight: 700;
  color: var(--bcn-heading, #101828);
}

.taxonomy-categoria_curso .bcn-taxonomy-blocos-text ul,
.taxonomy-categoria_curso .bcn-taxonomy-blocos-text ol {
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.taxonomy-categoria_curso .bcn-taxonomy-blocos-text li + li {
  margin-top: 0.375rem;
}

.taxonomy-categoria_curso .bcn-taxonomy-blocos-text ul {
  list-style-type: disc;
}

.taxonomy-categoria_curso .bcn-taxonomy-blocos-text ul li::marker {
  color: var(--bcn-secondary, #3F70C3);
}

.taxonomy-categoria_curso .bcn-taxonomy-blocos-text ol {
  list-style-type: decimal;
}

.taxonomy-categoria_curso .bcn-taxonomy-blocos-text blockquote {
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: 4px solid var(--bcn-secondary, #3F70C3);
  color: var(--bcn-gray-text, #747474);
  font-style: italic;
}

.taxonomy-categoria_curso .bcn-taxonomy-blocos-text img {
  max-width: 100%;
  height: auto;
  margin-block: 1rem;
}
