/* ============================================================
   style.css — CSS compartilhado do projeto TEIA
   Layouts de referência: pranchetas/Desktop (1366px) e pranchetas/Mobile (375px)
   ============================================================ */
/* === RESET & BASE === */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
img {
	max-width: 100%;
	display: block;
}
a {
	color: inherit;
	text-decoration: none;
}
ul,
ol {
	list-style: none;
}
button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	cursor: pointer;
}
/* === VARIÁVEIS GLOBAIS === */
:root {
	/* Cores */
	--color-red: #a61b1a;
	--color-yellow: #efa111;
	--color-gray: #ebebeb;
	--color-white: #fff;
	/* Tipografia (Adobe Fonts kit phc8eif) */
	--font-heading: "basic-sans", "Trebuchet MS", sans-serif;
	--font-body: "open-sans", "Segoe UI", Arial, sans-serif;
	/* Layout */
	--container-width: 1046px;
	--gutter: 16px;
	--header-height: 80px;
	--radius-card: 18px;
	--radius-full: 9999px;
	/* Setas/entalhes triangulares entre foto e bloco de cor */
	--arrow-depth: 35px;
}
/* === BASE GLOBAL === */
/* âncoras param abaixo do header fixo */
html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--header-height);
}
body {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 22px;
	color: var(--color-red);
	background: var(--color-white);
}
h1,
h2,
h3 {
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.2;
}
p {
	font-style: italic;
}
/* === CONTAINER INTERNO === */
.inner {
	width: 100%;
	max-width: calc(var(--container-width) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}
/* === COMPONENTES GLOBAIS === */
.section-title {
	font-size: 32px;
	line-height: 38px;
	margin-bottom: 11px;
}
.btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 166px;
	height: 48px;
	padding-inline: 21px;
	border: 1px solid var(--color-white);
	border-radius: var(--radius-full);
	font-family: var(--font-heading);
	font-size: 19px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--color-red);
	transition: background-color .2s, color .2s, border-color .2s;
}
.btn-outline--yellow {
	border-color: var(--color-yellow);
}
.btn-outline:hover,
.btn-outline:focus-visible {
	background: var(--color-red);
	border-color: var(--color-red);
	color: var(--color-white);
}
/* Listas de navegação: mesma estrutura no menu mobile e no rodapé */
.nav-list a {
	display: block;
	font-family: var(--font-heading);
	font-weight: 700;
	text-transform: uppercase;
}
.nav-list__group ul a::before {
	content: "> ";
}
/* === HEADER === */
.site-header {
	position: sticky;
	top: 0;
	z-index: 10;
	background: var(--color-yellow);
	color: var(--color-red);
}
.site-header .inner {
	display: flex;
	align-items: center;
	height: var(--header-height);
}
.site-header__logo img {
	width: 116px;
	height: auto;
}
.main-nav {
	margin-left: auto;
}
.main-nav>.nav-list {
	display: flex;
	gap: 26px;
}
/* texto do menu centralizado na altura do header (na prancheta fica ~7px mais abaixo) */
.main-nav>.nav-list>li>a {
	font-weight: 600;
	font-size: 20px;
	line-height: 1em;
	transition: color .2s;
}
.main-nav a:hover,
.main-nav a:focus-visible {
	color: var(--color-white);
}
/* Submenus (desktop): abrem no hover e no foco do teclado */
.main-nav .nav-list__group {
	position: relative;
}
.main-nav .nav-list__group>a {
	display: flex;
	align-items: center;
	gap: 7px;
}
.main-nav .nav-list__group>a::after {
	content: "";
	width: 12px;
	height: 12px;
	border: solid currentColor;
	border-width: 0 2px 2px 0;
	transform: translateY(-4px) rotate(45deg);
}
.main-nav .nav-list__group>ul {
	position: absolute;
	top: calc(100% + 20px);
	left: -16px;
	min-width: 230px;
	padding: 12px 16px 16px;
	background: var(--color-gray);
	box-shadow: 0 10px 20px rgb(0 0 0 / .15);
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s, visibility .2s;
}
.main-nav .nav-list__group:hover>ul,
.main-nav .nav-list__group:focus-within>ul {
	opacity: 1;
	visibility: visible;
}
.main-nav .nav-list__group>ul a {
	font-size: 18px;
	font-weight: 400;
	line-height: 32px;
}
.main-nav .nav-list__group>ul a:hover,
.main-nav .nav-list__group>ul a:focus-visible {
	color: var(--color-yellow);
}
.buttons-nav {
	margin: 0 0 0 26px;
}
.search-btn,
.menu-toggle {
	display: flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-heading);
	font-size: 20px;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--color-red);
	transition: color .2s;
}
.menu-toggle {
	display: none;
}
.search-btn path,
.menu-toggle path {
	transition: fill .2s;
}
.search-btn:hover,
.menu-toggle:hover {
	color: var(--color-white);
}
.search-btn:hover path,
.menu-toggle:hover path {
	fill: var(--color-white);
}
/* === SEÇÕES DA PÁGINA === */
/* Foto + conteúdo empilhados na mesma célula do grid (foto full-bleed, texto alinhado ao container) */
.hero,
.sobre,
.biblioteca {
	display: grid;
}
.hero>*,
.sobre>*,
.biblioteca>* {
	grid-area: 1 / 1;
}
/* texto sempre acima da foto (clip-path/position criam camada própria na foto) */
.hero>.inner,
.sobre>.inner,
.biblioteca>.inner {
	position: relative;
}
.hero__media img,
.hero__media video,
.sobre__media img,
.biblioteca__media img,
.acoes__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* --- hero --- */
.hero {
	background: var(--color-red);
	color: var(--color-white);
}
.hero__media {
	justify-self: end;
	width: calc(50% + 143px);
	height: 458px;
	border-left: 4px solid var(--color-yellow);
	/* seta vermelha: recorta um triângulo da foto e deixa o fundo da seção aparecer */
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 255px, var(--arrow-depth) 220px, 0 185px);
}
.hero__content {
	max-width: 344px;
	padding-top: 115px;
}
.hero__title {
	font-size: 40px;
	line-height: 48px;
	color: var(--color-yellow);
	margin-bottom: 24px;
}
.hero__content p {
	max-width: 310px;
}
.scroll-down {
	display: block;
	width: 24px;
	height: 24px;
	margin: 41px auto 0;
	color: var(--color-yellow);
}
.scroll-down::before {
	content: "";
	display: block;
	width: 17px;
	height: 17px;
	margin: 0 auto;
	border: solid currentColor;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
/* --- sobre --- */
.sobre {
	background: var(--color-yellow);
	color: var(--color-red);
}
.sobre__media {
	position: relative;
	justify-self: end;
	width: 50%;
	height: 455px;
}
.sobre__media::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, var(--color-yellow) 7px, rgb(239 161 17 / 0) 120px);
}
.sobre__content {
	max-width: 389px;
	padding: 146px 0 0 89px;
}
.sobre__content p {
	max-width: 300px;
	margin-bottom: 35px;
}
/* --- acoes --- */
.acoes {
	background: var(--color-red);
	color: var(--color-white);
	overflow: hidden;
	padding-bottom: 96px;
}
.acoes .inner {
	position: relative;
}
.acoes__head {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 59px 0 0 144px;
}
/* Foto em círculo cortada pelo topo da seção; enquadramento ampliado como na prancheta */
.acoes__photo {
	position: absolute;
	left: -114px;
	top: -125px;
	width: 304px;
	height: 304px;
	border-radius: 50%;
	overflow: hidden;
}
.acoes__photo img {
	width: 660px;
	height: 440px;
	max-width: none;
	margin: 65px 0 0 -201px;
}
.acoes__icon {
	position: relative;
	width: 78px;
	height: 78px;
}
.acoes__title {
	font-size: 32px;
	line-height: 39px;
	text-transform: uppercase;
}
.acoes__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-top: 75px;
}
.card-acao {
	display: block;
	min-height: 322px;
	padding: 0 16px 40px;
	border: 1px solid var(--color-white);
	border-radius: var(--radius-card);
	transition: background-color .2s;
}
.card-acao:hover,
.card-acao:focus-visible {
	background: rgb(255 255 255 / .06);
}
.card-acao__icon {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	width: 116px;
	height: 137px;
	padding-bottom: 14px;
	background: var(--color-yellow);
}
.card-acao__title {
	font-size: 32px;
	line-height: 36px;
	color: var(--color-yellow);
	margin: 13px 0 19px 3px;
}
/* --- biblioteca --- */
.biblioteca {
	background: var(--color-gray);
}
.biblioteca__media {
	justify-self: start;
	width: calc(50% - 59px + var(--arrow-depth));
	height: 340px;
	/* seta apontando para o texto: a própria foto avança em triângulo */
	clip-path: polygon(0 0, calc(100% - var(--arrow-depth)) 0, calc(100% - var(--arrow-depth)) 72px,
			100% 107px, calc(100% - var(--arrow-depth)) 142px, calc(100% - var(--arrow-depth)) 100%, 0 100%);
}
.biblioteca__media img {
	object-position: bottom;
}
.biblioteca__icon {
	position: absolute;
	top: 27px;
	right: var(--gutter);
	width: 78px;
	height: 78px;
}
.biblioteca__content {
	max-width: 320px;
	margin-left: calc(50% + 3px);
	padding-top: 89px;
}
.biblioteca .section-title {
	color: var(--color-yellow);
	margin-bottom: 18px;
}
.biblioteca__content p {
	max-width: 310px;
	margin-bottom: 25px;
	color: #833d61;
}
/* === FOOTER === */
.site-footer {
	background: var(--color-red);
	color: var(--color-white);
	padding: 36px 0 28px;
}
.site-footer .inner {
	display: grid;
	grid-template-columns: 304px auto 1fr;
	align-items: start;
}
.site-footer__logo img {
	width: 166px;
	height: auto;
	filter: brightness(0) invert(1);
	/* reaproveita o logo vermelho em branco */
}
.footer-nav .nav-list {
	display: grid;
	grid-template-columns: 223px 223px;
	column-gap: 41px;
	align-items: start;
	margin-top: 12px;
}
.footer-nav .nav-list>li:nth-child(1) {
	grid-area: 1 / 1;
}
.footer-nav .nav-list>li:nth-child(2) {
	grid-area: 2 / 1;
	border-bottom: 1px solid var(--color-yellow);
}
.footer-nav .nav-list>li:nth-child(3) {
	grid-area: 2 / 2;
}
.footer-nav .nav-list>li:nth-child(4) {
	grid-area: 3 / 2;
}
.footer-nav .nav-list>li:nth-child(5) {
	grid-area: 4 / 2;
}
.footer-nav .nav-list>li+li {
	border-top: 1px solid var(--color-yellow);
}
.footer-nav .nav-list>li {
	padding: 7px 0 6px;
}
.footer-nav .nav-list a {
	font-size: 16px;
	line-height: 24px;
	transition: color 0.2s;
}
.footer-nav .nav-list__group ul {
	padding-left: 23px;
	margin-top: -1px;
}
.footer-nav a:hover,
.footer-nav a:focus-visible {
	color: var(--color-yellow);
}
.social {
	display: flex;
	gap: 6px;
	justify-self: end;
	align-self: end;
}
.social img {
	width: 46px;
	height: 46px;
	transition: transform .2s;
}
.social a:hover img,
.social a:focus-visible img {
	transform: scale(1.08);
}
.site-footer__copy {
	grid-column: 1 / -1;
	margin-top: 53px;
	font-size: 14px;
	line-height: 20px;
	text-align: center;
}
.site-footer__copy a:hover {
	color: var(--color-yellow);
}
@media (max-width: 768px) {
	/* --- header + menu mobile --- */
	.site-header .inner {
		justify-content: space-between;
	}
	.buttons-nav {
		display: flex;
		gap: 46px;
		position: relative;
		margin: 0;
	}
	.buttons-nav::after {
		content: "";
		background-color: var(--color-white);
		width: 1px;
		height: 38px;
		display: block;
		position: absolute;
		top: 0;
		left: 50%;
		transform: translateX(-50%);
	}
	.search-btn,
	.menu-toggle {
		display: flex;
		flex-direction: column;
		gap: 3px;
	}
	.search-btn span,
	.menu-toggle span {
		font-size: 10px;
		line-height: 1.5em;
	}
	.main-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		padding: 35px 28px 46px;
		background: var(--color-red);
		max-height: calc(100dvh - var(--header-height));
		overflow-y: auto;
		box-shadow: 0 10px 20px rgb(0 0 0 / .25);
	}
	.site-header:has(.menu-toggle[aria-expanded="true"]) .main-nav {
		display: block;
	}
	.main-nav>.nav-list {
		display: block;
		max-width: 272px;
	}
	.main-nav>.nav-list>li+li {
		border-top: 1px solid var(--color-white);
	}
	.main-nav .nav-list__group>a::after {
		display: none;
	}
	.main-nav .nav-list__group>ul {
		position: static;
		min-width: 0;
		padding: 0 0 0 30px;
		background: none;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
	}
	/* menu mobile e rodapé compartilham tamanho e ritmo */
	.main-nav>.nav-list>li,
	.footer-nav .nav-list>li {
		padding: 9px 0 8px;
	}
	.main-nav>.nav-list>li>a,
	.main-nav .nav-list__group>ul a,
	.footer-nav .nav-list a {
		padding-top: 0;
		font-size: 19px;
		font-weight: 700;
		line-height: 29px;
		color: var(--color-white);
	}
	.main-nav>.nav-list>.nav-list__group>a {
		color: var(--color-yellow);
	}
	/* --- seções empilham: foto em cima, texto embaixo --- */
	.hero,
	.sobre,
	.biblioteca {
		display: block;
	}
	/* --- hero --- */
	.hero__media {
		width: 100%;
		height: 372px;
		border-left: 0;
		border-bottom: 3px solid var(--color-yellow);
		/* entalhe vermelho apontando para cima, perto da borda direita */
		clip-path: polygon(0 0, 100% 0, 100% 100%, calc(100% - 36px) 100%, calc(100% - 71px) calc(100% - var(--arrow-depth)),
				calc(100% - 106px) 100%, 0 100%);
	}
	.hero__content {
		max-width: none;
		padding: 44px 0 14px;
	}
	/* --- sobre --- */
	.sobre__media {
		width: 100%;
		height: 450px;
	}
	.sobre__media::before {
		background: linear-gradient(to bottom, rgb(239 161 17 / 0) 55%, var(--color-yellow) 98%);
	}
	.sobre__content {
		max-width: none;
		padding: 18px 0 47px;
	}
	/* --- acoes --- */
	.acoes {
		padding-bottom: 75px;
	}
	.acoes .inner {
		position: static;
		padding-inline: 0;
	}
	.acoes__head {
		display: block;
		position: relative;
		padding: 0;
	}
	.acoes__photo {
		position: static;
		width: 100%;
		height: calc(269px + var(--arrow-depth));
		border-radius: 0;
		clip-path: polygon(0 0, 100% 0, 100% 269px, 101px 269px, 66px 100%, 31px 269px, 0 269px);
	}
	.acoes__photo img {
		width: 100%;
		height: 100%;
		margin: 0;
	}
	.acoes__icon {
		position: absolute;
		top: 18px;
		right: 17px;
	}
	.acoes__title {
		padding: 22px var(--gutter) 0;
	}
	.acoes__grid {
		grid-template-columns: 1fr;
		gap: 25px;
		margin-top: 30px;
		padding-inline: var(--gutter);
	}
	/* --- biblioteca --- */
	.biblioteca__media {
		width: 100%;
		height: calc(269px + var(--arrow-depth));
		clip-path: polygon(0 0, 100% 0, 100% 269px, 101px 269px, 66px 100%, 31px 269px, 0 269px);
	}
	.biblioteca .inner {
		position: static;
	}
	.biblioteca {
		position: relative;
	}
	.biblioteca__icon {
		top: 37px;
		right: 17px;
	}
	.biblioteca__content {
		max-width: none;
		margin-left: 0;
		padding: 14px 0 56px;
	}
	/* --- footer --- */
	.site-footer {
		padding: 36px 0 37px;
	}
	.site-footer .inner {
		grid-template-columns: 1fr;
	}
	.footer-nav {
		padding-left: 31px;
		margin-top: 31px;
	}
	.footer-nav .nav-list {
		display: block;
		max-width: 273px;
		margin-top: 0;
	}
	.footer-nav .nav-list>li:nth-child(2) {
		border-bottom: 0;
	}
	.footer-nav .nav-list__group ul {
		padding-left: 29px;
		margin-top: 0;
	}
	.social {
		margin-top: 29px;
		gap: 8px;
	}
	.social img {
		width: 58px;
		height: 58px;
	}
	.site-footer__copy {
		max-width: 300px;
		margin: 37px auto 0;
	}
}
/* ============================================================
   Adicionado em: páginas "Sobre nós" (sobre.html, equipe.html, historia.html)
   ============================================================ */
/* --- hero de página interna: .hero + .hero--page --- */
.hero--page {
	background: var(--color-gray);
	color: #000;
}
.hero--page .hero__media {
	position: relative;
	width: calc(50% + 144px);
	height: 448px;
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 245px, var(--arrow-depth) 210px, 0 175px);
}
/* o texto fica por cima da foto no grid; só a coluna de texto recebe cliques */
.hero--page>.inner {
	pointer-events: none;
}
.hero--page .hero__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-height: 448px;
	padding: 52px 0 44px;
	pointer-events: auto;
}
/* breadcrumb no topo; título, texto e chevron ancorados embaixo */
.hero--page .hero__title {
	margin: auto 0 11px;
	color: var(--color-red);
}
.hero--page .scroll-down {
	margin: 51px auto 0;
	align-self: center;
}
.hero__media--video {
	background: #bc463e;
}
.hero__media--video img {
	object-position: top;
}
.hero__video-btn {
	position: absolute;
	right: max(var(--gutter), calc(100% - 663px));
	bottom: 30px;
}
.breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
}
.breadcrumb li+li::before {
	content: ">";
	margin-inline: 2px;
}
.breadcrumb {
	font-family: var(--font-heading);
	font-size: 14px;
	font-weight: 700;
	line-height: 18px;
	text-transform: uppercase;
	color: #833d61;
}
.breadcrumb [aria-current="page"] {
	text-decoration: underline;
	text-underline-offset: 1px;
}
.breadcrumb a:hover {
	text-decoration: underline;
}
.btn-outline--light {
	border-color: var(--color-white);
	color: var(--color-white);
	font-size: 20px;
}
/* botões redondos amarelos com "+" e "×" desenhados em CSS */
.btn-plus,
.btn-close {
	position: relative;
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--color-yellow);
	transition: background .2s;
}
.btn-plus::before,
.btn-plus::after,
.btn-close::before,
.btn-close::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 3px;
	border-radius: 2px;
	background: var(--color-white);
	transform: translate(-50%, -50%);
}
.btn-plus::after {
	transform: translate(-50%, -50%) rotate(90deg);
}
.btn-close {
	width: 33px;
	height: 33px;
}
.btn-close::before {
	width: 16px;
	transform: translate(-50%, -50%) rotate(45deg);
}
.btn-close::after {
	width: 16px;
	transform: translate(-50%, -50%) rotate(-45deg);
}
.btn-plus:hover,
.btn-plus:focus-visible,
.btn-close:hover,
.btn-close:focus-visible {
	background: var(--color-red);
}
/* --- conteúdo em coluna estreita --- */
.inner--narrow {
	max-width: calc(693px + 2 * var(--gutter));
}
.conteudo {
	padding: 32px 0 68px;
}
.conteudo .section-title {
	color: #000;
	margin-bottom: 25px;
}
.prose p {
	font-style: normal;
	color: #000;
}
.prose p+p {
	margin-top: 22px;
}
/* filete amarelo que sobrepõe a borda inferior da foto (galeria e popups) */
.gallery__slide figcaption::before,
.popup__body::before {
	content: "";
	position: relative;
	/* posicionado para ser pintado por cima da foto */
	display: block;
	width: 60px;
	height: 12px;
	margin-top: -6px;
	background: var(--color-yellow);
}
/* --- galeria / carrossel (scroll-snap; setas em main.js) --- */
.gallery {
	position: relative;
	margin-top: 60px;
}
.gallery__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar {
	display: none;
}
.gallery__slide {
	flex: 0 0 100%;
	scroll-snap-align: start;
}
.gallery__slide img {
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}
.gallery__slide figcaption {
	max-width: 466px;
	padding-left: 16px;
	font-style: italic;
	font-size: 14px;
	line-height: 19px;
	color: var(--color-red);
}
.gallery__slide figcaption::before {
	margin-bottom: 6px;
}
/* camada com a proporção da foto, para centralizar as setas na imagem (sem a legenda) */
.gallery__nav {
	position: absolute;
	inset: 0 0 auto;
	aspect-ratio: 3 / 2;
	pointer-events: none;
}
.gallery__arrow {
	position: absolute;
	top: calc(50% + 20px);
	width: 32px;
	height: 44px;
	margin-top: -22px;
	color: var(--color-white);
	pointer-events: auto;
}
.gallery__arrow::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 16px;
	height: 16px;
	border: solid currentColor;
	border-width: 0 0 2px 2px;
}
.gallery__arrow--prev {
	left: 0;
}
.gallery__arrow--prev::before {
	transform: translate(-25%, -50%) rotate(45deg);
}
.gallery__arrow--next {
	right: 0;
}
.gallery__arrow--next::before {
	transform: translate(-75%, -50%) rotate(-135deg);
}
/* --- popups (<dialog>): card do mobile, centralizado em qualquer tela --- */
.popup {
	width: min(308px, 100% - 32px);
	max-height: calc(100dvh - 32px);
	margin: auto;
	padding: 0;
	border: 0;
	background: var(--color-gray);
	box-shadow: 0 3px 10px rgb(0 0 0 / .3);
	overflow-y: auto;
}
.popup::backdrop {
	background: rgb(0 0 0 / .6);
}
.popup>.btn-close {
	position: absolute;
	top: 5px;
	right: 6px;
	z-index: 1;
}
.popup__img {
	width: 100%;
	height: 247px;
	object-fit: cover;
}
.popup__body {
	padding: 0 36px 41px 22px;
}
.popup__body::before {
	margin-left: -3px;
}
.popup__meta {
	margin-top: 13px;
	font-family: var(--font-heading);
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	color: var(--color-red);
}
.popup__title {
	max-width: 230px;
	margin: 23px 0 17px;
	font-size: 20px;
	line-height: 24px;
	color: var(--color-red);
}
.popup__meta+.popup__title {
	margin-top: 9px;
}
.popup__body p:not(.popup__meta) {
	font-style: normal;
	color: #000;
}
/* vídeo: o maior 16:9 que cabe na tela menos 16px de cada lado; a altura vem do aspect-ratio do vídeo */
.popup--video {
	width: min(100% - 32px, (100dvh - 32px) * 16 / 9);
	max-width: none;
	overflow: hidden;
	background: #000;
}
.popup--video>.btn-close {
	top: 8px;
	right: 8px;
}
/* cover: um vídeo fora de 16:9 (o provisório tem 1280×672) perde um pouco nas laterais em vez de ganhar tarjas */
.popup__video {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}
@media (max-width: 768px) {
	.hero--page .hero__media {
		width: 100%;
		height: 372px;
		clip-path: polygon(0 0, 100% 0, 100% 100%, calc(100% - 36px) 100%, calc(100% - 71px) calc(100% - var(--arrow-depth)),
				calc(100% - 106px) 100%, 0 100%);
	}
	/* chevron fica na mesma altura em todas as páginas (altura mínima); o texto segue o título */
	.hero--page .hero__content {
		min-height: 350px;
		padding: 21px 0 6px;
	}
	.hero--page .hero__content>p {
		margin-bottom: 41px;
	}
	.hero--page .hero__title {
		margin-top: 19px;
	}
	.hero--page .scroll-down {
		margin-top: auto;
	}
	.hero__video-btn {
		right: auto;
		left: var(--gutter);
		bottom: 28px;
	}
	/* nas pranchetas mobile o conteúdo das páginas internas é cinza até o rodapé */
	.conteudo {
		background: var(--color-gray);
		padding-bottom: 53px;
	}
	.gallery {
		margin: 35px calc(-1 * var(--gutter)) 0;
	}
	.gallery__slide figcaption {
		max-width: 306px;
	}
	.gallery__arrow {
		top: 50%;
	}
	.gallery__arrow--prev {
		left: 6px;
	}
	.gallery__arrow--next {
		right: 7px;
	}
}
/* ============================================================
   Adicionado em: equipe.html
   ============================================================ */
.conteudo--equipe {
	padding: 60px 0 134px;
}
.membros {
	display: grid;
	grid-template-columns: repeat(2, 342px);
	gap: 20px 68px;
	width: fit-content;
	margin-inline: auto;
	translate: -7px 0;
	/* na prancheta a grade fica 7px à esquerda do centro */
}
.membro {
	display: grid;
	grid-template-columns: 128px 1fr;
	grid-template-rows: auto 1fr;
	column-gap: 19px;
}
.membro__foto {
	grid-row: 1 / 3;
	width: 128px;
	height: 175px;
	border-radius: 128px;
	object-fit: cover;
}
.membro__nome {
	margin-top: 61px;
	font-size: 20px;
	line-height: 24px;
	color: var(--color-red);
}
/* o "+" segue o nome: em telas estreitas, nomes longos empurram o botão para baixo em vez de sobrepor */
.membro .btn-plus {
	justify-self: end;
	margin-top: 17px;
}
@media (max-width: 768px) {
	.conteudo--equipe {
		padding: 38px 0 88px;
	}
	.membros {
		grid-template-columns: 1fr;
		width: auto;
		translate: none;
	}
}
/* ============================================================
   Adicionado em: historia.html
   ============================================================ */
/* texto só para leitores de tela */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
.conteudo--historia {
	padding: 34px 0 82px;
}
/* linha do tempo: seletor de ano, setas e trilho (carrossel genérico em main.js) */
.timeline {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "ano" "nav" "viewport";
}
.timeline__ano {
	grid-area: ano;
	justify-self: start;
}
.select-pill {
	appearance: none;
	width: 166px;
	height: 48px;
	padding: 0 40px 0 22px;
	border: 1px solid var(--color-yellow);
	border-radius: var(--radius-full);
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23 12'%3E%3Cpath d='M1.5 1.5 11.5 10.5 21.5 1.5' fill='none' stroke='%23efa111' stroke-width='3'/%3E%3C/svg%3E") no-repeat right 17px center / 23px 12px;
	font-family: var(--font-heading);
	font-size: 20px;
	text-transform: uppercase;
	color: var(--color-red);
	cursor: pointer;
}
.timeline__nav {
	grid-area: nav;
	justify-self: end;
	display: flex;
	gap: 12px;
	margin-right: 1px;
}
.btn-arrow {
	position: relative;
	width: 38px;
	height: 38px;
	border: 1px solid var(--color-yellow);
	border-radius: 50%;
	color: var(--color-yellow);
	transition: background-color .2s, color .2s;
}
.btn-arrow::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 13px;
	height: 13px;
	border: solid currentColor;
	border-width: 0 0 2px 2px;
}
.btn-arrow--prev::before {
	transform: translate(-25%, -50%) rotate(45deg);
}
.btn-arrow--next::before {
	transform: translate(-75%, -50%) rotate(-135deg);
}
.btn-arrow:hover,
.btn-arrow:focus-visible {
	background: var(--color-yellow);
	color: var(--color-white);
}
.timeline__viewport {
	grid-area: viewport;
	position: relative;
	isolation: isolate;
	margin-top: 29px;
}
/* linha horizontal fixa, por trás dos itens, na altura dos marcadores */
.timeline__viewport::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 237px;
	left: 0;
	right: 0;
	height: 1px;
	background: #833d61;
}
.timeline__track {
	margin-inline: -3px -7px;
}
.gallery__track,
.timeline__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.timeline__track::-webkit-scrollbar {
	display: none;
}
.evento {
	display: flex;
	flex: 0 0 264px;
	flex-direction: column;
	align-items: center;
	text-align: center;
	scroll-snap-align: start;
}
.evento__foto {
	width: 176px;
	height: 176px;
	border-radius: 50%;
	object-fit: cover;
}
.evento__data {
	margin-top: 11px;
	font-family: var(--font-heading);
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: 20px;
	color: var(--color-red);
}
.evento__data::after {
	content: "";
	display: block;
	width: 40px;
	height: 15px;
	margin: 2px auto 0;
	background: var(--color-yellow);
}
.evento__titulo {
	max-width: 220px;
	margin-top: 14px;
	font-size: 20px;
	line-height: 25px;
	color: var(--color-red);
}
.evento .btn-plus {
	margin-top: auto;
}
.evento__titulo+.btn-plus {
	margin-top: 14px;
}
@media (max-width: 768px) {
	/* a prancheta mobile da História não tem o chevron; o conteúdo vem logo após o texto */
	.hero--compact .hero__content {
		min-height: 0;
	}
	.hero--compact .hero__content>p {
		margin-bottom: 0;
	}
	.hero--compact .scroll-down {
		display: none;
	}
	.conteudo--historia {
		padding: 50px 0 48px;
	}
	.timeline {
		grid-template-areas: "ano" "viewport" "nav";
	}
	.timeline__viewport {
		margin: 20px calc(-1 * var(--gutter)) 0;
	}
	.timeline__track {
		margin-inline: -4px 0;
	}
	.timeline__nav {
		margin-top: 17px;
	}
}
/* ============================================================
   Adicionado em: páginas "Nossas ações" (acoes-ensino.html, acoes-pesquisa.html, acoes-extensao.html)
   ============================================================ */
/* cor de cada ação: coluna do hero, "ANO", títulos dos cards e números da paginação */
.hero--ensino,
.acoes--ensino {
	--acao-cor: #5e96bd;
}
.hero--pesquisa,
.acoes--pesquisa {
	--acao-cor: #83546c;
}
.hero--extensao,
.acoes--extensao {
	--acao-cor: #697a4e;
}
/* --- hero das ações: coluna colorida, sem seta, ícone redondo na divisa com a foto --- */
.hero--acao {
	position: relative;
	background: var(--acao-cor);
	color: var(--color-white);
}
.hero--acao .hero__media {
	clip-path: none;
}
.hero--acao .hero__content {
	padding-top: 54px;
}
.hero--acao .hero__title {
	color: var(--color-yellow);
}
.hero--acao .scroll-down {
	margin-top: 36px;
	color: var(--color-yellow);
}
.hero--acao .breadcrumb {
	color: var(--color-white);
}
.hero--ensino .hero__title,
.hero--ensino .scroll-down {
	color: var(--color-white);
}
.hero__icon {
	position: absolute;
	z-index: 1;
	top: 43px;
	left: calc(50% - 144px - 62px);
	width: 123px;
	height: 123px;
	padding: 26px;
	clip-path: circle(50% at 50% 50%);
	background: var(--color-yellow);
	object-fit: contain;
}
/* --- lista de projetos em acordeão (<details> nativo: abre/fecha sem JS) --- */
.conteudo--acoes {
	padding: 62px 0 108px;
}
.conteudo--acoes:has(.paginacao) {
	padding-bottom: 66px;
}
.projetos {
	display: grid;
	gap: 40px;
	max-width: 699px;
	margin-inline: auto;
	translate: -3px 0;
	/* na prancheta a coluna fica 3px à esquerda do centro */
}
.projeto {
	position: relative;
	border: 1px solid var(--color-yellow);
	border-radius: var(--radius-card);
	overflow: hidden;
}
.projeto__resumo {
	display: grid;
	grid-template-columns: 285px 1fr;
	min-height: 272px;
	background: var(--color-gray);
	list-style: none;
	cursor: pointer;
}
.projeto__resumo::-webkit-details-marker {
	display: none;
}
/* a foto avança em triângulo sobre o cinza, como na Biblioteca da Início */
.projeto__img {
	grid-area: 1 / 1;
	width: calc(100% + var(--arrow-depth));
	height: 100%;
	object-fit: cover;
	clip-path: polygon(0 0, calc(100% - var(--arrow-depth)) 0, calc(100% - var(--arrow-depth)) 94px,
			100% 129px, calc(100% - var(--arrow-depth)) 164px, calc(100% - var(--arrow-depth)) 100%, 0 100%);
}
.projeto__info {
	grid-column: 2;
	display: flex;
	flex-direction: column;
	padding: 90px 40px 40px 40px;
	color: var(--acao-cor);
}
.projeto__ano {
	font-family: var(--font-heading);
	font-size: 14px;
	font-weight: 700;
	line-height: 18px;
}
.projeto__titulo {
	max-width: 290px;
	margin-top: 9px;
	font-family: var(--font-heading);
	font-size: 20px;
	line-height: 24px;
}
.projeto__toggle {
	position: absolute;
	top: 219px;
	right: 16px;
	display: block;
}
/* aberto: o "+" vira "−" e desce para o canto do texto */
.projeto[open] .projeto__toggle {
	top: auto;
	bottom: 25px;
	right: 21px;
}
.projeto[open] .projeto__toggle::after {
	display: none;
}
.projeto__resumo:focus-visible {
	outline: 2px solid var(--acao-cor);
	outline-offset: -2px;
}
.projeto__corpo {
	padding: 48px 107px 81px 130px;
}
/* --- paginação (por ora só visual) --- */
.paginacao {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
	margin-top: 67px;
	font-family: var(--font-heading);
	font-size: 18px;
	font-weight: 700;
	color: var(--acao-cor, var(--color-red));
	/* cor da página: verde na Extensão, vermelho na Biblioteca */
}
.paginacao__seta {
	position: relative;
	width: 16px;
	height: 24px;
	color: var(--color-yellow);
}
.paginacao__seta::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 15px;
	height: 15px;
	border: solid currentColor;
	border-width: 0 0 3px 3px;
}
.paginacao__seta--prev::before {
	transform: translate(-25%, -50%) rotate(45deg);
}
.paginacao__seta--next::before {
	transform: translate(-75%, -50%) rotate(-135deg);
}
@media (max-width: 768px) {
	.hero--acao .hero__media {
		clip-path: none;
	}
	.hero__icon {
		top: 311px;
		left: auto;
		right: var(--gutter);
	}
	.hero--acao .hero__content {
		padding: 21px 0 15px;
	}
	.hero--acao .scroll-down {
		margin-top: auto;
	}
	.hero--acao .breadcrumb {
		max-width: calc(100% - 115px);
	}
	/* em telas estreitas quebra antes do ícone */
	.conteudo--acoes {
		background: var(--color-white);
		padding: 19px 0 43px;
	}
	.projetos {
		gap: 34px;
		max-width: none;
		translate: none;
	}
	.paginacao {
		margin-top: 55px;
	}
	.conteudo--acoes:has(.paginacao) {
		padding-bottom: 53px;
	}
	.projeto__resumo {
		display: block;
		min-height: 0;
		background: none;
	}
	.projeto__img {
		width: 100%;
		height: calc(171px + 30px);
		clip-path: polygon(0 0, 100% 0, 100% 171px, 90px 171px, 60px 100%, 30px 171px, 0 171px);
	}
	.projeto__info {
		padding: 14px 16px 82px;
	}
	.projeto[open] .projeto__info {
		padding-bottom: 25px;
	}
	.projeto__toggle {
		top: auto;
		bottom: 17px;
		right: 15px;
	}
	.projeto[open] .projeto__toggle {
		bottom: 20px;
		right: 14px;
	}
	.projeto__corpo {
		padding: 0 16px 82px;
	}
}
/* ============================================================
   Adicionado em: biblioteca.html
   ============================================================ */
.hero--biblioteca {
	--acao-cor: var(--color-red);
}
.hero--biblioteca .hero__title {
	color: var(--color-white);
}
/* variante quadrada do ícone do hero (caixa amarela como nos cards de Ações da Início) */
.hero__icon--square {
	top: 35px;
	left: calc(50% - 144px - 58px);
	width: 116px;
	height: 138px;
	padding: 24px 28px 23px 28px;
	clip-path: none;
}
.conteudo--biblioteca {
	padding: 61px 0 78px;
}
.filtros {
	display: flex;
	justify-content: center;
	gap: 11px;
}
.filtros .select-pill {
	width: 342px;
}
.documentos {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px 12px;
	margin-top: 72px;
}
.doc-card {
	display: block;
	height: 100%;
	min-height: 250px;
	padding: 23px 25px 40px;
	border: 1px solid var(--color-yellow);
	border-radius: var(--radius-card);
	transition: background-color .2s;
}
.doc-card:hover,
.doc-card:focus-visible {
	background: rgb(239 161 17 / .08);
}
.doc-card__tags {
	padding-bottom: 15px;
	border-bottom: 1px solid var(--color-yellow);
	font-family: var(--font-heading);
	font-size: 16px;
	font-weight: 700;
	line-height: 19px;
	color: var(--color-red);
}
.doc-card__tags li::before {
	content: "• ";
}
.doc-card__titulo {
	margin-top: 31px;
	font-size: 20px;
	line-height: 24px;
	color: #000;
}
.conteudo--biblioteca .paginacao {
	margin-top: 63px;
}
@media (max-width: 768px) {
	.hero__icon--square {
		top: 300px;
		left: auto;
		right: 17px;
	}
	.conteudo--biblioteca {
		background: var(--color-white);
		padding: 30px 0 58px;
	}
	.conteudo--biblioteca .paginacao {
		margin-top: 57px;
	}
	.filtros {
		flex-direction: column;
		gap: 8px;
	}
	.filtros .select-pill {
		width: 100%;
	}
	.documentos {
		grid-template-columns: 1fr;
		margin-top: 41px;
	}
}
/* ============================================================
   Adicionado em: biblioteca-item.html
   ============================================================ */
/* hero do documento: coluna vermelha com tags e título; à direita, texto em fundo branco no lugar da foto */
.hero--item {
	position: relative;
	background: var(--color-red);
	color: var(--color-white);
}
.hero--item .hero__media--texto {
	background: var(--color-white);
	clip-path: none;
	padding: 155px 60px 0;
}
.hero__media--texto .prose {
	max-width: 430px;
}
.hero__icon--item {
	top: 33px;
	left: calc(50% - 144px - 115px);
	width: 74px;
	height: 74px;
	padding: 9px 19px 9px 19px;
	background: var(--color-white);
}
.item-tags {
	width: min(100%, 292px);
	margin-top: auto;
	padding-bottom: 13px;
	border-bottom: 1px solid var(--color-yellow);
	font-family: var(--font-heading);
	font-size: 16px;
	font-weight: 700;
	line-height: 19px;
}
.item-tags li::before {
	content: "• ";
}
.hero--item .hero__title {
	max-width: 292px;
	margin: 32px 0 0;
	font-size: 20px;
	line-height: 24px;
	color: var(--color-white);
}
.hero--item .scroll-down {
	margin-top: 54px;
}
/* visualizador (moldura) e botões de download/compartilhar */
.conteudo--item {
	padding: 65px 0 75px;
}
.documento {
	width: 676px;
	margin-inline: auto;
	translate: -10px 0;
	/* na prancheta o bloco fica 10px à esquerda do centro */
}
.documento__visualizador {
	background: var(--color-gray);
}
.documento__pagina {
	min-height: 552px;
	background: var(--color-white);
}
.documento__acoes {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-top: 40px;
}
.btn-solid {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	width: 260px;
	height: 48px;
	padding: 0 20px;
	border-radius: var(--radius-full);
	background: var(--color-red);
	font-family: var(--font-heading);
	font-size: 20px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--color-white);
	transition: background-color .2s;
}
.btn-solid:hover,
.btn-solid:focus-visible {
	background: #861514;
}
@media (max-width: 768px) {
	/* no mobile o bloco vermelho vem primeiro, com entalhe branco; a descrição fica abaixo */
	.hero--item {
		display: flex;
		flex-direction: column;
		background: var(--color-white);
	}
	.hero--item>.inner {
		order: -1;
		padding-inline: 28px;
		background: var(--color-red);
		border-bottom: 3px solid var(--color-yellow);
		clip-path: polygon(0 0, 100% 0, 100% 100%, calc(100% - 36px) 100%, calc(100% - 71px) calc(100% - var(--arrow-depth)),
				calc(100% - 106px) 100%, 0 100%);
	}
	.hero--item .hero__content {
		min-height: 369px;
		padding: 0 0 75px;
	}
	.hero--item .scroll-down {
		display: none;
	}
	.hero__icon--item {
		top: 21px;
		left: auto;
		right: 18px;
	}
	.hero--item .hero__media--texto {
		width: 100%;
		height: auto;
		border: 0;
		clip-path: none;
		padding: 34px var(--gutter) 0;
	}
	.hero--item .hero__media--texto .prose {
		max-width: none;
	}
	.conteudo--item {
		background: var(--color-white);
		padding: 32px 0 67px;
	}
    .conteudo--item .inner{
        padding-inline: 0;
    }
	.documento {
		width: auto;
		translate: none;
	}
	.documento__pagina {
		min-height: 466px;
	}
	.documento__acoes {
		flex-direction: column;
		align-items: center;
		gap: 10px;
		margin-top: 24px;
	}
}
/* ============================================================
   Adicionado em: contato.html
   ============================================================ */
.contato {
	padding: 60px 0 61px;
	background: var(--color-gray);
	color: #000;
}
.contato .inner {
	display: grid;
	grid-template-columns: 344px 300px;
	align-items: center;
}
.contato__lista {
	display: grid;
	gap: 11px;
	margin-top: 14px;
	font-size: 16.5px;
	line-height: 22.5px;
}
.contato__lista li {
	display: flex;
	align-items: center;
	gap: 21px;
}
.contato__lista img {
	flex: none;
	width: 58px;
	height: 58px;
}
.contato__lista address {
	font-style: normal;
}
.contato__lista a:hover,
.contato__lista a:focus-visible {
	color: var(--color-red);
	text-decoration: underline;
}
/* ícone do celular deslocado para a direita dentro do círculo, como na prancheta */
.contato__icone {
	width: 300px;
	height: 300px;
	padding: 50px 33px 46px 89px;
	/* círculo pintado no fundo: border-radius numa imagem com padding recortaria o próprio ícone */
	background: radial-gradient(closest-side, var(--color-white) calc(100% - 1px), transparent 100%);
	object-fit: contain;
}
@media (max-width: 768px) {
	.contato {
		position: relative;
		padding: 155px 0 107px;
	}
	.contato .inner {
		display: block;
	}
	.contato__lista {
		margin-top: 0;
	}
	.contato__icone {
		position: absolute;
		top: 21px;
		right: 18px;
		width: 74px;
		height: 74px;
		padding: 9px 8px 9px 20px;
	}
}
/* === Adicionado em: equipe.html e historia.html (popups no desktop) === */
/* desktop: foto 320×400 à esquerda e texto à direita, num card de 700×400; o mobile segue com o card empilhado */
@media (min-width: 769px) {
	/* display só com [open]: sem ele, a regra venceria o display:none nativo da <dialog> fechada */
	.popup[open]:has(> .popup__img) {
		display: grid;
		grid-template-columns: 320px minmax(0, 1fr);
		grid-template-rows: minmax(0, 1fr);
		/* a foto em retrato não estica a linha além dos 400px */
		width: 700px;
		height: 400px;
		overflow: hidden;
	}
	.popup:has(> .popup__img) .popup__img {
		height: 100%;
	}
	/* texto centralizado na vertical; se for longo, as margens auto zeram e a coluna rola a partir do topo */
	.popup:has(> .popup__img) .popup__body {
		display: flex;
		flex-direction: column;
		padding: 40px 40px 40px 36px;
		overflow-y: auto;
	}
	.popup:has(> .popup__img) .popup__body::before {
		flex-shrink: 0;
		margin-top: auto;
	}
	.popup:has(> .popup__img) .popup__body> :last-child {
		margin-bottom: auto;
	}
	.popup:has(> .popup__img) .popup__title {
		max-width: none;
	}
}
/* === Adicionado em: todas as páginas (backdrop do menu mobile) === */
@media (max-width: 768px) {
	/* menu aberto: desfoca a página abaixo do header; o toque no backdrop fecha o menu (main.js) */
	.site-header:has(.menu-toggle[aria-expanded="true"])::after {
		content: "";
		position: fixed;
		inset: var(--header-height) 0 0;
		z-index: -1;
		/* abaixo do painel, dentro do contexto de empilhamento do header */
		backdrop-filter: blur(6px);
	}
}
/* === Adicionado em: tema WordPress (admin bar, busca, resultados, avisos) === */
/* logado, a barra do WP fica fixa no topo (32px; 46px até 782px; rola junto abaixo de 600px) */
.admin-bar .site-header {
	top: 32px;
}
html:has(.admin-bar) {
	scroll-padding-top: calc(var(--header-height) + 32px);
}
/* popup da busca: campo em pílula e botão cheio ocupando a largura do card */
.popup--busca {
	width: min(500px, 100% - 32px);
	overflow: visible;
}
.popup--busca .popup__body {
	padding: 40px 36px 36px 22px;
}
.popup--busca .popup__title {
	margin-top: 17px;
}
.busca__campo {
	display: block;
	width: 100%;
	height: 48px;
	margin-bottom: 20px;
	padding: 0 21px;
	border: 1px solid var(--color-yellow);
	border-radius: var(--radius-full);
	font: 400 16px var(--font-body);
	color: #000;
	background: var(--color-white);
}
.busca__campo:focus-visible {
	outline: 2px solid var(--color-red);
	outline-offset: 2px;
}
.popup--busca .btn-solid {
	width: max-content;
	gap: 10px;
}
/* resultados da busca: hero cinza sem foto */
.hero--busca .hero__title {
	margin-top: auto;
}
.hero--busca+.conteudo .documentos {
	margin-top: 0;
}
/* sem os filtros da Biblioteca acima */
.aviso-vazio {
	margin-top: 40px;
	font-style: normal;
	color: #000;
}
/* Biblioteca: "Limpar filtros" só aparece com filtro ativo, ao lado dos selects */
.filtros__limpar {
	flex: none;
}
/* rodapé entre 769 e 940px: logo + 2 colunas de 223px + ícones não cabiam (rolagem horizontal herdada do estático) */
@media (min-width: 769px) and (max-width: 940px) {
	.site-footer .inner {
		grid-template-columns: auto auto 1fr;
		column-gap: 24px;
	}
	.footer-nav .nav-list {
		grid-template-columns: 190px 190px;
		column-gap: 24px;
	}
}
@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
	html:has(.admin-bar) {
		scroll-padding-top: calc(var(--header-height) + 46px);
	}
}
@media (max-width: 600px) {
	.admin-bar .site-header {
		top: 0;
	}
}
@media (max-width: 768px) {
	.popup--busca .popup__body {
		padding: 40px 22px 30px;
	}
}
/* === Adicionado em: single-item.php (item sem PDF) === */
.aviso-vazio--pdf {
	margin: 0;
	padding: 40px 20px;
	text-align: center;
}
.pdf-viewer-wrap:focus {
	outline: none; /* recebe foco no clique só para as setas ←/→ trocarem de página */
}
