
/* Page hero themes */
.maac-page-hero {
	position: relative;
	overflow: hidden;
	color: #fff;
	padding: 0;
	background: linear-gradient(135deg, var(--maac-storm) 0%, var(--maac-sea) 100%);
}

.maac-page-hero__pattern {
	position: absolute;
	inset: 0;
	opacity: 0.14;
	background-image:
		radial-gradient(circle at 20% 20%, rgb(255 255 255 / 0.35) 0, transparent 42%),
		radial-gradient(circle at 80% 0%, rgb(255 255 255 / 0.2) 0, transparent 35%),
		linear-gradient(135deg, transparent 0%, rgb(0 0 0 / 0.08) 100%);
	pointer-events: none;
}

.maac-page-hero__inner {
	position: relative;
	z-index: 1;
	padding-block: clamp(2.25rem, 4.5vw, 2.75rem) clamp(2rem, 4vw, 2.5rem);
}

.maac-page-hero h1 {
	margin: 0;
	font-size: clamp(1.85rem, 4vw, 2.65rem);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.025em;
	overflow-wrap: anywhere;
}

.maac-page-hero__eyebrow {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.88;
}

.maac-page-hero__lead {
	margin: 0.85rem 0 0;
	max-width: 44rem;
	font-size: 1.05rem;
	opacity: 0.94;
	line-height: 1.65;
}

.maac-page-breadcrumbs {
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--maac-borda, #d5e8e4);
	background: var(--maac-porcelain, #fcfff7);
	font-size: 0.8125rem;
	line-height: 1.5;
	color: var(--maac-texto-suave, #4a6361);
}

.maac-page-breadcrumbs a {
	color: var(--maac-storm, #046865);
	text-decoration: none;
}

.maac-page-breadcrumbs a:hover {
	color: var(--maac-sea, #21a0a0);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.maac-page-breadcrumbs [aria-current="page"] {
	color: var(--maac-texto, #1a2e2d);
	font-weight: 600;
}

.maac-page-breadcrumbs__sep {
	color: rgb(var(--maac-storm-rgb) / 0.45);
}

.maac-page-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.25rem;
}

.maac-page-hero .maac-btn--primary,
.maac-page-hero a.maac-btn--primary {
	color: var(--maac-btn-on-fill, #fff);
}

.maac-btn--on-dark {
	border-color: rgb(255 255 255 / 0.55);
	background: rgb(255 255 255 / 0.1);
	color: #fff;
}

.maac-btn--on-dark:hover,
.maac-btn--on-dark:focus-visible {
	background: rgb(255 255 255 / 0.18);
	border-color: #fff;
	color: #fff;
}

/* Pagina generica */
.maac-page-content {
	max-width: 48rem;
}

.maac-page-content__figure {
	margin: 0 0 2rem;
}

.maac-page-content__image {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: 1rem;
	overflow: hidden;
	background: transparent;
	cursor: pointer;
	box-shadow: 0 8px 24px rgb(0 0 0 / 0.1);
}

.maac-page-content__image img {
	display: block;
	width: 100%;
	max-height: 28rem;
	object-fit: cover;
}

.maac-page-content__body {
	margin-top: 0;
}

/* Heroes: mesma família visual (storm → sea) para consistência */
.maac-page-hero--page,
.maac-page-hero--ministerio,
.maac-page-hero--contactos,
.maac-page-hero--projetos,
.maac-page-hero--noticias,
.maac-page-hero--legislacao,
.maac-page-hero--multimedia,
.maac-page-hero--indicadores,
.maac-page-hero--eventos,
.maac-page-hero--casos,
.maac-page-hero--historias,
.maac-page-hero--licenciamento,
.maac-page-hero--mapa {
	background: linear-gradient(135deg, #034e4b 0%, var(--maac-storm, #046865) 42%, var(--maac-sea, #21a0a0) 100%);
}

/* Pesquisa */
.maac-search-page__form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-bottom: 2rem;
}

.maac-search-page__input {
	flex: 1 1 16rem;
	min-width: 0;
	padding: 0.8rem 1rem;
	border: 1px solid rgb(var(--maac-storm-rgb, 4 104 101) / 0.18);
	border-radius: 3px;
	background: #fff;
	color: var(--maac-texto, #1a2e2d);
	font: inherit;
}

.maac-search-page__input:focus {
	outline: 2px solid rgb(var(--maac-sea-rgb, 33 160 160) / 0.45);
	outline-offset: 1px;
	border-color: var(--maac-sea, #21a0a0);
}

.maac-search-page__results {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid rgb(var(--maac-storm-rgb, 4 104 101) / 0.1);
}

.maac-search-page__item {
	padding: 1.15rem 0;
	border-bottom: 1px solid rgb(var(--maac-storm-rgb, 4 104 101) / 0.1);
}

.maac-search-page__type {
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--maac-sea, #21a0a0);
}

.maac-search-page__title {
	margin: 0.35rem 0 0;
	font-family: var(--maac-font-heading, "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif);
	font-size: 1.2rem;
	font-weight: 600;
	line-height: 1.3;
}

.maac-search-page__title a {
	color: var(--maac-storm, #046865);
	text-decoration: none;
}

.maac-search-page__title a:hover {
	color: var(--maac-sea, #21a0a0);
}

.maac-search-page__excerpt {
	margin: 0.45rem 0 0;
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--maac-texto-suave, #4a6361);
}

/* Conteúdo Gutenberg criado no admin — alinhado aos padrões do site */
.prose-maac,
.prose-maac-article {
	font-size: 1.05rem;
	line-height: 1.7;
	color: var(--maac-texto, #1a2e2d);
}

.prose-maac > *:first-child,
.prose-maac-article > *:first-child {
	margin-top: 0;
}

.prose-maac h2,
.prose-maac-article h2,
.prose-maac .wp-block-heading h2,
.prose-maac-article .wp-block-heading {
	margin-top: 2rem;
	margin-bottom: 0.75rem;
	color: var(--maac-storm, #046865);
	font-size: clamp(1.25rem, 2vw, 1.5rem);
	font-weight: 700;
	line-height: 1.25;
}

.prose-maac h3,
.prose-maac-article h3 {
	margin-top: 1.5rem;
	margin-bottom: 0.55rem;
	color: var(--maac-storm, #046865);
	font-size: 1.15rem;
	font-weight: 700;
}

.prose-maac p,
.prose-maac-article p {
	margin: 0 0 1rem;
}

.prose-maac a,
.prose-maac-article a {
	color: var(--maac-azul, #046865);
}

.prose-maac ul,
.prose-maac ol,
.prose-maac-article ul,
.prose-maac-article ol {
	margin: 0 0 1.15rem;
	padding-left: 1.25rem;
}

.prose-maac li + li,
.prose-maac-article li + li {
	margin-top: 0.35rem;
}

.prose-maac figure,
.prose-maac-article figure,
.prose-maac .wp-block-image,
.prose-maac-article .wp-block-image {
	margin: 1.5rem 0;
}

.prose-maac img,
.prose-maac-article img {
	max-width: 100%;
	height: auto;
	border-radius: 3px;
}

.prose-maac table,
.prose-maac-article table,
.prose-maac .wp-block-table table,
.prose-maac-article .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.25rem 0;
}

.prose-maac th,
.prose-maac td,
.prose-maac-article th,
.prose-maac-article td {
	border: 1px solid rgb(var(--maac-storm-rgb, 4 104 101) / 0.14);
	padding: 0.7rem 0.85rem;
	text-align: left;
	vertical-align: top;
}

.prose-maac th,
.prose-maac-article th {
	background: rgb(var(--maac-storm-rgb, 4 104 101) / 0.06);
	color: var(--maac-storm, #046865);
	font-weight: 700;
}

.prose-maac .wp-block-quote,
.prose-maac-article .wp-block-quote,
.prose-maac blockquote,
.prose-maac-article blockquote {
	margin: 1.5rem 0;
	padding: 0.25rem 0 0.25rem 1.15rem;
	border-left: 3px solid var(--maac-sea, #21a0a0);
	color: var(--maac-texto-suave, #4a6361);
}

.prose-maac .wp-block-button__link,
.prose-maac-article .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1.35rem;
	border-radius: 3px;
	background: var(--maac-sea, #21a0a0);
	border: 1px solid var(--maac-sea, #21a0a0);
	color: #fff !important;
	font-weight: 700;
	text-decoration: none;
}

.prose-maac .wp-block-button__link:hover,
.prose-maac-article .wp-block-button__link:hover {
	background: var(--maac-storm, #046865);
	border-color: var(--maac-storm, #046865);
}

.prose-maac .wp-block-columns,
.prose-maac-article .wp-block-columns {
	gap: 1.5rem;
	margin: 1.5rem 0;
}

.prose-maac .wp-block-separator,
.prose-maac-article .wp-block-separator {
	border: 0;
	border-top: 1px solid rgb(var(--maac-storm-rgb, 4 104 101) / 0.14);
	margin: 2rem 0;
}

.maac-empty-state {
	padding: 2rem 1.25rem;
	border: 1px dashed rgb(var(--maac-storm-rgb, 4 104 101) / 0.2);
	border-radius: 3px;
	background: #fff;
	text-align: center;
}

.maac-empty-state p {
	margin: 0;
	color: var(--maac-storm, #046865);
	font-weight: 600;
}

.maac-empty-state__sub {
	margin-top: 0.5rem !important;
	font-weight: 400 !important;
	color: var(--maac-texto-suave, #4a6361) !important;
}

/* Cards grid */
.maac-card-grid {
	display: grid;
	gap: 1.25rem;
}

.maac-card-grid--projects {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 1.5rem;
}

.maac-card-grid--projects > .maac-card-projeto {
	flex: 1 1 100%;
	width: 100%;
	max-width: 100%;
}

@media (min-width: 768px) {
	.maac-card-grid--projects {
		gap: clamp(1.75rem, 3.5vw, 2.75rem) 5%;
	}

	.maac-card-grid--projects > .maac-card-projeto {
		flex: 0 1 40%;
		width: 40%;
		max-width: 40%;
	}
}

.maac-card-grid--news {
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* Arquivo de notícias — secções */
.maac-noticias-archive__filters {
	padding-block: clamp(1.25rem, 3vw, 1.75rem) 0;
}

.maac-noticias-section {
	padding-block: clamp(2rem, 5vw, 3rem);
}

.maac-noticias-section--highlight {
	background: transparent;
}

.maac-noticias-section--grid {
	border-top: 1px solid rgb(var(--maac-storm-rgb, 4 104 101) / 0.08);
	background: transparent;
}

.maac-noticias-section--empty {
	background: var(--maac-main-bg, #e8f3f1);
}

.maac-noticias-section__header {
	margin: 0 0 1.75rem;
}

.maac-noticias-section__title {
	margin: 0;
	font-size: clamp(1.25rem, 2.5vw, 1.5rem);
	font-weight: 700;
	line-height: 1.25;
	color: var(--maac-storm, #046865);
}

.maac-noticias-section__lead {
	margin: 0.45rem 0 0;
	max-width: 42rem;
	font-size: 0.9375rem;
	line-height: 1.5;
	color: #5c6b73;
}

.maac-noticias-section--highlight .maac-card-noticia--featured {
	margin-bottom: 1.5rem;
}

.maac-noticias-section--highlight .maac-card-noticia--featured,
.maac-noticias-section--highlight .maac-card-noticia--list {
	transition:
		transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
		box-shadow 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.maac-noticias-section--highlight .maac-card-noticia--featured:hover,
.maac-noticias-section--highlight .maac-card-noticia--list:hover {
	border-color: transparent;
	box-shadow: 0 10px 28px rgb(var(--maac-storm-rgb, 4 104 101) / 0.1);
	transform: translateY(-4px);
}

.maac-noticias-section--highlight .maac-card-noticia--list .maac-card-noticia__media,
.maac-noticias-section--highlight .maac-card-noticia--featured .maac-card-noticia__media {
	border-radius: 0.5rem;
}

.maac-noticias-section--highlight .maac-card-noticia--list .maac-card-noticia__media img,
.maac-noticias-section--highlight .maac-card-noticia--list .maac-card-noticia__media .maac-card-noticia__placeholder,
.maac-noticias-section--highlight .maac-card-noticia--list .maac-card-noticia__media .maac-card-media__image,
.maac-noticias-section--highlight .maac-card-noticia--featured .maac-card-noticia__media img,
.maac-noticias-section--highlight .maac-card-noticia--featured .maac-card-noticia__media .maac-card-noticia__placeholder,
.maac-noticias-section--highlight .maac-card-noticia--featured .maac-card-noticia__media .maac-card-media__image {
	transform: scale(1);
	transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.maac-noticias-section--highlight .maac-card-noticia--list:hover .maac-card-noticia__media img,
.maac-noticias-section--highlight .maac-card-noticia--list:hover .maac-card-noticia__media .maac-card-noticia__placeholder,
.maac-noticias-section--highlight .maac-card-noticia--list:hover .maac-card-noticia__media .maac-card-media__image,
.maac-noticias-section--highlight .maac-card-noticia--featured:hover .maac-card-noticia__media img,
.maac-noticias-section--highlight .maac-card-noticia--featured:hover .maac-card-noticia__media .maac-card-noticia__placeholder,
.maac-noticias-section--highlight .maac-card-noticia--featured:hover .maac-card-noticia__media .maac-card-media__image {
	transform: scale(1.06);
}

.maac-noticias-grid {
	gap: 1.5rem;
}

.maac-noticias-section--grid .maac-card-noticia--grid {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: none;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	transition:
		transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
		box-shadow 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.maac-noticias-section--grid .maac-card-noticia--grid:hover {
	box-shadow: 0 10px 28px rgb(var(--maac-storm-rgb, 4 104 101) / 0.1);
	transform: translateY(-4px);
}

.maac-noticias-section--grid .maac-card-noticia--grid .maac-card-noticia__media {
	aspect-ratio: 16 / 9;
	border-radius: 0.5rem;
	overflow: hidden;
}

.maac-noticias-section--grid .maac-card-noticia--grid .maac-card-noticia__media img,
.maac-noticias-section--grid .maac-card-noticia--grid .maac-card-noticia__media .maac-card-noticia__placeholder,
.maac-noticias-section--grid .maac-card-noticia--grid .maac-card-noticia__media .maac-card-media__image {
	transform: scale(1);
	transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.maac-noticias-section--grid .maac-card-noticia--grid:hover .maac-card-noticia__media img,
.maac-noticias-section--grid .maac-card-noticia--grid:hover .maac-card-noticia__media .maac-card-noticia__placeholder,
.maac-noticias-section--grid .maac-card-noticia--grid:hover .maac-card-noticia__media .maac-card-media__image {
	transform: scale(1.06);
}

.maac-noticias-section--grid .maac-card-noticia--grid .maac-card-noticia__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.2rem 1.35rem 1.35rem;
}

.maac-noticias-section--grid .maac-card-noticia--grid .maac-card-noticia__label {
	display: block;
	margin: 0;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--maac-sea, #21a0a0);
}

.maac-noticias-section--grid .maac-card-noticia--grid .maac-card-noticia__title {
	margin: 0.5rem 0 0;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.35;
}

.maac-noticias-section--grid .maac-card-noticia--grid .maac-card-noticia__title a {
	color: #111827;
	text-decoration: none;
}

.maac-noticias-section--grid .maac-card-noticia--grid:hover .maac-card-noticia__title a {
	color: var(--maac-storm, #046865);
}

.maac-noticias-section--grid .maac-card-noticia--grid .maac-card-noticia__excerpt {
	margin: 0.65rem 0 0;
	font-size: 0.875rem;
	line-height: 1.55;
	color: #6b7280;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.maac-noticias-section--grid .maac-card-noticia--grid .maac-card-noticia__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-top: auto;
	padding-top: 1rem;
	border-top: none;
	font-size: 0.75rem;
}

.maac-noticias-section--grid .maac-card-noticia--grid .maac-card-noticia__footer time {
	color: #6b7280;
	white-space: nowrap;
}

.maac-noticias-section--grid .maac-card-noticia--grid .maac-card-noticia__read {
	margin-top: 0;
	font-size: 0.875rem;
	font-weight: 700;
	color: #111827;
	text-decoration: none;
}

.maac-noticias-section--grid .maac-card-noticia--grid .maac-card-noticia__read:hover {
	color: var(--maac-sea, #21a0a0);
	text-decoration: underline;
}

.maac-news-list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.maac-news-featured-wrap {
	margin-bottom: 0;
}

.maac-news-featured-label {
	display: none;
}

.maac-news-grid-head {
	margin: 0 0 1.25rem;
}

.maac-news-grid-head h2 {
	margin: 0;
	font-size: 1.25rem;
	color: #111827;
}

/* Project card — clássico editorial */
.maac-card-projeto {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid rgb(var(--maac-storm-rgb, 4 104 101) / 0.14);
	border-radius: 3px;
	background:
		linear-gradient(180deg, #fff 0%, var(--maac-porcelain, #fcfff7) 100%);
	box-shadow:
		0 1px 0 rgb(255 255 255 / 0.8) inset,
		0 10px 28px rgb(15 23 42 / 0.05);
	transition:
		border-color 0.35s ease,
		box-shadow 0.35s ease,
		transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.maac-card-projeto:hover {
	border-color: rgb(var(--maac-sea-rgb, 33 160 160) / 0.35);
	box-shadow:
		0 1px 0 rgb(255 255 255 / 0.9) inset,
		0 16px 36px rgb(4 104 101 / 0.1);
	transform: translateY(-3px);
}

.maac-card-projeto__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: rgb(var(--maac-storm-rgb, 4 104 101) / 0.08);
}

.maac-card-projeto__media::after {
	content: '';
	position: absolute;
	inset: auto 0 0;
	height: 42%;
	background: linear-gradient(180deg, transparent 0%, rgb(4 20 18 / 0.28) 100%);
	pointer-events: none;
}

.maac-card-projeto__media img,
.maac-card-projeto__placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.maac-card-projeto:hover .maac-card-projeto__media img {
	transform: scale(1.03);
}

.maac-card-projeto__placeholder {
	display: block;
	background:
		linear-gradient(145deg, rgb(var(--maac-sea-rgb, 33 160 160) / 0.28), rgb(var(--maac-storm-rgb, 4 104 101) / 0.22));
}

.maac-card-projeto__media .maac-badge {
	position: absolute;
	top: 0.85rem;
	left: 0.85rem;
	z-index: 1;
	max-width: calc(100% - 1.7rem);
	padding: 0.4rem 0.7rem;
	border: 1px solid rgb(255 255 255 / 0.28);
	border-radius: 0.4rem;
	background: rgb(15 23 42 / 0.82);
	box-shadow: 0 4px 14px rgb(0 0 0 / 0.22);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0.02em;
	text-transform: none;
	backdrop-filter: blur(6px);
}

.maac-card-projeto__media .maac-badge--planeado {
	background: rgb(4 104 101 / 0.94);
	color: #fff;
}

.maac-card-projeto__media .maac-badge--em-curso {
	background: rgb(3 78 75 / 0.96);
	color: #fff;
}

.maac-card-projeto__media .maac-badge--concluido {
	background: rgb(106 27 154 / 0.94);
	color: #fff;
}

.maac-card-projeto__media .maac-badge--suspenso {
	background: rgb(198 40 40 / 0.94);
	color: #fff;
}

.maac-card-projeto__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 1.35rem 1.45rem 0.85rem;
}

.maac-card-projeto__area {
	margin: 0 0 0.55rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--maac-sea, #21a0a0);
}

.maac-card-projeto__code {
	display: inline-block;
	margin-bottom: 0.35rem;
	font-family: ui-monospace, "Cascadia Code", monospace;
	font-size: 0.6875rem;
	letter-spacing: 0.04em;
	color: rgb(var(--maac-storm-rgb, 4 104 101) / 0.55);
}

.maac-card-projeto__title {
	margin: 0;
	font-family: var(--maac-font-heading, "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif);
	font-size: clamp(1.2rem, 1.8vw, 1.45rem);
	font-weight: 600;
	line-height: 1.28;
	letter-spacing: -0.01em;
}

.maac-card-projeto__title a {
	color: var(--maac-storm, #046865);
	text-decoration: none;
}

.maac-card-projeto:hover .maac-card-projeto__title a {
	color: var(--maac-verde-escuro, #0d5c46);
}

.maac-card-projeto__summary {
	margin: 0.75rem 0 0;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--maac-texto-suave, #4a6361);
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.maac-card-projeto__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0;
	margin: 1rem 0 0;
	padding: 0.85rem 0 0;
	border-top: 1px solid rgb(var(--maac-storm-rgb, 4 104 101) / 0.1);
	list-style: none;
	font-size: 0.78rem;
	letter-spacing: 0.02em;
	color: rgb(var(--maac-storm-rgb, 4 104 101) / 0.7);
}

.maac-card-projeto__meta li + li::before {
	content: '·';
	margin: 0 0.65rem;
	color: rgb(var(--maac-storm-rgb, 4 104 101) / 0.35);
}

.maac-card-projeto__footer {
	margin-top: auto;
	padding: 0 1.45rem 1.35rem;
}

.maac-card-projeto__footer a {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--maac-storm, #046865);
	text-decoration: none;
	border-bottom: 1px solid rgb(var(--maac-storm-rgb, 4 104 101) / 0.28);
	padding-bottom: 0.15rem;
	transition: color 0.25s ease, border-color 0.25s ease;
}

.maac-card-projeto__footer a::after {
	content: '→';
	font-size: 1em;
	line-height: 1;
	transition: transform 0.25s ease;
}

.maac-card-projeto__footer a:hover {
	color: var(--maac-sea, #21a0a0);
	border-color: var(--maac-sea, #21a0a0);
}

.maac-card-projeto__footer a:hover::after {
	transform: translateX(3px);
}

/* Project card — variante institucional (referencia Banco Mundial) */
.maac-card-projeto--institutional {
	overflow: visible;
	border: none;
	border-radius: 8px;
	background: #fff;
	box-shadow:
		0 1px 2px rgb(15 23 42 / 0.04),
		0 6px 20px rgb(15 23 42 / 0.06);
	transition:
		box-shadow 0.3s ease,
		transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.maac-card-projeto--institutional:hover {
	border-color: transparent;
	box-shadow:
		0 2px 4px rgb(15 23 42 / 0.05),
		0 12px 28px rgb(4 104 101 / 0.1);
	transform: translateY(-2px);
}

.maac-card-projeto__institutional-link {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
	padding: clamp(1.1rem, 2.5vw, 1.35rem);
	color: inherit;
	text-decoration: none;
}

@media (min-width: 640px) {
	.maac-card-projeto__institutional-link {
		grid-template-columns: minmax(0, 1.45fr) minmax(11rem, 1fr);
		gap: 1rem 1.5rem;
		align-items: stretch;
	}
}

.maac-card-projeto__institutional-main {
	min-width: 0;
}

.maac-card-projeto__eyebrow {
	margin: 0 0 0.5rem;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #6b7280;
}

.maac-card-projeto--institutional .maac-card-projeto__title {
	margin: 0 0 0.65rem;
	font-size: clamp(1.05rem, 1.6vw, 1.2rem);
	line-height: 1.35;
	font-weight: 700;
	color: #111827;
	transition: color 0.2s ease;
}

.maac-card-projeto--institutional:hover .maac-card-projeto__title {
	color: var(--maac-storm, #046865);
}

.maac-card-projeto--institutional .maac-card-projeto__summary {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.55;
	color: #6b7280;
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.maac-card-projeto__institutional-facts {
	display: flex;
	flex-direction: column;
	min-width: 0;
	border-top: 1px solid #e5e7eb;
}

@media (min-width: 640px) {
	.maac-card-projeto__institutional-facts {
		border-top: none;
		justify-content: center;
	}
}

.maac-card-projeto__fact {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.75rem;
	padding: 0.65rem 0;
	border-bottom: 1px solid #e5e7eb;
}

.maac-card-projeto__fact:last-child {
	border-bottom: none;
}

.maac-card-projeto__fact-label {
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #9ca3af;
}

.maac-card-projeto__fact-chip {
	display: inline-flex;
	align-items: center;
	justify-self: end;
	max-width: 100%;
	padding: 0.28rem 0.6rem;
	border: 1px solid #d1d5db;
	border-radius: 3px;
	background: #f9fafb;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.25;
	color: #374151;
	text-align: right;
	white-space: nowrap;
}

@media (max-width: 639px) {
	.maac-card-projeto__fact-chip {
		white-space: normal;
		text-align: right;
	}
}

.maac-projetos-archive__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 1.25rem;
}

.maac-projetos-archive__grid > .maac-card-projeto--institutional {
	flex: 1 1 100%;
	width: 100%;
	max-width: 100%;
}

@media (min-width: 768px) {
	.maac-projetos-archive__grid {
		gap: 1.5rem;
	}

	.maac-projetos-archive__grid > .maac-card-projeto--institutional {
		flex: 0 1 calc(50% - 0.75rem);
		width: calc(50% - 0.75rem);
		max-width: calc(50% - 0.75rem);
	}
}

.maac-area-page__projects-grid > .maac-card-projeto--institutional {
	flex: 1 1 100%;
	width: 100%;
	max-width: 100%;
}

@media (min-width: 768px) {
	.maac-area-page__projects-grid > .maac-card-projeto--institutional {
		flex: 0 1 calc(50% - 0.75rem);
		width: calc(50% - 0.75rem);
		max-width: calc(50% - 0.75rem);
	}
}

/* Home — projetos recentes (carrossel + intro) */
.maac-home-projects__layout {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1.25rem, 3vw, 2rem);
	align-items: center;
}

.maac-home-projects__carousel-col {
	min-width: 0;
}

.maac-home-projects__carousel {
	overflow: hidden;
	padding-block: 0.25rem 0.35rem;
	padding-inline: 2.25rem;
}

.maac-home-projects__carousel .maac-scroll-carousel__nav--prev {
	left: 0.35rem;
}

.maac-home-projects__carousel .maac-scroll-carousel__nav--next {
	right: 0.35rem;
}

.maac-home-projects__carousel .maac-scroll-carousel__track {
	gap: 0;
	padding: 0.35rem 0 0.5rem;
}

.maac-home-projects__carousel .maac-scroll-carousel__slide--project {
	display: flex;
	flex: 0 0 100%;
	flex-basis: 100%;
	width: 100%;
	min-width: 100%;
	max-width: 100%;
	align-items: center;
	justify-content: center;
	align-self: stretch;
	padding-inline: 0.35rem;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.maac-home-projects__carousel .maac-scroll-carousel__slide--project .maac-card-projeto--institutional {
	width: min(96%, 44rem);
	max-width: 100%;
	height: auto;
	margin-inline: auto;
}

.maac-home-projects__carousel .maac-scroll-carousel__slide--project .maac-card-projeto {
	display: flex;
	flex-direction: column;
	width: min(96%, 28rem);
	max-width: 100%;
	height: auto;
	margin-inline: auto;
}

.maac-home-projects__carousel .maac-scroll-carousel__slide--project .maac-card-projeto__media {
	aspect-ratio: 16 / 9;
}

.maac-home-projects__carousel .maac-scroll-carousel__slide--project .maac-card-projeto__body {
	flex: 1;
	padding: 1rem 1.1rem 0.5rem;
}

.maac-home-projects__carousel .maac-scroll-carousel__slide--project .maac-card-projeto__title {
	font-size: clamp(1rem, 1.75vw, 1.125rem);
	line-height: 1.35;
}

.maac-home-projects__carousel .maac-scroll-carousel__slide--project .maac-card-projeto__summary {
	font-size: 0.875rem;
	line-height: 1.5;
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.maac-home-projects__carousel .maac-scroll-carousel__slide--project .maac-card-projeto__footer {
	padding: 0.75rem 1.1rem 1rem;
}

.maac-home-projects__carousel .maac-scroll-carousel__slide--project .maac-card-projeto__footer a {
	font-size: 0.875rem;
}

.maac-home-projects__carousel .maac-scroll-carousel__slide--project .maac-card-projeto__code {
	font-size: 0.6875rem;
}

.maac-home-projects__carousel .maac-scroll-carousel__slide--project .maac-card-projeto__meta {
	font-size: 0.75rem;
}

.maac-home-projects__intro {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0;
	position: relative;
	padding-left: clamp(1.25rem, 2.5vw, 2rem);
}

.maac-home-projects__intro::before {
	content: '';
	position: absolute;
	left: 0;
	top: 8%;
	bottom: 8%;
	width: 1px;
	background: linear-gradient(
		to bottom,
		transparent 0%,
		rgb(var(--maac-storm-rgb, 4 104 101) / 0.14) 18%,
		rgb(var(--maac-sea-rgb, 33 160 160) / 0.18) 50%,
		rgb(var(--maac-storm-rgb, 4 104 101) / 0.14) 82%,
		transparent 100%
	);
}

.maac-home-projects__intro .maac-section-title {
	margin: 0;
}

.maac-home-projects__intro .maac-section-lead {
	margin-top: 0.75rem;
	max-width: none;
}

.maac-home-projects__more {
	margin: 1.5rem 0 0;
}

/* Home — eventos realizados (layout UNDP Publications) */
.maac-home-events-spotlight {
	background:
		radial-gradient(ellipse 100% 70% at 10% 0%, rgb(var(--maac-sea-rgb) / 0.1) 0%, transparent 58%),
		linear-gradient(180deg, #e8f3f1 0%, #eef6f4 48%, var(--maac-porcelain, #fcfff7) 100%);
	padding-block: clamp(2.25rem, 4vw, 3.5rem);
	border-top: 1px solid rgb(var(--maac-storm-rgb) / 0.06);
	border-bottom: 1px solid rgb(var(--maac-storm-rgb) / 0.08);
}

.maac-home-events-spotlight__head {
	margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.maac-home-events-spotlight__heading {
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

.maac-home-events-spotlight__rule {
	display: flex;
	align-items: flex-end;
	gap: 0;
	width: 100%;
	margin-top: 1.25rem;
	min-height: 3px;
}

.maac-home-events-spotlight__rule--single .maac-home-events-spotlight__segment {
	flex: 0 0 22%;
	max-width: 14rem;
}

.maac-home-events-spotlight__segment {
	flex: 1 1 0;
	display: flex;
	align-items: flex-end;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.maac-home-events-spotlight__segment-bar {
	display: block;
	width: 100%;
	height: 1px;
	background: rgb(var(--maac-storm-rgb) / 0.18);
	transition: height 0.25s ease, background-color 0.25s ease;
}

.maac-home-events-spotlight__segment.is-active .maac-home-events-spotlight__segment-bar,
.maac-home-events-spotlight__rule--single .maac-home-events-spotlight__segment-bar {
	height: 3px;
	background: var(--maac-storm, #046865);
}

.maac-home-events-spotlight__segment:hover .maac-home-events-spotlight__segment-bar,
.maac-home-events-spotlight__segment:focus-visible .maac-home-events-spotlight__segment-bar {
	background: rgb(var(--maac-storm-rgb) / 0.42);
}

.maac-home-events-spotlight__segment.is-active:hover .maac-home-events-spotlight__segment-bar,
.maac-home-events-spotlight__segment.is-active:focus-visible .maac-home-events-spotlight__segment-bar {
	background: var(--maac-storm, #046865);
}

.maac-home-events-spotlight__carousel {
	position: relative;
}

.maac-home-events-spotlight__viewport {
	overflow: hidden;
}

.maac-home-events-spotlight__track {
	display: flex;
	width: 100%;
	transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;
}

.maac-home-events-spotlight__slide {
	flex: 0 0 100%;
	width: 100%;
	min-width: 0;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.maac-home-events-spotlight__layout {
	display: grid;
	grid-template-columns: minmax(0, 48%) minmax(0, 1fr);
	gap: clamp(2rem, 4.5vw, 3.75rem);
	align-items: stretch;
}

.maac-home-events-spotlight__media {
	overflow: hidden;
	border-radius: var(--maac-raio, 6px);
	aspect-ratio: 4 / 3;
	min-height: clamp(16rem, 30vw, 26rem);
}

.maac-home-events-spotlight__media img,
.maac-home-events-spotlight__media .maac-card-media__image {
	display: block;
	width: 100%;
	height: 100%;
	min-height: clamp(16rem, 30vw, 26rem);
	object-fit: cover;
	object-position: center;
	box-shadow: none;
}

.maac-home-events-spotlight__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	min-height: clamp(16rem, 30vw, 26rem);
	height: 100%;
	padding-top: 0;
}

.maac-home-events-spotlight__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
}

.maac-home-events-spotlight__label {
	margin: 0 0 0.75rem;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--maac-sea, #21a0a0);
}

.maac-home-events-spotlight__title {
	margin: 0 0 0.85rem;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	line-height: 1.25;
	color: var(--maac-storm, #046865);
}

.maac-home-events-spotlight__meta {
	margin: 0 0 1rem;
	font-size: 0.875rem;
	line-height: 1.5;
	color: rgb(var(--maac-storm-rgb) / 0.72);
}

.maac-home-events-spotlight__desc {
	margin: 0;
	max-width: 38rem;
	font-size: 1rem;
	line-height: 1.65;
	color: var(--maac-texto-suave, #4a6361);
}

.maac-home-events-spotlight__cta {
	margin-top: auto;
	flex-shrink: 0;
}

.maac-home-events-spotlight__more {
	margin: 1.5rem 0 0;
}

@media (max-width: 767px) {
	.maac-home-events-spotlight__layout {
		grid-template-columns: 1fr;
	}

	.maac-home-events-spotlight__content {
		min-height: 0;
		height: auto;
		gap: 1.5rem;
	}

	.maac-home-events-spotlight__cta {
		margin-top: 0;
	}
}

/* Home — agenda de eventos (texto + 2 cards) */
.maac-home-events {
	background: #fff;
	padding-block: clamp(2rem, 3.5vw, 3rem);
}

.maac-home-events__body {
	display: grid;
	grid-template-columns: minmax(240px, 36%) 1fr;
	grid-template-rows: auto minmax(18rem, 1fr);
	gap: clamp(1rem, 2vw, 1.35rem) clamp(1.5rem, 4vw, 3rem);
	align-items: stretch;
	--maac-home-events-gap: 1.25rem;
	--maac-home-events-visible: 2;
}

.maac-home-events__intro-head {
	grid-column: 1;
	grid-row: 1;
	padding-top: 0.35rem;
}

.maac-home-events__intro-head .maac-section-title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.maac-home-events__intro-head .maac-section-lead {
	max-width: 22rem;
	margin: 0;
}

.maac-home-events__intro-panel {
	grid-column: 1;
	grid-row: 2;
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 0;
}

.maac-home-events__month-title {
	margin: 0 0 0.85rem;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--maac-azul, #1565c0);
	flex-shrink: 0;
}

.maac-home-events__month-list {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.65rem;
	min-height: 0;
	margin-bottom: 1rem;
}

.maac-home-events__more {
	margin: 1rem 0 0;
	flex-shrink: 0;
}

.maac-home-events__featured {
	grid-column: 2;
	grid-row: 2;
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 0;
	height: 100%;
}

.maac-home-events__body:not(:has(.maac-home-events__featured)) .maac-home-events__intro-panel {
	grid-row: 2;
}

.maac-home-events__body:not(:has(.maac-home-events__month-list)) .maac-home-events__featured {
	grid-row: 1 / -1;
	align-self: center;
}

.maac-home-events__grid {
	flex: 1;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--maac-home-events-gap);
	align-items: stretch;
	min-height: 0;
	height: 100%;
}

.maac-home-events__grid .maac-evento-card {
	height: 100%;
}

.maac-home-events__grid .maac-evento-card__media {
	aspect-ratio: 4 / 3;
	flex: none;
}

.maac-home-events__carousel {
	position: relative;
	flex: 1;
	min-height: 0;
	height: 100%;
	padding-inline: 2rem;
	overflow: hidden;
}

.maac-home-events__carousel .maac-scroll-carousel__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - var(--maac-home-events-gap)) / var(--maac-home-events-visible));
	align-items: stretch;
	width: 100%;
	height: 100%;
	gap: var(--maac-home-events-gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
}

.maac-home-events__carousel .maac-scroll-carousel__slide--event {
	display: flex;
	flex: none;
	width: auto;
	max-width: none;
	min-width: 0;
	height: 100%;
	scroll-snap-align: start;
}

.maac-home-events__carousel .maac-evento-card {
	width: 100%;
	height: 100%;
}

.maac-home-events__carousel .maac-evento-card__media {
	aspect-ratio: 4 / 3;
	flex: none;
}

.maac-home-events__carousel .maac-scroll-carousel__nav--prev {
	left: 0;
}

.maac-home-events__carousel .maac-scroll-carousel__nav--next {
	right: 0;
}

.maac-home-events__month-list .maac-evento-mini {
	flex: 1;
	min-height: 3.5rem;
}

.maac-evento-mini {
	display: grid;
	grid-template-columns: 4.25rem 1fr;
	gap: 0.75rem;
	align-items: center;
	padding: 0.35rem 0;
	text-decoration: none;
	color: inherit;
	border-radius: 0.5rem;
	transition: background 0.15s ease;
}

.maac-evento-mini:hover {
	background: rgb(4 104 101 / 0.04);
}

.maac-evento-mini__thumb {
	display: block;
	width: 4.25rem;
	height: 4.25rem;
	overflow: hidden;
	border-radius: 0.5rem;
	background: linear-gradient(135deg, #e8f4f3, #d4ece9);
	flex-shrink: 0;
}

.maac-evento-mini__thumb img,
.maac-evento-mini__thumb .maac-card-media__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.maac-evento-mini__body {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

.maac-evento-mini__date {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--maac-azul, #1565c0);
}

.maac-evento-mini__title {
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.35;
	color: #111827;
}

.maac-evento-mini__local {
	font-size: 0.75rem;
	line-height: 1.35;
	color: #6b7280;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Arquivo — seccao do proximo mes (lista largura total) */
.maac-eventos-next-month {
	padding-block: clamp(2rem, 3.5vw, 3rem);
	background: #fff;
	border-block: 1px solid #eef2f1;
}

.maac-eventos-next-month__header {
	margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.maac-eventos-next-month__header .maac-section-title {
	margin-bottom: 0.5rem;
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.maac-eventos-next-month__header .maac-section-lead {
	max-width: 40rem;
	margin-bottom: 0;
}

.maac-evento-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	width: 100%;
}

.maac-evento-list-item {
	display: grid;
	grid-template-columns: minmax(7rem, 9.5rem) 1fr auto;
	gap: clamp(0.85rem, 2vw, 1.25rem);
	align-items: center;
	width: 100%;
	padding: clamp(0.75rem, 1.5vw, 1rem) clamp(0.85rem, 2vw, 1.25rem);
	text-decoration: none;
	color: inherit;
	background: rgb(var(--maac-sea-rgb, 33 160 160) / 0.06);
	border: none;
	border-radius: 0.75rem;
	box-shadow: none;
	transition: background 0.15s ease;
}

.maac-evento-list-item:hover {
	background: rgb(var(--maac-sea-rgb, 33 160 160) / 0.1);
}

.maac-evento-list-item__thumb {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 0.5rem;
	background: linear-gradient(135deg, #e8f4f3, #d4ece9);
}

.maac-evento-list-item__thumb img,
.maac-evento-list-item__thumb .maac-card-media__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.maac-evento-list-item:hover .maac-evento-list-item__thumb img,
.maac-evento-list-item:hover .maac-evento-list-item__thumb .maac-card-media__image {
	transform: scale(1.03);
}

.maac-evento-list-item__body {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	min-width: 0;
}

.maac-evento-list-item__date {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--maac-azul, #1565c0);
}

.maac-evento-list-item__title {
	font-size: clamp(0.9375rem, 1.8vw, 1.125rem);
	font-weight: 700;
	line-height: 1.35;
	color: #111827;
}

.maac-evento-list-item__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1rem;
	font-size: 0.8125rem;
	line-height: 1.4;
	color: #6b7280;
}

.maac-evento-list-item__when,
.maac-evento-list-item__local {
	display: inline-flex;
	align-items: center;
}

.maac-evento-list-item__local {
	font-weight: 600;
	color: #374151;
}

.maac-evento-list-item__action {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background: var(--maac-azul, #1565c0);
	color: #fff;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1;
	transition: background 0.15s ease;
}

.maac-evento-list-item:hover .maac-evento-list-item__action {
	background: var(--maac-verde-escuro, #046865);
}

.maac-evento-filters--archive {
	margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
	margin-bottom: 0;
}

.maac-eventos-archive__main.maac-section-y {
	padding-top: clamp(1.25rem, 2.5vw, 1.75rem);
	padding-bottom: clamp(1.75rem, 3vw, 2.75rem);
}

.maac-eventos-archive__main.maac-section-y:has(+ .maac-eventos-next-month) {
	padding-bottom: clamp(1rem, 2vw, 1.5rem);
}

.maac-home-events__grid .maac-evento-card__body {
	flex-shrink: 0;
}

/* Grelha partilhada — cards de evento (home, arquivo, relacionados) */
.maac-evento-grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: stretch;
}

.maac-eventos-archive .maac-section-y,
.maac-related-eventos .maac-container {
	--maac-evento-card-width: calc(((100% - 38% - clamp(1.5rem, 4vw, 3rem)) - 1.25rem) / 2);
}

.maac-eventos-archive .maac-evento-grid,
.maac-related-eventos .maac-evento-grid {
	grid-template-columns: repeat(auto-fill, minmax(var(--maac-evento-card-width), var(--maac-evento-card-width)));
	justify-content: start;
}

.maac-evento-card__media {
	aspect-ratio: 4 / 3;
}

.maac-evento-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: none;
	border-radius: 0.75rem;
	background: rgb(var(--maac-sea-rgb, 33 160 160) / 0.06);
	box-shadow: none;
	transition: background 0.2s ease;
}

.maac-evento-card:hover {
	background: rgb(var(--maac-sea-rgb, 33 160 160) / 0.1);
}

.maac-evento-card__media-wrap {
	position: relative;
}

.maac-evento-card__media {
	overflow: hidden;
	background: linear-gradient(135deg, #e8f4f3, #d4ece9);
}

.maac-evento-card__media img,
.maac-evento-card__media .maac-card-media__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.maac-evento-card:hover .maac-evento-card__media img,
.maac-evento-card:hover .maac-evento-card__media .maac-card-media__image {
	transform: scale(1.015);
}

.maac-evento-card__date-badge {
	position: absolute;
	bottom: 0.85rem;
	left: 0.85rem;
	z-index: 2;
	padding: 0.45rem 0.75rem;
	border-radius: 0.35rem;
	background: var(--maac-azul, #1565c0);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.2;
	box-shadow: 0 2px 10px rgb(0 0 0 / 0.18);
}

.maac-evento-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.1rem 1.25rem 1.25rem;
}

.maac-evento-card__title {
	margin: 0 0 0.35rem;
	font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
	font-weight: 700;
	line-height: 1.35;
	color: #111827;
}

.maac-evento-card__when {
	margin: 0;
	font-size: 0.8125rem;
	color: #6b7280;
}

.maac-evento-card__divider {
	margin: 0.75rem 0;
	border: none;
	border-top: 1px solid rgb(var(--maac-sea-rgb, 33 160 160) / 0.12);
}

.maac-evento-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: auto;
}

.maac-evento-card__where {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.35;
	color: #374151;
}

.maac-evento-card__action {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background: var(--maac-azul, #1565c0);
	color: #fff;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1;
	transition: background 0.15s ease, transform 0.15s ease;
}

.maac-evento-card:hover .maac-evento-card__action {
	background: var(--maac-verde-escuro, #046865);
}

.maac-evento-card__cover-link {
	position: absolute;
	inset: 0;
	z-index: 3;
	border-radius: inherit;
}

/* News card */
.maac-card-noticia {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid #e5e7eb;
	border-radius: 0.75rem;
	background: #fff;
	box-shadow: 0 1px 3px rgb(0 0 0 / 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.maac-card-noticia:hover {
	border-color: rgb(61 154 110 / 0.35);
	box-shadow: 0 8px 24px rgb(0 0 0 / 0.1);
	transform: translateY(-2px);
}

.maac-card-noticia__media {
	position: relative;
	display: block;
	aspect-ratio: 5 / 4;
	overflow: hidden;
}

.maac-card-noticia--default .maac-card-noticia__media {
	aspect-ratio: 16 / 9;
}

.maac-card-noticia__media img,
.maac-card-noticia__placeholder,
.maac-card-media__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.maac-card-media__image--placeholder {
	object-position: center;
}

.maac-card-noticia__placeholder--0 { background: linear-gradient(135deg, #21a0a0, #046865); }
.maac-card-noticia__placeholder--1 { background: linear-gradient(135deg, #21a0a0, #046865); }
.maac-card-noticia__placeholder--2 { background: linear-gradient(135deg, #047857, #1d4ed8); }
.maac-card-noticia__placeholder--3 { background: linear-gradient(135deg, #046865, #21a0a0); }

.maac-card-noticia__date-badge {
	position: absolute;
	bottom: 0.75rem;
	left: 0.75rem;
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	background: rgb(255 255 255 / 0.95);
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--maac-verde);
}

.maac-card-noticia__body {
	padding: 1rem 1.1rem;
}

.maac-card-noticia__label {
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--maac-azul);
}

.maac-card-noticia__title {
	margin: 0.35rem 0 0;
	font-size: 1rem;
	line-height: 1.35;
}

.maac-card-noticia__title a {
	color: #111827;
	text-decoration: none;
}

.maac-card-noticia__excerpt {
	margin: 0.5rem 0 0;
	font-size: 0.875rem;
	line-height: 1.5;
	color: #4b5563;
}

.maac-card-noticia__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-top: 0.75rem;
	padding-top: 0.75rem;
	border-top: 1px solid #f3f4f6;
	font-size: 0.75rem;
}

.maac-card-noticia__read {
	display: inline-flex;
	margin-top: 0.75rem;
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--maac-azul);
	text-decoration: none;
}

/* Noticias — variante list (arquivo horizontal) */
.maac-card-noticia--list,
.maac-card-noticia--featured {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	min-width: 0;
	overflow: hidden;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	transition: none;
}

.maac-card-noticia--list {
	border: 0;
}

.maac-card-noticia--list:hover {
	border-color: transparent;
	box-shadow: none;
	transform: none;
}

.maac-card-noticia--featured:hover {
	border-color: transparent;
	box-shadow: none;
	transform: none;
}

.maac-card-noticia--featured {
	margin-bottom: 0;
	border: 0;
}

.maac-card-noticia--list .maac-card-noticia__media,
.maac-card-noticia--featured .maac-card-noticia__media {
	position: relative;
	display: block;
	flex: 0 0 40%;
	width: 40%;
	max-width: 24rem;
	min-height: 10rem;
	aspect-ratio: auto;
	overflow: hidden;
}

.maac-card-noticia--featured .maac-card-noticia__media {
	flex-basis: 42%;
	width: 42%;
	min-height: 11.5rem;
}

.maac-card-noticia--list .maac-card-noticia__media img,
.maac-card-noticia--list .maac-card-noticia__media .maac-card-noticia__placeholder,
.maac-card-noticia--list .maac-card-noticia__media .maac-card-media__image,
.maac-card-noticia--featured .maac-card-noticia__media img,
.maac-card-noticia--featured .maac-card-noticia__media .maac-card-noticia__placeholder,
.maac-card-noticia--featured .maac-card-noticia__media .maac-card-media__image {
	width: 100%;
	height: 100%;
	min-height: 9.5rem;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.maac-card-noticia--featured .maac-card-noticia__media img,
.maac-card-noticia--featured .maac-card-noticia__media .maac-card-noticia__placeholder,
.maac-card-noticia--featured .maac-card-noticia__media .maac-card-media__image {
	min-height: 11rem;
}

.maac-card-noticia__date-stack {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 3.5rem;
	padding: 0.55rem 0.7rem;
	background: var(--maac-sea, #21a0a0);
	color: #fff;
	text-align: center;
	line-height: 1.1;
}

.maac-noticias-archive .maac-card-noticia__date-stack {
	background: #c73659;
}

.maac-card-noticia--cat-aviso .maac-card-noticia__date-stack {
	background: #c27803;
}

.maac-card-noticia--cat-comunicado .maac-card-noticia__date-stack,
.maac-card-noticia--cat-comunicado-de-imprensa .maac-card-noticia__date-stack {
	background: #2563a8;
}

.maac-noticias-archive .maac-card-noticia--cat-aviso .maac-card-noticia__date-stack,
.maac-noticias-archive .maac-card-noticia--cat-comunicado .maac-card-noticia__date-stack,
.maac-noticias-archive .maac-card-noticia--cat-comunicado-de-imprensa .maac-card-noticia__date-stack {
	background: #c73659;
}

.maac-card-noticia__date-stack-day {
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1;
}

.maac-card-noticia__date-stack-month {
	margin-top: 0.2rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: none;
}

.maac-card-noticia__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: 1.25rem 1.65rem;
}

.maac-card-noticia--featured .maac-card-noticia__content {
	padding: 1.4rem 1.85rem;
	justify-content: flex-start;
}

.maac-card-noticia--list .maac-card-noticia__content {
	justify-content: flex-start;
}

.maac-card-noticia--list .maac-card-noticia__footer,
.maac-card-noticia--featured .maac-card-noticia__footer {
	display: flex;
	justify-content: flex-end;
	margin-top: auto;
	padding-top: 1rem;
}

.maac-card-noticia--list .maac-card-noticia__read-more,
.maac-card-noticia--featured .maac-card-noticia__read-more {
	margin-top: 0;
}

.maac-card-noticia--list .maac-card-noticia__title,
.maac-card-noticia--featured .maac-card-noticia__title {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.35;
}

.maac-card-noticia--featured .maac-card-noticia__title {
	font-size: 1.25rem;
}

.maac-card-noticia--list .maac-card-noticia__title a,
.maac-card-noticia--featured .maac-card-noticia__title a {
	color: #111827;
	text-decoration: none;
}

.maac-card-noticia--list .maac-card-noticia__title a:hover,
.maac-card-noticia--featured .maac-card-noticia__title a:hover {
	color: var(--maac-sea, #21a0a0);
	text-decoration: underline;
}

.maac-card-noticia__category {
	margin: 0.45rem 0 0;
	font-size: 0.875rem;
	line-height: 1.4;
	color: #6b7280;
}

.maac-card-noticia__category-label {
	font-weight: 600;
	color: #4b5563;
}

.maac-card-noticia--list .maac-card-noticia__excerpt,
.maac-card-noticia--featured .maac-card-noticia__excerpt {
	margin: 0.65rem 0 0;
	font-size: 0.875rem;
	line-height: 1.6;
	color: #6b7280;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.maac-card-noticia--featured .maac-card-noticia__excerpt {
	-webkit-line-clamp: 4;
}

.maac-card-noticia--featured .maac-card-noticia__badge {
	position: absolute;
	top: 0;
	left: 0;
	right: auto;
	z-index: 2;
	display: inline-flex;
	padding: 0.35rem 0.65rem;
	border-radius: 0;
	background: var(--maac-storm, #046865);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
	box-shadow: none;
}

@media (max-width: 767px) {
	.maac-card-noticia--list,
	.maac-card-noticia--featured {
		flex-direction: column;
	}

	.maac-card-noticia--list .maac-card-noticia__media,
	.maac-card-noticia--featured .maac-card-noticia__media {
		flex: none;
		width: 100%;
		max-width: none;
		min-height: 0;
		aspect-ratio: 16 / 9;
	}

	.maac-card-noticia--list .maac-card-noticia__media img,
	.maac-card-noticia--featured .maac-card-noticia__media img {
		min-height: 0;
	}

	.maac-card-noticia__content {
		padding: 1rem 1.1rem 1.15rem;
	}
}

.maac-card-noticia__title--featured {
	font-size: clamp(1.15rem, 2vw, 1.5rem);
	line-height: 1.3;
}

/* Scroll carousel */
.maac-scroll-carousel {
	position: relative;
}

.maac-scroll-carousel__track {
	display: flex;
	gap: 1rem;
	margin: 0;
	padding: 0.25rem 0;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
}

.maac-scroll-carousel__track::-webkit-scrollbar {
	display: none;
}

.maac-scroll-carousel__slide:not(.maac-scroll-carousel__slide--project):not(.maac-scroll-carousel__slide--event) {
	flex: 0 0 calc((100% - 1rem) / 1.15);
	max-width: 18rem;
	scroll-snap-align: start;
}

/* Home eventos — garantir 2 cards visíveis (cascade sobre regras genéricas do carrossel) */
.maac-home-events__carousel .maac-scroll-carousel__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - var(--maac-home-events-gap, 1.25rem)) / var(--maac-home-events-visible, 2));
	width: 100%;
}

.maac-home-events__carousel .maac-scroll-carousel__slide--event {
	flex: none;
	max-width: none;
	width: auto;
}

.maac-scroll-carousel__slide--news {
	display: flex;
	flex: 0 0 min(48%, 22rem);
	max-width: 22rem;
	align-self: stretch;
	scroll-snap-align: start;
}

.maac-band-teal .maac-scroll-carousel {
	margin-top: 1.25rem;
	padding-block: 0.65rem 0.85rem;
	overflow: visible;
}

.maac-band-teal .maac-scroll-carousel__track {
	padding: 1rem 0 1.35rem;
}

/* Noticias — variante home (secção da homepage) */
.maac-card-noticia--home {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: visible;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	transition: transform 0.25s ease;
}

.maac-card-noticia--home:hover {
	transform: translateY(-2px);
	box-shadow: none;
}

.maac-card-noticia--home .maac-card-noticia__media {
	flex-shrink: 0;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 5px;
}

.maac-card-noticia--home .maac-card-noticia__media img,
.maac-card-noticia--home .maac-card-noticia__media .maac-card-noticia__placeholder,
.maac-card-noticia--home .maac-card-noticia__media .maac-card-media__image {
	border-radius: 5px;
	transition: transform 0.35s ease;
}

.maac-card-noticia--home:hover .maac-card-noticia__media img,
.maac-card-noticia--home:hover .maac-card-noticia__media .maac-card-noticia__placeholder,
.maac-card-noticia--home:hover .maac-card-noticia__media .maac-card-media__image {
	transform: scale(1.04);
}

.maac-card-noticia--home .maac-card-noticia__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1rem 1.15rem 1.15rem;
}

.maac-card-noticia--home .maac-card-noticia__title {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
}

.maac-card-noticia--home .maac-card-noticia__title a {
	display: -webkit-box;
	overflow: hidden;
	color: #0f2b4a;
	text-decoration: none;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.maac-card-noticia--home .maac-card-noticia__title a:hover {
	color: var(--maac-sea, #21a0a0);
	text-decoration: underline;
}

.maac-card-noticia--home .maac-card-noticia__excerpt {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.55;
	color: #6b7280;
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.maac-card-noticia--home .maac-card-noticia__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: auto;
	padding-top: 0.75rem;
	border-top: 1px solid #eef2f6;
	font-size: 0.8125rem;
}

.maac-card-noticia--home .maac-card-noticia__footer time {
	color: #9ca3af;
	font-weight: 500;
	white-space: nowrap;
}

.maac-card-noticia--home .maac-card-noticia__read {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--maac-sea, #21a0a0);
	text-decoration: none;
}

.maac-card-noticia--home .maac-card-noticia__read:hover {
	color: var(--maac-storm, #046865);
	text-decoration: underline;
}

.maac-scroll-carousel__slide--news .maac-card-noticia--home {
	height: auto;
	min-height: 100%;
}

.maac-scroll-carousel__slide--news .maac-card-noticia--compact .maac-card-noticia__body,
.maac-scroll-carousel__slide--news .maac-card-noticia--default .maac-card-noticia__body {
	padding: 0.85rem 0.95rem;
}

.maac-scroll-carousel__slide--news .maac-card-noticia--compact .maac-card-noticia__title,
.maac-scroll-carousel__slide--news .maac-card-noticia--default .maac-card-noticia__title {
	font-size: 0.9375rem;
}

.maac-scroll-carousel__slide--news .maac-card-noticia--compact .maac-card-noticia__excerpt,
.maac-scroll-carousel__slide--news .maac-card-noticia--default .maac-card-noticia__excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 0.8125rem;
	line-height: 1.45;
}

.maac-scroll-carousel__slide--news .maac-card-noticia--compact .maac-card-noticia__footer {
	margin-top: 0.5rem;
	padding-top: 0.5rem;
}

@media (min-width: 768px) {
	.maac-scroll-carousel__slide--news {
		flex: 0 0 min(46%, 22rem);
		max-width: 22rem;
	}
}

.maac-scroll-carousel__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	transform: translateY(-50%);
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	background: rgb(255 255 255 / 0.95);
	color: #374151;
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
}

.maac-scroll-carousel__nav--prev { left: -0.25rem; }
.maac-scroll-carousel__nav--next { right: -0.25rem; }

.maac-scroll-carousel__nav:hover {
	border-color: rgb(61 154 110 / 0.4);
	color: var(--maac-verde-escuro);
}

/* Area tabs (homepage projects) */
.maac-area-tabs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.5rem;
	margin-top: 1.5rem;
}

.maac-area-tabs__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	min-height: 2.75rem;
	padding: 0.65rem 0.75rem;
	border: 0;
	border-radius: 0.75rem;
	background: transparent;
	font: inherit;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.25;
	color: #4b5563;
	text-align: center;
	cursor: pointer;
	white-space: normal;
}

.maac-area-tabs__btn.is-active {
	background: #fff;
	color: var(--maac-verde-escuro);
	box-shadow: 0 1px 3px rgb(0 0 0 / 0.08);
}

.maac-area-tabs__count {
	padding: 0.1rem 0.45rem;
	border-radius: 999px;
	background: #e5e7eb;
	font-size: 0.625rem;
}

.maac-area-tabs__btn.is-active .maac-area-tabs__count {
	background: rgb(61 154 110 / 0.12);
	color: var(--maac-verde-escuro);
}

.maac-area-panel {
	display: none;
	margin-top: 1rem;
	padding: 1rem;
	border-radius: 1rem;
	background: rgb(255 255 255 / 0.85);
}

.maac-area-panel.is-active {
	display: block;
}

.maac-area-panel__head h3 {
	margin: 0;
	font-size: 1.05rem;
}

.maac-area-panel__head p {
	margin: 0.35rem 0 0;
	font-size: 0.875rem;
	color: #4b5563;
}

@media (min-width: 768px) {
	.maac-area-tabs {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* Panels / layouts */
.maac-panel {
	padding: 1.5rem;
	border: 1px solid #e5e7eb;
	border-radius: 0.75rem;
	background: #fff;
	box-shadow: 0 1px 3px rgb(0 0 0 / 0.05);
}

.maac-panel--intro {
	border-left: 4px solid var(--maac-verde);
}

.maac-panel--green {
	border-color: rgb(61 154 110 / 0.25);
	background: #ecf7f1;
}

.maac-panel--blue {
	border-color: rgb(13 71 161 / 0.2);
	background: #e9f1fb;
}

.maac-panel h2,
.maac-panel h3 {
	margin: 0 0 0.75rem;
	color: #111827;
}

.maac-ministerio-layout,
.maac-project-layout,
.maac-contact-layout {
	display: grid;
	gap: 2rem;
}

.maac-check-list,
.maac-dept-list,
.maac-contact-list,
.maac-contact-blocks,
.maac-meta-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.maac-check-list li {
	position: relative;
	padding-left: 1.25rem;
	margin-top: 0.5rem;
}

.maac-check-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55rem;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 999px;
	background: var(--maac-verde);
}

.maac-dept-list li {
	padding: 0.65rem 0;
	border-bottom: 1px solid #f3f4f6;
}

.maac-contact-list li,
.maac-contact-blocks li {
	margin-top: 0.75rem;
}

.maac-contact-list strong,
.maac-contact-blocks__label {
	display: block;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #6b7280;
}

.maac-meta-list div {
	padding: 0.5rem 0;
	border-bottom: 1px solid #f3f4f6;
}

.maac-meta-list dt {
	font-size: 0.75rem;
	font-weight: 700;
	color: #6b7280;
}

.maac-meta-list dd {
	margin: 0.15rem 0 0;
}

.maac-contact-form {
	display: grid;
	gap: 1rem;
	margin-top: 1rem;
}

.maac-contact-form label {
	display: grid;
	gap: 0.35rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #374151;
}

.maac-contact-form input,
.maac-contact-form textarea {
	padding: 0.65rem 0.75rem;
	border: 1px solid #d1d5db;
	border-radius: 0.5rem;
	font: inherit;
}

.maac-contact-form-wrap {
	padding-left: 0;
	border-top: 1px solid #e5e7eb;
	padding-top: 2rem;
}

/* Article / project singles */
.maac-article-breadcrumbs {
	padding: 0.85rem 0;
	border-bottom: 1px solid #e5e7eb;
	background: #fff;
	font-size: 0.875rem;
	color: #4b5563;
}

.maac-article-breadcrumbs a {
	color: var(--maac-azul);
	text-decoration: none;
}

.maac-article-breadcrumbs a:hover {
	color: var(--maac-verde-escuro);
	text-decoration: underline;
}

.maac-article-breadcrumbs [aria-current="page"] {
	color: #6b7280;
}

.maac-article-hero {
	position: relative;
	overflow: hidden;
}

.maac-article-hero__image {
	position: relative;
	width: 100%;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	min-height: clamp(360px, 42vh, 540px);
}

.maac-article-hero__image .maac-lightbox-trigger {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	cursor: zoom-in;
}

.maac-article-hero__image .maac-lightbox-trigger img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.maac-article-hero__fallback {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	min-height: clamp(360px, 42vh, 540px);
	background: linear-gradient(135deg, #046865, #21a0a0);
}

.maac-article-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	align-items: flex-end;
	padding-bottom: 1.25rem;
	background: linear-gradient(
		to top,
		rgb(0 0 0 / 0.88) 0%,
		rgb(0 0 0 / 0.72) 26%,
		rgb(0 0 0 / 0.38) 52%,
		rgb(0 0 0 / 0.1) 76%,
		transparent 100%
	);
	color: #fff;
	pointer-events: none;
}

.maac-article-hero__overlay .maac-container {
	pointer-events: auto;
}

.maac-article-hero__badge {
	display: inline-block;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgb(255 255 255 / 0.88);
}

.maac-article-hero h1 {
	margin: 0.4rem 0 0;
	max-width: 48rem;
	font-size: clamp(1.375rem, 2.6vw, 2rem);
	font-weight: 700;
	line-height: 1.2;
}

.maac-article-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	margin: 0.6rem 0 0;
	padding: 0;
}

.maac-article-hero__meta-item {
	display: grid;
	gap: 0.15rem;
	margin: 0;
}

.maac-article-hero__meta-item dt {
	margin: 0;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgb(255 255 255 / 0.72);
}

.maac-article-hero__meta-item dd {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #fff;
}

.maac-article-hero__meta-item a {
	color: inherit;
	text-decoration: none;
}

.maac-article-hero__meta-item a:hover {
	text-decoration: underline;
}

.maac-article-body {
	padding-block: 2.5rem 3rem;
	background: #fff;
}

.maac-article-body__inner {
	max-width: 42rem;
	margin-inline: auto;
}

.maac-article-lead {
	margin: 0 0 1.75rem;
	padding: 1rem 0 1rem 1.25rem;
	border-left: 4px solid var(--maac-verde);
	font-size: 1.125rem;
	line-height: 1.65;
	color: #374151;
}

.maac-single-noticia .maac-article-lead,
.maac-single-noticia .prose-maac-article p,
.maac-single-noticia .prose-maac-article li {
	text-align: justify;
	hyphens: auto;
	text-justify: inter-word;
}

.maac-project-hero {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: stretch;
	min-height: clamp(24rem, 52vh, 38rem);
	padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 4vw, 3.25rem);
	background: linear-gradient(135deg, #034e4b, #21a0a0, #046865);
	color: #fff;
	text-align: left;
}

.maac-project-hero--image {
	min-height: clamp(26rem, 58vh, 42rem);
}

.maac-project-hero__media {
	position: absolute;
	inset: 0;
}

.maac-project-hero__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.maac-project-hero__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(135deg, rgb(3 78 75 / 0.82), rgb(4 104 101 / 0.68) 45%, rgb(33 160 160 / 0.55)),
		linear-gradient(to top, rgb(0 0 0 / 0.65), rgb(0 0 0 / 0.2) 55%, rgb(0 0 0 / 0.35));
}

.maac-project-hero .maac-container {
	position: relative;
	z-index: 1;
	width: 100%;
	text-align: left;
}

.maac-project-hero__breadcrumbs a {
	color: rgb(255 255 255 / 0.9);
}

.maac-project-hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}

.maac-project-hero .maac-badge {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: rgb(255 255 255 / 0.92);
}

.maac-project-hero .maac-badge--planeado,
.maac-project-hero .maac-badge--em-curso,
.maac-project-hero .maac-badge--concluido,
.maac-project-hero .maac-badge--suspenso {
	background: transparent;
	color: rgb(255 255 255 / 0.92);
}

.maac-project-hero__code {
	padding: 0.25rem 0.65rem;
	border-radius: 0.5rem;
	background: rgb(255 255 255 / 0.15);
	font-family: ui-monospace, monospace;
	font-size: 0.8125rem;
}

.maac-project-hero h1 {
	margin: 0.75rem 0 0;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 700;
}

.maac-project-hero__lead {
	margin: 0.75rem 0 0;
	max-width: 48rem;
	opacity: 0.92;
}

.maac-project-cover img {
	width: 100%;
	border-radius: 1rem;
	margin-bottom: 1.5rem;
}

/* Project profile (Next.js layout) */
.maac-project-profile-layout {
	display: grid;
	gap: 2rem;
	align-items: start;
}

.maac-project-sidebar {
	display: none;
}

.maac-project-sidebar__index,
.maac-project-sidebar__facts {
	padding: 0;
}

.maac-project-sidebar__index {
	padding-bottom: 1.25rem;
}

.maac-project-sidebar__facts {
	padding-top: 1.25rem;
	border-top: 1px solid rgb(4 104 101 / 0.12);
}

.maac-project-sidebar__label {
	margin: 0 0 0.75rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--maac-verde);
}

.maac-project-sidebar__facts .maac-project-sidebar__label {
	color: #6b7280;
}

.maac-project-sidebar__index ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.maac-project-sidebar__index a {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 0.75rem;
	border-radius: 0.5rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: #374151;
	text-decoration: none;
	transition: background 0.15s, color 0.15s;
}

.maac-project-sidebar__index a:hover {
	background: var(--maac-cinza-bg);
	color: var(--maac-verde);
}

.maac-project-sidebar__index a.is-active {
	background: var(--maac-verde);
	color: #fff;
	box-shadow: 0 1px 3px rgb(0 0 0 / 0.12);
}

.maac-project-sidebar__index a.is-muted {
	color: #9ca3af;
}

.maac-project-sidebar__icon {
	display: flex;
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
}

.maac-project-sidebar__icon svg {
	width: 100%;
	height: 100%;
}

.maac-project-sidebar__index a.is-active .maac-project-sidebar__icon {
	color: var(--maac-amarelo);
}

.maac-project-sidebar__dot {
	width: 0.375rem;
	height: 0.375rem;
	margin-left: auto;
	border-radius: 999px;
	background: #d1d5db;
}

.maac-project-sidebar__facts ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.maac-project-sidebar__facts li + li {
	margin-top: 0.75rem;
}

.maac-project-sidebar__facts span {
	display: block;
	font-size: 0.8125rem;
	color: #6b7280;
}

.maac-project-sidebar__facts strong {
	display: block;
	margin-top: 0.15rem;
	font-size: 0.875rem;
	color: #111827;
}

.maac-project-sidebar__map {
	width: 100%;
	margin-top: 1.25rem;
	justify-content: center;
}

.maac-project-sidebar__back {
	display: inline-flex;
	margin-top: 1rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--maac-azul);
	text-decoration: none;
}

.maac-project-sidebar__back:hover {
	text-decoration: underline;
}

.maac-project-profile-main {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	min-width: 0;
}

.maac-project-section__card {
	overflow: visible;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.maac-project-profile-main .maac-section-empty,
.maac-project-profile-main .maac-funding-box,
.maac-project-profile-main .maac-location-box {
	border: 0;
	border-radius: 0;
	background: transparent;
	padding-inline: 0;
}

.maac-project-profile-main .maac-section-empty {
	padding-block: 1.5rem 0;
	text-align: left;
}

/* Project profile — cards mais compactos */
.maac-project-profile-main .maac-meta-grid {
	gap: 0.65rem;
}

.maac-project-profile-main .maac-meta-item {
	gap: 0.6rem;
	padding: 0.4rem 0;
	border-bottom: 0;
}

.maac-project-profile-main .maac-meta-item__icon {
	display: none !important;
}

.maac-project-profile-main .maac-meta-item__icon svg {
	display: none;
}

.maac-project-profile-main .maac-meta-item__label {
	font-size: 0.625rem;
}

.maac-project-profile-main .maac-meta-item__value {
	font-size: 0.8125rem;
}

.maac-project-profile-main .maac-project-section__head {
	gap: 0;
	padding-bottom: 0.65rem;
}

.maac-project-profile-main .maac-project-section__icon {
	display: none !important;
}

.maac-project-profile-main .maac-project-section__icon svg {
	display: none;
}

.maac-project-profile-main .maac-project-section__head h2 {
	font-size: 1.125rem;
}

.maac-project-profile-main .maac-project-section__head p {
	font-size: 0.8125rem;
}

.maac-project-profile-main .maac-project-resumo {
	margin: 0 0 1.25rem;
	max-width: 48rem;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: #374151;
}

.maac-project-profile-main .maac-staff-grid {
	gap: 0;
}

.maac-project-profile-main .maac-staff-card {
	padding: 0.85rem 0;
	border-radius: 0;
}

.maac-project-profile-main .maac-staff-card__head {
	gap: 0;
}

.maac-project-profile-main .maac-staff-card__avatar {
	display: none;
}

.maac-project-profile-main .maac-staff-card h3 {
	font-size: 0.9375rem;
}

.maac-project-profile-main .maac-staff-card__role {
	font-size: 0.8125rem;
}

.maac-project-profile-main .maac-staff-card__dept {
	font-size: 0.6875rem;
}

.maac-project-profile-main .maac-staff-card__contact {
	margin-top: 0.5rem;
	padding-top: 0;
	font-size: 0.8125rem;
}

.maac-project-profile-main .maac-project-section__icon,
.maac-project-profile-main .maac-meta-item__icon,
.maac-project-profile-main .maac-doc-file-card__icon {
	display: none !important;
}

.maac-project-profile-main .maac-doc-grid {
	gap: 0.75rem;
}

.maac-project-profile-main .maac-doc-file-card--grid {
	padding: 0.65rem 0.75rem 0.6rem;
	border-radius: 0.625rem;
	box-shadow: 0 2px 10px rgb(var(--maac-storm-rgb) / 0.05);
}

.maac-project-profile-main .maac-doc-file-card--grid:hover {
	transform: none;
}

.maac-project-profile-main .maac-doc-file-card--grid .maac-doc-file-card__header {
	margin-bottom: 0.4rem;
}

.maac-project-profile-main .maac-doc-file-card--grid .maac-doc-file-card__icon {
	width: 1.85rem;
	height: 1.85rem;
	border-radius: 0.5rem;
}

.maac-project-profile-main .maac-doc-file-card--grid .maac-doc-file-card__icon svg {
	width: 0.95rem;
	height: 0.95rem;
}

.maac-project-profile-main .maac-doc-file-card--grid .maac-doc-file-card__title {
	font-size: 0.875rem;
}

.maac-project-profile-main .maac-doc-file-card--grid .maac-doc-file-card__desc,
.maac-project-profile-main .maac-doc-file-card--grid .maac-doc-file-card__date {
	font-size: 0.75rem;
}

.maac-project-profile-main .maac-doc-file-card--grid .maac-doc-file-card__actions {
	padding-top: 0.55rem;
}

.maac-project-profile-main .maac-doc-file-card--grid .maac-doc-file-card__actions .maac-btn {
	min-height: 2rem;
	padding: 0.35rem 0.65rem;
	font-size: 0.75rem;
}

.maac-project-profile-main .maac-project-gallery__track {
	gap: 0.75rem;
}

.maac-project-profile-main .maac-project-gallery__slide {
	border-radius: 0.625rem;
}

.maac-project-profile-main .maac-project-gallery__slide img {
	width: 12.5rem;
	height: 8.5rem;
}

.maac-project-profile-main .maac-project-news-grid {
	gap: 0.85rem;
}

.maac-project-profile-main .maac-card-noticia {
	border-radius: 0.625rem;
	box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}

.maac-project-profile-main .maac-card-noticia:hover {
	transform: none;
	box-shadow: 0 4px 14px rgb(0 0 0 / 0.08);
}

.maac-project-profile-main .maac-card-noticia--default .maac-card-noticia__media {
	aspect-ratio: 16 / 10;
}

.maac-project-profile-main .maac-card-noticia__body {
	padding: 0.75rem 0.85rem 0.85rem;
}

.maac-project-profile-main .maac-card-noticia__title {
	font-size: 0.9375rem;
}

.maac-project-profile-main .maac-card-noticia__excerpt {
	margin-top: 0.35rem;
	font-size: 0.8125rem;
}

.maac-project-sidebar__index a {
	padding: 0.45rem 0.6rem;
	border-radius: 0.4rem;
	font-size: 0.8125rem;
}

.maac-project-sidebar__icon {
	width: 0.875rem;
	height: 0.875rem;
}

.maac-project-sidebar__facts li + li {
	margin-top: 0.5rem;
}

.maac-project-sidebar__facts span {
	font-size: 0.75rem;
}

.maac-project-sidebar__facts strong {
	font-size: 0.8125rem;
}

.maac-project-sidebar__map {
	margin-top: 1rem;
}

/* Project profile — compact element cards */
.maac-project-profile-main {
	gap: 1.5rem;
}

.maac-project-profile-main .maac-project-section__head {
	gap: 0.75rem;
	padding-bottom: 0.65rem;
}

.maac-project-profile-main .maac-project-section__icon {
	display: none !important;
}

.maac-project-profile-main .maac-project-section__icon svg {
	display: none;
}

.maac-project-profile-main .maac-project-section__head h2 {
	font-size: 1.125rem;
}

.maac-project-profile-main .maac-project-section__head p {
	font-size: 0.8125rem;
}

.maac-project-profile-main .maac-meta-grid {
	gap: 0;
}

.maac-project-profile-main .maac-meta-item {
	gap: 0;
	padding: 0.65rem 0;
	border-bottom: 0;
}

.maac-project-profile-main .maac-meta-item__icon {
	display: none !important;
}

.maac-project-profile-main .maac-meta-item__icon svg {
	display: none;
}

.maac-project-profile-main .maac-meta-item__label {
	font-size: 0.625rem;
}

.maac-project-profile-main .maac-meta-item__value {
	font-size: 0.8125rem;
}

.maac-project-profile-main .maac-staff-grid {
	gap: 0;
}

.maac-project-profile-main .maac-staff-card {
	padding: 0.85rem 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.maac-project-profile-main .maac-staff-card__head {
	gap: 0;
}

.maac-project-profile-main .maac-staff-card__avatar {
	display: none;
}

.maac-project-profile-main .maac-staff-card h3 {
	font-size: 0.9375rem;
}

.maac-project-profile-main .maac-staff-card__role {
	font-size: 0.8125rem;
}

.maac-project-profile-main .maac-staff-card__dept {
	font-size: 0.6875rem;
}

.maac-project-profile-main .maac-staff-card__contact {
	margin-top: 0.5rem;
	padding-top: 0;
	font-size: 0.8125rem;
}

.maac-project-profile-main .maac-doc-file-card__icon {
	display: none !important;
}

.maac-project-profile-main .maac-doc-grid {
	gap: 0.75rem;
}

.maac-project-profile-main .maac-doc-file-card--grid {
	padding: 0.65rem 0.75rem 0.6rem;
	border-radius: 0.625rem;
	box-shadow: 0 2px 10px rgb(var(--maac-storm-rgb) / 0.05);
}

.maac-project-profile-main .maac-doc-file-card--grid:hover {
	transform: none;
}

.maac-project-profile-main .maac-doc-file-card--grid .maac-doc-file-card__header {
	margin-bottom: 0.4rem;
}

.maac-project-profile-main .maac-doc-file-card--grid .maac-doc-file-card__icon {
	width: 1.85rem;
	height: 1.85rem;
	border-radius: 0.5rem;
}

.maac-project-profile-main .maac-doc-file-card--grid .maac-doc-file-card__icon svg {
	width: 0.95rem;
	height: 0.95rem;
}

.maac-project-profile-main .maac-doc-file-card--grid .maac-doc-file-card__title {
	font-size: 0.875rem;
}

.maac-project-profile-main .maac-doc-file-card--grid .maac-doc-file-card__desc,
.maac-project-profile-main .maac-doc-file-card--grid .maac-doc-file-card__date {
	font-size: 0.75rem;
}

.maac-project-profile-main .maac-doc-file-card--grid .maac-doc-file-card__actions {
	padding-top: 0.55rem;
}

.maac-project-profile-main .maac-doc-file-card--grid .maac-doc-file-card__actions .maac-btn {
	min-height: 2rem;
	padding: 0.35rem 0.65rem;
	font-size: 0.75rem;
}

.maac-project-profile-main .maac-project-gallery__track {
	gap: 0.75rem;
}

.maac-project-profile-main .maac-project-gallery__slide {
	border-radius: 0.625rem;
}

.maac-project-profile-main .maac-project-gallery__slide img {
	width: 13rem;
	height: 8.75rem;
}

.maac-project-profile-main .maac-project-news-grid {
	gap: 0.85rem;
}

.maac-project-profile-main .maac-card-noticia {
	border-radius: 0.625rem;
	box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}

.maac-project-profile-main .maac-card-noticia:hover {
	transform: none;
	box-shadow: 0 4px 14px rgb(0 0 0 / 0.08);
}

.maac-project-profile-main .maac-card-noticia__body {
	padding: 0.75rem 0.85rem 0.85rem;
}

.maac-project-profile-main .maac-card-noticia__title {
	font-size: 0.9375rem;
}

.maac-project-profile-main .maac-card-noticia__excerpt {
	margin-top: 0.35rem;
	font-size: 0.8125rem;
}

.maac-project-sidebar__index a {
	padding: 0.45rem 0.6rem;
	border-radius: 0.4rem;
	font-size: 0.8125rem;
}

.maac-project-sidebar__icon {
	width: 0.875rem;
	height: 0.875rem;
}

.maac-project-sidebar__facts li + li {
	margin-top: 0.5rem;
}

.maac-project-sidebar__facts span {
	font-size: 0.75rem;
}

.maac-project-sidebar__facts strong {
	font-size: 0.8125rem;
}

.maac-project-sidebar__map {
	margin-top: 1rem;
}

.maac-project-section__head {
	display: flex;
	gap: 1rem;
	padding: 0 0 1rem;
	margin-bottom: 0.25rem;
}

.maac-project-section__icon {
	display: none;
}

.maac-project-section__head h2 {
	margin: 0;
	font-size: 1.25rem;
	color: #111827;
}

.maac-project-section__head p {
	margin: 0.25rem 0 0;
	font-size: 0.875rem;
	color: #4b5563;
}

.maac-project-section__body {
	padding: 0;
}

.maac-meta-grid {
	display: grid;
	gap: 0.75rem;
}

.maac-meta-item {
	display: block;
	gap: 0;
	padding: 0.75rem 0;
	border-bottom: 1px solid rgb(var(--maac-storm-rgb, 4 104 101) / 0.1);
}

.maac-single-noticia .maac-meta-item,
.maac-project-profile-main .maac-meta-item,
.maac-single-evento .maac-evento-details__grid .maac-meta-item {
	border-bottom: 0;
}

.maac-meta-item__icon {
	display: none !important;
}

.maac-meta-item__label {
	margin: 0;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #6b7280;
}

.maac-meta-item__value {
	margin: 0.15rem 0 0;
	font-size: 0.875rem;
	font-weight: 600;
	color: #111827;
}

.maac-section-empty {
	margin: 0;
	padding: 1.25rem 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	text-align: left;
	font-size: 0.875rem;
	color: #6b7280;
}

.maac-staff-grid {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.maac-staff-card {
	height: auto;
	padding: 0.85rem 0;
	border: 0;
	border-bottom: 1px solid rgb(var(--maac-storm-rgb, 4 104 101) / 0.14);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	transition: none;
}

.maac-staff-card:hover {
	border-color: rgb(var(--maac-storm-rgb, 4 104 101) / 0.14);
	box-shadow: none;
}

.maac-staff-card__head {
	display: block;
	gap: 0;
}

.maac-staff-card__avatar {
	display: none;
}

.maac-staff-card h3 {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	color: #111827;
}

.maac-staff-card__role {
	margin: 0.2rem 0 0;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--maac-storm, #046865);
}

.maac-staff-card__dept {
	margin: 0.2rem 0 0;
	font-size: 0.8125rem;
	color: #6b7280;
}

.maac-staff-card__contact {
	margin: 0.55rem 0 0;
	padding: 0;
	border-top: 0;
	list-style: none;
	display: grid;
	gap: 0.2rem;
	font-size: 0.875rem;
}

.maac-staff-card__contact a {
	color: var(--maac-azul);
	text-decoration: none;
}

.maac-staff-card__contact a:hover {
	text-decoration: underline;
}

.maac-funding-box {
	padding: 1.5rem;
	border: 1px solid rgb(61 154 110 / 0.15);
	border-radius: 0.75rem;
	background: rgb(61 154 110 / 0.05);
}

.maac-funding-box p {
	margin: 0;
	line-height: 1.6;
	color: #374151;
}

.maac-doc-grid {
	display: grid;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	align-items: start;
}

.maac-doc-grid .maac-doc-file-card {
	max-width: none;
	width: 100%;
}

@media (min-width: 640px) {
	.maac-doc-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 900px) {
	.maac-doc-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1200px) {
	.maac-doc-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* Legado — manter compatibilidade */
.maac-doc-card {
	display: flex;
	height: 100%;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem;
	border: 1px solid #e5e7eb;
	border-radius: 0.75rem;
	background: rgb(238 242 245 / 0.5);
	font-weight: 600;
	color: var(--maac-azul);
	text-decoration: none;
	transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.maac-doc-card:hover {
	border-color: var(--maac-verde);
	background: #fff;
	box-shadow: 0 4px 12px rgb(0 0 0 / 0.06);
}

.maac-doc-card--static {
	cursor: default;
}

.maac-doc-card__icon {
	display: flex;
	width: 2.5rem;
	height: 2.5rem;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	border-radius: 0.5rem;
	background: rgb(61 154 110 / 0.1);
	color: var(--maac-verde);
}

.maac-doc-card__icon svg {
	width: 1.25rem;
	height: 1.25rem;
}

.maac-project-gallery {
	position: relative;
	overflow: hidden;
	margin-inline: -0.25rem;
	border-radius: 1rem;
}

.maac-project-gallery__fade {
	position: absolute;
	inset-block: 0;
	z-index: 2;
	width: 3rem;
	pointer-events: none;
}

.maac-project-gallery__fade--left {
	left: 0;
	background: linear-gradient(to right, var(--maac-cinza-bg), transparent);
}

.maac-project-gallery__fade--right {
	right: 0;
	background: linear-gradient(to left, var(--maac-cinza-bg), transparent);
}

.maac-project-gallery__track {
	display: flex;
	width: max-content;
	gap: 1rem;
	padding-block: 0.25rem;
}

.maac-project-gallery__track--loop {
	animation: maac-gallery-marquee var(--gallery-duration, 32s) linear infinite;
}

.maac-project-gallery:hover .maac-project-gallery__track--loop {
	animation-play-state: paused;
}

@keyframes maac-gallery-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

.maac-project-gallery__slide {
	margin: 0;
	overflow: hidden;
	border: 1px solid rgb(229 231 235 / 0.8);
	border-radius: 0.75rem;
	background: #f3f4f6;
	box-shadow: 0 1px 3px rgb(0 0 0 / 0.05);
}

.maac-project-gallery__slide img {
	display: block;
	width: min(16rem, 72vw);
	height: auto;
	min-height: 8rem;
	max-height: 11rem;
	aspect-ratio: 16 / 11;
	object-fit: cover;
}

.maac-project-gallery__hint {
	margin: 0.75rem 0 0;
	text-align: center;
	font-size: 0.75rem;
	color: #6b7280;
}

.maac-project-news-grid {
	display: grid;
	gap: 1.5rem;
}

.maac-project-news-more {
	margin: 2rem 0 0;
	padding-top: 1.5rem;
	border-top: 1px solid #f3f4f6;
}

.maac-project-news-more a {
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--maac-verde);
	text-decoration: none;
}

.maac-project-news-more a:hover {
	text-decoration: underline;
}

.maac-location-box {
	padding: 1.5rem;
	border: 1px solid #e5e7eb;
	border-radius: 0.75rem;
	background: rgb(238 242 245 / 0.8);
}

.maac-location-box__locality {
	margin: 0 0 0.35rem;
	font-size: 0.9375rem;
	color: #4b5563;
}

.maac-location-box__region {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 600;
	color: #111827;
}

.maac-location-box__coords {
	margin: 0.5rem 0 0;
	font-family: ui-monospace, monospace;
	font-size: 0.875rem;
	color: #6b7280;
}

.maac-location-box .maac-btn {
	margin-top: 1.5rem;
}

.maac-project-footer {
	padding: 1.25rem 0 0;
	margin-top: 0.5rem;
	border-top: 0;
	font-size: 0.875rem;
	color: #6b7280;
}

.maac-project-footer p {
	margin: 0;
}

.maac-project-footer p + p {
	margin-top: 0.5rem;
}

.maac-project-footer a {
	font-weight: 600;
	color: var(--maac-azul);
}

.maac-pagination {
	margin-top: 2rem;
}

@media (min-width: 640px) {
	.maac-scroll-carousel__slide:not(.maac-scroll-carousel__slide--project) {
		flex-basis: calc((100% - 1.25rem) / 2);
		max-width: none;
	}
}

@media (min-width: 768px) {
	.maac-ministerio-layout {
		grid-template-columns: 1fr 20rem;
	}

	.maac-project-layout {
		grid-template-columns: 1fr 18rem;
	}

	.maac-contact-layout {
		grid-template-columns: 1fr 1fr;
	}

	.maac-contact-form-wrap {
		border-top: 0;
		border-left: 1px solid #e5e7eb;
		padding-top: 0;
		padding-left: 2rem;
	}

	.maac-scroll-carousel__slide:not(.maac-scroll-carousel__slide--project) {
		flex-basis: calc((100% - 2.5rem) / 3);
	}
}

@media (min-width: 1024px) {
	.maac-scroll-carousel__slide:not(.maac-scroll-carousel__slide--project) {
		flex-basis: calc((100% - 3.75rem) / 4);
	}
}

/* Share bar */
.maac-share-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
	margin-top: 2.5rem;
	padding: 0;
	border: none;
	background: transparent;
}

.maac-share-bar__title {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 700;
	color: #111827;
}

.maac-share-bar__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
}

.maac-share-bar__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: auto;
	min-width: 2.25rem;
	min-height: 2.25rem;
	padding: 0.25rem;
	border: none;
	border-radius: 0;
	background: transparent;
	color: #374151;
	text-decoration: none;
	transition: color 0.15s ease;
}

.maac-share-bar__btn:hover {
	color: var(--maac-verde);
}

.maac-share-bar__icon {
	display: block;
	width: 1.375rem;
	height: 1.375rem;
	fill: currentColor;
}

.maac-article-footer {
	display: flex;
	justify-content: flex-end;
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid #e5e7eb;
}

.maac-comments {
	padding-block: 2.5rem 3rem;
	background: #f9fafb;
	border-top: 1px solid #e5e7eb;
}

.maac-comments__inner {
	max-width: 42rem;
	margin-inline: auto;
}

.maac-comments__title {
	margin: 0 0 1.5rem;
	font-size: 1.375rem;
	color: #111827;
}

.maac-comments__closed {
	margin: 0;
	color: #6b7280;
	font-size: 0.9375rem;
}

.maac-comment-list {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.maac-comment-list .children {
	list-style: none;
	margin: 1rem 0 0 1.25rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.maac-comment__body {
	padding: 1rem 1.1rem;
	border: 1px solid #e5e7eb;
	border-radius: 0.75rem;
	background: #fff;
}

.maac-comment__header {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.75rem;
	align-items: baseline;
	margin-bottom: 0.5rem;
}

.maac-comment__author {
	font-size: 0.9375rem;
	color: #111827;
}

.maac-comment__date {
	font-size: 0.75rem;
	color: #6b7280;
}

.maac-comment__moderation {
	margin: 0 0 0.5rem;
	font-size: 0.8125rem;
	color: #21a0a0;
}

.maac-comment__content {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: #374151;
	text-align: justify;
	hyphens: auto;
	text-justify: inter-word;
}

.maac-comment__content p {
	margin: 0 0 0.75rem;
}

.maac-comment__content p:last-child {
	margin-bottom: 0;
}

.maac-comment__footer {
	margin-top: 0.75rem;
}

.maac-comment__footer a {
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--maac-verde, #21a0a0);
	text-decoration: none;
}

.maac-comment__footer a:hover {
	text-decoration: underline;
}

.maac-comment-form {
	display: grid;
	gap: 0.75rem;
}

.maac-comment-form__field {
	margin: 0;
}

.maac-comment-form__field label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.8125rem;
	font-weight: 700;
	color: #374151;
}

.maac-comment-form__field input[type="text"],
.maac-comment-form__field input[type="email"],
.maac-comment-form__field textarea {
	width: 100%;
	padding: 0.65rem 0.75rem;
	border: 1px solid #d1d5db;
	border-radius: 0.5rem;
	font: inherit;
}

.maac-comment-form__field textarea {
	min-height: 8rem;
	resize: vertical;
}

.maac-comment-form__field.comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
}

.maac-comment-form__field.comment-form-cookies-consent label {
	margin: 0;
	font-weight: 500;
}

.maac-comment-notes {
	margin: 0 0 0.5rem;
	font-size: 0.8125rem;
	color: #6b7280;
}

.maac-comment-form .form-submit {
	margin: 0.5rem 0 0;
}

.maac-related-news {
	padding-block: 3.5rem;
	border-top: 1px solid #e5e7eb;
	background: var(--maac-cinza-bg);
}

.maac-related-news h2 {
	margin: 0;
	font-size: 1.5rem;
}

.maac-related-news__lead {
	margin: 0.5rem 0 0;
	color: #4b5563;
}

.maac-related-news__grid {
	display: grid;
	gap: 1.5rem;
	margin-top: 2rem;
}

/* Minister message page */
.maac-minister-message {
	padding-block: 2.5rem 3.5rem;
}

.maac-minister-message__back {
	display: inline-flex;
	margin-bottom: 2rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--maac-azul);
	text-decoration: none;
}

.maac-minister-message__back:hover {
	text-decoration: underline;
}

.maac-minister-message__grid {
	display: grid;
	gap: 2.5rem;
}

.maac-minister-message__photo {
	display: block;
	width: 100%;
	max-width: 20rem;
	margin-inline: auto;
	aspect-ratio: 4 / 5;
	border-radius: 1rem;
	object-fit: cover;
}

.maac-minister-message__photo--placeholder {
	background: linear-gradient(135deg, #034e4b, #21a0a0);
}

.maac-minister-message__identity {
	margin-top: 1.5rem;
	text-align: center;
}

.maac-minister-message__identity h1 {
	margin: 0;
	font-size: 1.5rem;
}

.maac-minister-message__identity p {
	margin: 0.5rem 0 0;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--maac-verde);
}

.maac-minister-message__content {
	min-width: 0;
}

.maac-minister-message__prose p,
.maac-minister-message__prose li {
	font-size: 1.0625rem;
	line-height: 1.8;
	color: #374151;
}

.maac-minister-message__prose p {
	margin: 0 0 1.25rem;
	max-width: 42rem;
}

.maac-minister-message__prose p:last-child {
	margin-bottom: 0;
}

.maac-minister-message__prose h2,
.maac-minister-message__prose h3 {
	margin-top: 2rem;
	margin-bottom: 0.85rem;
	max-width: 42rem;
}

.maac-minister-message__prose ul,
.maac-minister-message__prose ol {
	margin: 0 0 1.25rem;
	padding-left: 1.35rem;
	max-width: 42rem;
}

.maac-minister-message__prose li + li {
	margin-top: 0.45rem;
}

.maac-minister-message__prose blockquote {
	margin: 1.5rem 0;
	padding-left: 1rem;
	border-left: 4px solid var(--maac-verde);
	max-width: 42rem;
}

.maac-minister-message__mobile-head {
	display: block;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid #e5e7eb;
}

.maac-minister-message__mobile-head h1 {
	margin: 0;
	font-size: 1.5rem;
}

.maac-minister-message__mobile-head p {
	margin: 0.35rem 0 0;
	font-weight: 600;
	color: var(--maac-verde);
}

/* Ministerio — equipa */
.maac-ministerio-team__intro {
	max-width: 42rem;
	margin-bottom: 2rem;
}

/* Ministerio — estrutura organica hierarquica */
.maac-organic-structure {
	overflow: hidden;
}

.maac-organic-structure__intro-wrap {
	margin-bottom: 1.75rem;
}

.maac-organic-structure__intro {
	max-width: 42rem;
}

.maac-organic-structure--teaser .maac-organic-structure__intro {
	max-width: 40rem;
}

.maac-organic-structure__cta {
	margin: 1.5rem 0 0;
}

.maac-organic-structure__chart-wrap {
	width: 100%;
	overflow-x: auto;
	padding-inline: clamp(0.75rem, 2.5vw, 2rem);
	padding-bottom: 0.5rem;
}

/* Pagina dedicada — Estrutura organica
 * Design: Accessible & Ethical + Swiss (UI UX Pro Max)
 * Brand: MAAC storm/sea tokens (not MASTER navy palette)
 */
.maac-organic-page__body {
	padding-block: 2.75rem 4.5rem;
	background: #fff;
}

.maac-organic-page__layout {
	display: grid;
	gap: 2rem;
	align-items: start;
}

.maac-organic-page__aside {
	display: none;
}

.maac-organic-page__aside-label {
	margin: 0 0 0.75rem;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.4;
	color: #3d524f;
}

.maac-organic-page__toc {
	padding: 0;
	border: 0;
	background: transparent;
}

.maac-organic-page__toc ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.maac-organic-page__toc li + li {
	margin-top: 0.125rem;
}

.maac-organic-page__toc a {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 2.75rem; /* 44px touch target */
	padding: 0.5rem 0.55rem 0.5rem 0.7rem;
	font-size: 0.9375rem;
	line-height: 1.4;
	font-weight: 500;
	color: var(--maac-storm, #046865);
	text-decoration: none;
	border-radius: 6px;
	cursor: pointer;
	transition:
		color 280ms ease,
		background-color 280ms ease,
		transform 280ms ease,
		padding-left 280ms ease;
}

.maac-organic-page__toc a::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 3px;
	height: 0;
	border-radius: 2px;
	background: var(--maac-sea, #21a0a0);
	transform: translateY(-50%);
	opacity: 0;
	transition:
		height 280ms ease,
		opacity 280ms ease;
}

.maac-organic-page__toc a:hover {
	color: var(--maac-sea, #21a0a0);
	background: rgb(var(--maac-sea-rgb) / 0.08);
}

.maac-organic-page__toc a.is-active {
	color: var(--maac-storm, #046865);
	background: rgb(var(--maac-sea-rgb) / 0.12);
	font-weight: 600;
	padding-left: 0.85rem;
}

.maac-organic-page__toc a.is-active::before {
	height: 1.15rem;
	opacity: 1;
}

.maac-organic-page__toc a:focus-visible {
	outline: 3px solid var(--maac-sea, #21a0a0);
	outline-offset: 2px;
	color: var(--maac-storm, #046865);
}

.maac-organic-page__main {
	display: grid;
	gap: 2.75rem;
	min-width: 0;
}

.maac-organic-page__intro,
.maac-organic-page__group {
	scroll-margin-top: calc(var(--site-header-offset, 4.75rem) + 1rem);
}

.maac-organic-page__kicker {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.4;
	color: #3d524f;
}

.maac-organic-page__address {
	margin: 0.25rem 0 0;
	font-size: 1rem;
	line-height: 1.5;
	color: #3d524f;
}

.maac-organic-page__lead {
	margin: 1.15rem 0 0;
	max-width: 42rem;
	font-size: 1.0625rem; /* 17px — readable body */
	line-height: 1.7;
	color: var(--maac-texto, #1a2e2d);
}

.maac-organic-page__mission {
	margin-top: 1.5rem;
	max-width: none;
	padding: 1.25rem 1.35rem;
	border: 1px solid rgb(var(--maac-storm-rgb) / 0.08);
	border-radius: 8px;
	background: rgb(var(--maac-sea-rgb) / 0.04);
	box-shadow: 0 1px 2px rgb(var(--maac-storm-rgb) / 0.04);
}

.maac-organic-page__mission h2 {
	margin: 0;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--maac-storm, #046865);
}

.maac-organic-page__mission p {
	margin: 0.55rem 0 0;
	font-size: 1rem;
	line-height: 1.7;
	color: var(--maac-texto, #1a2e2d);
}

.maac-organic-page__group-head {
	margin-bottom: 1.25rem;
	padding-bottom: 0;
	border-bottom: 0;
}

.maac-organic-page__group-head h2 {
	margin: 0;
	font-size: clamp(1.2rem, 2vw, 1.4rem);
	font-weight: 700;
	line-height: 1.3;
	color: var(--maac-storm, #046865);
}

.maac-organic-page__group-head p {
	margin: 0.5rem 0 0;
	max-width: 42rem;
	font-size: 1rem;
	line-height: 1.65;
	color: #3d524f;
}

.maac-organic-page__units {
	display: grid;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
	grid-template-columns: 1fr;
}

.maac-organic-unit {
	padding: 1.3rem 1.35rem;
	border: 1px solid rgb(var(--maac-storm-rgb) / 0.08);
	border-radius: 8px;
	background: #fbfcfc;
	box-shadow: 0 1px 2px rgb(var(--maac-storm-rgb) / 0.04);
	transition:
		border-color 280ms ease,
		background-color 280ms ease,
		box-shadow 280ms ease;
}

.maac-organic-unit:last-child {
	border-bottom: 1px solid rgb(var(--maac-storm-rgb) / 0.08);
	padding-bottom: 1.3rem;
}

.maac-organic-unit:hover {
	border-color: rgb(var(--maac-sea-rgb) / 0.22);
	background: #fff;
	box-shadow: 0 4px 14px rgb(var(--maac-storm-rgb) / 0.06);
}

.maac-organic-unit__head {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 0.75rem;
	align-items: baseline;
	justify-content: space-between;
}

.maac-organic-unit__name {
	margin: 0;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--maac-storm, #046865);
}

.maac-organic-unit__abbr {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	padding: 0.2rem 0.45rem;
	border-radius: 4px;
	background: rgb(var(--maac-sea-rgb) / 0.1);
	color: var(--maac-sea, #21a0a0);
}

.maac-organic-unit__summary {
	margin: 0.65rem 0 0;
	max-width: none;
	font-size: 0.95rem;
	line-height: 1.65;
	color: #3d524f;
}

.maac-organic-page__attributions {
	margin: 0;
	padding: 0;
	max-width: none;
	display: grid;
	gap: 0.85rem;
	list-style: none;
	grid-template-columns: 1fr;
}

.maac-organic-page__attributions li {
	padding: 1.1rem 1.25rem;
	border: 1px solid rgb(var(--maac-storm-rgb) / 0.08);
	border-radius: 8px;
	background: #fbfcfc;
	box-shadow: 0 1px 2px rgb(var(--maac-storm-rgb) / 0.04);
	font-size: 0.95rem;
	line-height: 1.65;
	color: var(--maac-texto, #1a2e2d);
}

.maac-organic-unit__subunits {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 0.95rem 0 0;
	padding: 0;
	list-style: none;
}

.maac-organic-unit__subunits li {
	padding: 0.35rem 0.65rem;
	border: 0;
	border-radius: 6px;
	background: rgb(var(--maac-sea-rgb) / 0.1);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--maac-storm, #046865);
}

.maac-organic-unit__composition {
	margin-top: 0.95rem;
	padding-top: 0.9rem;
	border-top: 1px solid rgb(var(--maac-storm-rgb) / 0.08);
}

.maac-organic-unit__composition-label {
	margin: 0 0 0.35rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #3d524f;
}

.maac-organic-unit__composition ul {
	margin: 0;
	padding: 0 0 0 1.15rem;
	display: grid;
	gap: 0.25rem;
}

.maac-organic-unit__composition li {
	font-size: 0.875rem;
	line-height: 1.5;
	color: #3d524f;
}

.maac-organic-unit__name a {
	color: inherit;
	text-decoration: none;
}

.maac-organic-unit__name a:hover,
.maac-organic-unit__name a:focus-visible {
	color: var(--maac-sea, #21a0a0);
	text-decoration: underline;
}

.maac-organic-unit__more {
	margin: 0.85rem 0 0;
}

.maac-organic-unit__more a {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--maac-storm, #046865);
	text-decoration: none;
}

.maac-organic-unit__more a:hover,
.maac-organic-unit__more a:focus-visible {
	text-decoration: underline;
}

.maac-organic-region-link {
	color: inherit;
	text-decoration: none;
	font-weight: 600;
}

.maac-organic-region-link:hover,
.maac-organic-region-link:focus-visible {
	color: var(--maac-sea, #21a0a0);
	text-decoration: underline;
}

.maac-organic-unit-page__body {
	padding: 2.5rem 0 4rem;
}

.maac-organic-unit-page__layout {
	max-width: 46rem;
}

.maac-organic-unit-page__group {
	margin: 0 0 1.25rem;
	font-size: 0.875rem;
	font-weight: 600;
}

.maac-organic-unit-page__group a {
	color: var(--maac-storm, #046865);
	text-decoration: none;
}

.maac-organic-unit-page__group a:hover {
	text-decoration: underline;
}

.maac-organic-unit-page__content {
	margin-bottom: 2rem;
}

.maac-organic-unit-page__subunits,
.maac-organic-unit-page__people {
	margin: 0 0 2rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgb(var(--maac-storm-rgb) / 0.1);
}

.maac-organic-unit-page__subunits h2,
.maac-organic-unit-page__people h2 {
	margin: 0 0 0.85rem;
	font-size: 1.15rem;
	color: var(--maac-storm, #046865);
}

.maac-organic-unit-page__subunits ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.maac-organic-unit-page__subunits li {
	padding: 0.35rem 0.65rem;
	border-radius: 6px;
	background: rgb(var(--maac-sea-rgb) / 0.1);
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--maac-storm, #046865);
}

.maac-organic-unit-page__people ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.75rem;
}

.maac-organic-unit-page__people li {
	display: grid;
	gap: 0.15rem;
	padding: 0.85rem 1rem;
	border: 1px solid rgb(var(--maac-storm-rgb) / 0.08);
	border-radius: 8px;
	background: #fbfcfc;
}

.maac-organic-unit-page__role {
	font-size: 0.8125rem;
	font-weight: 600;
	color: #3d524f;
}

.maac-organic-unit-page__name {
	font-size: 1rem;
	font-weight: 600;
	color: var(--maac-texto, #1a2e2d);
}

.maac-organic-unit-page__back {
	margin: 2rem 0 0;
}

.maac-organic-page__regions {
	display: grid;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
	grid-template-columns: 1fr;
	border-top: 0;
}

.maac-organic-page__regions li {
	display: flex;
	align-items: center;
	min-height: 2.75rem;
	padding: 0.95rem 1.1rem;
	border: 1px solid rgb(var(--maac-storm-rgb) / 0.08);
	border-radius: 8px;
	background: #fbfcfc;
	box-shadow: 0 1px 2px rgb(var(--maac-storm-rgb) / 0.04);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--maac-storm, #046865);
	transition:
		border-color 280ms ease,
		background-color 280ms ease,
		box-shadow 280ms ease;
}

.maac-organic-page__regions li:hover {
	border-color: rgb(var(--maac-sea-rgb) / 0.22);
	background: #fff;
	box-shadow: 0 4px 14px rgb(var(--maac-storm-rgb) / 0.06);
}

@media (min-width: 640px) {
	.maac-organic-page__units {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.maac-organic-page__attributions {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.maac-organic-page__regions {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 0.75rem;
	}
}

@media (min-width: 960px) {
	.maac-organic-page__layout {
		grid-template-columns: 13.5rem minmax(0, 1fr);
		gap: 3rem;
	}

	.maac-organic-page__aside {
		display: block;
		position: sticky;
		top: calc(var(--site-header-offset, 4.75rem) + 1rem);
		padding: 0.85rem 1rem;
		border: 1px solid rgb(var(--maac-storm-rgb) / 0.08);
		border-radius: 8px;
		background: #f7faf9;
		box-shadow: 0 1px 2px rgb(var(--maac-storm-rgb) / 0.04);
	}

	.maac-organic-page__units {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.maac-organic-page__regions {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (prefers-reduced-motion: reduce) {
	.maac-organic-page__toc a,
	.maac-organic-page__toc a::before,
	.maac-organic-unit,
	.maac-organic-page__regions li {
		transition: none;
	}
}

.maac-org-chart {
	width: 100%;
	min-width: 100%;
}

.maac-org-chart__root {
	display: flex;
	justify-content: center;
	width: 100%;
}

.maac-org-node {
	display: flex;
	justify-content: center;
	width: 100%;
}

.maac-org-node__layout {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: clamp(0.5rem, 1.5vw, 1.25rem);
	width: 100%;
}

.maac-org-node__main {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex-shrink: 0;
}

.maac-org-node__aside {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	padding-top: 0.35rem;
	flex: 1 1 0;
	min-width: 0;
}

.maac-org-node__aside--left {
	align-items: flex-end;
}

.maac-org-node__aside--right {
	align-items: flex-start;
}

.maac-org-node__aside-item {
	position: relative;
	display: flex;
	align-items: center;
	max-width: 100%;
}

.maac-org-node__aside--left .maac-org-node__aside-item {
	flex-direction: row;
	padding-right: 0.65rem;
}

.maac-org-node__aside--right .maac-org-node__aside-item {
	flex-direction: row-reverse;
	padding-left: 0.65rem;
}

.maac-org-node__aside-link {
	flex-shrink: 0;
	width: clamp(0.75rem, 2vw, 1.5rem);
	height: 2px;
	background: rgb(var(--maac-sea-rgb, 33 160 160) / 0.45);
}

.maac-org-node__below {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	margin-top: 0.5rem;
}

.maac-org-node__stem {
	display: block;
	width: 2px;
	height: 0.85rem;
	background: rgb(var(--maac-sea-rgb, 33 160 160) / 0.45);
}

.maac-org-node__below-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	gap: clamp(0.5rem, 1.2vw, 1rem);
	position: relative;
	padding-top: 0.85rem;
	width: 100%;
	max-width: none;
}

.maac-org-node__below-row::before {
	content: "";
	position: absolute;
	top: 0;
	left: 5%;
	right: 5%;
	height: 2px;
	background: rgb(var(--maac-sea-rgb, 33 160 160) / 0.35);
}

.maac-org-node__below-item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 0.85rem;
	flex: 1 1 11rem;
	max-width: 14rem;
}

.maac-org-node__below-link {
	position: absolute;
	top: 0;
	left: 50%;
	width: 2px;
	height: 0.85rem;
	transform: translateX(-50%);
	background: rgb(var(--maac-sea-rgb, 33 160 160) / 0.45);
}

.maac-org-card {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	width: 100%;
	min-height: 4.25rem;
	padding: 0.55rem 0.65rem;
	border: 1px solid rgb(var(--maac-storm-rgb, 4 104 101) / 0.14);
	border-radius: 3px;
	background: #fff;
	box-shadow: none;
	text-align: left;
}

.maac-org-card--ministro {
	border-color: rgb(var(--maac-sea-rgb, 33 160 160) / 0.28);
	box-shadow: none;
	background: rgb(var(--maac-sea-rgb) / 0.06);
}

.maac-org-card__photo-wrap {
	flex-shrink: 0;
	width: 2.75rem;
	height: 3.35rem;
	overflow: hidden;
	border-radius: 3px;
	border: 1px solid rgb(var(--maac-sea-rgb, 33 160 160) / 0.22);
	background: linear-gradient(135deg, var(--maac-storm, #046865), var(--maac-sea, #21a0a0));
}

.maac-org-card--ministro .maac-org-card__photo-wrap {
	width: 3rem;
	height: 3.65rem;
}

.maac-org-card__photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.maac-org-card__photo--fallback {
	display: block;
	width: 100%;
	height: 100%;
}

.maac-org-card__body {
	min-width: 0;
	flex: 1;
}

.maac-org-card__tier {
	margin: 0 0 0.15rem;
	font-size: 0.5625rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--maac-sea, #21a0a0);
	line-height: 1.2;
}

.maac-org-card__name {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.25;
	color: var(--maac-storm, #046865);
}

.maac-org-card__role {
	margin: 0.2rem 0 0;
	font-size: 0.6875rem;
	line-height: 1.35;
	font-weight: 600;
	color: var(--maac-texto, #1a2e2d);
}

.maac-org-card__dept {
	margin: 0.15rem 0 0;
	font-size: 0.625rem;
	line-height: 1.35;
	color: var(--maac-texto-suave, #4a6361);
}

.maac-organic-structure__mobile-cta {
	display: none;
	margin-top: 1.5rem;
	text-align: center;
}

.maac-organic-structure__mobile-hint {
	margin: 0.75rem 0 0;
	font-size: 0.875rem;
	color: var(--maac-texto-suave, #4a6361);
}

@media (max-width: 767px) {
	.maac-organic-structure__mobile-cta {
		display: block;
	}

	.maac-organic-structure__mobile-cta .maac-btn {
		width: 100%;
		max-width: 20rem;
	}

	.maac-organic-structure__chart-wrap--desktop {
		display: none;
	}
}

.maac-organic-structure-modal[hidden] {
	display: none !important;
}

.maac-organic-structure-modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: stretch;
	justify-content: center;
	padding: 0;
}

.maac-organic-structure-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgb(15 23 42 / 0.6);
}

.maac-organic-structure-modal__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-height: 100vh;
	background: var(--maac-cinza-bg, #f0f7f5);
	box-shadow: 0 24px 48px rgb(0 0 0 / 0.25);
}

.maac-organic-structure-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-shrink: 0;
	padding: 1rem 1.25rem;
	border-bottom: 1px solid var(--maac-borda, #d5e8e4);
	background: #fff;
}

.maac-organic-structure-modal__header h2 {
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.3;
	color: var(--maac-storm, #046865);
}

.maac-organic-structure-modal__close {
	flex-shrink: 0;
	border: 0;
	background: transparent;
	font-size: 1.75rem;
	line-height: 1;
	color: #6b7280;
	cursor: pointer;
}

.maac-organic-structure-modal__close:hover,
.maac-organic-structure-modal__close:focus-visible {
	color: var(--maac-storm, #046865);
}

.maac-organic-structure-modal__body {
	flex: 1;
	overflow: auto;
	padding: 1rem;
	-webkit-overflow-scrolling: touch;
}

.maac-organic-structure-modal__body .maac-org-chart {
	width: max-content;
	min-width: min(100%, 52rem);
	margin-inline: auto;
}

.maac-organic-structure-modal__scroll-hint {
	flex-shrink: 0;
	margin: 0;
	padding: 0.55rem 1rem;
	font-size: 0.75rem;
	text-align: center;
	color: var(--maac-texto-suave, #4a6361);
	background: #fff;
	border-top: 1px solid var(--maac-borda, #d5e8e4);
}

@media (min-width: 768px) {
	.maac-organic-structure-modal {
		padding: 1.5rem;
		align-items: center;
	}

	.maac-organic-structure-modal__panel {
		width: min(100%, 96vw);
		max-height: min(92vh, 52rem);
		border-radius: 1rem;
		overflow: hidden;
	}

	.maac-organic-structure-modal__scroll-hint {
		display: none;
	}
}

.maac-ministerio-team__grid {
	--maac-team-photo-h: 10.5rem;
	--maac-team-card-h: 21.75rem;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
	align-items: stretch;
}

.maac-team-card {
	display: flex;
	min-width: 0;
	height: var(--maac-team-card-h);
}

.maac-team-card__inner {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	min-height: 0;
	max-height: var(--maac-team-card-h);
	overflow: hidden;
	padding: 0;
	border: 1px solid rgb(var(--maac-storm-rgb) / 0.1);
	border-radius: 0.85rem;
	background: #fff;
	box-shadow: 0 1px 2px rgb(var(--maac-storm-rgb) / 0.04);
	transition:
		border-color 0.25s ease,
		box-shadow 0.25s ease,
		transform 0.25s ease;
}

.maac-team-card__inner:hover,
.maac-team-card__inner:focus-within {
	border-color: rgb(var(--maac-sea-rgb) / 0.35);
	box-shadow: 0 8px 20px rgb(var(--maac-storm-rgb) / 0.08);
	transform: translateY(-2px);
}

.maac-team-card__photo-wrap {
	position: relative;
	flex: 0 0 var(--maac-team-photo-h);
	width: auto;
	height: var(--maac-team-photo-h);
	margin: 0.55rem 0.55rem 0;
	padding: 0;
	overflow: hidden;
	border-radius: 0.65rem;
	background: #e8f4f2;
}

.maac-team-card__photo {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
	object-position: center center;
	border: 0;
	border-radius: 0.65rem;
	background: #e8f4f2;
	transition: opacity 0.25s ease;
}

.maac-team-card__photo--fallback {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
	border-radius: 0.65rem;
	background: linear-gradient(160deg, #e8f4f2 0%, #cfe8e4 100%);
}

.maac-team-card__inner:hover .maac-team-card__photo:not(.maac-team-card__photo--fallback) {
	opacity: 0.96;
}

.maac-team-card__placeholder-icon {
	display: block;
	width: 2.25rem;
	height: auto;
	fill: rgb(var(--maac-storm-rgb) / 0.4);
}

.maac-team-card__content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 0.45rem;
	min-width: 0;
	min-height: 0;
	padding: 0.7rem 0.75rem 0.85rem;
	overflow: hidden;
}

.maac-team-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-height: 0;
	padding: 0;
	overflow: hidden;
	text-align: center;
}

.maac-team-card__name {
	margin: 0;
	overflow: hidden;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--maac-storm, #046865);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.maac-team-card__role {
	margin: 0.2rem 0 0;
	overflow: hidden;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--maac-sea, #21a0a0);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.maac-team-card__dept {
	margin: 0.15rem 0 0;
	overflow: hidden;
	font-size: 0.6875rem;
	line-height: 1.35;
	color: var(--maac-texto-suave, #4a6361);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.maac-team-card__contacts {
	margin: 0.4rem 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.12rem;
	justify-items: center;
}

.maac-team-card__contact {
	display: block;
	max-width: 100%;
	overflow: hidden;
	font-size: 0.6875rem;
	line-height: 1.35;
	color: var(--maac-storm, #046865);
	text-decoration: none;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.maac-team-card__contact:hover,
.maac-team-card__contact:focus-visible {
	color: var(--maac-sea, #21a0a0);
	text-decoration: underline;
}

.maac-team-card__footer {
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
	border: 0;
}

.maac-team-card__social {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.maac-team-card__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	min-width: 2.25rem;
	min-height: 2.25rem;
	border-radius: 999px;
	color: var(--maac-storm, #046865);
	background: rgb(var(--maac-sea-rgb) / 0.1);
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.maac-team-card__social-link:hover,
.maac-team-card__social-link:focus-visible {
	color: #fff;
	transform: translateY(-1px);
}

.maac-team-card__social-link--facebook:hover,
.maac-team-card__social-link--facebook:focus-visible {
	background: #1877f2;
}

.maac-team-card__social-link--linkedin:hover,
.maac-team-card__social-link--linkedin:focus-visible {
	background: #0a66c2;
}

.maac-team-card__social-link--x:hover,
.maac-team-card__social-link--x:focus-visible {
	background: #111827;
}

.maac-team-card__social-link--instagram:hover,
.maac-team-card__social-link--instagram:focus-visible {
	background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.maac-team-card__social-link--youtube:hover,
.maac-team-card__social-link--youtube:focus-visible {
	background: #ff0000;
	color: #fff;
}

.maac-team-card__social-icon {
	display: block;
	width: 0.75rem;
	height: 0.75rem;
	fill: currentColor;
}

/* Project profile extras */
.maac-project-hero__featured {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgb(255 255 255 / 0.88);
}

.maac-project-hero__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1rem;
}

.maac-project-hero__pill {
	display: inline-flex;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	font-size: 0.8125rem;
	font-weight: 600;
	color: rgb(255 255 255 / 0.92);
	text-decoration: none;
	backdrop-filter: none;
}

.maac-project-hero__pill:hover {
	text-decoration: underline;
}

/* Ministerio page */
.maac-ministerio-band {
	background: var(--maac-cinza-bg);
}

.maac-ministerio-section-nav {
	display: block;
	overflow-x: auto;
	border-bottom: 1px solid #e5e7eb;
	background: #fff;
}

.maac-ministerio-section-nav .maac-container {
	display: flex;
	gap: 0.5rem;
	padding-block: 0.75rem;
}

.maac-ministerio-section-nav a {
	flex-shrink: 0;
	padding: 0.5rem 0.85rem;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	background: var(--maac-cinza-bg);
	font-size: 0.75rem;
	font-weight: 600;
	color: #374151;
	text-decoration: none;
}

.maac-ministerio-section-nav a:hover {
	border-color: var(--maac-verde);
	color: var(--maac-verde);
}

.maac-ministerio-section-nav a.is-active {
	border-color: rgb(61 154 110 / 0.45);
	background: rgb(61 154 110 / 0.1);
	color: var(--maac-verde-escuro);
}

.maac-ministerio-profile {
	display: grid;
	gap: 2rem;
	align-items: start;
}

.maac-ministerio-sidebar {
	display: none;
}

.maac-ministerio-sidebar__index {
	padding: 1rem;
	border: 1px solid #e5e7eb;
	border-radius: 1rem;
	background: #fff;
	box-shadow: 0 1px 3px rgb(0 0 0 / 0.05);
}

.maac-ministerio-sidebar__label {
	margin: 0 0 0.75rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--maac-verde);
}

.maac-ministerio-sidebar__index ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.maac-ministerio-sidebar__index a {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 0.75rem;
	border-radius: 0.5rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: #374151;
	text-decoration: none;
	transition: background 0.15s, color 0.15s;
}

.maac-ministerio-sidebar__index a:hover {
	background: var(--maac-cinza-bg);
	color: var(--maac-verde);
}

.maac-ministerio-sidebar__index a.is-active {
	background: var(--maac-verde);
	color: #fff;
	box-shadow: 0 1px 3px rgb(0 0 0 / 0.12);
}

.maac-ministerio-sidebar__icon {
	display: flex;
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
}

.maac-ministerio-sidebar__icon svg {
	width: 100%;
	height: 100%;
}

.maac-ministerio-sidebar__index a.is-active .maac-ministerio-sidebar__icon {
	color: var(--maac-amarelo);
}

.maac-ministerio-image-card {
	margin: 1rem 0 0;
	overflow: hidden;
	border: 1px solid rgb(var(--maac-storm-rgb) / 0.14);
	border-radius: 3px;
	background: #fff;
	box-shadow: none;
}

.maac-ministerio-image-card__trigger {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.maac-ministerio-image-card__trigger img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.maac-ministerio-image-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 3;
	background: linear-gradient(135deg, var(--maac-cinza-bg), #e5e7eb);
}

.maac-ministerio-image-card__placeholder-icon {
	display: flex;
	width: 3rem;
	height: 3rem;
	color: #9ca3af;
}

.maac-ministerio-image-card__placeholder-icon svg {
	width: 100%;
	height: 100%;
}

.maac-ministerio-image-card figcaption {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 0.85rem 1rem 1rem;
	font-size: 0.8125rem;
	color: #6b7280;
}

.maac-ministerio-image-card figcaption strong {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--maac-verde);
}

.maac-ministerio-image-card figcaption small {
	font-size: 0.75rem;
	color: #9ca3af;
}

.maac-ministerio-sidebar__message {
	display: block;
	margin-top: 1rem;
	padding: 0.75rem 1rem;
	border: 1px solid rgb(61 154 110 / 0.25);
	border-radius: 0.75rem;
	background: #f0fdf4;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--maac-verde);
	text-align: center;
	text-decoration: none;
}

.maac-ministerio-sidebar__message:hover {
	background: var(--maac-verde);
	color: #fff;
}

.maac-ministerio-main {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	min-width: 0;
}

.maac-ministerio-highlights {
	display: grid;
	gap: 1.5rem;
}

.maac-ministerio-section__card {
	overflow: hidden;
	border: 1px solid #e5e7eb;
	border-radius: 1rem;
	background: #fff;
	box-shadow: 0 1px 3px rgb(0 0 0 / 0.05);
}

.maac-ministerio-section__card--intro {
	border-left: 4px solid var(--maac-verde);
}

.maac-ministerio-section__card--green {
	border-color: rgb(61 154 110 / 0.25);
	background: #f0fdf4;
}

.maac-ministerio-section__card--blue {
	border-color: rgb(37 99 235 / 0.25);
	background: #eff6ff;
}

.maac-ministerio-section__head {
	display: flex;
	gap: 1rem;
	padding: 1rem 1.25rem;
	border-bottom: 1px solid #f3f4f6;
	background: linear-gradient(90deg, var(--maac-cinza-bg), #fff);
}

.maac-ministerio-section__card--green .maac-ministerio-section__head,
.maac-ministerio-section__card--blue .maac-ministerio-section__head {
	background: transparent;
	border-bottom-color: rgb(0 0 0 / 0.06);
}

.maac-ministerio-section__icon {
	display: flex;
	width: 2.75rem;
	height: 2.75rem;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	border-radius: 0.75rem;
	background: var(--maac-verde);
	color: #fff;
	box-shadow: 0 4px 6px rgb(61 154 110 / 0.25);
}

.maac-ministerio-section__card--blue .maac-ministerio-section__icon {
	background: var(--maac-azul);
	box-shadow: 0 4px 6px rgb(37 99 235 / 0.25);
}

.maac-ministerio-section__icon svg {
	width: 1.25rem;
	height: 1.25rem;
}

.maac-ministerio-section__head h2 {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 700;
	color: #111827;
}

.maac-ministerio-section__head p {
	margin: 0.25rem 0 0;
	font-size: 0.875rem;
	color: #6b7280;
}

.maac-ministerio-section__body {
	padding: 1.25rem;
}

.maac-ministerio-section__body p {
	margin: 0;
	font-size: 1rem;
	line-height: 1.65;
	color: #374151;
}

.maac-ministerio-aside {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	min-width: 0;
}

.maac-ministerio-departments {
	margin: 0;
	padding: 1rem 1.25rem 1.25rem;
	list-style: none;
}

.maac-ministerio-departments li {
	display: flex;
	gap: 0.75rem;
	padding: 0.65rem 0.75rem;
	border: 1px solid #f3f4f6;
	border-radius: 0.5rem;
	font-size: 0.875rem;
	line-height: 1.45;
	color: #374151;
}

.maac-ministerio-departments li + li {
	margin-top: 0.5rem;
}

.maac-ministerio-departments__num {
	display: flex;
	width: 1.5rem;
	height: 1.5rem;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	border-radius: 0.25rem;
	background: var(--maac-verde);
	font-size: 0.75rem;
	font-weight: 700;
	color: #fff;
}

.maac-ministerio-contact-card {
	padding: 1.5rem;
	border-radius: 1rem;
	background: linear-gradient(135deg, var(--maac-verde), #047857, var(--maac-azul));
	color: #fff;
	box-shadow: 0 10px 25px rgb(61 154 110 / 0.2);
}

.maac-ministerio-contact-card h3 {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 700;
}

.maac-ministerio-contact-card ul {
	margin: 1.25rem 0 0;
	padding: 0;
	list-style: none;
}

.maac-ministerio-contact-card li {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	font-size: 0.875rem;
}

.maac-ministerio-contact-card li + li {
	margin-top: 1rem;
}

.maac-ministerio-contact-card strong {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	opacity: 0.85;
}

.maac-ministerio-contact-card a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.maac-ministerio-contact-card__btn {
	margin-top: 1.25rem;
	width: 100%;
	justify-content: center;
	background: #fff !important;
	color: var(--maac-verde) !important;
	border: 0 !important;
}

.maac-project-section-nav {
	display: block;
	overflow-x: auto;
	border-bottom: 1px solid #e5e7eb;
	background: #fff;
}

.maac-project-section-nav .maac-container {
	display: flex;
	gap: 0.5rem;
	padding-block: 0.75rem;
}

.maac-project-section-nav a {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	min-height: 2.75rem;
	padding: 0.5rem 0.85rem;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	background: var(--maac-cinza-bg);
	font-size: 0.75rem;
	font-weight: 600;
	color: #374151;
	text-decoration: none;
}

.maac-project-section-nav a:hover {
	border-color: var(--maac-verde);
	color: var(--maac-verde);
}

.maac-project-section-nav a.is-muted {
	color: #9ca3af;
	border-color: #f3f4f6;
}

.maac-project-band {
	background: #fff;
}

.maac-project-band.maac-band-muted {
	border-top: 0;
	border-bottom: 0;
	background: #fff;
}

@media (min-width: 640px) {
	.maac-meta-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.maac-staff-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.maac-doc-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.maac-project-news-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.maac-ministerio-highlights {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.maac-project-gallery__slide img {
		width: 20rem;
		height: 13rem;
	}

	.maac-project-profile-main .maac-project-gallery__slide img {
		width: 14rem;
		height: 9.25rem;
	}
}

@media (min-width: 768px) {
	.maac-related-news__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.maac-minister-message__grid {
		grid-template-columns: 1fr 2fr;
		gap: 3.5rem;
		align-items: start;
	}

	.maac-minister-message__identity {
		text-align: left;
	}

	.maac-minister-message__mobile-head {
		display: none;
	}

	.maac-minister-message__aside {
		position: sticky;
		top: 6rem;
	}

	.maac-project-section-nav {
		display: none;
	}

	.maac-ministerio-section-nav {
		display: none;
	}

	.maac-ministerio-profile {
		grid-template-columns: minmax(0, 17rem) minmax(0, 1fr) minmax(0, 20rem);
		gap: 2.5rem;
	}

	.maac-ministerio-sidebar {
		display: block;
		position: sticky;
		top: 6rem;
	}

	.maac-ministerio-aside {
		position: sticky;
		top: 6rem;
	}

	.maac-ministerio-highlights {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.maac-project-profile-layout {
		grid-template-columns: minmax(0, 17rem) minmax(0, 1fr);
		gap: 2.5rem;
	}

	.maac-project-sidebar {
		display: block;
		position: sticky;
		top: 6rem;
	}

	.maac-project-news-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Areas tematicas */
.maac-container--area {
	width: min(100%, 92vw);
	max-width: none;
}

@media (min-width: 768px) {
	.maac-container--area {
		width: 80%;
		max-width: 96rem;
	}
}

.maac-area-hero {
	position: relative;
	overflow: hidden;
	min-height: 280px;
	color: #fff;
	background-color: #1b4332;
	background-image: var(--maac-area-hero-image);
	background-size: cover;
	background-position: center;
}

.maac-area-hero--index {
	min-height: 300px;
}

.maac-area-hero--gradient {
	background-image: linear-gradient(135deg, #034e4b 0%, #046865 45%, #21a0a0 100%);
}

.maac-area-hero__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(120deg, rgb(15 23 42 / 0.82), rgb(47 125 92 / 0.55) 45%, rgb(13 71 161 / 0.45)),
		linear-gradient(to top, rgb(0 0 0 / 0.55), transparent 60%);
}

.maac-area-hero .maac-container--area {
	position: relative;
	z-index: 1;
	display: flex;
	min-height: inherit;
	flex-direction: column;
	justify-content: flex-end;
	padding-block: 2.5rem 2rem;
}

.maac-area-hero__eyebrow {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgb(255 255 255 / 0.82);
}

.maac-area-hero h1 {
	margin: 0.65rem 0 0;
	max-width: 52rem;
	font-size: clamp(1.85rem, 4vw, 2.85rem);
	font-weight: 700;
	line-height: 1.12;
}

.maac-area-hero__lead {
	margin: 0.85rem 0 0;
	max-width: 48rem;
	font-size: 1.05rem;
	line-height: 1.6;
	color: rgb(255 255 255 / 0.92);
}

.maac-area-hero__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	margin: 1.25rem 0 0;
	padding: 0;
}

.maac-area-hero__stat {
	display: grid;
	gap: 0.1rem;
	min-width: 6.5rem;
	padding: 0.65rem 0.9rem;
	border: 1px solid rgb(255 255 255 / 0.22);
	border-radius: 0.75rem;
	background: rgb(255 255 255 / 0.1);
	backdrop-filter: blur(6px);
}

.maac-area-hero__stat dt {
	margin: 0;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgb(255 255 255 / 0.75);
}

.maac-area-hero__stat dd {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1;
}

.maac-area-breadcrumbs {
	padding: 0.85rem 0;
	border-bottom: 1px solid #e5e7eb;
	background: #fff;
	font-size: 0.875rem;
	color: #4b5563;
}

.maac-area-breadcrumbs a {
	color: var(--maac-azul);
	text-decoration: none;
}

.maac-area-breadcrumbs a:hover {
	color: var(--maac-verde-escuro);
	text-decoration: underline;
}

.maac-area-breadcrumbs [aria-current="page"] {
	color: #6b7280;
}

.maac-area-page__body {
	padding-block: 2.75rem 4rem;
	background: #fff;
}

.maac-area-page__content,
.maac-area-page__intro {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.maac-area-page__intro {
	margin-bottom: 2rem;
}

.prose-maac-area {
	max-width: 46rem;
	font-size: 1.02rem;
	line-height: 1.75;
	color: var(--maac-texto, #1a2e2d);
}

.prose-maac-area .lead,
.prose-maac-area p.lead {
	font-size: 1.12rem;
	line-height: 1.65;
	color: var(--maac-texto-suave, #4a6361);
}

.prose-maac-area h2 {
	margin-top: 2.25rem;
	padding-bottom: 0.45rem;
	border-bottom: 1px solid rgb(var(--maac-storm-rgb) / 0.1);
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--maac-storm, #046865);
}

.prose-maac-area h3 {
	margin-top: 1.65rem;
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--maac-texto, #1a2e2d);
}

.prose-maac-area p {
	margin-block: 0.85rem;
}

.prose-maac-area table {
	width: 100%;
	margin-block: 1.25rem;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

.prose-maac-area th,
.prose-maac-area td {
	padding: 0.7rem 0;
	border: 0;
	border-bottom: 1px solid rgb(var(--maac-storm-rgb) / 0.1);
	text-align: left;
	vertical-align: top;
}

.prose-maac-area th {
	padding-bottom: 0.55rem;
	background: transparent;
	font-weight: 700;
	color: var(--maac-storm, #046865);
	border-bottom-color: rgb(var(--maac-storm-rgb) / 0.18);
}

.maac-area-page__projects {
	margin-top: 3rem;
	padding-top: 2.25rem;
	border-top: 1px solid rgb(var(--maac-storm-rgb) / 0.1);
}

.maac-area-page__section-head {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 1.35rem;
}

.maac-area-page__section-head h2 {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--maac-storm, #046865);
}

.maac-area-page__projects-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 1.5rem;
}

.maac-area-page__projects-grid > .maac-card-projeto {
	flex: 1 1 100%;
	width: 100%;
	max-width: 100%;
}

@media (min-width: 768px) {
	.maac-area-page__projects-grid {
		gap: clamp(1.75rem, 3.5vw, 2.75rem) 5%;
	}

	.maac-area-page__projects-grid > .maac-card-projeto {
		flex: 0 1 40%;
		width: 40%;
		max-width: 40%;
	}
}

.maac-areas-index__title {
	margin: 0 0 1.35rem;
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--maac-storm, #046865);
}

.maac-areas-index__grid {
	display: grid;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.maac-areas-index__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 960px) {
	.maac-areas-index__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.maac-area-index-card {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 0.55rem;
	height: 100%;
	min-height: 9rem;
	padding: 1.35rem 1.3rem 1.4rem;
	border: 1px solid rgb(var(--maac-storm-rgb) / 0.14);
	border-radius: 3px;
	background: #fff;
	box-shadow: none;
	text-decoration: none;
	transform: none;
	transition:
		background-color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
		border-color 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.maac-area-index-card:hover,
.maac-area-index-card:focus-visible {
	background: rgb(var(--maac-sea-rgb) / 0.1);
	border-color: rgb(var(--maac-sea-rgb) / 0.28);
	box-shadow: none;
	transform: none;
	outline: none;
}

.maac-area-index-card:focus-visible {
	outline: 2px solid rgb(var(--maac-sea-rgb) / 0.45);
	outline-offset: 2px;
}

.maac-area-index-card__title {
	font-size: 1.08rem;
	font-weight: 750;
	line-height: 1.25;
	letter-spacing: -0.015em;
	color: var(--maac-storm, #046865);
}

.maac-area-index-card__desc {
	max-width: 34ch;
	font-size: 0.86rem;
	line-height: 1.55;
	color: var(--maac-texto-suave, #4a6361);
}

.maac-area-index-card:hover .maac-area-index-card__desc,
.maac-area-index-card:focus-visible .maac-area-index-card__desc {
	color: rgb(var(--maac-storm-rgb) / 0.72);
}

@media (min-width: 1024px) {
	.maac-area-hero {
		min-height: 340px;
	}
}

/* Filtros de arquivo (eventos, projetos) */
.maac-evento-filters,
.maac-projeto-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.75rem;
}

.maac-evento-filters__btn,
.maac-projeto-filters__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.65rem 1.25rem;
	border: 1px solid #d1d5db;
	border-radius: var(--maac-raio, 6px);
	background: #fff;
	font-size: 0.875rem;
	font-weight: 700;
	color: #1f2937;
	text-decoration: none;
	transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.maac-evento-filters__btn:hover,
.maac-projeto-filters__btn:hover {
	background: #f9fafb;
	border-color: #9ca3af;
	color: #111827;
}

.maac-evento-filters__btn.is-active,
.maac-projeto-filters__btn.is-active {
	background: var(--maac-sea, #21a0a0);
	border-color: var(--maac-sea, #21a0a0);
	color: var(--maac-btn-on-fill, #fff);
}

.maac-evento-filters__btn.is-active:hover,
.maac-projeto-filters__btn.is-active:hover {
	background: var(--maac-storm, #046865);
	border-color: var(--maac-storm, #046865);
	color: var(--maac-btn-on-fill, #fff);
}

.maac-projeto-filters__count {
	padding: 0.1rem 0.45rem;
	border-radius: 999px;
	background: #e5e7eb;
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 1.2;
}

.maac-projeto-filters__btn.is-active .maac-projeto-filters__count {
	background: rgb(61 154 110 / 0.15);
	color: var(--maac-verde-escuro);
}

.maac-evento-featured-wrap {
	margin-bottom: 2.5rem;
}

.maac-evento-featured-label,
.maac-evento-grid-head h2 {
	margin: 0 0 1rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--maac-azul);
}

.maac-evento-grid-head h2 {
	font-size: 1.25rem;
	letter-spacing: normal;
	text-transform: none;
	color: #111827;
}

.maac-eventos-archive .maac-evento-grid {
	margin-top: 1rem;
}

.maac-eventos-archive .maac-section-y {
	padding-block: clamp(1.75rem, 3vw, 2.75rem);
}

.maac-related-eventos .maac-evento-grid {
	margin-top: 1.25rem;
}

.maac-badge--aberto { background: #e8f5e9; color: #2e7d32; }
.maac-badge--encerrado { background: #eceff1; color: #546e7a; }
.maac-badge--adjudicado { background: #ffebee; color: #c62828; }

/* Single evento */
.maac-evento-banner {
	position: relative;
	overflow: hidden;
}

.maac-evento-banner--image {
	min-height: 280px;
}

.maac-evento-banner--image .maac-evento-banner__overlay {
	min-height: 280px;
	display: flex;
	align-items: flex-end;
}

.maac-evento-banner--gradient {
	background: linear-gradient(135deg, #046865 0%, #21a0a0 45%, #21a0a0 100%);
}

.maac-evento-banner__media {
	position: absolute;
	inset: 0;
}

.maac-evento-banner__media img,
.maac-evento-banner__lightbox {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.maac-evento-banner__lightbox {
	border: 0;
	padding: 0;
	background: transparent;
	cursor: zoom-in;
}

.maac-evento-banner__overlay {
	position: relative;
	padding: 2.5rem 0 2.75rem;
	background: linear-gradient(180deg, rgb(13 71 161 / 0.15) 0%, rgb(13 71 161 / 0.72) 100%);
	color: #fff;
}

.maac-evento-banner--gradient .maac-evento-banner__overlay {
	background: transparent;
}

.maac-evento-banner__inner {
	display: block;
	max-width: 48rem;
}

.maac-evento-banner__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 0.85rem;
}

.maac-evento-banner__tipo {
	display: inline-flex;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgb(255 255 255 / 0.88);
}

.maac-evento-banner .maac-badge {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent !important;
	box-shadow: none;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: rgb(255 255 255 / 0.92);
}

.maac-evento-banner h1 {
	margin: 0;
	max-width: 52rem;
	font-size: clamp(1.65rem, 3.5vw, 2.6rem);
	font-weight: 700;
	line-height: 1.15;
	text-wrap: balance;
}

.maac-evento-banner__lead {
	margin: 0.9rem 0 0;
	max-width: 44rem;
	font-size: 1.05rem;
	line-height: 1.55;
	color: rgb(255 255 255 / 0.9);
}

.maac-evento-breadcrumbs {
	padding: 0.85rem 0;
	background: #fff;
	border-bottom: 1px solid #eef2f7;
}

.maac-evento-page {
	padding: 2rem 0 3rem;
	background: #f8fafc;
}

.maac-evento-page__inner {
	max-width: 48rem;
}

.maac-evento-main {
	padding: 1.75rem 1.5rem;
	border: 1px solid #e8edf3;
	border-radius: 1rem;
	background: #fff;
	box-shadow: 0 4px 20px rgb(15 23 42 / 0.04);
}

.maac-single-evento .maac-evento-lead {
	margin-top: 0;
	border-left-color: var(--maac-azul);
}

.maac-evento-prose {
	margin-top: 0;
}

.maac-evento-details {
	margin-top: 2rem;
	padding-top: 1.75rem;
	border-top: 1px solid rgb(var(--maac-storm-rgb) / 0.12);
}

.maac-evento-details__title {
	margin: 0 0 1.25rem;
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--maac-storm, #046865);
}

.maac-evento-details__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem 1.5rem;
}

.maac-evento-details__grid .maac-meta-item {
	padding: 0;
	border-bottom: 0;
}

.maac-evento-details__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-top: 1.5rem;
}

.maac-evento-main .maac-share-bar {
	margin-top: 2rem;
}

.maac-evento-main__footer {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid #eef2f7;
}

.maac-btn--block {
	display: flex;
	width: 100%;
	justify-content: center;
}

.maac-btn--calendar {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border-color: #4285f4;
	background: #fff;
	color: #1a73e8;
}

.maac-btn--calendar:hover,
.maac-btn--calendar:focus-visible {
	border-color: #1a73e8;
	background: rgb(66 133 244 / 0.08);
	color: #1557b0;
}

.maac-related-eventos {
	padding: 2.5rem 0 3.5rem;
	background: #fff;
	border-top: 1px solid #eef2f7;
}

.maac-related-eventos h2 {
	margin: 0;
	font-size: 1.5rem;
}

.maac-related-eventos__lead {
	margin: 0.45rem 0 1.5rem;
	color: #6b7280;
}

@media (min-width: 768px) {
	.maac-evento-details__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.maac-evento-details__grid {
		grid-template-columns: 1fr;
	}
}

@media (min-width: 1024px) {
	.maac-evento-banner--image {
		min-height: 360px;
	}

	.maac-evento-banner--image .maac-evento-banner__overlay {
		min-height: 360px;
	}
}

/* Single caso de estudo / historia de sucesso */
.maac-story-banner {
	position: relative;
	overflow: hidden;
}

.maac-story-banner--image {
	min-height: 300px;
}

.maac-story-banner--image .maac-story-banner__overlay {
	min-height: 300px;
	display: flex;
	align-items: flex-end;
}

.maac-story-banner--gradient.maac-story-banner--case {
	background: linear-gradient(135deg, #034e4b 0%, #046865 45%, #21a0a0 100%);
}

.maac-story-banner--gradient.maac-story-banner--success {
	background: linear-gradient(135deg, #046865 0%, #21a0a0 45%, #5ec9c9 100%);
}

.maac-story-banner__media {
	position: absolute;
	inset: 0;
}

.maac-story-banner__media img,
.maac-story-banner__lightbox {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.maac-story-banner__lightbox {
	border: 0;
	padding: 0;
	background: transparent;
	cursor: zoom-in;
}

.maac-story-banner__overlay {
	position: relative;
	padding: 2.75rem 0 3rem;
	background: linear-gradient(180deg, rgb(15 23 42 / 0.1) 0%, rgb(15 23 42 / 0.78) 100%);
	color: #fff;
}

.maac-story-banner--gradient .maac-story-banner__overlay {
	background: transparent;
}

.maac-story-banner__badge {
	display: inline-block;
	margin-bottom: 0.85rem;
	padding: 0.3rem 0.85rem;
	border-radius: 999px;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.maac-story-banner--case .maac-story-banner__badge {
	background: rgb(99 102 241 / 0.92);
	color: #fff;
}

.maac-story-banner--success .maac-story-banner__badge {
	background: rgb(245 158 11 / 0.95);
	color: #1f2937;
}

.maac-story-banner h1 {
	margin: 0;
	max-width: 52rem;
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: 700;
	line-height: 1.15;
}

.maac-story-banner__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1.25rem;
	margin-top: 1rem;
}

.maac-story-banner__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: rgb(255 255 255 / 0.92);
}

.maac-story-banner__meta-item svg {
	flex-shrink: 0;
	opacity: 0.85;
}

.maac-story-banner__meta-item a {
	color: inherit;
	text-decoration: none;
}

.maac-story-banner__meta-item a:hover {
	text-decoration: underline;
}

.maac-story-breadcrumbs {
	padding: 0.85rem 0;
	background: #fff;
	border-bottom: 1px solid #eef2f7;
}

.maac-story-page {
	padding: 2rem 0 3rem;
	background: #f8fafc;
}

.maac-story-main {
	max-width: 48rem;
	margin-inline: auto;
	padding: 1.75rem 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.maac-single-story .maac-story-highlight {
	margin-top: 0;
	margin-bottom: 1.5rem;
	padding: 1.35rem 1.5rem;
	border: 0;
	border-radius: 0.85rem;
}

.maac-single-story .maac-story-highlight strong {
	margin-bottom: 0.5rem;
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.maac-single-story .maac-story-highlight--case {
	background: rgb(99 102 241 / 0.07);
	border: 0;
}

.maac-single-story .maac-story-highlight--case strong {
	color: #046865;
}

.maac-single-story .maac-story-highlight--success {
	background: rgb(245 158 11 / 0.09);
	border: 0;
}

.maac-single-story .maac-story-highlight--success strong {
	color: #21a0a0;
}

.maac-single-story .maac-story-highlight p {
	font-size: 1rem;
	line-height: 1.65;
	color: #374151;
}

.maac-single-story .maac-story-lead {
	margin-top: 0;
}

.maac-single-story .maac-article-lead,
.maac-single-story .prose-maac-article p,
.maac-single-story .prose-maac-article li {
	text-align: justify;
	hyphens: auto;
	text-justify: inter-word;
}

.maac-story-prose {
	margin-top: 0.25rem;
}

.maac-story-main .maac-share-bar {
	margin-top: 2rem;
}

.maac-story-main__footer {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 0;
}

.maac-single-story .maac-story-back.maac-btn--secondary,
.maac-single-story a.maac-story-back.maac-btn--secondary {
	border: 0;
	border-color: transparent;
	box-shadow: none;
	background: rgb(var(--maac-storm-rgb, 4 104 101) / 0.08);
	color: var(--maac-storm, #046865);
}

.maac-single-story .maac-story-back.maac-btn--secondary:hover,
.maac-single-story .maac-story-back.maac-btn--secondary:focus-visible,
.maac-single-story a.maac-story-back.maac-btn--secondary:hover,
.maac-single-story a.maac-story-back.maac-btn--secondary:focus-visible {
	border: 0;
	border-color: transparent;
	background: rgb(var(--maac-storm-rgb, 4 104 101) / 0.14);
	color: var(--maac-storm, #046865);
}

.maac-related-stories {
	margin-inline: calc(50% - 50vw);
	width: 100vw;
	max-width: 100vw;
	padding: clamp(2rem, 4vw, 2.75rem) clamp(1rem, 3vw, 1.5rem);
	background: var(--maac-cinza-bg, #f0f7f5);
	border-top: 1px solid var(--maac-borda, #d5e8e4);
}

.maac-related-stories h2 {
	margin: 0;
	font-size: 1.5rem;
	color: var(--maac-texto, #1a2e2d);
}

.maac-related-stories__lead {
	margin: 0.45rem 0 1.5rem;
	color: var(--maac-texto-suave, #4a6361);
}

.maac-related-stories .maac-story-grid {
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.maac-related-stories .maac-story-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.maac-story-banner--image {
		min-height: 380px;
	}

	.maac-story-banner--image .maac-story-banner__overlay {
		min-height: 380px;
	}

	.maac-related-stories .maac-story-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Compromissos internacionais — cards estilo tratado */
.maac-intl-commitments__heading {
	margin: 0 0 2rem;
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	font-weight: 700;
	color: var(--maac-storm, #046865);
}

.maac-intl-commitments-intro {
	max-width: 46rem;
	margin-bottom: 2.5rem;
	color: var(--maac-texto-suave, #4a6361);
	font-size: 1rem;
	line-height: 1.65;
}

.maac-intl-commitments__grid {
	display: grid;
	gap: 2.75rem 2rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
	padding: 0.75rem 0 0;
	list-style: none;
}

.maac-intl-treaty-card {
	--maac-treaty-color: #2563a8;
	--maac-treaty-rgb: 37, 99, 168;
	min-width: 0;
}

.maac-intl-treaty-card__frame {
	position: relative;
	display: block;
	min-height: 11.5rem;
	margin-top: 1.35rem;
	margin-left: 1.35rem;
	padding: 1.5rem 1.35rem 1.35rem 6.75rem;
	border: 2px solid var(--maac-treaty-color);
	background: #fff;
}

.maac-intl-treaty-card__hit {
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
	text-decoration: none;
}

.maac-intl-treaty-card__hit:focus-visible {
	outline: 2px solid var(--maac-treaty-color);
	outline-offset: 3px;
}

.maac-intl-treaty-card__visual,
.maac-intl-treaty-card__body {
	position: relative;
}

.maac-intl-treaty-card__docs a {
	position: relative;
	z-index: 2;
}

.maac-intl-treaty-card__visual {
	position: absolute;
	left: -1.35rem;
	top: -1.35rem;
	width: 7.5rem;
	z-index: 2;
}

.maac-intl-treaty-card__cover {
	margin: 0;
	aspect-ratio: 3 / 4.15;
	overflow: hidden;
	border: 1px solid rgb(var(--maac-treaty-rgb) / 0.35);
	box-shadow:
		0 14px 28px rgb(0 0 0 / 0.16),
		0 0 0 1px rgb(255 255 255 / 0.65) inset;
}

.maac-intl-treaty-card__cover img,
.maac-intl-treaty-card__cover-fallback {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.maac-intl-treaty-card__cover-fallback {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 0.85rem 0.75rem;
	background:
		linear-gradient(165deg, rgb(255 255 255 / 0.18), transparent 42%),
		linear-gradient(180deg, color-mix(in srgb, var(--maac-treaty-color) 88%, #fff), var(--maac-treaty-color));
	color: #fff;
}

.maac-intl-treaty-card__cover-label {
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	word-break: break-word;
}

.maac-intl-treaty-card__docs {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.35rem 0.45rem;
	margin-top: 0.55rem;
	font-size: 0.8125rem;
	line-height: 1.2;
}

.maac-intl-treaty-card__pdf-icon {
	display: inline-flex;
	color: #d93025;
}

.maac-intl-treaty-card__doc-links a,
.maac-intl-treaty-card__site-link {
	color: var(--maac-treaty-color);
	font-weight: 600;
	text-decoration: none;
}

.maac-intl-treaty-card__doc-links a:hover,
.maac-intl-treaty-card__site-link:hover {
	text-decoration: underline;
}

.maac-intl-treaty-card__doc-sep {
	color: var(--maac-texto-suave, #4a6361);
}

.maac-intl-treaty-card__body {
	min-width: 0;
}

.maac-intl-treaty-card__title {
	margin: 0 0 0.85rem;
	font-size: clamp(1.05rem, 1.8vw, 1.2rem);
	font-weight: 700;
	line-height: 1.35;
	color: var(--maac-treaty-color);
}

.maac-intl-treaty-card__title a {
	color: inherit;
	text-decoration: none;
}

.maac-intl-treaty-card__title a:hover {
	text-decoration: underline;
}

.maac-intl-treaty-card__text {
	margin: 0;
	color: #2f3a39;
	font-size: 0.9375rem;
	line-height: 1.65;
}

.maac-intl-treaty-card__progress {
	display: grid;
	gap: 0.35rem;
	margin-top: 0.85rem;
}

.maac-intl-treaty-card__progress-track {
	height: 0.4rem;
	border-radius: 999px;
	background: rgb(var(--maac-treaty-rgb) / 0.14);
	overflow: hidden;
}

.maac-intl-treaty-card__progress-bar {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--maac-treaty-color);
}

.maac-intl-treaty-card__progress-label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	color: var(--maac-texto-suave, #4a6361);
	font-size: 0.75rem;
}

.maac-intl-treaty-card__progress-label strong {
	color: var(--maac-treaty-color);
	font-size: 0.8125rem;
}

.maac-intl-treaty-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.75rem;
	margin: 0.85rem 0 0;
	color: var(--maac-texto-suave, #4a6361);
	font-size: 0.8125rem;
}

.maac-intl-treaty-card__meta span:not(:last-child)::after {
	content: "·";
	margin-left: 0.75rem;
	color: rgb(var(--maac-treaty-rgb) / 0.55);
}

@media (max-width: 960px) {
	.maac-intl-commitments__grid {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}
}

@media (max-width: 639px) {
	.maac-intl-treaty-card__frame {
		margin-left: 0;
		padding: 1.15rem 1rem 1rem;
	}

	.maac-intl-treaty-card__visual {
		position: relative;
		left: auto;
		top: auto;
		width: min(7rem, 42vw);
		margin: -2.35rem auto 0.85rem;
	}

	.maac-intl-treaty-card__body {
		text-align: left;
	}
}

/* Detalhe — compromisso internacional */
.maac-intl-commitment-hero__map img {
	opacity: 0.22;
}

.maac-intl-commitment-hero__inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: clamp(16rem, 34vh, 24rem);
	padding-top: clamp(2.5rem, 7vh, 4.5rem);
	padding-bottom: clamp(2.25rem, 4.5vw, 3.25rem);
}

/* Detalhe — compromisso internacional */
.maac-intl-commitment-hero {
	--maac-treaty-color: #2563a8;
	--maac-treaty-rgb: 37, 99, 168;
	position: relative;
	overflow: hidden;
	color: #fff;
	background:
		linear-gradient(
			135deg,
			color-mix(in srgb, var(--maac-treaty-color) 92%, #000) 0%,
			var(--maac-treaty-color) 52%,
			color-mix(in srgb, var(--maac-treaty-color) 62%, var(--maac-storm, #046865)) 100%
		);
}

.maac-intl-commitment-hero__pattern {
	position: absolute;
	inset: 0;
	opacity: 0.16;
	background-image:
		radial-gradient(circle at 18% 22%, rgb(255 255 255 / 0.34) 0, transparent 42%),
		radial-gradient(circle at 82% 0%, rgb(255 255 255 / 0.18) 0, transparent 36%),
		linear-gradient(135deg, transparent 0%, rgb(0 0 0 / 0.1) 100%);
	pointer-events: none;
}

.maac-intl-commitment-hero__eyebrow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.75rem;
	margin: 0 0 0.65rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	opacity: 0.92;
}

.maac-intl-commitment-hero__eyebrow span:not(:first-child)::before {
	content: "·";
	margin: 0 0.75rem;
	opacity: 0.75;
}

.maac-intl-commitment-hero h1 {
	margin: 0;
	max-width: 46rem;
	font-size: clamp(1.85rem, 4vw, 2.65rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.maac-intl-commitment-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.85rem;
	margin: 0.75rem 0 0;
	font-size: 0.9375rem;
	opacity: 0.92;
}

.maac-intl-commitment-hero__meta span:not(:last-child)::after {
	content: "·";
	margin-left: 0.85rem;
	opacity: 0.75;
}

.maac-intl-commitment-hero__lead {
	margin: 0.85rem 0 0;
	max-width: 42rem;
	font-size: 1.02rem;
	line-height: 1.65;
	opacity: 0.94;
}

.maac-intl-commitment-hero__progress {
	max-width: 28rem;
	margin-top: 1.35rem;
	padding: 0.85rem 1rem;
	border: 1px solid rgb(255 255 255 / 0.22);
	border-radius: 10px;
	background: rgb(255 255 255 / 0.1);
	backdrop-filter: blur(6px);
}

.maac-intl-commitment-hero__progress-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem 0.65rem;
	margin-bottom: 0.55rem;
	font-size: 0.8125rem;
}

.maac-intl-commitment-hero__progress-head strong {
	font-size: 0.9375rem;
	font-weight: 700;
}

.maac-intl-commitment-hero__progress-head em {
	margin-left: auto;
	font-style: normal;
	font-size: 1rem;
	font-weight: 800;
}

.maac-intl-commitment-hero__progress-track {
	height: 0.45rem;
	border-radius: 999px;
	background: rgb(255 255 255 / 0.22);
	overflow: hidden;
}

.maac-intl-commitment-hero__progress-bar {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, #fff, rgb(255 255 255 / 0.72));
}

.maac-intl-commitment-detail__article {
	padding-block: clamp(2rem, 5vw, 3rem);
}

.maac-intl-commitment-detail__grid {
	display: grid;
	grid-template-columns: minmax(0, 16rem) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 2.75rem);
	align-items: start;
}

.maac-intl-commitment-detail__cover {
	margin: 0;
	aspect-ratio: 3 / 4.15;
	overflow: hidden;
	border: 1px solid rgb(var(--maac-treaty-rgb) / 0.35);
	box-shadow: 0 16px 32px rgb(0 0 0 / 0.12);
}

.maac-intl-commitment-detail__cover img,
.maac-intl-commitment-detail__cover-fallback {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.maac-intl-commitment-detail__cover-fallback {
	display: flex;
	align-items: flex-end;
	padding: 1rem;
	background:
		linear-gradient(165deg, rgb(255 255 255 / 0.18), transparent 42%),
		linear-gradient(180deg, color-mix(in srgb, var(--maac-treaty-color) 88%, #fff), var(--maac-treaty-color));
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
}

.maac-intl-commitment-detail__docs {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--maac-borda, #d5e8e4);
}

.maac-intl-commitment-detail__docs-label {
	margin: 0 0 0.5rem;
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--maac-texto-suave, #4a6361);
}

.maac-intl-commitment-detail__docs ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.maac-intl-commitment-detail__docs li + li {
	margin-top: 0.35rem;
}

.maac-intl-commitment-detail__docs a {
	color: var(--maac-treaty-color);
	font-weight: 600;
	text-decoration: none;
}

.maac-intl-commitment-detail__docs a:hover {
	text-decoration: underline;
}

.maac-intl-commitment-detail__official {
	margin: 1rem 0 0;
}

.maac-intl-commitment-detail__lead {
	margin: 0 0 1.25rem;
	font-size: 1.0625rem;
	line-height: 1.65;
	color: #2f3a39;
}

.maac-intl-commitment-progress {
	margin: 0 0 1.75rem;
	padding: 1.25rem 1.35rem;
	border: 1px solid rgb(var(--maac-treaty-rgb) / 0.28);
	border-left: 4px solid var(--maac-treaty-color);
	background: rgb(var(--maac-treaty-rgb) / 0.05);
}

.maac-intl-commitment-progress__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin-bottom: 0.85rem;
}

.maac-intl-commitment-progress__head h2 {
	margin: 0;
	font-size: 1.05rem;
	color: var(--maac-storm, #046865);
}

.maac-intl-commitment-progress__level {
	display: flex;
	align-items: baseline;
	gap: 0.65rem;
	margin: 0;
	font-size: 0.9375rem;
	color: var(--maac-texto-suave, #4a6361);
}

.maac-intl-commitment-progress__level strong {
	color: var(--maac-treaty-color);
	font-size: 1rem;
}

.maac-intl-commitment-progress__level span {
	font-weight: 700;
	color: var(--maac-storm, #046865);
}

.maac-intl-commitment-progress__track {
	height: 0.65rem;
	border-radius: 999px;
	background: rgb(var(--maac-treaty-rgb) / 0.16);
	overflow: hidden;
}

.maac-intl-commitment-progress__bar {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--maac-treaty-color), color-mix(in srgb, var(--maac-treaty-color) 70%, #fff));
}

.maac-intl-commitment-progress__summary {
	margin: 0.85rem 0 0;
	color: #2f3a39;
	font-size: 0.96875rem;
	line-height: 1.65;
}

.maac-intl-commitment-detail__body {
	margin-top: 0.5rem;
}

.maac-intl-commitment-detail__back {
	margin-top: 2rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--maac-borda, #d5e8e4);
}

.maac-intl-commitment-detail__news-more {
	margin: 2rem 0 0;
}

.maac-link-arrow--back::before {
	content: "← ";
}

@media (max-width: 900px) {
	.maac-intl-commitment-detail__grid {
		grid-template-columns: 1fr;
	}

	.maac-intl-commitment-detail__cover {
		max-width: 11rem;
	}

	.maac-intl-commitment-hero__progress {
		max-width: none;
	}

	.maac-intl-commitment-hero__progress-head em {
		margin-left: 0;
	}
}
