/* Conteúdo escrito no backoffice (HTML sem classes): mesmo aspeto que fs-6 / mb-1 / list-group do tema */

.conteudo p,
.conteudo li {
	font-size: 1rem;
	font-weight: 400;
}

.conteudo p {
	margin-bottom: .25rem;
}

.conteudo h2,
.conteudo h3,
.conteudo h4 {
	margin: 1.5rem 0 .75rem;
	color: #000;
	-webkit-column-break-after: avoid;
	break-after: avoid;
}

.conteudo h3 {
	font-weight: 700;
}

.conteudo > :first-child {
	margin-top: 0;
}

.conteudo ul {
	list-style: none;
	padding-left: 0;
	margin-bottom: 1rem;
}

.conteudo ul li {
	padding: .5rem 0;
	border-bottom: 1px solid rgba(0, 0, 0, .125);
}

.conteudo ul li:last-child {
	border-bottom: 0;
}

.conteudo ol {
	margin-bottom: 1rem;
}

.conteudo img {
	max-width: 100%;
	height: auto;
}

.conteudo p:has(> img:only-child),
.conteudo p:has(> a:only-child > img:only-child) {
	text-align: center;
	margin: 1.5rem 0;
}

.conteudo p:has(> a:only-child > img:only-child) img {
	max-height: 300px;
}

.conteudo blockquote {
	font-size: 1.25rem;
	font-style: italic;
	border-left: 5px solid #EEE;
	padding: .5rem 1.5rem;
	margin: 1.5rem 0;
}

.conteudo blockquote p:last-child:not(:first-child) {
	font-size: .875rem;
	font-style: normal;
	color: #6c757d;
	margin-top: .5rem;
}

.conteudo blockquote p:last-child:not(:first-child)::before {
	content: "— ";
}

.conteudo video {
	display: block;
	width: 100%;
	max-width: 700px;
	margin: 1.5rem auto;
}

.conteudo iframe {
	display: block;
	width: 100%;
	max-width: 100%;
	border: 0;
	border-radius: 12px;
	margin: 1rem 0;
}

.conteudo iframe[src*="youtube.com"] {
	aspect-ratio: 16 / 9;
	height: auto;
}

.conteudo a {
	text-decoration: underline;
}

/* Documentos com imagem e vídeos/podcasts por link (pagina.php) */
.capa-documento {
	max-height: 300px;
	border: 2px var(--bs-border-style) var(--bs-border-color) !important;
}

.video-embed iframe {
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
}

.video-embed-audio iframe {
	aspect-ratio: auto;
	height: 352px;
	border-radius: 12px;
}

.galeria .portfolio-image {
	border-radius: 6px;
	overflow: hidden;
}

/* Ícones redondos (condições e subsídios) */
.icone-circulo {
	height: 70px;
	border: 2px solid #244d8a;
	border-radius: 50%;
}

.texto-apoio p {
	color: #6c757d;
	margin-bottom: .5rem;
}

.texto-apoio p:last-child {
	margin-bottom: 0;
}

/* Listas do curso (list-group) */
.lista-curso ul {
	list-style: none;
	padding: 0;
	margin-bottom: 1rem;
}

.lista-curso li {
	padding: .5rem 1rem;
	border-bottom: 1px solid rgba(0, 0, 0, .125);
}

.lista-curso li:last-child {
	border-bottom: 0;
}

/* Curso */
.curso-intro p {
	font-size: 1.1rem;
	color: #6c757d;
	margin-bottom: 1rem;
}

.perfil-curso h3 {
	font-size: calc(1.375rem + 1.5vw);
	font-weight: 700;
	margin: 1.5rem 0;
}

@media (min-width: 1200px) {
	.perfil-curso h3 {
		font-size: 2.5rem;
	}
}

.perfil-curso p strong {
	font-weight: 700;
}
