/* Notícias: só o que o Divi não resolve nativamente. Layout no Theme Builder. */

/* Botões de compartilhar ([fjls_compartilhar]) */
.fjls-share { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.fjls-share__label { font-family: 'Museo Sans Rounded Bold', sans-serif; font-size: .9375rem; color: #001d51; }
.fjls-share ul { display: flex; gap: .5rem; margin: 0; padding: 0 !important; list-style: none; }
.fjls-share li { margin: 0; padding: 0; list-style: none; }
.fjls-share__btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid rgba(0, 46, 128, .2);
	background: #fff; color: #002e80; cursor: pointer; padding: 0;
	transition: background-color .2s, color .2s, border-color .2s;
}
.fjls-share__btn svg { width: 1.125rem; height: 1.125rem; fill: currentColor; }
.fjls-share__btn:hover, .fjls-share__btn:focus-visible { background: #002e80; border-color: #002e80; color: #fff; }
.fjls-share__ok {
	position: absolute; bottom: calc(100% + .5rem); left: 50%; transform: translateX(-50%);
	white-space: nowrap; font-size: .75rem; background: #001d51; color: #fff;
	padding: .25rem .5rem; border-radius: .375rem; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.fjls-share__btn.is-ok .fjls-share__ok { opacity: 1; }

/* Texto da notícia: elementos do editor que o módulo não estiliza */
.fjls-noticia-texto img { border-radius: 1.25rem; height: auto; }
.fjls-noticia-texto figure { margin: 2rem 0; }
.fjls-noticia-texto figcaption, .fjls-noticia-texto .wp-caption-text {
	font-size: .875rem; color: #5b6475; margin-top: .5rem; text-align: center;
}
.fjls-noticia-texto blockquote {
	margin: 2rem 0; padding: .25rem 0 .25rem 1.5rem; border-left: 4px solid #002e80;
	font-family: 'Museo Sans Rounded Bold', sans-serif; font-size: 1.25rem; line-height: 1.5; color: #001d51;
}
.fjls-noticia-texto ul, .fjls-noticia-texto ol { padding-left: 1.25rem; margin-bottom: 1.5rem; }
.fjls-noticia-texto li { margin-bottom: .5rem; }
.fjls-noticia-texto iframe { max-width: 100%; border-radius: 1.25rem; }
.fjls-noticia-texto p:last-child { padding-bottom: 0; }

/* Categorias e tags em formato de etiqueta */
.fjls-noticia-chips .et_pb_text_inner > *, .fjls-noticia-chips .et_pb_text_inner { display: flex; flex-wrap: wrap; gap: .5rem; }
.fjls-noticia-chips a {
	display: inline-block; padding: .375rem .875rem; border-radius: 999px;
	font-size: .8125rem; line-height: 1.2; text-decoration: none; transition: background-color .2s, color .2s;
}
.fjls-noticia-chips--capa a { background: rgba(255, 255, 255, .14); color: #fff; }
.fjls-noticia-chips--capa a:hover { background: #fff; color: #001d51; }
.fjls-noticia-chips--tags a { background: #eef3fb; color: #002e80; }
.fjls-noticia-chips--tags a:hover { background: #002e80; color: #fff; }




/* Campos dinâmicos vazios (ex.: notícia sem resumo) não deixam espaço sobrando */
.et-l--body .et_pb_text:empty { display: none; }

/* Barra de filtros da lista ([fjls_noticias_filtros]) */
.fjls-filtros { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.fjls-filtros__busca { position: relative; flex: 1 1 18rem; max-width: 26rem; margin: 0; }
.fjls-filtros__busca input[type=search] {
	width: 100%; height: 3rem; padding: 0 3.25rem 0 1.25rem; border: 1px solid rgba(0, 46, 128, .2); border-radius: 999px;
	background: #fff; color: #001d51; font-family: 'Museo Sans Rounded Regular', sans-serif; font-size: 1rem;
}
.fjls-filtros__busca input[type=search]:focus { outline: 2px solid #002e80; outline-offset: 1px; }
.fjls-filtros__busca button {
	position: absolute; top: .3125rem; right: .3125rem; width: 2.375rem; height: 2.375rem; border: 0; border-radius: 50%;
	background: #002e80; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.fjls-filtros__busca button svg { width: 1.125rem; height: 1.125rem; fill: currentColor; }
.fjls-filtros__cats { flex: 0 1 auto; }
.fjls-filtros__cats ul { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0 !important; list-style: none; }
.fjls-filtros__cats li { margin: 0; padding: 0; list-style: none; }
.fjls-filtros__cats a {
	display: inline-block; padding: .625rem 1.125rem; border-radius: 999px; background: #eef3fb; color: #002e80;
	font-family: 'Museo Sans Rounded Bold', sans-serif; font-size: .875rem; line-height: 1.2; transition: background-color .2s, color .2s;
}
.fjls-filtros__cats a:hover, .fjls-filtros__cats a[aria-current] { background: #002e80; color: #fff; }
.fjls-filtros__mes select {
	height: 3rem; padding: 0 2.5rem 0 1.25rem; border: 1px solid rgba(0, 46, 128, .2); border-radius: 999px; background-color: #fff;
	color: #001d51; font-family: 'Museo Sans Rounded Bold', sans-serif; font-size: .875rem; cursor: pointer;
}
@media (max-width: 767px) {
	.fjls-filtros__busca { max-width: none; }
	.fjls-filtros__cats { flex: 1 1 100%; min-width: 0; max-width: 100%; }
	.fjls-filtros__cats ul { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .25rem !important; scrollbar-width: none; }
	.fjls-filtros__cats a { white-space: nowrap; }
	.fjls-filtros__mes, .fjls-filtros__mes select { width: 100%; }
}

/* Paginação numerada ([fjls_noticias_paginacao]) */
.fjls-paginacao ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 0; padding: 0 !important; list-style: none; }
.fjls-paginacao li { margin: 0; padding: 0; list-style: none; }
.fjls-paginacao .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; height: 2.75rem; padding: 0 1rem;
	border-radius: 999px; background: #eef3fb; color: #002e80; font-family: 'Museo Sans Rounded Bold', sans-serif; font-size: .9375rem;
}
.fjls-paginacao a.page-numbers:hover, .fjls-paginacao .page-numbers.current { background: #002e80; color: #fff; }
.fjls-paginacao .page-numbers.dots { background: none; }

/* Lista vazia ([fjls_noticias_vazio]) */
.fjls-vazio { padding: 3rem 1.5rem; text-align: center; border-radius: 1.5rem; background: #eef3fb; color: #001d51; }
.fjls-vazio a { color: #002e80; text-decoration: underline; }

/* Sem resultados: o aviso do Divi dentro do loop dá lugar ao [fjls_noticias_vazio] */
.fjls-noticia-card:has(.not-found-title) { display: none; }
