.petp-faixa {
	display: flex;
	width: 100%;
	max-width: 100%;
	height: 8px;
	margin: 0 0 0.75rem;
	padding: 0;
	overflow: hidden;
	pointer-events: none;
}

.petp-faixa > span {
	flex: 1 1 0;
	height: 8px;
	min-width: 0;
}

.petp-faixa > span:nth-child(1) { background: #008acb; }
.petp-faixa > span:nth-child(2) { background: #7bb52c; }
.petp-faixa > span:nth-child(3) { background: #ffb400; }

.petp-faixa-curta {
	width: 100px;
	max-width: 100px;
	border-radius: 999px;
}

body.petp-indice-pagina .petp-miolo {
	box-sizing: border-box;
	width: min(100% - 1.5rem, 1140px);
	max-width: none;
	margin: 0 auto 2rem;
	padding: 0;
}

@media (min-width: 1400px) {
	body.petp-indice-pagina .petp-miolo { width: min(100% - 1.5rem, 1320px); }
}

.petp-titulo,
body.petp-transparencia .petp-miolo h1 {
	margin: 0 0 0.75rem;
	color: #1d2430;
	font-size: 1.75rem !important;
	font-weight: 500;
	line-height: 1.25;
}

.petp-indice {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 350px), 1fr));
	gap: 1.25rem;
	align-items: start;
}

.petp-grupo { margin: 0; min-width: 0; }

.petp-grupo h2 {
	margin: 0 0 0.75rem;
	color: #1d2430;
	font-size: 1.25rem !important;
	font-weight: 600;
	line-height: 1.3;
}

.petp-cards {
	list-style: none;
	margin: 0;
	padding: 0;
	background: #fff;
	border: 1px solid #e6e6e6;
	border-radius: 8px;
	overflow: hidden;
}

.petp-cards li + li { border-top: 1px solid #eee; }

.petp-cards a {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-height: 48px;
	padding: 0.7rem 0.9rem;
	color: #24282d;
	font-weight: 400;
	text-decoration: none;
	line-height: 1.35;
}

.petp-cards a::before {
	content: "";
	width: 8px;
	height: 8px;
	flex: 0 0 auto;
	border-radius: 50%;
	background: #7bb52c;
}

.petp-cards a::after {
	content: "";
	width: 0.45rem;
	height: 0.45rem;
	margin-left: auto;
	flex: 0 0 auto;
	border-top: 2px solid #9aa3ab;
	border-right: 2px solid #9aa3ab;
	transform: rotate(45deg);
}

.petp-cards a:hover,
.petp-cards a:focus,
.petp-cards a:visited {
	background: #f7f8f9;
	color: #24282d;
	text-decoration: none;
}

body.petp-indice-pagina #primary {
	display: block;
	min-height: 0;
}

body.petp-indice-pagina article > .petp-faixa:first-child,
body.petp-indice-pagina .entry-title,
body.petp-indice-pagina .elementor-heading-title {
	display: none !important;
}

#breadcrumbs.petp-migalha,
.page-template-transparencia #breadcrumbs.petp-migalha {
	--ponta: 14px;
	--vao: 5px;
	position: static;
	left: auto;
	transform: none;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
	margin: 0.75rem 0 1rem;
}

#breadcrumbs.petp-migalha > div,
.page-template-transparencia #breadcrumbs.petp-migalha > div {
	position: static;
	display: flex;
	align-items: center;
	min-height: 34px;
	margin: 0 0 0 calc(var(--vao) - var(--ponta));
	padding: 0.35rem calc(var(--ponta) + 0.75rem) 0.35rem calc(var(--ponta) + 0.7rem);
	background: #008acb;
	color: #fff;
	font-weight: 700;
	line-height: 1.2;
	border-radius: 0;
	clip-path: polygon(0 0, calc(100% - var(--ponta)) 0, 100% 50%, calc(100% - var(--ponta)) 100%, 0 100%, var(--ponta) 50%);
}

#breadcrumbs.petp-migalha > div::before,
#breadcrumbs.petp-migalha > div::after,
.page-template-transparencia #breadcrumbs.petp-migalha > div::before,
.page-template-transparencia #breadcrumbs.petp-migalha > div::after {
	content: none;
	display: none;
	border: 0;
}

#breadcrumbs.petp-migalha > div:first-child,
.page-template-transparencia #breadcrumbs.petp-migalha > div:first-child {
	margin-left: 0;
	padding-left: 1rem;
	border-radius: 999px 0 0 999px;
	clip-path: polygon(0 0, calc(100% - var(--ponta)) 0, 100% 50%, calc(100% - var(--ponta)) 100%, 0 100%);
}

#breadcrumbs.petp-migalha > div:nth-child(3n+1) { background: #008acb; }
#breadcrumbs.petp-migalha > div:nth-child(3n+2) { background: #7bb52c; }
#breadcrumbs.petp-migalha > div:nth-child(3n+3) { background: #ffb400; color: #1d2430; }

#breadcrumbs.petp-migalha a,
#breadcrumbs.petp-migalha span,
.page-template-transparencia #breadcrumbs.petp-migalha a,
.page-template-transparencia #breadcrumbs.petp-migalha span {
	position: static;
	left: auto;
	color: inherit;
	text-decoration: none;
}

#breadcrumbs.petp-migalha a:hover,
#breadcrumbs.petp-migalha a:focus {
	text-decoration: underline;
	color: inherit;
}

.petp-layout {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 1.5rem 2rem;
	box-sizing: border-box;
	width: min(100% - 1.5rem, 1140px);
	max-width: none;
	margin: 0 auto 2rem;
	padding: 0;
}

@media (min-width: 1400px) {
	.petp-layout { width: min(100% - 1.5rem, 1320px); }
}

.petp-secao {
	flex: 0 0 260px;
	width: 260px;
	max-width: 100%;
	box-sizing: border-box;
	padding: 1rem 1rem 0.85rem;
	background: #fff;
	border: 1px solid #e6e6e6;
	border-radius: 8px;
}

.petp-conteudo,
.petp-layout > :not(.petp-secao) {
	flex: 1 1 0;
	min-width: 0;
	max-width: 100%;
}

.petp-layout > main,
.petp-layout > #primary,
.petp-layout > .container,
.petp-layout > section,
.petp-conteudo > main,
.petp-conteudo > .container {
	display: block;
	width: auto !important;
	max-width: none !important;
	min-width: 0;
	flex: 1 1 auto;
	margin-left: 0;
	margin-right: 0;
}

.petp-conteudo > main.container,
.petp-conteudo > .container,
.petp-layout > main.container,
.petp-layout > .container {
	padding-left: 0;
	padding-right: 0;
}

.petp-conteudo > main {
	padding-top: 0;
}

.petp-secao-rotulo {
	margin: 0 0 0.35rem;
	color: #008acb;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-transform: uppercase;
}

.petp-secao h2 {
	margin: 0 0 0.65rem;
	color: #1d2430;
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.3;
}

.petp-secao-grupo { border-top: 1px solid #f0f0f0; background: transparent; }

.petp-secao-grupo summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.7rem 0.15rem;
	color: #1d2430;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
	list-style: none;
	background: transparent;
}

.petp-secao-grupo summary::-webkit-details-marker { display: none; }

.petp-secao-grupo summary::after {
	content: "";
	width: 0;
	height: 0;
	flex: 0 0 auto;
	margin-right: 0.2rem;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid #9aa3ab;
	transform: none;
}

.petp-secao-grupo[open] summary::after { transform: rotate(180deg); }

.petp-secao-aqui { background: transparent; }

.petp-secao-aqui summary {
	margin: 0.15rem 0;
	padding-left: 0.45rem;
	padding-right: 0.45rem;
	border-radius: 6px;
	background: #e8f5fb;
	color: #008acb;
}

.petp-secao-aqui summary::after { border-top-color: #008acb; }

.petp-secao-grupo ul { margin: 0 0 0.35rem; }
.petp-secao .petp-faixa { margin-bottom: 0.75rem; }
.petp-secao ul { list-style: none; margin: 0; padding: 0; }
.petp-secao li + li { border-top: 1px solid #f0f0f0; }

.petp-secao nav a {
	display: block;
	padding: 0.55rem 0.35rem;
	border-radius: 6px;
	color: #24282d;
	text-decoration: none;
	line-height: 1.35;
}

.petp-secao nav a:hover,
.petp-secao nav a:focus,
.petp-secao nav a:visited {
	background: #f7f8f9;
	color: #24282d;
	text-decoration: none;
}

.petp-secao nav a[aria-current="page"] {
	background: #e8f5fb;
	color: #008acb;
	font-weight: 600;
}

.petp-secao-mapa {
	display: inline-block;
	margin-top: 0.85rem;
	padding-top: 0.75rem;
	border-top: 1px solid #eee;
	color: #008acb;
	font-size: 0.9rem;
	line-height: 1.35;
	text-decoration: none;
}

.petp-secao-mapa:hover,
.petp-secao-mapa:focus {
	color: #008acb;
	text-decoration: underline;
}

@media (min-width: 768px) {
	.petp-secao {
		position: sticky;
		top: 1rem;
		max-height: calc(100vh - 2rem);
		overflow: auto;
	}
}

@media (max-width: 767px) {
	.petp-layout { flex-direction: column; flex-wrap: wrap; }
	.petp-secao { flex-basis: auto; width: 100%; max-height: 50vh; overflow: auto; }
	.petp-indice { grid-template-columns: 1fr; }
}

html.seagri-alto-contraste .petp-faixa {
	background: #000 !important;
	border: 1px solid #ddd;
}

html.seagri-alto-contraste .petp-faixa > span { background: #000 !important; }

html.seagri-alto-contraste .petp-titulo,
html.seagri-alto-contraste .petp-miolo h1,
html.seagri-alto-contraste .petp-grupo h2,
html.seagri-alto-contraste .petp-cards,
html.seagri-alto-contraste .petp-cards a,
html.seagri-alto-contraste #breadcrumbs.petp-migalha > div,
html.seagri-alto-contraste #breadcrumbs.petp-migalha a {
	background: #000 !important;
	color: #fff !important;
	border-color: #ddd !important;
}

html.seagri-alto-contraste .petp-cards a::before { background: #fff !important; }
html.seagri-alto-contraste .petp-cards a::after { border-color: #fff !important; }

html.seagri-alto-contraste .petp-secao,
html.seagri-alto-contraste .petp-secao h2,
html.seagri-alto-contraste .petp-secao summary,
html.seagri-alto-contraste .petp-secao nav a,
html.seagri-alto-contraste .petp-secao-mapa,
html.seagri-alto-contraste .petp-secao-rotulo {
	background: #000 !important;
	color: #fff !important;
	border-color: #ddd !important;
}

html.seagri-alto-contraste .petp-secao nav a[aria-current="page"],
html.seagri-alto-contraste .petp-secao-aqui summary {
	border-color: #fff !important;
	outline: 1px solid #fff;
}

.petp-arquivos {
	display: block;
	margin: 0 0 1rem;
	padding-left: 1.25rem;
	list-style: disc;
}

.petp-arquivos li {
	margin: 0.35rem 0;
}

.petp-acesso-portal {
	display: block;
	margin: 1rem 0;
}

.petp-acesso-portal a {
	font-weight: 600;
}
