/* MAEFP institutional content pages ("Sobre o MAEFP" and similar).
   Scoped to .entry-content so it only affects the page body, not theme chrome. */

.entry-content { font-family: 'Source Sans Pro', Arial, sans-serif; color: #333; line-height: 1.7; }

.entry-content h2 {
	font-size: 24px;
	font-weight: 700;
	color: #14532d;
	margin: 44px 0 18px;
	padding-bottom: 10px;
	border-bottom: 3px solid #f6b800;
	display: inline-block;
}
.entry-content > h2:first-child,
.entry-content .maefp-page-intro + .maefp-page-toc + h2 { margin-top: 0; }

.entry-content h3 {
	font-size: 17px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 26px 0 10px;
	padding-left: 14px;
	border-left: 4px solid #1a7a45;
}

/* Lead paragraph */
.entry-content .maefp-page-intro p {
	font-size: 18px;
	line-height: 1.75;
	color: #262626;
	padding: 20px 24px;
	background: #f7f9f7;
	border-left: 4px solid #1a7a45;
	margin: 0 0 28px;
}

/* Quick nav */
.entry-content .maefp-page-toc {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 32px;
	padding: 0;
}
.entry-content .maefp-page-toc a {
	background: #fff;
	border: 1px solid #d8d8d8;
	color: #14532d;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	padding: 8px 18px;
	border-radius: 20px;
	transition: all .15s ease;
}
.entry-content .maefp-page-toc a:hover {
	background: #1a7a45;
	border-color: #1a7a45;
	color: #fff;
}

/* Missão / Visão cards */
.entry-content .maefp-mv-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
	margin-bottom: 12px;
}
.entry-content .maefp-mv-card {
	background: #fff;
	border: 1px solid #e6e6e6;
	border-top: 4px solid #1a7a45;
	padding: 26px 24px;
	box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.entry-content .maefp-mv-card h2 {
	margin-top: 0;
	font-size: 19px;
	border-bottom: none;
	padding-bottom: 0;
}
.entry-content .maefp-mv-card p { margin: 0; color: #444; }

/* Valores as chips */
.entry-content .maefp-values-list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 12px;
	padding: 0;
}
.entry-content .maefp-values-list li {
	background: #14532d;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .3px;
	text-transform: uppercase;
	padding: 9px 18px;
	border-radius: 4px;
}

/* Atribuições / Competências lists */
.entry-content ul.maefp-check-list {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
}
.entry-content ul.maefp-check-list li {
	position: relative;
	padding: 8px 0 8px 30px;
	border-bottom: 1px solid #eee;
	color: #333;
}
.entry-content ul.maefp-check-list li:last-child { border-bottom: 0; }
.entry-content ul.maefp-check-list li:before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 8px;
	color: #1a7a45;
	font-weight: 700;
}

/* Bottom call-to-action buttons */
.entry-content .maefp-page-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 40px;
	padding-top: 30px;
	border-top: 1px solid #e6e6e6;
}
.entry-content .maefp-page-cta a {
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	padding: 14px 24px;
	transition: all .15s ease;
}
.entry-content .maefp-btn-outline {
	border: 2px solid #1a7a45;
	color: #14532d;
	background: #fff;
}
.entry-content .maefp-btn-outline:hover { background: #f0f7f2; }
.entry-content .maefp-btn-solid {
	background: #1a7a45;
	color: #fff;
}
.entry-content .maefp-btn-solid:hover { background: #145c34; }

@media (max-width: 700px) {
	.entry-content .maefp-mv-grid { grid-template-columns: 1fr; }
}

/* Estrutura Orgânica — org chart */
.entry-content .maefp-orgchart { text-align: center; padding: 10px 0 20px; }

.entry-content .oc-top { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.entry-content .oc-minister { display: inline-flex; flex-direction: column; align-items: center; width: 130px; }
.entry-content .oc-minister img {
	width: 110px;
	height: 110px;
	border-radius: 50%;
	object-fit: cover;
	object-position: 50% 15%;
	border: 3px solid #1a7a45;
	margin-bottom: 10px;
}
.entry-content .oc-minister-placeholder {
	width: 110px;
	height: 110px;
	border-radius: 50%;
	border: 3px dashed #bbb;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 40px;
	color: #bbb;
	margin-bottom: 10px;
	background: #fafafa;
}
.entry-content .oc-minister span { font-weight: 700; font-size: 14px; color: #14532d; }
.entry-content .oc-minister-vacant span { color: #888; }

.entry-content .oc-branches {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	position: relative;
	margin-top: 40px;
}
.entry-content .oc-branches:before {
	content: "";
	position: absolute;
	top: -40px;
	left: 50%;
	width: 2px;
	height: 40px;
	background: #c7d9cd;
	transform: translateX(-50%);
}
.entry-content .oc-branches:after {
	content: "";
	position: absolute;
	top: -1px;
	left: 16.66%;
	right: 16.66%;
	height: 2px;
	background: #c7d9cd;
}

.entry-content .oc-branch { position: relative; padding-top: 24px; }
.entry-content .oc-branch:before {
	content: "";
	position: absolute;
	top: -1px;
	left: 50%;
	width: 2px;
	height: 24px;
	background: #c7d9cd;
	transform: translateX(-50%);
}

.entry-content .oc-branch-label {
	display: inline-block;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .3px;
	padding: 8px 18px;
	border-radius: 20px;
	margin-bottom: 16px;
}
.entry-content .oc-branch.oc-green .oc-branch-label { background: #1a7a45; }
.entry-content .oc-branch.oc-blue .oc-branch-label { background: #2563a8; }
.entry-content .oc-branch.oc-gold .oc-branch-label { background: #b8860b; }

.entry-content .oc-branch-grid { display: flex; flex-direction: column; gap: 10px; }
.entry-content .oc-unit {
	background: #fff;
	border: 1px solid #e2e2e2;
	border-left: 4px solid #ccc;
	padding: 10px 14px;
	font-size: 13px;
	text-align: left;
	color: #333;
	box-shadow: 0 1px 4px rgba(0,0,0,.03);
}
.entry-content .oc-branch.oc-green .oc-unit { border-left-color: #1a7a45; }
.entry-content .oc-branch.oc-blue .oc-unit { border-left-color: #2563a8; }
.entry-content .oc-branch.oc-gold .oc-unit { border-left-color: #b8860b; }

@media (max-width: 800px) {
	.entry-content .oc-branches { grid-template-columns: 1fr; gap: 36px; }
	.entry-content .oc-branches:before,
	.entry-content .oc-branches:after,
	.entry-content .oc-branch:before { display: none; }
}
